/* Solorba-Website – gemeinsames Stylesheet. Schriften liegen lokal (keine Drittanbieter). */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/fredoka-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/fredoka-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/fredoka-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/fredoka-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/fredoka-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/fredoka-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/nunito-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/nunito-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/nunito-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/nunito-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/nunito-900-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/nunito-900-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Fredoka enthaelt c mit Hatschek/Akut und d mit Querstrich nicht (Kroatisch). Fuer genau diese Zeichen
   springt Nunito ein – als eigene Familie mit festem Gewicht 800, weil die Nunito-Dateien variabel sind
   und sonst mit dem duenneren Gewicht der Ueberschrift gezeichnet wuerden. */
@font-face{font-family:'Fredoka Glyphs';font-style:normal;font-weight:800 900;font-display:swap;src:url(../fonts/nunito-800-latin-ext.woff2) format('woff2');unicode-range:U+0106-0107, U+010C-010D, U+0110-0111;}

/* ==========================================================================
   Gestaltungsgrundlagen. Eine weitere Site (z. B. Lunorba) ueberschreibt nur
   diese Variablen in einer eigenen Datei oder per site.json.
   ========================================================================== */
:root {
  --ground: #F7F5F0;
  --surface: #FFFFFF;
  --cool: #EDF0F6;
  --ink: #242A3E;
  --deep: #1A1F2E;
  --muted: #5A6076;
  --line: #E4E2DC;
  --on-dark: #EDEFF5;
  --on-dark-muted: #A9B0C4;
  --warm: #A45F00;
  --warm-tint: #FFF1DA;
  --accent: #F5A524;
  --coral: #E4623F;
  --violet: #6D4FE0;
  --tint-violet: #EAE4FD;
  --success: #1F8A5B;
  --wordmark-accent: #C4661A;
  --radius: 28px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 80px);
  --band: clamp(64px, 9vw, 104px);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Fredoka', 'Fredoka Glyphs', 'Nunito', system-ui, sans-serif;
  --shadow: 0 24px 48px rgba(36, 42, 62, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--ground); border-radius: 12px; font-weight: 800; }
.skip:focus { left: 8px; }

/* Typografie */
/* Lange Woerter (Deutsch, Kroatisch) duerfen im Notfall umbrechen, statt die Seite zu verbreitern */
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
.h-xl { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -.5px; }
.h-l { font-size: clamp(30px, 4.2vw, 44px); }
.h-m { font-size: clamp(23px, 2.6vw, 30px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 64ch; text-wrap: pretty; margin-top: 16px; }
.chip { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip b { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 0; }

/* Knoepfe und Links */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 800; font-size: 17px; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: var(--deep); transform: translateY(-1px); }
.btn--soon { background: var(--cool); color: var(--muted); cursor: default; }
.btn--soon:hover { background: var(--cool); transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--warm); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon { flex-shrink: 0; }
.icon-chip { box-sizing: content-box; padding: 12px; border-radius: 14px; background: var(--surface); color: var(--warm); }
.icon-chip--warm { background: var(--warm-tint); }

/* ==========================================================================
   Kopf- und Fusszeile
   ========================================================================== */
/* Die Kopfzeile bleibt beim Scrollen oben; Sprungziele landen darunter */
html { scroll-padding-top: 96px; }
.site-header { position: sticky; top: 0; z-index: 40; padding-block: 20px; background: var(--ground); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(26, 31, 46, .45); }
.nav-toggle { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--display); font-weight: 600; font-size: 28px; text-decoration: none; }
.mark { width: 58px; height: 44px; flex-shrink: 0; }
.mark-sun { fill: var(--accent); }
.mark-ray { stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.mark-horizon { fill: none; stroke: currentColor; stroke-width: 6.5; stroke-linecap: round; }
.mark--large { width: 126px; height: 96px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px 26px; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 16px; text-decoration: none; }
.site-nav a:hover { color: var(--warm); }

.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 800; font-size: 15px; list-style: none; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary .icon:last-child { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 200px; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.lang a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.lang a:hover, .lang a[aria-current] { background: var(--cool); }
.lang-code { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
/* Schmale Handys: nur das Sprachkuerzel, damit Logo und Sprachwahl in eine Zeile passen */
.lang-short { display: none; letter-spacing: .06em; }
@media (max-width: 419px) {
  .lang summary { padding: 0 12px; gap: 6px; }
  .lang-name { display: none; }
  .lang-short { display: inline; }
}

@media (max-width: 860px) {
  /* Umbrechen statt unsichtbar seitlich scrollen: jeder Menuepunkt bleibt sichtbar */
  .site-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .site-nav ul { flex-wrap: wrap; gap: 0 20px; white-space: nowrap; }
  .lang { margin-left: auto; }
}
/* Handy: Menue hinter dem Burger-Knopf (nur mit JavaScript; ohne bleibt es sichtbar wie oben) */
@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .site-header { padding-block: 12px; }
  .site-header.has-toggle .header-row { column-gap: 10px; }
  .site-header.has-toggle .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
  .nav-icon-close, .nav-open .nav-icon-open { display: none; }
  .nav-open .nav-icon-close { display: block; }
  .site-header.has-toggle .site-nav { display: none; }
  .site-header.has-toggle.nav-open .site-nav { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-header.has-toggle .site-nav ul { flex-direction: column; gap: 0; margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--line); white-space: normal; }
  .site-header.has-toggle .site-nav a { width: 100%; min-height: 50px; font-size: 18px; }
}

.site-footer { background: var(--deep); color: var(--on-dark); padding-block: 48px 52px; }
.footer-grid { display: grid; gap: 32px; }
.footer-about { display: grid; gap: 14px; max-width: 640px; }
.brand--footer { font-size: 24px; }
.brand--footer .mark { width: 47px; height: 36px; }
.site-footer p, .site-footer address { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); font-style: normal; }
.site-footer a { color: var(--on-dark); }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin-top: 8px; font-size: 14px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-links { text-align: right; }
  .footer-links ul { justify-content: flex-end; }
}

/* ==========================================================================
   Baender und Abschnitte
   ========================================================================== */
.band { padding-block: var(--band); }
.band--white { background: var(--surface); }
.band--cool { background: var(--cool); }
.band--dark { background: var(--ink); color: var(--on-dark); }
.band--dark .chip, .band--dark .lead { color: var(--on-dark-muted); }

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 56px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-text .lead { margin-top: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* Planetensystem auf der Startseite */
.orbit-scene { position: relative; width: 100%; max-width: 560px; aspect-ratio: 560 / 460; margin-inline: auto; }
.orbit-scene svg { width: 100%; height: 100%; }
/* Die Bahnen fuellen nur das mittlere Drittel: untereinander angeordnet den Leerraum oben und unten einziehen */
@media (max-width: 899px) { .orbit-scene { margin-block: -9% -12%; } }
.orbit-scene ellipse { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.orbit-scene ellipse:nth-of-type(1) { stroke-opacity: .14; }
.orbit-scene ellipse:nth-of-type(2) { stroke-opacity: .2; }
.orbit-scene ellipse:nth-of-type(3) { stroke-opacity: .28; }
.orbit-sun { fill: var(--accent); }
.orbit-dot { fill: var(--coral); }
.orbit-dot--ink { fill: var(--ink); }
.orbit-planet { position: absolute; display: flex; align-items: center; gap: 10px; transform: translate(-40px, -40px); text-decoration: none; }
.orbit-planet img { width: clamp(56px, 12vw, 84px); height: auto; border-radius: 22%; box-shadow: var(--shadow); transition: transform .25s; }
.orbit-planet:hover img { transform: scale(1.06) rotate(-3deg); }
.orbit-planet span { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-family: var(--display); font-weight: 600; font-size: 18px; }

/* Titelkarten */

.wordmark { font-family: var(--display); font-weight: 600; }
.wordmark-accent { color: var(--wordmark-accent); }

/* Ueber Solorba */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; } }

/* ==========================================================================
   Titelseite
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-width: 0; font-size: 15px; font-weight: 800; color: var(--muted); }
.crumbs > * { min-width: 0; overflow-wrap: anywhere; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--warm); }
.title-head { display: flex; align-items: center; gap: 18px; }
.title-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); }
.wordmark--hero { font-size: clamp(52px, 8vw, 76px); line-height: 1; }
.claim { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }


.phone { position: relative; width: 100%; aspect-ratio: 600 / 1299; border: 8px solid var(--deep); border-radius: 36px; overflow: hidden; background: var(--deep); box-shadow: var(--shadow); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; -webkit-user-drag: none; user-select: none; }
.phone-screen { height: 100%; overflow-y: auto; scrollbar-width: none; border-radius: 28px; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-screen:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.phone--scroll img { height: auto; }
.phone-hint { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(26, 31, 46, .84); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; pointer-events: none; transform: translateX(-50%); transition: opacity .3s; }
.phone-hint .icon { animation: nudge 1.6s ease-in-out infinite; }
.phone.is-scrolled .phone-hint { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
.hero-phones { display: flex; justify-content: center; gap: 4%; padding-bottom: 40px; }
.hero-phones .phone { width: min(44%, 232px); }
.hero-phones .phone--front { transform: translateY(40px); }
@media (min-width: 900px) {
  .hero-phones { position: relative; display: block; min-height: 600px; padding: 0; }
  .hero-phones .phone { position: absolute; width: 232px; }
  .hero-phones .phone--back { left: 8%; top: 0; }
  .hero-phones .phone--front { left: 44%; top: 86px; transform: none; }
}

/* Werbevideo im Einstieg (Hochformat) statt der Screenshots */
.hero-video { position: relative; width: min(82%, 330px); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--deep); box-shadow: var(--shadow); }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video[data-ready] video { cursor: pointer; }
.video-controls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.video-btn { pointer-events: auto; }
.video-btn--pip { margin-right: auto; }
.video-controls[hidden], .video-btn[hidden] { display: none; }
.video-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(26, 31, 46, .72); color: #fff; cursor: pointer; }
.video-btn:hover, .video-btn[aria-pressed="true"] { background: rgba(26, 31, 46, .92); }
.video-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.video-btn .icon-pause, .is-playing .video-btn .icon-play, .video-btn .icon-sound, .is-sound .video-btn .icon-muted { display: none; }
.is-playing .video-btn .icon-pause, .is-sound .video-btn .icon-sound { display: block; }
@media (min-width: 900px) { .hero-video { width: min(100%, 350px); } }

/* ==========================================================================
   Tiere der Numka-Seite: als <img> im HTML, pets.js setzt sie als animiertes SVG ein
   ========================================================================== */
.pet-img { display: block; width: 100%; height: auto; }
.pet-live { display: block; aspect-ratio: 1 / 1; }
.pet-live svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* Steht in den SVG-Dateien als <style>; die CSP laesst es inline nicht zu */
.tier .t-aktion, .tier .t-maus, .tier .t-auftritt { opacity: 0; }

/* Sprechblase wie in der App */
.say-bubble { position: absolute; left: 50%; bottom: calc(100% - 6px); z-index: 3; width: max-content; max-width: min(240px, 80vw); padding: 10px 16px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(36, 42, 62, .18); font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.3; text-align: center; transform: translateX(calc(-50% + var(--shift, 0px))); pointer-events: none; animation: bubble-in .35s cubic-bezier(.2, .9, .3, 1.3) both; }
/* --shift (pets.js) haelt die Blase im Bild; der Zipfel zeigt weiter auf das Tier */
.say-bubble::after { content: ''; position: absolute; left: clamp(18px, calc(50% - var(--shift, 0px)), calc(100% - 18px)); top: 100%; border: 9px solid transparent; border-top-color: #fff; transform: translateX(-50%); }
.say-bubble.is-out { animation: bubble-out .25s ease-in both; }
@keyframes bubble-in { from { opacity: 0; transform: translate(calc(-50% + var(--shift, 0px)), 10px) scale(.85); } }
@keyframes bubble-out { to { opacity: 0; transform: translate(calc(-50% + var(--shift, 0px)), 6px) scale(.9); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-14px) scale(1.04, .96); } 55% { transform: translateY(0) scale(.97, 1.03); } }
.is-hop { animation: hop .5s ease-out; }

/* ==========================================================================
   Numi zum Anfassen
   ========================================================================== */
.band--numi { background: linear-gradient(165deg, #E6F4F1 0%, #ECEFFB 70%, #F1ECFB 100%); overflow: hidden; }
.numi-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .numi-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; } }
.numi-points { display: grid; gap: 22px; margin-top: 36px; list-style: none; }
.numi-points li { display: flex; gap: 16px; align-items: flex-start; }
.numi-points h3 { font-family: var(--font); font-weight: 800; font-size: 19px; line-height: 1.3; }
.numi-points p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.numi-icon { box-sizing: content-box; padding: 11px; border-radius: 16px; color: #fff; background: linear-gradient(140deg, #8C7BFF, #5B4BE0); box-shadow: 0 10px 20px -10px rgba(91, 75, 224, .8); }
.numi-points li:nth-child(2) .numi-icon { background: linear-gradient(140deg, #FFC24D, #F08A24); box-shadow: 0 10px 20px -10px rgba(240, 138, 36, .8); }
.numi-points li:nth-child(3) .numi-icon { background: linear-gradient(140deg, #3FD0C0, #1E9A8E); box-shadow: 0 10px 20px -10px rgba(30, 154, 142, .8); }

.numi-demo { margin: 0; display: grid; gap: 18px; justify-items: center; }
/* Die Buehne hat die Farben der App (Lagune) */
.numi-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / .86; display: grid; place-items: end center; padding-bottom: 7%; border-radius: 36px; background: radial-gradient(60% 50% at 50% 62%, rgba(255, 255, 255, .34), transparent 70%), linear-gradient(150deg, #178A86 0%, #2C64A6 62%, #3F4FA8 100%); box-shadow: 0 30px 60px -24px rgba(31, 80, 140, .55), inset 0 1px 0 rgba(255, 255, 255, .25); overflow: hidden; }
.numi-stage::before { content: ''; position: absolute; left: 50%; bottom: 9%; width: 46%; height: 7%; border-radius: 50%; background: rgba(10, 30, 60, .28); filter: blur(6px); transform: translateX(-50%); }
.numi-stage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(3px 3px at 18% 22%, rgba(255,255,255,.7), transparent), radial-gradient(2px 2px at 82% 30%, rgba(255,255,255,.6), transparent), radial-gradient(2px 2px at 70% 12%, rgba(255,255,255,.5), transparent), radial-gradient(3px 3px at 30% 70%, rgba(255,255,255,.35), transparent); pointer-events: none; }
.numi-pet { position: relative; z-index: 1; width: 58%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .2s; }
.numi-pet:hover { transform: translateY(-3px); }
.numi-pet:focus-visible { outline-color: #fff; border-radius: 24px; }
.numi-say { position: absolute; z-index: 2; left: 50%; top: 7%; width: max-content; max-width: 84%; padding: 12px 20px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 14px 30px rgba(10, 30, 60, .25); font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 20px); line-height: 1.3; text-align: center; transform: translateX(-50%); }
.numi-say::after { content: ''; position: absolute; left: 50%; top: 100%; border: 10px solid transparent; border-top-color: #fff; transform: translateX(-50%); }
.numi-say.is-pop { animation: say-pop .4s cubic-bezier(.2, .9, .3, 1.35); }
@keyframes say-pop { from { opacity: 0; transform: translate(-50%, 8px) scale(.9); } }
.numi-tag { position: absolute; z-index: 2; right: 16px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.numi-pet .pet-live.is-enter { animation: pet-enter .55s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes pet-enter { from { opacity: 0; transform: translateY(18px) scale(.8); } }
.numi-hint { font-size: 15px; color: var(--muted); text-align: center; }
.numi-picker { display: flex; gap: 8px; max-width: 100%; padding: 4px 2px 10px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.numi-picker::-webkit-scrollbar { display: none; }
.numi-picker[hidden] { display: none; }
@media (min-width: 560px) { .numi-picker { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.numi-pick { display: grid; justify-items: center; gap: 2px; width: 72px; padding: 6px 4px 8px; border: 2px solid transparent; border-radius: 18px; background: rgba(255, 255, 255, .7); color: var(--ink); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
.numi-pick img { width: 46px; height: 46px; }
.numi-pick span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.numi-pick:hover { transform: translateY(-2px); background: #fff; }
.numi-pick.is-active { border-color: var(--violet); background: #fff; box-shadow: 0 8px 18px -10px rgba(109, 79, 224, .7); }
/* "+8 weitere in der App": kein Knopf, nur ein Hinweis */
.numi-more { display: grid; place-content: center; justify-items: center; gap: 2px; width: 72px; padding: 6px 4px 8px; border: 2px dashed rgba(109, 79, 224, .35); border-radius: 18px; color: var(--violet); text-align: center; }
.numi-more b { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.1; }
.numi-more span { font-size: 11px; font-weight: 800; line-height: 1.2; color: var(--muted); }

/* ==========================================================================
   Lernen und Entwicklung: Bento mit kleinen Darstellungen aus der App
   ========================================================================== */
.bento { display: grid; gap: 20px; margin-top: 48px; list-style: none; }
.bento-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); }
.bento-viz { flex: 1 1 auto; display: grid; place-items: center; min-height: 200px; padding: 28px 24px; }
.bento-text { padding: 4px 28px 30px; }
.bento-text h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 26px); }
.bento-text p { margin-top: 8px; color: var(--muted); }
.bento-card--tempo .bento-viz { background: linear-gradient(160deg, #FFF8EA, #FDF0F0); }
.bento-card--facts .bento-viz { background: #F2F6F4; }
.bento-card--suggest .bento-viz { background: linear-gradient(160deg, #EFEBFF, #E8F0FF); }
.bento-card--care .bento-viz { background: linear-gradient(160deg, #E4F4F2, #E9EEFB); }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bento-card--tempo, .bento-card--care { grid-column: span 3; }
  .bento-card--facts, .bento-card--suggest { grid-column: span 2; }
  /* Pflege-Karte quer: Text links, Numi mit Balken rechts */
  .bento-card--care { flex-direction: row-reverse; }
  .bento-card--care .bento-viz { flex: 1.25; }
  .bento-card--care .bento-text { flex: 1; align-self: center; padding: 30px 32px; }
}

/* Tempo-Stufen: Ringe zeigen die Zeit pro Aufgabe (20 s = voller Ring) */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
.tempo { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 560px; list-style: none; }
.tempo::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2BB673, #F5A524, #E4623F, #6D4FE0); }
.tempo-step { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; }
.tempo-ring { --p: 100; --c: #2BB673; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #ECE7DD 0); box-shadow: 0 8px 18px -10px rgba(36, 42, 62, .5); }
.tempo-ring b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink); }
.tempo-step--warmup .tempo-ring b { font-size: 26px; }
.tempo-step--speed .tempo-ring { --c: #F5A524; }
.tempo-step--pro .tempo-ring { --p: 75; --c: #E4623F; }
.tempo-step--ninja .tempo-ring { --p: 50; --c: #6D4FE0; }
/* Mit JavaScript fuellen sich die Ringe beim ersten Sichtbarwerden (pets.js setzt .is-in) */
.tempo-ring { transition: --p 1.3s cubic-bezier(.3, .7, .2, 1); }
.tempo-step--speed .tempo-ring { transition-delay: .15s; }
.tempo-step--pro .tempo-ring { transition-delay: .3s; }
.tempo-step--ninja .tempo-ring { transition-delay: .45s; }
.pets-js .bento-card:not(.is-in) .tempo-ring { --p: 0; }
.tempo-step strong { max-width: 100%; font-size: 14.5px; font-weight: 800; line-height: 1.2; hyphens: auto; overflow-wrap: break-word; }
.tempo-step small { font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 400px) {
  .tempo-ring { width: 54px; height: 54px; }
  .tempo-ring b { width: 42px; height: 42px; font-size: 18px; }
  .tempo::before { top: 26px; }
  .tempo-step strong { font-size: 13px; }
}

/* Faktenkarte: jede Aufgabe einzeln */
.facts { width: 100%; max-width: 320px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; }
.fact { position: relative; padding: 9px 0; border-radius: 12px; background: #DDF1E6; color: #17784D; font-family: var(--display); font-weight: 600; font-size: 17px; text-align: center; }
.fact--shaky { background: #FFE7C2; color: #9A5A00; }
.fact--shaky::after { content: ''; position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #F08A24; animation: blink 1.8s ease-in-out infinite; }
.fact--due { background: #E7E1FF; color: #5B43C8; }
@keyframes blink { 50% { opacity: .25; } }
.facts-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.fact-dot { width: 9px; height: 9px; margin-left: 6px; border-radius: 50%; background: #2BB673; }
.fact-dot:first-child { margin-left: 0; }
.fact-dot--shaky { background: #F08A24; }
.fact-dot--due { background: #6D4FE0; }

/* Aufstiegsvorschlag als kleines App-Fenster */
.mock-level { display: grid; gap: 8px; width: 100%; max-width: 280px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 18px 36px -16px rgba(60, 40, 140, .45); transform: rotate(-2deg); }
.mock-title { margin-bottom: 4px; font-family: var(--display); font-weight: 600; font-size: 19px; text-align: center; }
.mock-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #F3F1FB; font-family: var(--display); font-weight: 600; font-size: 15px; }
.mock-opt em { padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--muted); font-style: normal; font-family: var(--font); font-weight: 800; font-size: 11px; white-space: nowrap; }
.mock-opt--tip { background: linear-gradient(135deg, #7B61FF, #4F8CFF); color: #fff; box-shadow: 0 10px 20px -12px rgba(79, 100, 255, .9); }
.mock-opt--tip em { color: #5B43C8; }
.mock-later { padding-top: 2px; font-size: 13px; font-weight: 800; color: var(--muted); text-align: center; }

/* Numi pflegen: Tier, Balken und Knoepfe wie in der App */
.care { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; width: 100%; }
.care-pet { width: 124px; flex-shrink: 0; }
.care-ui { display: grid; gap: 10px; flex: 1 1 180px; max-width: 250px; }
.care-bar { display: grid; grid-template-columns: 5.8em minmax(0, 1fr) 3.2em; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 800; }
.care-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.care-bar b { text-align: right; }
.care-bar b { font-size: 13px; color: var(--muted); }
.care-fill { position: relative; height: 9px; border-radius: 9px; background: rgba(36, 42, 62, .1); overflow: hidden; }
.care-fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; transform-origin: left; }
.care-fill--happy::after { background: linear-gradient(90deg, #FFC233, #FF9A4D); transform: scaleX(.94); }
.care-fill--grow::after { background: linear-gradient(90deg, #2EC4B6, #3A8DFF); transform: scaleX(.75); }
.care-fill::after { transition: transform 1.2s cubic-bezier(.3, .7, .2, 1) .2s; }
.pets-js .bento-card:not(.is-in) .care-fill::after { transform: scaleX(0); }
.care-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.care-btn { padding: 6px 10px; border-radius: 11px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.care-btn--feed { background: linear-gradient(140deg, #5FD47F, #1FAE6A); }
.care-btn--play { background: linear-gradient(140deg, #A593FF, #6A5CFF); }
.care-btn--bathe { background: linear-gradient(140deg, #5FD6F5, #4D8DFF); }
.care-btn--heal { background: linear-gradient(140deg, #7AA8FF, #6A5CFF); }
.care-btn--weak { background: linear-gradient(140deg, #FFB84D, #FF7A59); }
.care-when { margin-top: 4px; font-size: 12.5px; font-weight: 800; color: var(--muted); }

/* Numi waechst mit: vom Ei bis zur Legende, jede Stufe ein Stueck groesser */
.growth { display: grid; gap: 32px; align-items: end; margin-top: 72px; }
@media (min-width: 960px) { .growth { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } }
.stages { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding-bottom: 4px; list-style: none; }
.stages::before { content: ''; position: absolute; left: 4%; right: 4%; bottom: 34px; border-top: 2px dashed #D5D1C8; }
.stage { position: relative; flex: 1 1 0; min-width: 0; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.stage .pet-img, .stage .pet-live { width: 100%; }
.stage--0 .pet-img, .stage--0 .pet-live { width: 46%; }
.stage--1 .pet-img, .stage--1 .pet-live { width: 60%; }
.stage--2 .pet-img, .stage--2 .pet-live { width: 74%; }
.stage--3 .pet-img, .stage--3 .pet-live { width: 87%; }
.stage span { position: relative; padding: 2px 10px; border-radius: 999px; background: var(--ground); font-family: var(--display); font-weight: 600; font-size: clamp(14px, 1.7vw, 19px); }
.stage--4 span { background: var(--warm-tint); color: var(--warm); }
/* Der Glanz der Legenden wirkt auf hellem Grund wie eine Scheibe: nur auf der dunklen Buehne zeigen */
.stage .t-glut, .peek .t-glut, .care .t-glut { display: none; }

/* Galerie: CSS-Scroll mit Einrasten; Pfeile nur mit JavaScript */
.gallery-wrap { margin-top: 40px; }
.gallery { display: flex; gap: 24px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; scrollbar-width: thin; }
.gallery li { flex: 0 0 min(62%, 220px); scroll-snap-align: start; }
.gallery.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (hover: hover) and (pointer: fine) { .gallery { cursor: grab; } }
.gallery figure { margin: 0; display: grid; gap: 14px; }
.gallery figcaption { display: grid; gap: 4px; }
.gallery figcaption span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.gallery-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.round-btn--solid { background: var(--ink); color: var(--surface); }
.round-btn[hidden] { display: none; }

.animals { margin-top: 88px; }
.animal-grid { display: grid; gap: 20px; margin-top: 32px; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.animal { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 20px 12px; border: 0; border-radius: var(--radius); background: var(--surface); color: inherit; font: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.animal:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(36, 42, 62, .35); }
.animal-pic { display: block; width: min(100%, 124px); }
.animal strong { font-family: var(--display); font-weight: 600; font-size: 20px; }
.animal .say-bubble { bottom: calc(100% - 26px); }
.tag { padding: 3px 12px; border-radius: 999px; background: var(--ground); font-size: 13px; font-weight: 800; color: var(--muted); }
.tag--warm { background: var(--tint-violet); color: var(--violet); }

.parents-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .parents-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.check-list { list-style: none; }
.check-list li { display: flex; gap: 20px; padding-block: 22px; border-bottom: 1px solid rgba(237, 239, 245, .18); }
.check-list li:last-child { border-bottom: 0; }
.check-list h3 { font-family: var(--font); font-weight: 800; font-size: 20px; line-height: 1.3; }
.check-list p { margin-top: 4px; font-size: 15.5px; color: var(--on-dark-muted); }
.icon-accent { color: var(--accent); }

/* ==========================================================================
   Rechts- und Hilfeseiten
   ========================================================================== */
.doc-head { padding-block: clamp(24px, 4vw, 48px) 40px; }
.doc-head .wrap { display: grid; gap: 14px; justify-items: start; }
.doc-head .wrap > * { max-width: 100%; }
.doc-head .h-xl { font-size: clamp(30px, 6vw, 64px); }
.doc-head--center .wrap { justify-items: center; text-align: center; padding-block: 48px; }
.doc-meta { color: var(--muted); }
.band--doc { padding-top: 0; }
.doc-grid { display: grid; gap: 32px; align-items: start; }
.doc-grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .doc-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
  .doc-grid--single { grid-template-columns: minmax(0, 1fr); }
  .toc { position: sticky; top: 24px; }
}
.toc { padding: 24px 28px; border-radius: var(--radius); background: var(--surface); }
.toc summary { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; min-height: 32px; }
.toc ol { display: grid; gap: 2px; margin-top: 8px; padding-left: 26px; }
.toc--plain { list-style: none; padding-left: 0 !important; }
.toc li::marker { color: var(--warm); font-weight: 800; }
.toc a { display: block; padding-block: 6px; font-size: 15px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--warm); }

.prose { padding: clamp(24px, 5vw, 56px); border-radius: var(--radius); background: var(--surface); counter-reset: section; max-width: 820px; width: 100%; }
.prose > * + * { margin-top: 14px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; font-weight: 600; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose h2 { counter-increment: section; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 26px; line-height: 1.25; }
.prose h2::before { content: counter(section) '.'; margin-right: 12px; color: var(--warm); font-size: .72em; }
.prose h3 { margin-top: 28px; font-size: 21px; }
.prose > h2:first-child, .prose > .summary + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > .summary + h2 { margin-top: 40px; }
.prose--plain h2::before { content: none; }
.prose address { font-style: normal; padding: 16px 20px; border-radius: 16px; background: var(--ground); line-height: 1.7; }
.prose a { color: var(--warm); font-weight: 800; }
.prose strong { font-weight: 800; }
.summary { padding: 24px 28px; border-radius: 24px; background: var(--cool); }
.summary ul { list-style: none; padding-left: 0; }
.summary li { position: relative; padding-left: 26px; }
.summary li::before { content: '→'; position: absolute; left: 0; color: var(--warm); font-weight: 800; }

@media print {
  .site-header, .site-footer, .toc, .skip, .back-link { display: none !important; }
  body { background: #fff; }
  .band, .doc-head { padding: 0; }
  .prose { padding: 0; }
  .prose a { color: inherit; }
}

/* ==========================================================================
   Was Numka kann: Kennzahlen und was jede Spielart Numi bringt – schlicht wie Entwurf B
   ========================================================================== */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; list-style: none; border-top: 2px solid var(--ink); }
.kpis li { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 24px 16px 28px 0; }
.kpi-num { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 7vw, 84px); line-height: .95; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.kpi-label { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 800; font-size: 18px; }
.kpi-label::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.kpi-note { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 799px) {
  .kpis li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
  .kpis li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 800px) {
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpis li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}
.rewards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 40px 32px; margin-top: 64px; list-style: none; }
.rewards li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.reward-tag { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--warm); }
.reward-tag .icon { flex-shrink: 0; }
.rewards h3 { font-family: var(--font); font-weight: 800; font-size: 19px; line-height: 1.3; }
.rewards li > p:last-child { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ==========================================================================
   Hilfe & Rechtliches direkt auf der Titelseite
   ========================================================================== */
.sub-title { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 27px); }
.help-grid { margin-top: 44px; max-width: 860px; }
.faq-more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 22px; color: var(--muted); }

.faq .sub-title { margin-bottom: 12px; }
.faq-search { margin-bottom: 14px; }
.faq-search-field { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); }
.faq-search-field:focus-within { border-color: var(--warm); }
.faq-search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.faq-empty { margin: 14px 0 0; color: var(--muted); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-block: 14px; font-weight: 800; font-size: 17px; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--warm); }
.faq-icon { flex-shrink: 0; transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { display: grid; gap: 10px; padding: 0 40px 22px 0; color: var(--muted); }
.faq-body a { color: var(--warm); font-weight: 800; }
.faq-body strong { color: var(--ink); }
.help .sub-title + .legal-grid, #help > .wrap > .sub-title { margin-top: 72px; }
.legal-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 20px; }
.legal-col { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.legal-col h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.2; }
.legal-points { display: grid; gap: 8px; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.legal-points a { color: var(--warm); font-weight: 800; overflow-wrap: anywhere; }
.legal-col address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--muted); }
.legal-col .link-arrow { margin-top: auto; }

/* Unterseiten eines Titels: Reiter zwischen Hilfe, Kontakt und Rechtstexten */
.doc-tabs { justify-self: stretch; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.doc-tabs ul { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; }
.doc-tabs a { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-weight: 800; font-size: 15.5px; color: var(--muted); text-decoration: none; }
.doc-tabs a:hover { color: var(--ink); }
.doc-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

/* ==========================================================================
   Kontaktformular – ruhig und sachlich
   ========================================================================== */
.contact-grid { display: grid; gap: 32px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.contact-card { padding: clamp(24px, 5vw, 48px); border-radius: var(--radius); background: var(--surface); }
.contact-form { display: grid; gap: 24px; }
.field-row { display: grid; gap: 24px; }
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; font-weight: 800; font-size: 15px; }
.field[hidden] { display: none; }
.field em { font-style: normal; font-weight: 600; color: var(--muted); }
.field small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: #CFCBC2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(36, 42, 62, .12); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field--human { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.field--human label { flex: 1 1 240px; font-weight: 600; color: var(--muted); }
.field--human b { color: var(--ink); font-weight: 800; white-space: nowrap; }
.field--human input { flex: 0 0 110px; width: 110px; text-align: center; font-weight: 800; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form-note { flex: 1 1 240px; font-size: 14px; color: var(--muted); }
.form-note a { color: var(--ink); font-weight: 800; }
.form-note--warn { padding: 12px 16px; border-radius: 12px; background: var(--warm-tint); color: var(--ink); }
.form-status { padding: 12px 16px; border: 1px solid #F3C4B5; border-radius: 12px; background: #FFF6F2; color: #9A3412; font-weight: 700; }
.form-status[hidden] { display: none; }
.contact-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.form-success { display: grid; justify-items: start; gap: 12px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.icon-success { color: var(--success); }
.aside-block { display: grid; gap: 8px; justify-items: start; padding-block: 22px; border-top: 1.5px solid var(--ink); }
.aside-block h2 { font-size: 19px; }
.aside-block p, .aside-block address { font-style: normal; font-size: 15px; color: var(--muted); }
.aside-block p a { color: var(--warm); font-weight: 800; overflow-wrap: anywhere; }

/* Planeten im Orbit der Startseite: Positionen relativ zur Szene (560 x 460) */
.orbit-planet--1 { left: 33.93%; top: 66.30%; }
.orbit-planet--2 { left: 76.79%; top: 26.09%; }
.orbit-planet--3 { left: 83.93%; top: 71.74%; }

/* Startseite: Titel-Vorstellung und Grundsaetze */
.showcase { display: grid; gap: 40px; align-items: center; margin-top: 48px; padding-top: 40px; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .showcase { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }
.showcase-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.showcase-head { display: flex; align-items: center; gap: 16px; }
.showcase-head img { width: 64px; height: 64px; border-radius: 16px; }
.showcase-head h3 { font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.showcase-claim { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.3; max-width: 30ch; }
.showcase-summary { color: var(--muted); max-width: 52ch; }
.showcase-media { display: flex; justify-content: center; }
.showcase-media .phone { width: min(70%, 260px); }
.principles { display: grid; gap: 0; list-style: none; border-top: 2px solid var(--ink); }
.principles li { display: grid; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.principles h3 { font-family: var(--font); font-weight: 800; font-size: 19px; }
.principles p { color: var(--muted); font-size: 15.5px; }

/* Kontaktformular: Thema als Auswahlliste */
.field select { width: 100%; min-height: 50px; padding: 12px 44px 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23242A3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); font: inherit; font-weight: 600; font-size: 16px; appearance: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.field select:hover { border-color: #CFCBC2; }
.field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(36, 42, 62, .12); }
.field select:invalid { color: var(--muted); }
/* "Worum geht es?" so breit wie Name und E-Mail zusammen */
.field--select { max-width: none; }

/* 404 */
.nf .mark--large { margin-bottom: 4px; }
.nf-code { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .2em; color: var(--muted); }
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 12px; }

/* ==========================================================================
   Tiere, die ab und zu hereinschauen (pets.js). Reine Dekoration: aria-hidden,
   nicht fokussierbar und bei reduzierter Bewegung gar nicht.
   ========================================================================== */
.peek-layer { position: fixed; inset: 0; z-index: 35; overflow: hidden; pointer-events: none; }
.peek { position: absolute; left: 0; top: 0; width: var(--size, 140px); height: var(--size, 140px); will-change: transform; }
.peek-pet { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.peek-pet .pet-live { width: 100%; height: 100%; }
.peek--flip .peek-pet { transform: scaleX(-1); }
.peek-pet:focus-visible { outline: none; }
/* Liane: endet am Ast des Affen (--rope-y von unten gemessen) */
.peek-rope { position: absolute; left: var(--rope-x, 50%); bottom: var(--rope-y, 90%); width: 5px; height: 140vh; border-radius: 5px; background: linear-gradient(90deg, #4E7A2A, #8BBE4E 55%, #557F2E); transform: translateX(-50%); }
.peek-rope::before, .peek-rope::after { content: ''; position: absolute; width: 16px; height: 9px; border-radius: 0 12px 0 12px; background: #79AE3F; }
.peek-rope::before { left: 4px; bottom: 34px; transform: rotate(-18deg); }
.peek-rope::after { right: 4px; bottom: 92px; transform: scaleX(-1) rotate(-18deg); }
.peek .say-bubble { bottom: calc(100% + 2px); }
.say-bubble--below, .peek .say-bubble--below { top: calc(100% + 12px); bottom: auto; }
.say-bubble--below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
