/* Stil grundschullupe.de (Verena) – seit 03.11.2026 Landingpage mit zwei Kacheln.
   Nur lokale Dateien (CSP default-src 'self': keine Inline-Styles, keine fremden Schriften). Hell und dunkel, ab 320 px nutzbar.
   Schrift: „Fibel Web“ = Teilmenge von Andika (SIL OFL, umbenannt, fonts/OFL.txt) – eine Schrift für Leseanfänger, passt zum Thema. */

@font-face { font-family: "Fibel Web"; src: url("/fonts/fibel-web-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fibel Web"; src: url("/fonts/fibel-web-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --grund: #fbf7f0;  --flaeche: #ffffff;  --flaeche-2: #f4eee3;  --linie: #e7dfd1;
  --text: #2a2622;   --leise: #5e574f;
  --akzent: #a64b28;            /* Terrakotta dunkel – Links, Knöpfe (Kontrast ≥ 5:1 auf Grund) */
  --akzent-text: #ffffff;
  --salbei: #4f7350;  --salbei-hell: #e3ecdf;   /* Vorschule */
  --terra: #b5532e;   --terra-hell: #f6e1d6;    /* DaZ */
  --senf: #d9a531;
  --himmel: #33658e; --himmel-hell: #e1ebf4;   /* Screenings */
  --pflaume: #6a4c93; --pflaume-hell: #ece4f4;  /* Digitale Tafel */
  --schatten: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 24px rgba(60, 40, 20, .08);
  --schatten-hoch: 0 2px 4px rgba(60, 40, 20, .08), 0 18px 40px rgba(60, 40, 20, .14);
  --radius: 22px;
  --breite: 72rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #1b1916;  --flaeche: #25221e;  --flaeche-2: #2d2924;  --linie: #3a352f;
    --text: #f2ede5;   --leise: #c2b9ad;
    --akzent: #f0a27e; --akzent-text: #1b1916;
    --salbei: #a9cba7; --salbei-hell: #2c3a2c;
    --terra: #f0a27e;  --terra-hell: #3d2b23;
    --himmel: #9cc3e4; --himmel-hell: #23313d;
    --pflaume: #c9b2e8; --pflaume-hell: #30283a;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --schatten-hoch: 0 2px 4px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { background: var(--grund); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--grund); color: var(--text);
       font: 1.0625rem/1.6 "Fibel Web", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--akzent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }

/* ---- Grundgerüst Textseiten (Impressum, Datenschutz, 404) ---- */
main { flex: 1; width: 100%; max-width: 44rem; margin: 0 auto; padding: 2.5rem 16px 3rem; }
main h1 { font-size: clamp(1.7rem, 4vw, 2.1rem); margin: 0 0 1rem; }
main > h1::after { content: ""; display: block; width: 3rem; height: 4px; margin-top: .7rem; background: var(--akzent); border-radius: 2px; }
main h2 { font-size: 1.15rem; margin: 1.8rem 0 .4rem; }
.leise, .zurueck { color: var(--leise); }
.zurueck { margin: 0 0 1.5rem; font-size: .95rem; }

/* ---- Sprunglink ---- */
.springen { position: absolute; left: 16px; top: -100px; z-index: 20; padding: .6rem 1rem; border-radius: 10px;
            background: var(--akzent); color: var(--akzent-text); font-weight: 700; text-decoration: none; }
.springen:focus { top: 12px; }

/* ---- Kopf ---- */
.kopf { position: relative; z-index: 5; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 14px 16px;
        display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; min-height: 44px; }
.marke picture, .marke img { display: block; }
.marke img { height: 64px; width: auto; }               /* Logo Grundschullupe 34 (Verena 04.11.2026), 370 × 136 */
@media (min-width: 860px) { .marke img { height: 80px; } }
.marke strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.marke small { display: block; font-size: .85rem; color: var(--leise); line-height: 1.2; }
.kopf-link { font-size: .95rem; font-weight: 700; text-decoration: none; padding: .55rem .9rem; border-radius: 999px; min-height: 44px;
             display: inline-flex; align-items: center; color: var(--text); background: color-mix(in srgb, var(--flaeche) 75%, transparent); }
.kopf-link:hover { background: var(--flaeche); }

/* ---- Startseite: breiter Rahmen ---- */
.start main, .bereich main { max-width: none; padding: 0; }
.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 16px; }

/* ---- Held (Bühne mit Foto) ---- */
.held { position: relative; isolation: isolate; margin-top: -72px; }       /* Foto läuft unter den Kopf */
.held-bild img { width: 100%; height: 100%; object-fit: cover; }
.held-text { position: relative; width: 100%; }
.dachzeile { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: 999px;
             background: var(--flaeche); box-shadow: var(--schatten); font-size: .9rem; font-weight: 700; color: var(--leise); }
.dachzeile i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--salbei); display: inline-block; }
.dachzeile i:nth-of-type(2) { background: var(--terra); }
.dachzeile i:nth-of-type(3) { background: var(--himmel); }
.held-logo { margin: 0 0 1.4rem; }   /* großes Logo auf der Startseite (Verena 04.11.2026) */
.held-logo img { display: block; width: clamp(240px, 62vw, 380px); height: auto; }
.projekt { margin: -.4rem 0 1.6rem; font-weight: 700; color: var(--text); }
.held h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin: 0 0 1rem; max-width: 15ch; }
.held h1 em { font-style: normal; color: var(--akzent); }
.einleitung { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--leise); margin: 0 0 1.8rem; max-width: 34rem; }
.knopf { display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .8rem 1.4rem; border-radius: 999px;
         background: var(--akzent); color: var(--akzent-text); font-weight: 700; font-size: 1.05rem; text-decoration: none;
         box-shadow: var(--schatten); transition: transform .2s ease, box-shadow .2s ease; }
.knopf:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); }
.knopf svg { width: 20px; height: 20px; }

@media (min-width: 860px) {
  .held { min-height: clamp(34rem, 78vh, 46rem); display: flex; align-items: center; }
  .held-bild { position: absolute; inset: 0; z-index: -2; }
  .held-bild img { object-position: 78% center; }
  .held::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--grund) 0%, color-mix(in srgb, var(--grund) 88%, transparent) 32%,
                color-mix(in srgb, var(--grund) 30%, transparent) 58%, transparent 75%),
                linear-gradient(0deg, var(--grund) 0%, transparent 18%); }
  .held-text { padding: 96px 0 72px; }
}
@media (max-width: 859.98px) {
  .held-bild { display: block; aspect-ratio: 4 / 3; max-height: 62vh; overflow: hidden; }
  .held-bild img { object-position: 72% center; }
  .held::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 1; pointer-events: none;
                  background: linear-gradient(180deg, color-mix(in srgb, var(--grund) 85%, transparent), transparent); }
  .held-text { margin-top: -3.5rem; padding-bottom: 2.5rem; }
  .held-text .huelle > * { position: relative; }
  .held-text .huelle::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3.5rem;
                               background: linear-gradient(0deg, var(--grund), transparent); }
}
@media (prefers-color-scheme: dark) and (min-width: 860px) {
  .held-bild img { filter: brightness(.82) saturate(.95); }
}
@media (prefers-color-scheme: dark) and (max-width: 859.98px) {
  .held-bild img { filter: brightness(.85); }
}

/* ---- Bereiche (vier Kacheln, 2 × 2) ---- */
.bereiche { padding: 1.5rem 0 4rem; }
.abschnitt-kopf { margin: 0 0 1.6rem; }
.abschnitt-kopf h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .4rem; }
.abschnitt-kopf p { margin: 0; color: var(--leise); }
.kacheln { display: grid; gap: clamp(1rem, 2.5vw, 2rem); grid-template-columns: 1fr; max-width: 38rem; margin: 0 auto; }
@media (min-width: 760px) { .kacheln { grid-template-columns: repeat(2, 1fr); max-width: 60rem; } }

.kachel { position: relative; display: flex; flex-direction: column; background: var(--flaeche); border-radius: var(--radius);
          overflow: hidden; box-shadow: var(--schatten); border: 1px solid var(--linie);
          transition: transform .25s ease, box-shadow .25s ease; --farbe: var(--salbei); --farbe-hell: var(--salbei-hell); }
.kachel-daz { --farbe: var(--terra); --farbe-hell: var(--terra-hell); }
.kachel-screening { --farbe: var(--himmel); --farbe-hell: var(--himmel-hell); }
.kachel-tafel { --farbe: var(--pflaume); --farbe-hell: var(--pflaume-hell); }
.kachel:hover, .kachel:focus-within { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.kachel-bild { position: relative; aspect-ratio: 16 / 10; background: var(--flaeche-2); }
.kachel-bild picture { display: block; height: 100%; overflow: hidden; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kachel:hover .kachel-bild img { transform: scale(1.04); }
.kachel-symbol { position: absolute; left: 20px; bottom: -28px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
                 background: var(--farbe-hell); color: var(--farbe); border: 4px solid var(--flaeche); box-shadow: var(--schatten); z-index: 1; }
.kachel-symbol svg { width: 34px; height: 34px; }
.kachel-text { display: flex; flex-direction: column; flex: 1; padding: 2.6rem 1.5rem 1.5rem; }
.kachel h3 { font-size: clamp(1.4rem, 2.2vw, 1.6rem); margin: 0 0 .5rem; }
.kachel h3 a { color: var(--text); text-decoration: none; }
.kachel h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }   /* ganze Kachel klickbar */
.kachel h3 a:focus-visible { outline: none; }
.kachel:focus-within { outline: 3px solid var(--akzent); outline-offset: 4px; }
.kachel p { margin: 0 0 1rem; color: var(--leise); }
.marker { position: absolute; top: 16px; right: 16px; z-index: 1; padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
          background: color-mix(in srgb, var(--flaeche) 92%, transparent); color: var(--text); box-shadow: var(--schatten); }
.stichworte { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; padding: 0; }
.stichworte li { padding: .3rem .75rem; border-radius: 999px; background: var(--farbe-hell); color: var(--text); font-size: .92rem; }
.weiter { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--farbe); }
.weiter svg { width: 20px; height: 20px; transition: transform .25s ease; }
.kachel:hover .weiter svg { transform: translateX(4px); }

/* ---- So ist das Material ---- */
.prinzipien { padding: 3.5rem 0 4.5rem; background: var(--flaeche-2); border-top: 1px solid var(--linie); }
.prinzipien-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .prinzipien-liste { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.prinzipien-liste li { background: var(--flaeche); border-radius: 18px; padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--linie); }
.prinzipien-liste svg { width: 44px; height: 44px; color: var(--akzent); margin-bottom: .7rem; }
.prinzipien-liste h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.prinzipien-liste p { margin: 0; color: var(--leise); }

/* ---- Bereichsseiten (Vorschule, DaZ) ---- */
.bereich { --farbe: var(--salbei); --farbe-hell: var(--salbei-hell); }
.bereich-daz { --farbe: var(--terra); --farbe-hell: var(--terra-hell); }
.bereich-screening { --farbe: var(--himmel); --farbe-hell: var(--himmel-hell); }
.bereich-kopf { padding: 1rem 0 2.5rem; }
.bereich-raster { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .bereich-raster { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.bereich-kopf h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: .2rem 0 1rem; }
.bereich-kopf .einleitung { margin-bottom: 1.4rem; }
.bereich-bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten-hoch); aspect-ratio: 1 / 1; max-width: 32rem; }
.bereich-bild img { width: 100%; height: 100%; object-fit: cover; }
.brotkrumen { font-size: .95rem; margin: 0 0 .5rem; }
.brotkrumen a { color: var(--leise); }
.hinweis { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--farbe-hell);
           border: 1px solid color-mix(in srgb, var(--farbe) 30%, transparent); max-width: 40rem; }
.hinweis svg { flex: none; width: 28px; height: 28px; color: var(--farbe); margin-top: .1rem; }
.hinweis p { margin: 0; }
.themen { padding: 0 0 4rem; }
.themen h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 0 1rem; }
.themen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .themen-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .themen-liste { grid-template-columns: repeat(4, 1fr); } }
.themen-liste li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 1.2rem 1.2rem 1.3rem; box-shadow: var(--schatten); }
.themen-liste svg { width: 36px; height: 36px; color: var(--farbe); margin-bottom: .5rem; }
.themen-liste h3 { font-size: 1.12rem; margin: 0 0 .3rem; }
.themen-liste p { margin: 0; color: var(--leise); font-size: .98rem; }

/* ---- Material auf Bereichsseiten (seit 03.11.2026) ---- */
.material { padding: 0 0 3rem; }
.material h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 0 1rem; }
.material-karte { background: var(--flaeche); border: 1px solid var(--linie); border-left: 6px solid var(--farbe); border-radius: 18px;
                  padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--schatten); }
.material-marke { margin: 0; color: var(--leise); font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.material-karte h3 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); margin: .2rem 0 .5rem; }
.material-text > p { max-width: 46rem; }
.material-knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.1rem 0 .9rem; }
.knopf-leise { background: var(--flaeche-2, var(--grund)); color: var(--text); border: 1.5px solid var(--linie); font-weight: 600; }
.material-klein { margin: 0; color: var(--leise); font-size: .9rem; }

/* ---- Fuß ---- */
/* schmal (Verena 04.11.2026: „Footer mit Impressum und Datenschutz schmaler“); Ziele ≥ 32 px hoch (WCAG 2.5.8 verlangt 24 px) */
footer { border-top: 1px solid var(--linie); padding: .35rem 16px; text-align: center; font-size: .85rem; color: var(--leise); }
footer nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 1.1rem; }
footer nav a, footer nav span { display: inline-flex; align-items: center; min-height: 32px; }
footer nav a { color: var(--leise); text-underline-offset: 3px; }
footer nav a:hover { color: var(--text); }
footer .fussnote { margin: 0 0 .3rem; font-size: .8rem; }
/* Quellen & Rechte: Tabellen, auf dem Handy waagrecht scrollbar */
.tabelle { overflow-x: auto; margin: 0 0 .6rem; }
.rechte table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.rechte th, .rechte td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--linie); }
.rechte th { font-size: .85rem; color: var(--leise); }
.rechte td:first-child { font-weight: 700; }

/* ---- Förderhinweise (/screening/foerderhinweise, seit 03.11.2026) ---- */
.hinweise { padding: 0 0 3rem; }
.hinweise h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 0 1rem; }
.hinweise-liste { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hinweise-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hinweise-liste { grid-template-columns: repeat(3, 1fr); } }
.hinweis-karte { background: var(--flaeche); border: 1px solid var(--linie); border-top: 5px solid var(--farbe); border-radius: 18px;
                 padding: 1.2rem 1.2rem 1.3rem; box-shadow: var(--schatten); }
.hinweis-karte header { display: flex; align-items: center; gap: .8rem; }
.hinweis-karte header img, .hinweis-karte .zeichen { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--linie); }
.hinweis-karte header img { padding: 4px; }
.hinweis-karte .zeichen { display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: #33658e; }
.hinweis-karte h3 { font-size: 1.2rem; margin: 0; }
.hinweis-bereiche { margin: .5rem 0 .7rem; color: var(--leise); font-size: .92rem; }
.hinweis-karte dl { margin: 0; }
.hinweis-karte dt { font-weight: 700; font-size: .92rem; color: var(--farbe); margin-top: .7rem; }
.hinweis-karte dd { margin: .15rem 0 0; }
.hinweise-zwei { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .hinweise-zwei { grid-template-columns: 1fr 1fr; } }
.hinweis-block { background: var(--farbe-hell); border: 1px solid color-mix(in srgb, var(--farbe) 30%, transparent); border-radius: 18px; padding: 1.3rem 1.4rem; }
.hinweis-block h2 { margin: 0 0 .5rem; }
.hinweis-block p { margin: 0; }
.ohne-umbruch { white-space: nowrap; }
.material-video { margin: 1.1rem 0 .2rem; max-width: 46rem; }
.material-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; border: 1px solid var(--linie);
                        background: var(--flaeche-2); box-shadow: var(--schatten); }
.material-video figcaption { margin-top: .5rem; color: var(--leise); font-size: .9rem; }

/* ==== Feinschliff 04.11.2026 (Verena: „die Webseite noch etwas aufpeppeln, grafisch, Layout, 3D-Effekte“) – Bewegung über effekte.js ==== */
/* Silbenbogen nur dort, wo er stimmt (Verena 04.11.2026: „bei Mut sind keine 2 Silbenbögen“): „Mut“ = eine Silbe = ein Bogen;
   unter Überschriften keine Bögen (sie stünden unter keinem Wort), nur ein kurzer Strich. data-SVG, weil CSP img-src data: erlaubt */
:root { --bogen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M5 4 Q60 17 115 4' fill='none' stroke='%23b5532e' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) {
  :root { --bogen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M5 4 Q60 17 115 4' fill='none' stroke='%23f0a27e' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
}
.abschnitt-kopf h2::after { content: ""; display: block; width: 56px; height: 5px; margin: .5rem 0 0; border-radius: 3px; background: var(--terra); }
.held h1 em { position: relative; display: inline-block; }
.held h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.12em; height: .22em; background: var(--bogen) no-repeat center / 100% 100%; }

/* Bühne: Logo schwebt leicht, Farbkreise mit Tiefe */
.held { isolation: isolate; }
.held-text { z-index: 1; }
.held-logo img { filter: drop-shadow(0 10px 18px rgba(90, 50, 20, .16)); }
@keyframes schweben { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
.js .held-logo img { animation: schweben 6s ease-in-out infinite; }
.deko { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.kreis { position: absolute; border-radius: 50%; opacity: .55;
         background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.9), transparent 42%), var(--f);
         box-shadow: inset -10px -14px 24px rgba(0,0,0,.08), 0 18px 34px rgba(80, 50, 20, .12);
         transform: translateY(calc(var(--rollen, 0) * var(--tiefe) * -1px)); }
.k1 { --f: var(--terra-hell); --tiefe: .18; width: 120px; height: 120px; left: 40%; top: 12%; }
.k2 { --f: var(--himmel-hell); --tiefe: .32; width: 64px; height: 64px; left: 33%; top: 64%; }
.k3 { --f: var(--salbei-hell); --tiefe: .1; width: 190px; height: 190px; left: -60px; bottom: -70px; }
.k4 { --f: var(--pflaume-hell); --tiefe: .45; width: 34px; height: 34px; left: 47%; top: 46%; }
@keyframes treiben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.js .kreis { animation: treiben 9s ease-in-out infinite; }
.js .k2 { animation-duration: 7s; animation-delay: -2s; } .js .k4 { animation-duration: 5.5s; animation-delay: -1s; }
@media (max-width: 859.98px) { .k1 { left: auto; right: -30px; top: 42%; } .k2, .k4 { display: none; } }
@media (prefers-color-scheme: dark) { .kreis { opacity: .16; box-shadow: none; } .k1 { --f: var(--terra); } .k2 { --f: var(--himmel); } .k3 { --f: var(--salbei); } .k4 { --f: var(--pflaume); } }

/* Versprechen-Leiste unter der Bühne */
.versprechen { padding: 0 0 1.5rem; }
.versprechen ul { list-style: none; margin: 0 auto; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.versprechen li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 16px; background: var(--flaeche);
                  border: 1px solid var(--linie); box-shadow: 0 1px 2px rgba(60,40,20,.05), 0 6px 16px rgba(60,40,20,.06); color: var(--leise); line-height: 1.3; }
.versprechen li b { color: var(--text); }
.versprechen svg { flex: none; width: 40px; height: 40px; padding: 7px; border-radius: 12px; color: var(--akzent);
                   background: linear-gradient(145deg, var(--terra-hell), color-mix(in srgb, var(--terra-hell) 60%, var(--flaeche)));
                   box-shadow: inset 0 -3px 0 rgba(0,0,0,.06); }
.versprechen li:nth-child(2) svg { color: var(--salbei); background: linear-gradient(145deg, var(--salbei-hell), color-mix(in srgb, var(--salbei-hell) 60%, var(--flaeche))); }
.versprechen li:nth-child(3) svg { color: var(--himmel); background: linear-gradient(145deg, var(--himmel-hell), color-mix(in srgb, var(--himmel-hell) 60%, var(--flaeche))); }
.versprechen li:nth-child(4) svg { color: var(--pflaume); background: linear-gradient(145deg, var(--pflaume-hell), color-mix(in srgb, var(--pflaume-hell) 60%, var(--flaeche))); }

/* Kacheln: 3D-Kippen mit Glanz (Maus), farbiger Rand oben */
.kacheln { perspective: 1200px; }
.kachel { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; will-change: transform; }
.kachel::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--farbe); z-index: 3; }
.kachel::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s ease;
                 background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.38), transparent 55%); }
.kachel.kippt { transition: transform .08s linear, box-shadow .3s ease; box-shadow: var(--schatten-hoch); }
.kachel.kippt::after { opacity: 1; }
.kachel:hover, .kachel:focus-within { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.kachel-symbol { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.kachel:hover .kachel-symbol { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
@media (prefers-color-scheme: dark) { .kachel::after { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.12), transparent 55%); } }

/* So ist das Material: Symbole als kleine Kacheln, Fuchs schaut herein */
.prinzipien .abschnitt-kopf { position: relative; }
.prinzipien-liste li { position: relative; transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 1px 2px rgba(60,40,20,.05); }
.prinzipien-liste li:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.prinzipien-liste svg { box-sizing: content-box; padding: 9px; border-radius: 14px; background: var(--terra-hell); box-shadow: inset 0 -3px 0 rgba(0,0,0,.06); }
.fuchs-gucker { position: absolute; right: 0; bottom: -1.4rem; display: flex; align-items: flex-end; gap: .4rem; }
.fuchs-gucker img { width: 92px; height: auto; filter: drop-shadow(0 8px 12px rgba(80,50,20,.18)); transform-origin: 50% 100%; }
@keyframes gucken { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-7deg); } 86% { transform: rotate(5deg); } }
.js .fuchs-gucker img { animation: gucken 7s ease-in-out infinite; }
.sprechblase { order: -1; margin-bottom: 3.6rem; padding: .45rem .8rem; border-radius: 14px 14px 4px 14px; background: var(--flaeche); border: 1.5px solid var(--linie);
               font-weight: 700; font-size: .9rem; color: var(--akzent); box-shadow: var(--schatten); white-space: nowrap; }
@media (max-width: 640px) { .fuchs-gucker { position: static; justify-content: flex-end; margin: -.5rem 0 .4rem; } .fuchs-gucker img { width: 72px; } .sprechblase { margin-bottom: 2.6rem; } }

/* Einblenden beim Scrollen (nur mit Skript; ohne Skript ist alles sichtbar) */
.js [data-zeigen] { opacity: 0; translate: 0 22px; transition: opacity .7s ease var(--verzug, 0ms), translate .7s cubic-bezier(.2,.7,.2,1) var(--verzug, 0ms); }
.js [data-zeigen].sichtbar { opacity: 1; translate: 0 0; }
@media print { .deko, .fuchs-gucker { display: none; } .js [data-zeigen] { opacity: 1; translate: none; } }
