/* Gestaltung der Landing Page (paratino.at) – gemeinsam für die Startseite und die Bereichsseiten.
   Farben wie in der App (src/styles.css). */
:root {
  --bg: #F6EEDF; --karte: #FFFBF4; --ink: #081A3E; --mut: #6D7488; --hover: #2F4C82;
  --auf-dunkel: #FBF3E4; --beige: #E3CEA5; --linie: #EBE1CE;
  --r-karte: 20px; --r-knopf: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.breit { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }

/* Knöpfe wie in der App */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-knopf); border: 2px solid var(--ink); background: var(--karte); color: var(--ink);
  font: 700 17px/1 inherit; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.knopf:hover { background: #F1E7D5; }
.knopf.voll { background: var(--ink); color: var(--auf-dunkel); }
.knopf.voll:hover { background: var(--hover); border-color: var(--hover); }
.knopf.hell { background: var(--auf-dunkel); color: var(--ink); border-color: var(--auf-dunkel); }
.knopf.hell:hover { background: var(--beige); border-color: var(--beige); }
.knopf.rand-hell { background: transparent; color: var(--auf-dunkel); border-color: var(--auf-dunkel); }
.knopf.rand-hell:hover { background: rgba(251, 243, 228, .12); }
.knopf.gross { min-height: 56px; padding: 0 28px; font-size: 18px; }

/* Kopfleiste */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(246, 238, 223, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .breit { display: flex; align-items: center; gap: 18px; height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.marke img { width: 38px; height: 38px; border-radius: 10px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.1; }
.marke-text small { font-size: 13px; font-weight: 600; color: var(--mut); letter-spacing: .01em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--mut); }
.nav a:hover { color: var(--ink); }
.kopf .knopf { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Aufmacher: Nachtblau mit Kreisen wie die Kopfzeile der App */
.aufmacher { position: relative; overflow: hidden; color: var(--auf-dunkel);
  background: linear-gradient(120deg, #06163a 0%, #0B2150 55%, #1E3A73 100%); }
.aufmacher::before, .aufmacher::after { content: ""; position: absolute; border-radius: 50%; background: rgba(90, 130, 200, .22); }
.aufmacher::before { width: 520px; height: 520px; right: -140px; top: -180px; }
.aufmacher::after { width: 260px; height: 260px; left: -90px; bottom: -120px; }
.aufmacher .breit { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.aufmacher h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; margin-bottom: 18px; }
.aufmacher .unter { font-size: clamp(19px, 2.2vw, 23px); max-width: 560px; opacity: .95; }
.aufmacher .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.marken { display: flex; flex-wrap: wrap; gap: 8px; }
.marken span { padding: 6px 12px; border-radius: 999px; background: rgba(251, 243, 228, .12); font-size: 14px; font-weight: 600; }
.handy { justify-self: center; width: min(300px, 80%); padding: 12px; border-radius: 42px; background: #0A1430;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .08); } /* senkrecht, damit das Bildschirmfoto pixelgenau und scharf bleibt */
.handy img { border-radius: 32px; width: 100%; aspect-ratio: 7 / 14.5; object-fit: cover; object-position: top; } /* Seitenverhältnis wie ein Handy (7 : 14,5) */

/* Abschnitte */
.abschnitt { padding: 84px 0; }
.abschnitt.weiss { background: var(--karte); }
.kopfzeile { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kopfzeile p { color: var(--mut); font-size: 19px; margin-top: 12px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hover); margin-bottom: 10px; }

/* Drei Vorteile */
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vorteil { padding: 28px; border-radius: var(--r-karte); background: var(--karte); border: 2px solid var(--ink); }
.vorteil .zeichen { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--auf-dunkel); font-size: 24px; margin-bottom: 16px; }
.vorteil p { color: var(--mut); margin: 8px 0 0; }

/* Bereiche mit Bildschirmfotos, abwechselnd links und rechts */
.bereich { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.bereich:last-child { margin-bottom: 0; }
.bereich.rechts .text { order: 2; }
.bereich h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.bereich .text p { color: #3B4560; }
.bereich ul { padding: 0; margin: 16px 0 0; list-style: none; }
.bereich li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.bereich li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--beige); color: var(--ink); font-size: 13px; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
.bild { border-radius: 18px; border: 2px solid var(--ink); background: var(--bg); box-shadow: 0 18px 40px rgba(8, 26, 62, .14); overflow: hidden; aspect-ratio: 16 / 10.5; }
.bild img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bild.eng img { width: 136%; max-width: none; height: auto; margin-left: -18%; } /* App-Spalte ist mittig: seitlichen Rand wegschneiden */
.bild.hoch { aspect-ratio: auto; max-width: 300px; margin: 0 auto; border-radius: 32px; }

/* Alle neun Bereiche kompakt */
.neun { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.neun div { padding: 18px 20px; border-radius: 16px; background: var(--karte); border: 1.5px solid var(--linie); }
.neun b { display: block; margin-bottom: 4px; }
.neun span { color: var(--mut); font-size: 15px; display: block; }
.neun .mehr-link { margin-top: 8px; font-size: 15px; }

/* Drei Schritte */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: schritt; }
.schritt { padding: 28px; border-radius: var(--r-karte); background: var(--bg); position: relative; }
.schritt::before { counter-increment: schritt; content: counter(schritt); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--auf-dunkel); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.schritt p { color: var(--mut); margin: 6px 0 0; }
.mitte { text-align: center; margin-top: 36px; }

/* Datenschutz: dunkler Abschnitt */
.dunkel { background: var(--ink); color: var(--auf-dunkel); }
.dunkel .kopfzeile p { color: rgba(251, 243, 228, .78); }
.dunkel .eyebrow { color: var(--beige); }
.sicher { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.sicher div { padding: 22px; border-radius: 16px; background: rgba(251, 243, 228, .07); border: 1px solid rgba(251, 243, 228, .14); }
.sicher b { display: block; color: var(--beige); margin-bottom: 4px; }
.sicher span { font-size: 15px; opacity: .88; }
.dunkel .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Wer dahintersteht */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; max-width: 940px; margin: 0 auto; }
.foto { width: 220px; height: 220px; border-radius: 50%; background: var(--ink); color: var(--auf-dunkel); display: grid; place-items: center; font-size: 64px; font-weight: 800; border: 6px solid var(--beige); overflow: hidden; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.person p { color: #3B4560; }
.person .unterschrift { font-weight: 800; color: var(--ink); margin-top: 18px; }

/* Testphase */
.hinweis { max-width: 820px; margin: 0 auto; padding: 32px 36px; border-radius: var(--r-karte); background: var(--beige); text-align: center; }
.hinweis h3 { margin-bottom: 8px; }
.hinweis p { margin: 0; }

/* Häufige Fragen */
.fragen { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--linie); }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; font-weight: 400; color: var(--hover); }
details[open] summary::after { content: "–"; }
details p { color: #3B4560; padding-bottom: 8px; }

/* Schluss und Fußzeile */
.schluss { text-align: center; }
.schluss h2 { margin-bottom: 22px; }
.fuss { padding: 40px 0; border-top: 1px solid var(--linie); color: var(--mut); font-size: 15px; }
.fuss .breit { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 860px) {
  .nav { display: none; }
  .kopf .breit { justify-content: space-between; }
  .aufmacher .breit { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .handy { width: min(260px, 70%); }
  .drei, .schritte, .neun { grid-template-columns: 1fr; }
  .bereich { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .bereich.rechts .text { order: 0; }
  .person { grid-template-columns: 1fr; justify-items: center; text-align: left; gap: 24px; }
  .abschnitt { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .handy { transform: none; } }

/* Bereichsseiten (z. B. klassenkasse.html) */
.pfad { font-size: 14px; margin-bottom: 14px; opacity: .85; }
.pfad a { text-decoration: none; }
.pfad a:hover { text-decoration: underline; }
.aufmacher .eyebrow { color: var(--beige); }
.aufmacher.bereichsseite h1 { font-size: clamp(36px, 5.5vw, 60px); }
.weitere { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.weitere a { display: block; padding: 16px 18px; border-radius: 16px; background: var(--karte); border: 1.5px solid var(--linie); text-decoration: none; font-weight: 700; }
.weitere a span { display: block; font-weight: 400; color: var(--mut); font-size: 15px; margin-top: 2px; }
.weitere a:hover { border-color: var(--ink); }
.mehr-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--hover); text-decoration: none; }
.mehr-link:hover { text-decoration: underline; }

/* Ratgeber */
.breit.schmal { max-width: 760px; }
.aufmacher.ratgeber-kopf .breit { display: block; padding-top: 56px; padding-bottom: 56px; }
.aufmacher.ratgeber-kopf h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 14px; }
.aufmacher.ratgeber-kopf a { color: inherit; }
.autor { font-size: 15px; opacity: .85; margin: 0; }
.artikel { background: var(--karte); }
.artikel .lead { font-size: 20px; color: var(--ink); margin-bottom: 28px; }
.artikel h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 14px; }
.artikel h3 { font-size: 19px; margin: 24px 0 6px; }
.artikel p, .artikel li { color: #3B4560; }
.artikel ul, .artikel ol { margin: 0 0 18px; padding-left: 24px; }
.artikel li { margin-bottom: 8px; }
.kurz { margin: 44px 0 28px; padding: 26px 30px; border-radius: var(--r-karte); background: var(--beige); }
.kurz h2 { margin: 0 0 12px; font-size: 22px; }
.kurz ul { list-style: none; padding: 0; margin: 0; }
.kurz li { position: relative; padding-left: 30px; color: var(--ink); }
.kurz li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--auf-dunkel); font-size: 13px; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
.paratino-hinweis { padding: 24px 28px; border-radius: var(--r-karte); border: 2px solid var(--ink); }
.paratino-hinweis p { color: var(--ink); }
.knoepfe-zeile { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ratgeber-liste { display: grid; gap: 16px; }
.ratgeber-karte { display: block; padding: 24px 28px; border-radius: var(--r-karte); background: var(--karte); border: 2px solid var(--ink); text-decoration: none; }
.ratgeber-karte:hover { background: #FFF6E8; }
.ratgeber-karte h2 { font-size: 22px; margin-bottom: 8px; }
.ratgeber-karte p { color: var(--mut); margin-bottom: 8px; }
.nav a[aria-current="page"] { color: var(--ink); }
