/* ═══════════════════════════════════════════════════════════════════════
   NotenFix — Tafel-Theme (Stil nach Entwurf C der Startseite)
   Klassenzimmer: Tafelgruen, Kreideschrift, Zettel mit Magneten.
   EINBINDEN als LETZTES im <head>, nach nusser-theme.css und nach allen
   Seiten-<style>-Bloecken, dazu das Skript vor </body>:
     <link rel="stylesheet" href="tafel-theme.css">
     <script src="tafel-theme.js" defer></script>
   Arbeitsweise: Die Seiten faerben ueber Variablen (--white, --gray,
   --t-primary …). Das Theme dreht diese Variablen auf "Tafel" und setzt sie
   innerhalb der Zettel (Karten) wieder auf "Papier" zurueck.
   Stand: 20.11.2026
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/caveat-700.woff2?v=1") format("woff2");
}

/* ── Tafel: Variablen der Seiten umdrehen ── */
:root {
  --tf-nacht: #14352c;
  --tf-tafel: #1a4136;
  --tf-flaeche: #0f2a22;
  --tf-papier: #f6f1e4;
  --tf-tinte: #0E1F1A;
  --tf-kreide: #EDF4F0;
  --tf-leise: rgba(237,244,240,.74);
  --tf-gruen: #2FD3A6;
  --tf-minze: #a9f7dc;
  --tf-gelb: #F2C94C;
  --tf-blau: #1d3557;
  --tf-rotstift: #c8372d;
  --tf-hand: "Caveat", "Segoe Print", cursive;
  --tf-marke: var(--tf-gelb);
  --tf-linie: rgba(255,255,255,.26);

  --white: transparent;
  --gray: rgba(0,0,0,.15);
  --gray-2: rgba(0,0,0,.22);
  --t-primary: var(--tf-kreide);
  --t-secondary: var(--tf-leise);
  --t-tertiary: rgba(237,244,240,.62);
  --border: rgba(255,255,255,.24);
  --border-s: rgba(255,255,255,.16);
  --accent: var(--tf-gruen);
  --accent-l: var(--tf-minze);
  --accent-h: var(--tf-minze);
  --accent-bg: rgba(47,211,166,.12);
  --gruen-nacht: rgba(0,0,0,.15);
}
.tf-druck .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

html { background: var(--tf-nacht); }
body {
  color: var(--tf-kreide);
  background-color: var(--tf-nacht);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900'%3E%3Cfilter id='w' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.003 .018' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .2 -.065'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}
::selection { background: rgba(242,201,76,.35); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline-color: var(--tf-gelb); }

/* Die dunklen Flaechen des Nusser-Themes werden zur durchgehenden Tafel */
.page-hero, .hero, .story, .beta-band, .final-cta, .follow,
.schulformen, section.steps, .overview, .co-top { background: none; }

/* ── Kreideschrift ── */
.page-hero h1, .hero h1, :root main h2 {
  font-family: var(--tf-hand);
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}
.page-hero h1, .hero h1 { font-size: clamp(50px, 7.2vw, 100px); line-height: 1; max-width: 15em; }
:root main h2 { font-size: clamp(40px, 5vw, 70px); line-height: 1.06; }
.page-hero h1 em, .hero h1 em { color: var(--tf-minze); }
/* Kreidekorn nur, wenn das Skript den Filter eingesetzt hat */
.tf-korn .page-hero h1, .tf-korn .hero h1, .tf-korn main h2, .tf-korn .tf-kreidezahl { filter: url(#kreidekorn); }

/* Gelber Kreidestrich unter dem hervorgehobenen Wort (Skript setzt .kr + SVG) */
.kr { position: relative; white-space: nowrap; }
.kr svg { position: absolute; left: -3%; bottom: -.02em; width: 106%; height: .18em; overflow: visible; transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s .35s ease-out; }
.kr path { fill: none; stroke: var(--tf-gelb); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tf-da .kr svg { transform: scaleX(1); }
.kr.kr-aus { white-space: normal; }
.kr.kr-aus svg { display: none; }

/* Marken ueber den Ueberschriften: mit gelber Kreide dazugeschrieben */
.eyebrow, .hero-eyebrow, .about-eyebrow,
.page-hero .eyebrow, .hero .eyebrow, .page-hero .hero-eyebrow, .hero .hero-eyebrow {
  font-family: var(--tf-hand) !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.1;
  text-transform: none !important;
  color: var(--tf-marke) !important;
  rotate: -1.2deg;
}
.hero-eyebrow .dot { display: none; }
.page-hero .hero-eyebrow, .hero .hero-eyebrow { margin-bottom: 10px; }
.section-head .eyebrow { margin-bottom: 6px; }
.page-hero p, .hero p, .page-hero .lede, .hero .lede { color: var(--tf-leise); }
.page-hero a:not(.btn-dl):not(.btn-ghost), .hero a:not(.btn-dl):not(.btn-ghost) { color: var(--tf-minze); }

/* ── Knoepfe ── */
.btn-dl {
  background: var(--tf-gruen);
  color: #0d2a22;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.7);
}
.btn-dl:hover { background: #fff; color: #0d2a22; box-shadow: 0 12px 24px -14px rgba(0,0,0,.7); }
.btn-ghost, .btn-dl[style*="transparent"] { color: #fff; border-color: rgba(255,255,255,.6) !important; border-radius: 10px; }
.btn-ghost:hover, .btn-dl[style*="transparent"]:hover { color: #fff; border-color: #fff !important; }

/* ── Kopfleiste (nav.js haengt sein CSS spaeter an, daher mit html davor) ── */
html #nf-hdr { background: rgba(15,42,34,.86); }
html #nf-hdr.scrolled { border-bottom-color: rgba(255,255,255,.14); }
/* Kopfzeile: echtes helles Logo (Fix in Mint) statt weiß eingefärbter Wortmarke (20.11.2026) */
html #nf-hdr .nf-brand { background: url(nusser-bilder/notenfix-wortmarke-hell.webp) left center / contain no-repeat; }
html #nf-hdr .nf-brand img { filter: none; opacity: 0; }
html #nf-hdr .nf-link, html #nf-hdr .nf-btn { color: rgba(237,244,240,.78); }
html #nf-hdr .nf-link:hover, html #nf-hdr .nf-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
html #nf-hdr .nf-price { color: var(--tf-minze); }
html #nf-hdr a.nf-cta { background: var(--tf-gruen); color: #0d2a22 !important; border-radius: 10px; }
html #nf-hdr a.nf-cta:hover { background: #fff; }
html #nf-hdr .nf-burger span { background: #fff; }
/* Aufklappmenue am PC: dunkle Tafel statt weisser Karte */
html #nf-hdr .nf-drop { background: #0b3a2e; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; box-shadow: 0 26px 40px -18px rgba(0,0,0,.8); }
html #nf-hdr .nf-drop a { color: rgba(237,244,240,.86); font-size: 15px; border-radius: 4px; }
html #nf-hdr .nf-drop a:hover { background: rgba(255,255,255,.08); color: var(--tf-minze); }
html #nf-hdr .nf-sep { background: none; border-top: 2px dashed rgba(255,255,255,.18); height: 0; }
/* Handy-Menue der Unterseiten: gleiche Tafel wie auf der Startseite */
html #nf-mobile { background: #062A22; padding: 10px 24px 40px; }
html #nf-mobile .nf-mob-link { padding: 15px 0; font: 600 21px/1.2 var(--font-head, "Barlow", sans-serif); color: #fff; border-bottom: 2px dashed rgba(255,255,255,.16); }
html #nf-mobile .nf-mob-link:active { background: none; }
html #nf-mobile .nf-mob-link.nf-price { color: var(--tf-minze); }
html #nf-mobile .nf-mob-arrow { color: var(--tf-gelb); font-size: 13px; }
html #nf-mobile .nf-mob-sub { background: none; padding: 6px 0 10px; border-bottom: 2px dashed rgba(255,255,255,.16); }
html #nf-mobile .nf-mob-sub a { padding: 10px 0 10px 16px; font: 600 16px/1.25 var(--font-head, "Barlow", sans-serif); color: rgba(237,244,240,.72); border-bottom: 0; }
html #nf-mobile .nf-mob-sub a:active { background: none; color: #fff; }
html #nf-mobile .nf-mob-cta { margin: 26px 0 0; background: var(--tf-gruen); color: #0d2a22; border-radius: 10px; font-family: var(--font-head, "Barlow", sans-serif); }

/* ── Zettel: Karten werden Arbeitsblaetter mit Magnet ── */
.fi-card, .fo-card, .obj-card, .nf-zg, .post-card, .wrap > .card, .pricing .p-tier:not(.featured) {
  --white: #fff;
  --gray: #ece5d2;
  --gray-2: #e3dbc5;
  --t-primary: var(--tf-tinte);
  --t-secondary: #3f4f49;
  --t-tertiary: #5a6a64;
  --t-on-dark: var(--tf-tinte);
  --t-muted-dark: #3f4f49;
  --border: #cfc8b4;
  --border-s: #dcd5c0;
  --accent: #008062;
  --accent-l: #008062;
  --accent-h: #00654e;
  --accent-bg: rgba(0,128,98,.1);
  position: relative;
  background: var(--tf-papier);
  color: var(--tf-tinte);
  border: 0;
  border-radius: 3px;
  overflow: visible;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 30px 40px -24px rgba(0,0,0,.8);
  rotate: var(--tf-dreh, -.7deg);
  transition: rotate .2s ease, translate .2s ease;
}
.fi-card:nth-child(even), .fo-card:nth-child(even), .obj-card:nth-child(even), .nf-zg:nth-child(even), .p-tier:nth-child(even) { --tf-dreh: .6deg; }
.fi-card:nth-child(3n), .fo-card:nth-child(3n), .obj-card:nth-child(3n), .nf-zg:nth-child(3n) { --tf-dreh: .25deg; }
.fi-card:hover, .fo-card:hover, .obj-card:hover, .nf-zg:hover {
  rotate: 0deg; translate: 0 -4px;
  border-color: transparent; transform: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 30px 40px -24px rgba(0,0,0,.8);
}
.fi-card::before, .fo-card::before, .obj-card::before, .nf-zg::before, .post-card::before, .wrap > .card::before, .pricing .p-tier:not(.featured)::before {
  content: ""; position: absolute; top: -13px; left: calc(50% - 15px);
  width: 30px; height: 30px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #ffe9a6, #e9ad0c 55%, #a87400);
  box-shadow: 0 6px 8px -2px rgba(0,0,0,.6);
}
.fi-card:nth-child(3n+2)::before, .fo-card:nth-child(3n+2)::before, .obj-card:nth-child(3n+2)::before, .nf-zg:nth-child(3n+2)::before {
  background: radial-gradient(circle at 35% 30%, #ffb3a8, #d9453a 55%, #8f211a);
}
.fi-card:nth-child(3n)::before, .fo-card:nth-child(3n)::before, .obj-card:nth-child(3n)::before, .nf-zg:nth-child(3n)::before {
  background: radial-gradient(circle at 35% 30%, #c9fbe9, #2fb892 55%, #0d6b52);
}
.fi-card, .fo-card { padding: 12px 12px 22px; }
.fi-card .fi-title, .fi-card .fi-text { padding-inline: 10px; }
.nf-fo-bild { border-radius: 2px; }
.nf-zg { padding: 12px 12px 0; }
.nf-zg .nf-zg-bild { border-radius: 2px; border-bottom: 0; }
.nf-zg .nf-zg-inhalt { padding: 22px 14px 26px; }

/* Papier ohne Magnet und ohne Drehung: helle Kaesten, die ihre Flaeche fest eingetragen haben */
.tf-papier, .plat-tile, .mac-hilfe, main.legal, .article-wrap, .co-card {
  --white: #fff; --gray: #ece5d2; --gray-2: #e3dbc5;
  --t-primary: var(--tf-tinte); --t-secondary: #3f4f49; --t-tertiary: #5a6a64;
  --t-on-dark: var(--tf-tinte); --t-muted-dark: #3f4f49;
  --border: #cfc8b4; --border-s: #dcd5c0;
  --accent: #008062; --accent-l: #008062; --accent-h: #00654e; --accent-bg: rgba(0,128,98,.1);
  color: var(--tf-tinte);
}
.plat-tile, .plat-tile.is-mine, .mac-hilfe { background: var(--tf-papier); border-radius: 3px; }

/* Bezahlseite: Die Stripe-Felder (Thema "stripe") sind fuer hellen Grund gebaut, daher Papier */
.co-top { background: none; padding: 26px 0 6px; }
.co-card {
  position: relative;
  background: var(--tf-papier);
  border: 0; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 30px 44px -24px rgba(0,0,0,.85);
  margin-bottom: 30px;
}
.co-card::before {
  content: ""; position: absolute; top: -13px; left: calc(50% - 15px);
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb3a8, #d9453a 55%, #8f211a);
  box-shadow: 0 6px 8px -2px rgba(0,0,0,.6);
}
form.co-card::before { background: radial-gradient(circle at 35% 30%, #ffe9a6, #e9ad0c 55%, #a87400); }
.co-card h1 { color: var(--tf-tinte); }
.co-card input[type=email], .co-card input[type=text], .co-card .plan-opt { background-color: #fff; }
.co-card .plan-opt.sel { background-color: #e6f4ee; border-color: #008062; border-width: 2px; }
.co-card button.submit-pay { border-radius: 10px; }

/* Konto, Kuendigung, Widerruf, 404: body{overflow:hidden} sperrte das Scrollen, die 600 px breiten
   Lichtflecken (body::before/::after) machten die Seite am Handy 718 px breit */
html body { overflow: visible; overflow-x: clip; }
body::before, body::after { display: none; }
@media (max-width: 600px) {
  .pricing .p-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing .p-tier.featured .p-soon-badge { right: 6px; }
}

/* Meldungen (Fehler, Hinweise) als helle Zettel, damit sie auch direkt auf der Tafel lesbar sind */
.co-msg.err { background: #fbe7e3; border-color: #e3a79f; color: #8f211a; border-radius: 3px; }
.co-msg.err a { color: #8f211a; text-decoration: underline; }
.co-msg.info { background: #e6f4ee; border-color: #a9d6c4; color: #00503e; border-radius: 3px; }
.co-msg.info a { color: #00503e; text-decoration: underline; }

/* Die Tafel reicht immer bis zum unteren Fensterrand, auch auf kurzen Seiten */
body { min-height: 100vh; }
body.tf-ohnefuss { display: flex; flex-direction: column; }
body.tf-ohnefuss > .ablage { margin-top: auto; }

/* Formularseiten (Konto, Kuendigung, Widerruf, Danke): ein gerader Zettel */
.wrap > .card { rotate: none; }
.wrap > .card::before { background: radial-gradient(circle at 35% 30%, #ffb3a8, #d9453a 55%, #8f211a); }
.wrap > .card input, .wrap > .card select, .wrap > .card textarea { background-color: #fff; }
/* Blogkarten */
.post-card:nth-child(even) { --tf-dreh: .6deg; }
.post-card:nth-child(3n) { --tf-dreh: .25deg; }
/* Ueberschriften auf Zetteln bleiben Druckschrift */
:root main .post-card h2, :root main .fi-card h2, :root main .fo-card h2, :root main .obj-card h2, :root main .nf-zg h2, :root main .wrap > .card h2 {
  font-family: var(--font-head); font-size: 19px; line-height: 1.25; letter-spacing: -.01em; color: var(--tf-tinte); filter: none;
}
/* Dunkle Wortmarke ausserhalb von Zetteln hell zeigen */
img[src*="notenfix-wortmarke.p"]:not(.nf-logo-hell) { filter: brightness(0) invert(1); }
.wrap > .card img[src*="notenfix-wortmarke.p"] { filter: none; }

/* ── Ablauf-Schritte: Fotoabzuege und Kreidenummern ── */
.nf-ablauf li { border-top: 0; padding-top: 0; }
.nf-ablauf .nf-ablauf-bild {
  border: 8px solid var(--tf-papier); border-radius: 3px;
  box-shadow: 0 26px 34px -22px rgba(0,0,0,.8);
  rotate: -.8deg; margin-bottom: 20px;
}
.nf-ablauf li:nth-child(even) .nf-ablauf-bild { rotate: .7deg; }
.nf-ablauf .nf-ablauf-nr {
  font: 700 30px/1 var(--tf-hand);
  letter-spacing: 0; text-transform: none;
  color: var(--tf-gelb); margin-bottom: 6px;
}
.nf-ablauf .nf-ablauf-dauer { border-top: 2px solid var(--tf-linie); color: var(--tf-minze); }

/* ── Fragen: Kreidelinien statt Kaesten ── */
.faq-item {
  background: none; border: 0; border-radius: 0; margin: 0;
  border-top: 2px solid var(--tf-linie);
  box-shadow: none !important;
}
.faq-item:last-of-type { border-bottom: 2px solid var(--tf-linie); }
.faq-item summary {
  font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.25;
  padding: 20px 2px; color: #fff;
}
.faq-item summary::after, .faq-item[open] summary::after { color: var(--tf-gelb); font: 700 34px/.8 var(--tf-hand); }
.faq-body { padding: 0 2px 22px; font-size: 16.5px; }
.faq-body a, .p-hint a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Kennzahlenband ── */
.nf-kennzahlen { background: rgba(0,0,0,.15); }
.nf-kennzahlen b { font-family: var(--tf-hand); letter-spacing: 0; }
.nf-kennzahlen b em { color: var(--tf-gelb); }

/* ── Preisseiten (preise, preise-de) ── */
.pricing .p-tier:not(.featured) { background: var(--tf-papier); border: 0; border-radius: 3px; }
.pricing .p-tier:not(.featured)::before { background: radial-gradient(circle at 35% 30%, #ffb3a8, #d9453a 55%, #8f211a); }
/* Jahreslizenz: kleine Tafel im Holzrahmen, Preis mit Kreide */
.pricing .p-tier.featured {
  background: var(--tf-flaeche);
  border: 11px solid #b98d5b;
  border-image: linear-gradient(#d6b382, #b98d5b 30%, #8f673c) 1;
  border-radius: 0;
  box-shadow: 0 34px 44px -22px rgba(0,0,0,.85);
}
.pricing .p-tier.featured .p-name { font: 700 40px/1 var(--tf-hand); letter-spacing: 0; color: #fff; margin-bottom: 8px; }
.pricing .p-tier.featured .p-tag { color: var(--tf-minze); }
.pricing .p-tier.featured .p-price-row .pn { font-family: var(--tf-hand); font-size: 72px; line-height: .9; letter-spacing: 0; color: #fff; }
.pricing .p-tier.featured .p-feats li::before { color: var(--tf-gelb); }
.pricing .p-tier.featured .p-soon-badge {
  top: -24px; right: -22px;
  background: var(--tf-gelb); color: var(--tf-tinte);
  font: 700 22px/1 var(--tf-hand); letter-spacing: 0; text-transform: none;
  padding: 10px 14px; border: 0; border-radius: 2px 2px 2px 16px;
  box-shadow: 0 12px 18px -8px rgba(0,0,0,.7);
  rotate: 5deg;
}
.pricing .p-tier.featured .p-spar { background: rgba(242,201,76,.16); color: var(--tf-gelb); }
.pricing .p-tier.featured .btn-dl { background: var(--tf-gelb); color: var(--tf-tinte); box-shadow: 0 12px 24px -14px rgba(0,0,0,.8); }
.pricing .p-tier.featured .btn-dl:hover { background: #fff; color: var(--tf-tinte); }
.p-btn-mono { box-shadow: none !important; }

/* ── Vergleichstabelle: NotenFix mit gelber Kreide eingerahmt ── */
.cmp-section { border-top: 0; }
.cmp-table thead th.col-nf, .cmp-table tbody td.col-nf { background: rgba(242,201,76,.07); border-left: 3px solid var(--tf-gelb); border-right: 3px solid var(--tf-gelb); }
.cmp-table thead th.col-nf { border-top: 3px solid var(--tf-gelb); border-bottom: 0; border-radius: 30px 22px 0 0 / 22px 28px 0 0; }
.cmp-table tbody tr:last-child td.col-nf { border-bottom: 3px solid var(--tf-gelb); border-radius: 0 0 26px 34px / 0 0 24px 20px; }
.cmp-table tbody tr:hover td.col-nf { background: rgba(242,201,76,.12); }
.cmp-table th.col-nf img { filter: brightness(0) invert(1); }
.cmp-no { color: #FF7A6E; }

/* Fest in die Seite geschriebenes Grau (helle Fassung) auf der Tafel lesbar halten */
[style*="color:#6e6e73"], [style*="color: #6e6e73"] { color: var(--t-secondary) !important; }

/* ── Rechtstexte (legal.css): ein grosses Blatt an der Tafel, Text bleibt Druckschrift ── */
main.legal {
  position: relative;
  max-width: 860px;
  margin: 104px auto 84px;
  padding: 56px 56px 60px;
  background: var(--tf-papier);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 34px 50px -26px rgba(0,0,0,.85);
}
main.legal::before, main.legal::after {
  content: ""; position: absolute; top: -13px; left: 15%;
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb3a8, #d9453a 55%, #8f211a);
  box-shadow: 0 6px 8px -2px rgba(0,0,0,.6);
}
main.legal::after { left: auto; right: 15%; background: radial-gradient(circle at 35% 30%, #ffe9a6, #e9ad0c 55%, #a87400); }
main.legal h1 { font-family: var(--tf-hand); font-size: clamp(46px, 6vw, 66px); line-height: 1; letter-spacing: 0; color: var(--tf-blau); }
main.legal .legal-eyebrow { font: 700 28px/1.1 var(--tf-hand); letter-spacing: 0; text-transform: none; color: var(--tf-rotstift); margin-bottom: 4px; rotate: -1.2deg; }
:root main.legal h2 { font-family: var(--font-head, var(--font)); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--tf-tinte); filter: none; }
main.legal a { text-decoration: underline; text-underline-offset: 3px; }
main.legal a.back { text-decoration: none; }
@media (max-width: 700px) {
  main.legal { margin: 78px 10px 56px; padding: 34px 20px 40px; }
}

/* ── Blogartikel: Kreidetitel, der Lesetext als Blatt ── */
.article-hero { background: none; }
.article-hero h1 { font-family: var(--tf-hand); font-weight: 700; letter-spacing: 0; line-height: 1.02; color: #fff; font-size: clamp(40px, 5.2vw, 70px); }
.tf-korn .article-hero h1 { filter: url(#kreidekorn); }
.article-wrap {
  position: relative;
  background: var(--tf-papier);
  border-radius: 3px;
  padding: 48px 52px 56px;
  margin-top: 30px; margin-bottom: 70px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 34px 50px -26px rgba(0,0,0,.85);
}
.article-wrap::before {
  content: ""; position: absolute; top: -13px; left: calc(50% - 15px);
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a6, #e9ad0c 55%, #a87400);
  box-shadow: 0 6px 8px -2px rgba(0,0,0,.6);
}
:root main .article-wrap h2 { font-family: var(--font-head); font-size: 26px; line-height: 1.25; letter-spacing: -.015em; color: var(--tf-tinte); filter: none; }
.article-wrap .faq-item { border-top-color: #cfc8b4; }
.article-wrap .faq-item:last-of-type { border-bottom-color: #cfc8b4; }
.article-wrap .faq-item summary { color: var(--tf-tinte); }
.article-wrap .faq-item summary::after, .article-wrap .faq-item[open] summary::after { color: var(--tf-rotstift); }
@media (max-width: 700px) { .article-wrap { padding: 30px 20px 38px; margin-inline: 10px; } }

/* ── Schluss ── */
:root main .final-cta h2 { font-size: clamp(58px, 9vw, 130px); line-height: 1; }

/* ── Kreideablage vor dem Fuss (Skript setzt sie ein) ── */
.ablage { position: relative; height: 26px; background: linear-gradient(#d6b382, #b98d5b 30%, #8f673c); box-shadow: 0 14px 24px -6px rgba(0,0,0,.7), 0 2px 0 rgba(255,255,255,.35) inset; z-index: 1; }
.ablage i { position: absolute; bottom: 24px; display: block; border-radius: 4px; box-shadow: 0 3px 4px -1px rgba(0,0,0,.5); }
.ablage .k1 { left: max(24px, calc((100vw - 1080px) / 2 + 24px)); width: 78px; height: 14px; background: linear-gradient(#fff, #d9dedb); transform: rotate(-2deg); }
.ablage .k2 { left: calc(max(24px, (100vw - 1080px) / 2 + 24px) + 96px); width: 52px; height: 14px; background: linear-gradient(#fbe08a, #e3b93a); }
.ablage .sw { right: max(24px, calc((100vw - 1080px) / 2 + 24px)); width: 132px; height: 44px; border-radius: 6px; background: linear-gradient(#e9c64d 0 46%, #4e5f59 46%); }

/* ── Fuss ── */
footer { background: #020d0a; border-top: 0; }

@media (max-width: 960px) {
  .eyebrow, .hero-eyebrow, .about-eyebrow { font-size: 26px !important; }
}
@media (max-width: 800px) {
  .pricing .p-tier.featured .p-soon-badge { right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .kr svg { transition: none; }
  .fi-card:hover, .fo-card:hover, .obj-card:hover, .nf-zg:hover { rotate: var(--tf-dreh, -.7deg); translate: none; }
}
