/* STANNEK – statische Website. Werte aus dem STANNEK Design System (Tokens). */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.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; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand-600: #015294;
  --brand-700: #183d75;
  --brand-100: #e4eef8;
  --on-brand: #ffffff;
  --surface-page: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #e9eef4;
  --ink: #0f1d2c;
  --ink-muted: #4a5b6d;
  --line: #d5dde6;
  --line-strong: #74859a;
  --focus-ring: var(--brand-600);
  --warning-600: #8a4b00;
  --warning-100: #fdf1e3;
  /* auf Navy (brand-700): abgeleitet aus dem Dunkel-Theme des Design Systems */
  --navy-ink: #ffffff;
  --navy-muted: #c4d6ec;
  --navy-line: rgba(196, 214, 236, .28);
  --navy-accent: #93c4f0;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-20: 80px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(15, 29, 44, .06), 0 4px 12px rgba(15, 29, 44, .06);
  --shadow-2: 0 8px 32px rgba(15, 29, 44, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --gutter: var(--space-4);
  --thread-x: 20px;
  --thread-pad: 0px;
  --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: var(--space-8); } }
@media (min-width: 1100px) { :root { --thread-pad: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 26px; color: var(--ink);
  background: var(--surface-page); caret-color: var(--brand-600); accent-color: var(--brand-600);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--brand-100); color: var(--ink); }
* { scrollbar-color: var(--line-strong) transparent; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--brand-600); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 160ms var(--ease); }
a:hover { color: var(--brand-700); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; color: var(--ink); overflow-wrap: break-word; hyphens: auto; }
.prose p a, .prose li a, .sec-body > p a { overflow-wrap: anywhere; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand-600); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-brand); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typo ---------- */
.display { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; }
.h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.015em; }
.h2, .prose h2, .sec h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.22; letter-spacing: -0.01em; }
.h3, .sec h3 { font-size: 21px; line-height: 28px; }
.sec h4 { font-size: 17px; line-height: 25px; }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 62ch; }
.small, small { font-size: 14px; line-height: 21px; }
.muted { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 20px; font: 600 15px/20px var(--font-sans);
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-600); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-700); color: var(--on-brand); }
.btn--secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--brand-600); color: var(--brand-600); }
.btn--ghost { background: transparent; color: var(--brand-600); padding: 0 12px; }
.btn--ghost:hover { background: var(--brand-100); color: var(--brand-700); }
.btn--inverse { background: #fff; color: var(--brand-700); }
.btn--inverse:hover { background: var(--brand-100); color: var(--brand-700); }
.btn--outline-inverse { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-inverse:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn .icon { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- Header ---------- */
.topbar { display: none; background: var(--surface-sunken); font-size: 14px; line-height: 20px; }
@media (min-width: 1100px) { .topbar { display: block; } }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: var(--space-6); }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-6); }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover, .topbar a[aria-current="page"] { color: var(--brand-600); text-decoration: underline; }
.topbar .tel { font-weight: 600; }
.topbar .tel .icon { width: 16px; height: 16px; color: var(--brand-600); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow 200ms var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-1); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-6); height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: none; margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav > ul > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font: 500 15px/20px var(--font-sans); background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"], .nav li.is-open > .nav__link { color: var(--brand-600); background: var(--brand-100); }
.nav__link .chev { width: 14px; height: 14px; transition: transform 200ms var(--ease); }
.nav li.is-open > .nav__link .chev { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; padding: var(--space-3); background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s 180ms; }
.menu--wide { width: min(760px, 90vw); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-6); }
.nav li.is-open > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.menu a { display: block; padding: 10px 12px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--brand-100); color: var(--brand-700); }
.menu a[aria-current="page"] { color: var(--brand-600); font-weight: 600; }
.menu a .menu__d { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.menu a.sub { padding-left: 28px; font-size: 15px; }
.header-cta { display: none; align-items: center; gap: var(--space-4); margin-left: var(--space-2); }
.tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tel:hover { color: var(--brand-600); }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font: 600 15px/20px var(--font-sans); cursor: pointer; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1280px) { .header-cta { display: flex; } }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--surface-page); overflow-y: auto; padding: var(--space-6) var(--gutter) var(--space-12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.mobile-nav h2 { font-size: 14px; line-height: 20px; color: var(--ink-muted); font-weight: 600; margin: var(--space-6) 0 var(--space-2); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; }
.mobile-nav a.sub { padding-left: 16px; font-size: 16px; }
.mobile-nav a.sub2 { padding-left: 32px; font-weight: 400; }
.mobile-nav .actions { margin-top: var(--space-6); }
body.nav-open { overflow: hidden; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; background: var(--brand-700); color: var(--navy-ink); overflow: hidden; }
.hero .wrap { display: grid; gap: var(--space-8); padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 112px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--space-12); } }
.hero h1 { color: #fff; }
.hero-pre { color: var(--navy-muted); font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; font-weight: 500; }
.hero-h1 { margin-top: var(--space-2); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.hero .lead { color: var(--navy-muted); margin-top: var(--space-6); max-width: 52ch; font-size: 17px; line-height: 1.6; }

/* Bildwechsel + Motion-Grafik */
.hero-media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden; background: #0f2a52; isolation: isolate; }
.hero-media__in { position: absolute; inset: 0; will-change: transform; }
.hero-media .slides { position: absolute; inset: -4% 0; }
.hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1400ms var(--ease); }
.hero-media .slide.is-on { opacity: 1; }
.hero-media .tint { position: absolute; inset: 0; background: rgba(15, 42, 82, .58); }
.hero-media .motion { position: absolute; inset: 7% 5%; }
.hero-media .motion svg { width: 100%; height: 100%; }
.hero-media .dots { position: absolute; left: 12px; bottom: 10px; display: flex; gap: 2px; z-index: 2; }
.hero-media .dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-media .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background-color 300ms var(--ease), transform 300ms var(--ease); }
.hero-media .dot.is-on::before { background: #fff; transform: scale(1.25); }
.hero-media .dot:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media .slide.is-on { animation: kb 7000ms linear both; }
}
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero .actions { margin-top: var(--space-8); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: var(--space-8) 0 0; padding: 0; list-style: none; color: var(--navy-muted); font-size: 14px; line-height: 20px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 16px; height: 16px; color: var(--navy-accent); }

.motion svg { width: 100%; height: auto; overflow: visible; display: block; }
.motion .m-base { stroke: var(--navy-line); stroke-width: 2; }
.motion .m-run { stroke: var(--navy-accent); stroke-width: 2.5; fill: none; }
.motion .m-arrow { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.motion .m-label { fill: #fff; font: 600 15px var(--font-sans); letter-spacing: .01em; }
.motion .m-label--muted { fill: var(--navy-muted); font-weight: 500; }
.motion .m-branch { stroke: var(--navy-line); stroke-width: 1.5; fill: none; }
.motion .m-node circle { fill: var(--brand-700); stroke: var(--navy-accent); stroke-width: 2; transition: fill 400ms var(--ease), r 400ms var(--ease); }
.motion .m-node text { fill: var(--navy-muted); font: 500 14px var(--font-sans); transition: fill 400ms var(--ease); }
.motion .m-node.is-on circle { fill: var(--navy-accent); }
.motion .m-node.is-on text { fill: #fff; }
.motion .m-core { fill: #fff; }
.motion .m-ring { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; }
.motion .m-dot { fill: #fff; }
@media (max-width: 600px) { .motion .m-node text { font-size: 19px; } .motion .m-label { font-size: 20px; } }

/* Keyframes der Motion-Grafik (nur bei erlaubter Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .js .motion .m-arrow-l { animation: m-in-l 1500ms var(--ease-out) 200ms both; }
  .js .motion .m-arrow-r { animation: m-in-r 1500ms var(--ease-out) 200ms both; }
  .js .motion .m-run { stroke-dasharray: 1; stroke-dashoffset: 1; animation: m-draw 1500ms var(--ease-out) 200ms forwards; }
  .js .motion .m-core { transform-box: fill-box; transform-origin: center; animation: m-pop 600ms var(--ease-out) 1500ms both; }
  .js .motion .m-ring { transform-box: fill-box; transform-origin: center; animation: m-ring 1400ms var(--ease-out) 1600ms forwards; }
  .js .motion .m-branch { stroke-dasharray: 1; stroke-dashoffset: 1; animation: m-draw 900ms var(--ease-out) forwards; }
  .js .motion .m-node { opacity: 0; animation: m-fade 600ms var(--ease-out) forwards; }
  .js .motion .m-drop { stroke-dasharray: 1; stroke-dashoffset: 1; animation: m-draw 1200ms var(--ease-out) 2600ms forwards; }
  .js .motion .m-dot { offset-rotate: 0deg; animation: m-travel 1600ms var(--ease) infinite; opacity: 0; }
}
@keyframes m-in-l { from { transform: translateX(-210px); } to { transform: none; } }
@keyframes m-in-r { from { transform: translateX(210px); } to { transform: none; } }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
@keyframes m-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes m-ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes m-fade { to { opacity: 1; } }
@keyframes m-travel { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* Verbindung: Linie aus der Motion-Grafik läuft in den roten Faden */
.join { display: none; }
@media (min-width: 1100px) {
  .hero, .page-head { position: relative; }
  .join.is-set { display: block; }
  .join i { position: absolute; background: var(--navy-accent); }
  .join__v { width: 2px; transform-origin: top; }
  .join__h { height: 2px; bottom: 0; transform-origin: right; }
  .join__c { }
}
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .join i { transform: scale(var(--sx, 1), var(--sy, 1)); transition: transform 700ms var(--ease-out); }
  .js .join__v { --sy: 0; }
  .js .join__h { --sx: 0; transition-delay: 600ms !important; }
  .js .join.is-drawn .join__v { --sy: 1; }
  .js .join.is-drawn .join__h { --sx: 1; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { position: relative; background: var(--brand-700); color: #fff; overflow: hidden; isolation: isolate; }
.page-head > .wrap { position: relative; z-index: 1; }
.head-bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.head-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; filter: grayscale(1); }
.page-head .wrap { display: grid; gap: var(--space-6); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); align-items: end; }
@media (min-width: 960px) { .page-head .wrap { grid-template-columns: minmax(0, 1fr) 320px; } }
.page-head h1 { color: #fff; }
.page-head .sub { color: #fff; font-size: 19px; line-height: 28px; font-weight: 500; margin-top: var(--space-4); max-width: 52ch; }
.page-head .lead { color: var(--navy-muted); margin-top: var(--space-3); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--space-6); padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--navy-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--navy-line); }
.crumbs a { color: var(--navy-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.head-motion { display: none; }
@media (min-width: 960px) { .head-motion { display: block; } }
.head-motion svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Abschnitte + roter Faden ---------- */
main { display: block; }
.sec { position: relative; padding-block: clamp(48px, 5.5vw, 72px); }
.sec--tight { padding-block: var(--space-12); }
.sec--sunken { background: var(--surface-sunken); }
.sec > .wrap { position: relative; display: flow-root; }
.threaded .sec > .wrap { padding-left: calc(var(--gutter) + var(--thread-pad)); }
@media (min-width: 1100px) {
  .threaded .sec > .wrap::before, .threaded .sec > .wrap::after { content: ""; position: absolute; left: calc(var(--gutter) + var(--thread-x)); width: 2px; top: calc(-1 * clamp(48px, 5.5vw, 72px)); bottom: calc(-1 * clamp(48px, 5.5vw, 72px)); }
  .threaded .sec--tight > .wrap::before, .threaded .sec--tight > .wrap::after { top: calc(-1 * var(--space-12)); bottom: calc(-1 * var(--space-12)); }
  .threaded .sec > .wrap::before { background: var(--line); }
  .threaded .sec > .wrap::after { background: var(--brand-600); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .threaded .sec:last-of-type > .wrap::before, .threaded .sec:last-of-type > .wrap::after { bottom: 0; }
  .threaded .sec-head { position: relative; }
  .threaded .sec-head::before { content: ""; position: absolute; left: calc(-1 * var(--thread-pad) + var(--thread-x) - 6px); top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface-page); border: 2px solid var(--line-strong); box-sizing: border-box; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
  .threaded .sec--sunken .sec-head::before { background: var(--surface-sunken); }
  .threaded .sec.is-reached .sec-head::before { background: var(--brand-600); border-color: var(--brand-600); transform: scale(1.15); }
}
.sec-head { max-width: 760px; margin-bottom: var(--space-8); }
.sec-head > * + * { margin-top: var(--space-4); }
.sec-head p { color: var(--ink-muted); font-size: 18px; line-height: 29px; max-width: 68ch; }
.sec .sec-body > * + * { margin-top: var(--space-8); }
.sec .sec-body > h2, .sec .sec-body > h3 { margin-top: var(--space-12); }
.sec .sec-body > h2 + *, .sec .sec-body > h3 + *, .sec .sec-body > h4 + * { margin-top: var(--space-4); }
.sec-body > p, .prose > p, .prose > ul, .prose > ol { max-width: 70ch; }
.sec .sec-body > p + p { margin-top: var(--space-4); }
.split { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); } .split--wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

.pre { font: 600 14px/20px var(--font-sans); color: var(--brand-600); }
.sec-head .pre + h2 { margin-top: var(--space-2); }
.btn--icon { width: 44px; padding: 0; }

/* Portfolio-Kacheln (Startseite) */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile > a, .tile > div { position: relative; display: block; color: inherit; text-decoration: none; }
.tile__img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile__t { padding-top: var(--space-3); padding-right: 28px; }
.tile h3 { font-size: 17px; line-height: 24px; }
.tile p { font-size: 14px; line-height: 21px; color: var(--ink-muted); margin-top: 2px; }
.tile > a .icon { position: absolute; right: 0; bottom: 22px; color: var(--brand-600); transition: transform 200ms var(--ease); }
.tile > a:hover h3 { color: var(--brand-600); }
.tile > a:hover .icon { transform: translateX(4px); }
.tile > a:hover .tile__img img, .tile > div:hover .tile__img img { transform: scale(1.04); }

/* Leistungsliste (ServiceList) */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: var(--space-8); }
.service { position: relative; }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.service > a, .service > div { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--space-3); align-items: start; padding: var(--space-4) 0 var(--space-6); color: inherit; text-decoration: none; }
.service__name { font: 600 18px/26px var(--font-sans); grid-column: 1; }
.service__desc { font: 400 15px/23px var(--font-sans); color: var(--ink-muted); grid-column: 1; }
.service .icon { grid-column: 2; grid-row: 1; margin-top: 3px; color: var(--brand-600); transition: transform 200ms var(--ease); }
.service > a:hover .service__name { color: var(--brand-600); }
.service > a:hover .icon { transform: translateX(4px); }
.svc-groups { display: grid; gap: var(--space-12); }
@media (min-width: 900px) { .svc-groups { grid-template-columns: 220px minmax(0, 1fr); row-gap: var(--space-8); column-gap: var(--space-12); } .svc-groups > h3 { padding-top: var(--space-4); } }
.svc-groups > h3 { font-size: 17px; line-height: 24px; color: var(--brand-700); }

/* Merkmalsliste (gleichrangige Inhalte ohne Link) */
.facts { list-style: none; margin: 0; padding: 0; display: grid; }
.fact { position: relative; display: grid; gap: var(--space-2) var(--space-8); padding: var(--space-6) 0; }
@media (min-width: 900px) { .fact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
.fact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.fact h3 { font-size: 18px; line-height: 26px; }
.fact__b { color: var(--ink-muted); font-size: 16px; line-height: 26px; max-width: 68ch; }
.fact__b > * + * { margin-top: var(--space-2); }
.fact .num { display: block; font: 600 14px/20px var(--font-sans); color: var(--brand-600); margin-bottom: var(--space-1); font-variant-numeric: tabular-nums; }
.fact .actions { margin-top: var(--space-3); }

/* Ablauf (StepFlow, senkrecht) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-8); } }
.step { position: relative; padding: 0 0 var(--space-8) 56px; }
.step__marker { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--font-sans); background: var(--surface-raised); color: var(--brand-600); border: 2px solid var(--brand-600); font-variant-numeric: tabular-nums; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.step.is-in .step__marker { background: var(--brand-600); color: var(--on-brand); }
.step h3 { font-size: 18px; line-height: 26px; padding-top: 5px; }
.step p { margin-top: var(--space-2); color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* Kennzahlen */
.stats { list-style: none; margin: 0; padding: 0; display: grid; }
.stat { display: grid; gap: var(--space-1) var(--space-8); align-items: baseline; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
.stat__n { font: 600 24px/32px var(--font-sans); color: var(--brand-700); font-variant-numeric: tabular-nums; }
.stat__l { color: var(--ink-muted); font-size: 16px; line-height: 26px; }

/* Zitat */
.quote { margin: 0; max-width: 860px; }
.quote blockquote { margin: 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.45; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.quote blockquote p + p { margin-top: var(--space-4); }
.quote figcaption { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-3); color: var(--ink-muted); font-size: 15px; }
.quote figcaption::before { content: ""; width: 32px; height: 2px; background: var(--brand-600); }

/* Personen */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (min-width: 1000px) { .people { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.person figure { margin: 0; }
.person .ph { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .ph--empty { display: grid; place-items: center; }
.person .ph--empty img { width: 56%; height: auto; object-fit: contain; opacity: .9; }
.person h3 { margin-top: var(--space-4); font-size: 18px; line-height: 26px; }
.person p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.person a { text-decoration: none; }
.person--more .ph { background: var(--brand-100); display: grid; place-items: center; }
.person--more .ph span { font: 600 18px/26px var(--font-sans); color: var(--brand-700); text-align: center; padding: var(--space-6); }

/* Logos */
.logos { list-style: none; margin: 0; padding: var(--space-8) 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8) clamp(32px, 4vw, 56px); border-block: 1px solid var(--line); }
.logos li { display: flex; align-items: center; min-height: 64px; }
.logos img { max-height: 52px; max-width: 132px; width: auto; height: auto; object-fit: contain; }
.fig-logo img { max-height: 96px; width: auto; }
.fig-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.fig-photo img { width: 100%; }
.fig-cap { margin-top: var(--space-2); font-size: 14px; color: var(--ink-muted); }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gallery li:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery li { border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.gallery li:hover img { transform: scale(1.03); }

/* Accordion */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; padding: var(--space-4) 0; font: 600 17px/25px var(--font-sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand-600); transition: transform 200ms var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-600); }
.faq .faq__a { padding: 0 0 var(--space-6); color: var(--ink-muted); max-width: 70ch; }
.faq .faq__a > * + * { margin-top: var(--space-3); }

/* Einbettungen mit Zwei-Klick-Lösung */
.embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-raised); }
.embed__ph { display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-8); background: var(--surface-sunken); }
.embed__ph p { color: var(--ink-muted); font-size: 15px; line-height: 23px; max-width: 60ch; }
.embed__ph h3 { font-size: 18px; line-height: 26px; }
.embed iframe { display: block; width: 100%; border: 0; background: #fff; }
.embed.is-loaded .embed__ph { display: none; }

/* Hinweis */
.callout { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4); border-radius: var(--radius-md); background: var(--brand-100); max-width: 76ch; }
.callout > .icon { margin-top: 3px; color: var(--brand-600); }
.callout--warning { background: var(--warning-100); }
.callout--warning > .icon { color: var(--warning-600); }
.callout__title { font-weight: 600; }
.callout p + p { margin-top: var(--space-2); }

/* Kontaktleiste */
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6) var(--space-8); padding: var(--space-8); background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.contact__lead { flex: 1 1 360px; }
.contact__lead h2 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; }
.contact__lead p { margin-top: var(--space-2); color: var(--ink-muted); max-width: 60ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Kontaktwege (Kontaktseite) */
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.way { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.way .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; }
.way .k { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.way .v { font-weight: 600; font-size: 17px; line-height: 26px; }
.way .v a { color: var(--ink); text-decoration: none; }
.way .v a:hover { color: var(--brand-600); text-decoration: underline; }

/* Formulare-Seite */
.task { padding: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.task h2 { font-size: 24px; line-height: 32px; }
.task .steps { grid-template-columns: 1fr; margin-top: var(--space-6); }
.task .step { padding-bottom: var(--space-6); }
.task .step:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.task .step .actions { margin-top: var(--space-3); }
dialog.form-dialog { width: min(920px, 94vw); height: min(860px, 90vh); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
dialog.form-dialog::backdrop { background: rgba(15, 29, 44, .5); }
.form-dialog__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-6); border-bottom: 1px solid var(--line); }
.form-dialog__bar h2 { font-size: 18px; line-height: 26px; }
.form-dialog__body { height: calc(100% - 69px); overflow: auto; }
.form-dialog__body iframe { width: 100%; height: 100%; border: 0; }
.form-dialog__body p { padding: var(--space-8); color: var(--ink-muted); }

/* Blog */
.posts { list-style: none; margin: 0; padding: 0; display: grid; }
.post-row { border-top: 1px solid var(--line); }
.post-row a { display: grid; gap: var(--space-2) var(--space-8); padding: var(--space-6) 0; text-decoration: none; color: inherit; }
@media (min-width: 900px) { .post-row a { grid-template-columns: 160px minmax(0, 1fr) 220px; align-items: start; } }
.post-row time { color: var(--ink-muted); font-size: 14px; line-height: 26px; font-variant-numeric: tabular-nums; }
.post-row h2 { font-size: 21px; line-height: 28px; transition: color 160ms var(--ease); }
.post-row p { margin-top: var(--space-2); color: var(--ink-muted); font-size: 15px; line-height: 24px; max-width: 64ch; }
.post-row a:hover h2 { color: var(--brand-600); }
.post-row .thumb { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-sunken); }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); padding: 0; list-style: none; }
.tags li { padding: 2px 8px; border-radius: var(--radius-sm); background: var(--surface-sunken); font: 500 13px/20px var(--font-sans); color: var(--ink); }

.article { max-width: 720px; }
.article .feature { margin: 0 0 var(--space-8); border-radius: var(--radius-lg); overflow: hidden; }
.prose { font-size: 17px; line-height: 28px; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-12); }
.prose h3 { margin-top: var(--space-8); font-size: 20px; line-height: 28px; }
.prose h2 + *, .prose h3 + * { margin-top: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-2); }
.prose li::marker { color: var(--brand-600); }
.prose .actions { margin-top: var(--space-6); }

/* Events */
.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; gap: var(--space-2) var(--space-8); padding: var(--space-6) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .event { grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; } }
.event time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brand-700); }
.event h3 { font-size: 18px; line-height: 26px; }
.event .meta { color: var(--ink-muted); font-size: 14px; line-height: 21px; margin-top: 2px; }

/* Rechtliches */
.legal-ph { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: var(--space-8); color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--surface-sunken); padding-top: var(--space-12); padding-bottom: var(--space-8); font-size: 15px; line-height: 24px; }
.site-footer .foot { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-6) var(--space-12); }
.site-footer h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand-600); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer .logo-f img { height: 64px; width: auto; }
.site-footer .bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); color: var(--ink-muted); font-size: 14px; }
.site-footer .bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }

/* ---------- Scrollanimationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-r] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-r].is-in { opacity: 1; transform: none; }
  .js .service[data-r]::before, .js .fact[data-r]::before, .js .stat[data-r] { }
  .js .service[data-r]::before, .js .fact[data-r]::before { transform: scaleX(0); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .service[data-r].is-in::before, .js .fact[data-r].is-in::before { transform: scaleX(1); }
  .js .service[data-r], .js .fact[data-r] { transform: none; }
  .js [data-r="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path 1100ms var(--ease-out); }
  .js [data-r="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
  .js .sec-head h2[data-r], .js .hero-h1[data-r] { opacity: 1; transform: none; }
  .js .rv-in { display: block; clip-path: inset(0 0 100% 0); translate: 0 .6em; transition: clip-path 1000ms var(--ease-out), translate 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .is-in > .rv-in { clip-path: inset(-10% -5% -25% -5%); translate: 0 0; }
  .js .tile[data-r] .tile__img img { transform: scale(1.14); transition: transform 1400ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .tile[data-r].is-in .tile__img img { transform: scale(1); }
  .js .tile[data-r].is-in > a:hover .tile__img img { transform: scale(1.04); transition-delay: 0ms; transition-duration: 700ms; }
  .js .person[data-r] .ph img { transform: scale(1.1); transition: transform 1400ms var(--ease-out); }
  .js .person[data-r].is-in .ph img { transform: scale(1); }
  .js .logos li[data-r] { transform: scale(.96); }
  .js .logos li[data-r].is-in { transform: none; }
  .threaded .sec > .wrap::after { transition: transform 120ms linear; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .motion .m-dot { display: none; }
}
@media print {
  .topbar, .site-header, .mobile-nav, .motion, .head-motion, .hero-media { display: none !important; }
  .hero, .page-head { background: none; color: var(--ink); }
  .hero h1, .page-head h1, .page-head .sub { color: var(--ink); }
}
.page-head h1, .crumbs li { overflow-wrap: anywhere; }
@media (max-width: 959px) { .hero-media { aspect-ratio: 4 / 3; } }
main p a, main li a:not(.btn) { overflow-wrap: anywhere; }
.tile h3, .person h3, .service__name { hyphens: manual; }
/* Platzhalter für fehlende Logos und Bilder */
.logo-ph { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 52px; padding: 0 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--ink-muted); font: 500 13px/1.2 var(--font-sans); text-align: center; }
.fig-logo .logo-ph { min-width: 200px; height: 88px; font-size: 15px; }
img.is-missing { visibility: hidden; }

/* =====================================================================
   Startseite: Vollbild-Hero, Kapitel, Portfolio-Fahrt, Partner
   ===================================================================== */
.big { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.022em; }
.lead-lg { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--brand-600); }
.link-arrow .icon { transition: transform 200ms var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* Hero */
.hero--full { min-height: max(640px, calc(100svh - 124px)); display: flex; flex-direction: column; justify-content: center; background: #0f2a52; }
.hero--full .hero-bg { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero--full .slides { position: absolute; inset: 0; }
.hero--full .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms var(--ease); }
.hero--full .slide.is-on { opacity: 1; }
.hero--full .hero-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 42, 82, .9) 0%, rgba(15, 42, 82, .78) 38%, rgba(15, 42, 82, .42) 72%, rgba(15, 42, 82, .3) 100%); }
.hero--full .slide[src$="hero-team.jpg"] { object-position: 72% 30%; }
@media (max-width: 899px) { .hero--full .hero-tint { background: rgba(15, 42, 82, .76); } }
.hero--full canvas.net { position: absolute; inset: 0; z-index: 1; }
.hero--full .wrap.hero-grid { position: relative; z-index: 2; display: block; padding-top: 64px; padding-bottom: 120px; pointer-events: none; }
.hero--full .hero-copy { max-width: 640px; pointer-events: auto; }
.hero--full .hero-pre { color: var(--navy-accent); }
.hero--full .hero-h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.028em; }
.hero--full .lead { color: #dbe7f5; max-width: 54ch; }
.hero--full .hero-foot { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding-top: 0; padding-bottom: 0; }
.hero--full .dots { position: static; display: flex; gap: 2px; margin-left: -8px; }
.hero--full .dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero--full .dot::before { content: ""; width: 22px; height: 2px; background: rgba(255,255,255,.35); transition: background-color 300ms var(--ease); }
.hero--full .dot.is-on::before { background: #fff; }
.cue { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.cue i { position: relative; width: 2px; height: 40px; background: rgba(255,255,255,.25); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: #fff; animation: cue 1800ms var(--ease) infinite; }
.cue:hover { color: var(--navy-accent); }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@media (prefers-reduced-motion: no-preference) { .hero--full .slide.is-on { animation: kb 7000ms linear both; } }
@media (max-width: 899px) {
  .hero--full { min-height: 0; justify-content: flex-start; }
  .hero--full .wrap.hero-grid { padding-top: 48px; padding-bottom: 360px; }
  .hero--full .hero-tint { background: rgba(15, 42, 82, .80); }
}

/* Kapitel „Kern & Neues“ */
.story { background: var(--brand-700); color: #fff; position: relative; }
.story__pin { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story__grid { display: grid; gap: var(--space-8); padding-block: 96px; align-items: center; }
.rail { display: none; }
.chap { padding: var(--space-8) 0; border-top: 1px solid var(--navy-line); }
.chap__h { color: #fff; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.024em; }
.chap__p { color: #dbe7f5; font-size: 18px; line-height: 1.6; margin-top: var(--space-4); max-width: 46ch; }
.chap .link-arrow { color: var(--navy-accent); margin-top: var(--space-6); }
.chap .link-arrow:hover { color: #fff; }
.story__media { display: none; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-12); width: 100%; }
  .rail { display: grid; gap: 28px; position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; align-self: center; }
  .rail__line { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--navy-line); }
  .rail__fill { position: absolute; inset: 0; background: var(--navy-accent); transform-origin: top; transform: scaleY(0); }
  .rail li { position: relative; display: flex; align-items: center; gap: 10px; color: var(--navy-muted); font-size: 14px; font-weight: 500; transition: color 300ms var(--ease); }
  .rail__m { position: absolute; left: -28px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-700); border: 2px solid var(--navy-line); font-size: 0; transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
  .rail li.is-on .rail__m { border-color: var(--navy-accent); background: var(--navy-accent); }
  .rail li.is-cur { color: #fff; }
  .story__media { display: block; position: relative; height: min(68vh, 620px); }
  .chap-media { position: absolute; inset: 0; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #0f2a52; }
  .chap-media img { width: 100%; height: 100%; object-fit: cover; }
  html:not(.gs) .chap-media + .chap-media { display: none; }
  .gs .story__text { display: grid; align-items: center; height: min(68vh, 620px); }
  .gs .chap { grid-area: 1 / 1; border-top: 0; padding: 0; }
}

/* Intro mit sechs Stärken */
.intro-grid { display: grid; gap: var(--space-6) var(--space-12); margin-bottom: var(--space-12); }
@media (min-width: 900px) { .intro-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .intro-body { padding-top: 10px; } }
.intro-body > * + * { margin-top: var(--space-4); }
.intro-body p { color: var(--ink-muted); font-size: 17px; line-height: 1.65; max-width: 64ch; }
.intro-body p.lead-lg { color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); }
.sec--intro, .sec--partner { padding-block: clamp(72px, 9vw, 128px); }
.facts--num .num { font-size: 14px; color: var(--brand-600); }

/* Portfolio-Fahrt */
.hscroll { background: #0f2a52; color: #fff; position: relative; overflow: hidden; }
.hscroll__view { padding-block: clamp(72px, 9vw, 120px); }
.hscroll__track { display: flex; gap: var(--space-6); align-items: stretch; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hscroll__intro { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; padding-right: var(--space-8); display: flex; flex-direction: column; justify-content: center; }
.hscroll__intro h2 { color: #fff; }
.hscroll__intro p { color: #dbe7f5; margin-top: var(--space-4); font-size: 17px; line-height: 1.6; }
.hscroll__intro .actions { margin-top: var(--space-8); }
.cards { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-6); }
.card { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; }
.card > a, .card > div { display: block; height: 100%; color: inherit; text-decoration: none; position: relative; }
.card__img { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: #183d75; }
.card__img img { width: 112%; max-width: none; height: 100%; object-fit: cover; margin-left: -6%; transition: transform 800ms var(--ease-out); }
.card > a:hover .card__img img, .card > div:hover .card__img img { transform: scale(1.05); }
.card__t { padding-top: var(--space-4); padding-right: 44px; }
.card__n { font-size: 13px; font-weight: 600; color: var(--navy-accent); font-variant-numeric: tabular-nums; }
.card h3 { color: #fff; font-size: 21px; line-height: 28px; margin-top: 4px; }
.card p { color: var(--navy-muted); font-size: 15px; margin-top: 2px; }
.card__go { position: absolute; right: 0; bottom: 6px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--navy-line); display: grid; place-items: center; color: #fff; transition: background-color 200ms var(--ease), border-color 200ms var(--ease); }
.card > a:hover .card__go { background: #fff; color: var(--brand-700); border-color: #fff; }
.hscroll__foot { display: none; }
@media (min-width: 900px) {
  .gs .hscroll { height: 100vh; }
  .gs .hscroll__view { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
  .gs .hscroll__track { overflow: visible; width: max-content; scroll-snap-type: none; padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
  .gs .card { flex-basis: clamp(300px, 24vw, 380px); }
  .gs .hscroll__foot { display: block; margin-top: var(--space-8); }
  .hscroll__bar { display: block; height: 2px; background: var(--navy-line); }
  .hscroll__bar i { display: block; height: 100%; background: var(--navy-accent); transform-origin: left; transform: scaleX(0); }
}

/* Partnerschaften */
.prows { display: grid; gap: clamp(48px, 7vw, 96px); }
.prow { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) { .prow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); } .prow--rev .prow__art { order: 2; } }
.prow__art { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--surface-sunken); display: grid; place-items: center; overflow: hidden; position: relative; }
.prow__art::before { content: ""; position: absolute; inset: 12% 12%; border: 1px solid var(--line); border-radius: 50%; }
.prow__logo { position: relative; width: 46%; max-width: 260px; display: grid; place-items: center; }
.prow__logo img { max-height: 160px; width: auto; object-fit: contain; }
.prow__t > * + * { margin-top: var(--space-3); }
.pname { font: 600 14px/20px var(--font-sans); color: var(--brand-600); }
.prow__t h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -0.012em; }
.prow__t p { color: var(--ink-muted); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.prow__t .link-arrow { margin-top: var(--space-6); }
.pstats { list-style: none; padding: 0; margin: var(--space-6) 0 0 !important; display: grid; gap: 0; }
.pstats li { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.pstats .stat__n { font-size: 22px; line-height: 30px; }
.pstats .stat__l { font-size: 15px; }
.marquee { margin-top: clamp(64px, 8vw, 112px); padding-block: var(--space-8); border-block: 1px solid var(--line); display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { list-style: none; margin: 0; padding: 0 28px; display: flex; gap: 56px; align-items: center; flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee li { flex: none; display: flex; align-items: center; height: 64px; }
.marquee img { max-height: 52px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } .marquee__row[aria-hidden] { display: none; } .marquee__row { flex-wrap: wrap; } }
.sysp { display: grid; gap: var(--space-6); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .sysp { grid-template-columns: 320px minmax(0, 1fr); gap: var(--space-12); } }
.sysp h3 { font-size: 21px; line-height: 28px; }
.sysp p { margin-top: var(--space-2); color: var(--ink-muted); max-width: 72ch; }
.marquee .logo-ph { height: 44px; }

/* Kundenstimme */
.sec--quote { background: var(--surface-sunken); padding-block: clamp(80px, 10vw, 140px); }
.q-title { font: 600 15px/22px var(--font-sans); color: var(--brand-600); }
.q-text { margin: var(--space-4) 0 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); max-width: 30ch; }
.q-who { margin-top: var(--space-8); color: var(--ink-muted); display: flex; align-items: center; gap: 12px; }
.q-who::before { content: ""; width: 40px; height: 2px; background: var(--brand-600); }
.gs .q-text .w { display: inline; }
.site-header { z-index: 100; }
.story, .hscroll { z-index: 1; }
.sec h2.big, h2.big { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.022em; }

/* Unterseiten: Seitenkopf mit Foto und Netzwerk, Abschnitte zweispaltig */
.page-head canvas.net { position: absolute; inset: 0; z-index: 0; opacity: .7; }
.page-head--photo .wrap { align-items: center; }
@media (min-width: 960px) { .page-head--photo .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-12); } }
.head-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: #0f2a52; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.head-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .js .head-photo { animation: photo-in 1300ms var(--ease-out) 150ms both; }
  .js .head-photo img { animation: photo-zoom 1800ms var(--ease-out) 150ms both; }
}
@keyframes photo-in { from { clip-path: inset(0 0 0 100% round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes photo-zoom { from { transform: scale(1.2); } to { transform: scale(1); } }
.page-head .h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.024em; }
@media (min-width: 1000px) {
  .sec--split > .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-12); align-items: start; }
  .sec--split .sec-head { position: sticky; top: 132px; margin-bottom: 0; }
  .sec--split .sec-head h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
  .sec--split .fact { grid-template-columns: 1fr; }
  .sec--split .facts .fact__b { max-width: none; }
  .threaded .sec--split > .wrap::before, .threaded .sec--split > .wrap::after { grid-row: 1; }
}

/* =====================================================================
   Akzentfarbe Lime (aus dem neuen Stannek-Markenauftritt) als Komplementär zum Blau
   ===================================================================== */
:root { --accent: #c4ff45; --accent-hover: #b2f22a; --accent-ink: #0a1333; --ok: #1d8a4e; --warn: #c27c0e; --bad: #c62828; --info: #2f7fd6; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--accent .icon { color: var(--accent-ink); }
.hero--full .btn--inverse { background: var(--accent); color: var(--accent-ink); }
.hero--full .btn--inverse:hover { background: var(--accent-hover); color: var(--accent-ink); }
.hero--full .hero-pre { color: var(--accent); }
.chap .link-arrow, .card__n { color: var(--accent); }
.rail li.is-on .rail__m { border-color: var(--accent); background: var(--accent); }
.rail__fill, .hscroll__bar i { background: var(--accent); }
.cue i::after { background: var(--accent); }
.hero--full .dot.is-on::before { background: var(--accent); }
.card > a:hover .card__go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hscroll__intro .btn--inverse { background: var(--accent); color: var(--accent-ink); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Topbar (Kundenservice) ---------- */
.topbar nav { display: flex; align-items: center; gap: var(--space-4); }
.topbar__k { color: var(--ink-muted); }

/* ---------- Sticky-Header, kompakt beim Scrollen ---------- */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow 250ms var(--ease), background-color 250ms var(--ease); }
.site-header .wrap { transition: height 250ms var(--ease); gap: var(--space-4); }
.site-header .brand img { transition: height 250ms var(--ease); }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15,29,44,.08); }
.site-header.is-scrolled .wrap { height: 62px; }
.site-header.is-scrolled .brand img { height: 42px; }
.header-book { display: none; margin-left: var(--space-2); min-height: 42px; }
@media (min-width: 1100px) { .header-book { display: inline-flex; } .nav { margin-left: auto; } }

/* Navigation: Hover-Animation mit Lime-Unterstrich */
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list > li[data-mega] { position: static; }
.nav .nav__link { position: relative; height: 44px; padding: 0 14px; background: none; border-radius: var(--radius-md); font-weight: 500; color: var(--ink); transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.nav .nav__link > span { position: relative; z-index: 1; }
.nav .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 320ms cubic-bezier(.65,0,.35,1); }
.nav .nav__link:hover, .nav li.is-open > .nav__link { color: var(--brand-700); background: transparent; }
.nav .nav__link:hover::after, .nav li.is-open > .nav__link::after, .nav .nav__link[aria-current="page"]::after, .nav .nav__link[data-on]::after { transform: scaleX(1); }
.nav .nav__link[aria-current="page"], .nav .nav__link[data-on] { color: var(--brand-700); font-weight: 600; background: transparent; }
.nav .nav__link .chev { transition: transform 300ms var(--ease); }

/* Dropdown (Liste) */
.menu--list { left: 0; transform: translateY(8px); min-width: 340px; padding: var(--space-2); }
.nav li.is-open > .menu--list { transform: translateY(0); }
.menu--list ul, .mm ul { list-style: none; margin: 0; padding: 0; }
.menu--list a, .mm a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; position: relative; transition: background-color 180ms var(--ease), transform 220ms var(--ease); }
.menu--list a:hover, .mm a:hover { background: var(--brand-100); transform: translateX(4px); }
.mm__t { font-weight: 600; font-size: 15px; line-height: 21px; }
.mm__d { font-size: 13.5px; line-height: 19px; color: var(--ink-muted); }
.menu--list a[aria-current="page"] .mm__t, .mm a[aria-current="page"] .mm__t { color: var(--brand-600); }
.menu li { opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); transition-delay: calc(var(--k, 0) * 35ms); }
.nav li.is-open .menu li { opacity: 1; transform: none; }

/* Mega-Menü „Leistungen“ */
.menu--mega { left: 0; right: 0; top: 100%; transform: translateY(-6px); min-width: 0; width: auto; padding: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-top: 1px solid var(--line); }
.nav li.is-open > .menu--mega { transform: none; }
.mm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr); gap: var(--space-6); padding-top: var(--space-6); padding-bottom: var(--space-8); }
.mm__g { font: 600 13px/18px var(--font-sans); color: var(--ink-muted); padding: 0 14px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mm__feat { background: var(--brand-700); color: #fff; border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); position: relative; overflow: hidden; }
.mm__feat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 2px solid var(--accent); opacity: .5; }
.mm__ft { font-size: 20px; line-height: 26px; font-weight: 600; }
.mm__fd { color: var(--navy-muted); font-size: 15px; line-height: 22px; }
.mm__feat .btn { align-self: flex-start; margin-top: auto; }

/* Mobile Navigation: Gruppen */
.mobile-nav .mtop { margin: 0; }
.mgrp { border-bottom: 1px solid var(--line); }
.mgrp summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; font-size: 17px; cursor: pointer; }
.mgrp summary::-webkit-details-marker { display: none; }
.mgrp[open] summary .chev { transform: rotate(180deg); }
.mgrp ul { padding-bottom: 8px; }
.mgrp a { padding-left: 12px; font-weight: 400; font-size: 16px; border-bottom: 0; }

/* =====================================================================
   Service-Leiste rechts
   ===================================================================== */
.dock { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dock__book { display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 18px 11px; border-radius: 0 10px 10px 0; box-shadow: var(--shadow-1); transition: padding 200ms var(--ease), background-color 200ms var(--ease); }
.dock__book .icon { transform: rotate(90deg); }
.dock__book:hover { background: var(--accent-hover); color: var(--accent-ink); padding-left: 15px; }
.dock__bar { display: grid; background: var(--surface-raised); border-radius: 12px 0 0 12px; box-shadow: 0 10px 30px rgba(15,29,44,.16); overflow: hidden; }
.dock__btn { display: grid; justify-items: center; gap: 3px; width: 72px; padding: 12px 6px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--brand-700); font: 600 11.5px/14px var(--font-sans); text-align: center; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.dock__btn:last-child { border-bottom: 0; }
.dock__btn:hover, .dock__btn[aria-expanded="true"] { background: var(--brand-700); color: #fff; }
.dock__btn[aria-expanded="true"] .dock__ic .icon { color: var(--accent); }
.dock__ic { position: relative; display: grid; place-items: center; }
.dock__ic .icon { width: 22px; height: 22px; transition: transform 250ms var(--ease); }
.dock__btn:hover .dock__ic .icon { transform: scale(1.12); }
.dock__lbl { hyphens: manual; }
.sdot { position: absolute; top: -3px; right: -6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--surface-raised); background: var(--line-strong); }
.sdot[data-state="ok"], .st[data-state="ok"] .st__dot { background: var(--ok); }
.sdot[data-state="info"], .st[data-state="info"] .st__dot { background: var(--info); }
.sdot[data-state="warning"], .st[data-state="warning"] .st__dot { background: var(--warn); }
.sdot[data-state="danger"], .st[data-state="danger"] .st__dot { background: var(--bad); }
.sdot[data-state="ok"] { box-shadow: 0 0 0 0 rgba(29,138,78,.5); animation: sdot 2.4s var(--ease) infinite; }
@keyframes sdot { 0% { box-shadow: 0 0 0 0 rgba(29,138,78,.45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(29,138,78,0); } }

.panel { position: fixed; right: 84px; top: 50%; width: min(400px, calc(100vw - 100px)); max-height: min(78vh, 680px); overflow: auto; background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(15,29,44,.24); padding: var(--space-6); opacity: 0; transform: translate(16px, -50%) scale(.98); transform-origin: right center; transition: opacity 200ms var(--ease), transform 260ms var(--ease-out); }
.panel.is-open { opacity: 1; transform: translate(0, -50%) scale(1); }
.panel--quick { width: min(560px, calc(100vw - 100px)); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-4); }
.panel__head h2 { font-size: 19px; line-height: 26px; }
.icon-btn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; background: none; border-radius: var(--radius-md); color: var(--ink-muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-sunken); color: var(--ink); }
.panel__foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-3); color: var(--ink-muted); font-size: 13px; }
.panel__foot .btn { gap: 6px; }
.panel__foot .btn[aria-busy="true"] .icon { animation: sk-spin 900ms linear infinite; }
@keyframes sk-spin { to { transform: rotate(360deg); } }

/* Statuszeilen */
.st { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.st__dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; background: var(--line-strong); }
.st[data-state="loading"] .st__dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.st__n { font-weight: 600; font-size: 15px; line-height: 22px; }
.st__s { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.st__ev { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; line-height: 18px; color: var(--ink); }
.st__ev:empty { display: none; }
.st__ev li { padding-left: 12px; position: relative; }
.st__ev li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.st__go { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-md); color: var(--brand-600); }
.st__go:hover { background: var(--brand-100); }

/* IT-Hilfe-Badge */
.help__brand { display: flex; align-items: center; gap: 12px; }
.help__brand img { width: 50px; height: auto; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.help__brand h2 { font-size: 18px; line-height: 24px; }
.help__brand p { font-size: 13.5px; color: var(--ink-muted); }
.help__tel { display: flex; align-items: center; justify-content: space-between; background: var(--surface-sunken); border-radius: var(--radius-md); padding: 10px 10px 10px 16px; }
.help__tel a { display: flex; align-items: center; gap: 12px; color: var(--brand-700); text-decoration: none; font: 500 24px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .02em; }
.help__tel a .icon { color: var(--brand-600); }
.help__main { width: 100%; margin-top: 14px; }
.help__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.help__two .btn { padding: 0 10px; }
.help__note { margin-top: 14px; font-size: 13.5px; line-height: 20px; color: var(--ink-muted); }
.btn .icon { width: 18px; height: 18px; }

/* Schnellzugriff + Hilfe-Center-Suche */
.hc { background: var(--brand-700); color: #fff; border-radius: var(--radius-md); padding: 14px; }
.hc__l { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.hc__row { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: var(--radius-md); padding: 4px 4px 4px 12px; }
.hc__ic .icon { color: var(--ink-muted); }
.hc__in { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 16px/24px var(--font-sans); color: var(--ink); background: none; padding: 8px 0; }
.hc__row:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.hc__hint { font-size: 12.5px; line-height: 18px; color: var(--navy-muted); margin-top: 8px; }
.hc__hint.is-doc { color: var(--accent); }
.hc__recent { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 13px; text-decoration: none; }
.chip:hover { background: var(--accent); color: var(--accent-ink); }
.q { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.q__g { font: 600 12.5px/18px var(--font-sans); color: var(--ink-muted); margin-bottom: 4px; }
.q__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.q__list a { display: grid; gap: 1px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; color: var(--ink); transition: border-color 160ms var(--ease), background-color 160ms var(--ease), transform 200ms var(--ease); }
.q__list a:hover { border-color: var(--brand-600); background: var(--brand-100); transform: translateY(-2px); }
.q__t { font-weight: 600; font-size: 14px; line-height: 20px; }
.q__d { font-size: 12.5px; line-height: 17px; color: var(--ink-muted); }

/* Supportanfrage */
.sup { width: min(640px, 94vw); height: auto; max-height: 92vh; }
.sup__f { padding: var(--space-6); display: grid; gap: var(--space-4); overflow: auto; }
.sup__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fld { display: grid; gap: 6px; font: 600 14px/20px var(--font-sans); }
.fld small { font-weight: 400; color: var(--ink-muted); }
.inp { min-height: 44px; padding: 8px 12px; font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-md); }
.inp:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 1px; }
.inp[aria-invalid="true"] { border-color: var(--bad); }
.urg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.urg legend { font: 600 14px/20px var(--font-sans); margin-bottom: 6px; }
.urg label { display: inline-flex; }
.urg input { position: absolute; opacity: 0; }
.urg span { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; }
.urg input:checked + span { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.urg input:focus-visible + span { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.sup__warn { font-size: 13.5px; background: var(--warning-100); padding: 10px 12px; border-radius: var(--radius-md); }
.sup__msg { font-size: 14px; color: var(--brand-700); min-height: 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-md); font-size: 14px; box-shadow: var(--shadow-2); }

/* Mobil: Service-Leiste unten */
@media (max-width: 760px) {
  .dock { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; align-items: stretch; gap: 0; background: var(--surface-raised); box-shadow: 0 -6px 24px rgba(15,29,44,.12); padding-bottom: env(safe-area-inset-bottom); }
  .dock__book { writing-mode: horizontal-tb; transform: none; border-radius: 0; flex: 1.2; justify-content: center; padding: 10px; font-size: 14px; flex-direction: column; gap: 3px; box-shadow: none; }
  .dock__book .icon { transform: none; }
  .dock__book:hover { padding-left: 10px; }
  .dock__bar { display: flex; flex: 3; border-radius: 0; box-shadow: none; }
  .dock__btn { flex: 1; width: auto; border-bottom: 0; border-left: 1px solid var(--line); padding: 8px 4px; }
  .panel, .panel--quick { left: 8px; right: 8px; top: auto; bottom: calc(68px + env(safe-area-inset-bottom)); width: auto; max-height: 72vh; transform: translateY(16px); }
  .panel.is-open { transform: none; }
  .q__list { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .sdot[data-state="ok"] { animation: none; } }
@media print { .dock, .toast { display: none !important; } }
.site-header .menu--mega .mm.wrap { display: grid; height: auto !important; align-items: start; }
.menu--mega { box-shadow: 0 30px 60px rgba(15,29,44,.18); }
dialog.form-dialog.sup { width: min(680px, 94vw); height: auto; }
.mm__feat .btn { white-space: nowrap; }
.fld small { display: inline; margin-left: 4px; }
.mobile-nav .actions .btn { display: inline-flex; padding: 0 20px; font-size: 15px; font-weight: 600; border-bottom-width: 1px; }
.mobile-nav .actions .btn--accent { border-color: transparent; color: var(--accent-ink); }
.mobile-nav .actions .btn--secondary { border-color: var(--line-strong); }
.mobile-nav .actions .btn span { display: inline; }

/* Header etwas höher */
:root { --header-h: 88px; }
.site-header .brand img { height: 60px; }
.site-header.is-scrolled .wrap { height: 70px; }
.site-header.is-scrolled .brand img { height: 48px; }
.nav .nav__link { height: 48px; font-size: 16px; }
.header-book { min-height: 46px; }
.mobile-nav { inset: var(--header-h) 0 0 0; }
@media (max-width: 1099px) { :root { --header-h: 72px; } .site-header .brand img { height: 50px; } }

/* Service-Leiste unten rechts (Mitte rechts gehört dem meetergo-Button) */
@media (min-width: 761px) {
  .dock { top: auto; bottom: 24px; transform: none; }
  .dock__bar { border-radius: 12px 0 0 12px; }
  .panel, .panel--quick { top: auto; bottom: 24px; transform: translateX(16px) scale(.98); transform-origin: right bottom; max-height: calc(100vh - 140px); }
  .panel.is-open { transform: none; }
}
@media (max-width: 760px) { .dock__bar { flex: 1; } }

/* Service-Leiste mittig rechts (unten rechts liegt der meetergo-Button) */
.dock { top: 50%; bottom: auto; transform: translateY(-50%); }
.panel, .panel--quick { top: 50%; bottom: auto; transform: translate(16px, -50%) scale(.98); transform-origin: right center; max-height: min(80vh, 680px); }
.panel.is-open { transform: translate(0, -50%) scale(1); }
@media (max-width: 760px) {
  .dock { left: auto; right: 0; bottom: auto; top: 50%; transform: translateY(-50%); flex-direction: column; background: none; box-shadow: none; padding: 0; }
  .dock__bar { display: grid; flex: none; border-radius: 12px 0 0 12px; box-shadow: 0 10px 30px rgba(15,29,44,.18); }
  .dock__btn { width: 56px; padding: 10px 4px; border-left: 0; border-bottom: 1px solid var(--line); }
  .dock__lbl { font-size: 10px; }
  .panel, .panel--quick { left: 8px; right: 64px; top: 50%; bottom: auto; width: auto; max-height: 76vh; transform: translate(12px, -50%); }
  .panel.is-open { transform: translate(0, -50%); }
  body { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .dock__btn { width: 44px; padding: 10px 0; }
  .dock__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .panel, .panel--quick { right: 52px; }
}

/* ---------- Hero mit zwei Folien: Stannek + Event „Ausgepackt!“ */
@font-face { font-family: "Ausgepackt Script"; src: url("fonts/ausgepackt-script.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.hero--panels { display: grid; grid-template: 1fr / 1fr; align-items: stretch; }
.hero--panels > .hp { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0;
  opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease), visibility 0s linear 900ms; }
.hero--panels > .hp.is-on { opacity: 1; visibility: visible; transition: opacity 900ms var(--ease), visibility 0s; }
.hero--panels .hero-foot { grid-area: 1 / 1; align-self: end; position: relative; bottom: auto; padding-bottom: 20px; }

.htabs { display: flex; gap: var(--space-2); }
.htab { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px 12px 0; margin-right: var(--space-6);
  border: 0; background: none; color: rgba(255,255,255,.62); font: inherit; text-align: left; cursor: pointer; transition: color 240ms var(--ease); }
.htab__n { font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.htab__l { display: grid; gap: 1px; }
.htab__l b { font-size: 15px; line-height: 20px; font-weight: 600; }
.htab__l span { font-size: 13px; line-height: 18px; }
.htab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.htab__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.htab.is-on { color: #fff; }
.htab.is-on .htab__bar::after { transform: scaleX(1); }
.htab:hover { color: #fff; }
.htab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.hero--panels.is-auto .htab.is-on .htab__bar::after { animation: htab-run var(--hp-dur, 9000ms) linear both; }
.hero--panels.is-paused .htab.is-on .htab__bar::after { animation-play-state: paused; }
@keyframes htab-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Event-Folie: Nachtblau, Schnee, Mond (Stannek-Logo), Schlitten */
.hp--event { background: #003c8f; color: #fff; overflow: hidden; }
.hev-sky { position: absolute; inset: 0; background: radial-gradient(120% 90% at 78% 30%, #0b56b8 0%, #0048a8 38%, #003c8f 72%, #00306f 100%); }
.hev-sky::after { content: ""; position: absolute; inset: -520px 0 0; background: url("img/ausgepackt-schnee.svg") repeat; background-size: 520px 520px; opacity: .9; }
.hev-moon { position: absolute; right: max(56px, calc(50% - 600px)); top: 9%; width: clamp(200px, 19vw, 300px); height: auto; pointer-events: none; }
.hev-niko { position: absolute; right: max(40px, calc(50% - 640px)); bottom: 76px; width: clamp(240px, 24vw, 360px); height: auto; overflow: visible; pointer-events: none; }
.hev-niko .ap-ln { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hev-niko .ap-ln2 { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.hev-niko .hev-village { opacity: .75; }
.hev-sleigh { position: absolute; left: 50%; top: 30%; width: clamp(220px, 22vw, 340px); height: auto; overflow: visible; pointer-events: none; transform: rotate(-8deg); }
.hev-sleigh .ap-ln { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hev-sleigh .ap-ln2 { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.hev-sleigh .ap-rd .ap-ln { stroke-width: 2.6; }
.hev-hill { position: absolute; left: 0; right: 0; bottom: 64px; width: 100%; height: 90px; pointer-events: none; }
.hev-hill path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hp--event .wrap.hero-grid { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 140px; }
.hev-copy { max-width: 720px; }
.hev-k { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font-size: 13px; line-height: 1.2; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hev-h { display: flex; flex-direction: column; margin-top: var(--space-6); color: #fff; }
.hev-s { font-family: "Ausgepackt Script", "Brush Script MT", cursive; font-weight: 400; font-size: clamp(76px, 9.6vw, 156px); line-height: 1; letter-spacing: 0; margin-left: -.04em; padding-bottom: .12em; white-space: nowrap; }
.hev-sub { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.hp--event .lead { color: #dbe7f5; max-width: 50ch; }
.hp--event .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
@media (prefers-reduced-motion: no-preference) {
  .hev-float { animation: hev-float 3s ease-in-out infinite; }
  .hp--event.is-on .hev-sleigh { animation: hev-fly 1600ms var(--ease) both; }
  .hp--event.is-on .hev-moon { animation: hev-rise 1600ms var(--ease) both; }
  .hp--event.is-on .hev-sky::after { animation: hev-snow 40s linear infinite; }
}
@keyframes hev-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hev-fly { from { transform: translate(-160px, 90px) rotate(-14deg); opacity: 0; } to { transform: rotate(-8deg); opacity: 1; } }
@keyframes hev-rise { from { transform: translateY(24px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hev-snow { from { transform: translateY(0); } to { transform: translateY(520px); } }
@media (max-width: 1099px) {
  .hev-sleigh { left: auto; right: 4%; top: 34%; width: 200px; }
  .hev-moon { width: 170px; right: 24px; top: 24px; opacity: .9; }
  .hev-niko { width: 210px; right: 8px; opacity: .8; }
}
@media (max-width: 899px) {
  .hero--panels > .hp { justify-content: flex-start; }
  .hp--event .wrap.hero-grid { padding-top: 120px; padding-bottom: 150px; }
  .hev-sleigh { display: none; }
  .hev-k__a { display: none; }
  .hev-moon { width: 110px; right: 12px; top: 14px; }
  .hev-niko { width: 150px; right: -6px; bottom: 92px; opacity: .7; }
  .hev-hill { bottom: 84px; }
  .htab { margin-right: var(--space-3); padding-right: 6px; }
  .htab__l span { display: none; }
  .hero--panels .cue { display: none; }
}

/* Menü: Event-Karte unter „Wissen & Events“ */
.menu--list .mm-event { display: grid; gap: 2px; margin: var(--space-2) 0 0; padding: 14px 16px 16px; border-radius: var(--radius-md); background: #003c8f url("img/ausgepackt-schnee.svg") repeat; background-size: 260px; color: #fff; text-decoration: none; }
.menu--list .mm-event:hover { background-color: #0048a8; transform: none; }
.mm-event__k { font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: #c7d6ec; }
.mm-event__t { font-family: "Ausgepackt Script", "Brush Script MT", cursive; font-size: 40px; line-height: 1.1; }
.mm-event__d { font-size: 14px; line-height: 20px; color: #dbe7f5; }

/* Events-Seite: hervorgehobenes Event */
.ev-feat { position: relative; display: grid; gap: var(--space-2); justify-items: start; padding: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 40%, 520px); border-radius: var(--radius-lg, 16px); overflow: hidden;
  background: #003c8f url("img/ausgepackt-schnee.svg") repeat; background-size: 520px; color: #fff; text-decoration: none; }
.ev-feat img { position: absolute; right: -40px; top: 50%; width: min(44%, 460px); height: auto; transform: translateY(-50%); pointer-events: none; }
.ev-feat__k { font-size: 13px; line-height: 20px; letter-spacing: .06em; text-transform: uppercase; color: #c7d6ec; }
.ev-feat__t { font-family: "Ausgepackt Script", "Brush Script MT", cursive; font-size: clamp(64px, 8vw, 120px); line-height: 1.05; }
.ev-feat__d { font-size: 18px; line-height: 1.55; color: #dbe7f5; max-width: 46ch; }
.ev-feat .btn { margin-top: var(--space-4); }
.ev-feat:hover .btn--accent { background: var(--accent-hover); }
@media (max-width: 899px) {
  .ev-feat { padding-right: clamp(28px, 4vw, 56px); padding-bottom: 200px; }
  .ev-feat img { top: auto; bottom: -30px; right: -30px; width: 260px; transform: none; opacity: .8; }
}

/* Blog-Motiv: Themen fließen in Beiträge */
.blog-motion svg { max-width: 460px; margin-left: auto; display: block; }
.blog-motion .bm-topic rect { fill: rgba(255,255,255,.06); stroke: var(--navy-line); stroke-width: 1; }
.blog-motion .bm-topic text { fill: #fff; font: 500 12px var(--font-sans); }
.blog-motion .bm-node { fill: var(--brand-700); stroke: var(--navy-accent); stroke-width: 1.5; }
.blog-motion .bm-flow { fill: none; stroke: var(--navy-line); stroke-width: 1.5; }
.blog-motion .bm-pulse { fill: var(--accent); opacity: 0; offset-rotate: 0deg; }
.blog-motion .bm-paper { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.5); stroke-width: 1.2; }
.blog-motion .bm-img { fill: rgba(147,196,240,.22); }
.blog-motion .bm-line { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 3; stroke-linecap: round; }
.blog-motion .bm-h { stroke: #fff; stroke-width: 5; }
.blog-motion .bm-dot { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .js .blog-motion .bm-topic { animation: bm-in 700ms var(--ease-out) calc(var(--d) * 160ms + 100ms) both; }
  .js .blog-motion .bm-flow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: m-draw 900ms var(--ease-out) calc(var(--d) * 160ms + 500ms) forwards; }
  .js .blog-motion .bm-pulse { animation: m-travel 2400ms var(--ease) calc(var(--d) * 800ms + 1600ms) infinite; }
  .js .blog-motion .bm-card { animation: bm-in 700ms var(--ease-out) 900ms both; }
  .js .blog-motion .bm-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bm-write 7200ms var(--ease) calc(var(--l) * 180ms + 1700ms) infinite; }
  .js .blog-motion .bm-dot { transform-box: fill-box; transform-origin: center; animation: bm-blink 7200ms var(--ease) 2700ms infinite; }
}
@keyframes bm-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bm-write { 0% { stroke-dashoffset: 1; opacity: 1; } 14% { stroke-dashoffset: 0; } 82% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes bm-blink { 0%, 10% { transform: scale(0); } 16% { transform: scale(1.4); } 22%, 82% { transform: scale(1); } 92%, 100% { transform: scale(0); } }

/* Termin buchen: Lime-Reiter über der Service-Leiste öffnet das meetergo-Seitenpanel */
.mg-sidebar-toggle { display: none !important; }
.dock__book { font-family: var(--font-sans); }
.dock__book:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.mg-open .dock { opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease); }
@media (max-width: 760px) {
  .dock__book { writing-mode: vertical-rl; transform: rotate(180deg); flex: none; flex-direction: row; gap: 6px; padding: 12px 9px; font-size: 13px; border-radius: 0 10px 10px 0; box-shadow: 0 10px 30px rgba(15,29,44,.18); }
  .dock__book .icon { transform: rotate(90deg); width: 16px; height: 16px; }
  .dock__book:hover { padding-left: 9px; }
}

/* ---------- Webinar Digitale Personalakte 2027 */
.sec-lead { color: var(--ink-muted); font-size: 17px; line-height: 1.6; margin-top: var(--space-3); max-width: 40ch; }
.wb-k, .hev-k.wb { display: inline-flex; }
.page-head--wb .wb-k { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: var(--space-4); }
.page-head--wb .wrap { align-items: center; }
@media (min-width: 960px) { .page-head--wb .wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-12); } }
.page-head--wb .h1 { max-width: 18ch; }
.page-head--wb .lead { max-width: 62ch; font-size: 18px; line-height: 1.6; color: #dbe7f5; }
.page-head--wb .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.cdown { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: 0 24px 60px rgba(10,19,51,.28); display: grid; gap: var(--space-3); }
.cdown__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.cdown__k { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.cdown__tag { padding: 5px 11px; border-radius: 999px; background: #fdf1e3; color: #a14b06; font-size: 13px; font-weight: 600; }
.cdown__d { font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.cdown__n { display: flex; align-items: baseline; gap: 10px; }
.cdown__n span:first-child { font-size: 76px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--brand-600); font-variant-numeric: tabular-nums; }
.cdown__n span:last-child { font-size: 20px; font-weight: 600; }
.cdown__p { color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.wb-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.wb-who h2 { font-size: 22px; line-height: 30px; }
.wb-who p { color: var(--ink-muted); margin-top: 4px; font-size: 17px; max-width: 56ch; }
.wb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wb-chips li { padding: 9px 16px; border-radius: 999px; background: var(--surface-raised); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.wb-reg { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 960px) { .wb-reg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.wb-reg__lead h2 { margin-top: var(--space-2); }
.wb-reg__lead > p:not(.pre) { color: var(--ink-muted); font-size: 17px; line-height: 1.6; margin-top: var(--space-4); }
.wb-checks { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.wb-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.wb-checks .icon { width: 22px; height: 22px; color: var(--brand-600); flex: none; }
.wb-more { margin-top: var(--space-8) !important; }
.wb-reg__form .embed { margin: 0; }

/* Hero-Folie 3: Webinar */
.hp--wb { background: #0447b5; color: #fff; overflow: hidden; }
.hwb-sky { position: absolute; inset: 0; background: radial-gradient(circle at 92% 8%, rgba(124,200,255,.55) 0%, rgba(124,200,255,0) 38%), radial-gradient(circle at 6% 100%, rgba(56,208,232,.45) 0%, rgba(56,208,232,0) 36%), #0447b5; }
.hp--wb .wrap.hero-grid { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 140px; }
.hwb-grid { display: grid !important; gap: var(--space-12); align-items: center; }
@media (min-width: 1000px) { .hwb-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.hwb-h { color: #fff; margin-top: var(--space-6); font-size: clamp(34px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.025em; max-width: 17ch; }
.hp--wb .lead { color: #dbe7f5; max-width: 54ch; }
.hp--wb .hev-k { border-color: rgba(255,255,255,.5); }
.hp--wb .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.cdown--hero { max-width: 360px; }
@media (prefers-reduced-motion: no-preference) { .hp--wb.is-on .cdown--hero { animation: hev-rise 1200ms var(--ease) both; } }
@media (max-width: 999px) { .cdown--hero { display: none; } }
@media (max-width: 899px) { .hp--wb .wrap.hero-grid { padding-top: 56px; padding-bottom: 150px; } }

/* Events-Seite: Webinar-Karte */
.wb-feat { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-8); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #fff; text-decoration: none;
  background: radial-gradient(circle at 92% 8%, rgba(124,200,255,.5) 0%, rgba(124,200,255,0) 40%), #0447b5; }
.wb-feat > div { display: grid; gap: var(--space-3); justify-items: start; max-width: 640px; }
.wb-feat__t { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.wb-feat .btn { margin-top: var(--space-3); }
.wb-feat__n { display: grid; justify-items: start; color: #dbe7f5; font-size: 15px; }
.wb-feat__n b { font-size: 72px; line-height: 1; font-weight: 600; color: #fff; letter-spacing: -0.03em; }
.wb-feat:hover .btn--accent { background: var(--accent-hover); }
.menu--list .mm-wb { margin-top: var(--space-1); }

/* Webinar: Bild im Kopf und in der Hero-Folie */
.hwb-sky img, .wb-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hwb-sky::after, .wb-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,52,150,.92) 0%, rgba(3,58,162,.78) 34%, rgba(3,64,170,.2) 62%, rgba(3,64,170,0) 80%); }
.hwb-grid { grid-template-columns: minmax(0, 1fr) !important; }
.hp--wb .hev-copy { max-width: 640px; }
.cd-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: var(--space-8); padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #dbe7f5; font-size: 15px; line-height: 20px; backdrop-filter: blur(6px); }
.cd-pill b { display: grid; place-items: center; min-width: 52px; height: 40px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--brand-600); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cd-pill strong { color: #fff; font-weight: 600; }
.page-head--wb { background: #0447b5; }
.page-head--wb .wb-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-head--wb .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 104px); }
@media (min-width: 960px) { .page-head--wb .wrap { grid-template-columns: minmax(0, 640px) 1fr; } }
@media (max-width: 959px) {
  .hwb-sky::after, .wb-bg::after { background: linear-gradient(180deg, rgba(3,52,150,.86) 0%, rgba(3,58,162,.8) 60%, rgba(3,64,170,.55) 100%); }
  .hwb-sky img, .wb-bg img { object-position: 70% 50%; }
}
.page-head--wb .lead { max-width: 54ch; }
