/**
 * Hans im Club — Nachbau der bestehenden Seite.
 *
 * Palette, Schriften, Texturen und Maße sind dem bisherigen „rocket"-Theme
 * der disco2app-Plattform entnommen, damit die Seite aussieht wie vorher.
 * Neu ist allein, woher die Inhalte kommen: Clubinio statt disco2app.
 */

:root {
  /* Marke — identisch mit dem bisherigen Child-Theme */
  --primary: #ca8148;
  --primary-alt: #d76d19;
  --primary-light: #e59352;
  --secondary: #f37512;
  --tertiary: #b1662c;
  --pink: #ff7041;
  --gold: #ffb000;

  --heading: #fff;
  --body: #acacac;
  /**
   * Kartengrund: deckend dunkel, nicht durchscheinend. Das durchscheinende
   * Braun ließ die Holz- und Fliesentextur durch den Text laufen — der
   * Akzent stand darauf bei knapp 3:1. Jetzt sind es 6,00:1.
   */
  --cards: #141210;
  /* Nebentext auf Karten — die Rolle von --clubinio-text-secondary */
  --card-sub: #ccc;
  --border: hsla(0, 0%, 100%, 0.1);
  --wood: #3a2d1d;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /** Schwere Titel — Montserrat liegt als Variable Font von 100 bis 900 vor. */
  --bold: 'Montserrat', 'Inter', system-ui, sans-serif;
  --display: 'budmo', var(--font);

  --radius-small: 6px;
  --radius: 10px;
  --radius-big: 16px;

  --w: 1140px;
  --gut: clamp(1rem, 4vw, 2rem);

  /* Der Farbverlauf der Abschnittsüberschriften */
  --gradient: linear-gradient(95deg, var(--primary) 15%, var(--tertiary) 45%, var(--pink) 75%, var(--gold) 100%);
}

/* ------------------------------------------------------------- Schriften -- */

@font-face {
  font-family: 'budmo';
  src: url('../fonts/budmo-jiggler.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/**
 * Eine Datei für den ganzen Gewichtsbereich. Vorher stand im CSS siebenmal
 * `font-weight: 800`, geladen waren aber nur 400 bis 700 — der Browser
 * rechnete sich daraus einen künstlichen Fettschnitt, und genau der sah
 * klobig aus.
 */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat.woff2') format('woff2-variations'),
       url('../fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ----------------------------------------------------------------- Basis -- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  /* Die Holztextur trägt die ganze Seite — fixiert, gekachelt, multipliziert. */
  background-color: var(--wood);
  background-image: url('../img/theme/wood-bg.jpg');
  background-position: 0 0;
  background-repeat: repeat;
  background-size: contain;
  background-attachment: fixed;
  background-blend-mode: multiply;
  color: var(--body);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--heading); margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.container { max-width: var(--w); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px;
  background: var(--primary); color: #000;
  padding: 0.7rem 1.2rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Honeypot: aus dem Sichtfeld, nicht display:none — das erkennen Bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -------------------------------------------------- Überschriften-Stil -- */

.section-title { text-align: center; }

/**
 * Die Kleinzeile über jeder Überschrift: Budmo im Farbverlauf, der durch den
 * Text hindurch sichtbar wird.
 */
.section-title .subtitle {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 6vw, 56px);
  line-height: 1.05;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.6rem;
}
.section-title .title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 3.4vw, 34px);
  margin-bottom: 20px;
}
.section-title .title--plain {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 26px);
}

.rn-section-gap { padding-block: clamp(3rem, 9vh, 7.5rem); }
.rn-section-gap-top { padding-top: clamp(3rem, 9vh, 7.5rem); }
.rn-section-gap-bottom { padding-bottom: clamp(3rem, 9vh, 7.5rem); }

/** Trennstrich zwischen den Abschnitten. */
.separator { border: 0; border-top: 1px solid var(--border); margin: 0 auto; max-width: var(--w); }

/* ---------------------------------------------------------------- Karten -- */

.rn-card {
  background-color: var(--cards);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------------------------------------------------------------- Knöpfe -- */

.btn-default {
  display: inline-block;
  /* Montserrat wie bei den Titeln — 700, weil 600 für einen Knopf zu weich wirkt. */
  font-family: var(--bold);
  font-size: 15px; font-weight: 700;
  /* Versalien brauchen etwas Laufweite, sonst kleben sie aneinander. */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 24px; height: 50px; line-height: 50px;
  border: 0; border-radius: var(--radius-small);
  background: var(--gradient);
  background-size: 200% 100%;
  background-position: 98%;
  color: #000;
  cursor: pointer;
  transition: background-position 0.4s, transform 0.3s;
  white-space: nowrap;
}
.btn-default:hover { background-position: 0; color: #000; transform: translateY(-2px); }
.btn-default:disabled { opacity: 0.55; cursor: default; transform: none; }

.btn-border {
  background: none;
  border: 2px solid var(--border);
  color: var(--heading);
  height: 46px; line-height: 42px;
}
.btn-border:hover { border-color: var(--primary); background: none; color: var(--primary-light); }

.btn-small { height: 40px; line-height: 40px; font-size: 14px; padding: 0 18px; }

/**
 * Auf schmalen Schirmen darf die Beschriftung umbrechen. Montserrat baut
 * breiter als Inter, und mit `nowrap` lief ein langer Knopf bei 320 px über
 * den Rand hinaus. Die feste Höhe weicht dabei einer gewachsenen.
 */
@media (max-width: 380px) {
  .btn-default {
    white-space: normal;
    height: auto; line-height: 1.35;
    padding: 0.8rem 1.1rem;
    max-width: 100%;
  }
  .btn-border { height: auto; line-height: 1.35; }
  .btn-small { height: auto; line-height: 1.35; padding: 0.6rem 0.9rem; }
}

/* ------------------------------------------------------------------ Kopf -- */

.rn-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 5, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.rn-header .inner {
  max-width: var(--w); margin-inline: auto;
  padding: 0.6rem var(--gut);
  display: flex; align-items: center; gap: 1.5rem;
}
.rn-header .logo { margin-right: auto; }
.rn-header .logo img { height: 54px; width: auto; }

.mainmenu-nav .mainmenu {
  display: flex; gap: 0.35rem;
  list-style: none; margin: 0; padding: 0;
}
/* Gleichmäßiger Abstand — vorher trug der obere das Hans-Männchen. */
.mainmenu-nav .mainmenu > li > a {
  display: block;
  padding: 1.1rem 0.9rem;
  font-size: 15px; font-weight: 500;
  color: var(--body);
}
.mainmenu-nav .mainmenu > li.active > a,
.mainmenu-nav .mainmenu > li:hover > a { color: var(--heading); }

.menu-toggle {
  display: none;
  width: 46px; height: 42px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-small);
  color: var(--heading); cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 18px; height: 2px;
  background: currentColor; margin-inline: auto; content: '';
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }

@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .mainmenu-nav {
    position: absolute; inset: 100% 0 auto; display: none;
    background: rgba(10, 8, 5, 0.97);
    border-bottom: 1px solid var(--border);
  }
  .mainmenu-nav[data-open='true'] { display: block; }
  .mainmenu-nav .mainmenu { flex-direction: column; gap: 0; padding: 0.5rem var(--gut) 1rem; }
  .mainmenu-nav .mainmenu > li > a { padding: 0.75rem 0; font-size: 17px; }
}

/* ---------------------------------------------------------------- Slider -- */

.slider-area { position: relative; }
.slider-track { position: relative; }

.single-slide {
  display: none;
  min-height: min(950px, 86vh);
  position: relative;
  align-items: center;
  background-color: #000;
  background-image: url('../img/theme/slider-fallback.jpg');
  background-size: cover;
  background-position: center;
}
.single-slide[data-active] { display: flex; }

/* Dunkler Schleier, damit die Schrift auf jedem Flyer lesbar bleibt. */
.single-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 38%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.25) 100%);
}
.single-slide > .container { position: relative; z-index: 1; width: 100%; padding-block: 4rem; }

.single-slide video,
.single-slide__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 430px;
}
/* Der Schleier muss über dem Bild liegen, nicht darunter. */
.single-slide::before { z-index: 1; }
.single-slide > .container { z-index: 2; }

.slide-content { max-width: 36rem; }
.slide-content .kicker {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.slide-content .title {
  /* Montserrat 800 — wie bei Karten und Detailseite. Budmo zerfällt bei
     langen Eventnamen in Versalien. */
  font-family: var(--bold);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.slide-content .description {
  color: #d6d6d6;
  white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.slide-content .button-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.slider-dots {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
  z-index: 2;
}
.slider-dots button {
  width: 11px; height: 11px; padding: 0;
  border: 0; border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.35);
  cursor: pointer;
}
.slider-dots button[aria-current='true'] { background: var(--primary); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; z-index: 2;
  background: none no-repeat center/contain;
  border: 0; cursor: pointer;
  opacity: 0.7;
}
.slider-arrow:hover { opacity: 1; }
.slider-arrow--prev { left: 0.75rem; background-image: url('../img/theme/arrow-left.png'); }
.slider-arrow--next { right: 0.75rem; background-image: url('../img/theme/arrow-right.png'); }
@media (max-width: 767px) { .slider-arrow { display: none; } }

/* ------------------------------------------------------- Veranstaltungen -- */

/**
 * Die Eventkarten sind die des Clubinio-WordPress-Plugins
 * (clubinio-shop-events, assets/css/frontend.css) — Maße, Abstände, Übergänge
 * und Aufbau eins zu eins. Ersetzt sind nur die Farbrollen des Plugins durch
 * unsere:
 *
 *   --clubinio-accent          → --primary
 *   --clubinio-card-bg #161616 → --cards #141210 (deckend, eine Spur wärmer)
 *   --clubinio-text-primary    → --heading
 *   --clubinio-text-secondary  → --card-sub
 *
 * Die Kartentitel laufen auf Inter 800, nicht auf Budmo: das Plugin baut sie
 * auf einen schweren Schnitt, und Budmo hat nur einen. Die Monatsüberschriften
 * dagegen sind Abschnittsebene — die stehen in Budmo wie alle anderen.
 */

/* Fliesen, waagerecht gekachelt. */
.event-container {
  position: relative;
  /**
   * Der Schleier bestimmt, wie viel von der Ziegelwand durchkommt.
   * 0.55 war zu dunkel, die Wand verschwand. Darunter wird sie sichtbar,
   * ab etwa 0.25 fängt sie an, mit den Karten zu konkurrieren.
   */
  background-color: rgba(2, 2, 2, 0.4);
  background-image: url('../img/theme/fliesen-bg.jpg');
  background-position: 0 0;
  background-repeat: repeat-x;
  background-size: contain;
  background-attachment: fixed;
  /* Multiply dämpft die Fliesen, damit die Karten nicht darin untergehen. */
  background-blend-mode: multiply;
}

/* Monats-Gruppierung */
.events-grouped { display: flex; flex-direction: column; }

.events-month-heading {
  margin: 40px 0 20px;
  font-family: var(--display);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  color: var(--heading);
  /* Deckend statt im Verlauf: auf der Fliesentextur verschwand der Verlauf. */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}
.events-grouped .events-month-heading:first-child { margin-top: 0; }

/* Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/**
 * Das Plugin lässt das Grid bei drei Spalten stehen, auch auf dem Telefon.
 * Hier bricht es um — sonst stehen drei 100-Pixel-Karten nebeneinander.
 */
@media (max-width: 991px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* Karte */
.event-card {
  display: flex; flex-direction: column;
  height: 100%;
  background-color: var(--cards);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.event-link {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Bild — überall gleiche Größe */
.event-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background: #0a0a0a;
}
.event-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.event-card:hover .event-image { transform: scale(1.04); }

/* Ausverkauft */
.event-sold-out-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  padding: 8px 20px;
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 4px;
}
.event-sold-out .event-image { filter: grayscale(100%); opacity: 0.7; }

/* Inhalt */
.event-content {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 24px 24px;
  flex: 1 1 auto;
}
.event-date-line {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--primary);
}
.event-time { white-space: nowrap; color: var(--card-sub); }
.event-date-line--stacked .event-time { display: block; margin-top: 4px; }
.event-date-sep { color: var(--card-sub); }

.event-title {
  margin: 0;
  font-family: var(--bold);
  font-size: 18px; font-weight: 800;
  line-height: 1.25; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--heading);
  /* Zwei Zeilen reservieren → alle Karten gleich aufgebaut */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* „Mehr erfahren" — immer unten bündig */
.event-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 18px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--primary);
}
.event-more svg {
  fill: currentColor; width: 14px; height: 14px;
  transition: transform 0.2s ease;
}
.event-card:hover .event-more svg { transform: translateX(4px); }

.event-ai { font-size: 13px; font-style: italic; opacity: 0.8; }

.section-foot { text-align: center; margin-top: 2.5rem; }

/* ------------------------------------------------------------ Plus-Liste -- */

/** Aufzählung mit Pluszeichen — bei den Mietleistungen. */
.plus-list { list-style: none; margin: 0 auto 2rem; padding: 0; max-width: 26rem; }
.plus-list li { font-weight: 500; color: var(--heading); }
.plus-list b { color: var(--primary); margin-right: 0.4rem; }

/* ----------------------------------------------------------------- Promo -- */

/* Kiste, unten links. */
#promo {
  background-color: rgba(2, 2, 2, 0.8);
  background-image: url('../img/theme/box.png');
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
}
#promo .row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { #promo .row { grid-template-columns: 1fr 1fr; } }
#promo .hans { text-align: center; }
#promo .hans img { margin-inline: auto; }

.animated-lightbox {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.animated-lightbox .gallery-item { display: block; overflow: hidden; border-radius: var(--radius-small); }
.animated-lightbox img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.4s;
}
.animated-lightbox .gallery-item:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------- Galerie -- */

.gallery-section { background-color: rgba(2, 2, 2, 0.2); }
.gallery-grid {
  display: grid; gap: 1.875rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-card .thumbnail { overflow: hidden; }
.gallery-card .thumbnail img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.4s;
}
.gallery-card:hover .thumbnail img { transform: scale(1.05); }
.gallery-card .content { padding: 1.1rem; text-align: center; }
.gallery-card .title { font-size: 18px; text-transform: uppercase; }
.gallery-card .title a { color: var(--heading); }
.gallery-card .meta { font-size: 14px; margin-top: 0.3rem; }

/* ----------------------------------------------------------------- Album -- */

/**
 * Kopf eines Albums: das erste Foto als Hintergrund, Titel und Eckdaten
 * darauf. Der Schleier liegt kräftiger als bei den übrigen Seitenköpfen,
 * weil Partyfotos hell und unruhig sind.
 */
.album-head {
  background-color: #0a0a0a;
  background-position: center;
  background-size: cover;
}
.album-head::before { background: rgba(0, 0, 0, 0.68); }
/* Spezifischer als .page-head .title, das weiter unten steht und sonst Budmo setzt. */
.page-head.album-head .title {
  font-family: var(--bold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/** Fotoraster, durchgehend 4:3. */
.album-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1rem;
}
@media (max-width: 991px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .album-grid { grid-template-columns: 1fr; } }

.album-item {
  display: block; overflow: hidden;
  border-radius: var(--radius);
  background: #0a0a0a;
}
.album-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.4s;
}
.album-item:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------- Partner -- */

.partner-section { background: rgba(2, 2, 2, 0.2); }
.partner-grid {
  display: grid; gap: 2rem;
  justify-items: center; text-align: center;
  margin-top: 1.5rem;
}
.partner-grid img { max-width: 16rem; }
/* Steht mittig unter dem Logo, in derselben Achse. */
.partner-note {
  font-size: 18px; font-weight: 500;
  text-align: center;
  margin: 0;
  max-width: 34rem;
}

/* --------------------------------------------------------------- Kontakt -- */

.contact-section { background-color: rgba(2, 2, 2, 0.2); }
.contact-row { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 992px) { .contact-row { grid-template-columns: 1.2fr 1fr; align-items: start; } }

.contact-intro { max-width: 46rem; margin-inline: auto; text-align: center; }

.contact-details { display: grid; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon {
  flex: none; width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--primary);
}
.contact-item h4 { font-size: 15px; margin-bottom: 0.2rem; }

/**
 * Markenzeichen. Ohne feste Maße nimmt ein SVG seine Eigengröße an und
 * sprengt das Layout — Breite und Höhe stehen darum hier, nicht im Markup.
 */
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.social__link {
  display: grid; place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--primary);
  transition: color 0.25s, background-color 0.25s;
}
.social__link:hover { color: #000; background: var(--primary); }
.social__link svg { width: 21px; height: 21px; display: block; }

/* -------------------------------------------------------------- Vermietung -- */

/**
 * Aufbau nach der Vorlage: zweispaltiges Intro mit Foto, drei Leistungskarten,
 * Fotoraster, Anlässe, „Alles dabei", dann das Anfrageformular.
 */

/** Kleinzeile über einer Überschrift, in Akzentfarbe. */
.eyebrow {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/** Schwere Überschrift in Inter — für längere Sätze, wo Budmo zerfällt. */
.h-strong {
  font-family: var(--bold);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/** Kurzer Strich unter der Überschrift. */
.rule {
  width: 108px; height: 4px;
  border: 0; border-radius: 2px;
  background: var(--gradient);
  margin: 1.25rem 0 1.75rem;
}
.rule--center { margin-inline: auto; }

.rent-intro { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .rent-intro { grid-template-columns: 1fr 1fr; } }
.rent-intro__text p { max-width: 46ch; }
.rent-intro__fig { margin: 0; }
.rent-intro__fig img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.rent-intro .btn-default { margin-top: 1.75rem; }

/* Drei Leistungskarten */
.rent-cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}
@media (max-width: 991px) { .rent-cards { grid-template-columns: 1fr; } }
.rent-card {
  background: var(--cards);
  border-radius: var(--radius);
  padding: 26px 28px 28px;
}
.rent-card h3 {
  font-family: var(--bold); font-weight: 800;
  font-size: 20px; text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.rent-card h4 { font-size: 16px; margin-bottom: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.rent-card p { font-size: 15px; }

/* Fotoraster der Location */
.rent-photos {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}
@media (max-width: 767px) { .rent-photos { grid-template-columns: repeat(2, 1fr); } }
.rent-photos a { display: block; overflow: hidden; border-radius: var(--radius); }
.rent-photos img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.4s;
}
.rent-photos a:hover img { transform: scale(1.05); }

/* Anlässe als Chips */
.rent-occasions {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  list-style: none; margin: 2rem 0 0; padding: 0;
}
.rent-occasions li {
  background: var(--cards);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 15px; font-weight: 500;
  color: var(--heading);
}

/**
 * Zusatzleistungen: zweispaltige Liste mit Häkchen und Haarlinie.
 *
 * `columns` statt Grid, weil die Liste damit spaltenweise läuft — erst die
 * linke Spalte zu Ende, dann die rechte. Ein Grid würde zeilenweise füllen
 * und die Lesereihenfolge zerreißen.
 */
.rent-services {
  columns: 2;
  column-gap: 3rem;
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 54rem;
}
@media (max-width: 767px) { .rent-services { columns: 1; } }

.rent-services li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  break-inside: avoid;
  color: var(--heading);
  font-weight: 500;
}
.rent-services li:last-child { border-bottom: 0; }
.rent-services svg {
  flex: none; width: 17px; height: 17px;
  fill: var(--primary);
}

/* „Alles dabei" */
.rent-included {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}
@media (max-width: 767px) { .rent-included { grid-template-columns: 1fr; } }
.rent-included h3 {
  font-family: var(--bold); font-weight: 700;
  font-size: 17px; margin-bottom: 0.35rem;
}
.rent-included p { font-size: 15px; }

/* ------------------------------------------------------------- Formulare -- */

.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 576px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form label {
  display: grid; gap: 0.35rem;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--body);
}
.form .opt { text-transform: none; letter-spacing: 0; opacity: 0.7; font-weight: 400; }

.form input:not([type='checkbox']):not([type='file']),
.form textarea,
.form select {
  background: rgba(0, 0, 0, 0.35);
  color: var(--heading);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  padding: 0.7rem 0.85rem;
  font: 400 15px var(--font);
  width: 100%;
}
.form input:focus, .form textarea:focus { border-color: var(--primary); }
.form input[type='file'] { color: var(--body); font-size: 14px; }
.form textarea { resize: vertical; min-height: 7rem; }

.form .check {
  display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start;
  text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400;
  line-height: 1.55;
}
.form .check input { margin-top: 0.25rem; accent-color: var(--primary); }

.positions { border: 1px solid var(--border); border-radius: var(--radius-small); padding: 1rem; margin: 0; }
.positions legend {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--body); padding-inline: 0.4rem;
}
.positions > div { display: grid; gap: 0.5rem; }

.form-msg { font-size: 15px; margin: 0; min-height: 1.5em; }
.form-msg.is-ok { color: #89ff8b; }
.form-msg.is-err { color: #ff8f8f; }

/* ------------------------------------------------------------------- FAQ -- */

.faq-list { max-width: 48rem; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  padding: 1.1rem 0; background: none; border: 0;
  color: var(--heading); font: 600 17px/1.4 var(--font); text-align: left; cursor: pointer;
}
.faq-q span { flex: 1; }
.faq-q i {
  flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq-q[aria-expanded='true'] i { transform: rotate(225deg); }
.faq-a { padding: 0 0 1.25rem; white-space: pre-line; }

/* ------------------------------------------------- Veranstaltung, einzeln -- */

/**
 * Aufbau wie auf der Vorlage: eine Spalte, gestapelt. Der Flyer steht über
 * die volle Spaltenbreite, darunter der Ticketknopf ebenso, dann Datumszeile,
 * Titel, Beschreibung und der Block „Informationen" — dort je Zeile die
 * Beschriftung über dem Wert, zweispaltig, auf dem Telefon untereinander.
 */
.event-detail { max-width: 52rem; margin-inline: auto; }

.event-detail__fig { margin: 0 0 1.5rem; }
.event-detail__fig img {
  width: 100%;
  border-radius: var(--radius);
  background: #0a0a0a;
}

/* Knöpfe über die volle Breite, wie align-justify in der Vorlage. */
.event-detail__actions { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.event-detail__actions .btn-default {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  height: 54px; line-height: 54px;
  font-size: 14px;
  border-radius: var(--radius);
}
.event-detail__actions svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.event-detail__actions .state { padding: 0; text-align: left; }

.event-detail__date {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.event-detail__date .sep { color: var(--card-sub); }
.event-detail__date .time { color: var(--card-sub); white-space: nowrap; }

.event-detail__title {
  /**
   * Montserrat 800, nicht Budmo: Eventnamen sind lang und oft in Versalien,
   * und die Schmuckschrift zerfällt dabei. Budmo bleibt den kurzen
   * Abschnittsüberschriften vorbehalten — so wie bei den Kartentiteln.
   */
  font-family: var(--bold);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.event-detail__body { white-space: pre-line; }

/* Informationen */
.event-info-box { margin-top: 3rem; }
.event-info-box h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 4vw, 28px);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Zweispaltig mit 47 % je Zeile — die Maße der Vorlage. */
.event-info-grid {
  display: flex; flex-wrap: wrap;
  gap: 1.5rem 6%;
  margin: 0;
}
.event-info-row { width: 47%; display: flex; flex-direction: column; gap: 3px; }
@media (max-width: 575px) { .event-info-row { width: 100%; } }
.event-info-row dt {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--primary);
}
.event-info-row dd { margin: 0; color: var(--heading); white-space: pre-line; }

.event-detail__back { text-align: center; margin-top: 3rem; }

/* --------------------------------------------------------- Seitenköpfe -- */

.page-head {
  position: relative;
  min-height: min(420px, 50vh);
  /**
   * Nur senkrecht zentrieren. `place-items: center` setzt auch
   * justify-items, und ein Gitterkind wird damit so breit wie sein Inhalt
   * statt so breit wie die Spalte — bei einer langen Unterzeile liefe das
   * aus dem Schirm. Mit align-items bleibt justify-items auf stretch.
   */
  display: grid; align-items: center;
  text-align: center;
  background: #000 no-repeat center/cover;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.page-head .container { position: relative; z-index: 1; }
.page-head .title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 6vw, 56px); line-height: 1.05;
}
.page-head .lead { margin-top: 0.75rem; color: #d6d6d6; }

/**
 * Die Kopfbilder stehen als Klassen hier, nicht als style-Attribut im Markup:
 * die Auslieferung setzt eine Content-Security-Policy mit `style-src 'self'`,
 * und die verwirft jedes Inline-Style. Die Flächen blieben dann schwarz.
 */
.page-head--events { background-image: url('../img/club/club3.jpg'); }
.page-head--galleries { background-image: url('../img/club/club7.jpg'); }
.page-head--jobs { background-image: url('../img/head-jobs.jpg'); }
.page-head--rent { background-image: url('../img/head-rent.jpg'); }
.page-head--faq { background-image: url('../img/head-faq.jpg'); }

/** Albumkopf: das Motiv liegt als <img> darunter, aus demselben Grund. */
.album-head__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/** Bewerbungsformular — vorher ein style-Attribut. */
.form--application { max-width: 40rem; margin: 3rem auto 0; }

/* ---------------------------------------------------------- Rechtstexte -- */

.legal { max-width: 48rem; margin-inline: auto; padding: clamp(2rem, 6vh, 4rem) var(--gut); }
.legal h1 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 5vw, 44px); margin-bottom: 1.5rem; }
.legal h2 {
  font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); margin: 2.5rem 0 0.75rem;
}
.legal h3 { font-size: 16px; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { max-width: 62ch; }
.legal ul { padding-left: 1.25rem; }

/* ------------------------------------------------------------------- Fuß -- */

/**
 * Aufbau nach atrium-kiel.de: links Wortmarke, Kurzbeschreibung und die
 * Rechtstexte, rechts „Follow us" mit den Markenzeichen und „Anfahrt" mit
 * der Adresse. Darunter eine schmale Zeile über die volle Breite.
 */
.rn-footer {
  background: rgba(2, 2, 2, 0.72);
  border-top: 1px solid var(--border);
}
.footer-top { padding-block: clamp(2.5rem, 7vh, 4.5rem); }

.footer-row { display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .footer-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; }
}

.footer-brand img { height: 34px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 46ch; font-size: 15px; }

.footer-legal {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; gap: 0.4rem; justify-items: start;
}
.footer-legal a { color: var(--primary); font-size: 15px; }
.footer-legal a:hover { color: var(--heading); }

.footer-col h4 {
  font-family: var(--bold); font-weight: 800;
  font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 0.9rem;
}
.footer-col h4 + * { margin-bottom: 1.75rem; }
.footer-col p { font-size: 15px; }
.footer-col .social__link { width: 34px; height: 34px; }
.footer-col .social__link svg { width: 19px; height: 19px; }

.powered-by { display: inline-block; margin-top: 1.75rem; opacity: 0.8; transition: opacity 0.25s; }
.powered-by:hover { opacity: 1; }
.powered-by img { width: 158px; height: auto; }

.copyright {
  border-top: 1px solid var(--border);
  padding-block: 1rem;
  text-align: center;
  font-size: 13px;
  color: var(--body);
  opacity: 0.75;
}

/* ---------------------------------------------------------------- Lightbox */

/* Scrollsperre, solange die Lightbox offen ist. */
body.is-locked { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.92);
  padding: var(--gut);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; border-radius: var(--radius-small); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: #fff; font-size: 2rem; line-height: 1; padding: 0.5rem 0.75rem;
}
.lightbox-close { top: 0.5rem; right: 0.75rem; }
.lightbox-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------- Zustände -- */

.state { text-align: center; padding: 2rem 0; }

/* ----------------------------------------------------------- Einblenden -- */

.element-fadeout {
  opacity: 0; transform: translateY(1rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.element-fadeout[data-shown] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .element-fadeout { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------ feste Hintergründe -- */

/**
 * `background-attachment: fixed` ist auf iOS Safari seit Jahren unzuverlässig:
 * je nach Fassung wird die Fläche falsch skaliert, flackert beim Scrollen oder
 * bleibt ganz leer. Auf Touchgeräten bringt der Effekt ohnehin nichts — dort
 * scrollen die Texturen darum einfach mit.
 */
@media (hover: none), (max-width: 991px) {
  body,
  .event-container,
  #promo {
    background-attachment: scroll;
  }
}
