/* =====================================================================
   MPU Coburg – Gestaltung
   Seriös, vollbreit, auf Anfragen ausgerichtet.
   Bewegung kommt aus main.js (GSAP); ohne JavaScript ist alles sichtbar.
   ===================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* Weiche Übergänge zwischen den Seiten (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.35s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

:root {
  --ink: #0f0f0e;
  --ink-2: #1a1a18;
  --paper: #ffffff;
  --soft: #f4f2ec;
  --yellow: #ffcc31;
  --yellow-deep: #e6b112;
  --muted: #45453f;
  --line: #dcd9d0;
  --on-dark: #d6d4cc;
  --on-dark-dim: #a9a79f;
  --dark-line: #34342f;
  --amber: #6b5000;
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --max: 1440px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(80px, 11vw, 168px);
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--body); font-size: clamp(17px, 0.35vw + 15.6px, 19px); line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.section--yellow :focus-visible, .cta-final :focus-visible { outline-color: var(--ink); }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 12px 18px; font-weight: 700; border-radius: 4px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Schrift ---------- */
h1, h2, .display { font-family: var(--display); font-weight: 900; letter-spacing: -0.025em; line-height: 0.98; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(26px, calc(14px + 3.4vw), 68px); }
h3 { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.5vw, 25px); line-height: 1.18; letter-spacing: -0.01em; overflow-wrap: break-word; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 700 13px/1.3 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .band .eyebrow { color: var(--yellow); }
.section--yellow .eyebrow, .cta-final .eyebrow { color: var(--ink); }
.lead { font-size: clamp(18px, 1.35vw, 23px); line-height: 1.55; text-wrap: pretty; }
.muted { color: var(--muted); }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--muted); text-wrap: pretty; }
.section--dark .prose p { color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: 26px; }
.stack--lg { gap: clamp(48px, 6vw, 88px); }

/* ---------- Knöpfe ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer; font: 700 17px/1 var(--body); letter-spacing: 0.01em; text-decoration: none; color: var(--ink); background: var(--yellow); overflow: hidden; isolation: isolate; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: scale(0, 1); transform-origin: 0 50%; transition: transform 0.45s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--yellow); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .ico { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--dark { color: #fff; background: var(--ink); }
.btn--dark::before { background: var(--yellow); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--ink); }
.hero .btn::before, .section--dark .btn::before, .page-hero .btn::before, .band .btn::before, .site-footer .btn::before { background: #fff; }
.hero .btn:hover, .section--dark .btn:hover, .page-hero .btn:hover, .band .btn:hover, .site-footer .btn:hover { color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15.5px; }
.textlink { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 2px no-repeat; transition: background-size 0.4s var(--ease); }
.textlink:hover { background-size: 0 2px; background-position: 100% calc(100% - 8px); }
.textlink .ico { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.textlink:hover .ico { transform: translateX(5px); }

/* ---------- Symbole ---------- */
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.badge { width: 60px; height: 60px; flex: none; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 50%; }
.badge .ico { width: 28px; height: 28px; stroke-width: 1.7; }
.section--dark .badge { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow); }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink); background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); transition: transform 0.45s var(--ease), background 0.35s, color 0.35s, border-color 0.35s; }
body { padding-top: var(--header-h); }
body.has-overlay-header { padding-top: 0; }
.has-overlay-header .site-header:not(.is-scrolled) { background: transparent; color: #fff; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); font-size: 15.5px; font-weight: 500; }
.nav__list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.4s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.nav__phone .ico { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .ico--close { display: none; }
.nav-open .nav-toggle .ico--menu { display: none; }
.nav-open .nav-toggle .ico--close { display: block; }
@media (max-width: 1240px) { .nav__phone span { display: none; } }
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: 24px var(--gutter) 40px; background: var(--ink); color: #fff; overflow-y: auto; visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity 0.35s, clip-path 0.55s var(--ease), visibility 0s 0.55s; }
  .nav-open .nav { visibility: visible; opacity: 1; clip-path: inset(0); transition-delay: 0s; }
  .nav-open .site-header { background: var(--ink) !important; color: #fff !important; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; font: 800 clamp(26px, 7vw, 36px)/1.1 var(--display); }
  .nav__list a { min-height: 64px; border-bottom: 1px solid var(--dark-line); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--yellow); }
  .nav__phone { font-size: 20px; color: var(--yellow); }
  .nav__phone span { display: inline; }
  .nav .btn { min-height: 56px; }
  .nav .btn::before { background: #fff; }
  .nav .btn:hover { color: var(--ink); }
  html.nav-open { overflow: hidden; }
}

/* ---------- Einstieg Startseite ---------- */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; align-items: stretch; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -12% 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 15, 14, 0.92) 0%, rgba(15, 15, 14, 0.78) 36%, rgba(15, 15, 14, 0.18) 68%, rgba(15, 15, 14, 0.12) 100%), linear-gradient(0deg, rgba(15, 15, 14, 0.7) 0%, transparent 28%); }
.hero__in { container-type: inline-size; position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: end; gap: 40px; padding-top: calc(var(--header-h) + clamp(40px, 6vh, 80px)); }
.hero__copy { container-type: inline-size; align-self: center; display: flex; flex-direction: column; gap: 30px; padding-bottom: clamp(48px, 9vh, 110px); max-width: 780px; }
.hero h1 { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .kicker { font: 700 14px/1.3 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
.hero h1 .big { display: block; font-size: clamp(36px, 6vw, 100px); font-size: clamp(36px, 12.5cqi, 104px); line-height: 0.93; letter-spacing: -0.035em; }
.hero h1 .big em { font-style: normal; color: var(--yellow); }
.line-mask { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.line-mask > span { display: block; }
.hero .lead { max-width: 36em; color: var(--on-dark); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero__note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--on-dark-dim); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note .ico { width: 18px; height: 18px; color: var(--yellow); stroke-width: 2.4; }
/* Personen: Größe folgt der Bildschirmhöhe, begrenzt durch den Platz rechts (Spalte + Seitenrand) */
.hero__people { --edge: calc((100vw - min(100vw, var(--max))) / 2 + var(--gutter) - 2vw); --ph: min(90svh, 1040px, calc(((100cqi - 40px) * 0.525 + var(--edge) + 40px) / 1.04)); position: relative; align-self: end; height: var(--ph); margin-right: calc(-1 * var(--edge)); display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.hero__glow { position: absolute; left: 50%; bottom: -10%; height: calc(var(--ph) * 0.8); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--yellow); }
.hero__people img { position: relative; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.hero__people .p1 { height: 94%; margin-right: calc(var(--ph) * -0.19); }
@media (min-width: 961px) { .hero__people { margin-left: -40px; } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; place-items: center; width: 30px; height: 48px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 999px; }
.hero__scroll::after { content: ""; width: 4px; height: 9px; border-radius: 2px; background: var(--yellow); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(-8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__copy { padding-bottom: 36px; }
  .hero__people { --ph: min(calc((100vw - 8px) / 1.08), 600px); margin-right: 0; }
  .hero__glow { bottom: -14%; }
  .hero::before { background: linear-gradient(180deg, rgba(15, 15, 14, 0.92) 0%, rgba(15, 15, 14, 0.8) 55%, rgba(15, 15, 14, 0.45) 100%); }
  .hero__scroll { display: none; }
}

/* ---------- Vertrauensleiste ---------- */
.trust { background: var(--ink-2); color: #fff; border-top: 1px solid var(--dark-line); }
.trust__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__item { display: flex; align-items: center; gap: 16px; padding: 28px clamp(16px, 2vw, 32px); border-left: 1px solid var(--dark-line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item .ico { width: 30px; height: 30px; color: var(--yellow); }
.trust__item b { display: block; font: 800 17px/1.25 var(--display); }
.trust__item span { font-size: 14.5px; color: var(--on-dark-dim); line-height: 1.4; }
@media (max-width: 1100px) { .trust__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust__item { border-left: 0; padding-left: 0; } .trust__item:nth-child(n+3) { border-top: 1px solid var(--dark-line); } }
@media (max-width: 560px) { .trust__in { grid-template-columns: minmax(0, 1fr); } .trust__item { padding-block: 20px; } .trust__item:nth-child(2) { border-top: 1px solid var(--dark-line); } }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding-block: var(--section); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--yellow { background: var(--yellow); }
.section__head { display: flex; flex-direction: column; gap: 22px; max-width: 880px; }
.section__head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 64px; }
.section__head--row > div { display: flex; flex-direction: column; gap: 22px; flex: 1 1 520px; max-width: 880px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(48px, 7vw, 120px); align-items: start; }
.split--center { align-items: center; }
/* Mitwandern nur, wenn Kopf und Inhalt nebeneinander stehen – einspaltig würden sie sich überlagern */
@media (min-width: 1100px) { .sticky { position: sticky; top: calc(var(--header-h) + 40px); } }

/* Großer Satz, der sich beim Scrollen füllt */
.statement { padding-block: clamp(100px, 14vw, 220px); }
.statement p { font: 800 clamp(30px, 4.4vw, 72px)/1.1 var(--display); letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
.js-motion .statement .w { color: #cfccc3; }
/* Markierung im Marken-Gelb: gelbe Schrift wäre auf Weiß nicht lesbar */
.statement em { font-style: normal; background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 96%, transparent 96%); padding-inline: 0.12em; margin-inline: -0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Leistungen als Zeilen */
.services { border-top: 1px solid var(--ink); }
.service { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 60px; align-items: center; gap: 24px 40px; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.service::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.55s var(--ease); }
.service:hover::before { transform: scaleY(1); }
.service__num { font: 900 15px/1 var(--display); color: var(--amber); }
.service:hover .service__num { color: var(--ink); }
.service h3 { font-size: clamp(24px, 2.4vw, 40px); font-weight: 900; letter-spacing: -0.02em; }
.service p { color: var(--muted); }
.service:hover p { color: var(--ink); }
.service__ico { justify-self: end; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.service:hover .service__ico { background: var(--ink); color: var(--yellow); transform: rotate(-12deg); }
@media (max-width: 860px) {
  .service { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
  .service__num { grid-column: 1; grid-row: 1; align-self: center; }
  .service__ico { grid-column: 2; grid-row: 1; width: 48px; height: 48px; }
  .service h3, .service p { grid-column: 1 / -1; }
}

/* Ablauf: waagerecht scrollen (Desktop) */
.hscroll { position: relative; overflow: hidden; }
.hscroll__head { padding-top: var(--section); padding-bottom: clamp(36px, 4vw, 56px); }
.hscroll__track { display: flex; flex-wrap: wrap; gap: clamp(16px, 1.6vw, 24px); padding-inline: var(--gutter); padding-bottom: calc(var(--section) * 0.9); max-width: var(--max); margin-inline: auto; }
.hscroll.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.hscroll.is-pinned .hscroll__head { padding-top: calc(var(--header-h) * 0.6); padding-bottom: clamp(24px, 4vh, 48px); }
.hscroll.is-pinned .hscroll__track { flex-wrap: nowrap; width: max-content; max-width: none; margin: 0; padding-bottom: 0; }
.hscroll.is-pinned .hstep { min-height: min(430px, 46vh); }
.hscroll.is-pinned .hscroll__progress { bottom: 6vh; }
.hstep { position: relative; flex: none; width: clamp(280px, 25vw, 370px); min-height: clamp(340px, 42vh, 430px); display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.4vw, 36px); background: #fff; border-radius: var(--radius); overflow: hidden; }
.hstep__num { font: 900 clamp(64px, 6vw, 96px)/0.8 var(--display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); padding-bottom: clamp(56px, 11vh, 120px); }
.hstep h3 { font-size: clamp(21px, 1.7vw, 26px); }
.hstep p { color: var(--muted); font-size: 16.5px; }
.hstep--goal { background: var(--ink); color: #fff; }
.hstep--goal .hstep__num { -webkit-text-stroke-color: var(--yellow); color: var(--yellow); }
.hstep--goal p { color: var(--on-dark); }
.hstep--cta { background: var(--yellow); justify-content: flex-end; gap: 22px; }
.hstep--cta h3 { font-size: clamp(26px, 2.2vw, 34px); font-weight: 900; }
.hscroll__progress { display: none; position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--section) * 0.45); height: 2px; background: var(--line); }
.hscroll.is-pinned .hscroll__progress { display: block; }
.hscroll__progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .hscroll__track { width: auto; flex-direction: column; }
  .hstep { width: auto; min-height: 0; }
  .hstep__num { font-size: 56px; padding-bottom: 12px; }
  .hscroll__progress { display: none; }
}

/* Team */
.team { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--soft); }
.team__media { position: relative; overflow: hidden; background: var(--yellow); display: flex; align-items: flex-end; justify-content: center; min-height: min(84vh, 860px); }
.team__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 115%, rgba(255, 255, 255, 0.5), transparent 58%); }
.team__media { container-type: size; }
/* Größe richtet sich nach Höhe UND Breite des gelben Felds: --h ist Ramonas Bildhöhe.
   Olaf ist 1,164-mal so groß und sitzt tiefer, damit Haaransatz und Augen auf einer Linie liegen. */
.team__media { --h: min(90cqh, 92cqw); }
.team__media img { position: relative; width: auto; max-width: none; max-height: none; object-fit: contain; object-position: 50% 100%; }
.team__media .p1 { height: var(--h); margin-right: calc(var(--h) / 1.5 * -0.459); }
.team__media .p2 { height: calc(var(--h) * 1.164); margin-bottom: calc(var(--h) * -0.1256); }
.team__copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: var(--section) var(--gutter); max-width: 760px; }
.quals { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.quals li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.quals .badge { width: 52px; height: 52px; }
.quals .badge .ico { width: 24px; height: 24px; }
.quals b { display: block; font: 800 19px/1.25 var(--display); }
.quals span { color: var(--muted); font-size: 16.5px; }
.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.profile { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile h3 { font-size: clamp(21px, 1.7vw, 26px); font-weight: 900; }
.profile__role { font: 700 13px/1.3 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.profile__list { display: grid; gap: 4px; color: var(--muted); font-size: 16.5px; }
.profile__list li { position: relative; padding-left: 18px; }
.profile__list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 2px; background: var(--yellow-deep); }
.profile__tel { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: 4px; font-weight: 700; text-decoration: none; }
.profile__tel .ico { width: 18px; height: 18px; }
.profile__tel:hover { color: var(--amber); }

/* Ausführliche Profile (Team-Seite) */
.bio { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.bio .person { max-width: 480px; width: 100%; justify-self: center; }
.bio .person:nth-child(2) { margin: 0; }
.bio--rev .person { order: 2; }
.bio__text { display: flex; flex-direction: column; gap: 20px; }
.bio__name { font-size: clamp(34px, 4vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 0.98; }
.bio__list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.bio__list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; }
.bio__list .ico { width: 22px; height: 22px; margin-top: 3px; color: var(--yellow-deep); stroke-width: 2.4; }
.bio__text .btn { align-self: flex-start; }
@media (max-width: 860px) { .bio { grid-template-columns: minmax(0, 1fr); } .bio--rev .person { order: 0; } .bio .person { max-width: 420px; } }

@media (max-width: 1799px) { .team { grid-template-columns: minmax(0, 1fr); } .team__media { min-height: min(112vw, 660px); } .team__copy { margin-inline: auto; } }

/* Vollbreites Bildband */
.band { position: relative; min-height: min(90vh, 860px); display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.band__media { position: absolute; inset: -15% 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 15, 14, 0.94) 0%, rgba(15, 15, 14, 0.74) 50%, rgba(15, 15, 14, 0.3) 100%); }
.band__copy { display: flex; flex-direction: column; gap: 26px; max-width: 720px; padding-block: var(--section); }
.band__copy > p { color: var(--on-dark); }
.band__list { display: grid; gap: 12px; }
.band__list li { display: flex; gap: 12px; align-items: flex-start; color: #fff; }
.band__list .ico { width: 22px; height: 22px; color: var(--yellow); margin-top: 3px; stroke-width: 2.4; }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.quote { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 2.6vw, 40px); background: #fff; border-radius: var(--radius); }
.quote__stars { display: flex; gap: 4px; color: var(--yellow-deep); }
.quote__stars .ico { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.quote blockquote { font: 600 clamp(18px, 1.4vw, 21px)/1.5 var(--body); color: var(--ink); }
.quote figcaption { margin-top: auto; font-size: 15px; color: var(--muted); }
.quote--placeholder { outline: 2px dashed #bdb9ad; outline-offset: -2px; background: transparent; }
.quote--placeholder blockquote, .quote--placeholder figcaption { color: #6f6c64; }

/* MPU-Check + Rückruf */
.quiz { container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: 26px; min-height: 420px; padding: clamp(26px, 3vw, 48px); background: var(--ink-2); border: 1px solid var(--dark-line); border-radius: var(--radius); }
.quiz [hidden] { display: none !important; }
.quiz__bar { height: 4px; border-radius: 2px; background: var(--dark-line); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: calc(var(--q, 0) * 100%); min-width: 6px; background: var(--yellow); transition: width 0.6s var(--ease); }
.quiz__step { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 22px; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } }
.quiz__step legend { padding: 0; margin-bottom: 22px; font: 800 clamp(22px, 6cqi, 32px)/1.15 var(--display); color: #fff; text-wrap: balance; }
.quiz__count { display: block; margin-bottom: 10px; font: 700 13px/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-dim); }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.quiz__opts button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 20px; border: 1px solid var(--dark-line); border-radius: 6px; background: transparent; color: #fff; font: 700 17px/1.2 var(--body); text-align: left; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.quiz__opts button::after { content: ""; width: 8px; height: 8px; flex: none; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.5; }
.quiz__opts button:hover, .quiz__opts button:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.quiz__back { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--on-dark-dim); font: 700 15px/1 var(--body); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.quiz__back:hover { color: #fff; }
.quiz__result { display: flex; flex-direction: column; gap: 16px; animation: stepIn 0.5s var(--ease); outline: 0; }
.quiz__tag { font: 700 13px/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-dim); }
.quiz__result h3 { font-size: clamp(22px, 7cqi, 36px); font-weight: 900; line-height: 1.04; color: var(--yellow); }
.quiz__result > p:not(.quiz__tag) { color: var(--on-dark); }
.callback { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--dark-line); }
.callback__title { grid-column: 1 / -1; font: 800 19px/1.3 var(--display); color: #fff; }
.callback .field label { color: var(--on-dark); }
.callback .field input, .callback .field select, .callback .field textarea { background-color: var(--ink); color: #fff; border-color: #55554e; }
.callback .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23ffcc31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.callback .field--wide { grid-column: 1 / -1; }
.callback .field textarea { min-height: 110px; }
.callback .check { grid-column: 1 / -1; color: var(--on-dark); }
.callback .check a { color: #fff; }
.callback .btn { grid-column: 1 / -1; justify-self: start; }
.callback .form__status { grid-column: 1 / -1; }
.quiz__nojs { display: none; color: var(--on-dark); }
html:not(.js) .quiz { display: none; }
html:not(.js) .quiz__nojs { display: block; }

/* Häufige Fragen */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font: 800 clamp(19px, 1.5vw, 23px)/1.25 var(--display); transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber); }
.faq summary .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); transition: transform 0.45s var(--ease), background 0.3s, color 0.3s; }
.faq details[open] summary .ico { transform: rotate(135deg); background: var(--ink); color: var(--yellow); }
.faq__a { padding: 0 68px 28px 0; color: var(--muted); max-width: 70ch; text-wrap: pretty; }
.faq details[open] .faq__a { animation: faqIn 0.45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 560px) { .faq__a { padding-right: 0; } }

/* Abschluss-Aufruf */
.cta-final { position: relative; background: var(--yellow); overflow: hidden; isolation: isolate; }
.cta-final__bg { position: absolute; left: 50%; bottom: 0.06em; z-index: -1; translate: -50% 0; font: 900 13.4vw/0.8 var(--display); letter-spacing: -0.04em; color: rgba(15, 15, 14, 0.07); white-space: nowrap; pointer-events: none; }
.cta-final__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: end; gap: 40px 80px; padding-block: var(--section); }
.cta-final .stack { container-type: inline-size; }
.cta-final h2 { font-size: clamp(34px, 5.6vw, 96px); font-size: clamp(32px, 12.5cqi, 104px); line-height: 0.94; }
.cta-final__side { display: flex; flex-direction: column; gap: 22px; }
.cta-final__contact { display: grid; gap: 4px; font-size: 17px; }
.cta-final__contact a { font: 800 clamp(22px, 2vw, 30px)/1.2 var(--display); text-decoration: none; }

/* Aufruf am Ende der Unterseiten */
.cta { position: relative; background: var(--yellow); overflow: hidden; }
.cta__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; padding-block: clamp(72px, 9vw, 140px); }
.cta__in > div:first-child { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.cta h2 { font-size: clamp(34px, 5vw, 80px); line-height: 0.95; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; min-height: clamp(440px, 64vh, 660px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: -15% 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 15, 14, 0.93), rgba(15, 15, 14, 0.66) 60%, rgba(15, 15, 14, 0.45)), linear-gradient(0deg, rgba(15, 15, 14, 0.85), transparent 50%); }
.page-hero__in { display: flex; flex-direction: column; gap: 22px; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 7vw, 100px); max-width: 1080px; }
.page-hero h1 { font-size: clamp(26px, 7.6vw, 92px); line-height: 0.95; letter-spacing: -0.03em; }
.page-hero .lead { color: var(--on-dark); max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--on-dark-dim); }
.crumbs a { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--on-dark-dim); }

/* ---------- Bausteine der Unterseiten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 2.4vw, 38px); background: var(--soft); border-radius: var(--radius); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.5); }
.card p { color: var(--muted); font-size: 0.96em; }
.section--soft .card { background: #fff; }
.cards > li { display: flex; }
.cards > li > .card { flex: 1; }
.card--link { color: inherit; text-decoration: none; }
@media (min-width: 640px) { #anlass .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { #anlass .cards { grid-template-columns: repeat(4, 1fr); } }
.card--link h3 { color: var(--ink); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--ink); }
.card__more .ico { transition: transform 0.35s var(--ease); }
.card--link:hover .card__more .ico, .card--link:focus-visible .card__more .ico { transform: translateX(5px); }
.section--dark .card { background: var(--ink-2); border: 1px solid var(--dark-line); }
.section--dark .card p { color: var(--on-dark); }
.section--dark .card h3 { color: #fff; }

.photo { overflow: hidden; border-radius: var(--radius); }
.photo img { width: 100%; object-fit: cover; }
.photo--wide img { aspect-ratio: 16 / 10; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); max-width: 600px; }
.person { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--yellow); border-radius: var(--radius); }
.person:nth-child(2) { margin-top: clamp(24px, 4vw, 64px); margin-bottom: calc(-1 * clamp(24px, 4vw, 64px)); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.1); transform-origin: 50% 20%; transition: transform 0.9s var(--ease); }
.person:hover img { transform: scale(1.16); }
.person figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; background: var(--ink); color: #fff; font: 800 clamp(14px, 1.2vw, 16px)/1.2 var(--display); border-radius: 4px; }

/* Zeitstrahl (Ablauf-Seite) */
.timeline { --p: 0; position: relative; padding-left: clamp(56px, 8vw, 112px); display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }
.timeline::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 27px; top: 0; width: 2px; height: calc(var(--p) * 100%); background: var(--ink); }
.timeline__car { position: absolute; left: 16px; top: calc(var(--p) * 100%); width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px var(--soft), 0 0 0 7.5px var(--ink); z-index: 2; }
.timeline__car .ico { display: none; }
.tstep { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 32px; padding: clamp(26px, 3vw, 44px); background: #fff; border-radius: var(--radius); }
.tstep__num { grid-row: span 2; font: 900 clamp(44px, 5vw, 76px)/0.85 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); min-width: 1.3em; }
.tstep__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tstep__head > * { min-width: 0; }
.tstep__head .ico { width: 28px; height: 28px; color: var(--amber); }
.tstep h2 { font-size: clamp(19px, 5.4vw, 30px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.tstep p { grid-column: 2; color: var(--muted); max-width: 64ch; text-wrap: pretty; }
.tstep--goal { background: var(--ink); color: #fff; }
.tstep--goal p { color: var(--on-dark); }
.tstep--goal .tstep__num { -webkit-text-stroke-color: var(--yellow); color: var(--yellow); }
.tstep--goal .tstep__head .ico { color: var(--yellow); }
@media (max-width: 600px) {
  .timeline { padding-left: 40px; }
  .timeline::before, .timeline__fill { left: 11px; }
  .timeline__car { left: 0; width: 22px; height: 22px; margin-top: -11px; }
  .tstep { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .tstep p { grid-column: 1; }
  .tstep__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Terminliste */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: start; gap: 12px 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row p { color: var(--muted); font-size: 0.96em; }
.row__status { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.row__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-deep); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.4; } }
@media (max-width: 560px) { .row { grid-template-columns: 52px minmax(0, 1fr); gap: 12px 16px; } .row .badge { width: 52px; height: 52px; } }

/* Kontakt */
.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(15, 15, 14, 0.2); }
.contact-list .ico { width: 48px; height: 48px; padding: 12px; background: var(--ink); color: var(--yellow); border-radius: 50%; }
.contact-list small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-list a, .contact-list span { font: 800 clamp(18px, 1.6vw, 22px)/1.25 var(--display); overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 15.5px; font-weight: 500; }
.host { display: flex; align-items: center; gap: 18px; }
.host img { width: 80px; height: 80px; flex: none; border-radius: 50%; background: var(--ink); object-fit: cover; object-position: 50% 6%; }
.host small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.host b { font: 800 22px/1.2 var(--display); }

.form { display: flex; flex-direction: column; gap: 20px; padding: clamp(26px, 3vw, 48px); background: #fff; border-radius: var(--radius); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.45); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid #8a877e; border-radius: 6px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field[hidden] { display: none; }
.field select { -webkit-appearance: none; appearance: none; padding: 12px 46px 12px 16px; line-height: 1.4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230f0f0e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 9px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--yellow-deep); box-shadow: 0 0 0 4px rgba(255, 204, 49, 0.45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: 14.5px; font-weight: 700; }
.chips legend span { font-weight: 400; color: #6b6a63; margin-left: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; font-size: 15.5px; border: 1.5px solid #8a877e; border-radius: 999px; background: #fff; transition: background 0.15s, border-color 0.15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow-deep); font-weight: 700; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(255, 204, 49, 0.55); border-color: var(--ink); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--yellow-deep); }
.form__note { font-size: 14.5px; color: var(--muted); }
/* Nach erfolgreichem Versand bleibt nur die Danke-Meldung stehen */
form.is-sent > :not(.form__status) { display: none !important; }
.form__status { padding: 14px 16px; border-radius: 6px; font-size: 16px; font-weight: 500; }
.form__status.is-ok { background: #e6f2e6; border: 1.5px solid #1f6b2a; color: #123d18; }
.form__status.is-error { background: #fbe9e6; border: 1.5px solid #a3271a; color: #6e160d; }
.form.is-sending .btn, .callback.is-sending .btn { opacity: 0.6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rechtstexte */
.legal { max-width: 800px; overflow-wrap: anywhere; }
.legal h1 { display: none; }
.legal h2, .legal h3, .legal p > strong:only-child { display: block; font: 800 22px/1.25 var(--display); margin-top: 1.6em; color: var(--ink); }
.legal p, .legal li { color: var(--muted); margin-top: 0.9em; }
.legal ul ul { list-style: disc; padding-left: 1.3em; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 16px; }
.site-footer__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 56px; padding-block: clamp(56px, 6vw, 88px) 40px; }
.site-footer h2 { font: 700 12.5px/1.3 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 14px; }
.site-footer a:not(.btn):not(.logo) { color: #fff; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; background: linear-gradient(var(--yellow), var(--yellow)) 0 calc(100% - 5px) / 0 2px no-repeat; transition: background-size 0.35s var(--ease); }
.site-footer a:not(.btn):not(.logo):hover { background-size: 100% 2px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site-footer__brand .logo img { height: 64px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 22px; border-top: 1px solid var(--dark-line); font-size: 14.5px; color: var(--on-dark-dim); }
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Handy: feste Leiste zum Anrufen / Anfragen */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; padding: 8px; background: rgba(15, 15, 14, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7); transform: translateY(140%); transition: transform 0.5s var(--ease); }
.mobile-cta.show { transform: none; }
.mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap; }
.mobile-cta a:first-child { color: #fff; box-shadow: inset 0 0 0 1.5px var(--dark-line); }
.mobile-cta a:last-child { background: var(--yellow); color: var(--ink); }
.mobile-cta .ico { width: 18px; height: 18px; }
@media (max-width: 760px) { .mobile-cta { display: grid; } .site-footer { padding-bottom: 84px; } }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: var(--yellow); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--yellow); color: var(--ink); }
.to-top .ico { transform: rotate(-90deg); }
@media (max-width: 760px) { .to-top { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print {
  .site-header, .mobile-cta, .to-top, .hero__scroll, .cta-final { display: none; }
  body { padding: 0; }
}

/* ===================== Interaktion (Nov. 2026) ===================== */

/* 1 · MPU-Check: gewählte Antwort, Balken, Auswertung */
.quiz__bar { height: 6px; border-radius: 3px; }
.quiz__bar span { position: relative; border-radius: inherit; box-shadow: 0 0 14px rgba(255, 204, 49, 0.55); }
.quiz__opts button { transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.quiz__opts button:active { transform: scale(0.98); }
.quiz__opts button.is-picked { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: scale(1.02); }
.quiz__opts button.is-picked::after { width: 13px; height: 7px; border-top: 0; border-right: 0; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(-45deg); opacity: 1; animation: pickIn 0.3s var(--ease); }
@keyframes pickIn { from { transform: translateY(-2px) rotate(-45deg) scale(0); } }
.quiz.is-busy .quiz__opts button:not(.is-picked) { opacity: 0.45; }
.quiz__thinking { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; flex: 1; min-height: 220px; color: #fff; font: 800 clamp(20px, 5cqi, 26px)/1.25 var(--display); animation: stepIn 0.4s var(--ease); }
.quiz__dots { display: flex; gap: 8px; }
.quiz__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); animation: dot 0.9s ease-in-out infinite; }
.quiz__dots i:nth-child(2) { animation-delay: 0.15s; }
.quiz__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: 0.35; } 40% { transform: translateY(-10px); opacity: 1; } }
.quiz__result > * { animation: riseIn 0.6s var(--ease) both; }
.quiz__result > :nth-child(2) { animation-delay: 0.08s; }
.quiz__result > :nth-child(3) { animation-delay: 0.16s; }
.quiz__result > :nth-child(4) { animation-delay: 0.26s; }
.quiz__result > :nth-child(5) { animation-delay: 0.36s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } }

/* 2 · Ablauf: aktueller Schritt, durchgehende Linie, Zähler */
.hstep { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.hstep::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.hstep.is-past::before, .hstep.is-active::before { transform: none; }
.hstep.is-active { transform: translateY(-8px); box-shadow: 0 34px 60px -36px rgba(0, 0, 0, 0.45); }
.hstep__num { transition: color 0.45s var(--ease), -webkit-text-stroke-color 0.45s; }
.hstep.is-active .hstep__num { color: var(--yellow); -webkit-text-stroke-color: var(--ink); }
.hstep--goal.is-active .hstep__num { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.hscroll__count { display: none; position: absolute; left: var(--gutter); bottom: calc(6vh + 14px); font: 800 15px/1 var(--display); letter-spacing: 0.06em; color: var(--ink); }
.hscroll__count b { display: inline-block; min-width: 2ch; font-size: 22px; color: var(--ink); }
.hscroll.is-pinned .hscroll__count { display: block; }
.hscroll__progress span { background: var(--yellow-deep); height: 4px; margin-top: -1px; border-radius: 2px; }

/* 3 · Team: Person hervorheben, Namensschild */
.team__media img { transition: transform 0.6s var(--ease), filter 0.6s var(--ease), opacity 0.6s var(--ease); transform-origin: 50% 100%; cursor: pointer; }
.team__media.has-focus img { filter: brightness(0.82) saturate(0.85); transform: scale(0.985); }
.team__media.has-focus img.is-focus { filter: none; opacity: 1; transform: scale(1.035); z-index: 2; }
.team__tag { position: absolute; z-index: 3; bottom: 7%; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); max-width: min(78%, 300px); }
.team__tag.show { opacity: 1; transform: none; pointer-events: auto; }
.team__tag b { font: 900 20px/1.15 var(--display); }
.team__tag span { font: 700 12px/1.3 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.team__tag a { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 40px; color: #fff; font-weight: 700; text-decoration: none; }
.team__tag a .ico { width: 18px; height: 18px; color: var(--yellow); }
.profile { transition: background 0.35s; }
.profile.is-focus h3 { color: var(--amber); }

/* 5 · Themenkarten: Neigung zur Maus und umlaufender Rand */
.card--link { transform-style: preserve-3d; will-change: transform; }
.card--link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--yellow-deep); clip-path: inset(0 100% 100% 0 round var(--radius)); transition: clip-path 0.6s var(--ease); pointer-events: none; }
.card--link:hover::after, .card--link:focus-visible::after { clip-path: inset(0 0 0 0 round var(--radius)); }
.card--link .badge { transition: transform 0.5s var(--ease); }
.card--link:hover .badge { transform: translateZ(30px) scale(1.08); }

/* 6 · FAQ: weiches Auf- und Zuklappen */
.faq details { overflow: hidden; }
.faq summary .ico { transition: transform 0.45s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s; }
.faq summary:hover .ico { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow); }
.faq details[open] summary:hover .ico { background: var(--ink); }

/* 8 · Handy-Leiste: aus dem Weg, wo schon ein Formular zu sehen ist */
.mobile-cta.is-away { transform: translateY(140%); }
.mobile-cta a:last-child { position: relative; overflow: hidden; }
.mobile-cta a:last-child::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-110%); animation: shine 4.5s 1.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }

/* Wortumbrüche (Nov. 2026) */
.nobr { white-space: nowrap; }
h2.h2--kompakt { font-size: clamp(26px, calc(10px + 3.3vw), 58px); }
.chips legend .nobr { font-weight: inherit; color: inherit; margin-left: 0; }
.card h3 { font-size: clamp(20px, 1.5vw, 22px); }

/* Kosten (Nov. 2026) */
.kosten-hinweis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(26px, 3vw, 46px); background: var(--yellow); color: var(--ink); border-radius: var(--radius); }
.kosten-hinweis .lead { flex: 1 1 32em; max-width: 46em; }
.kosten-hinweis .btn { flex: none; }
