/* Verkaufsseite der Persoverwaltung. Farben wie in der Anwendung, keine fremden Schriften. */
:root {
  --text: #0f172a; --text-2: #475569; --text-3: #7b8799;
  --bg: #ffffff; --grau: #f4f6fa; --rand: #e3e8ef;
  --primaer: #1f3fd1; --primaer-dunkel: #1832ab; --primaer-hell: #eaeefc;
  --gruen: #17803d; --gruen-hell: #e6f5ec; --gelb: #b25e09; --gelb-hell: #fdf3e2; --rot: #c8281e; --rot-hell: #fdecea;
  --radius: 12px;
  --schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font: 17px/1.6 var(--schrift); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
a { color: var(--primaer); }
img { max-width: 100%; }
.breite { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.schmal { max-width: 780px; }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.klein { font-size: 14px; color: var(--text-3); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 9px; border: 1px solid var(--rand); background: #fff; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.knopf:hover { border-color: #cdd5df; }
.knopf.primaer { background: var(--primaer); border-color: var(--primaer); color: #fff; }
.knopf.primaer:hover { background: var(--primaer-dunkel); }
.knopf.leise { border-color: transparent; background: transparent; }
.knopf.gross { height: 50px; padding: 0 24px; font-size: 16px; }
.knopf-reihe { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rand); }
.kopf-innen { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.logo b { color: var(--primaer); font-weight: 700; }
.kopf-nav { display: flex; gap: 22px; margin-left: auto; }
.kopf-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.kopf-nav a:hover { color: var(--text); }
.kopf-knoepfe { display: flex; gap: 8px; }

/* Einstieg */
.held { padding: 72px 0 80px; background: linear-gradient(180deg, var(--primaer-hell), #fff 70%); }
.held-innen { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.marke-zeile { color: var(--primaer); font-weight: 650; font-size: 15px; margin-bottom: 14px; }
.held h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 750; }
.einleitung { font-size: 19px; color: var(--text-2); margin-top: 20px; max-width: 34em; }
.vorschau { background: #fff; border: 1px solid var(--rand); border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .12); padding: 16px; }
.vorschau-kopf { display: flex; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--rand); margin-bottom: 6px; }
.vorschau-kopf span { width: 10px; height: 10px; border-radius: 50%; background: var(--rand); }
.vorschau-zeile { display: flex; justify-content: space-between; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--grau); font-size: 15px; }
.ampel { font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.ampel.gruen { background: var(--gruen-hell); color: var(--gruen); }
.ampel.gelb { background: var(--gelb-hell); color: var(--gelb); }
.ampel.rot { background: var(--rot-hell); color: var(--rot); }
.vorschau-fuss { margin-top: 14px; text-align: center; padding: 10px; border-radius: 9px; background: var(--primaer); color: #fff; font-weight: 600; font-size: 14px; }

/* Abschnitte */
.abschnitt { padding: 84px 0; }
.abschnitt.grau { background: var(--grau); }
.abschnitt h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 720; margin-bottom: 14px; }
.untertitel { color: var(--text-2); font-size: 18px; margin-bottom: 32px; }
.schritte { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.schritte li { counter-increment: s; display: grid; gap: 8px; align-content: start; }
.schritte li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primaer-hell); color: var(--primaer); font-weight: 700; }
.schritte span { color: var(--text-2); font-size: 15.5px; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.kachel { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 24px; }
.kachel h3 { font-size: 18px; margin-bottom: 8px; }
.kachel p { color: var(--text-2); font-size: 15.5px; }

/* Preise */
.tarife { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.tarif { position: relative; border: 1.5px solid var(--rand); border-radius: var(--radius); padding: 26px; }
.tarif.empfohlen { border-color: var(--primaer); background: var(--primaer-hell); }
.tarif h3 { font-size: 19px; }
.tarif .preis { font-size: 34px; font-weight: 750; letter-spacing: -.03em; margin: 10px 0 8px; }
.tarif .preis small { font-size: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.tarif p:last-child { color: var(--text-2); font-size: 15px; }
.abzeichen { position: absolute; top: -12px; right: 18px; background: var(--gruen); color: #fff; font-size: 13px; font-weight: 650; padding: 3px 10px; border-radius: 99px; }
.tabelle-rahmen { overflow-x: auto; margin: 32px 0 12px; border: 1px solid var(--rand); border-radius: var(--radius); }
.preistabelle { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.preistabelle th, .preistabelle td { padding: 11px 16px; text-align: right; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.preistabelle th:first-child, .preistabelle td:first-child { text-align: left; }
.preistabelle th { background: var(--grau); font-weight: 600; font-size: 14px; color: var(--text-2); }
.preistabelle tbody tr:last-child td { border-bottom: 0; }
.hinweis-kasten { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--grau); display: grid; gap: 16px; justify-items: start; color: var(--text-2); }
.hinweis-kasten b { color: var(--text); }

/* Fragen */
details { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 0 20px; margin-top: 12px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
details p { padding: 0 0 18px; color: var(--text-2); }

/* Fuß */
.fuss { border-top: 1px solid var(--rand); padding: 28px 0; font-size: 14px; color: var(--text-3); }
.fuss-innen { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fuss nav { display: flex; gap: 18px; flex-wrap: wrap; }
.fuss a { color: var(--text-2); text-decoration: none; }
.fuss a:hover { color: var(--text); }

/* Rechtstexte */
.text-seite { padding: 56px 0 80px; }
.text-seite h1 { font-size: 34px; margin-bottom: 24px; }
.text-seite h2 { font-size: 19px; margin: 28px 0 8px; }
.text-seite p, .text-seite li { color: var(--text-2); }
.text-seite p + p { margin-top: 10px; }

@media (max-width: 900px) {
  .held-innen { grid-template-columns: 1fr; }
  .vorschau { display: none; }
  .kopf-nav { display: none; }
  .kopf-knoepfe { margin-left: auto; }
  .schritte, .kacheln { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nur-breit { display: none; }
  .schritte, .kacheln, .tarife { grid-template-columns: 1fr; }
  .held { padding: 48px 0 56px; }
  .abschnitt { padding: 60px 0; }
}
