/* ==========================================================
   Kita Grenzenlos – Stylesheet
   Reines CSS, keine externen Verbindungen (DSGVO-freundlich).
   Schriften liegen lokal in /fonts (SIL Open Font License).
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --paper: #fbf5ea;
  --paper-2: #f4ead7;
  --card: #fffdf8;
  --ink: #2e2a3a;
  --ink-soft: #5b5566;
  --red: #e0573e;
  --red-deep: #b9402a;
  --sun: #f3b53f;
  --leaf: #5e9b5b;
  --leaf-deep: #3f7a3d;
  --sky: #4d8ec2;
  --plum: #9b5c8f;
  --clay: #c98b5e;

  --f-head: "Fraunces", Georgia, "Times New Roman", serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* handgezeichnete Rahmen */
  --wobble-1: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --wobble-2: 20px 220px 18px 240px / 230px 18px 250px 20px;
  --wobble-3: 230px 20px 200px 25px / 25px 190px 22px 230px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: var(--red-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px dashed var(--sky);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper);
  padding: .5rem 1rem; border-radius: 8px; z-index: 200;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.hand {
  font-family: var(--f-hand);
  font-weight: 600;
  line-height: 1.1;
}

.kicker {
  display: inline-block;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red);
  transform: rotate(-2deg);
  margin-bottom: .25rem;
}

/* gezeichnete Unterstreichung */
.scribble {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C40 3 70 12 110 7 S170 4 197 8' fill='none' stroke='%23F3B53F' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .38em no-repeat;
  padding-bottom: .06em;
}
.scribble--red {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C40 3 70 12 110 7 S170 4 197 8' fill='none' stroke='%23E0573E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Platzhalter – gut sichtbar, damit nichts vergessen wird */
.ph {
  background: #fff1a8;
  color: var(--ink);
  padding: 0 .3em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 2px dashed var(--clay);
}

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  padding-bottom: 10px;
}
/* gezeichnete Wellenlinie statt technischer Trennlinie */
.site-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6 C15 1 25 11 40 6 S65 1 80 6 S105 11 120 6' fill='none' stroke='%232E2A3A' stroke-opacity='.35' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left center / 120px 12px repeat-x;
  pointer-events: none;
}
.site-head .wrap {
  display: flex; align-items: center; gap: .9rem;
  min-height: 66px;
}
.brand {
  display: flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--f-head); font-weight: 700; font-size: 1.25rem;
  white-space: nowrap;
}
.brand svg { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-family: var(--f-hand); font-size: 1rem; color: var(--ink-soft); font-weight: 600; line-height: 1; }

/* Kopfzeile: zwei "Zettel" im Stil der Karten auf der Seite */
.head-links {
  margin-left: auto;
  display: flex; align-items: center; gap: .7rem;
}
.head-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: .95rem; line-height: 1.1;
  padding: .5rem 1rem;
  border: 2px solid var(--ink);
  white-space: nowrap;
  transition: transform .15s ease;
}
.head-link svg { width: 18px; height: 18px; flex: none; }
.head-link:hover { color: var(--ink); transform: rotate(0) translateY(-2px); }

.head-times {
  background: var(--card);
  border-radius: var(--wobble-2);
  transform: rotate(-1deg);
}
.head-times svg { color: var(--sky); }

.head-call {
  background: var(--sun);
  border-radius: var(--wobble-1);
  transform: rotate(1.2deg);
}
.head-call svg { color: var(--ink); }

/* Smartphones: Logo oben, beide Zettel gleich groß nebeneinander darunter */
@media (max-width: 640px) {
  .site-head { padding-bottom: 12px; }
  .site-head .wrap { flex-wrap: wrap; gap: .5rem 0; padding-top: .5rem; padding-bottom: .2rem; min-height: 0; }
  .brand { font-size: 1.15rem; }
  .head-links {
    margin-left: 0; flex-basis: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  }
  .head-link { font-size: .92rem; padding: .5rem .6rem; }
  .head-link .long { display: none; }
}

section[id], #zeiten { scroll-margin-top: 110px; }

/* ---------- Abschnitte ---------- */

.block { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.block--tint { background: var(--paper-2); }
.block-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.block-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.block-head .sub { font-size: 1.15rem; color: var(--ink-soft); }

/* geschwungene Übergänge */
.wave { display: block; width: 100%; height: 40px; }
.wave path { fill: var(--paper-2); }

/* ---------- Hero ---------- */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 34em; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art .note {
  position: absolute; right: 2%; top: 0;
  font-family: var(--f-hand); font-size: 1.5rem; font-weight: 700;
  color: var(--plum); transform: rotate(6deg);
}

.facts {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; padding: 0; margin: 2rem 0 0;
}
.facts li {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--wobble-1);
  padding: .45rem 1rem;
  font-weight: 700; font-size: .98rem;
}
.facts li:nth-child(2) { border-radius: var(--wobble-2); transform: rotate(-1deg); }
.facts li:nth-child(3) { border-radius: var(--wobble-3); transform: rotate(1deg); }
.facts b { font-family: var(--f-head); font-size: 1.15rem; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(2deg); }
}
.bob { animation: bob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; order: -1; }
}

/* ---------- Statt / Sondern ---------- */

.contrast-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 900px;
  display: grid; gap: 1rem;
}
.contrast-list li {
  display: grid;
  grid-template-columns: 1fr 3rem 1.2fr;
  align-items: center;
  gap: .5rem;
}
.contrast-list .not {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(224, 87, 62, .85);
  text-decoration-thickness: 1.5px;
  text-decoration-style: solid;
  text-align: right;
  font-size: 1.05rem;
}
.contrast-list .arrow {
  font-family: var(--f-hand); font-size: 2rem; color: var(--red); text-align: center; line-height: 1;
}
.contrast-list .yes {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-1);
  padding: .7rem 1.1rem;
  font-weight: 800;
  font-size: 1.1rem;
}
.contrast-list li:nth-child(even) .yes { border-radius: var(--wobble-2); }
.contrast-list li:nth-child(3n) .yes { border-radius: var(--wobble-3); }
.contrast-list .yes small {
  display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem;
}
.contrast-head {
  display: grid; grid-template-columns: 1fr 3rem 1.2fr; gap: .5rem;
  max-width: 900px; margin: 0 auto 1rem;
  font-family: var(--f-hand); font-size: 1.5rem; font-weight: 700;
}
.contrast-head span:first-child { text-align: right; color: var(--ink-soft); }
.contrast-head span:last-child { color: var(--leaf-deep); }

@media (max-width: 640px) {
  .contrast-head { display: none; }
  .contrast-list li { grid-template-columns: 1fr; gap: .2rem; }
  .contrast-list .not { text-align: left; font-size: .98rem; }
  .contrast-list .arrow { display: none; }
}

/* ---------- Warum Grenzenlos ---------- */

.why {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 980px; margin: 0 auto;
}
.why svg { width: 100%; height: auto; }
.why blockquote { margin: 0; }
.why .big {
  font-family: var(--f-head);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 1rem;
}
.why .big em { font-style: normal; color: var(--red-deep); }
@media (max-width: 700px) {
  .why { grid-template-columns: 1fr; text-align: center; }
  .why svg { max-width: 160px; margin: 0 auto; }
}

/* ---------- Kompass-Schaubild ---------- */

.compass-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px) 1fr;
  grid-template-areas:
    ".     top    ."
    "left  core   right"
    ".     bottom .";
  gap: 1.2rem 1.6rem;
  align-items: center;
}
.c-top { grid-area: top; }
.c-left { grid-area: left; }
.c-right { grid-area: right; }
.c-bottom { grid-area: bottom; }
.compass-core { grid-area: core; }
.compass-core svg { width: 100%; height: auto; display: block; }

.c-card {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble-1);
  padding: 1.1rem 1.3rem;
  position: relative;
}
.c-card h3 { margin-bottom: .2rem; }
.c-card p { margin: 0; color: var(--ink-soft); }
.c-card .who {
  font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; display: block; margin-bottom: .2rem;
}
.c-top { border-radius: var(--wobble-2); text-align: center; }
.c-bottom { border-radius: var(--wobble-3); text-align: center; }
.c-left { text-align: right; }
.c-top .who { color: var(--red-deep); }
.c-right .who { color: var(--sky); }
.c-bottom .who { color: var(--leaf-deep); }
.c-left .who { color: var(--plum); }
.c-top { box-shadow: 6px 6px 0 var(--red); }
.c-right { box-shadow: 6px 6px 0 var(--sky); }
.c-bottom { box-shadow: 6px 6px 0 var(--leaf); }
.c-left { box-shadow: 6px 6px 0 var(--plum); }

/* Kleinere Bildschirme: Das Schaubild bleibt ein Kreuz, wird nur kompakter */
@media (max-width: 860px) {
  .compass-grid {
    grid-template-columns: 1fr minmax(120px, 34vw) 1fr;
    grid-template-areas:
      "top    top    top"
      "left   core   right"
      "bottom bottom bottom";
    gap: .7rem .5rem;
  }
  .c-top, .c-bottom { justify-self: center; max-width: 300px; }
  .c-card { padding: .7rem .75rem; text-align: center; box-shadow: none; }
  .c-top { box-shadow: 4px 4px 0 var(--red); }
  .c-right { box-shadow: 4px 4px 0 var(--sky); }
  .c-bottom { box-shadow: 4px 4px 0 var(--leaf); }
  .c-left { box-shadow: 4px 4px 0 var(--plum); }
  .c-card .who { font-size: 1.05rem; }
  .c-card h3 { font-size: 1rem; line-height: 1.2; }
  .c-card p { font-size: .82rem; line-height: 1.4; }
}
@media (max-width: 480px) {
  .compass-grid { grid-template-columns: 1fr 132px 1fr; gap: .6rem .3rem; }
  .c-left, .c-right { padding: .6rem .45rem; }
  .c-left p, .c-right p { display: none; }
  .c-card h3 { font-size: .92rem; }
  .c-card .who { font-size: .98rem; }
}

/* Umsetzungsweg */
.flow {
  list-style: none; padding: 0; margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; gap: .8rem;
  align-items: center; max-width: 980px;
}
.flow li { text-align: center; }
.flow .step {
  background: var(--card); border: 2px dashed var(--ink); border-radius: var(--wobble-2);
  padding: 1rem;
}
.flow .step b { display: block; font-family: var(--f-head); font-size: 1.15rem; }
.flow .step span { color: var(--ink-soft); font-size: .95rem; }
.flow .go { font-family: var(--f-hand); font-size: 2.4rem; color: var(--red); }
.flow .step--goal {
  background: var(--sun); border: 2.5px solid var(--ink); border-radius: var(--wobble-1);
}
.flow .step--goal b { font-family: var(--f-hand); font-size: 1.6rem; line-height: 1.15; }
.flow .step--goal span { color: var(--ink); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow .go { transform: rotate(90deg); }
}

/* ---------- Hausplan ---------- */

.plan {
  border: 4px solid var(--ink);
  border-radius: 28px 10px 34px 12px / 12px 30px 10px 26px;
  background: var(--card);
  padding: clamp(.8rem, 2vw, 1.4rem);
  display: grid; gap: clamp(.8rem, 2vw, 1.2rem);
  position: relative;
}
.zone { position: relative; }
.zone-label {
  font-family: var(--f-hand); font-weight: 700; font-size: 1.4rem;
  display: block; margin: 0 0 .4rem .3rem;
}
.zone-home .zone-label { color: var(--red-deep); }
.zone-rooms .zone-label { color: var(--sky); }
.zone-garden .zone-label { color: var(--leaf-deep); }

.rooms { display: grid; gap: .8rem; }
.zone-home .rooms { grid-template-columns: 1fr 1.4fr; }
.zone-rooms .rooms { grid-template-columns: repeat(5, 1fr); }

.room {
  border: 2px solid var(--ink);
  border-radius: 10px 16px 8px 14px;
  padding: 1rem;
  background: var(--paper);
  transition: transform .2s ease;
}
.room:hover { transform: rotate(-.6deg) scale(1.015); }
.room svg { width: 46px; height: 46px; display: block; margin-bottom: .4rem; }
.room h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.room h3 small { font-family: var(--f-body); font-weight: 700; font-size: .8rem; color: var(--ink-soft); display: block; letter-spacing: .02em; }
.room p { font-size: .95rem; margin: 0 0 .4rem; }
.room .learn {
  font-family: var(--f-hand); font-weight: 700; font-size: 1.2rem; line-height: 1.1;
  color: var(--plum); margin: 0;
}

.room--nest { background: #fde7df; }
.room--home { background: #fdf0d4; }
.room--flur {
  background: repeating-linear-gradient(-45deg, #f6efe1 0 14px, #efe5d1 14px 28px);
  display: flex; gap: 1rem; align-items: center;
}
.room--flur svg { margin: 0; flex: none; }
.room--flur p { margin: 0; }
.zone-rooms .room { background: #e8f1f8; }
.zone-rooms .room:nth-child(2) { background: #f3e9f1; }
.zone-rooms .room:nth-child(4) { background: #fbf0dc; }
.room--garden {
  background: #e3efdc;
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.5rem; align-items: center;
}
.room--garden svg { margin: 0; }
.room--garden .tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; justify-content: flex-end; }
.room--garden .tags li {
  background: var(--card); border: 1.5px solid var(--leaf-deep); border-radius: 999px;
  padding: .1rem .7rem; font-size: .9rem; font-weight: 700; color: var(--leaf-deep);
}

.plan-note {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center;
  margin-top: 1.5rem; font-family: var(--f-hand); font-size: 1.45rem; font-weight: 700; color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 980px) {
  .zone-rooms .rooms { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .zone-home .rooms, .zone-rooms .rooms { grid-template-columns: 1fr 1fr; }
  .zone-home .rooms .room--home { grid-column: span 2; }
  .room--garden { grid-template-columns: auto 1fr; }
  .room--garden .tags { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 460px) {
  .zone-home .rooms, .zone-rooms .rooms { grid-template-columns: 1fr; }
  .zone-home .rooms .room--home { grid-column: auto; }
  .room--flur { flex-direction: column; align-items: flex-start; }
}

/* ---------- Eingewöhnung (Weg) ---------- */

.path-wrap {
  display: grid; grid-template-columns: 1fr 300px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.steps {
  list-style: none; padding: 0; margin: 0; position: relative;
  display: grid; gap: 1.2rem;
  counter-reset: s;
}
.steps::before {
  content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px;
  border-left: 3px dashed var(--clay);
}
.steps li {
  position: relative; padding-left: 76px; min-height: 56px;
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-family: var(--f-hand); font-size: 1.9rem; font-weight: 700;
  background: var(--card); border: 2.5px solid var(--ink);
  border-radius: 50% 45% 52% 48% / 48% 52% 45% 50%;
}
.steps li:nth-child(1)::before { background: #fde7df; }
.steps li:nth-child(2)::before { background: #fdf0d4; }
.steps li:nth-child(3)::before { background: #e8f1f8; }
.steps li:nth-child(4)::before { background: #f3e9f1; }
.steps li:last-child::before { background: var(--sun); content: "★"; font-size: 1.6rem; }
.steps b { display: block; font-family: var(--f-head); font-size: 1.2rem; padding-top: .35rem; }
.steps span { color: var(--ink-soft); }

.pikler {
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--wobble-3);
  padding: 1.5rem; position: sticky; top: 110px;
  box-shadow: 6px 6px 0 var(--sun);
}
.pikler p { font-family: var(--f-hand); font-size: 1.8rem; font-weight: 600; line-height: 1.15; margin-bottom: .6rem; }
.pikler cite { font-style: normal; font-weight: 700; color: var(--ink-soft); }
.tempo-badge {
  display: inline-block; margin-top: 1.4rem;
  background: var(--red-deep); color: #fff; font-weight: 800;
  padding: .5rem 1rem; border-radius: var(--wobble-2);
  transform: rotate(-2deg);
}
@media (max-width: 820px) {
  .path-wrap { grid-template-columns: 1fr; }
  .pikler { position: static; }
}

/* ---------- Tagesablauf (Anker & Freiraum) ---------- */

.day-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin-bottom: 2rem;
  font-weight: 700;
}
.day-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 22px; height: 22px; border-radius: 50%; display: inline-block; }
.dot--anchor { background: var(--ink); }
.dot--free { border: 2.5px dashed var(--leaf-deep); }

.day-line {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem;
  position: relative; align-items: start;
}
.day-line::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 37px;
  height: 4px; background: var(--ink); border-radius: 4px;
}
.day-line li { position: relative; text-align: center; padding-top: 0; }
.day-line .mark {
  width: 74px; height: 74px; margin: 0 auto .7rem; position: relative; z-index: 1;
  display: grid; place-items: center; border-radius: 50%;
}
.day-line .anchor .mark { background: var(--ink); color: var(--paper); }
.day-line .anchor .mark svg { width: 36px; height: 36px; }
.day-line .free .mark {
  background: var(--paper-2); border: 3px dashed var(--leaf-deep);
  font-family: var(--f-hand); font-size: 2.2rem; font-weight: 700; color: var(--leaf-deep);
  width: 64px; height: 64px; margin-top: 5px;
}
.day-line b { display: block; font-family: var(--f-head); font-size: 1.02rem; line-height: 1.2; }
.day-line .free b { font-family: var(--f-hand); font-size: 1.35rem; font-weight: 700; color: var(--leaf-deep); }
.day-line span { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: .2rem; }

.day-result {
  margin: 2.5rem auto 0; max-width: 680px; text-align: center;
  font-size: 1.15rem;
}
.day-result strong { background: var(--sun); padding: 0 .3em; border-radius: 4px; }

@media (max-width: 900px) {
  .day-line { grid-template-columns: 1fr; gap: .9rem; max-width: 480px; margin: 0 auto; }
  .day-line::before { left: 35px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .day-line li { display: grid; grid-template-columns: 74px 1fr; column-gap: 1rem; align-items: center; align-content: center; text-align: left; }
  .day-line .mark { margin: 0; grid-row: span 2; }
  .day-line b { align-self: end; }
  .day-line span { align-self: start; }
  .day-line .free .mark { margin: 0 auto; }
  .day-line span { margin-top: 0; }
}

/* ---------- Team als Kette ---------- */

.chain {
  display: flex; justify-content: center; align-items: center;
  padding: 1rem 0 0;
}
.link {
  width: 240px; height: 140px; flex: none;
  border: 10px solid; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  margin-left: -42px;
  mix-blend-mode: multiply;
  padding: 0 1.8rem;
  position: relative;
}
.link:first-child { margin-left: 0; }
.link:nth-child(1) { border-color: var(--red); transform: rotate(-4deg); }
.link:nth-child(2) { border-color: var(--sun); transform: rotate(3deg); }
.link:nth-child(3) { border-color: var(--sky); transform: rotate(-3deg); }
.link:nth-child(4) { border-color: var(--leaf); transform: rotate(4deg); }
.link b { display: block; font-family: var(--f-head); font-size: 1.05rem; line-height: 1.15; }
.link span { font-family: var(--f-hand); font-size: 1.25rem; font-weight: 600; color: var(--ink-soft); line-height: 1.05; }

@media (max-width: 1000px) {
  .chain { flex-direction: column; }
  .link { margin-left: 0; margin-top: -34px; width: 250px; height: 132px; }
  .link:first-child { margin-top: 0; }
}

.team-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; max-width: 980px; margin-left: auto; margin-right: auto;
}
.team-text .big {
  font-family: var(--f-head); font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.25; font-weight: 500;
}
@media (max-width: 760px) { .team-text { grid-template-columns: 1fr; } }

.photos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.4rem;
  margin-top: 3rem; list-style: none; padding: 0;
}
.photo {
  margin: 0;
  background: var(--card); padding: .6rem .6rem .4rem; box-shadow: 0 3px 10px rgba(46, 42, 58, .12);
  transform: rotate(-2deg);
}
.photo:nth-child(even) { transform: rotate(2deg); }
.photo:nth-child(3n) { transform: rotate(-.5deg); }
.photo .frame {
  aspect-ratio: 4 / 5; border: 2px dashed #cfc3ad; display: grid; place-items: center;
  color: #a89a82; font-size: .9rem; font-weight: 700; background: var(--paper);
}
.photo figcaption { font-family: var(--f-hand); font-size: 1.25rem; font-weight: 600; text-align: center; padding-top: .3rem; }

/* ---------- Eltern ---------- */

.parents-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.ways { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.way {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble-1);
  padding: 1rem 1.1rem;
}
.way:nth-child(2) { border-radius: var(--wobble-2); }
.way:nth-child(3) { border-radius: var(--wobble-3); }
.way b { display: block; font-family: var(--f-head); font-size: 1.08rem; }
.way span { font-size: .93rem; color: var(--ink-soft); }
.way--invite { background: var(--sun); grid-column: span 2; }
.way--invite span { color: var(--ink); }

.child-voice {
  position: relative; padding: 2rem 1.5rem 1.6rem;
  background: var(--card); border: 3px solid var(--ink);
  border-radius: 40px 40px 40px 6px;
  font-family: var(--f-hand); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 600; line-height: 1.15;
  margin: 1.5rem 0 1rem;
}
.child-voice::after {
  content: ""; position: absolute; left: -3px; bottom: -26px;
  width: 30px; height: 26px; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.child-voice::before {
  content: ""; position: absolute; left: 0; bottom: -18px;
  width: 22px; height: 18px; background: var(--card); z-index: 1;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
@media (max-width: 820px) {
  .parents-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .ways { grid-template-columns: 1fr; }
  .way--invite { grid-column: auto; }
}

/* ---------- Träger ---------- */

.letter {
  max-width: 760px; margin: 0 auto;
  background: var(--card);
  background-image: repeating-linear-gradient(transparent 0 33px, rgba(77, 142, 194, .18) 33px 34px);
  border: 2px solid rgba(46, 42, 58, .15);
  box-shadow: 0 6px 24px rgba(46, 42, 58, .08);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  transform: rotate(-.6deg);
  line-height: 34px;
}
.letter p { margin-bottom: 34px; }
.letter .signs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; line-height: 1.3;
}
.letter .signs b { display: block; font-family: var(--f-hand); font-size: 1.6rem; font-weight: 700; color: var(--sky); }
.letter .signs span { font-size: .85rem; color: var(--ink-soft); }
.letter .team-sign { margin: 1.4rem 0 0; font-family: var(--f-hand); font-size: 1.5rem; font-weight: 700; color: var(--red-deep); line-height: 1.2; }
@media (max-width: 640px) { .letter .signs { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.steps3 { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; counter-reset: k; }
.steps3 li {
  counter-increment: k; position: relative; padding-left: 64px;
}
.steps3 li::before {
  content: counter(k); position: absolute; left: 0; top: -2px;
  width: 46px; height: 46px; display: grid; place-items: center;
  font-family: var(--f-hand); font-weight: 700; font-size: 1.7rem;
  background: var(--sun); border: 2.5px solid var(--ink);
  border-radius: 50% 45% 52% 48% / 48% 52% 45% 50%;
}
.steps3 b { display: block; font-family: var(--f-head); font-size: 1.15rem; }
.steps3 span { color: var(--ink-soft); }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink); color: var(--paper);
  font-weight: 800; font-size: 1.08rem; text-decoration: none;
  padding: .85rem 1.4rem;
  border-radius: var(--wobble-1);
  box-shadow: 4px 4px 0 var(--sun);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--paper); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sun); }
.btn--alt { background: var(--card); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--red); }
.btn--alt:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--red); }
.btn svg { width: 22px; height: 22px; }

.prep {
  background: var(--card); border: 2px dashed var(--ink); border-radius: var(--wobble-2);
  padding: 1.2rem 1.4rem;
}
.prep b { font-family: var(--f-hand); font-size: 1.5rem; display: block; color: var(--plum); line-height: 1.1; margin-bottom: .3rem; }
.prep ul { margin: 0; padding-left: 1.2rem; }

.info { display: grid; gap: 1rem; }
.info-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--wobble-3);
  padding: 1.2rem 1.4rem;
}
.info-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.info-card p, .info-card ul { margin: 0; font-size: .98rem; }
.info-card ul { padding-left: 1.1rem; }
.info-card address { font-style: normal; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-foot {
  background: var(--ink); color: var(--paper); padding: 3rem 0 2rem; margin-top: 0;
}
.site-foot a { color: var(--paper); }
.site-foot a:hover { color: var(--sun); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.foot-grid .brand { color: var(--paper); }
.foot-grid .brand small { color: #cbc5d6; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 0; font-weight: 700; }
.foot-note { margin-top: 1.8rem; font-family: var(--f-hand); font-size: 1.4rem; color: #cbc5d6; }

/* ---------- Rechtliches als Overlay (:target, ohne JavaScript) ---------- */

.legal {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(46, 42, 58, .55);
  overflow-y: auto;
  padding: 24px 16px;
}
.legal:target { display: block; }
.legal-inner {
  max-width: 780px; margin: 0 auto;
  background: var(--paper);
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  position: relative;
  font-size: 1rem;
}
.legal h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); padding-right: 3rem; }
.legal h3 { font-size: 1.12rem; margin-top: 1.6rem; margin-bottom: .3rem; }
.legal .close {
  position: absolute; right: 1rem; top: 1rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); text-decoration: none; font-size: 1.4rem; font-weight: 700;
  border-radius: 50%;
}
.legal .close:hover { background: var(--red-deep); color: #fff; }
.legal .back { display: inline-block; margin-top: 1.5rem; font-weight: 700; }
.legal .hint {
  background: #fff1a8; border-left: 4px solid var(--clay); padding: .8rem 1rem; border-radius: 6px; font-size: .95rem;
}
