/* Thai-Terrasse – Über uns (ergänzt basis.css) */

/* Porträt */
.portrait { max-width: 1200px; margin: 0 auto; padding: 72px 16px 40px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.portrait-bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 24px; box-shadow: 0 18px 50px rgba(60, 20, 10, .22); }
.portrait-text h2 { margin: 0 0 18px; font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--rot); font-style: italic; }
.portrait-text p { margin: 0 0 16px; }
.ueberzeile-dunkel { margin: 0 0 6px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; }

/* Zitat */
.zitat { max-width: 860px; margin: 24px auto 72px; padding: 0 24px; text-align: center; }
.zitat p { margin: 0; font: italic clamp(1.5rem, 3.6vw, 2.2rem)/1.35 var(--serif); color: var(--rot-dunkel); }
.zitat p::before { content: ""; display: block; width: 60px; height: 2px; margin: 0 auto 22px; background: var(--gold); }
.zitat cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Zeitleiste */
.weg { max-width: 1100px; margin: 0 auto; padding: 24px 16px 80px; }
.weg > h2 { text-align: center; margin: 0 0 40px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--rot); }
.zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitleiste::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-1px); background: linear-gradient(var(--gold), rgba(201, 162, 74, .25)); }
.station { position: relative; width: 50%; padding: 0 44px 34px; }
.station.links { margin-right: 50%; text-align: right; }
.station.rechts { margin-left: 50%; }
.punkt { position: absolute; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--rot); border: 3px solid var(--gold); box-shadow: 0 0 0 5px var(--creme); }
.station.links .punkt { right: -9px; }
.station.rechts .punkt { left: -9px; }
.station-karte { background: var(--papier); border-radius: var(--radius); box-shadow: var(--schatten); padding: 18px 22px; }
.station-karte .zeit { margin: 0 0 4px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.station-karte h3 { margin: 0 0 6px; font-size: 1.3rem; color: var(--rot); }
.station-karte p { margin: 0; color: var(--text-leise); }

/* Chili am Ende der Zeitleiste: haengt mit dem Stiel an der Linie, pendelt beim Erscheinen einmal */
.zeit-chili { display: block; width: 23px; height: 62px; margin: -2px 0 0 calc(50% - 16px);
  background: url("chili.png") center / contain no-repeat; transform-origin: 70% 0; }
.js .zeit-chili.reveal { transform: translateY(-12px); transition-delay: .2s; }
.js .zeit-chili.reveal.sichtbar { transform: none; animation: chili-pendeln 1.1s ease-in-out .7s 1 both; }
@keyframes chili-pendeln {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  45% { transform: rotate(-10deg); }
  70% { transform: rotate(5deg); }
  85% { transform: rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) { .js .zeit-chili.reveal.sichtbar { animation: none; } }

/* Werte-Band */
.werte-band { background: radial-gradient(ellipse at top left, var(--rot) 0%, var(--rot-dunkel) 80%); color: #f1e6da; }
.werte-innen { max-width: 1200px; margin: 0 auto; padding: 72px 16px; }
.werte-innen > h2 { margin: 0 0 32px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: #fff; font-style: italic; }
.werte { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.wert { border-top: 1px solid rgba(201, 162, 74, .45); padding-top: 18px; }
.wert-nr { font: italic 2.4rem/1 var(--serif); color: var(--gold); }
.wert h3 { margin: 10px 0 8px; font-size: 1.35rem; color: #fff; }
.wert p { margin: 0; }

/* Bilderreihe über die volle Breite */
.bilder-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bilder-reihe img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Hinweis auf die Team-Seite */
.team-teaser { max-width: 760px; margin: 0 auto; padding: 72px 16px 0; text-align: center; }
.team-teaser h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--rot); }

/* Dank */
.dank { max-width: 760px; margin: 0 auto; padding: 80px 16px 90px; text-align: center; }
.dank h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--rot); }
.dank .gruss { font: italic 1.2rem var(--serif); color: var(--rot-dunkel); margin: 18px 0 26px; }
.dank .knoepfe { justify-content: center; }
.knopf-rand { background: transparent; color: var(--rot); border: 1px solid var(--rot); }
.knopf-rand:hover { background: var(--rot); color: #fff; }
.dank .social-leiste { justify-content: center; margin-top: 24px !important; }
.dank .social { color: var(--rot); border-color: var(--linie); }
.dank .social:hover, .dank .social:focus-visible { background: var(--rot); color: #fff; }

@media (max-width: 860px) {
  .portrait { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .portrait-bild { max-width: 460px; margin: 0 auto; }
  /* Zeitleiste einspaltig: Linie links */
  .zeitleiste::before { left: 9px; }
  .station, .station.links, .station.rechts { width: auto; margin: 0; padding: 0 0 26px 40px; text-align: left; }
  .station.links .punkt, .station.rechts .punkt { left: 0; right: auto; }
  .zeit-chili { margin-left: -6px; }
  .bilder-reihe { grid-template-columns: repeat(2, 1fr); }
}
