/* fraudorok.de – Stil der Startseite. Schriften liegen in assets/schrift (keine Google-Server). */

@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(schrift/nunito-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(schrift/nunito-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(schrift/nunito-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(schrift/nunito-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(schrift/nunito-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url(schrift/fredoka-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url(schrift/fredoka-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nachtblau: #0B3D5C;   /* Kopf, Überschriften */
  --meer: #1F7A8C;        /* Links, Wangerooge */
  --koralle: #E4572E;     /* Akzent */
  --sonne: #F9C74F;
  --pflaume: #6B4C9A;     /* Mathe */
  --sand: #F6EFE2;        /* Seite */
  --karte: #FFFFFF;
  --text: #1C2B33;
  --text-2: #4E5D66;
  --schatten: 0 1px 2px rgba(11, 61, 92, .08), 0 10px 28px rgba(11, 61, 92, .12);
  --schrift: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --titel: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.55;
  color: var(--text); background: var(--sand); -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--titel); font-weight: 600; color: var(--nachtblau); line-height: 1.15; margin: 0 0 .4em; text-wrap: balance; }
a { color: var(--meer); }
:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; border-radius: 10px; }

.kopf { background: var(--nachtblau); padding: max(12px, env(safe-area-inset-top)) 20px 12px; }
.marke { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--titel); font-weight: 600; font-size: 1.35rem; }

.seite { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 36px 20px 20px; }
.begruessung { margin-bottom: 36px; }
.begruessung h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.begruessung p { max-width: 38rem; font-size: 1.15rem; color: var(--text-2); margin: 0; }
h2 { font-size: 1.6rem; }

.module { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.modul { --farbe: var(--meer); display: flex; flex-direction: column; height: 100%; background: var(--karte); border-radius: 22px; overflow: hidden;
  box-shadow: var(--schatten); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.modul:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 61, 92, .08), 0 16px 36px rgba(11, 61, 92, .18); }
.modul.bruch { --farbe: var(--pflaume); }
.bild { display: block; aspect-ratio: 3 / 2; background: var(--farbe); color: color-mix(in srgb, var(--farbe) 55%, #000); }
.modul.meer .bild { color: #0d5566; background: linear-gradient(#7FC8D8, var(--meer)); }
.bild svg { display: block; width: 100%; height: 100%; }
.fach { margin: 18px 20px 2px; color: var(--farbe); font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.titel { margin: 0 20px; font-family: var(--titel); font-weight: 600; font-size: 1.45rem; color: var(--nachtblau); line-height: 1.2; }
.text { margin: 6px 20px 0; color: var(--text-2); }
.los { margin: auto 20px 20px; padding-top: 16px; font-weight: 800; color: var(--farbe); }
.los::after { content: " →"; }

.fuss { padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); text-align: center; color: var(--text-2); font-size: .9rem; }
.fuss p { margin: 0; }

@media (prefers-reduced-motion: reduce) { .modul { transition: none; } }

/* Werkzeuge (Links zu anderen Seiten) */
.werkzeuge { margin-top: 40px; }
.werkzeug { display: flex; align-items: center; gap: 16px; max-width: 34rem; padding: 16px 20px; background: var(--karte); border-radius: 18px;
  box-shadow: var(--schatten); color: inherit; text-decoration: none; transition: transform .15s; }
.werkzeug:hover { transform: translateY(-2px); }
.werkzeug img { flex: none; border-radius: 12px; }
.werkzeug b { display: block; font-family: var(--titel); font-weight: 600; font-size: 1.25rem; color: var(--nachtblau); }
.werkzeug small { display: block; color: var(--text-2); font-size: .95rem; }

/* Impressum und Datenschutz */
.rechtstext { max-width: 46rem; }
.rechtstext h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.rechtstext h2 { font-size: 1.3rem; margin-top: 1.8em; }
.rechtstext p, .rechtstext li { color: var(--text); }
.rechtstext .klein { color: var(--text-2); font-size: .95rem; }
.rechtstext address { font-style: normal; background: var(--karte); border-radius: 18px; box-shadow: var(--schatten); padding: 16px 20px; margin: 12px 0; }
.rechtstext ul { padding-left: 1.2em; }
.fuss a { color: var(--text-2); }
