/* Der Kind-Kompass – Gestaltung im Look des Future Skills Instituts */
:root {
  --ink: #123a34;
  --muted: #536d68;
  --paper: #f7f5ef;
  --white: #fffefa;
  --petrol: #06917a;
  --petrol-deep: #045b4e;
  --aqua: #b8ded6;
  --aqua-light: #e5f4f0;
  --coral: #c9546b;
  --coral-light: #f6e0e5;
  --footer: #082f32;
  --line: rgba(18, 58, 52, .16);
  --shadow: 0 24px 70px rgba(18, 58, 52, .11);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.06; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 720; margin-bottom: 28px; }
h1 span, h2 span { color: var(--petrol); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 700; margin-bottom: 22px; }
h3 { font-size: 1.35rem; font-weight: 720; margin-bottom: 10px; letter-spacing: -.02em; line-height: 1.2; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.container.narrow > * { max-width: 820px; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--white); border-radius: 10px; }
.skip-link:focus { top: 20px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,237,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav-wrap { width: min(calc(100% - 40px), var(--max)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; background: white; box-shadow: 0 5px 16px rgba(18,58,52,.10); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-size: .9rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--coral); }
.nav-links .nav-cta { padding: 9px 16px; border-radius: 8px; background: var(--petrol-deep); color: white; }
.nav-links .nav-cta:hover { color: white; background: var(--ink); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 9px 14px; font-weight: 700; color: var(--ink); cursor: pointer; }

/* Abschnitte */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section.alt { background: var(--white); }
.section.tint { background: var(--aqua-light); }
.section.rose { background: #f6efe9; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--petrol); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow.coral { color: var(--coral); }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.34rem); line-height: 1.55; }
.section-intro { max-width: 800px; margin-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }

/* Schaltflächen */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 8px; background: var(--petrol-deep); color: white; text-decoration: none; font-weight: 720; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--ink); transform: translateY(-1px); }
.button.light { background: var(--white); color: var(--petrol-deep); border: 1px solid var(--line); }
.text-link { font-weight: 720; color: var(--petrol-deep); text-decoration: none; border-bottom: 2px solid var(--petrol); padding-bottom: 2px; }
.text-link:hover { color: var(--coral); border-color: var(--coral); }

/* Startbühne */
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
.hero { background: var(--aqua-light); padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero-note { margin-top: 26px; font-size: .86rem; color: var(--muted); }
.book-visual { position: relative; justify-self: center; width: min(100%, 360px); }
.book-visual img { border-radius: 4px 10px 10px 4px; box-shadow: -2px 0 0 rgba(0,0,0,.08) inset, 0 30px 60px rgba(18,58,52,.28), 0 6px 14px rgba(18,58,52,.18); transform: rotate(2.5deg); }
.book-visual::before { content: ""; position: absolute; inset: 8% -12% -6% 10%; background: var(--aqua); border-radius: 50%; filter: blur(2px); z-index: -1; opacity: .7; }
.badge { position: absolute; left: -26px; bottom: 38px; background: var(--coral); color: white; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(201,84,107,.35); transform: rotate(-6deg); }

/* Karten */
.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; }
.card.tinted { background: var(--aqua-light); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.card-label { color: var(--coral); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.situation { display: flex; flex-direction: column; gap: 14px; min-height: 170px; }
.situation .q { font-size: 1.16rem; font-weight: 680; letter-spacing: -.01em; line-height: 1.35; margin: 0; }
.situation .where { margin-top: auto; font-size: .84rem; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 14px; }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 10px 0 40px; }
.stat { border-top: 2px solid var(--petrol); padding-top: 18px; }
.stat strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 760; letter-spacing: -.04em; line-height: 1; color: var(--petrol-deep); margin-bottom: 12px; }
.stat p { margin-bottom: 8px; }
.source { font-size: .78rem; color: var(--muted); }
.source a { color: var(--muted); }

/* Zitat */
.quote { border-left: 3px solid var(--coral); padding: 4px 0 4px 26px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; letter-spacing: -.015em; }
.quote cite { display: block; margin-top: 14px; font-size: .86rem; font-style: normal; color: var(--muted); letter-spacing: 0; }

/* Koordinaten */
.coordinate { position: relative; padding-top: 70px; }
.coordinate .num { position: absolute; top: 24px; left: 28px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.punchline { margin-top: 36px; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.punchline span { color: var(--petrol); }

/* Schrittfolge */
.figure { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 4vw, 44px); }
.figure img { margin: 0 auto; max-width: 860px; width: 100%; }
.figure figcaption { margin-top: 18px; font-size: .86rem; color: var(--muted); text-align: center; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); color: var(--petrol); font-weight: 800; font-size: 1.15rem; }
.steps strong { display: block; font-size: 1.12rem; margin-bottom: 2px; }

/* Felder */
.field h3 { font-size: 1.12rem; }
.field ol { margin: 10px 0 0; padding-left: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.field li { padding: 6px 0; border-top: 1px solid var(--line); }
.field li b { color: var(--ink); font-weight: 700; margin-right: 6px; }

/* App */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.phone { justify-self: center; width: 280px; aspect-ratio: 9 / 18.5; border-radius: 40px; background: var(--ink); padding: 12px; box-shadow: var(--shadow); }
.phone-screen { height: 100%; border-radius: 30px; background: var(--paper); padding: 26px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.phone-screen .p-title { font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); }
.phone-screen .p-h { font-size: 1.15rem; font-weight: 760; line-height: 1.2; letter-spacing: -.02em; }
.p-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .78rem; line-height: 1.4; }
.p-card b { display: block; font-size: .82rem; margin-bottom: 4px; }
.p-pills { display: flex; gap: 6px; margin-top: 8px; }
.p-pills span { flex: 1; text-align: center; padding: 6px 0; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--aqua-light); color: var(--petrol-deep); }
.p-pills span.on { background: var(--petrol-deep); color: white; }
.p-dots { display: flex; gap: 5px; margin-top: 6px; }
.p-dots i { width: 22px; height: 6px; border-radius: 3px; background: var(--aqua); }
.p-dots i.on { background: var(--petrol); }
.check-list { list-style: none; padding: 0; margin: 0 0 10px; }
.check-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 4px; top: 9px; color: var(--petrol); font-weight: 900; }
.store-note { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.store-note span { font-size: .78rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted); }

/* Impulse */
.impulse-group { margin-bottom: 44px; }
.impulse-group > h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--petrol); margin-bottom: 4px; }
.impulse-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.impulse-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.impulse-list a:hover { background: var(--white); }
.impulse-list .t { font-weight: 720; }
.impulse-list .a { grid-column: 1; font-size: .84rem; color: var(--muted); }
.impulse-list .b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .78rem; color: var(--petrol-deep); font-weight: 700; text-align: right; white-space: nowrap; }
.impulse-card { display: flex; flex-direction: column; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.impulse-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.impulse-card .who { font-size: .84rem; color: var(--muted); margin-bottom: 10px; }

/* Quellen */
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-list a { font-weight: 720; color: var(--petrol-deep); }
.source-list p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* Buch */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 26px 0 0; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; }
.part { border-top: 2px solid var(--ink); padding-top: 20px; }
.part ol { margin: 12px 0 0; padding-left: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.part li { padding: 5px 0; }
.part li b { display: inline-block; min-width: 28px; color: var(--petrol); }
.notice { background: var(--coral-light); border-radius: var(--radius-md); padding: 22px 26px; font-size: .95rem; }

/* Studie */
.study { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); }
.status { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol-deep); background: var(--aqua-light); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }

/* Autor */
.author { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: start; }
.initials { width: 120px; height: 120px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; letter-spacing: .02em; }

/* Unterseiten */
.subpage-hero { background: var(--aqua-light); padding: clamp(50px, 7vw, 90px) 0 clamp(50px, 6vw, 80px); }
.subpage-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { color: var(--muted); }
.legal-page h2 { font-size: 1.4rem; margin-top: 34px; letter-spacing: -.01em; }
.legal-page { max-width: 820px; }

/* Fußzeile */
footer { padding: 58px 0; background: var(--footer); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 50px; }
footer .brand-sub { color: rgba(255,255,255,.6); }
footer p { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: 16px; }
.footer-label { margin-bottom: 14px; font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.footer-links a { color: rgba(255,255,255,.85); }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: .76rem; }
.legal a { color: rgba(255,255,255,.75); }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Mobil */
@media (max-width: 980px) {
  .hero-grid, .app-grid, .study { grid-template-columns: 1fr; }
  .book-visual { width: min(70%, 300px); }
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 12px; width: auto; border: 0; }
  .grid.two, .grid.three, .grid.four, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .author { grid-template-columns: 1fr; }
  .badge { left: -10px; }
}
