/* Rahel Osterwalder – Farben aus den Fotos: Blazer-Grün, Olive/Salbei, Creme (Jacke), Bernstein (Licht/Haar) */
:root {
  --forest: #1f3a33;
  --forest-2: #2c4d42;
  --olive: #5f6f4f;
  --sage: #a8b7a0;
  --mist: #e4eadf;
  --cream: #f8f3e9;
  --sand: #eddfc7;
  --amber: #d99a4e;
  --amber-2: #c9853a;
  --sky: #b9c8c9;
  --ink: #1b2823;
  --muted: #5b6a62;
  --white: #ffffff;
  --radius: 20px;
  --maxw: 1100px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248,243,233,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; text-decoration: none; color: var(--forest); }
.nav { display: flex; gap: 26px; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--forest); }
.nav .lang { color: var(--forest); font-weight: 700; border: 1.5px solid var(--sage); border-radius: 999px; padding: 3px 13px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--sage); border-radius: 10px; padding: 6px 12px; font: inherit; color: var(--forest); cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 18px 20px 22px; gap: 16px; box-shadow: 0 14px 24px rgba(31,58,51,.08); }
  .nav.open { display: flex; }
}

/* ---------- Hero banner ---------- */
.hero { position: relative; background: var(--forest); color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 30%; }
.hero::before { /* Verlauf: Bild -> Waldgrün (rechts) */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(31,58,51,0) 28%, rgba(31,58,51,.55) 56%, rgba(31,58,51,.92) 100%);
}
.hero::after { /* Verlauf: unten sanft in Creme */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(180deg, rgba(248,243,233,0), var(--cream));
}
.hero .wrap { position: relative; z-index: 2; min-height: min(78vh, 640px); display: flex; align-items: center; justify-content: flex-end; padding-block: 60px 90px; }
.hero-text { width: min(100%, 470px); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.4vw, 3.8rem); line-height: 1.04; margin: 0 0 10px; }
.hero .role { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--sand); margin: 0 0 18px; font-weight: 600; letter-spacing: .01em; }
.hero .lead { color: #e6ede4; margin: 0 0 28px; max-width: 36ch; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 2px solid var(--amber); background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #2a1d0b; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(201,133,58,.35); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); margin-left: 8px; }
@media (max-width: 820px) {
  .hero .wrap { display: block; min-height: 0; padding: 0 0 150px; }
  .hero-img { position: relative; height: auto; aspect-ratio: 1/1; object-position: 24% 18%; }
  .hero::before { background: linear-gradient(180deg, rgba(31,58,51,0) 52%, var(--forest) 92%); height: 100vw; bottom: auto; }
  .hero-text { padding: 0 20px; margin-top: -70px; width: auto; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
}

/* ---------- Sections ---------- */
section { padding-block: 72px; }
h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; line-height: 1.12; color: var(--forest); }
.kicker { color: var(--amber-2); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; margin: 0 0 10px; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 34px; }
.wrap.narrow > * { max-width: 780px; }

/* Verlaufs-Hintergründe: Ende einer Section = Anfang der nächsten */
#speaker { background: linear-gradient(180deg, var(--cream) 0%, var(--mist) 100%); }
#film-content { background: linear-gradient(180deg, var(--mist) 0%, var(--sand) 100%); }
#about { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }

/* ---------- Leistungs-Karten ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }
.card { background: rgba(255,255,255,.72); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(31,58,51,.07); }
.card h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 8px; color: var(--forest); }
.card p { margin: 0; color: var(--muted); }

/* ---------- Event-Fotos ---------- */
.event-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 0; }
.event-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 10px 28px rgba(31,58,51,.12); }
.event-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-photos figure:first-child img { object-position: 50% 62%; }
.event-photos figure:hover img { transform: scale(1.04); }
@media (max-width: 820px) { .event-photos { grid-template-columns: 1fr; } }

/* ---------- Logos ---------- */
h3.sec { margin: 52px 0 18px; font-family: var(--serif); font-size: 1.4rem; color: var(--forest); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo { position: relative; height: 124px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(31,58,51,.08); }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px 18px; }
@media (max-width: 820px) { .logos { grid-template-columns: repeat(3, 1fr); } .logo { height: 104px; } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; } .logo { height: 96px; } .logo img { padding: 10px 12px; } }

/* ---------- Film-Banner ---------- */
.film-banner { position: relative; height: clamp(240px, 36vw, 420px); overflow: hidden; background: var(--olive); }
.film-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.film-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--mist) 0%, rgba(228,234,223,0) 28%, rgba(31,58,51,0) 45%, rgba(31,58,51,.78) 100%); }
.film-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: 1; background: linear-gradient(180deg, rgba(228,234,223,0), var(--mist)); }
.film-banner .wrap { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 2; left: 50%; transform: translateX(-50%); }
.film-banner h2 { color: #fff; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.film-banner .kicker { color: var(--sand); }
#film { background: var(--mist); padding: 0; }
#film-content { padding-top: 24px; }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--forest), var(--olive)); box-shadow: 0 10px 26px rgba(31,58,51,.15); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.video button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.video .play { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), var(--amber-2)); display: grid; place-items: center; transition: transform .25s; }
.video button:hover .play { transform: scale(1.1); }
.video .play::after { content: ""; border-left: 18px solid #2a1d0b; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.video .vlabel { position: absolute; left: 14px; bottom: 10px; font-size: .82rem; color: #e6ede4; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film h3 { font-family: var(--serif); font-size: 1.1rem; margin: 14px 0 2px; color: var(--forest); }
.meta { color: var(--muted); font-size: .9rem; margin: 0; }
.privacy-note { font-size: .8rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- Videoserien (kompakt) ---------- */
.series-card { background: rgba(255,255,255,.7); border-radius: var(--radius); padding: 22px; box-shadow: 0 8px 24px rgba(31,58,51,.07); }
.series-card h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 2px; color: var(--forest); }
.series-card .meta { margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { all: unset; cursor: pointer; font-size: .86rem; padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--forest); border: 1.5px solid var(--sage); transition: background .2s, color .2s; }
.pill:hover, .pill:focus-visible { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ---------- Video-Dialog ---------- */
dialog.player { border: 0; padding: 0; border-radius: 18px; width: min(920px, 94vw); background: var(--forest); color: #fff; overflow: hidden; }
dialog.player::backdrop { background: rgba(20,36,31,.72); backdrop-filter: blur(3px); }
.player-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.player-head strong { font-family: var(--serif); font-size: 1.05rem; }
.player-close { all: unset; cursor: pointer; font-size: 1.6rem; line-height: 1; padding: 2px 10px; border-radius: 8px; }
.player-close:hover { background: rgba(255,255,255,.15); }
.player iframe { width: 100%; height: min(62vh, 520px); border: 0; background: #fff; display: block; }
.player-foot { padding: 10px 16px 14px; font-size: .85rem; color: var(--sand); }
.player-foot a { color: #fff; text-underline-offset: 3px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 28px; } }
.about-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 2/3; box-shadow: 0 18px 40px rgba(31,58,51,.18); max-width: 380px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: .96rem; }
.facts b { display: inline-block; min-width: 96px; color: var(--forest); }

/* ---------- Kontakt ---------- */
.contact { background: linear-gradient(180deg, var(--cream) 0%, var(--forest-2) 34%, var(--forest) 100%); color: #fff; text-align: center; padding-top: 130px; padding-bottom: 80px; }
.contact h2 { color: #fff; }
.contact .sub { margin-inline: auto; color: #d8e2d6; }
.contact .mail { font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.1rem); color: #fff; text-decoration-color: var(--amber); text-underline-offset: 6px; }
.contact .cta { margin-top: 26px; }
.contact .btn.ghost { margin-left: 0; }

footer { background: var(--forest); padding: 22px 0 28px; font-size: .88rem; color: #b9c9bf; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { text-decoration: none; margin-left: 18px; }
footer a:first-child { margin-left: 0; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: 56px; max-width: 760px; }
.legal h1 { font-family: var(--serif); color: var(--forest); }
.draft-note { background: #fff4d6; border: 1px solid #f0d58a; border-radius: 10px; padding: 12px 16px; font-size: .9rem; }

@media (max-width: 820px) {
  .film-banner { height: 290px; }
  .film-banner img { object-position: 36% 60%; }
  .film-banner .wrap { bottom: 48px; }
}

/* ---------- Foto-Banner vor "Über mich" ---------- */
.photo-banner { position: relative; height: clamp(260px, 38vw, 480px); overflow: hidden; background: var(--olive); }
.photo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 8%; }
.photo-banner::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--sand) 0%, rgba(237,223,199,0) 14%, rgba(237,223,199,0) 80%, var(--sand) 100%); }
@media (max-width: 820px) { .photo-banner { height: 300px; } .photo-banner img { object-position: 66% 10%; } }
.yt-link { color: var(--forest); text-decoration-color: var(--amber); text-underline-offset: 3px; }

/* Banner mit Mikrofon-Foto: Gesicht und Mikrofon im Ausschnitt halten */
.photo-banner img { object-position: 50% 34%; }
@media (max-width: 820px) { .photo-banner img { object-position: 52% 30%; } }
.series-grid { align-items: start; }
