/* Hochzeitssäle Köln - gemeinsames Stylesheet
   Farbwelt: tiefes Bordeaux (Marke) + Gold (Akzent) + warmes Creme (Hintergrund)
   Schriften werden lokal geladen (DSGVO: keine Verbindung zu Google-Servern) */

@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-400.woff2') format('woff2');
  font-weight: 400; 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;
}

:root {
  --bordeaux: #5c1a2b;
  --bordeaux-hell: #7d2739;
  --gold: #b08341;
  --gold-hell: #d3ab6a;
  --creme: #fbf7f2;
  --creme-dunkel: #f2e9df;
  --text: #241c1e;
  --text-leise: #6b5e60;
  --linie: #e4d8cb;
  --weiss: #ffffff;
  --schatten: 0 12px 32px rgb(92 26 43 / .10);
  --rund: 14px;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --breite: 1180px;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

a { color: var(--bordeaux); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.inhalt { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  /* Bewusst ohne backdrop-filter: der Weichzeichner kostet auf schwächeren Geräten
     spürbar Scroll-Leistung. Deckender Hintergrund sieht beim Scrollen genauso sauber aus. */
  background: var(--creme);
  border-bottom: 1px solid var(--linie);
  transition: box-shadow .25s ease;
}
.kopf.geschrumpft { box-shadow: 0 2px 16px rgb(92 26 43 / .08); }
.kopf-innen { display: flex; align-items: center; gap: 1rem; padding-block: .9rem; }
.logo {
  font-family: 'Newsreader', Georgia, serif; font-size: 1.35rem; font-weight: 600;
  color: var(--bordeaux); text-decoration: none; letter-spacing: -0.01em; line-height: 1.1;
}
.logo span { display: block; font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.menue { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.menue a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 600; }
.menue a:hover, .menue a[aria-current="page"] { color: var(--bordeaux); }
.menue a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }

.sprache { display: flex; gap: .3rem; align-items: center; font-size: .85rem; font-weight: 600; }
.sprache a { padding: .25rem .5rem; border-radius: 6px; text-decoration: none; color: var(--text-leise); }
.sprache a.aktiv { background: var(--bordeaux); color: var(--weiss); }

.burger { display: none; background: none; border: 1px solid var(--linie); border-radius: 8px;
  padding: .5rem .7rem; cursor: pointer; margin-left: auto; font-size: 1.1rem; color: var(--bordeaux); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .97rem; text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-haupt { background: var(--bordeaux); color: var(--weiss); }
.btn-haupt:hover { background: var(--bordeaux-hell); transform: translateY(-2px); box-shadow: var(--schatten); }
.btn-rand { background: transparent; color: var(--bordeaux); border: 1.5px solid var(--bordeaux); }
.btn-rand:hover { background: var(--bordeaux); color: var(--weiss); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 0%, rgb(176 131 65 / .18) 0%, transparent 55%),
    radial-gradient(100% 80% at 90% 20%, rgb(92 26 43 / .12) 0%, transparent 60%),
    var(--creme);
}
.hero-text { max-width: 46rem; }
.hero .augenbraue {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.hero .untertitel { font-size: clamp(1.02rem, 1.9vw, 1.2rem); color: var(--text-leise); max-width: 38rem; }

/* ---------- Suche & Filter ---------- */
.suche {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 1.1rem; box-shadow: var(--schatten); margin-top: 2rem;
  display: grid; gap: .8rem; grid-template-columns: 1.6fr 1fr 1fr;
}
.feld { display: flex; flex-direction: column; gap: .3rem; }
.feld label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-leise); }
.feld input, .feld select, .formular input, .formular select, .formular textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--linie); border-radius: 9px;
  background: var(--creme); color: var(--text); width: 100%;
}
.treffer-zahl { margin: 1.4rem 0 .4rem; font-size: .95rem; color: var(--text-leise); }

/* ---------- Saal-Karten ---------- */
.karten { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); padding: 0; list-style: none; margin: 0; }
/* Das Listenelement füllt die Rasterzelle, damit alle Karten einer Reihe gleich hoch sind */
.karten > li { display: flex; }
.karten > li > .karte { width: 100%; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.karte.ist-premium { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-hell) inset; }

/* Platzhalter-Bild: bis echte Fotos vom Saalbetreiber vorliegen (TODO) */
.karte-bild {
  aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-hell) 55%, var(--gold) 160%);
  color: var(--weiss);
}
.karte-bild .initialen { font-family: 'Newsreader', Georgia, serif; font-size: 2.6rem; opacity: .9; letter-spacing: .05em; }
.karte-bild .foto-hinweis {
  position: absolute; bottom: .5rem; left: .6rem; font-size: .68rem; opacity: .72; letter-spacing: .03em;
}
.abzeichen {
  position: absolute; top: .7rem; right: .7rem; background: var(--gold); color: #2b1f0c;
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px;
}
.karte-koerper { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.karte h3 { margin-bottom: .25rem; font-size: 1.25rem; }
.karte h3 a { color: var(--text); text-decoration: none; }
.karte h3 a:hover { color: var(--bordeaux); }
.karte .ort { font-size: .88rem; color: var(--text-leise); margin-bottom: .8rem; }
.merkmale { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.merkmale li {
  font-size: .78rem; background: var(--creme-dunkel); color: var(--text-leise);
  padding: .25rem .6rem; border-radius: 999px;
}
.karte-fuss { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.karte-fuss .btn { padding: .6rem 1.1rem; font-size: .88rem; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.abschnitt-hell { background: var(--weiss); border-block: 1px solid var(--linie); }
.zentriert { text-align: center; max-width: 44rem; margin-inline: auto; }
.raster-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2rem; }
.info-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.5rem; }
.abschnitt-hell .info-karte { background: var(--creme); }
.info-karte .nummer {
  font-family: 'Newsreader', Georgia, serif; font-size: 1.9rem; color: var(--gold); line-height: 1; margin-bottom: .5rem;
}

/* ---------- Regionen-Liste ---------- */
.raum-liste { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.raum-link {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px;
  padding: .85rem 1.1rem; text-decoration: none; color: var(--text); font-weight: 600;
  transition: transform .15s ease, border-color .15s ease;
}
.abschnitt-hell .raum-link { background: var(--creme); }
.raum-link:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--bordeaux); }
.raum-link span {
  font-size: .8rem; font-weight: 700; color: var(--text-leise);
  background: var(--creme-dunkel); border-radius: 999px; padding: .12rem .55rem;
}

/* ---------- Übersichtstabelle ---------- */
.tabelle-rahmen { overflow-x: auto; margin-top: 1.8rem; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--weiss); }
.uebersicht { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
.uebersicht th, .uebersicht td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--linie); }
.uebersicht thead th { background: var(--creme-dunkel); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise); }
.uebersicht tbody tr:last-child td { border-bottom: none; }
.uebersicht tbody tr:hover { background: var(--creme); }
.uebersicht a { font-weight: 600; text-decoration: none; }
.uebersicht a:hover { text-decoration: underline; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fragen und Antworten ---------- */
.faq { max-width: 52rem; margin-top: 1.8rem; }
.faq-eintrag { border-bottom: 1px solid var(--linie); padding: .3rem 0; }
.faq-eintrag summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; position: relative; }
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag summary h3 { display: inline; margin: 0; font-size: 1.08rem; }
.faq-eintrag summary::after {
  content: '+'; position: absolute; right: .3rem; top: .7rem;
  font-size: 1.5rem; color: var(--gold); line-height: 1; transition: transform .2s ease;
}
.faq-eintrag[open] summary::after { content: '−'; }
.faq-eintrag p { margin: 0 0 1.1rem; color: var(--text-leise); max-width: 46rem; }

/* ---------- Detailseite ---------- */
.detail-kopf { padding-block: 2.5rem 1.5rem; }
.brotkrumen { font-size: .85rem; color: var(--text-leise); margin-bottom: 1rem; }
.brotkrumen a { color: var(--text-leise); }
.detail-raster { display: grid; gap: 2.5rem; grid-template-columns: 1.55fr 1fr; align-items: start; padding-bottom: 3.5rem; }
.detail-bild { aspect-ratio: 21 / 9; border-radius: var(--rund); margin-bottom: 1.8rem; }
.fakten { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .1rem; }
.fakten li { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.fakten .bez { min-width: 9.5rem; font-weight: 600; color: var(--text-leise); }
.seiten-karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 1.6rem; position: sticky; top: 6rem;
}
.hinweis {
  background: var(--creme-dunkel); border-left: 3px solid var(--gold);
  padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; font-size: .89rem; color: var(--text-leise); margin-bottom: 1.4rem;
}

/* ---------- Formular ---------- */
.formular { display: grid; gap: .9rem; }
.formular .zeile { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.formular label { font-size: .82rem; font-weight: 700; color: var(--text-leise); display: block; margin-bottom: .25rem; }
.formular textarea { min-height: 110px; resize: vertical; }
.einwilligung { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--text-leise); }
.einwilligung input { width: auto; margin-top: .25rem; }
.formular-danke { display: none; background: #edf7ee; border: 1px solid #b9dcbd; color: #24552a; padding: 1rem; border-radius: 9px; }
.formular-danke.sichtbar { display: block; }

/* ---------- Preise (Saalbetreiber) ---------- */
.preise { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2.5rem; }
.preis-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.8rem; display: flex; flex-direction: column; }
.preis-karte.hervorgehoben { border-color: var(--gold); border-width: 2px; }
.preis { font-family: 'Newsreader', Georgia, serif; font-size: 2.6rem; color: var(--bordeaux); line-height: 1; margin: .4rem 0 .2rem; }
.preis small { font-family: 'Inter', sans-serif; font-size: .85rem; color: var(--text-leise); font-weight: 400; }
.preis-karte ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; font-size: .92rem; }
.preis-karte li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-right: .5rem; }
.preis-karte .btn { margin-top: auto; text-align: center; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--bordeaux); color: #f0e2e6; padding-block: 3rem 1.5rem; margin-top: 3rem; }
.fuss a { color: #f0e2e6; }
.fuss-raster { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; }
.fuss h4 { font-family: 'Inter', sans-serif; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hell); margin: 0 0 .8rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .92rem; }
.fuss-unten {
  border-top: 1px solid rgb(255 255 255 / .16); margin-top: 2.2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .8rem; color: #d3bcc2;
}
.fuss-unten a { color: #d3bcc2; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 46rem; padding-block: 3rem; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.rechtstext .platzhalter { background: #fff4d6; border: 1px dashed #d9b45a; padding: .15rem .4rem; border-radius: 4px; font-size: .93em; }

/* ---------- Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.sichtbar {
  opacity: 1; transform: none;
  transition: opacity .6s var(--easing), transform .6s var(--easing);
  transition-delay: var(--verzug, 0ms);
}
@keyframes hero-rein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero h1 { animation: hero-rein .7s var(--easing) both; }
.js .hero .untertitel { animation: hero-rein .7s var(--easing) .12s both; }
.js .hero .suche { animation: hero-rein .7s var(--easing) .24s both; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .detail-raster { grid-template-columns: 1fr; }
  .seiten-karte { position: static; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .menue {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 1.25rem 1rem;
  }
  .menue.offen { display: flex; }
  .menue a { padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--linie); }
  /* Die Sprachumschalter bleiben auch im aufgeklappten Menü kompakt nebeneinander */
  .sprache { padding-top: .9rem; gap: .5rem; }
  .menue .sprache a { width: auto; border-bottom: none; padding: .35rem .75rem; }
  .suche { grid-template-columns: 1fr; }
  .formular .zeile { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr; }
  .js .reveal { transform: translateY(16px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
