/* =========================================================
   Collegium musicum Brandenburg e.V. — Redesign
   Minimalistisch · Türkis · DSGVO-freundlich (keine externen Fonts/Tracker)
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  /* Türkis als Grundfarbe */
  --primary:        #0e9494;
  --primary-dark:   #0a6d6d;
  --primary-darker: #084f4f;
  --primary-mid:    #4fbdbd;
  --primary-tint:   #e7f4f3;

  --ink:    #17201f;
  --muted:  #566362;
  --paper:  #ffffff;
  --cream:  #f7f5f1;
  --line:   #e2e8e7;

  --maxw: 1120px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(8, 79, 79, 0.25);

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--primary-mid); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout-Helfer ---------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section--tint { background: var(--primary-tint); }
.section--cream { background: var(--cream); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.6rem;
}
.lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.5em; border-radius: 999px;
  border: 2px solid var(--primary); cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn--ghost { background: transparent; color: var(--primary-dark); }
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn--on-dark { border-color: #fff; color: #fff; background: transparent; }
.btn--on-dark:hover { background: #fff; color: var(--primary-dark); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand img { height: 60px; width: auto; }
.brand span { display: block; }
.brand small { display: block; font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.98rem; padding: .3rem 0; position: relative; }
.nav-links a:hover { text-decoration: none; color: var(--primary-dark); }
.nav-links a[aria-current="page"] { color: var(--primary-dark); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--primary);
}
.nav-cta { margin-left: .4rem; }
/* CTA-Pille: weißer Text (überschreibt .nav-links a), leichte Tiefe */
.nav-links .nav-cta a.btn {
  color: #fff; position: relative; overflow: visible;
  padding: .6em 1.4em; font-weight: 600;
  box-shadow: 0 5px 14px -5px rgba(10,109,109,.6);
}
.nav-links .nav-cta a.btn:hover { color: #fff; text-decoration: none; }
.nav-links .nav-cta a.btn[aria-current="page"]::after { display: none; }

/* Noten, die beim Hover aus dem Button herausfaden */
.cta-note {
  position: absolute; left: 50%; top: 4px;
  font-size: 12px; line-height: 1; color: #fff; opacity: 0; pointer-events: none;
  transform: translate(-50%, 0) scale(.5);
  text-shadow: 0 0 6px rgba(255,255,255,.7);
}
.nav-cta a.btn:hover .cta-note { animation: notePop 1s ease-out forwards; }
.cta-note:nth-child(1) { --dx: -17px; animation-delay: 0s; }
.cta-note:nth-child(2) { --dx: 1px;   animation-delay: .13s; font-size: 15px; }
.cta-note:nth-child(3) { --dx: 17px;  animation-delay: .26s; }
@keyframes notePop {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.5) rotate(-8deg); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -28px) scale(1) rotate(8deg); }
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a[aria-current="page"] { font-weight: 600; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-cta { margin: .8rem 0 0; }
  .nav-links .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 50% 0%, var(--primary) 0%, var(--primary-dark) 55%, var(--primary-darker) 100%);
  color: #fff; text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.hero__logo { width: min(340px, 74vw); margin: 0 auto clamp(1.2rem, 3vw, 2rem); filter: drop-shadow(0 8px 24px rgba(0,0,0,.18)); }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.9); margin-inline: auto; }
.hero__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Hero: zweispaltig mit animiertem Instrument ---------- */
.hero--split { text-align: left; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__text { text-align: left; }
.hero--split .hero__actions { justify-content: flex-start; }
.hero--split .lead { margin-inline: 0; }

.hero__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 440px; perspective: 1000px; }
.hero__glow {
  position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(195,255,250,.60), rgba(195,255,250,0) 70%);
  filter: blur(30px); animation: glowPulse 7s ease-in-out infinite;
}
/* 3D-Szene: mehrere Kopien entlang der Z-Achse ergeben echte Tiefe */
.violin3d {
  position: relative; width: min(310px, 78%); aspect-ratio: 200 / 460;
  transform-style: preserve-3d;
  animation: float3d 9s ease-in-out infinite;
}
.violin {
  position: relative; width: min(310px, 78%); height: auto; overflow: visible;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.95))
          drop-shadow(0 0 24px rgba(150,255,245,.8))
          drop-shadow(0 0 48px rgba(120,240,235,.5));
}
.violin-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.violin-layer--mid { opacity: .45; filter: drop-shadow(0 0 5px rgba(255,255,255,.5)); }
.violin .ln { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.violin .ln--outline { stroke-width: 2.8; }
.violin .ln--thin { stroke-width: 1.2; opacity: .75; }

/* Eigenständiger Bogen (bewegt sich unabhängig vom Instrument) */
.bow {
  position: absolute; left: 50%; top: 62%;
  width: min(440px, 108%); height: auto; z-index: 4; opacity: 0;
  transform: translate(-50%, -50%) rotate(-19deg) translateX(-16px);
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 16px rgba(150,255,245,.6));
  animation: bowIn .9s ease 1.2s forwards, bowStroke 3.8s ease-in-out 1.2s infinite;
}
.bow path, .bow line { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.bow .stick { stroke-width: 2.4; }
.bow .hair  { stroke-width: 1.2; opacity: .8; }
.bow .end   { stroke-width: 2.4; }
.violin .draw {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.5s ease forwards;
}
.violin .d1 { animation-delay: .0s; }
.violin .d2 { animation-delay: .3s; }
.violin .d3 { animation-delay: .6s; }
.violin .d4 { animation-delay: .9s; }
.violin .fade { opacity: 0; animation: fadeIn .8s ease 1.1s forwards; }

.note-float {
  position: absolute; color: #fff; opacity: 0; width: 26px; height: 26px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 13px rgba(150,255,245,.6));
  animation: noteFloat 5s ease-in-out infinite;
}
.note-float svg { width: 100%; height: 100%; display: block; }
.note-float.s1  { top: 12%; left: 30%;  animation-delay: .2s;  width: 24px; height: 24px; }
.note-float.s2  { top: 26%; right: 20%; animation-delay: 1.4s; width: 30px; height: 30px; }
.note-float.s3  { bottom: 28%; left: 20%; animation-delay: 2.3s; width: 26px; height: 26px; }
.note-float.s4  { bottom: 14%; right: 28%; animation-delay: 3.1s; width: 22px; height: 22px; }
.note-float.s5  { top: 48%; right: 12%; animation-delay: 1.9s; width: 28px; height: 28px; }
.note-float.s6  { top: 18%; left: 56%;  animation-delay: 2.7s; width: 22px; height: 22px; }
.note-float.s7  { top: 42%; left: 10%;  animation-delay: .8s;  width: 26px; height: 26px; }
.note-float.s8  { bottom: 20%; right: 16%; animation-delay: 3.6s; width: 30px; height: 30px; }
.note-float.s9  { top: 64%; left: 32%;  animation-delay: 1.1s; width: 24px; height: 24px; }
.note-float.s10 { bottom: 8%; left: 46%; animation-delay: 2.1s; width: 26px; height: 26px; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: .8; } }
@keyframes float3d {
  0%   { transform: translateY(0) rotateY(-24deg) rotateX(5deg) rotateZ(3.5deg); }
  50%  { transform: translateY(-18px) rotateY(24deg) rotateX(-5deg) rotateZ(6.5deg); }
  100% { transform: translateY(0) rotateY(-24deg) rotateX(5deg) rotateZ(3.5deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes noteFloat {
  0%   { opacity: 0; transform: translateY(10px) rotate(-10deg) scale(.6); }
  20%  { opacity: 1; }
  50%  { transform: translateY(-12px) rotate(8deg) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px) rotate(-10deg) scale(.6); }
}
@keyframes bowIn { to { opacity: 1; } }
@keyframes bowStroke {
  0%   { transform: translate(-50%, -50%) rotate(-19deg) translateX(-18px); }
  50%  { transform: translate(-50%, -50%) rotate(-17.2deg) translateX(18px); }
  100% { transform: translate(-50%, -50%) rotate(-19deg) translateX(-18px); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero--split .hero__text { text-align: center; }
  .hero--split .hero__actions { justify-content: center; }
  .hero--split .lead { margin-inline: auto; }
  .hero__art { order: -1; min-height: 300px; margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .violin3d, .violin, .hero__glow, .note-float, .bow { animation: none; }
  .violin3d { transform: rotateY(-18deg) rotateX(4deg) rotateZ(5deg); }
  .violin .draw { stroke-dashoffset: 0; }
  .violin .fade { opacity: .8; }
  .note-float { opacity: .8; }
  .bow { opacity: 1; }
}

/* ---------- Konzert-Highlight (Banner) ---------- */
.concert-banner {
  background: var(--ink); color: #fff;
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  box-shadow: var(--shadow);
}
.concert-banner__body { padding: clamp(1.8rem, 4vw, 3rem); }
.concert-banner__body h2 { color: #fff; }
.concert-banner__date { display: inline-flex; align-items: baseline; gap: .5rem; font-family: var(--serif); font-size: clamp(1.4rem,1.1rem+1vw,1.9rem); color: var(--primary-mid); margin-bottom: .4rem; }
.concert-banner__meta { list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.concert-banner__meta li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; color: rgba(255,255,255,.85); }
.concert-banner__meta li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--primary-mid); }
.concert-banner__media { background: var(--primary-darker); }
@media (max-width: 760px) { .concert-banner { grid-template-columns: 1fr; } .concert-banner__media { min-height: 180px; } }

/* ---------- Karten-Grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .18s ease, box-shadow .2s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 42px; height: 42px; color: var(--primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: .6rem; }
.card__more { font-weight: 600; color: var(--primary-dark); }

/* ---------- Split (Text + Bild/Platzhalter) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ---------- Foto-Platzhalter ---------- */
.photo-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  background: repeating-linear-gradient(45deg, var(--primary-tint), var(--primary-tint) 12px, #eef7f6 12px, #eef7f6 24px);
  border: 2px dashed var(--primary-mid); border-radius: var(--radius);
  color: var(--primary-dark); text-align: center;
  min-height: 260px; padding: 1.5rem;
}
.photo-ph svg { width: 40px; height: 40px; opacity: .7; }
.photo-ph span { font-weight: 600; }
.photo-ph small { color: var(--muted); font-weight: 500; max-width: 30ch; }
.photo-ph--wide { min-height: 320px; }

/* ---------- Orchester: Zahlen, Repertoire, Namenskarte ---------- */
.stats {
  list-style: none; padding: clamp(1.8rem, 4vw, 2.6rem) 0 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); border-top: 1px solid var(--line);
}
.stat__num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); line-height: 1.1; color: var(--primary-dark); }
.stat__label { display: block; margin-top: .45rem; color: var(--muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .stat__num { font-size: clamp(1.35rem, 7vw, 2rem); white-space: nowrap; }
}

.pult { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.pult__list { list-style: none; padding: 0; margin: .9rem auto 0; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .6rem; }
.pult__list li { padding: .38rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }

.name-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  min-height: 320px; padding: 2rem; border-radius: var(--radius); color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 15% 0%, var(--primary) 0%, var(--primary-dark) 45%, var(--primary-darker) 100%);
  box-shadow: var(--shadow);
}
.name-card__initials { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 5.6rem); line-height: 1; letter-spacing: .06em; opacity: .9; }
.name-card__name { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.35); }

/* ---------- Fotos ---------- */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.concert-banner__media { display: flex; align-items: center; justify-content: center; padding: clamp(1.2rem, 3vw, 2.2rem); }
.concert-banner__poster { display: block; transition: transform .2s ease; }
.concert-banner__poster:hover { transform: scale(1.015); }
.concert-banner__poster img { display: block; width: auto; height: auto; max-width: 100%; max-height: 520px; border-radius: 4px; box-shadow: 0 14px 34px rgba(0,0,0,.4); }

/* ---------- Vergangene Konzerte ---------- */
.past-concert { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
.past-concert__poster img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow); }
.past-concert h3 { margin-bottom: .8rem; }
.past-concert__meta { list-style: none; padding: 0; margin: 0 0 1rem; }
.past-concert__meta li { padding-left: 1.4rem; position: relative; margin-bottom: .35rem; }
.past-concert__meta li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--primary-mid); }
@media (max-width: 640px) { .past-concert { grid-template-columns: 1fr; } .past-concert__poster { max-width: 220px; } }

/* ---------- Lightbox (Plakate groß anzeigen) ---------- */
[data-lightbox] { cursor: zoom-in; }
.photo-link { display: block; border-radius: var(--radius); }
.photo-link:focus-visible { outline: 3px solid var(--primary-mid); outline-offset: 3px; }
.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 1rem; border: 0; background: transparent;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 22, 22, .85); }
.lightbox__img {
  display: block; width: auto; height: auto; max-width: 94vw; max-height: 90vh;
  border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.55); cursor: zoom-out;
  animation: lightbox-in .18s ease-out;
}
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.lightbox__close:hover { background: #fff; }
.lightbox__close:focus-visible { outline: 3px solid var(--primary-mid); outline-offset: 2px; }
html.lightbox-open { overflow: hidden; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lightbox__img { animation: none; } }

/* ---------- Formular-Versand ---------- */
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__hint small { color: var(--muted); }
.form__status { margin: 0; padding: .85rem 1.1rem; border-radius: 10px; font-size: .95rem; line-height: 1.5; }
.form__status[hidden] { display: none; }
.form__status--error { background: #fdeeee; color: #8a1c1c; border: 1px solid #f2c4c4; }
.form__status--error a { color: inherit; text-decoration: underline; }
.form button[type="submit"]:disabled { opacity: .8; cursor: progress; transform: none; }
.form.is-sending button[type="submit"]::after {
  content: ""; display: inline-block; vertical-align: -.15em; width: 1em; height: 1em; margin-left: .6em;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: form-spin .7s linear infinite;
}
@keyframes form-spin { to { transform: rotate(360deg); } }
.form-success {
  max-width: 620px; padding: 2.4rem 2rem; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  animation: lightbox-in .25s ease-out;
}
.form-success:focus { outline: none; }
.form-success h3 { margin-bottom: .4rem; }
.form-success p { color: var(--muted); margin: 0; }
.form-success__icon { display: block; width: 64px; height: 64px; margin: 0 auto 1rem; fill: none; stroke: var(--primary); stroke-linecap: round; stroke-linejoin: round; }
.form-success__icon circle { stroke-width: 3; stroke-dasharray: 145; stroke-dashoffset: 145; animation: form-draw .55s ease-out forwards; }
.form-success__icon path { stroke-width: 4; stroke-dasharray: 36; stroke-dashoffset: 36; animation: form-draw .35s .45s ease-out forwards; }
@keyframes form-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .form-success, .form-success__icon circle, .form-success__icon path { animation: none; stroke-dashoffset: 0; }
  .form.is-sending button[type="submit"]::after { animation: none; }
}

/* ---------- Definitionslisten / Personen ---------- */
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.people li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.people .role { color: var(--muted); }
.people .name { font-weight: 600; }

/* ---------- Timeline (Geschichte) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--primary-mid); }
.timeline li { position: relative; padding: 0 0 1.5rem 2.2rem; }
.timeline li::before { content:""; position:absolute; left:0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background:#fff; border: 3px solid var(--primary); }
.timeline .year { font-family: var(--serif); font-weight: 700; color: var(--primary-dark); margin-right: .5rem; }

/* ---------- Info-/Hinweis-Box ---------- */
.note {
  border-left: 4px solid var(--primary); background: var(--primary-tint);
  padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.note strong { color: var(--primary-darker); }
.placeholder-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary-darker); background: #fff; border: 1px dashed var(--primary-mid);
  padding: .15rem .55rem; border-radius: 999px; vertical-align: middle;
}

/* ---------- Formular ---------- */
.form { display: grid; gap: 1rem; max-width: 620px; scroll-margin-top: 6.5rem; }
.form label { font-weight: 600; display: block; margin-bottom: .3rem; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--primary); outline: none; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-darker); color: rgba(255,255,255,.82); padding: clamp(2.5rem,5vw,4rem) 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer-brand img { height: 192px; width: auto; margin-bottom: 1rem; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-lbbl { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.footer-lbbl small { flex: 1 1 11rem; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.footer-lbbl img { height: 80px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }


/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }
