/* Thai-Terrasse – Startseite (ergänzt basis.css) */

/* Bühne: großes Bild bleibt stehen, der Inhalt scrollt darüber (Parallax) */
.parallax { position: relative; }
.buehne {
  position: sticky; top: var(--kopf-h, 0px); z-index: 0;
  height: calc(100svh - var(--kopf-voll, 168px)); min-height: 460px; max-height: 820px;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--rot-dunkel);
}
.buehne-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 8, 6, .05) 30%, rgba(40, 8, 6, .82) 100%); }
.buehne-inhalt { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px 48px; color: #fff; }
.buehne h1 { margin: 0 0 14px; max-width: 18ch; font-size: clamp(2rem, 5.2vw, 3.6rem); font-style: italic; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.buehne-text { max-width: 56ch; margin: 0 0 24px; font-size: 1.1rem; color: #f6ece2; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.knopf-hell { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.knopf-hell:hover { background: rgba(255, 255, 255, .25); }

.heute { display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: 14px; font-weight: 600; }
.heute::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.heute.offen::before { background: #6fcf5b; box-shadow: 0 0 0 4px rgba(111, 207, 91, .25); }
.info-karte .heute { background: var(--creme); color: var(--text); margin: 4px 0 12px; }

.ueber-buehne { position: relative; z-index: 1; background: var(--creme); box-shadow: 0 -18px 40px rgba(30, 5, 5, .25); }

/* Abschnitte */
.abschnitt { max-width: 1200px; margin: 0 auto; padding: 64px 16px; }
.abschnitt h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--rot); }
h2.linie { display: flex; align-items: center; gap: 16px; }
h2.linie::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 162, 74, .55)); transform-origin: left center; }
/* Unsere Chili als Abschluss der Linie (Bild steht aufrecht -> um 90 Grad gedreht, Stiel zur Linie) */
h2.linie::before { content: ""; order: 3; flex: none; width: 23px; height: 62px; margin: -20px 18px -20px -4px;
  background: url("chili.png") center / contain no-repeat; transform: rotate(-90deg); transform-origin: 50% 50%; }
/* Beim Erscheinen: Linie faehrt aus, dann taucht die Chili auf und wackelt einmal */
.js h2.linie::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .35s; }
.js h2.linie::before { opacity: 0; transition: opacity .3s ease 1.05s; }
.js h2.linie.sichtbar::after { transform: none; }
.js h2.linie.sichtbar::before { opacity: 1; animation: chili-wackeln .9s ease-in-out 1.15s 1 both; }
@keyframes chili-wackeln {
  0%, 100% { transform: rotate(-90deg); }
  20% { transform: rotate(-74deg); }
  40% { transform: rotate(-103deg); }
  60% { transform: rotate(-82deg); }
  80% { transform: rotate(-94deg); }
}
@media (prefers-reduced-motion: reduce) {
  .js h2.linie::after { transform: none; transition: none; }
  .js h2.linie::before { opacity: 1; transition: none; animation: none !important; }
}
.ueberzeile-dunkel { margin: 0 0 6px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; }
.mehr { margin: 28px 0 0; text-align: center; }
/* Schnellzugriff auf die Kategorien der Speisekarte */
.karte-schnell { margin: 32px auto 0; max-width: 1160px; text-align: center; line-height: 2; font-size: 16px; }
.karte-schnell-titel { display: block; font: italic 1.1rem var(--serif); color: var(--rot); }
.karte-schnell a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.karte-schnell a:hover, .karte-schnell a:focus-visible { color: var(--rot); border-bottom-color: var(--gold); }
.punkt-trenner { margin: 0 6px; color: var(--gold); }
.karte-schnell + .mehr { margin-top: 20px; }

/* Stärken */
.staerken { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding-top: 56px; padding-bottom: 24px; }
.staerke { text-align: center; padding: 8px 12px; }
.staerke .symbol { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--rot); margin-bottom: 12px; }
.staerke svg { width: 42px; height: 42px; fill: none; stroke: var(--gold-hell); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.staerke h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--rot); }
.staerke p { margin: 0; color: var(--text-leise); }

/* Beliebte Gerichte */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gericht-kachel { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #222; box-shadow: var(--schatten); text-decoration: none; color: #fff; }
.gericht-kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gericht-kachel:hover img, .gericht-kachel:focus-visible img { transform: scale(1.05); }
.kachel-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(30, 8, 6, .85)); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 12px; }
.kachel-name { font: 1.25rem var(--serif); display: flex; align-items: center; gap: 6px; }
.kachel-unter { grid-column: 1; font-size: 14px; color: #f1e6da; }
.kachel-preis { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-weight: 700; color: var(--gold-hell); white-space: nowrap; }
.mini-scharf .chili { width: 18px; height: 18px; display: block; }

/* Zweispaltig: Bild + Text */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.zweispaltig.umgekehrt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.zweispaltig p { margin: 0 0 14px; }
img.rund { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: var(--schatten); }

/* Band Feiern */
.band-feiern { background: radial-gradient(ellipse at top left, var(--rot) 0%, var(--rot-dunkel) 80%); color: #f6ece2; }
.band-feiern h2 { color: #fff; font-style: italic; }

/* Eindrücke: über die volle Bildschirmbreite */
.eindruecke { padding-bottom: 56px; }
.abschnitt-kopf { padding-bottom: 8px; }
.galerie-voll { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.galerie-voll a { display: block; aspect-ratio: 1; overflow: hidden; background: #2a1a17; }
.galerie-voll img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .4s; }
.galerie-voll a:hover img { transform: scale(1.07); filter: brightness(1.08); }

/* Bewertung */
.bewertung { text-align: center; max-width: 760px; }
.sterne { margin: 0 0 8px; font-size: 2rem; letter-spacing: 6px; color: var(--gold); }
.bewertung h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }

/* Info */
.info-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.info-karte { background: var(--papier); border-radius: var(--radius); box-shadow: var(--schatten); padding: 22px 24px; }
.info-karte h3 { margin: 0 0 10px; color: var(--rot); font-size: 1.25rem; }
.info-karte p { margin: 0 0 10px; }
.liste { list-style: none; margin: 0 0 6px; padding: 0; }
a.gross { font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.info-karte .social-leiste { margin: 14px 0 0; }
.info-karte .social { color: var(--rot); border-color: var(--linie); }
.info-karte .social:hover, .info-karte .social:focus-visible { background: var(--rot); color: #fff; }


/* ---------- Animationen ---------- */
/* Bühne: Bild zoomt langsam heran, Text baut sich nacheinander auf */
@keyframes heranzoomen { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.buehne-bild { animation: heranzoomen 9s cubic-bezier(.2, .6, .2, 1) both; }
.buehne-inhalt > * { animation: aufsteigen .9s cubic-bezier(.2, .7, .2, 1) both; }
.buehne-inhalt > :nth-child(1) { animation-delay: .25s; }
.buehne-inhalt > :nth-child(2) { animation-delay: .45s; }
.buehne-inhalt > :nth-child(3) { animation-delay: .7s; }
.buehne-inhalt > :nth-child(4) { animation-delay: .95s; }
.buehne-inhalt > :nth-child(5) { animation-delay: 1.2s; }

.ueber-buehne { overflow-x: clip; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { background: var(--papier); border-radius: 12px; box-shadow: var(--schatten); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-leise); }

/* Zahlungsarten unter den FAQ */
/* darf breiter als die FAQ-Spalte (900 px) werden, damit alle Kaertchen in eine Reihe passen */
.zahlung { margin-top: 28px; width: max-content; max-width: min(1168px, calc(100vw - 32px)); }
.zahlung-titel { margin: 0 0 12px; font: italic 1.25rem var(--serif); color: var(--rot); }
.zahlung-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zahlung-liste li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--papier); border: 1px solid var(--linie); box-shadow: var(--schatten); font-weight: 600; font-size: 15px; color: var(--text); }
.zahlung-liste svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.zahlung-liste svg.marke { width: 22px; height: 22px; margin-right: -2px; }
.zahlung-liste svg.marke + span { margin-left: 4px; }

@media (max-width: 860px) {
  .zweispaltig, .zweispaltig.umgekehrt { grid-template-columns: 1fr; gap: 28px; }
  .zweispaltig.umgekehrt img { order: -1; }
  img.rund { aspect-ratio: 4 / 3; }
  img.rund[src*="lekzi"] { object-position: 50% 0; } /* Kappe nicht abschneiden */
  .galerie-voll { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .galerie-voll a:nth-child(n+10) { display: none; }
}
@media (max-width: 520px) {
  .buehne { min-height: 520px; height: calc(100svh - var(--kopf-voll, 150px)); }
  .buehne-inhalt { padding-bottom: 32px; }
  .buehne-inhalt .knoepfe .knopf { width: 100%; text-align: center; }
  .abschnitt { padding: 44px 16px; }
  .kacheln { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kachel-text { grid-template-columns: 1fr; padding: 30px 10px 10px; }
  .kachel-name { font-size: 1rem; }
  .kachel-unter { display: none; }
  .kachel-preis { grid-column: 1; grid-row: auto; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .buehne { position: relative; top: 0; }
  .buehne-bild, .buehne-inhalt > * { animation: none; }
}
