/* Keyfina – Finanzierungspartner. Eigene Schrift, keine fremden Requests, keine Inline-Styles. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --papier: #f3f5f1;
  --weiss: #ffffff;
  --tinte: #15211f;
  --grau: #4c5a56;
  --tanne: #1d4a43;
  --tanne-tief: #12332e;
  --salbei: #dbe6df;
  --messing: #a5762c;
  --messing-hell: #f1e4cc;
  --linie: #c7d2cb;
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

a { color: var(--tanne); text-underline-offset: 3px; }
a:hover { color: var(--tanne-tief); }
:focus-visible { outline: 3px solid var(--messing); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); font-weight: 800; letter-spacing: -.035em; max-width: 14ch; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.text { max-width: 38ch; }
p.text { max-width: 60ch; color: var(--grau); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.klein { font-size: .9rem; color: var(--grau); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(243, 245, 241, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.marke { display: inline-flex; align-items: center; gap: .55rem; color: var(--tinte); text-decoration: none; font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }
.marke .zeichen { width: 2rem; height: 2rem; color: var(--messing); }

/* Knöpfe */
.knopf { display: inline-block; background: var(--tanne); color: #fff; text-decoration: none; font-weight: 700; padding: .8rem 1.3rem; border-radius: var(--radius); border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s; }
.knopf:hover { background: var(--tanne-tief); color: #fff; }
.knopf.klein { padding: .5rem 1rem; font-size: .95rem; }
.knopf.gross { padding: 1rem 1.6rem; font-size: 1.1rem; }
.knopf.voll { display: block; width: 100%; text-align: center; }
.leise { font-weight: 600; }

/* Einstieg mit Weg */
.einstieg { padding: clamp(3rem, 8vw, 6rem) 0 2.5rem; }
.fuer { font-weight: 600; color: var(--messing); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 52ch; color: var(--grau); }
.aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem; }

.weg { margin: clamp(2.5rem, 6vw, 4.5rem) auto 2rem; max-width: var(--breite); padding: 0 var(--rand); }
.stationen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.stationen::before { content: ""; position: absolute; left: 10%; right: 10%; top: 1.25rem; height: 4px; background: linear-gradient(90deg, var(--linie) 0 22%, var(--messing) 22% 100%); border-radius: 2px; }
.stationen li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 0 .4rem; }
.stationen .punkt { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--papier); border: 4px solid var(--linie); margin-bottom: .7rem; display: grid; place-items: center; position: relative; z-index: 1; }
.stationen li:nth-child(n+3) .punkt { border-color: var(--messing); }
.stationen strong { font-size: 1rem; }
.stationen span:not(.punkt) { font-size: .88rem; color: var(--grau); }
.stationen .unser .punkt { width: 4.25rem; height: 4.25rem; margin-top: -.9rem; margin-bottom: .4rem; background: var(--tanne); border-color: var(--tanne); color: var(--messing-hell); box-shadow: 0 0 0 6px var(--salbei); }
.stationen .unser .punkt svg { width: 2.2rem; height: 2.2rem; }
.stationen .unser strong { color: var(--tanne); font-size: 1.1rem; }
.stationen .ziel .punkt { background: var(--messing); }
.weg.an .unser .punkt { animation: einrasten .9s cubic-bezier(.2, .9, .3, 1.3) both .3s; }
@keyframes einrasten { from { transform: scale(.6) rotate(-35deg); opacity: 0; } to { transform: none; opacity: 1; } }

.vertrauen { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; font-weight: 600; font-size: .95rem; }
.vertrauen li { display: flex; align-items: center; gap: .5rem; }
.vertrauen li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--messing); }

/* Abschnitte */
.abschnitt { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.abschnitt.hell { background: var(--weiss); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2rem; }
.drei article { border-top: 3px solid var(--tanne); padding-top: 1.2rem; }
.drei article p { color: var(--grau); }
.karten article { background: var(--weiss); border: 1px solid var(--linie); border-top: 3px solid var(--messing); border-radius: 0 0 var(--radius) var(--radius); padding: 1.5rem; }
.karten article.hervor { border-color: var(--tanne); box-shadow: 0 0 0 2px var(--tanne) inset; }
.zweiter { margin-top: 2.5rem; padding: 1.6rem 1.8rem; background: var(--salbei); border-radius: var(--radius); max-width: 48rem; }
.zweiter h3 { margin-bottom: .4rem; }
.zweiter p { margin: 0; }

.zweispaltig { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { padding: 1rem 0 1rem 2.2rem; border-bottom: 1px solid var(--linie); position: relative; color: var(--grau); }
.liste li:first-child { padding-top: 0; }
.liste li:first-child::before { top: .35rem; }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 1.1rem; height: .55rem; border-left: 3px solid var(--messing); border-bottom: 3px solid var(--messing); transform: rotate(-45deg); }
.liste strong { color: var(--tinte); }

.schritte { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; position: relative; padding-top: 3.2rem; }
.schritte li::before { content: counter(schritt); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--tanne); color: #fff; font-weight: 800; display: grid; place-items: center; }
.schritte p { color: var(--grau); }

/* Termin */
.termin { background: var(--tanne); color: #e9f0ec; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.termin h2 { color: #fff; }
.termin a { color: var(--messing-hell); }
.termin .klein { color: #c4d4cc; }
.spezialist { border-left: 3px solid var(--messing); padding: .3rem 0 .3rem 1rem; margin: 1.8rem 0; }
.spezialist .wer { margin-bottom: .4rem; }
.spezialist .wer strong { color: #fff; font-size: 1.15rem; }
.rueckruf { background: var(--weiss); color: var(--tinte); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: .9rem; }
.rueckruf label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.rueckruf input, .rueckruf select { font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid #a9b7b0; border-radius: var(--radius); background: #fff; color: var(--tinte); width: 100%; }
.rueckruf .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.rueckruf .klein { color: var(--grau); margin: 0; }
.rueckruf .klein a { color: var(--tanne); }
.rueckruf .hp { position: absolute; left: -9999px; }
.meldung { background: var(--messing-hell); color: var(--tinte); padding: .7rem .9rem; border-radius: var(--radius); margin: 0; font-weight: 600; }

/* Fragen */
.fragen { margin-top: 1.5rem; max-width: 48rem; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; font-weight: 700; padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: .2rem; top: .9rem; font-size: 1.5rem; color: var(--messing); transition: transform .2s; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details div { color: var(--grau); padding-bottom: .6rem; }

/* Schluss + Fuß */
.schluss { padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: left; border-top: 1px solid var(--linie); }
.schluss h2 { max-width: 24ch; }
.fuss { background: var(--tanne-tief); color: #c4d4cc; padding: 3.5rem 0 6rem; font-size: .93rem; }
.fuss a { color: #e9f0ec; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }
.fuss h2 { color: #fff; font-size: .95rem; font-weight: 700; margin: 0 0 .8rem; letter-spacing: 0; }
.fuss address { font-style: normal; }
.fuss-spalten { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; }
.fuss-spalten nav { display: flex; flex-direction: column; gap: .45rem; }
.fuss .marke { color: #fff; margin-bottom: .8rem; }
.fuss .marke .zeichen { color: var(--messing-hell); }
.fuss-marke p { max-width: 34ch; }
.fuss-unten { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.fuss-unten p { margin: 0; max-width: 70ch; }
.fuss-unten nav { display: flex; gap: 1.5rem; }
@media (max-width: 860px) { .fuss-spalten { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }

/* Navigation */
.sprung { position: absolute; left: -9999px; top: 0; background: var(--tanne); color: #fff; padding: .6rem 1rem; z-index: 30; }
.sprung:focus { left: 1rem; top: .5rem; }
.menue summary { display: none; list-style: none; cursor: pointer; padding: .6rem; margin-right: -.6rem; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary span { display: block; width: 1.4rem; height: 2px; background: var(--tinte); margin: 5px 0; transition: transform .2s, opacity .2s; }
.navi { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); font-size: .97rem; font-weight: 600; }
.navi a:not(.knopf) { color: var(--tinte); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.navi a:not(.knopf):hover { border-bottom-color: var(--linie); }
.navi a[aria-current="page"] { border-bottom-color: var(--messing); }
@media (min-width: 1041px) { .menue > nav { display: flex !important; } .menue summary { display: none; } }
@media (max-width: 1040px) {
  .menue summary { display: block; }
  .menue:not([open]) > nav { display: none; }
  .menue[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menue[open] summary span:nth-child(2) { opacity: 0; }
  .menue[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navi { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--papier); border-bottom: 1px solid var(--linie); padding: .5rem var(--rand) 1.2rem; box-shadow: 0 12px 24px rgba(21,33,31,.08); }
  .navi a:not(.knopf) { padding: .85rem 0; border-bottom: 1px solid var(--linie); }
  .navi a[aria-current="page"] { color: var(--tanne); border-bottom-color: var(--linie); }
  .navi .knopf { margin-top: 1rem; text-align: center; }
}
.kopf .huelle { position: relative; }

/* Unterseiten */
.seitenkopf { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 18ch; }
.h3 { font-size: 1.2rem; font-weight: 700; }
.karte-link { display: flex; flex-direction: column; background: var(--papier); border: 1px solid var(--linie); border-top: 3px solid var(--messing); border-radius: 0 0 var(--radius) var(--radius); padding: 1.5rem; color: var(--tinte); text-decoration: none; transition: border-color .15s, transform .15s; }
.karte-link:hover { border-color: var(--tanne); color: var(--tinte); transform: translateY(-2px); }
.karte-link p { color: var(--grau); flex: 1; }
.karte-link .mehr { font-weight: 700; color: var(--tanne); }
.karte-link .mehr::after { content: ""; display: inline-block; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: .45rem; vertical-align: .1rem; }
.vier { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2rem); margin-top: 2rem; }
.vier > div { border-top: 3px solid var(--tanne); padding-top: 1rem; }
.vier p { color: var(--grau); margin: 0; }
.zwei-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2rem; }
.zwei-raster article { border-top: 3px solid var(--tanne); padding-top: 1.1rem; }
.zwei-raster article p { color: var(--grau); }
.person { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem; }
.personen .person { border-top: 3px solid var(--messing); border-radius: 0 0 var(--radius) var(--radius); }
.person p { margin: 0 0 .3rem; }
.person-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.person .leise { display: inline-block; margin-top: .8rem; }
.termin h3 { color: #fff; font-size: 1.05rem; margin: 1.6rem 0 .3rem; }
.termin address { font-style: normal; }
.recht .huelle { max-width: 48rem; }
@media (max-width: 860px) { .vier, .zwei-raster { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1100px) { .vier { grid-template-columns: 1fr 1fr; } }

/* Mobile Leiste */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem var(--rand); background: rgba(243, 245, 241, .96); border-top: 1px solid var(--linie); transform: translateY(110%); transition: transform .25s; z-index: 20; }
.leiste.an { transform: none; }
@media (min-width: 900px) { .leiste { display: none; } .fuss { padding-bottom: 2rem; } }

/* Rechtsseiten */
.recht { padding: 3rem 0 4rem; }
.recht h1 { font-size: clamp(2rem, 5vw, 3rem); }
.recht h2 { font-size: 1.25rem; margin-top: 2rem; }
.recht address { font-style: normal; }
.recht .huelle { max-width: 48rem; }
.platzhalter { background: #fde9a8; color: var(--tinte); padding: 0 .2em; border-radius: 2px; }

@media (max-width: 860px) {
  .drei, .schritte { grid-template-columns: 1fr; }
  .zweispaltig { grid-template-columns: 1fr; }
  .stationen { grid-template-columns: 1fr; gap: 1.1rem; padding-left: .2rem; }
  .stationen::before { left: 1.25rem; right: auto; top: 1rem; bottom: 1rem; width: 4px; height: auto; background: linear-gradient(180deg, var(--linie) 0 20%, var(--messing) 20% 100%); }
  .stationen li { display: grid; grid-template-columns: 2.5rem 1fr; grid-template-rows: auto auto; align-items: center; text-align: left; column-gap: .9rem; row-gap: 0; padding: 0; }
  .stationen .punkt { margin: 0; grid-row: 1 / span 2; }
  .stationen strong, .stationen span:not(.punkt) { grid-column: 2; }
  .stationen strong { align-self: end; }
  .stationen span:not(.punkt) { align-self: start; }
  .stationen .unser .punkt { width: 2.5rem; height: 2.5rem; margin: 0; box-shadow: 0 0 0 5px var(--salbei); }
  .stationen .unser .punkt svg { width: 1.4rem; height: 1.4rem; }
}
@media (max-width: 480px) { .rueckruf .zwei { grid-template-columns: 1fr; } }

/* Hinweis § 34i unter Personen/Ablauf (16.11.2026) */
.hinweis-34i { max-width: 70ch; margin-top: 1.5rem; }
