/* AETOS — generated from the AETOS Design System tokens.json. Change values there, then regenerate. */
:root, [data-theme="light"] {
  --navy: #142a52;
  --navy-900: #0b1a36;
  --navy-500: #3a5080;
  --navy-300: #8fa0c0;
  --navy-100: #e6ebf3;
  --lime: #dfff00;
  --lime-100: #f7ffcc;
  --signal-red: #c8102e;
  --nebel: #f3f5f9;
  --linie: #d5dbe5;
  --schiefer: #5a667a;
  --tinte: #101b2e;
  --surface: #ffffff;
  --surface-alt: var(--nebel);
  --line: var(--linie);
  --ink: var(--tinte);
  --ink-muted: var(--schiefer);
  --heading: var(--navy);
  --accent: var(--lime);
  --on-accent: var(--navy);
  --accent-soft: var(--lime-100);
  --inverse: var(--navy);
  --on-inverse: #ffffff;
  --cta: var(--navy);
  --on-cta: #ffffff;
  --brand-deep: var(--navy);
  --danger: var(--signal-red);
  --on-danger: #ffffff;
  --focus-ring: var(--navy);
}
[data-theme="dark"] {
  --surface: var(--navy);
  --surface-alt: var(--navy-900);
  --line: var(--navy-500);
  --ink: #ffffff;
  --ink-muted: var(--navy-300);
  --heading: #ffffff;
  --accent-soft: var(--navy-900);
  --inverse: #ffffff;
  --on-inverse: var(--navy);
  --cta: var(--lime);
  --on-cta: var(--navy);
  --brand-deep: var(--navy-900);
  --focus-ring: var(--lime);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-30: 120px;
  --radius-none: 0px;
  --radius-pill: 999px;
  --radius-circle: 50%;
  --content-max: 1200px;
  --text-max: 680px;
  --font-head: "Montserrat", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
}
@font-face { font-family: 'Montserrat'; src: url('/fonts/Montserrat-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/Montserrat-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --rand: clamp(20px, 4vw, var(--space-12));
  --abschnitt: clamp(var(--space-16), 9vw, var(--space-30));
  --text-gross: clamp(20px, 1.7vw, 24px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--heading); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-thickness .15s ease-out; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
::selection { background: var(--lime); color: var(--navy); }
[data-theme="dark"] { background: var(--surface); color: var(--ink); }

.huelle { width: 100%; max-width: calc(var(--content-max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--abschnitt); }
.text { max-width: var(--text-max); }
.text > * + * { margin-top: 1em; }
.text h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; margin-top: 1.6em; hyphens: auto; }
.text ul { padding-left: 1.2em; }
.text li + li { margin-top: .4em; }
.leise { color: var(--ink-muted); }
.lead { font-size: var(--text-gross); line-height: 1.45; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-6); }
.kopf__logo img { height: 44px; width: auto; }
.kopf__nav { display: flex; gap: var(--space-6); font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.kopf__nav a { text-decoration: none; padding-block: var(--space-2); }
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.kopf__menu { display: none; position: relative; font-family: var(--font-head); font-weight: 600; }
.kopf__menu summary { cursor: pointer; list-style: none; padding: var(--space-2) 0; }
.kopf__menu summary::-webkit-details-marker { display: none; }
.kopf__menu nav { position: absolute; right: 0; top: 100%; z-index: 10; display: grid; min-width: 220px; padding: var(--space-4); background: var(--navy); color: #fff; }
.kopf__menu nav a { padding: var(--space-3) 0; text-decoration: none; font-size: 18px; }
@media (max-width: 860px) { .kopf__nav { display: none; } .kopf__menu { display: block; } .kopf__logo img { height: 36px; } }

/* Buttons wie im Design System */
.ae-btn { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 22px; padding: 18px 28px; border: 2px solid transparent; border-radius: var(--radius-none); text-decoration: none; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, transform .1s ease-out; }
.ae-btn svg { width: 22px; height: 22px; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.ae-btn:hover svg { transform: translateX(4px); }
.ae-btn:active { transform: translateY(1px); }
.ae-btn--primary { background: var(--cta); color: var(--on-cta); }
.ae-btn--primary:hover { background: var(--navy-500); }
[data-theme="dark"] .ae-btn--primary:hover { background: var(--lime-100); }
.ae-btn--secondary { background: transparent; color: var(--heading); border-color: var(--heading); }
.ae-btn--secondary:hover { background: var(--heading); color: var(--surface); }
.ae-label { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill); }
.ae-label--warnung { background: var(--danger); color: var(--on-danger); }
.ae-marker { background: var(--accent); color: var(--on-accent); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Bildband */
.bildband { margin: 0; overflow: clip; }
.bildband img { width: 100%; height: clamp(320px, 52vw, 720px); object-fit: cover; }
.bildband figcaption { padding: var(--space-3) var(--rand) 0; font-size: 16px; color: var(--ink-muted); }

/* Unterseiten */
.seitenkopf { padding-block: clamp(var(--space-8), 5vw, var(--space-20)) var(--abschnitt); }
.seitenkopf--zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--space-8), 5vw, 80px); align-items: start; }
.seitenkopf h1 { font-size: clamp(28px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.02em; max-width: 22ch; hyphens: auto; }
.seitenkopf .lead { margin-top: var(--space-6); max-width: 46ch; }
.seitenkopf__aktion { margin-top: var(--space-8); }
.seitenkopf__bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 84svh; }
@media (max-width: 860px) { .seitenkopf--zweispaltig { grid-template-columns: 1fr; } .seitenkopf__bild { aspect-ratio: 3 / 2; } }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--space-8), 6vw, 96px); align-items: start; }
.zweispaltig > h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; gap: var(--space-6); } }
.punkte { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-6); }
.punkte li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); align-items: start; }
.punkte strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 20px; line-height: 1.3; margin-bottom: var(--space-1); }
.ae-iconkreis { width: 48px; height: 48px; border-radius: var(--radius-circle); background: var(--brand-deep); color: var(--accent); display: inline-grid; place-items: center; }
.ae-iconkreis svg { width: 26px; height: 26px; }
.flaeche { background: var(--surface-alt); }
.anfrage { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.anfrage h2 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; max-width: 20ch; }

/* Fuß */
.fuss { min-height: 90svh; display: flex; flex-direction: column; padding-block: var(--space-12) var(--space-8); }
.fuss__oben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--space-6); font-size: 16px; line-height: 1.5; }
.fuss__oben img { height: 40px; width: auto; margin-bottom: var(--space-3); }
.fuss__gebiet { margin-top: var(--space-3); color: var(--ink-muted); }
.fuss__oben a { white-space: nowrap; }
.fuss__mail { margin-top: auto; padding-top: var(--space-16); }
.fuss__mail p { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink-muted); margin-bottom: var(--space-4); }
.fuss__mail a { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 8.6vw, 140px); line-height: .95; letter-spacing: -.03em; color: var(--lime); text-decoration: none; }
.fuss__mail a span { display: block; }
.fuss__mail a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .12em; }
.fuss__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); margin-top: var(--space-12); font-size: 16px; color: var(--ink-muted); }
.fuss__meta nav { display: flex; gap: var(--space-6); }
@media (max-width: 860px) { .fuss__oben { grid-template-columns: 1fr 1fr; } .fuss__mail a { font-size: clamp(36px, 12vw, 80px); } }

/* Bewegung: nur Transform und Deckkraft, ohne Bewegung bei reduzierter Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 900ms cubic-bezier(.22, 1, .36, 1); }
  .js .einblenden > .ist-da { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .bildband img { animation: heranzoomen linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes heranzoomen { from { scale: 1.12; } to { scale: 1; } }
