/* csl-solution.ch — Farbrichtung A: Nachtblau und Signal-Türkis (Marke in csl12) */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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 {
  --nachtblau: #0B1B2B;
  --nachtblau-2: #112638;
  --nachtblau-3: #1A3348;
  --tuerkis: #14B8A6;
  --tuerkis-tief: #0F766E;
  --tuerkis-dunkeltext: #042F2E;
  --wolkenweiss: #F1F5F9;
  --schiefer: #64748B;
  --tinte: #0B1B2B;
  --text-2: #475569;
  --linie: #E2E8F0;
  --linie-dunkel: rgba(241, 245, 249, 0.12);
  --radius: 14px;
  --breite: 1180px;
  --schatten: 0 1px 2px rgba(11, 27, 43, 0.06), 0 8px 24px rgba(11, 27, 43, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tinte);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tuerkis-tief); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 650; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tuerkis); color: var(--tuerkis-dunkeltext); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 3px; border-radius: 6px; }

/* ── Knöpfe ─────────────────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tuerkis); color: var(--tuerkis-dunkeltext);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 13px 22px; border-radius: 10px;
  transition: transform .15s ease, background .15s ease;
}
.knopf:hover { background: #2DD4BF; transform: translateY(-1px); }
.knopf-klein { padding: 9px 16px; font-size: .94rem; }
.knopf-leise { background: transparent; color: var(--wolkenweiss); box-shadow: inset 0 0 0 1px rgba(241, 245, 249, .28); }
.knopf-leise:hover { background: rgba(241, 245, 249, .08); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Kopf ───────────────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 27, 43, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.kopf.gescrollt { border-bottom-color: var(--linie-dunkel); background: rgba(11, 27, 43, .94); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wolkenweiss); }
.marke-wort { font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; }
.marke-tld { color: var(--tuerkis); }
.navigation { display: flex; align-items: center; gap: 28px; }
.navigation a:not(.knopf) { color: rgba(241, 245, 249, .78); text-decoration: none; font-size: .95rem; font-weight: 500; }
.navigation a:not(.knopf):hover { color: #fff; }
.menue-knopf { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menue-linie { display: block; width: 22px; height: 2px; background: var(--wolkenweiss); margin: 5px 0; transition: transform .2s ease; }
.menue-knopf[aria-expanded="true"] .menue-linie:first-child { transform: translateY(3.5px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-linie:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Held ───────────────────────────────────────────────────────────── */
.held {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 78% 18%, rgba(20, 184, 166, .16), transparent 62%), var(--nachtblau);
  color: var(--wolkenweiss);
  padding: 96px 0 104px;
  margin-top: -68px; padding-top: 164px;
}
.held-raster {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(241, 245, 249, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 245, 249, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.held-innen { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.vorzeile { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; color: rgba(241, 245, 249, .72); letter-spacing: .01em; margin-bottom: 22px; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--tuerkis); box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); }
.held h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.akzent { color: var(--tuerkis); }
.einleitung { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(241, 245, 249, .8); max-width: 38em; margin-top: 24px; }
.zahlen { display: flex; gap: 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--linie-dunkel); }
.zahlen div { margin: 0; }
.zahlen dt { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.zahlen dd { margin: 6px 0 0; font-size: .88rem; color: rgba(241, 245, 249, .62); }

.leitstand {
  background: linear-gradient(180deg, rgba(26, 51, 72, .9), rgba(17, 38, 56, .9));
  border: 1px solid var(--linie-dunkel);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.leitstand-kopf { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 16px; border-bottom: 1px solid var(--linie-dunkel); }
.leitstand-titel { font-weight: 600; font-size: .95rem; }
.leitstand-status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(241, 245, 249, .7); }
.lampe { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: puls 2.4s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@media (prefers-reduced-motion: reduce) { .lampe { animation: none; } }
.leitstand-liste { list-style: none; margin: 0; padding: 8px 0 0; }
.leitstand-liste li { display: flex; align-items: center; gap: 14px; padding: 10px 6px; font-size: .95rem; color: rgba(241, 245, 249, .86); border-bottom: 1px dashed rgba(241, 245, 249, .07); }
.leitstand-liste li:last-child { border-bottom: 0; }
.kuerzel { min-width: 64px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82rem; color: var(--tuerkis); background: rgba(20, 184, 166, .1); border: 1px solid rgba(20, 184, 166, .22); border-radius: 6px; padding: 2px 8px; text-align: center; }
.leitstand-login { margin-top: 6px; }
.leitstand-login .kuerzel { background: var(--tuerkis); color: var(--tuerkis-dunkeltext); border-color: var(--tuerkis); }

/* ── Abschnitte ─────────────────────────────────────────────────────── */
.abschnitt { padding: 112px 0; }
.abschnitt-hell { background: var(--wolkenweiss); }
.abschnitt-dunkel { background: var(--nachtblau); color: var(--wolkenweiss); }
.rubrik { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tuerkis-tief); margin-bottom: 14px; }
.abschnitt-dunkel .rubrik { color: var(--tuerkis); }
.abschnitt-einleitung { font-size: 1.1rem; color: var(--text-2); max-width: 44em; margin-top: 20px; }
.abschnitt-dunkel .abschnitt-einleitung { color: rgba(241, 245, 249, .72); }

/* Leistungen */
.karten { display: grid; gap: 20px; margin-top: 56px; }
.karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--schatten); transition: transform .2s ease, box-shadow .2s ease; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 27, 43, .06), 0 18px 40px rgba(11, 27, 43, .1); }
.karte-hervor { background: var(--nachtblau); color: var(--wolkenweiss); border-color: var(--nachtblau); }
.karte.karte-hervor p, .karte-hervor .haken li { color: rgba(241, 245, 249, .82); }
.karte h3 { margin: 20px 0 10px; font-size: 1.3rem; }
.karte p { color: var(--text-2); }
.karte-symbol { width: 48px; height: 48px; border-radius: 12px; background: rgba(20, 184, 166, .12); display: grid; place-items: center; }
.karte-hervor .karte-symbol { background: rgba(20, 184, 166, .2); }
.sym { display: block; width: 22px; height: 22px; background: var(--tuerkis-tief); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.karte-hervor .sym { background: var(--tuerkis); }
.sym-web { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M7 6.5h.01M10 6.5h.01'/%3E%3C/svg%3E"); }
.sym-plattform { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8l9 5 9-5-9-5zM3 13l9 5 9-5M3 17.5l9 5 9-5'/%3E%3C/svg%3E"); }
.sym-betrieb { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 8-7 9-4-1-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.haken { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.haken li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--text-2); }
.haken li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--tuerkis); border-bottom: 2px solid var(--tuerkis); transform: rotate(-45deg); }

/* Branchen */
.branchen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.branche { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; transition: background .2s ease; }
.branche:hover { background: #FBFDFE; }
.branche p { color: var(--text-2); font-size: .98rem; flex: 1; }
.beleg { align-self: flex-start; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--tuerkis-tief); background: rgba(20, 184, 166, .1); padding: 4px 10px; border-radius: 999px; }
.beleg:hover { background: rgba(20, 184, 166, .2); }

/* Plattformen */
.plattformen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.plattform { background: var(--nachtblau-2); border: 1px solid var(--linie-dunkel); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.plattform:hover { transform: translateY(-3px); border-color: rgba(20, 184, 166, .45); }
.plattform:first-child { grid-column: 1 / -1; flex-direction: row; }
.plattform:first-child img { width: 58%; aspect-ratio: auto; }
.plattform img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--linie-dunkel); }
.plattform:first-child img { border-bottom: 0; border-right: 1px solid var(--linie-dunkel); }
.plattform-text { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.plattform-text p:not(.kennung), .plattform-klein p:not(.kennung) { color: rgba(241, 245, 249, .72); font-size: .98rem; }
.kennung { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; color: var(--tuerkis); }
.plattform h3, .plattform-klein h3 { font-size: 1.35rem; color: #fff; }
.extern { color: var(--tuerkis); font-weight: 600; text-decoration: none; font-size: .95rem; margin-top: 4px; }
.extern::after { content: " ↗"; }
.extern:hover { text-decoration: underline; text-underline-offset: 3px; }
.plattformen-klein { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.plattform-klein { border: 1px solid var(--linie-dunkel); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: rgba(241, 245, 249, .02); }
.plattform-login { background: linear-gradient(160deg, rgba(20, 184, 166, .16), rgba(20, 184, 166, .04)); border-color: rgba(20, 184, 166, .35); }

/* Websites */
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.referenz { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten); transition: transform .2s ease, box-shadow .2s ease; }
.referenz { position: relative; }
.referenz-marke { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--nachtblau); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.referenz:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 27, 43, .06), 0 22px 44px rgba(11, 27, 43, .14); }
.referenz img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--linie); }
.referenz-text { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.referenz-text strong { font-size: .95rem; font-weight: 600; }
.referenz-text span { font-size: .85rem; color: var(--text-2); }

/* Betrieb */
.betrieb { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.betrieb-text p:last-child { color: var(--text-2); margin-top: 20px; font-size: 1.08rem; }
.versprechen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.versprechen li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--schatten); border-top: 3px solid var(--tuerkis); }
.versprechen p { color: var(--text-2); font-size: .96rem; margin-top: 8px; }

/* Ablauf */
.ablauf { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.ablauf li { position: relative; padding-top: 8px; }
.ablauf li::before { content: ""; position: absolute; top: 30px; left: 60px; right: -12px; height: 1px; background: var(--linie); }
.ablauf li:last-child::before { display: none; }
.schritt { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nachtblau); color: var(--tuerkis); font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1; }
.ablauf h3 { margin-bottom: 8px; }
.ablauf p { color: var(--text-2); font-size: .98rem; }

/* Kontakt */
.kontakt { background: radial-gradient(900px 420px at 50% 0%, rgba(20, 184, 166, .18), transparent 65%), var(--nachtblau); text-align: center; }
.kontakt-innen { display: flex; flex-direction: column; align-items: center; }
.kontakt h2 { max-width: 20ch; }
.kontakt .abschnitt-einleitung { margin-left: auto; margin-right: auto; }
.kontakt .knopf { font-size: 1.1rem; padding: 16px 28px; }
.kontakt-hinweis { margin-top: 20px; font-size: .9rem; color: rgba(241, 245, 249, .55); }

/* Fuß */
.fuss { background: #07131F; color: rgba(241, 245, 249, .6); padding: 32px 0; font-size: .9rem; }
.fuss-innen { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.fuss-marke { display: flex; align-items: center; gap: 10px; }
.fuss-links { display: flex; gap: 24px; flex-wrap: wrap; }
.fuss-links a { color: rgba(241, 245, 249, .72); text-decoration: none; }
.fuss-links a:hover { color: #fff; }

/* Rechtsseiten */
.recht { padding: 72px 0 112px; }
.recht .rahmen { max-width: 820px; }
.recht h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 32px; }
.recht h2 { font-size: 1.3rem; margin: 40px 0 12px; max-width: none; }
.recht p, .recht li { color: var(--text-2); }
.recht p + p { margin-top: 12px; }
.offen { background: #FEF3C7; color: #92400E; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .9em; }
.fehlerseite { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* Einblenden beim Scrollen (nur mit JS, sonst sofort sichtbar) */
.js .auftauchen { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .auftauchen.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .auftauchen { opacity: 1; transform: none; transition: none; } }

/* ── Tablet ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .held-innen { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .karten.drei, .branchen, .plattformen-klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .betrieb { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .ablauf li::before { display: none; }
  .plattform:first-child { flex-direction: column; }
  .plattform:first-child img { width: 100%; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--linie-dunkel); }
}

/* ── Handy ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .rahmen { padding: 0 16px; }
  .menue-knopf { display: block; }
  .navigation {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nachtblau); border-bottom: 1px solid var(--linie-dunkel);
    padding: 8px 16px 20px;
    display: none;
  }
  .navigation.offen-menue { display: flex; }
  .navigation a:not(.knopf) { padding: 14px 4px; border-bottom: 1px solid var(--linie-dunkel); font-size: 1.05rem; }
  .navigation .knopf { margin-top: 16px; justify-content: center; }
  .held { padding-top: 124px; padding-bottom: 72px; }
  .zahlen { gap: 24px; }
  .zahlen dt { font-size: 1.6rem; }
  .abschnitt { padding: 80px 0; }
  .karten.drei, .branchen, .plattformen, .plattformen-klein, .galerie, .versprechen, .ablauf { grid-template-columns: minmax(0, 1fr); }
  .karten, .branchen, .plattformen, .galerie, .ablauf { margin-top: 40px; }
  .fuss-innen { flex-direction: column; align-items: flex-start; }
}

/* Unterseiten: Kopf ohne Held darunter */
.kopf-fest { background: var(--nachtblau); }
.navigation-fest { display: flex !important; position: static; flex-direction: row; background: none; border: 0; padding: 0; }
.knopfreihe-mitte { justify-content: center; }
