/* smarte-it-muenchen.de – Landingpage der Fischmann.IT GmbH.
   Farben, Schriften, Buttons und Wellenkanten entsprechen fischmann.it, damit der Wechsel auf die Website nahtlos wirkt.
   Kein JavaScript, keine Cookies, keine externen Ressourcen. Der Selbstcheck zählt per CSS-Zähler. */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght.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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght.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: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --navy: #1e2d47;
  --navy-2: #15223a;
  --blue: #2d67cf;
  --blue-dark: #2457b4;
  --blue-bright: #4290fb;
  --blue-light: #a8cbfb;
  --blue-mist: #e6effc;
  --ink: #1e2d47;
  --text: #33415a;
  --muted: #5f6c82;
  --line: #dde4ee;
  --light: #f1f4f8;
  --white: #fff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec-pad: clamp(56px, 7vw, 104px);
  --sl: clamp(28px, 4.6vw, 76px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(21, 34, 58, .08);
  --shadow: 0 14px 40px rgba(21, 34, 58, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Kopfleiste mit Wellenkante (wie fischmann.it, ohne Scroll-Animation) */
  --header-h: 72px;
  --skirt: 58px;

  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 60C90 82 170 100 260 100C560 100 820 6 1120 6C1260 6 1370 18 1440 28V100H0Z'/%3E%3C/svg%3E");
  --wave-top-rev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath transform='matrix(-1 0 0 1 1440 0)' d='M0 60C90 82 170 100 260 100C560 100 820 6 1120 6C1260 6 1370 18 1440 28V100H0Z'/%3E%3C/svg%3E");
  --wave-bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V28C1370 18 1260 6 1120 6C820 6 560 100 260 100C170 100 90 82 0 60Z'/%3E%3C/svg%3E");
  --wave-bot-rev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath transform='matrix(-1 0 0 1 1440 0)' d='M0 0H1440V28C1370 18 1260 6 1120 6C820 6 560 100 260 100C170 100 90 82 0 60Z'/%3E%3C/svg%3E");
}
@media (max-width: 720px) {
  :root { --header-h: 64px; --skirt: 34px; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .2s var(--ease); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--ink); line-height: 1.2; font-weight: 650; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: manual; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.35rem); letter-spacing: -.015em; }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 650; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: var(--radius); background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.lead { max-width: 68ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.65; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1rem; color: var(--blue); font-family: var(--font-display); font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; }

/* ---------- Symbole ---------- */
.ui { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.uif { flex: none; width: 1.2em; height: 1.2em; fill: currentColor; }
.ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico .ac { stroke: var(--blue-bright); }

/* ---------- Buttons (wie fischmann.it) ---------- */
.btn { --bg: var(--blue); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .72em 1.35em; border: 2px solid var(--bg); border-radius: var(--radius); background: var(--bg); color: var(--fg); font-size: 1rem; font-weight: 650; line-height: 1.2; letter-spacing: .01em; text-align: center; text-decoration: none; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { --bg: var(--blue-dark); color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(45, 103, 207, .28); }
.btn:active { transform: none; }
.btn--lg { min-height: 56px; padding: .8em 1.6em; font-size: 1.06rem; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn--white { --bg: var(--white); --fg: var(--navy); }
.btn--white:hover { --bg: var(--blue-mist); --fg: var(--navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: currentColor; }
.btn--ghost:hover { --bg: var(--navy); --fg: var(--white); border-color: var(--navy); box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { --bg: var(--white); --fg: var(--navy); border-color: var(--white); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; }
.link-arrow .ui { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .ui { transform: translateX(3px); }

/* ---------- Kopfleiste mit Wellenkante ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 10; height: calc(var(--header-h) + var(--skirt)); pointer-events: none; }
.top__bg, .top__edge { position: absolute; inset: 0 0 auto; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-image: linear-gradient(#000 0 0), var(--wave-bot); mask-image: linear-gradient(#000 0 0), var(--wave-bot); -webkit-mask-position: top, bottom; mask-position: top, bottom; }
.top__edge { height: calc(var(--header-h) + var(--skirt) + 3px); background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 40%, var(--blue-light) 100%); -webkit-mask-size: 100% calc(var(--header-h) + 4px), 100% var(--skirt); mask-size: 100% calc(var(--header-h) + 4px), 100% var(--skirt); }
.top__bg { height: calc(var(--header-h) + var(--skirt)); background: radial-gradient(55% 160% at 14% 0%, rgba(66, 144, 251, .2) 0%, rgba(66, 144, 251, 0) 62%), linear-gradient(180deg, #2b4068 0%, var(--navy) 52%, #172540 100%); -webkit-mask-size: 100% calc(var(--header-h) + 1px), 100% var(--skirt); mask-size: 100% calc(var(--header-h) + 1px), 100% var(--skirt); }
.top__bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); pointer-events: auto; }
.brand { display: block; flex: none; width: clamp(132px, 38vw, 206px); }
.brand img { width: 100%; height: auto; }
.top__nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.top__nav .btn--sm { white-space: nowrap; }
.top__phone { display: inline-flex; align-items: center; gap: .5em; color: var(--white); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.top__phone:hover { color: var(--blue-light); }
.top__phone .ui { width: 1.1em; height: 1.1em; color: var(--blue-light); }
@media (max-width: 720px) {
  .top__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top__phone { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; }
  .top__phone .ui { width: 18px; height: 18px; color: var(--white); }
}
@media (max-width: 380px) {
  .top__nav .btn--sm { padding: .5em .8em; font-size: .88rem; }
}
@media (max-width: 359px) {
  .top__phone { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + var(--skirt) + clamp(28px, 5vw, 64px)) 0 calc(var(--sl) + clamp(48px, 6vw, 88px)); background: radial-gradient(70% 90% at 88% 18%, rgba(66, 144, 251, .38) 0%, rgba(66, 144, 251, 0) 62%), linear-gradient(135deg, #0f1a4c 0%, #1a3a8c 52%, #2a64cc 100%); color: var(--white); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-image: linear-gradient(#000 0 0), var(--wave-bot); mask-image: linear-gradient(#000 0 0), var(--wave-bot); -webkit-mask-position: top, bottom; mask-position: top, bottom; -webkit-mask-size: 100% calc(100% - var(--sl) + 1px), 100% var(--sl); mask-size: 100% calc(100% - var(--sl) + 1px), 100% var(--sl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .8em; margin: 0 0 18px; color: #d3e4ff; font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero__eyebrow::before { content: ""; flex: none; width: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-bright), var(--blue-light)); }
.hero h1 { margin: 0; color: var(--white); font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 30px rgba(4, 10, 48, .35); }
.hero__sub { max-width: 620px; margin: 20px 0 0; color: #e6efff; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.55; }
.hero .btn-row { margin-top: 30px; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 26px; padding: 7px 16px 7px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; background: rgba(255, 255, 255, .12); color: var(--white); font-size: .92rem; text-decoration: none; }
.rating:hover { background: rgba(255, 255, 255, .2); color: var(--white); }
.rating strong { color: var(--white); }
.stars { display: inline-flex; gap: 2px; color: #f5b400; }
.stars .uif { width: 15px; height: 15px; }

/* Karte „Smarte IT heißt bei uns“ im Hero */
.panel { padding: clamp(22px, 3vw, 30px); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .08); box-shadow: 0 24px 60px rgba(5, 12, 45, .25); }
.panel__title { margin: 0 0 18px; color: #d3e4ff; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.panel ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.panel li { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 14px; }
.panel__ico { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; background: rgba(255, 255, 255, .1); color: var(--blue-light); }
.panel__ico .ui { width: 20px; height: 20px; }
.panel li strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.panel li span { display: block; margin-top: 2px; color: #d3e4ff; font-size: .93rem; line-height: 1.45; }
.panel__note { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); color: #c4d6f5; font-size: .82rem; line-height: 1.45; }

/* ---------- Sektionen und Wellenübergänge ---------- */
.sec { position: relative; padding: var(--sec-pad) 0; }
.sec--light { background: var(--light); }
.sec__head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec__head .lead { margin-bottom: 0; }
/* Welle oben bzw. unten wie auf fischmann.it: die Sektion liegt über der vorherigen, die Maske gibt die Wellenform frei */
.wave-t, .wave-b { z-index: 1; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.wave-t { margin-top: calc(var(--sl) * -1); padding-top: calc(var(--sec-pad) + var(--sl)); -webkit-mask-image: var(--wave-top), linear-gradient(#000 0 0); mask-image: var(--wave-top), linear-gradient(#000 0 0); -webkit-mask-position: top, bottom; mask-position: top, bottom; -webkit-mask-size: 100% var(--sl), 100% calc(100% - var(--sl) + 1px); mask-size: 100% var(--sl), 100% calc(100% - var(--sl) + 1px); }
.wave-t.wave-b { padding-bottom: calc(var(--sec-pad) + var(--sl)); -webkit-mask-image: var(--wave-top), linear-gradient(#000 0 0), var(--wave-bot-rev); mask-image: var(--wave-top), linear-gradient(#000 0 0), var(--wave-bot-rev); -webkit-mask-position: top, center, bottom; mask-position: top, center, bottom; -webkit-mask-size: 100% var(--sl), 100% calc(100% - 2 * var(--sl) + 2px), 100% var(--sl); mask-size: 100% var(--sl), 100% calc(100% - 2 * var(--sl) + 2px), 100% var(--sl); }
.wave-t.wave-rev { -webkit-mask-image: var(--wave-top-rev), linear-gradient(#000 0 0); mask-image: var(--wave-top-rev), linear-gradient(#000 0 0); }

/* ---------- Bisher / Smart: sechs Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
/* Subgrid: Symbol, Titel, „Bisher“, „Smart“ und Link stehen in jeder Kartenreihe auf gleicher Höhe */
.card { position: relative; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: clamp(22px, 2.6vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; margin-bottom: 16px; color: var(--navy); }
.card h3 { margin-bottom: .7em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.card__more { display: inline-flex; align-self: end; align-items: center; gap: .45em; color: var(--blue-dark); font-weight: 650; font-size: .96rem; }
.card__more .ui { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card:hover .card__more .ui { transform: translateX(3px); }
.compare { margin: 0; padding: 12px 14px; font-size: .97rem; line-height: 1.55; }
.compare__label { display: block; margin-bottom: 3px; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.compare--before { margin-bottom: 10px; border-radius: var(--radius); background: var(--light); color: var(--muted); }
.compare--after { margin-bottom: 20px; border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--blue-mist); color: var(--ink); }
.compare--after .compare__label { color: var(--blue-dark); }

/* ---------- Selbstcheck (ohne JavaScript: CSS-Zähler und :has) ---------- */
.selfcheck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: start; gap: clamp(20px, 3vw, 40px); counter-reset: smart; }
.selfcheck__list { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.check-item { display: flex; align-items: flex-start; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.check-item:hover { border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.check-item input { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: 1px 0 0; border: 2px solid #9fb0c8; border-radius: 6px; background: var(--white) center / 14px no-repeat; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.check-item input:checked { counter-increment: smart; border-color: var(--blue); background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.check-item input:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.check-item:has(input:checked) { border-color: var(--blue-light); background: #f6f9ff; }
.check-item__text { display: block; color: var(--ink); font-weight: 600; line-height: 1.45; }
.check-item__topic { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.selfcheck__result { position: sticky; top: 24px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: radial-gradient(80% 90% at 90% 0%, rgba(66, 144, 251, .35) 0%, rgba(66, 144, 251, 0) 62%), linear-gradient(135deg, #0f1a4c 0%, #1a3a8c 60%, #2a64cc 100%); color: #e6efff; box-shadow: var(--shadow); }
.selfcheck__label { margin: 0 0 6px; color: #d3e4ff; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.selfcheck__count { display: flex; align-items: baseline; gap: .35em; margin: 0 0 14px; color: var(--white); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.selfcheck__num::before { content: counter(smart); font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.selfcheck__msg { margin: 0 0 20px; font-size: 1rem; line-height: 1.55; }
.selfcheck__msg--some, .selfcheck__msg--all { display: none; }
.selfcheck:has(input:checked) .selfcheck__msg--start { display: none; }
.selfcheck:has(input:checked) .selfcheck__msg--some { display: block; }
.selfcheck:not(:has(input:not(:checked))) .selfcheck__msg--some { display: none; }
.selfcheck:not(:has(input:not(:checked))) .selfcheck__msg--all { display: block; }
.selfcheck__result .btn-row { gap: 10px; }
.selfcheck__result .btn { flex: 1 1 auto; }
.selfcheck__hint { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); color: #c4d6f5; font-size: .84rem; line-height: 1.5; }
/* Mitlaufender Zähler, solange die Liste im Bild ist (nur einspaltig, wo das Ergebnis erst unter der Liste steht) */
.selfcheck__live { display: none; }

/* ---------- Wer dahinter steht ---------- */
.about { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.portrait { margin: 0; }
.portrait__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.portrait__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portrait figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.portrait figcaption strong { display: block; color: var(--ink); }
.ki-badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(15, 24, 41, .55); color: rgba(255, 255, 255, .85); font-family: var(--font-display); font-size: 9.5px; font-weight: 600; letter-spacing: .06em; line-height: 1; cursor: default; user-select: none; }
.checks { margin: 24px 0 28px; padding: 0; list-style: none; }
.checks li { position: relative; margin: 0 0 10px; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232457b4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Technologiepartner */
.partners-block { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.partners-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 24px; }
.partners-block__head h3 { margin: 0 0 .3em; font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); font-weight: 700; }
.partners-block__head p { max-width: 62ch; margin: 0; color: var(--muted); }
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.partners li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.partners strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.partners span { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 48px 20px 0; color: var(--ink); font-size: 1.1rem; font-weight: 650; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blue-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232457b4' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s var(--ease); }
.sec--light .faq summary::after { background-color: var(--white); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-dark); }
.faq details > div { padding: 0 48px 18px 0; }
.faq details p { margin-bottom: .8em; }
.sec--light .faq details, .sec--light .faq details:first-of-type { border-color: #d3dbe7; }

/* ---------- Abschluss (CTA) ---------- */
.cta { z-index: 2; background: radial-gradient(70% 120% at 15% 0%, rgba(66, 144, 251, .28) 0%, rgba(66, 144, 251, 0) 60%), linear-gradient(135deg, #0f1a4c 0%, #1a3a8c 55%, #2a64cc 100%); color: #e6efff; text-align: center; }
.cta h2 { color: var(--white); }
.cta .lead { margin: 0 auto; }
.cta .btn-row { justify-content: center; margin-top: 30px; }
.contact-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .98rem; }
.contact-line li { display: inline-flex; align-items: center; gap: .5em; }
.contact-line a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-line a:hover { color: var(--blue-light); }
.contact-line .ui { color: var(--blue-light); }

/* ---------- Fußbereich ---------- */
.foot { padding: 34px 0 30px; background: var(--navy-2); color: #b9c6da; font-size: .9rem; line-height: 1.55; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot__brand img { width: 150px; height: auto; }
.foot p { margin: 0; }
.foot a { color: #dfe7f3; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Rechtstexte und 404 ---------- */
.hero--page { padding-bottom: calc(var(--sl) + clamp(32px, 4vw, 56px)); }
.hero--page h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.hero--page + .sec { padding-top: clamp(24px, 3.5vw, 44px); }
.legal { max-width: 780px; }
.legal h2 { margin-top: 1.6em; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.3em; font-size: 1.06rem; }
.legal .back { display: inline-flex; margin-bottom: 28px; }
.legal small { color: var(--muted); }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .hero__grid, .about, .selfcheck { grid-template-columns: minmax(0, 1fr); }
  .panel { max-width: 560px; }
  .about .portrait { max-width: 320px; }
  .selfcheck__result { position: static; }
  .selfcheck__live { position: sticky; bottom: 14px; z-index: 3; display: flex; align-items: baseline; justify-self: center; gap: .35em; margin: 6px 0 0; padding: 8px 20px; border-radius: 99px; background: var(--navy); color: var(--white); font-family: var(--font-display); font-size: .95rem; font-weight: 600; box-shadow: 0 10px 30px rgba(21, 34, 58, .3); }
  .selfcheck__live .selfcheck__num::before { font-size: 1.3rem; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .faq details > div { padding-right: 0; }
}
@media (max-width: 520px) {
  .hero .btn-row .btn { width: 100%; }
  .check-item { padding: 14px 14px; gap: 12px; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

@media print {
  .top, .skip, .selfcheck__live { display: none !important; }
  .hero, .cta, .selfcheck__result { background: none; color: var(--ink); box-shadow: none; }
  .hero { padding-top: 20px; }
  .hero h1, .hero__sub, .cta h2, .panel li strong, .panel li span, .selfcheck__count { color: var(--ink); text-shadow: none; }
  .hero, .wave-t, .wave-b { -webkit-mask: none !important; mask: none !important; }
}
