/* Filzaboo – Onepager. Keine externen Anfragen: Schriften liegen in fonts/ (SIL OFL, siehe OFL-*.txt). */
@font-face { font-family: "Grandstander"; src: url("fonts/Grandstander.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/Lexend.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #2E2340;
  --muted: #5E5670;
  --cream: #FFF6E6;
  --paper: #F6E7CF;
  --stitch: #C79A6B;
  --green: #5FB14D;
  --green-dark: #3F8A33;
  --pink: #F7C3D2;
  --yellow: #FFE39A;
  --blue: #BFE0F7;
  --orange: #FFD2A6;
  --lilac: #E0D4F4;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 500 18px/1.6 "Lexend", system-ui, sans-serif;
  /* Filz-Körnung aus zwei feinen Verläufen, ganz ohne Bilddatei */
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.35) 0 1px, transparent 1.5px) 0 0 / 7px 7px,
    radial-gradient(circle at 70% 60%, rgba(120,80,40,.06) 0 1px, transparent 1.6px) 0 0 / 9px 9px,
    var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: "Grandstander", "Lexend", system-ui, sans-serif; font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(48px, 8vw, 96px) 0; }

/* ---------------------------------------------------------------- Knopf aus Filz */
.btn {
  display: inline-block;
  font: 800 1.35rem/1 "Grandstander", system-ui, sans-serif;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(#78C765, var(--green));
  padding: .85em 1.6em;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--green-dark), 0 12px 24px rgba(46,35,64,.25);
  outline: 3px dashed rgba(255,255,255,.75);
  outline-offset: -9px;
  text-shadow: 0 2px 0 rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--green-dark), 0 16px 28px rgba(46,35,64,.28); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--green-dark), 0 6px 14px rgba(46,35,64,.25); }
.btn:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.btn-big { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; min-height: min(92vh, 960px); display: grid; place-items: start center; overflow: hidden; background: #F4C98E; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: clamp(16px, 4vh, 48px) 16px 0; display: flex; flex-direction: column; align-items: center; }
.logo { width: min(560px, 82vw); filter: drop-shadow(0 8px 14px rgba(46,35,64,.3)); animation: bob 5s ease-in-out infinite; }
.claim {
  font: 800 clamp(1.3rem, 3.2vw, 2rem)/1.2 "Grandstander", system-ui, sans-serif;
  color: #fff;
  text-shadow: 0 3px 0 rgba(46,35,64,.45), 0 6px 18px rgba(46,35,64,.45);
  margin: .2em 0 .9em;
}
.hero .btn { margin-top: clamp(40vh, 46vh, 520px); }
.hint { color: #fff; font-weight: 600; text-shadow: 0 2px 8px rgba(46,35,64,.8); margin-top: .9em; }
.float { position: absolute; z-index: 1; pointer-events: none; }
.f1 { width: 180px; top: 12%; left: -40px; opacity: .9; animation: drift 38s linear infinite; }
.f2 { width: 46px; top: 22%; right: 12%; animation: bob 4s ease-in-out infinite; }
@media (max-aspect-ratio: 5/6) { .hero .btn { margin-top: 44vh; } }

/* ---------------------------------------------------------------- Karten mit Naht */
.stitch-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  outline: 3px dashed var(--stitch);
  outline-offset: -14px;
  box-shadow: 0 10px 0 rgba(199,154,107,.35), 0 20px 40px rgba(46,35,64,.12);
}
.intro { display: grid; gap: 32px; }
.intro .stitch-card { max-width: 820px; margin-inline: auto; text-align: center; font-size: 1.15rem; }
.figuren { border-radius: var(--radius); box-shadow: 0 14px 30px rgba(46,35,64,.18); margin-inline: auto; }

.features h2 { text-align: center; }
.grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  border-radius: var(--radius);
  padding: 26px 26px 18px;
  outline: 3px dashed rgba(255,255,255,.85);
  outline-offset: -11px;
  box-shadow: 0 8px 0 rgba(46,35,64,.08), 0 14px 28px rgba(46,35,64,.10);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card p { color: var(--muted); margin-bottom: .5em; }
.pics { display: flex; align-items: flex-end; justify-content: center; gap: 12px; height: 150px; margin-bottom: 12px; }
.pics img { max-height: 140px; max-width: 47%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(46,35,64,.18)); }
.c-green { background: #D6EFCB; } .c-pink { background: var(--pink); } .c-yellow { background: var(--yellow); }
.c-blue { background: var(--blue); } .c-orange { background: var(--orange); } .c-lilac { background: var(--lilac); }

/* ---------------------------------------------------------------- Stadt */
.town { background: linear-gradient(#BFE6FF, #DDF2FF 70%, #9ED67F 70.2%); padding-bottom: 0; }
.town h2, .town .lead { text-align: center; }
.buildings { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.buildings li { background: var(--cream); border-radius: 22px; padding: 10px 10px 14px; text-align: center; box-shadow: 0 8px 18px rgba(46,35,64,.14); outline: 2px dashed var(--stitch); outline-offset: -6px; }
.buildings img { border-radius: 14px; }
.buildings span { display: block; font: 800 1.1rem/1.2 "Grandstander", system-ui, sans-serif; margin-top: 10px; }
.street {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2vw, 28px);
  padding: 0 16px; overflow: hidden;
  background: linear-gradient(transparent calc(100% - 64px), #D8D2C6 calc(100% - 64px), #D8D2C6 calc(100% - 50px), #6E6B72 calc(100% - 50px));
  padding-bottom: 50px;
}
.street img { flex: 0 0 auto; max-height: 190px; width: auto; margin-bottom: 14px; filter: drop-shadow(0 6px 6px rgba(46,35,64,.2)); }
.street img[src*="lamp"] { max-height: 150px; }
.street img[src*="bush"] { max-height: 40px; }
@media (max-width: 700px) { .street img:nth-child(n+6) { display: none; } }

/* ---------------------------------------------------------------- Gemeinsam */
.together { display: grid; gap: 32px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.together img { border-radius: var(--radius); }
.together p { font-size: 1.15rem; color: var(--muted); }

/* ---------------------------------------------------------------- Eltern */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 42px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------------------------------------------------------------- Schluss & Fußzeile */
.cta { text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta img { width: min(420px, 80vw); }
footer { text-align: center; padding: 32px 16px 48px; color: var(--muted); font-size: .95rem; }
footer p { margin: .3em 0; }
footer .small { font-size: .85rem; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(110vw); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
