/* Website ROK Office (Landingpage). Keine fremden Quellen, Schrift liegt in schriften/. */
@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("schriften/manrope-latin-ext-wght-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("schriften/manrope-latin-wght-normal.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;
}

:root {
  color-scheme: light;
  --tinte: #1f3a5f;
  --tinte-tief: #0c1626;
  --blau: #3b74c9;
  --blau-hell: #8fb8f5;
  --gold: #c8a45c;
  --text: #10141b;
  --grau: #5d6673;
  --grau-hell: #8a929e;
  --linie: #e4e7ec;
  --grund: #fbfbfd;
  --zart: #f3f5f8;
  --weiss: #ffffff;
  --radius: 22px;
  --schatten: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .12);
  --rand: clamp(16px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -0.035em; line-height: 1.04; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }

.sprung { position: absolute; left: -9999px; top: 8px; background: var(--tinte); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.sprung:focus { left: 8px; }

.breite { width: min(1080px, 100%); margin-inline: auto; padding-inline: var(--rand); }
.breite--weit { width: min(1240px, 100%); }
.breite--schmal { width: min(780px, 100%); }

.vorzeile { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blau); margin-bottom: 18px; }
.verlauf { background: linear-gradient(95deg, var(--tinte) 0%, var(--blau) 60%, #6aa0ea 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.verlauf--hell { background-image: linear-gradient(95deg, #ffffff 0%, var(--blau-hell) 55%, #e6c98a 110%); }
.fliess { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--grau); max-width: 36em; margin-top: 20px; }
.fliess--mitte { margin-inline: auto; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  padding: .72em 1.3em; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.knopf--voll { background: var(--tinte); color: #fff; box-shadow: 0 6px 18px -8px rgba(31, 58, 95, .7); }
.knopf--voll:hover { background: #274a79; transform: translateY(-1px); }
.knopf--text { color: var(--blau); padding-inline: .4em; }
.knopf--text:hover { text-decoration: underline; text-underline-offset: 4px; }
.knopf--klein { font-size: .9rem; padding: .5em 1.1em; background: var(--tinte); color: #fff; }
.knopf--klein:hover { background: #274a79; }
.knopf--gross { font-size: 1.08rem; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .72); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.kopf--linie { border-bottom-color: var(--linie); }
.kopf__innen { width: min(1240px, 100%); margin-inline: auto; padding: 12px var(--rand); display: flex; align-items: center; gap: 24px; }
.marke { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; text-decoration: none; color: var(--tinte); }
.marke span { color: var(--gold); }
.kopf__nav { display: flex; gap: 28px; margin-left: auto; font-size: .93rem; font-weight: 600; color: var(--grau); }
.kopf__nav a { text-decoration: none; }
.kopf__nav a:hover { color: var(--text); }
@media (max-width: 700px) { .kopf__nav { display: none; } .kopf__innen .knopf { margin-left: auto; } }

/* Einstieg */
.held { position: relative; padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 7vw, 90px); text-align: center; overflow: hidden; }
.held__schein {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(520px 380px at 22% 38%, rgba(59, 116, 201, .16), transparent 70%),
    radial-gradient(560px 400px at 78% 30%, rgba(200, 164, 92, .16), transparent 70%),
    radial-gradient(700px 420px at 50% 78%, rgba(31, 58, 95, .10), transparent 70%);
}
.held__text { position: relative; }
.held__unter { font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--grau); max-width: 31em; margin: 26px auto 0; text-wrap: balance; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center; margin-top: 34px; }

.fenster {
  position: relative; margin: clamp(44px, 7vw, 80px) 0 0; border-radius: clamp(12px, 2vw, 20px); overflow: hidden; background: var(--weiss);
  border: 1px solid rgba(16, 24, 40, .10);
  box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 40px 80px -30px rgba(31, 58, 95, .38), 0 18px 36px -18px rgba(16, 24, 40, .22);
}
.fenster__leiste { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1f3f6; border-bottom: 1px solid var(--linie); }
.fenster__leiste i { width: 11px; height: 11px; border-radius: 50%; background: #d5d9e0; }
.fenster__leiste span { margin: 0 auto; transform: translateX(-28px); font-size: .76rem; font-weight: 600; color: var(--grau-hell); background: #fff; padding: 3px 18px; border-radius: 7px; border: 1px solid var(--linie); }
@media (max-width: 520px) { .fenster__leiste { padding: 8px 10px; } .fenster__leiste i { width: 8px; height: 8px; } .fenster__leiste span { display: none; } }
.bildhinweis { font-size: .8rem; color: var(--grau-hell); margin-top: 14px; text-align: center; }

/* Kernsatz */
.satz { padding: clamp(40px, 8vw, 110px) 0; }
.satz__text { font-size: clamp(1.6rem, 4.3vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.16; color: #a3aab5; max-width: 22em; text-wrap: balance; }
.satz__text span { color: var(--text); }

/* Bereiche */
.bereich { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.bereich--zart { background: var(--zart); }
#preise, #fragen { text-align: center; }

/* Karten */
.raster { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 60px); }
.karte {
  grid-column: span 2; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--schatten); transition: transform .25s ease, box-shadow .25s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 22px 44px -16px rgba(16, 24, 40, .18); }
.karte p { color: var(--grau); margin-top: 10px; font-size: 1rem; }
.karte--breit { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding-right: 0; padding-bottom: 0; overflow: hidden; background: linear-gradient(140deg, #ffffff 30%, #eef3fa 100%); }
.karte--breit .karte__text { padding-bottom: clamp(22px, 3vw, 32px); }
.karte--breit h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.karte--breit p { font-size: 1.08rem; }
.karte--breit img { border-top-left-radius: 14px; border: 1px solid var(--linie); border-right: 0; border-bottom: 0; box-shadow: -12px -8px 40px -18px rgba(31, 58, 95, .3); width: 130%; max-width: none; }
.symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eaf0f9; color: var(--tinte); margin-bottom: 18px; }
.symbol svg, .zusage svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .karte { grid-column: span 3; } .karte--breit { grid-column: span 6; } }
@media (max-width: 640px) {
  .karte { grid-column: span 6; }
  .karte--breit { grid-template-columns: 1fr; padding-right: 0; }
  .karte--breit .karte__text { padding-right: clamp(22px, 3vw, 32px); padding-bottom: 0; }
  .karte--breit img { width: 118%; margin-left: clamp(22px, 3vw, 32px); }
}

/* Dunkler Bereich */
.dunkel { background: var(--tinte-tief); color: #fff; overflow: hidden; }
.dunkel__schein {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 12% 0%, rgba(59, 116, 201, .34), transparent 70%),
    radial-gradient(520px 380px at 92% 96%, rgba(200, 164, 92, .18), transparent 70%);
}
.dunkel .breite { position: relative; }
.dunkel .vorzeile { color: var(--blau-hell); }
.dunkel__unter { font-size: clamp(1.08rem, 1.9vw, 1.3rem); color: #aeb9c9; max-width: 33em; margin-top: 24px; }
.liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 68px); background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .10); border-radius: var(--radius); overflow: hidden; }
.liste__punkt { background: #101c30; padding: clamp(22px, 3.4vw, 36px); }
.liste__punkt p { color: #aeb9c9; margin-top: 10px; }
@media (max-width: 700px) { .liste { grid-template-columns: 1fr; } }
.zusage { display: flex; align-items: flex-start; gap: 12px; margin-top: 30px; color: #dfe6f0; font-weight: 600; }
.zusage svg { flex: none; color: #e6c98a; margin-top: 2px; }

/* Zwei Spalten mit Handy */
.zwei { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.zwei h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); }
.haken { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-weight: 600; }
.haken li { position: relative; padding-left: 30px; }
.haken li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px; border-left: 2.5px solid var(--blau); border-bottom: 2.5px solid var(--blau); transform: rotate(-45deg); transform-origin: left bottom; translate: 6px -4px; }
.handy { margin: 0 auto; width: min(300px, 78vw); padding: 10px; border-radius: 44px; background: #0d1522; box-shadow: 0 40px 70px -30px rgba(31, 58, 95, .55), 0 0 0 1px rgba(16, 24, 40, .2); }
.handy img { border-radius: 34px; }
@media (max-width: 800px) { .zwei { grid-template-columns: 1fr; } }

/* Preisrechner */
.rechner {
  margin: clamp(32px, 5vw, 52px) auto 0; width: min(760px, 100%); text-align: left;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 28px; padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 30px 60px -28px rgba(31, 58, 95, .3);
}
.rechner__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.rechner__zahl { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.rechner__stufe { color: var(--grau); font-size: .95rem; margin-top: 2px; }
.rechner__preis { text-align: right; margin-left: auto; }
.rechner__betrag { font-size: clamp(2.8rem, 9vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--tinte); font-variant-numeric: tabular-nums; }
.rechner__betrag.ist-text { font-size: clamp(2rem, 6.4vw, 3rem); letter-spacing: -0.035em; }
.rechner__waehrung { font-size: .5em; letter-spacing: 0; margin-left: .08em; }
.rechner__takt { color: var(--grau); font-size: .95rem; margin-top: 6px; }

.regler { margin-top: 30px; --p: 15%; }
.regler input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y;
}
.regler input::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--tinte) 0%, var(--blau) var(--p), #e3e7ee var(--p)); }
.regler input::-moz-range-track { height: 8px; border-radius: 99px; background: #e3e7ee; }
.regler input::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--tinte), var(--blau)); }
.regler input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(16, 24, 40, .12); box-shadow: 0 2px 4px rgba(16, 24, 40, .12), 0 6px 14px rgba(31, 58, 95, .28); transition: transform .15s ease;
}
.regler input::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid rgba(16, 24, 40, .12); box-shadow: 0 2px 4px rgba(16, 24, 40, .12), 0 6px 14px rgba(31, 58, 95, .28); }
.regler input:active::-webkit-slider-thumb { transform: scale(1.12); }
.regler__marken { position: relative; height: 22px; margin: 6px 15px 0; font-size: .8rem; font-weight: 600; color: var(--grau-hell); }
.regler__marken span { position: absolute; transform: translateX(-50%); transition: color .2s ease; }
.regler__marken span:last-child { transform: translateX(-100%); margin-left: 15px; }
.regler__marken span.ist-an { color: var(--tinte); }

.schalter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 16px; margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: var(--zart); cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.schalter:has(input:checked) { background: #eaf1fb; box-shadow: inset 0 0 0 1.5px rgba(59, 116, 201, .45); }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.schalter__knopf { width: 50px; height: 30px; border-radius: 99px; background: #cfd5de; position: relative; transition: background-color .2s ease; flex: none; }
.schalter__knopf::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .25); transition: transform .22s cubic-bezier(.3, 1.4, .5, 1); }
.schalter input:checked + .schalter__knopf { background: var(--blau); }
.schalter input:checked + .schalter__knopf::after { transform: translateX(20px); }
.schalter input:focus-visible + .schalter__knopf { outline: 3px solid var(--blau); outline-offset: 3px; }
.schalter__text { font-size: .93rem; color: var(--grau); line-height: 1.4; }
.schalter__text strong { display: block; color: var(--text); font-size: 1.02rem; }
.schalter__preis { font-weight: 800; color: var(--tinte); white-space: nowrap; }
.schalter.ist-aus { opacity: .5; pointer-events: none; }
@media (max-width: 560px) { .schalter { grid-template-columns: auto 1fr; } .schalter__preis { grid-column: 2; } }

.rechner__fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--linie); }
.rechner__zeile { color: var(--grau); font-size: .98rem; flex: 1 1 16em; }

.stufen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(760px, 100%); margin: 18px auto 0; }
.stufe { font: inherit; text-align: left; cursor: pointer; background: transparent; border: 1px solid var(--linie); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; color: var(--grau); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.stufe:hover { border-color: #c5ccd7; }
.stufe__name { font-size: .82rem; font-weight: 600; }
.stufe__preis { font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.stufe.ist-an { background: var(--weiss); border-color: var(--blau); box-shadow: 0 0 0 1px var(--blau); color: var(--tinte); }
@media (max-width: 640px) { .stufen { grid-template-columns: repeat(2, 1fr); } }
.kleingedrucktes { font-size: .85rem; color: var(--grau-hell); margin-top: 22px; }

/* Drei Punkte */
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(36px, 5vw, 60px); }
.drei__punkt { border-top: 2px solid var(--tinte); padding-top: 20px; }
.drei__punkt p { color: var(--grau); margin-top: 10px; }
@media (max-width: 760px) { .drei { grid-template-columns: 1fr; } }

/* Fragen */
.fragen { text-align: left; margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid #d9dee6; }
.fragen details { border-bottom: 1px solid #d9dee6; }
.fragen summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--grau); border-bottom: 2px solid var(--grau); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.fragen details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fragen details p { color: var(--grau); padding: 0 44px 24px 0; max-width: 40em; }

/* Abschluss und Fuß */
.schluss { padding: clamp(80px, 13vw, 170px) 0; text-align: center; background: radial-gradient(700px 360px at 50% 100%, rgba(59, 116, 201, .14), transparent 70%); }
.schluss h2 { font-size: clamp(2.3rem, 7vw, 4.6rem); }
.fuss { border-top: 1px solid var(--linie); padding: 34px 0 44px; font-size: .9rem; color: var(--grau); }
.fuss__innen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.fuss nav a { text-decoration: none; }
.fuss nav a:hover { color: var(--text); }
.fuss p { margin-left: auto; color: var(--grau-hell); }
@media (max-width: 760px) { .fuss p { margin-left: 0; flex-basis: 100%; } }

/* Einblenden beim Scrollen (nur mit JavaScript und ohne „weniger Bewegung“) */
@media (prefers-reduced-motion: no-preference) {
  .mit-js .zeig { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--warte, 0ms); }
  .mit-js .zeig.ist-da { opacity: 1; transform: none; }
  .mit-js .fenster.zeig { transform: translateY(40px) scale(.97); }
  .mit-js .fenster.zeig.ist-da { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Textseiten (Impressum, Datenschutz, 404) */
.text-seite { background: var(--grund); }
.text-seite__inhalt { width: min(760px, 100%); margin-inline: auto; padding: 40px var(--rand) 90px; }
.text-seite__inhalt h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 48px 0 24px; }
.text-seite__inhalt h2 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.3; margin: 36px 0 10px; }
.text-seite__inhalt p, .text-seite__inhalt li { color: #3d4551; margin-top: 10px; }
.text-seite__inhalt ul { padding-left: 1.2em; }
.text-seite__inhalt a:not(.knopf):not(.marke) { color: var(--blau); }
.entwurf { background: #fff6e0; border: 1px solid #ecd9a4; color: #6b5210; border-radius: 14px; padding: 14px 18px; margin-top: 28px; font-weight: 600; font-size: .95rem; }
.offen { background: #fff0c9; border-radius: 5px; padding: 0 5px; font-weight: 700; color: #6b5210; }
