/* Förderverein St. Katharinen – Gestaltung „Magnetwand“ */
/* Schriften lokal (SIL Open Font License), nur Latin-Untermenge */
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(../fonts/baloo2-800.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-var.woff2) format("woff2"); }
@font-face { font-family: "Gochi Hand"; font-weight: 400; font-display: swap; src: url(../fonts/gochihand-400.woff2) format("woff2"); }
:root {
  color-scheme: only light;
  --tinte: #1b2040; --tinte-2: #50557a;
  --rot: #ef3b36; --gelb: #ffc21a; --blau: #1f7ae0; --gruen: #22a95b; --orange: #ff8a1f; --lila: #8a4fd8; --rosa: #ff7eb6;
  --rot-d: #d42a25; --blau-d: #1a6ccf; --gruen-d: #18824a;
  --gelb-h: #fff3c9; --blau-h: #e1eeff; --gruen-h: #ddf5e6; --rosa-h: #ffe4f0; --orange-h: #ffead6; --lila-h: #eee3fc;
  --kopf: "Baloo 2", system-ui, sans-serif;
  --text: "Nunito", system-ui, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --breite: 1180px; --rand: clamp(16px, 4vw, 40px); --abstand: clamp(80px, 10vw, 132px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--tinte); font: 400 18px/1.6 var(--text); overflow-x: hidden; }
svg { display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rot); }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 4px; border-radius: 6px; }
p { margin: 0 0 1em; max-width: 60ch; }
.innen { position: relative; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dick { font-family: var(--kopf); font-weight: 800; line-height: 1; letter-spacing: -0.01em; margin: 0; }
.titel { font-size: clamp(36px, 4.6vw, 54px); }
.hand { font-family: var(--hand); font-size: 26px; line-height: 1.1; }
.leise { color: var(--tinte-2); }
.kritzel { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; filter: url(#kreide); }

/* Spielzeug-Knöpfe: Rechteck mit Rundung Höhe/4, unten eine Kante wie Plastik */
.knopf { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 13px; border: 0; background: var(--blau-d); color: #fff; font: 800 18px/1 var(--text); text-decoration: none; cursor: pointer; box-shadow: 0 5px 0 #12509a; transition: transform .1s, box-shadow .1s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #12509a; }
.knopf:active { transform: translateY(4px); box-shadow: 0 1px 0 #12509a; }
.knopf.zwei { background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 2.5px var(--tinte), 0 5px 0 var(--tinte); }
.knopf.zwei:hover { box-shadow: inset 0 0 0 2.5px var(--tinte), 0 7px 0 var(--tinte); }
.knopf.zwei:active { box-shadow: inset 0 0 0 2.5px var(--tinte), 0 1px 0 var(--tinte); }
.knopf.klein { height: 42px; padding: 0 18px; border-radius: 10.5px; font-size: 16px; }
.knopf.rund { width: 42px; flex: none; padding: 0; border-radius: 50%; display: none; }
.knopf.rund svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.reihe { display: flex; flex-wrap: wrap; gap: 14px; }

/* Kopf */
.kopf { padding: 20px 0; position: relative; z-index: 3; }
.kopf .innen { display: flex; align-items: center; gap: 28px; }
.marke { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.windrad { width: 50px; height: 50px; flex: none; }
.marke b { display: block; font: 800 22px/1 var(--kopf); }
.marke small { display: block; font-size: 15px; color: var(--tinte-2); }
.menue { display: flex; gap: 24px; font-weight: 800; font-size: 17px; }
.menue a { text-decoration: none; white-space: nowrap; }
.menue a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 3px; }
@media (max-width: 1100px) { .menue { display: none; } .knopf.rund { display: inline-flex; } .kopf .innen { gap: 10px; } .marke b { font-size: 19px; } }

/* Bühne mit Magnetbuchstaben */
.buehne { position: relative; padding: 8px 0 var(--abstand); }
.konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.sonne-kritzel { position: absolute; right: max(16px, calc(50% - 640px)); top: -6px; width: clamp(90px, 12vw, 150px); z-index: 0; }
.vorzeile { position: relative; z-index: 1; margin: 18px 0 4px; transform: rotate(-2deg); transform-origin: left; color: var(--tinte-2); }
.magnetfeld { position: relative; z-index: 2; --gr: clamp(40px, 8.6vw, 118px); }
.zeile { white-space: nowrap; }
.luecke { display: inline-block; width: 0.32em; font-size: var(--gr); }
.b { display: inline-block; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.los .b { position: absolute; left: 0; top: 0; will-change: transform; }
.b.greift { cursor: grabbing; z-index: 5; }
/* Die Schrift ragt über ihre Zeile hinaus und finge sonst Klicks weit neben dem Buchstaben ab */
.b i { pointer-events: none; display: block; font: 800 var(--gr)/0.92 var(--kopf); font-style: normal; color: var(--f); padding: 0 0.015em;
  text-shadow: 0 0.025em 0 color-mix(in srgb, var(--f) 72%, #000), 0 0.05em 0 color-mix(in srgb, var(--f) 58%, #000), 0 0.1em 0.12em rgba(0, 0, 0, .22);
  animation: anpappen .42s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--n) * 34ms + 80ms); }
/* Anpappen: kommt etwas zu groß und schräg heran und schnappt an seinen Platz */
/* Buchstaben als gemaltes Bild (magnete.js): Text darunter unsichtbar, aber weiter für Größe und Lage da */
.magnetfeld.gemalt .b i { position: relative; color: transparent; text-shadow: none; }
.magnetfeld.gemalt .b i canvas { pointer-events: none; }
@keyframes anpappen { 0% { opacity: 0; transform: scale(1.7) rotate(var(--r0)); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.boden { position: absolute; left: -2%; right: -2%; bottom: 0; width: 104%; height: 34px; }
.feld-unten { position: absolute; right: 0; bottom: 34px; display: flex; align-items: center; gap: 12px; z-index: 1; }
.feld-unten .hand { margin: 0; color: var(--tinte-2); transform: rotate(-3deg); }
#aufraeumen[hidden], .hinweis[hidden] { display: none; }

.unterbuehne { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 36px; }
.einleitung { font-size: 21px; font-weight: 600; max-width: 34ch; margin-bottom: 28px; }
@media (max-width: 860px) { .unterbuehne { grid-template-columns: 1fr; } .feld-unten { right: auto; left: 0; } }

/* Sticker: weißer Rand wie gestanzt, schief aufgeklebt */
.sticker { background: var(--grund, #fff); border-radius: 24px; box-shadow: 0 0 0 7px #fff, 0 12px 28px rgba(27, 32, 64, .16); transform: rotate(var(--dreh, 0deg)); }
.barometer { --dreh: 2.5deg; --grund: var(--gelb-h); padding: 30px 30px 34px; position: relative; }
.barometer h2 { font-size: 32px; margin: 2px 0 20px; }
.balken { height: 30px; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 3px var(--tinte); overflow: hidden; }
.balken i { display: block; height: 100%; width: var(--stand); background: repeating-linear-gradient(-50deg, var(--gruen) 0 9px, #1b8f4b 9px 13px); }
.stand { position: relative; display: flex; align-items: baseline; gap: 20px; margin: 18px 0 22px; }
.stand b { position: relative; font: 800 44px/1 var(--kopf); padding: 0 6px; }
.stand b svg { position: absolute; left: -16px; top: -14px; width: calc(100% + 32px); height: calc(100% + 26px); }
.noch { position: absolute; right: 18px; top: -26px; color: var(--rot-d); transform: rotate(-8deg); }

.abschnitt { position: relative; padding-bottom: var(--abstand); }
.abschnitt-kopf { position: relative; display: flex; align-items: flex-end; gap: 18px; margin-bottom: 48px; flex-wrap: wrap; }
.abschnitt-kopf .titel { margin-right: auto; position: relative; }
.unterstrich { position: absolute; left: -4px; right: -10px; bottom: -14px; height: 18px; width: calc(100% + 14px); }

/* Projekte: durcheinander gelegt */
.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 44px; }
@media (max-width: 1000px) { .collage { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .collage { grid-template-columns: 1fr; } }
.projekt { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; text-decoration: none; transition: transform .15s; }
.projekt:nth-child(4n+1) { --dreh: -3deg; margin-top: 18px; --grund: var(--gelb-h); --farbe: var(--orange); }
.projekt:nth-child(4n+2) { --dreh: 2.5deg; margin-top: 46px; --grund: var(--blau-h); --farbe: var(--blau-d); }
.projekt:nth-child(4n+3) { --dreh: -1.5deg; --grund: var(--rosa-h); --farbe: var(--rot-d); }
.projekt:nth-child(4n+4) { --dreh: 3.5deg; margin-top: 30px; --grund: var(--lila-h); --farbe: var(--lila); }
.projekt:hover { transform: rotate(var(--dreh)) translateY(-4px); }
.projekt .bildchen { width: 100%; height: 110px; }
.projekt h3 { font: 800 24px/1.1 var(--kopf); margin: 0; }
.projekt p { margin: 0; font-size: 16px; }
.projekt .wann { font-size: 15px; color: var(--tinte-2); font-weight: 700; }
.punkt { position: absolute; top: -26px; right: -18px; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--farbe); color: #fff; font: 800 21px/1 var(--kopf); box-shadow: 0 0 0 5px #fff, 0 6px 14px rgba(0, 0, 0, .18); transform: rotate(12deg); }
@media (max-width: 540px) { .projekt:nth-child(n) { margin-top: 0; } .punkt { right: -6px; } }

/* Mitmachen: drei Klecks-Sticker */
.kleckse { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .kleckse { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.klecks { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 34px 44px; }
.klecks.k1 { --dreh: -2deg; border-radius: 58% 42% 46% 54% / 38% 46% 54% 62%; }
.klecks.k2 { --dreh: 2deg; border-radius: 44% 56% 60% 40% / 52% 38% 62% 48%; }
.klecks.k3 { --dreh: -1deg; border-radius: 52% 48% 38% 62% / 44% 58% 42% 56%; }
.klecks svg { width: 110px; height: 88px; }
.klecks h3 { font: 800 30px/1 var(--kopf); margin: 0; }
.klecks p { margin: 0 0 6px; max-width: 28ch; }

/* Pinnwand */
.pinnwand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 30px; }
@media (max-width: 900px) { .pinnwand { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.zettel { position: relative; padding: 34px 26px 26px; text-decoration: none; box-shadow: 0 10px 22px rgba(27, 32, 64, .14); background: var(--grund); transform: rotate(var(--dreh)); transition: transform .15s; display: block; }
.zettel:hover { transform: rotate(var(--dreh)) translateY(-4px); }
.zettel::before { content: ""; position: absolute; top: 12px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8 0 3px, transparent 4px), var(--nadel); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); }
.zettel time { display: block; font-family: var(--hand); font-size: 20px; color: var(--tinte-2); margin-bottom: 6px; }
.zettel h3 { font: 800 24px/1.15 var(--kopf); margin: 0 0 8px; }
.zettel p { margin: 0; font-size: 16px; overflow-wrap: anywhere; }

.termine { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 40px; }
.termine li { display: flex; gap: 16px; align-items: center; }
.blatt { flex: none; width: 74px; text-align: center; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 3px var(--tinte), 0 6px 0 var(--tinte); transform: rotate(var(--dreh)); }
.blatt small { display: block; background: var(--farbe, var(--rot-d)); color: #fff; font: 800 15px/28px var(--text); }
.blatt b { display: block; font: 800 34px/46px var(--kopf); }
.termine strong { display: block; font-weight: 800; font-size: 19px; }
.termine span { font-size: 16px; color: var(--tinte-2); }

/* Elternbrief als Postkarte */
.postkarte { --dreh: -1.2deg; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; padding: clamp(36px, 5vw, 60px); background: #fff; border-radius: 20px; box-shadow: 0 0 0 3px var(--tinte), 0 12px 0 var(--tinte); transform: rotate(var(--dreh)); }
.postkarte .titel { margin-bottom: 14px; }
.postkarte form { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 54px; }
@media (max-width: 600px) { .konfetti { display: none; } }
.marke-post { position: absolute; top: -34px; right: 44px; width: 92px; height: 112px; padding: 9px; background: var(--rot); transform: rotate(6deg); -webkit-mask: radial-gradient(circle 5px, #0000 98%, #000) -5px -5px / 13px 13px; mask: radial-gradient(circle 5px, #0000 98%, #000) -5px -5px / 13px 13px; }
.marke-post div { width: 100%; height: 100%; background: var(--gelb-h); display: grid; place-items: center; }
.feld { height: 52px; flex: 1 1 240px; min-width: 0; padding: 0 18px; border: 0; border-radius: 13px; background: #fff; color: var(--tinte); font: 600 17px var(--text); box-shadow: inset 0 0 0 2.5px var(--tinte-2); }
.feld:focus { outline: none; box-shadow: inset 0 0 0 3px var(--tinte); }
.postkarte .hinweis { font-size: 15px; margin: 14px 0 0; }
@media (max-width: 760px) { .postkarte { grid-template-columns: 1fr; } .postkarte form { margin-top: 0; } .marke-post { width: 64px; height: 78px; top: -24px; right: 16px; } }

/* Fuß mit Fingerfarben-Händen */
.fuss { position: relative; margin-top: 40px; padding: 110px 0 40px; background: var(--gelb-h); font-size: 16px; }
.haende { position: absolute; left: 0; right: 0; top: -54px; height: 120px; overflow: hidden; pointer-events: none; }
.haende svg { position: absolute; width: 86px; height: 104px; }
.fuss .innen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fuss h4 { font: 800 21px var(--kopf); margin: 0 0 10px; }
.fuss p { margin: 0 0 6px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss .beispiel { grid-column: 1 / -1; font-size: 14px; color: var(--tinte-2); padding-top: 16px; border-top: 2px dashed rgba(27, 32, 64, .2); }
@media (max-width: 860px) { .fuss .innen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss .innen { grid-template-columns: 1fr; } }


@media (prefers-reduced-motion: reduce) { .b i { animation: none; } .knopf, .projekt, .zettel { transition: none; } }

/* ===== Theme: Ghost-Anbindung ===== */
/* Schräge Sticker und Unterstriche ragen am Rand etwas über; am Handy zoomte die Seite sonst heraus */
main, .fuss { overflow-x: clip; }
.knopf.gruen { background: var(--gruen-d); box-shadow: 0 5px 0 #0f5f30; }
.knopf.gruen:hover { box-shadow: 0 7px 0 #0f5f30; }
.knopf.gruen:active { box-shadow: 0 1px 0 #0f5f30; }
.menue a[aria-current] { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 3px; }
@media (max-width: 1100px) {
  .kopf.offen .menue { display: flex; flex-direction: column; gap: 4px; position: absolute; top: calc(100% - 6px); left: var(--rand); right: var(--rand); padding: 14px 22px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 3px var(--tinte), 0 8px 0 var(--tinte); }
  .kopf.offen .menue a { padding: 10px 0; font-size: 19px; }
}
.unsichtbar span + span::before { content: ", "; }
/* Ohne Skript bleiben die Magnetzeilen großer bunter Text */
.zeile:not(:has(.b)) { font: 800 var(--gr)/0.92 var(--kopf); color: var(--blau); white-space: normal; }
.zeile:not(:has(.b)):nth-child(2) { color: var(--rot); }
.zeile:not(:has(.b)):nth-child(3) { color: var(--gruen); }
.magnetfeld:not(.magnetisch) .zeilen { padding-bottom: 38px; }
.feld-unten { position: relative; bottom: auto; justify-content: flex-end; margin-top: 10px; min-height: 42px; }
.alle { font-weight: 800; }

/* Projekte: Kritzel nach Reihenfolge, Beitragsbild geht vor */
.projekt .bildchen { display: block; background: center / contain no-repeat; }
.projekt:nth-child(4n+1) .bildchen { background-image: url(../images/projekt-1.svg); }
.projekt:nth-child(4n+2) .bildchen { background-image: url(../images/projekt-2.svg); }
.projekt:nth-child(4n+3) .bildchen { background-image: url(../images/projekt-3.svg); }
.projekt:nth-child(4n+4) .bildchen { background-image: url(../images/projekt-4.svg); }
.projekt img.bildchen { height: 150px; object-fit: cover; border-radius: 14px; background: none; }
.projekt:nth-child(4n+1) .punkt { color: var(--tinte); }
.projekt .kurz p { margin: 0; font-size: 16px; }
/* Nur der Titel ist ein Link, über die ganze Karte gezogen: Links und Bilder im Beitragstext sprengen die Karte nicht */
.projekt h3 a { color: inherit; text-decoration: none; }
.projekt h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.projekt h3 a:focus-visible { outline: none; }
.projekt:focus-within { outline: 3px solid var(--tinte); outline-offset: 6px; }
.projekt .kurz > :not(p:first-of-type) { display: none; }
.projekt .kurz a { color: inherit; text-decoration: none; }

/* Mitmachen: Ghosts Produktkarten werden Klecks-Sticker */
.kleckse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .kleckse { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.kleckse .kg-product-card { display: block; margin: 0; width: auto; }
.kleckse .kg-product-card-container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: none; height: 100%; padding: 40px 34px 44px; color: var(--tinte); font-family: var(--text);
  background: var(--grund); border-radius: 58% 42% 46% 54% / 38% 46% 54% 62%; box-shadow: 0 0 0 7px #fff, 0 12px 28px rgba(27, 32, 64, .16); transform: rotate(var(--dreh)); }
.kleckse .kg-product-card-container::before { content: ""; width: 110px; height: 88px; background: center / contain no-repeat; }
.kleckse .kg-product-card:nth-child(3n+1) { --dreh: -2deg; --grund: var(--blau-h); }
.kleckse .kg-product-card:nth-child(3n+2) { --dreh: 2deg; --grund: var(--rosa-h); }
.kleckse .kg-product-card:nth-child(3n+3) { --dreh: -1deg; --grund: var(--gruen-h); }
.kleckse .kg-product-card:nth-child(3n+1) .kg-product-card-container::before { background-image: url(../images/mitmachen-1.svg); }
.kleckse .kg-product-card:nth-child(3n+2) .kg-product-card-container { border-radius: 44% 56% 60% 40% / 52% 38% 62% 48%; }
.kleckse .kg-product-card:nth-child(3n+2) .kg-product-card-container::before { background-image: url(../images/mitmachen-2.svg); }
.kleckse .kg-product-card:nth-child(3n+3) .kg-product-card-container { border-radius: 52% 48% 38% 62% / 44% 58% 42% 56%; }
.kleckse .kg-product-card:nth-child(3n+3) .kg-product-card-container::before { background-image: url(../images/mitmachen-3.svg); }
.kleckse .kg-product-card-image, .kleckse .kg-product-card-rating { display: none; }
.kleckse .kg-product-card-title-container { display: block; }
.kleckse .kg-product-card h4.kg-product-card-title { font: 800 30px/1 var(--kopf); margin: 0; color: var(--tinte); }
.kleckse .kg-product-card-description { margin: 0 0 6px; max-width: 28ch; }
.kleckse .kg-product-card .kg-product-card-description p { margin: 0; font-size: 18px; line-height: 1.6; opacity: 1; color: var(--tinte); }
/* Knopf wie .knopf; nur der erste gefüllt, die anderen weiß (eine Hauptaktion je Bereich) */
.kleckse .kg-product-card a.kg-product-card-button { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 52px; padding: 0 24px; margin: 0; border-radius: 13px; background: #fff; color: var(--tinte); font: 800 18px/1 var(--text); text-decoration: none; box-shadow: inset 0 0 0 2.5px var(--tinte), 0 5px 0 var(--tinte); transition: transform .1s; }
.kleckse .kg-product-card a.kg-product-card-button:hover { opacity: 1; transform: translateY(-2px); }
.kleckse .kg-product-card:first-child a.kg-product-card-button { background: var(--blau-d); color: #fff; box-shadow: 0 5px 0 #12509a; }

/* Pinnwand und Kalenderblätter: Farbe und Neigung nach Reihenfolge */
.zettel:nth-child(3n+1) { --grund: #fff; --dreh: -2deg; --nadel: var(--rot); }
.zettel:nth-child(3n+2) { --grund: var(--gelb-h); --dreh: 1.5deg; --nadel: var(--blau); }
.zettel:nth-child(3n+3) { --grund: var(--gruen-h); --dreh: -1deg; --nadel: var(--gelb); }
.termine li:nth-child(3n+1) .blatt { --dreh: -4deg; --farbe: var(--rot-d); }
.termine li:nth-child(3n+2) .blatt { --dreh: 3deg; --farbe: var(--blau-d); }
.termine li:nth-child(3n+3) .blatt { --dreh: -2deg; --farbe: var(--gruen-d); }

/* Elternbrief: Rückmeldung von Ghosts Anmeldeformular */
.meldung { display: none; flex-basis: 100%; margin: 0; font-weight: 700; }
form.success .meldung.ok { display: block; color: var(--gruen-d); }
form.error .meldung.fehlt { display: block; color: var(--rot-d); }
form.loading .knopf { opacity: .6; pointer-events: none; }
.fuss .adresse { white-space: pre-line; }

/* ===== Beiträge und Seiten ===== */
main > article { padding-bottom: var(--abstand); }
article > .innen, .artikel-kopf, .titelbild { max-width: calc(760px + 2 * var(--rand)); }
.artikel-kopf { position: relative; padding-top: 28px; margin-bottom: 44px; }
.artikel-kopf.breit { max-width: none; padding: 0; margin-bottom: 64px; }
.artikel-kopf .hand { display: block; color: var(--tinte-2); transform: rotate(-2deg); transform-origin: left; margin-bottom: 10px; }
.seitentitel { font-size: clamp(40px, 6vw, 72px); overflow-wrap: break-word; hyphens: auto; }
.artikel-kopf .einleitung { margin: 22px 0 0; }
.artikel-kopf .punkt { top: 0; right: var(--rand); --farbe: var(--rot-d); }
.artikel-kopf:has(.punkt) .seitentitel { padding-right: 90px; }
.titelbild { margin: 0 auto 48px; }
.titelbild img { display: block; width: 100%; height: auto; border-radius: 20px; --dreh: -1deg; }
.titelbild figcaption { font-family: var(--hand); font-size: 20px; color: var(--tinte-2); margin-top: 16px; }
.zurueck { margin-top: 56px; }
.liste { padding-top: 28px; }
.blaettern { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 64px; font-weight: 700; }

.gh-content { font-size: 19px; }
.gh-content > * { margin: 0; }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content p { max-width: none; }
.gh-content > h2 { font: 800 clamp(28px, 3.4vw, 38px)/1.1 var(--kopf); margin-top: 1.6em; }
.gh-content > h3 { font: 800 26px/1.15 var(--kopf); margin-top: 1.4em; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .4em; }
.gh-content li::marker { color: var(--rot-d); font-weight: 800; }
.gh-content a { text-decoration-color: var(--blau); }
.gh-content blockquote { padding: 0; font-family: var(--hand); font-size: 28px; line-height: 1.25; }
.gh-content blockquote.kg-blockquote-alt { text-align: center; font-size: 34px; color: var(--tinte); }
.gh-content hr { border: 0; height: 18px; background: url(../images/unterstrich-blau.svg) center / 220px 18px no-repeat; margin-top: 2.4em; margin-bottom: 1.3em; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content .kg-image-card img, .gh-content .kg-gallery-image img { border-radius: 14px; }
.gh-content figcaption { font-family: var(--hand); font-size: 20px; color: var(--tinte-2); text-align: center; margin-top: 14px; }
.gh-content > .kg-width-wide { width: min(1100px, calc(100vw - 2 * var(--rand))); margin-left: 50%; transform: translateX(-50%); }
.gh-content > .kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.gh-content > .kg-width-full img { border-radius: 0; }
.gh-content .kg-button-card { display: flex; }
.gh-content .kg-button-card.kg-align-center { justify-content: center; }
.gh-content .kg-button-card a.kg-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 13px; background: var(--blau-d); color: #fff; font: 800 18px/1 var(--text); text-decoration: none; box-shadow: 0 5px 0 #12509a; transition: transform .1s; }
.gh-content .kg-button-card a.kg-btn:hover { opacity: 1; transform: translateY(-2px); }
.gh-content .kg-product-card-container { max-width: 520px; padding: 26px; border-radius: 24px; background: var(--gelb-h); color: var(--tinte); font-family: var(--text); box-shadow: 0 0 0 7px #fff, 0 12px 28px rgba(27, 32, 64, .16); }
.gh-content .kg-product-card h4.kg-product-card-title { font: 800 26px/1.1 var(--kopf); }
.gh-content .kg-product-card .kg-product-card-description p { font-size: 17px; opacity: 1; }
.gh-content .kg-product-card a.kg-product-card-button { height: 48px; border-radius: 12px; background: var(--blau-d); color: #fff; font: 800 17px/1 var(--text); box-shadow: 0 5px 0 #12509a; }
.gh-content .kg-toggle-card { border-radius: 13px; box-shadow: inset 0 0 0 2.5px var(--tinte); background: #fff; }
.gh-content .kg-toggle-heading-text { font: 800 20px/1.2 var(--kopf); }

/* ===== Unterseiten: Seitenkopf, Polaroid, Karten ===== */
.seitenkopf { position: relative; padding: 24px 0 4px; }
.seitenkopf .innen { max-width: calc(760px + 2 * var(--rand)); }
.seitenkopf.breit .innen { max-width: var(--breite); }
@media (min-width: 861px) { .seitenkopf:has(.seitenkopf-extra) .innen { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; } .seitenkopf-extra { grid-column: 2; grid-row: 1 / span 3; position: relative; z-index: 1; } }
.seitenkopf .titel-magnete { --gr: clamp(52px, 9vw, 104px); margin: 0 0 18px; }
.seitenkopf .einleitung { margin: 0 0 8px; }
.seitenkopf-kritzel { position: absolute; right: calc(var(--rand) - 120px); top: 0; width: 240px; pointer-events: none; }
@media (max-width: 1100px) { .seitenkopf-kritzel { right: 0; width: 150px; opacity: .8; } }
main > article > .innen:last-child { margin-top: 36px; }

/* Polaroid: weißer Rahmen, unten breiter, Klebestreifen oben, leicht schief. Für Beitragsbild und Bild-Karten. */
.polaroid, .gh-content > .kg-image-card:not(.kg-width-wide):not(.kg-width-full) { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; padding: 14px 14px 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(27, 32, 64, .12), 0 14px 30px rgba(27, 32, 64, .18); transform: rotate(var(--dreh, -1.5deg)); }
.polaroid::before, .gh-content > .kg-image-card:not(.kg-width-wide):not(.kg-width-full)::before { content: ""; position: absolute; z-index: 1; top: -14px; left: 50%; width: 112px; height: 28px; margin-left: -56px;
  background: rgba(255, 194, 26, .55); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.polaroid img, .gh-content > .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img { display: block; width: auto; max-width: 100%; height: auto; max-height: 72vh; border-radius: 0; box-shadow: none; }
.polaroid figcaption, .gh-content > .kg-image-card figcaption { width: 0; min-width: 100%; margin: 10px 0 0; font: 400 22px/1.15 var(--hand); color: var(--tinte-2); text-align: center; }
.gh-content > .kg-image-card:nth-of-type(even) { --dreh: 1.2deg; }
.gh-content > .kg-image-card:not(.kg-width-wide):not(.kg-width-full) { margin-top: 2em; margin-bottom: 1em; }
.titelbild { margin: 8px auto 40px; }
.titelbild .polaroid { --dreh: 1.5deg; }

/* Galerie als Fotowand: Rahmen per Schatten (ändert die Maße nicht, Ghost rechnet die Reihen selbst) */
.gh-content > .kg-gallery-card { padding-inline: 10px; margin-top: 2em; }
.gh-content .kg-gallery-container, .gh-content .kg-gallery-row { gap: 26px; }
.gh-content .kg-gallery-image { background: #fff; transform: rotate(var(--dreh, -1deg));
  box-shadow: 0 0 0 8px #fff, 0 14px 0 8px #fff, 0 18px 26px 8px rgba(27, 32, 64, .18); }
.gh-content .kg-gallery-image:nth-child(even) { --dreh: 1.2deg; }
.gh-content .kg-gallery-image img { border-radius: 0; }
.gh-content .kg-gallery-card figcaption { margin-top: 30px; }

/* Zwischenüberschriften mit Kritzel-Unterstrich in wechselnden Farben */
.gh-content:not(.spenden-inhalt) > h2 { width: fit-content; max-width: 100%; padding-bottom: 14px; background: url(../images/unterstrich-gelb.svg) left bottom / 100% 16px no-repeat; }
.gh-content:not(.spenden-inhalt) > h2:nth-of-type(4n+2) { background-image: url(../images/unterstrich-blau.svg); }
.gh-content:not(.spenden-inhalt) > h2:nth-of-type(4n+3) { background-image: url(../images/unterstrich-rosa.svg); }
.gh-content:not(.spenden-inhalt) > h2:nth-of-type(4n+4) { background-image: url(../images/unterstrich-gruen.svg); }

/* Nummerierte Schritte wie im Spendenkasten */
.gh-content ol { list-style: none; padding: 0; counter-reset: schritt; }
.gh-content ol > li { counter-increment: schritt; position: relative; min-height: 46px; padding: 6px 0 0 66px; margin-top: 18px; }
.gh-content ol > li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rot-d); color: #fff; font: 800 24px/1 var(--kopf); box-shadow: 0 0 0 4px #fff, 0 5px 10px rgba(0, 0, 0, .16); transform: rotate(-6deg); }
.gh-content ol > li:nth-child(3n+2)::before { background: var(--blau-d); transform: rotate(5deg); }
.gh-content ol > li:nth-child(3n+3)::before { background: var(--gruen-d); transform: rotate(-3deg); }

/* Zitat als Sprechblase, die zweite Zitatform als große Handschrift */
.gh-content > blockquote:not(.kg-blockquote-alt) { position: relative; margin-top: 1.8em; margin-bottom: 1.6em; padding: 22px 28px; background: var(--gelb-h); border-radius: 28px; transform: none;
  font: 400 27px/1.25 var(--hand); color: var(--tinte); }
.gh-content > blockquote:not(.kg-blockquote-alt)::after { content: ""; position: absolute; left: 46px; bottom: -18px; border: 18px solid transparent; border-top-color: var(--gelb-h); border-bottom: 0; border-left-width: 6px; }

/* Aufklappfragen als Zettel */
.gh-content .kg-toggle-card { border: 0; border-radius: 3px; background: #fff; padding: 18px 22px; box-shadow: 0 8px 18px rgba(27, 32, 64, .14); transform: rotate(var(--dreh, -.5deg)); }
.gh-content .kg-toggle-card:nth-of-type(even) { --dreh: .5deg; background: var(--gelb-h); }
.gh-content .kg-toggle-card + .kg-toggle-card { margin-top: 18px; }
.gh-content .kg-toggle-heading-text { font: 800 21px/1.2 var(--kopf); color: var(--tinte); }
.gh-content .kg-toggle-content p { font-size: 17px; }
.gh-content .kg-toggle-card-icon, .gh-content .kg-toggle-heading svg { color: var(--tinte); }
/* breite Hinweis-Zettel auf normalen Seiten nur leicht schief */
.gh-content:not(.spenden-inhalt) > .kg-callout-card { --dreh: -.6deg; }
.gh-content:not(.spenden-inhalt) > .kg-callout-card:nth-of-type(even) { --dreh: .6deg; }
.gh-content:not(.spenden-inhalt) > .kg-callout-card + .kg-callout-card { margin-top: 26px; }

/* ===== Termine: Kalenderwand ===== */
.kalenderwand { margin: 8px 0 40px; }
.termine-seite .gh-content > .kalenderwand { width: min(980px, calc(100vw - 2 * var(--rand))); margin-left: 50%; transform: translateX(-50%); }
.kalenderwand .kommend { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 40px 56px; align-items: start; }
.kalenderwand .kommend .termin-liste { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.kalenderwand .monat { width: fit-content; margin: 44px 0 22px; padding-bottom: 12px; font-size: 36px; color: var(--tinte); background: url(../images/unterstrich-rot.svg) left bottom / 100% 14px no-repeat; }
.kalenderwand section:nth-child(4n+2) .monat { background-image: url(../images/unterstrich-blau.svg); }
.kalenderwand section:nth-child(4n+3) .monat { background-image: url(../images/unterstrich-gruen.svg); }
.kalenderwand section:nth-child(4n+4) .monat { background-image: url(../images/unterstrich-gelb.svg); }
.gh-content ul.termin-liste, .termin-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px 34px; }
.gh-content .termin-liste > li + li { margin-top: 0; }
.termin { display: flex; gap: 18px; align-items: flex-start; }
.termin .blatt { position: relative; width: 92px; }
.termin .blatt small { font-size: 16px; line-height: 30px; }
.termin .blatt b { font-size: 44px; line-height: 50px; }
.termin .blatt em { display: block; padding-bottom: 8px; font: 700 14px/1 var(--text); font-style: normal; color: var(--tinte-2); }
.termin .zettel { flex: 1; min-width: 0; padding: 30px 18px 18px; }
.termin .zettel strong { display: block; font: 800 22px/1.15 var(--kopf); overflow-wrap: break-word; }
@media (max-width: 420px) { .termin .zettel strong { hyphens: auto; } }
.termin .zettel span { display: block; margin-top: 6px; font-size: 16px; color: var(--tinte-2); }
a.zettel strong { text-decoration: underline; text-decoration-color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.termin:nth-child(3n+1) .blatt { --dreh: -4deg; --farbe: var(--rot-d); }
.termin:nth-child(3n+2) .blatt { --dreh: 3deg; --farbe: var(--blau-d); }
.termin:nth-child(3n+3) .blatt { --dreh: -2deg; --farbe: var(--gruen-d); }
.termin:nth-child(3n+1) .zettel { --grund: #fff; --dreh: 1deg; --nadel: var(--rot); }
.termin:nth-child(3n+2) .zettel { --grund: var(--gelb-h); --dreh: -1.2deg; --nadel: var(--blau); }
.termin:nth-child(3n+3) .zettel { --grund: var(--gruen-h); --dreh: .8deg; --nadel: var(--gelb); }
.termin .zettel:hover { transform: rotate(var(--dreh)); }
.termin .zettel::before { left: auto; right: 22px; margin-left: 0; }
.war-schoen { margin-top: 64px; padding-top: 34px; border-top: 2px dashed rgba(27, 32, 64, .2); }
.war-schoen h2 { margin: 0 0 22px; font-size: 32px; color: var(--tinte-2); }
.war-schoen .termin-liste { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.termin.vorbei .blatt { width: 70px; --farbe: #6b6f86; }
.termin.vorbei .blatt b { font-size: 32px; line-height: 40px; }
.termin.vorbei .blatt::after { content: ""; position: absolute; right: -24px; bottom: -16px; width: 54px; height: 54px; background: url(../images/haken.svg) center / contain no-repeat; }
.termin.vorbei .zettel { --grund: #fff; box-shadow: 0 4px 10px rgba(27, 32, 64, .1); padding: 26px 14px 14px; }
.termin.vorbei .zettel::before { display: none; }
.termin.vorbei .zettel strong { font-size: 18px; }
@media (max-width: 600px) { .gh-content ul.termin-liste, .war-schoen .termin-liste { grid-template-columns: minmax(0, 1fr); } }

/* ===== Beiträge: Kopf mit Polaroid, Weiterlesen ===== */
/* Kompakter Beitrag: Titel über die volle Breite, Text links, Foto rechts daneben */
.beitrag .artikel-kopf { max-width: calc(1100px + 2 * var(--rand)); padding-top: 20px; margin-bottom: 30px; }
.beitrag .seitentitel { font-size: clamp(34px, 4.6vw, 58px); }
.kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 12px; max-width: none; }
.artikel-kopf .kopf-zeile .hand { display: inline-block; margin: 0; }
.kopf-zeile .schlagwort { margin-top: 0; }
.beitrag-koerper.mit-bild { max-width: calc(1100px + 2 * var(--rand)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: 64px; align-items: start; }
.beitrag-koerper.mit-bild .gh-content { grid-column: 1; grid-row: 1; }
.beitrag-koerper.mit-bild .kopf-bild { grid-column: 2; grid-row: 1; position: sticky; top: 28px; }
.beitrag-koerper.mit-bild .gh-content > .kg-width-wide, .beitrag-koerper.mit-bild .gh-content > .kg-width-full { width: auto; margin-left: 0; transform: none; }
.kopf-bild { position: relative; padding-top: 10px; }
.kopf-bild .polaroid { --dreh: 2deg; }
.kopf-bild .polaroid img { max-height: 460px; }
.kopf-bild .punkt { top: -14px; right: -14px; z-index: 2; }
.beitrag-betrag { --farbe: var(--rot-d); }
@media (max-width: 860px) {
  .beitrag-koerper.mit-bild { grid-template-columns: minmax(0, 1fr); }
  .beitrag-koerper.mit-bild .kopf-bild, .beitrag-koerper.mit-bild .gh-content { grid-column: 1; grid-row: auto; }
  .beitrag-koerper.mit-bild .kopf-bild { position: relative; top: 0; max-width: 420px; width: 100%; margin: 0 auto 36px; }
  .beitrag-koerper.mit-bild .kopf-bild .polaroid img { max-height: 46vh; }
}
.schlagwort { display: inline-block; margin-top: 22px; padding: 7px 16px; border-radius: 10px; background: var(--gelb-h); color: var(--tinte); font: 800 15px/1.2 var(--text); text-decoration: none;
  box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(27, 32, 64, .14); transform: rotate(-2deg); }
.schlagwort:hover { text-decoration: underline; text-decoration-color: var(--rot); }
.weiter { padding: var(--abstand) 0; }
.weiter .collage.drei { grid-template-columns: repeat(3, 1fr); gap: 40px 56px; }
@media (max-width: 1000px) { .weiter .collage.drei { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .weiter .collage.drei { grid-template-columns: 1fr; } }
.weiter-spenden { max-width: 480px; margin: 72px auto 0; }
.weiter-spenden:empty { display: none; }
main > article:has(.weiter) { padding-bottom: 0; }

/* ===== Übersichten: Summe, Fotos in Karten und auf Zetteln ===== */
.liste { padding-top: 12px; }
.summe { --dreh: -2deg; --grund: var(--gelb-h); width: fit-content; margin: 8px 0 24px auto; padding: 22px 34px 26px; text-align: center; }
.summe .hand { display: block; margin-bottom: 6px; font-size: 26px; color: var(--tinte-2); }
.summe b { position: relative; display: inline-block; padding: 0 10px; font: 800 clamp(44px, 6vw, 64px)/1 var(--kopf); }
.summe b svg { position: absolute; left: -18px; top: -14px; width: calc(100% + 36px); height: calc(100% + 28px); }
.projekt .polaroid.karte { width: 100%; margin: 4px 0 6px; padding: 8px 8px 20px; --dreh: 2deg; box-shadow: 0 1px 2px rgba(27, 32, 64, .12), 0 8px 16px rgba(27, 32, 64, .16); }
.projekt .polaroid.karte::before { width: 74px; height: 22px; margin-left: -37px; top: -10px; }
.projekt .polaroid.karte img { width: 100%; height: 150px; max-height: none; object-fit: cover; }
.projekt:nth-child(even) .polaroid.karte { --dreh: -2.5deg; }
.zettel.mit-foto time, .zettel.mit-foto h3 { padding-right: 84px; }
.zettel .polaroid.mini { position: absolute; top: -16px; right: -12px; width: 104px; padding: 6px 6px 16px; --dreh: 6deg; box-shadow: 0 1px 2px rgba(27, 32, 64, .12), 0 8px 16px rgba(27, 32, 64, .18); }
.zettel .polaroid.mini::before { display: none; }
.zettel .polaroid.mini img { width: 100%; height: 80px; max-height: none; object-fit: cover; }
.zettel:nth-child(even) .polaroid.mini { --dreh: -5deg; }
@media (max-width: 540px) { .zettel .polaroid.mini { right: 6px; } }

/* ===== Über uns: Steckbriefe wie im Freundebuch ===== */
.ueber-uns-seite .gh-content > .steckbriefe { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 34px 26px; margin-top: 2em; margin-bottom: 1em; }
.steckbriefe .kg-product-card { display: block; width: auto; margin: 0; }
.ueber-uns-seite .steckbriefe .kg-product-card-container { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: none; height: 100%; padding: 22px 18px 24px; text-align: center;
  background: var(--grund, #fff); border-radius: 22px; box-shadow: 0 0 0 7px #fff, 0 12px 26px rgba(27, 32, 64, .16); transform: rotate(var(--dreh, -2deg)); }
.ueber-uns-seite .steckbriefe .kg-product-card-container::before { content: ""; width: 116px; height: 116px; margin-bottom: 4px; background: url(../images/gesicht-1.svg) center / contain no-repeat; }
.steckbriefe .kg-product-card:nth-child(4n+2) .kg-product-card-container { --dreh: 2deg; --grund: var(--blau-h); }
.steckbriefe .kg-product-card:nth-child(4n+2) .kg-product-card-container::before { background-image: url(../images/gesicht-2.svg); }
.steckbriefe .kg-product-card:nth-child(4n+3) .kg-product-card-container { --dreh: -1deg; --grund: var(--gruen-h); }
.steckbriefe .kg-product-card:nth-child(4n+3) .kg-product-card-container::before { background-image: url(../images/gesicht-3.svg); }
.steckbriefe .kg-product-card:nth-child(4n+4) .kg-product-card-container { --dreh: 1.5deg; --grund: var(--lila-h); }
.steckbriefe .kg-product-card:nth-child(4n+4) .kg-product-card-container::before { background-image: url(../images/gesicht-4.svg); }
.steckbriefe .kg-product-card:nth-child(4n+1) .kg-product-card-container { --grund: var(--rosa-h); }
.steckbriefe .kg-product-card:has(.kg-product-card-image) .kg-product-card-container::before { display: none; }
.steckbriefe .kg-product-card-image { width: 116px; height: 116px; object-fit: cover; border: 6px solid #fff; box-shadow: 0 6px 12px rgba(27, 32, 64, .18); transform: rotate(-3deg); }
.ueber-uns-seite .steckbriefe .kg-product-card h4.kg-product-card-title { font: 800 24px/1.1 var(--kopf); }
.ueber-uns-seite .steckbriefe .kg-product-card .kg-product-card-description p { font-size: 16px; line-height: 1.5; opacity: 1; color: var(--tinte); }
.steckbriefe .kg-product-card-rating, .steckbriefe .kg-product-card-button:empty { display: none; }

/* ===== Spendenseite ===== */
.titel-magnete { margin: 4px 0 26px; --gr: clamp(64px, 11vw, 132px); }
.titel-magnete .b { cursor: default; }
/* Auf Unterseiten stehen die Titelbuchstaben ruhig da */
.titel-magnete .b i { animation: none; }
.spenden-oben { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .spenden-oben { grid-template-columns: 1fr; } }

.kasten { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .kasten { grid-template-columns: 1fr; } }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.schritte > li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.nr { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--farbe); color: #fff; font: 800 28px/1 var(--kopf); box-shadow: 0 0 0 5px #fff, 0 6px 12px rgba(0, 0, 0, .16); transform: rotate(var(--dreh)); }
.schritte h3 { font: 800 28px/1.1 var(--kopf); margin: 10px 0 16px; }
.schritte p { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 24px; background: #fff; font: 800 18px var(--text); box-shadow: inset 0 0 0 2.5px var(--tinte), 0 4px 0 var(--tinte); transition: transform .1s, box-shadow .1s; }
.chip input:hover + span { transform: translateY(-2px); box-shadow: inset 0 0 0 2.5px var(--tinte), 0 6px 0 var(--tinte); }
.chip input:checked + span { background: var(--gelb); transform: translateY(3px); box-shadow: inset 0 0 0 2.5px var(--tinte), 0 1px 0 var(--tinte); }
.chip input:focus-visible + span { outline: 3px solid var(--tinte); outline-offset: 4px; }
.feld.frei { flex: 0 1 200px; height: 48px; }
.fehler { color: #c22a25; font-weight: 700; font-size: 15px; margin: 10px 0 0; min-height: 1.4em; }

.code-seite { display: grid; gap: 30px; }
.qr-blatt { --dreh: 2deg; --grund: var(--gelb-h); padding: 30px 26px 24px; display: grid; justify-items: center; gap: 12px; }
.qr { background: #fff; padding: 16px; border-radius: 14px; width: min(100%, 280px); box-shadow: inset 0 0 0 2.5px var(--tinte); }
.qr svg { width: 100%; height: auto; }
.qr-text { margin: 0; font-family: var(--hand); font-size: 24px; text-align: center; }
.qr-klapp > summary { cursor: pointer; font-weight: 800; padding: 10px 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.qr-klapp[open] > summary { margin-bottom: 18px; }
@media (min-width: 861px) { .qr-klapp > summary { display: none; } }
.daten { list-style: none; margin: 0; padding: 0; }
.daten li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 2px dashed rgba(27, 32, 64, .2); }
.daten li:last-child { border-bottom: 2px dashed rgba(27, 32, 64, .2); }
.daten small { display: block; font-size: 15px; color: var(--tinte-2); font-weight: 700; }
.daten strong { display: block; font-weight: 800; overflow-wrap: anywhere; }
.daten .knopf { margin-left: auto; flex: none; min-width: 112px; }
@media (max-width: 860px) { .daten { order: -1; } }

.quittungen { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
@media (max-width: 760px) { .quittungen { grid-template-columns: 1fr; } }
.quittungen .zettel { cursor: default; }
.quittungen .zettel:hover { transform: rotate(var(--dreh)); }
.quittungen h3 { font: 800 28px/1.1 var(--kopf); margin: 0 0 10px; }
.quittungen p { font-size: 17px; }
.quittungen .knopf { margin-top: 8px; }
@media (max-width: 860px) { .nur-gross { display: none; } }
@media (min-width: 861px) { .nur-handy { display: none; } }
.dose { margin: 36px 0 0; transform: rotate(-2deg); color: var(--tinte-2); }
.spenden-buehne { padding-bottom: clamp(64px, 8vw, 104px); }
.titel-magnete .zeile:not(:has(.b)) { color: var(--rot); }
.titel-magnete .zeile { white-space: normal; }
.titel-magnete .wort { display: inline-block; white-space: nowrap; }
.ohne-code .kasten { grid-template-columns: 1fr; max-width: 640px; }
/* Inhalt der Seite: Überschrift, Callouts als Pinnwand-Zettel, Datei-Karte als Knopf, letzter Absatz als Handnotiz */
.spenden-inhalt { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; grid-auto-flow: dense; }
.spenden-inhalt > * { grid-column: 1 / -1; margin: 0; }
.spenden-inhalt > h2 { margin-top: 0; justify-self: start; font: 800 clamp(36px, 4.6vw, 54px)/1 var(--kopf); margin-bottom: 12px; padding-bottom: 16px; background: url(../images/unterstrich-blau.svg) left bottom / 100% 18px no-repeat; }
.gh-content .kg-callout-text a { color: inherit; }
.gh-content > .kg-callout-card { grid-column: auto; display: block; position: relative; padding: 34px 26px 26px; border-radius: 0; background: #fff; box-shadow: 0 10px 22px rgba(27, 32, 64, .14); transform: rotate(var(--dreh)); --dreh: -1.5deg; --nadel: var(--rot); }
.gh-content > .kg-callout-card::before { content: ""; position: absolute; top: 12px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8 0 3px, transparent 4px), var(--nadel); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); }
.gh-content > .kg-callout-card-yellow { background: var(--gelb-h); --dreh: 1.5deg; --nadel: var(--blau); }
.gh-content > .kg-callout-card-green { background: var(--gruen-h); --dreh: -1deg; --nadel: var(--gelb); }
.gh-content > .kg-callout-card-blue { background: var(--blau-h); }
.gh-content > .kg-callout-card-pink { background: var(--rosa-h); }
.gh-content .kg-callout-text { font-size: 17px; line-height: 1.6; color: var(--tinte); }
.gh-content .kg-callout-text > b:first-child:has(+ br) { display: block; font: 800 28px/1.1 var(--kopf); margin-bottom: 10px; }
.gh-content .kg-callout-text > b:first-child + br { display: none; }
.spenden-inhalt > .kg-file-card { grid-column: 1; width: auto; margin-top: -12px; }
.gh-content .kg-file-card-container { border: 0; border-radius: 13px; min-height: 0; padding: 14px 18px; gap: 14px; background: #fff; color: var(--tinte); text-decoration: none; box-shadow: inset 0 0 0 2.5px var(--tinte), 0 5px 0 var(--tinte); }
.gh-content .kg-file-card-container:hover { transform: translateY(-2px); }
.gh-content .kg-file-card-title { font: 800 18px/1.3 var(--text); }
.gh-content .kg-file-card-caption, .gh-content .kg-file-card-metadata { font-size: 15px; opacity: 1; color: var(--tinte-2); }
.spenden-inhalt > p:last-child { font-family: var(--hand); font-size: 26px; line-height: 1.1; transform: rotate(-2deg); color: var(--tinte-2); margin-top: 12px; }
@media (max-width: 760px) { .spenden-inhalt { grid-template-columns: 1fr; } .spenden-inhalt > .kg-callout-card, .spenden-inhalt > .kg-file-card { grid-column: 1; } }

/* Ghost-Karten */
.kg-width-wide { width: min(1100px, 100%); margin-inline: auto; }
.kg-width-full { width: 100%; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 10px; }
.kg-gallery-row { display: flex; gap: 10px; }
.kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card { margin: 1.5em 0; }
.kg-bookmark-container { display: flex; border: 2px solid var(--tinte); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.kg-bookmark-content { flex: 1; padding: 16px 18px; min-width: 0; }
.kg-bookmark-title { font-weight: 800; }
.kg-bookmark-description { margin-top: 4px; font-size: 0.92em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.85em; }
.kg-bookmark-icon { width: 20px; height: 20px; }
.kg-bookmark-author, .kg-bookmark-publisher { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kg-bookmark-thumbnail { position: relative; flex: 0 0 32%; }
.kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
