/* =========================================================================
   aspect. Website – globales Stylesheet
   Aufbau: 1 Fonts & Tokens · 2 Basis · 3 Layout · 4 Typo · 5 Buttons · 6 Header
           7 Footer · 8 Sektionen & Karten · 9 Blog · 10 Formulare · 11 Cookie
           12 Utilities & Animation
   Seiten-spezifisches CSS steht in static/css/pages/<seite>.css
   ========================================================================= */

/* ---------- 1. Fonts & Tokens ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metrisch angepasste Ersatzschrift, bis Manrope geladen ist (weniger Layout-Shift beim Font-Swap).
   Werte aus den Glyphenbreiten/hhea-Metriken von Manrope vs. Arial (Win/Mac/iOS) bzw. Roboto (Android). */
@font-face { font-family: 'Manrope Fallback'; font-weight: 100 599; src: local('Arial'), local('ArialMT');
  size-adjust: 101%; ascent-override: 105.5%; descent-override: 29.7%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback'; font-weight: 600 900; src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 102%; ascent-override: 104.5%; descent-override: 29.4%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback Android'; font-weight: 100 599; src: local('Roboto'), local('Roboto-Regular');
  size-adjust: 102%; ascent-override: 104.5%; descent-override: 29.4%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback Android'; font-weight: 600 900; src: local('Roboto Bold'), local('Roboto-Bold');
  size-adjust: 107.5%; ascent-override: 99.2%; descent-override: 27.9%; line-gap-override: 0%; }

:root {
  /* Farben (aus der bisherigen WordPress-Seite uebernommen) */
  --navy-950: #0a1924;
  --navy-900: #0d2130;
  --navy-800: #153043;
  --navy-700: #15354b;
  --navy-600: #1a3840;
  --blue-600: #285180;
  --accent: #dd9a2e;
  --accent-dark: #b97e1e;
  --accent-soft: #fbf1e1;
  --ink: #111111;
  --text: #2a2a2a;
  --muted: #52616a;
  --line: #b9c6d0;
  --line-soft: #dce3e8;
  --bg: #f4f6f5;
  --bg-alt: #f2f4f6;
  --white: #ffffff;
  --danger: #b42318;
  --success: #1f7a4d;

  --font: 'Manrope', 'Manrope Fallback', 'Manrope Fallback Android', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Typo-Skala (fluid) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: clamp(1.15rem, 1.08rem + 0.3vw, 1.35rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  --fs-h1: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  --fs-display: clamp(2.9rem, 1.8rem + 5vw, 6.2rem);

  /* Abstaende */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 780px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 1.9rem;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(13, 33, 48, .08);
  --shadow: 0 10px 30px rgba(13, 33, 48, .12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .28);

  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: var(--space-7) 0; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--light { background: var(--bg); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy-900); color: #e8eef2; }
.section--navy { background: var(--navy-800); color: #e8eef2; }
.section--gradient { background: linear-gradient(90deg, #141414 0%, #4b4a45 35%, #8f8d87 70%, #b9b8b2 100%); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.section--gradient h2, .section--gradient h3 { color: #fff; }
.section--dark a:not(.btn), .section--navy a:not(.btn) { color: #fff; }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.2fr .8fr; }
  .split--wide-right { grid-template-columns: .8fr 1.2fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: var(--space-4); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- 4. Typografie ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 var(--space-4); font-weight: 700; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--space-4); }
.lead { font-size: var(--fs-lg); line-height: 1.6; }
.muted { color: var(--muted); }
.section--dark .muted, .section--navy .muted { color: var(--line); }
.eyebrow {
  display: inline-block; margin: 0 0 var(--space-3);
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark);
}
.section--dark .eyebrow, .section--navy .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.display { font-size: var(--fs-display); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.section-title { text-align: center; margin-bottom: var(--space-7); }
.underline-swoosh { position: relative; display: inline-block; }
.underline-swoosh::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: -.12em; height: .14em;
  background: currentColor; border-radius: 999px; transform: rotate(-1.2deg);
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: var(--radius-sm);
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn--primary:hover { --btn-bg: #e8a73f; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--dark { --btn-bg: var(--navy-900); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { box-shadow: none; background: rgba(127, 127, 127, .1); }
.btn--lg { min-height: 56px; padding: 1rem 2.2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0 0; }
.btn-row--center { justify-content: center; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.link-button:hover { text-decoration: underline; }
.text-link { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 246, 245, .96);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(13, 33, 48, .08), 0 6px 20px rgba(13, 33, 48, .06); }
.site-header__inner {
  max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.site-header__logo img { width: 142px; height: auto; }
/* Desktop: Logo auf einer Linie mit den Hero-Texten (die sitzen ab 768px bei 65px) */
@media (min-width: 768px) { .site-header__inner { max-width: none; padding-inline: 65px; } }
.main-nav { position: relative; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; position: relative; z-index: 1; }
.main-nav__item { position: relative; }
.main-nav__row { display: flex; align-items: center; gap: 4px; padding: .5rem .95rem; border-radius: var(--radius-pill); }
/* Schnitt passend zum fetten aspect.-Logo */
.main-nav__link {
  font-weight: 800; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.045em;
  color: var(--ink); text-decoration: none; transition: color .25s var(--ease);
}
.main-nav__link:hover, .main-nav__link.is-active { color: var(--accent-dark); }
.main-nav__sub-toggle {
  background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink); display: inline-flex;
  transition: color .25s var(--ease);
}
.main-nav__sub-toggle svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.main-nav__item.is-open .main-nav__sub-toggle svg,
.main-nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.main-nav__sub-list { list-style: none; margin: 0; padding: 0; }
.main-nav__sub a {
  display: block; text-decoration: none; white-space: nowrap;
  font-weight: 700; letter-spacing: -.02em; transition: background-color .2s, color .2s;
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  .main-nav__sub {
    position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
    min-width: 230px; padding: .6rem; border-radius: 18px;
    background: var(--navy-900); box-shadow: 0 18px 40px rgba(13, 33, 48, .25);
    opacity: 0; visibility: hidden; transform: translateY(8px) scale(.97); transform-origin: 50% 0;
    transition: opacity .25s var(--ease), transform .4s var(--ease), visibility 0s .4s;
  }
  .main-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .main-nav__sub a { padding: .6rem 1rem; border-radius: 12px; color: #fff; font-size: 1.02rem; }
  .main-nav__sub a:hover, .main-nav__sub a:focus-visible { background: rgba(255, 255, 255, .08); color: var(--accent); }
  .main-nav__sub a.is-active { color: var(--accent); }
  /* Ohne Tropfen-Effekt (kein JS / Touch-Tablet): einfaches Aufklappen */
  .site-header:not(.nav-fx) .main-nav__item.is-open > .main-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (hover: hover) and (min-width: 1000px) {
  .site-header:not(.nav-fx) .main-nav__item:hover > .main-nav__sub,
  .site-header:not(.nav-fx) .main-nav__item:focus-within > .main-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* Tropfen-Effekt: Blob + Panel liegen in einer "Goo"-Ebene (SVG-Filter #nav-goo), Texte darueber */
.nav-fx .main-nav__goo {
  position: absolute; left: -40px; right: -40px; top: -24px; height: 540px; z-index: 0; pointer-events: none;
  filter: url(#nav-goo) drop-shadow(0 16px 28px rgba(13, 33, 48, .22));
}
.nav-fx .main-nav__blob, .nav-fx .main-nav__panel, .nav-fx .main-nav__neck {
  position: absolute; left: 0; top: 0; width: 0; height: 0; background: var(--navy-900); will-change: transform, width, height;
}
.nav-fx .main-nav__blob { border-radius: var(--radius-pill); }
.nav-fx .main-nav__link:hover { color: var(--ink); }
.nav-fx .main-nav__link.is-active { color: var(--accent-dark); }
.nav-fx .main-nav__row.is-blob .main-nav__link,
.nav-fx .main-nav__row.is-blob .main-nav__sub-toggle { color: #fff; }
.nav-fx .main-nav__sub {
  background: transparent; box-shadow: none; opacity: 1; transform: none; transition: visibility 0s .3s;
}
.nav-fx .main-nav__sub.is-current { visibility: visible; transition-delay: 0s; }
.nav-fx .main-nav__sub li {
  opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -8px));
  transition: opacity .14s ease-out, transform .14s ease-out;
}
.nav-fx .main-nav__sub.is-current li {
  opacity: 1; transform: none;
  transition: opacity .3s ease-out calc(80ms + var(--i, 0) * 35ms), transform .55s cubic-bezier(.22, 1.4, .36, 1) calc(80ms + var(--i, 0) * 35ms);
}

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 11px; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background-color .2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle__bars::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobil: Menue breitet sich wie ein Tropfen vom Button aus ---------- */
@media (max-width: 999px) {
  .nav-toggle { display: block; }
  .main-nav {
    --drop-at: calc(100% - var(--gutter) - 22px) calc(-1 * var(--header-h) / 2);
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); overflow-y: auto;
    padding: var(--space-5) var(--gutter) var(--space-8);
    visibility: hidden; clip-path: circle(0 at var(--drop-at));
    transition: clip-path .5s cubic-bezier(.7, 0, .3, 1), visibility 0s .5s;
  }
  .nav-open .main-nav {
    visibility: visible; clip-path: circle(150vmax at var(--drop-at));
    transition: clip-path .75s cubic-bezier(.65, 0, .25, 1), visibility 0s;
  }
  .nav-open { overflow: hidden; }
  /* backdrop-filter macht den Header zum Bezugsrahmen fuer position: fixed -> Menue waere nur so hoch wie der Header */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__item {
    border-bottom: 1px solid var(--line-soft);
    opacity: 0; transform: translateY(18px); transition: opacity .2s, transform .2s;
  }
  .nav-open .main-nav__item {
    opacity: 1; transform: none;
    transition: opacity .45s ease-out calc(.18s + var(--i, 0) * 60ms), transform .7s cubic-bezier(.22, 1.3, .36, 1) calc(.18s + var(--i, 0) * 60ms);
  }
  .main-nav__row { justify-content: space-between; padding: 0; }
  .main-nav__link { display: block; padding: 1rem 0; font-size: 1.5rem; flex: 1; }
  .main-nav__sub-toggle { width: 48px; height: 48px; justify-content: center; }
  .main-nav__sub-toggle svg { width: 18px; height: 18px; }
  /* Akkordeon mit echter Hoehen-Animation */
  .main-nav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.65, 0, .25, 1); }
  .main-nav__item.is-open > .main-nav__sub { grid-template-rows: 1fr; }
  .main-nav__sub-list { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .5s; }
  .main-nav__item.is-open .main-nav__sub-list { visibility: visible; transition-delay: 0s; }
  .main-nav__sub li { opacity: 0; transform: translateX(-12px); transition: opacity .2s, transform .2s; }
  .main-nav__item.is-open .main-nav__sub li {
    opacity: 1; transform: none;
    transition: opacity .35s ease-out calc(.1s + var(--i, 0) * 45ms), transform .55s cubic-bezier(.22, 1.3, .36, 1) calc(.1s + var(--i, 0) * 45ms);
  }
  .main-nav__sub li:last-child { padding-bottom: .75rem; }
  .main-nav__sub a { padding: .6rem 0 .6rem 1rem; font-size: 1.1rem; color: var(--ink); }
  .main-nav__sub a:hover, .main-nav__sub a.is-active { color: var(--accent-dark); }
}

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--bg); color: var(--ink); padding-top: var(--space-8); border-top: 1px solid var(--line-soft); }
.site-footer__brand { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-4) 0 var(--space-8); }
.site-footer__logo img { width: 200px; height: auto; }
.site-footer__grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } .site-footer__grid > :first-child { grid-column: auto; } }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-5); }
.social a { display: inline-flex; color: var(--ink); transition: color .2s, transform .2s; }
.social a svg { width: 34px; height: 34px; }
.social a:hover { color: var(--accent-dark); transform: translateY(-2px); }
.site-footer__heading { font-weight: 800; font-size: 1.15rem; margin-bottom: var(--space-4); }
.site-footer__heading a { text-decoration: underline; }
.site-footer__subheading { font-weight: 700; margin: var(--space-6) 0 var(--space-3); }
.site-footer__address { line-height: 1.5; font-size: 1.05rem; }
.site-footer__address a { text-decoration: none; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: .55rem; }
.site-footer__links a { text-decoration: none; font-size: 1.05rem; }
.site-footer__links a:hover { text-decoration: underline; }
.badge-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); }
.badge { width: 162px; height: 80px; background: #fff; border: 1px solid #777; border-radius: 4px; box-shadow: 4px 4px 10px rgba(0, 0, 0, .25);
  display: flex; align-items: center; justify-content: center; padding: .6rem 1rem; }
.badge a { display: contents; }
.badge img { max-height: 58px; width: auto; object-fit: contain; }
.site-footer__bottom { margin-top: var(--space-8); border-top: 1px solid #c6c7c7; padding: var(--space-6) 0 var(--space-5); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7); justify-content: center; align-items: center; }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; font-size: var(--fs-sm); }
.site-footer__legal a, .site-footer__legal button { text-decoration: none; color: var(--navy-800); font-size: var(--fs-sm); }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__app { font-weight: 700; text-decoration: none; font-size: var(--fs-sm); }
.site-footer__copy { text-align: center; color: var(--muted); font-size: var(--fs-xs); margin: var(--space-4) 0 0; }

/* ---------- 8. Sektionen & Karten ---------- */
.page-hero { background: var(--navy-800); color: #dfe7ec; padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.page-hero--center { text-align: center; }
.page-hero__title { color: #fff; margin-bottom: var(--space-4); }
.page-hero__lead { font-size: var(--fs-lg); max-width: 62ch; color: #c9d5dd; }
.page-hero--center .page-hero__lead { margin-inline: auto; }

.card { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow-sm); }
.card--dark { background: var(--navy-900); color: #e8eef2; }
.card--dark h3 { color: #fff; }
.card--outline { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.card__icon { width: 48px; height: 48px; margin-bottom: var(--space-4); color: var(--accent); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}

.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: #fff; color: var(--navy-800); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.chip:hover { border-color: var(--accent); color: var(--navy-900); }
.chip.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chip__count { font-size: .75rem; opacity: .7; }
.chip-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }

.cta-band { background: var(--navy-900); color: #dfe7ec; padding: var(--space-8) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.cta-band__title { color: #fff; font-size: var(--fs-h3); font-weight: 800; margin-bottom: var(--space-2); letter-spacing: -.02em; }
.cta-band__text { margin: 0; color: var(--line); max-width: 60ch; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 var(--space-5); padding: 0; font-size: var(--fs-xs); }
.breadcrumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs--dark { color: var(--line); }
.breadcrumbs--dark a { color: #fff; }
.breadcrumbs--light { color: var(--muted); }

.media-round { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.media-rounded { border-radius: var(--radius-lg); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-6); }

.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000 center/cover no-repeat; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: rgba(0, 0, 0, .45); color: #fff; border: 0; cursor: pointer; font-weight: 600; padding: 1rem; text-align: center; }
.video-embed__play small { font-weight: 400; font-size: .8rem; max-width: 46ch; opacity: .85; }

.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--accent-dark); transition: transform .2s; }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion .accordion__body { padding: 0 0 1.25rem; }
.section--dark .accordion summary, .section--navy .accordion summary { color: #fff; }

/* ---------- 9. Blog ---------- */
.post-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--line-soft); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--space-2); }
.post-card__title { font-size: 1.25rem; line-height: 1.25; margin-bottom: var(--space-3); }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--accent-dark); }
.post-card__excerpt { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.post-card__more { font-weight: 700; text-decoration: none; color: var(--accent-dark); font-size: var(--fs-sm); }
.pagination { display: flex; justify-content: center; align-items: center; gap: var(--space-5); margin-top: var(--space-7); }

.container--post { max-width: calc(860px + 2 * var(--gutter)); }
.post-head { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 var(--space-6); }
.post-head__cats { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-3); }
.post-head__cats a { color: var(--accent-dark); text-decoration: none; }
.post-head__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); margin-bottom: var(--space-5); }
.post-head__author p { margin: 0; }
.post-head__byline { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.post-head__byline a { color: var(--ink); }
.post-head__role { color: var(--text); font-size: var(--fs-sm); }
.post-head__meta { color: var(--muted); font-size: var(--fs-xs); margin-top: .2rem !important; display: flex; flex-wrap: wrap; gap: .1rem .45rem; }
.post .toc { margin-top: var(--space-4); }
.toc { background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-7); box-shadow: var(--shadow-sm); }
.toc__title { font-weight: 800; margin-bottom: var(--space-2); }
.toc__list { margin: 0; padding-left: 1.2rem; }
.toc__list li { margin: .3rem 0; }
.toc__list a { text-decoration: none; color: var(--navy-800); }
.toc__list a:hover { color: var(--accent-dark); text-decoration: underline; }

.prose { font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.36rem); line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); margin: 1.8em 0 .5em; }
.prose h4 { margin: 1.5em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--blue-600); font-weight: 600; }
.prose a:hover { color: var(--accent-dark); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--accent-dark); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); margin-inline: auto; }
.prose figcaption { font-size: var(--fs-sm); color: var(--muted); text-align: center; margin-top: .6rem; }
.prose blockquote { margin: 2em 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: #fff; border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.prose th { background: var(--navy-900); color: #fff; }
.prose .cols { display: grid; gap: var(--space-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) {
  .prose .cols { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .prose .cols + * { margin-top: 2em; }
}
.prose .cols .col > figure:only-child { margin: 0; }
.prose .cols > .col > * + * { margin-top: 1em; }
.prose .cover { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); color: #fff; padding: var(--space-6); }
.prose .cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; border-radius: 0; }
.prose .cover > :not(img) { position: relative; }
.prose .cover h2, .prose .cover h3 { color: #fff; }
.prose .btn-row { margin-top: 1.5em; }
.prose .btn-row a, .prose a.btn { color: var(--btn-fg); text-decoration: none; }
.prose--legal { font-size: 1.125rem; line-height: 1.7; font-weight: 400; color: var(--ink); }
.prose--legal h2 { font-size: 1.45rem; }
.prose--legal h3 { font-size: 1.2rem; }
.prose--legal a { word-break: break-word; }
.legal-updated { margin-top: var(--space-7); font-size: var(--fs-sm); color: var(--muted); }

.author-box { display: flex; gap: var(--space-5); align-items: flex-start; margin: var(--space-8) 0 var(--space-8); padding: var(--space-6); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.author-box__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__name { font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.author-box__text { color: var(--muted); font-size: var(--fs-sm); }
.author-box__link { font-weight: 700; color: var(--accent-dark); text-decoration: none; font-size: var(--fs-sm); }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

/* ---------- 10. Formulare ---------- */
.inquiry-form { display: grid; gap: var(--space-5); }
.form-grid { display: grid; gap: var(--space-4) var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 360px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-field--full { grid-column: 1 / -1; } }
.form-field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: .4rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23153043' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 1rem center/16px no-repeat; padding-right: 2.75rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(221, 154, 46, .3); }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--danger); }
.form-field__error { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; margin: .35rem 0 0; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: start; font-size: var(--fs-sm); }
.form-check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--accent-dark); }
.form-check .form-field__error { grid-column: 2; }
.form-check.has-error label { color: var(--danger); }
.req { color: var(--danger); }
.form-alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: #fdecea; color: var(--danger); font-weight: 600; font-size: var(--fs-sm); }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form--dark .form-field label, .inquiry-form--dark .form-check { color: #fff; }
.inquiry-form--dark .form-check a { color: #fff; }
.inquiry-form--dark .form-note { color: var(--line); }
.inquiry-form--dark .form-field__error, .inquiry-form--dark .req { color: #ffb4a8; }
.inquiry-form--dark .form-check.has-error label { color: #ffb4a8; }

/* ---------- 11. Cookie-Banner ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { pointer-events: auto; max-width: 560px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: var(--space-5) var(--space-6); }
.cookie-banner__title { font-weight: 800; font-size: 1.1rem; color: var(--ink); margin-bottom: var(--space-2); }
.cookie-banner__text { font-size: var(--fs-sm); color: var(--muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cookie-banner__actions .btn { flex: 1 1 160px; }
.cookie-banner .btn--ghost { color: var(--navy-800); }

/* ---------- 12. Utilities & Animation ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-7 { margin-bottom: var(--space-7); }
.maxw-60 { max-width: 60ch; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }

@media print {
  .site-header, .site-footer, .cookie-banner, .cta-band, .toc, .btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- 13. Sticky CTA (Bereit fuer dein Coaching?) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--navy-800); color: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
  transform: translateY(110%); transition: transform .35s ease; visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta__text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.25; }
.sticky-cta__title { font-weight: 800; font-size: 13px; }
.sticky-cta__subtitle { font-weight: 500; font-size: 11px; color: var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta__button { flex-shrink: 0; background: #fff; color: var(--navy-800); font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 16px; border-radius: 8px; white-space: nowrap; }
.sticky-cta__button:hover { color: var(--navy-800); background: var(--accent-soft); }
.sticky-cta__close { flex-shrink: 0; background: transparent; border: 0; color: var(--line); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
@media (min-width: 768px) {
  .sticky-cta { left: auto; right: 24px; bottom: 24px; width: 300px; flex-wrap: wrap; border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
  .sticky-cta__text { flex: 1 1 calc(100% - 40px); }
  .sticky-cta__title { font-size: 15px; }
  .sticky-cta__subtitle { font-size: 12px; white-space: normal; }
  .sticky-cta__button { flex: 1 1 100%; text-align: center; order: 3; }
  .sticky-cta__close { position: absolute; top: 6px; right: 6px; }
}
body:has(.cookie-banner:not([hidden])) .sticky-cta { display: none; }

.post-faq { margin-top: var(--space-8); }
.post-faq h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }

strong, b { font-weight: 700; }

.prose .related-hint { margin-top: 2em; padding: 1rem 1.25rem; background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); font-size: var(--fs-sm); }

/* Kein horizontaler Ueberlauf auf schmalen Bildschirmen */
.page-hero__title, .post-head__title, h1, h2 { overflow-wrap: break-word; hyphens: manual; }
.prose { overflow-wrap: break-word; }
.prose--legal { overflow-wrap: anywhere; }
.prose table { max-width: 100%; }
.prose figure:has(> table) { max-width: 100%; overflow-x: auto; }

.form-field__help { font-size: var(--fs-xs); color: var(--muted); margin: .35rem 0 0; }
.inquiry-form--dark .form-field__help { color: var(--line); }

.container--legal { max-width: calc(1000px + 2 * var(--gutter)); }

/* Links in dunklen Kaesten lesbar */
.prose .cover a:not(.btn), .section--dark .prose a:not(.btn) { color: var(--accent); }
/* Tabellen: Zahlen nicht umbrechen, Tabelle darf scrollen */
.prose td { white-space: normal; }
.prose td:not(:first-child) { white-space: nowrap; }
/* Rechtstexte: Fliesstext-Tabellen, alle Spalten umbrechen lassen und Breite gleichmaessig verteilen */
.prose--legal figure:has(> table) { border-radius: var(--radius-sm); background: #fff; }
.prose--legal table { display: table; overflow: visible; border-radius: 0; }
.prose--legal th, .prose--legal td { white-space: normal; overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 600px) { .prose--legal td:first-child { min-width: 10em; } }

/* Hochformat-Bilder in Spalten wie im Original quadratisch zuschneiden */
.prose figure.crop-square img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
