/* n&f faktura – Landingpage. Farben und Schrift nach ci/ (Türkis #1EBBD7, Dunkelblau #1F3B57, Montserrat). */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('schrift/montserrat-latin-ext-wght-normal.woff2') format('woff2-variations');
  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('schrift/montserrat-latin-wght-normal.woff2') format('woff2-variations');
  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;
}

:root {
  --tuerkis: #1ebbd7;
  --tuerkis-dunkel: #0f8ea6;
  --tuerkis-hell: #e3f6fa;
  --blau: #1f3b57;
  --blau-tief: #152a3f;
  --text: #1f3b57;
  --text-leise: #52677c;
  --flaeche: #f3f7fa;
  --linie: #dce5ec;
  --weiss: #fff;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(31, 59, 87, .06), 0 12px 32px rgba(31, 59, 87, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--tuerkis-dunkel); }
code { font-size: .88em; background: var(--tuerkis-hell); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }

.am-stueck { white-space: nowrap; }

.rahmen { width: min(1180px, 100% - 32px); margin-inline: auto; }
.schmal { width: min(780px, 100% - 32px); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { display: flex; align-items: center; gap: 32px; height: 68px; }
.marke img { width: 112px; }
.marke + .knopf { margin-left: auto; }
.menue { display: flex; gap: 26px; margin-left: auto; }
.menue a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.menue a:hover { color: var(--tuerkis-dunkel); }

/* Knöpfe */
.knopf {
  display: inline-block;
  background: var(--blau); color: var(--weiss);
  padding: 13px 24px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--blau);
  transition: background .15s, transform .15s;
}
.knopf:hover { background: var(--blau-tief); transform: translateY(-1px); }
.knopf:focus-visible, .menue a:focus-visible, summary:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 3px; }
.knopf-hell { background: var(--weiss); color: var(--blau); border-color: var(--linie); }
.knopf-hell:hover { background: var(--flaeche); }
.knopf-klein { padding: 9px 18px; font-size: .92rem; }
.knopf-gross { font-size: 1.1rem; padding: 16px 32px; background: var(--tuerkis); border-color: var(--tuerkis); color: var(--blau-tief); }
.knopf-gross:hover { background: #45c9e0; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }

/* Einstieg */
.held {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(30, 187, 215, .18), transparent 60%),
    linear-gradient(180deg, var(--flaeche), var(--weiss));
  padding: 72px 0 88px;
  overflow: hidden;
}
.held-text { max-width: 860px; margin: 0 auto; text-align: center; }
.claim { color: var(--tuerkis-dunkel); font-weight: 600; letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; }
h1 span { color: var(--tuerkis-dunkel); }
.einleitung { font-size: 1.12rem; color: var(--text-leise); max-width: 720px; margin-inline: auto; }
.held .knopfreihe { justify-content: center; }
.haken-kurz { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: .9rem; color: var(--text-leise); }
.haken-kurz li::before, .liste li::before {
  content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%231EBBD7'/%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.held .held-bild { max-width: 1120px; margin: 56px auto 0; }

/* Bildschirmfenster um Screenshots */
.fenster {
  margin: 0;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  border: 1px solid var(--linie);
  overflow: hidden;
}
.fenster { transition: transform .2s, box-shadow .2s; }
.fenster:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31, 59, 87, .08), 0 20px 44px rgba(31, 59, 87, .16); }
.fenster img { cursor: zoom-in; }
.fenster img:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: -3px; }

/* Vergrößerte Ansicht */
.gross {
  border: 0; padding: 0; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  cursor: zoom-out;
}
.gross[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.gross::backdrop { background: rgba(21, 42, 63, .95); }
.gross img {
  max-width: min(96vw, 2000px); max-height: calc(100vh - 90px);
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); background: var(--weiss);
}
.gross-flaeche { max-width: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
.gross-text { color: #dbe6ee; font-size: .9rem; margin: 0; max-width: 90vw; text-align: center; }
.gross-zu {
  position: fixed; top: 14px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .15); color: var(--weiss); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.gross-zu:hover { background: rgba(255, 255, 255, .28); }

.fenster-leiste { display: flex; gap: 6px; padding: 10px 14px; background: #eef3f6; border-bottom: 1px solid var(--linie); }
.fenster-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #c9d5de; }

/* Abschnitte */
.abschnitt { padding: 96px 0; }
.abschnitt-hell { background: var(--flaeche); }
.titel { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; text-align: center; }
.untertitel { text-align: center; color: var(--text-leise); font-size: 1.08rem; max-width: 640px; margin: 0 auto 48px; }
.links { text-align: left; margin-left: 0; }

.karten { display: grid; gap: 24px; }
.drei { grid-template-columns: repeat(3, 1fr); }
.zwei { grid-template-columns: repeat(2, 1fr); }
.vier { grid-template-columns: repeat(4, 1fr); }
.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 28px;
}
.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }
.karte p { color: var(--text-leise); }
.klein .karte { padding: 22px; }
.klein .karte p { font-size: .93rem; }
.symbol { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tuerkis-hell); margin-bottom: 18px; }
.symbol svg { width: 26px; height: 26px; fill: none; stroke: var(--tuerkis-dunkel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Ablauf */
.schritte { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; position: relative; padding-top: 64px; }
.schritte li::before {
  content: counter(schritt);
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tuerkis); color: var(--weiss); font-weight: 700; font-size: 1.2rem;
}
.schritte li:not(:last-child)::after {
  content: ''; position: absolute; top: 23px; left: 58px; right: -12px;
  border-top: 2px dashed #b6e3ec;
}
.schritte p { color: var(--text-leise); font-size: .95rem; }

/* Funktionen */
.zeile { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.zeile.umgekehrt .zeile-text { order: 2; }
.zeile h3 { font-size: 1.5rem; font-weight: 800; }
.zeile-text > p { color: var(--text-leise); }
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { padding: 5px 0 5px 26px; text-indent: -26px; }

/* Prüfung */
.abschnitt-dunkel { background: var(--blau); color: var(--weiss); }
.abschnitt-dunkel .untertitel { color: #b9cad9; }
.abschnitt-dunkel .karte { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.abschnitt-dunkel .karte p { color: #c9d7e3; }
.pruef-wert { font-size: 1.6rem; font-weight: 800; color: var(--tuerkis) !important; margin-bottom: 6px; }

/* System */
.plattformen { max-width: 720px; margin-inline: auto; text-align: center; }
.plattformen h3 { font-size: 1.3rem; margin-bottom: 4px; }

/* Fragen */
details { border-bottom: 1px solid var(--linie); }
details:first-of-type { border-top: 1px solid var(--linie); margin-top: 40px; }
summary {
  cursor: pointer; list-style: none;
  padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--tuerkis-dunkel);
}
details[open] summary::after { content: '–'; }
details p { color: var(--text-leise); padding-bottom: 8px; }

/* Abschluss */
.abschluss { text-align: center; background: linear-gradient(180deg, var(--weiss), var(--tuerkis-hell)); }
.abschluss-innen { max-width: 640px; }
.abschluss-symbol { width: 96px; margin: 0 auto 24px; }
.abschluss h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.abschluss p { color: var(--text-leise); font-size: 1.08rem; margin-bottom: 28px; }

/* Fuß */
.fuss { background: var(--flaeche); border-top: 1px solid var(--linie); padding: 40px 0; font-size: .9rem; color: var(--text-leise); }
.fuss-innen { text-align: center; }
.fuss-logo { width: 120px; margin: 0 auto 16px; }
.fuss p { margin: 0 0 4px; }
.fuss .klein { font-size: .8rem; }
.fuss-links { margin: 8px 0 !important; }
.fuss-links a { color: var(--text); font-weight: 500; text-decoration: none; }
.fuss-links a:hover, .fuss-links a[aria-current] { color: var(--tuerkis-dunkel); text-decoration: underline; }

/* Impressum und Datenschutz */
.rechtstext h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 24px; }
.rechtstext h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 10px; }
.rechtstext p { color: var(--text-leise); }
.rechtstext a { overflow-wrap: anywhere; }
.rechtstext .stand { margin-top: 40px; font-size: .9rem; }

/* Tablet */
@media (max-width: 1000px) {
  .zeile { grid-template-columns: 1fr; gap: 40px; }
  .held .held-bild { margin-top: 40px; }
  .zeile.umgekehrt .zeile-text { order: 0; }
  .zeile { margin-bottom: 72px; }
  .drei, .vier { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .schritte li::after { display: none; }
  .menue { display: none; }
  .kopf-innen { justify-content: space-between; }
}

/* Handy */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .held { padding: 44px 0 56px; }
  .abschnitt { padding: 64px 0; }
  .drei, .vier, .zwei, .schritte { grid-template-columns: 1fr; }
  .karte { padding: 22px; }
  .knopfreihe .knopf { flex: 1 1 auto; text-align: center; }
  .untertitel { margin-bottom: 32px; }
  .knopf-gross { font-size: 1rem; padding: 14px 20px; }
  /* Auf dem Handy doppelt so breit wie der Bildschirm, zum Wischen */
  .gross-flaeche { width: 100vw; padding: 0 12px; }
  .gross img { max-width: none; max-height: none; width: 200vw; border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .fenster { transition: none; }
  .fenster:hover { transform: none; }
}
