:root {
  --petrol: #3C8D95;
  --gold: #C7A766;
  --gold-text: #B08F4E;
  --cream: #F5F3EF;
  --waldpetrol: #1E3D3F;
  --lichttuerkis: #B7DDE8;
  --warmweiss: #FBFAF6;
  --sandton: #D7C7B1;
  --textgrau: #6B6B67;
  --rauchgrau: #8A8A85;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--textgrau);
  font-family: 'Mulish', 'Nunito Sans', sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--petrol); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rauchgrau);
}

/* Kopfzeile */
header.topbar { border-bottom: 1px solid rgba(60,141,149,0.12); }
header.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; padding-bottom: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand span {
  font-family: 'Josefin Sans', sans-serif; font-size: 0.8rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--petrol);
}

/* Begrüßung */
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding-top: 80px; padding-bottom: 88px;
}
.hero h1 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 300;
  font-size: clamp(3rem, 7vw, 4.75rem); line-height: 1; letter-spacing: 0.12em;
  color: var(--petrol); margin: 20px 0 14px;
}
.accent {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif; font-style: italic;
  color: var(--gold-text); font-size: 1.75rem; line-height: 1.3; margin: 0 0 30px;
}
.hero p.intro { font-size: 1.06rem; margin: 0 0 16px; max-width: 480px; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.signature::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.signature span {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.5rem; color: var(--gold-text);
}
.portrait { position: relative; justify-self: center; width: 340px; max-width: 100%; }
.portrait::before {
  content: ""; position: absolute; inset: -18px -28px 18px 28px;
  border: 1px solid var(--gold); opacity: 0.45;
  border-radius: 180px 180px 6px 6px; pointer-events: none;
}
.portrait img.photo {
  position: relative; width: 100%; aspect-ratio: 340 / 490; object-fit: cover;
  object-position: 50% 30%; border-radius: 170px 170px 6px 6px;
}
.portrait img.mark { position: absolute; right: -40px; bottom: -24px; width: 84px; }

/* Abschnittstitel */
.section-head .wrap {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 36px;
}
.section-head h2 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 2.1rem;
  letter-spacing: 0.08em; color: var(--petrol); margin: 8px 0 0; line-height: 1.2;
}
.section-head .count { font-size: 0.875rem; color: var(--rauchgrau); }

/* Karten */
main.library { padding-bottom: 96px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card {
  background: var(--warmweiss); border: 1px solid rgba(60,141,149,0.12);
  border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
}
.media { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.card:nth-child(3n+1) .media { background: #DCEDF1; }
.card:nth-child(3n+2) .media { background: #E9E0D2; }
.card:nth-child(3n)   .media { background: #E4F0EE; }
.media .mark { width: 72px; opacity: 0.55; }
.duration {
  position: absolute; left: 16px; bottom: 14px;
  display: flex; align-items: center; gap: 6px; padding: 2px 10px;
  background: rgba(251,250,246,0.85); border-radius: 20px;
  font-size: 0.75rem; color: var(--waldpetrol);
}
.badge-new {
  position: absolute; right: 16px; top: 14px; padding: 3px 12px;
  background: var(--waldpetrol); border-radius: 20px;
  font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: #E4D2A6;
  display: none;
}
.card[data-new] .badge-new { display: block; }
.player { position: absolute; inset: 0; background: var(--waldpetrol); display: none; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.card.is-open .player { display: block; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.card-date {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--rauchgrau);
}
.card h3 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 400; font-size: 1.3rem;
  line-height: 1.3; letter-spacing: 0.05em; color: var(--petrol); margin: 0 0 10px;
}
.card p { font-size: 0.94rem; line-height: 1.7; margin: 0 0 22px; flex-grow: 1; }
button.watch {
  align-self: flex-start; min-height: 44px; display: flex; align-items: center; gap: 10px;
  background: none; border: none; border-bottom: 1px solid rgba(60,141,149,0.4);
  padding: 0 0 2px; font-family: inherit; font-size: 0.94rem; letter-spacing: 0.04em;
  color: var(--petrol); cursor: pointer;
}
button.watch:hover { color: var(--waldpetrol); }

/* Fußzeile */
footer.site {
  background: var(--petrol); color: rgba(251,250,246,0.85); text-align: center;
  padding: 64px 24px 56px; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
footer.site .quote {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.9rem;
  line-height: 1.35; color: var(--warmweiss); margin: 0;
}
footer.site p { margin: 0; font-size: 0.94rem; }
footer.site a { color: var(--warmweiss); }
footer.site .line { width: 40px; height: 1px; background: var(--gold); margin: 10px 0 4px; }
footer.site .eyebrow { color: rgba(251,250,246,0.8); }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { gap: 48px; }
}
@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 64px; }
  .portrait { width: 280px; }
  .portrait img.mark { right: -24px; width: 68px; }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .section-head .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  header.topbar .tagline { display: none; }
}

/* --- Ergänzungen für die Live-Seite --- */

/* Vimeo-Standbild in der Kartenfläche */
.media img.thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Login-Bildschirm */
.login-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.login-box {
  background: var(--warmweiss);
  border: 1px solid rgba(60,141,149,0.12);
  border-radius: 6px;
  padding: 48px 40px 44px;
  max-width: 380px; width: 100%;
  text-align: center;
}
.login-box h1 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 300;
  font-size: 2.4rem; letter-spacing: 0.12em;
  color: var(--petrol); margin: 14px 0 16px;
}
.login-box p { font-size: 0.95rem; margin: 0 0 26px; }
.login-box input[type="password"] {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--sandton); border-radius: 3px;
  background: var(--cream); color: var(--textgrau);
  font-family: 'Mulish', sans-serif; font-size: 0.98rem;
  margin-bottom: 20px;
}
.login-box input[type="password"]:focus { outline: none; border-color: var(--petrol); }
button.login {
  min-height: 44px;
  background: var(--petrol); color: var(--warmweiss);
  border: none; padding: 12px 34px; border-radius: 3px;
  font-family: 'Mulish', sans-serif; font-size: 0.95rem;
  letter-spacing: 0.05em; cursor: pointer;
}
button.login:hover { background: var(--waldpetrol); }
.error { color: #A6503A; font-size: 0.88rem; margin: -10px 0 18px; }

/* Ruhige Hinweise, wenn nichts geladen werden kann */
.empty { text-align: center; max-width: 520px; margin: 8px auto 0; }
.empty-detail { text-align: center; font-size: 0.8rem; color: var(--rauchgrau); margin-top: 10px; }
