/* ==========================================================================
   Jochen Steinkamp – Landtagswahlkreis Vechta-Süd
   Stylesheet · Am Achten Tag
   ========================================================================== */

/* ---- Schriften (lokal, SIL Open Font License) ---------------------------- */
@font-face { font-family: "Cal Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cal-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --navy: #0E2340;
  --navy-2: #173461;
  --ink: #14213A;
  --ink-2: #4E5D75;
  --cyan: #0C8FB5;
  --cyan-deep: #0A6E8C;
  --cyan-bright: #3CCBEC;
  --pale: #EAF2F6;
  --paper: #FFFFFF;
  --line: #D3DCE5;
  --line-navy: rgba(255, 255, 255, 0.18);

  --font-display: "Cal Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
  --header-h: 4.25rem;

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 760px) { body { font-size: 1rem; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---- Typografie ---------------------------------------------------------- */
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; font-synthesis: none; color: var(--navy); }
/* Headlines nie trennen, Fließtext automatisch (Sprache: de) */
.h1, .h2, .h3, .brand, .station__label, .route li, .route-title, .legal summary h2, .nav a { -webkit-hyphens: none; hyphens: none; overflow-wrap: normal; }
.prose p, .prose li, .topic p, .station p, .honorary p, .legal__label, .hero-photo .lead { -webkit-hyphens: auto; hyphens: auto; }
.h2 {
  font-size: clamp(1.875rem, 9.4vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  max-width: 16ch;
}
@media (min-width: 1100px) { .h2 { max-width: none; } }
.h3 { font-size: 1.75rem; line-height: 1.1; margin: 0 0 1rem; }
.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.25rem; }
.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  color: var(--navy);
  max-width: 30ch;
  margin: 2.25rem 0 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--cyan);
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.35rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-secondary:hover { background: var(--pale); color: var(--navy); }
.btn-small { padding: 0.65rem 1rem; font-size: 0.9375rem; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--navy); text-decoration: none; }
.nav { margin-left: auto; }
.logo { display: block; flex: none; margin-left: clamp(1rem, 2.5vw, 2.5rem); }
.logo img { height: 2.375rem; width: auto; }
.brand:hover { color: var(--cyan-deep); }
.nav ul { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a { font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--cyan-deep); }
.nav-toggle {
  display: none; flex: none; align-items: center; justify-content: center;
  width: 2.875rem; height: 2.875rem; border: 2px solid var(--navy); border-radius: var(--radius);
  background: transparent; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 1.375rem; height: 1.375rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 0.9rem 0; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
  .brand { font-size: 1.25rem; }
  .logo { margin-left: auto; }
  .logo img { height: 1.875rem; }
}
@media (max-width: 400px) {
  .site-header .wrap { gap: 0.75rem; }
  .brand { font-size: 1.125rem; }
  .logo { margin-left: auto; }
  .logo img { height: 1.625rem; }
}

/* ---- Hero (vollflächiges Foto) ------------------------------------------ */
.hero-photo {
  position: relative; display: flex; align-items: flex-end;
  min-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
  background: var(--navy); overflow: hidden;
}
@supports (height: 100svh) {
  .hero-photo { min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px)); }
}
/* Foto bleibt beim Scrollen stehen (fixiert, per clip-path auf den Hero begrenzt – funktioniert anders als background-attachment: fixed auch auf iOS).
   Der fixierte Rahmen beginnt erst unterhalb des Headers (Header-Höhe + 1px Trennlinie + Safe Area) und nicht am oberen Viewport-Rand –
   sonst läge der obere Bildstreifen hinter der Menüleiste und der Kopf würde abgeschnitten. */
.hero-photo { clip-path: inset(0); }
.hero-photo picture {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0;
  top: calc(var(--header-h) + 1px + env(safe-area-inset-top, 0px));
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 35, 64, 0.9) 0%, rgba(14, 35, 64, 0.5) 30%, rgba(14, 35, 64, 0) 60%);
}
.hero-photo .wrap { position: relative; z-index: 1; padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 3rem); color: #fff; }
.hero-photo .h1 {
  color: #fff;
  font-size: clamp(4.25rem, 16.5vw, 15rem); line-height: 0.9; letter-spacing: -0.03em;
  margin: 0 0 0.75rem; max-width: 12ch; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}
.hero-photo .lead {
  color: #fff; font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.3; margin: 0; max-width: 34ch;
}

.hero-intro { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem); }
.hero-intro .prose { max-width: 62ch; }
.hero-intro .signoff { font-style: italic; color: var(--ink-2); }
.hero-intro .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.75rem; }

/* ---- Wahlkreis-Strecke --------------------------------------------------- */
.route-band { background: var(--pale); border-block: 1px solid var(--line); padding-block: 2rem 2.25rem; }
.route-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start; }
.route-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; color: var(--navy); margin: 0; padding-top: 1.35rem; white-space: nowrap; }
.route-title span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--ink-2); margin-top: 0.25rem; }

.route { position: relative; display: flex; list-style: none; margin: 0; padding: 0; }
.route::before {
  content: ""; position: absolute; left: 0.5rem; top: calc(0.5rem - 1.5px); width: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan) 0 82%, transparent);
  animation: route-draw 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s forwards;
}
.js .route::before { animation: none; }
.js .route.is-visible::before { animation: route-draw 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s forwards; }
.route li { position: relative; flex: 1 1 0; padding: 1.5rem 0.75rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.1; color: var(--navy); }
.js .route li { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .route.is-visible li { opacity: 1; transform: none; }
.js .route.is-visible li:nth-child(1) { transition-delay: 0.15s; }
.js .route.is-visible li:nth-child(2) { transition-delay: 0.3s; }
.js .route.is-visible li:nth-child(3) { transition-delay: 0.45s; }
.js .route.is-visible li:nth-child(4) { transition-delay: 0.6s; }
.js .route.is-visible li:nth-child(5) { transition-delay: 0.75s; }
.js .route.is-visible li:nth-child(6) { transition-delay: 0.9s; }
.route li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--cyan);
}
.route li:first-child::before { background: var(--cyan); }
.route li span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; line-height: 1.3; color: var(--ink-2); margin-top: 0.2rem; }

@keyframes route-draw { from { width: 0; } to { width: calc(100% - 0.5rem); } }
@keyframes route-draw-y { from { height: 0; } to { height: calc(100% - 1rem); } }

@media (max-width: 1100px) {
  .route-band .wrap { grid-template-columns: 1fr; gap: 1.25rem; }
  .route-title { padding-top: 0; white-space: normal; }
}
.route li { min-width: 0; }
@media (max-width: 880px) {
  .route { flex-direction: column; gap: 1rem; }
  .route::before {
    left: calc(0.5rem - 1.5px); top: 0.5rem; width: 3px; height: 0;
    background: var(--cyan);
    animation-name: route-draw-y;
  }
  .route li { padding: 0 0 0 1.75rem; }
  .js .route.is-visible::before { animation-name: route-draw-y; }
}
@media (prefers-reduced-motion: reduce) {
  .route::before, .js .route.is-visible::before { animation: none !important; width: calc(100% - 0.5rem); }
  .js .route li { opacity: 1; transform: none; transition: none; }
  @media (max-width: 880px) { .route::before, .js .route.is-visible::before { width: 3px; height: calc(100% - 1rem); } }
}

/* ---- Sektionen ----------------------------------------------------------- */
.section { padding-block: var(--section); }
.section-pale { background: var(--pale); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 6vw, 5rem); row-gap: 0; align-items: start; }
.split > .h2 { grid-column: 1 / -1; }
.split > :not(.h2) { grid-column: 2; }
.split > .figure-left { grid-column: 1; grid-row: 2; }
.split > .figure-left + .prose { grid-row: 2; }
.figure-left { margin: 0; }
.figure-left img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(14, 35, 64, 0.18), 0 2px 6px rgba(14, 35, 64, 0.08); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > :not(.h2) { grid-column: 1; }
  .split > .figure-left { grid-row: auto; order: 3; margin-top: 1.5rem; max-width: 420px; }
  .split > .figure-left + .prose { grid-row: auto; }
}


/* Person – Stationen (seitlich scrollbar) */
.stations { margin-top: clamp(2.5rem, 5vw, 4rem); }
.stations + .stations { margin-top: clamp(2rem, 4vw, 3.5rem); }
.stations__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.stations__head .h3 { font-size: 2rem; margin: 0; }
.stations__nav { display: flex; gap: 0.5rem; flex: none; }
.stations__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 2px solid var(--navy); border-radius: 50%;
  background: transparent; color: var(--navy); cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.stations__btn svg { width: 1.25rem; height: 1.25rem; }
.stations__btn:hover { background: var(--navy); color: #fff; }
.stations__btn[disabled] { opacity: 0.3; cursor: default; background: transparent; color: var(--navy); }
.stations__track {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  padding-bottom: 1.25rem;
  scrollbar-width: thin; scrollbar-color: var(--cyan) transparent;
  -webkit-overflow-scrolling: touch;
}
.stations__track::-webkit-scrollbar { height: 6px; }
.stations__track::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }
.stations__track::-webkit-scrollbar-track { background: transparent; }
.stations__list { position: relative; display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; width: max-content; }
.stations__list::before {
  content: ""; position: absolute; left: 0.5rem; right: 0.5rem; top: calc(0.5rem - 1.5px); height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan) 0 96%, transparent);
}
.station { position: relative; flex: 0 0 auto; width: min(76vw, 280px); padding-top: 1.75rem; scroll-snap-align: start; }
.station::before {
  content: ""; position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--pale); border: 3px solid var(--cyan);
}
.station:first-child::before, .station:last-child::before { background: var(--cyan); }
.station .icon { width: 2.5rem; height: 2.5rem; color: var(--cyan); margin-top: 0.25rem; }
.station__label { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--navy); margin: 0.85rem 0 0.4rem; }
.station p { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

/* Person – Ehrenamt */
.honorary { margin-top: clamp(2.5rem, 5vw, 4rem); }
.honorary .h3 { font-size: 2rem; padding-bottom: 0.75rem; border-bottom: 3px solid var(--navy); margin-bottom: 0; }
.honorary__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.honorary__list li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.5rem 0 0.5rem; }
.honorary__list li b { font-weight: 600; }
.honorary .icon { width: 2.5rem; height: 2.5rem; color: var(--cyan); }
.honorary__list p { margin: 0; font-size: 0.9375rem; line-height: 1.5; padding-top: 0.35rem; }
@media (max-width: 760px) {
  .honorary__list { grid-template-columns: 1fr; }
  .honorary__list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .honorary__list li:last-child { border-bottom: 0; }
}

/* Themen */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3rem); }
.topic { padding: 2rem 1.75rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.topic:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.topic:not(:nth-child(3n + 1)) { padding-left: 1.75rem; }
.topic .icon { width: 2.75rem; height: 2.75rem; color: var(--cyan); }
.topic .h3 { font-size: 2.5rem; margin: 1.25rem 0 0.75rem; }
.topic p { margin: 0; font-size: 1rem; }
@media (max-width: 900px) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic:not(:nth-child(3n)) { border-right: 0; }
  .topic:not(:nth-child(3n + 1)) { padding-left: 0; }
  .topic:nth-child(odd) { border-right: 1px solid var(--line); }
  .topic:nth-child(even) { padding-left: 1.75rem; }
}
@media (max-width: 600px) {
  .topics { grid-template-columns: 1fr; }
  .topic { padding: 1.75rem 0 2rem !important; border-right: 0 !important; }
}

/* Kontakt (Foto als Hintergrund) */
.contact { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: min(92vh, 960px); display: flex; align-items: center; }
.contact__bg, .contact__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__bg img { object-fit: cover; object-position: 62% 30%; transform: scale(1.12) translateX(6%); transform-origin: center; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 35, 64, 0.95) 0%, rgba(14, 35, 64, 0.9) 34%, rgba(14, 35, 64, 0.55) 50%, rgba(14, 35, 64, 0.12) 66%, rgba(14, 35, 64, 0) 100%);
}
.contact__inner { position: relative; z-index: 2; width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.contact .h2 { color: #fff; max-width: 10ch; font-size: clamp(2.5rem, 6vw, 5.25rem); }
.contact p { color: rgba(255, 255, 255, 0.9); max-width: 28rem; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }
.contact .btn-primary { background: var(--cyan-bright); color: var(--navy); }
.contact .btn-primary:hover { background: #fff; color: var(--navy); }
.contact .btn-secondary { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.contact .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.contact .social { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; }
.contact .social a { color: #fff; font-weight: 600; }
.contact .social a:hover { color: var(--cyan-bright); }
@media (max-width: 900px) {
  .contact { align-items: flex-end; min-height: 100vh; }
  @supports (height: 100svh) { .contact { min-height: 100svh; } }
  .contact__bg img { object-position: 60% 0%; transform: none; }
  .contact::before { background: linear-gradient(to top, rgba(14, 35, 64, 0.97) 0%, rgba(14, 35, 64, 0.94) 44%, rgba(14, 35, 64, 0.6) 58%, rgba(14, 35, 64, 0.15) 74%, rgba(14, 35, 64, 0) 90%); }
  .contact .h2 { max-width: 14ch; }
  .contact p { max-width: 34rem; }
}

/* ---- Rechtstexte (eingeklappt, blau) ------------------------------------ */
.legal { background: var(--navy); color: rgba(255, 255, 255, 0.85); border-top: 1px solid var(--line-navy); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.legal a { color: var(--cyan-bright); }
.legal a:hover { color: #fff; }
.legal__label { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); margin: 0 0 1.5rem; max-width: 70ch; }
.legal details { border-bottom: 1px solid var(--line-navy); }
.legal details:first-of-type { border-top: 1px solid var(--line-navy); }
.legal summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0.25rem 1rem 0;
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: #fff; margin: 0; }
.legal summary::after {
  content: ""; flex: none; width: 0.7rem; height: 0.7rem; margin-right: 0.4rem;
  border-right: 3px solid var(--cyan-bright); border-bottom: 3px solid var(--cyan-bright);
  transform: translateY(-0.2rem) rotate(45deg); transition: transform 0.2s ease;
}
.legal details[open] summary::after { transform: translateY(0.2rem) rotate(-135deg); }
.legal summary:hover h2 { color: var(--cyan-bright); }
.legal .prose { padding: 0.25rem 0 2rem; max-width: 70ch; }
.legal .prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.1; color: #fff; margin: 1.75rem 0 0.5rem; }
.legal .prose h3:first-child { margin-top: 0.25rem; }
.legal .prose p, .legal .prose li { font-size: 1rem; }
.legal .prose ul { padding-left: 1.25rem; }
.legal .prose li { margin-bottom: 0.3rem; }
.legal__copy { margin: 1.75rem 0 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); }
@media (prefers-reduced-motion: reduce) { .legal summary::after { transition: none; } }

/* ---- Einblendungen ------------------------------------------------------- */
.js .hero-photo img { opacity: 0; transform: scale(1.05); animation: hero-in 1.6s ease-out 0.1s forwards; }
.js .hero-photo .h1, .js .hero-photo .lead { opacity: 0; transform: translateY(22px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js .hero-photo .h1 { animation-delay: 0.6s; }
.js .hero-photo .lead { animation-delay: 0.85s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }
.js .reveal-group.is-visible > :nth-child(2) { transition-delay: 0.1s; }
.js .reveal-group.is-visible > :nth-child(3) { transition-delay: 0.2s; }
.js .reveal-group.is-visible > :nth-child(4) { transition-delay: 0.3s; }
.js .reveal-group.is-visible > :nth-child(5) { transition-delay: 0.4s; }
.js .reveal-group.is-visible > :nth-child(6) { transition-delay: 0.5s; }
.js .reveal.reveal-delay { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-photo img, .js .hero-photo .h1, .js .hero-photo .lead { opacity: 1; transform: none; animation: none; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; transition: none; }
}
