/* Claras Tierklinik – Website
   Stil: warmes, gemaltes Bilderbuch wie das Spiel (Stimmungsbild tierklinik/design/style):
   cremiges Papier, Terrakotta-Dach, Minzgrün der Klinikmöbel, Honiggelb, Pfoten als Zierde.
   Schrift lokal (Fredoka, OFL) – nichts von fremden Servern. */

@font-face {
  font-family: 'Fredoka';
  src: url('fonts/Fredoka-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --paper: #fbf3e4;
  --paper-2: #f5e7cf;
  --card: #fffaf1;
  --ink: #4a2f1c;          /* Kontrast auf --paper ≈ 11:1 */
  --ink-soft: #6e4f37;     /* ≈ 6.6:1 */
  --roof: #b84a33;         /* Terrakotta, Text darauf weiß ≈ 5.2:1 */
  --roof-dark: #96391f;
  --mint: #8fd0bd;
  --mint-soft: #dff1ea;
  --teal: #1d6b5c;         /* Links ≈ 6:1 */
  --honey: #f2b84b;
  --honey-soft: #fde9bf;
  --sky: #e3f2f8;
  --line: #e7d3b3;
  --shadow: 0 18px 40px -22px rgba(92, 56, 24, .45);
  --radius: 26px;
  --head: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --body: ui-rounded, 'SF Pro Rounded', 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

/* Japanisch: Fredoka (latin) hat keine japanischen Zeichen. Lateinische Buchstaben und Ziffern bleiben in Fredoka,
   japanischer Text nimmt die rundliche System-Schrift (Hiragino Maru Gothic auf Apple-Geräten), sonst die übliche
   System-Schrift – nichts von fremden Servern. Zeilenumbruch nach Wortgruppen, keine Versalien/Sperrung. */
:root:lang(ja) {
  --head: 'Fredoka', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP', system-ui, sans-serif;
  --body: 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP', system-ui, -apple-system, sans-serif;
}
:lang(ja) { line-break: strict; word-break: auto-phrase; }
:lang(ja) :is(.kicker, .eyebrow, .world-n) { letter-spacing: .02em; text-transform: none; }
/* „どうぶつびょういん“ ist eine Wortgruppe (9 Zeichen) und soll in der Hero-Karte (≈ 320 px) nicht mitten im Wort brechen */
:lang(ja) .hero h1 { font-size: clamp(1.6rem, 2.75vw, 2.2rem); line-height: 1.3; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -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: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  /* dezente Pfotenspur im Papier */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23c99a63' fill-opacity='.07'%3E%3Cg transform='translate(30 40) rotate(-18)'%3E%3Cellipse cx='16' cy='21' rx='7' ry='6'/%3E%3Cellipse cx='7' cy='12' rx='3' ry='4'/%3E%3Cellipse cx='13' cy='6' rx='3' ry='4'/%3E%3Cellipse cx='20' cy='6' rx='3' ry='4'/%3E%3Cellipse cx='25' cy='12' rx='3' ry='4'/%3E%3C/g%3E%3Cg transform='translate(110 120) rotate(14)'%3E%3Cellipse cx='16' cy='21' rx='7' ry='6'/%3E%3Cellipse cx='7' cy='12' rx='3' ry='4'/%3E%3Cellipse cx='13' cy='6' rx='3' ry='4'/%3E%3Cellipse cx='20' cy='6' rx='3' ry='4'/%3E%3Cellipse cx='25' cy='12' rx='3' ry='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--roof-dark); }
:focus-visible { outline: 3px solid var(--roof); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 12px; }
.skip:focus { left: 12px; }
.paw { width: 1em; height: 1em; flex: none; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1rem;
  padding: 10px var(--gut);
  background: rgba(251, 243, 228, .9);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(231, 211, 179, .7);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 600 1.15rem/1 var(--head); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 8px -3px rgba(92,56,24,.5); }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font: 500 .98rem/1 var(--head); padding: .55rem .7rem; border-radius: 999px; }
.nav a:hover { background: var(--honey-soft); color: var(--ink); }
.langs { display: flex; background: var(--paper-2); border-radius: 999px; padding: 3px; gap: 2px; margin-left: .4rem; }
.langs a { font: 600 .9rem/1 var(--head); color: var(--ink-soft); text-decoration: none; padding: .5rem .7rem; border-radius: 999px; min-width: 44px; text-align: center; }
.langs a[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px -2px rgba(92,56,24,.35); }
@media (max-width: 1060px) { .nav { display: none; } .langs { margin-left: auto; } }
@media (max-width: 380px) { .brand span { font-size: 1rem; } }
/* Seit 5 Sprachen (09.11.2026): langer Name kürzt sich mit „…“; auf schmalen Handys nur das App-Symbol
   (der Name steht direkt darunter groß in der Hero-Karte, der Link hat ein aria-label). */
.brand { min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.langs { flex-shrink: 0; }
@media (max-width: 560px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; display: block; }
.hero-pic img { width: 100%; height: min(90vh, 66.7vw); min-height: 560px; object-fit: cover; object-position: 60% 50%; }
.hero-card {
  position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%);
  width: min(30vw, 460px);
  background: rgba(255, 250, 241, .93);
  border-radius: 32px; padding: clamp(22px, 2.4vw, 36px);
  box-shadow: var(--shadow), 0 0 0 6px rgba(255, 250, 241, .45);
}
.kicker { font: 600 .82rem/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--roof-dark); margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.6rem); font-weight: 700; margin-bottom: .25em; color: var(--ink); }
.hero-sub { font: 500 clamp(1.1rem, 1.5vw, 1.3rem)/1.35 var(--head); color: var(--roof-dark); margin-bottom: .8em; }
.hero-lead { color: var(--ink-soft); }
.hero-cta { display: grid; gap: 14px; margin-top: 1.2rem; }
.store {
  display: inline-flex; align-items: center; gap: .65rem; justify-self: start;
  background: #1d1410; color: #fff; text-decoration: none;
  padding: .7rem 1.25rem .7rem 1rem; border-radius: 14px;
  font: 600 1.35rem/1 var(--head);
}
.store .apple { width: 26px; height: 32px; }
.store span { display: grid; gap: 3px; }
.store small { font: 500 .72rem/1 var(--body); letter-spacing: .02em; opacity: .9; }
.store--soon { cursor: default; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; background: var(--mint-soft); color: #20584c; font: 500 .92rem/1.2 var(--head); padding: .45rem .8rem; border-radius: 999px; }
.chips .paw { color: #3d9a84; font-size: .95rem; }

@media (max-width: 1060px) {
  .hero-pic img { height: auto; min-height: 0; aspect-ratio: 5 / 4; object-position: 72% 50%; }
  .hero-card { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -64px var(--gut) 0; border-radius: 32px; background: var(--card); box-shadow: var(--shadow); }
}
@media (max-width: 640px) {
  .hero-pic img { aspect-ratio: 1 / 1; object-position: 68% 50%; }
  .hero-card { margin: -44px 12px 0; padding: 24px 20px 22px; border-radius: 28px; }
  .hero h1 { font-size: 2.25rem; }
}

/* ---------- Abschnitte allgemein ---------- */
.sec { padding: clamp(64px, 9vw, 120px) var(--gut); max-width: var(--max); margin: 0 auto; position: relative; }
.sec-in { max-width: var(--max); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font: 600 .85rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--roof-dark); margin-bottom: .9rem; }
.eyebrow .paw { color: var(--roof); font-size: 1.05rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; }

/* Wellenkanten für die getönten Bänder (Welten, Puppenhaus) */
.wave { position: absolute; left: 0; width: 100%; height: 48px; display: block; }
.wave-top { top: -1px; color: var(--paper); transform: rotate(180deg); }
.wave-bottom { bottom: -1px; color: var(--paper); }
.worlds, .house { max-width: none; padding-left: var(--gut); padding-right: var(--gut); }

/* ---------- Geschichte ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-art { position: relative; }
.story-pic img { border-radius: 30px; box-shadow: var(--shadow); transform: rotate(-1.2deg); border: 8px solid var(--card); }
.story-icon { position: absolute; right: -14px; bottom: -34px; width: clamp(96px, 13vw, 150px); border-radius: 26%; border: 6px solid var(--card); box-shadow: var(--shadow); transform: rotate(5deg); }
.story-text p { font-size: 1.1rem; }
.figures { display: flex; gap: 22px; margin-top: 1.4rem; align-items: flex-end; }
.figures figure { margin: 0; text-align: center; }
.figures img { height: 190px; width: auto; filter: drop-shadow(0 10px 10px rgba(92,56,24,.22)); }
.figures figcaption { font: 500 .95rem/1.2 var(--head); color: var(--ink-soft); margin-top: .35rem; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-icon { right: 8px; bottom: -28px; }
  .figures img { height: 160px; }
}

/* Fallweg: Pfotenspur von Station zu Station */
.trail-title { margin-top: clamp(64px, 8vw, 96px); text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.trail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; margin-top: 28px; }
.trail::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 58px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--honey) 0 14px, transparent 14px 26px); border-radius: 4px;
}
.trail-step { position: relative; text-align: center; }
.trail-pic { display: grid; place-items: center; width: 116px; height: 116px; margin: 0 auto 12px; background: var(--card); border-radius: 50%; box-shadow: var(--shadow); position: relative; z-index: 1; border: 4px solid var(--honey-soft); }
.trail-pic img { width: 80px; height: 80px; object-fit: contain; }
.trail-n { position: absolute; top: 0; left: calc(50% + 30px); z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--roof); color: #fff; font: 600 1rem/32px var(--head); }
.trail-step h4 { font-size: 1.15rem; margin-bottom: .3em; }
.trail-step p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .trail { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-left: auto; margin-right: auto; }
  .trail::before { left: 47px; right: auto; top: 40px; bottom: 40px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--honey) 0 14px, transparent 14px 26px); }
  .trail-step { display: grid; grid-template-columns: 98px 1fr; column-gap: 16px; text-align: left; padding: 10px 0; align-items: center; }
  .trail-pic { width: 98px; height: 98px; margin: 0; grid-row: span 2; }
  .trail-pic img { width: 66px; height: 66px; }
  .trail-n { top: 4px; left: 70px; width: 28px; height: 28px; line-height: 28px; font-size: .9rem; }
  .trail-step h4 { align-self: end; margin: 0; }
  .trail-step p { align-self: start; }
}

/* ---------- Welten ---------- */
.worlds { background: linear-gradient(180deg, #e6f3f6 0%, #eef6e6 100%); }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 2rem 0 2.4rem; }
.totals li { background: var(--card); border-radius: 22px; padding: 18px 16px; text-align: center; box-shadow: 0 10px 24px -18px rgba(29,107,92,.6); }
.totals strong { display: block; font: 700 clamp(2.2rem, 4.5vw, 3.2rem)/1 var(--head); color: var(--roof); }
.totals span { font: 500 .98rem/1.25 var(--head); color: var(--ink-soft); }
.playtime { display: flex; align-items: flex-start; gap: .55rem; margin: -1rem 0 2.4rem; max-width: 52rem; font: 500 1.08rem/1.4 var(--head); color: #20584c; }
.playtime .paw { flex: 0 0 auto; width: 1.3em; height: 1.3em; margin-top: .05em; color: var(--roof); }
.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.world { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.world picture img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.world-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.world-n { font: 600 .8rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .45rem; }
.world h3 { font-size: 1.45rem; }
.world-body > p:not(.world-n) { font-size: .98rem; color: var(--ink-soft); }
.world-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.world-stats li { background: var(--honey-soft); border-radius: 999px; padding: .3rem .7rem; font: 500 .88rem/1.2 var(--head); color: var(--ink); }
.world-stats b { font-weight: 700; color: var(--roof-dark); }
.world-pet { position: absolute; right: 10px; top: calc(min(100%, 0px) + 0px); display: none; }
@media (max-width: 1100px) { .world-grid { grid-template-columns: repeat(2, 1fr); } .totals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .world-grid { grid-template-columns: 1fr; }
  .world { flex-direction: row; flex-wrap: wrap; }
  .world picture { width: 100%; }
}

/* ---------- Lernen + Demo ---------- */
.learn-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 2.2rem; align-items: start; }
.demo-card { background: var(--card); border-radius: 30px; padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); }
.demo-card h3 { margin-bottom: .3em; }
.demo-lead { color: var(--ink-soft); font-size: 1rem; }
.demo { position: relative; aspect-ratio: 1400 / 922; border-radius: 20px; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; overscroll-behavior: contain; -webkit-tap-highlight-color: transparent; background: #f0dcc0; }
.demo img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.demo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Fuchs: Breite 42 % der Bühne, Pfoten auf der Tischoberfläche (am Raumbild vermessen, siehe app.js DEMO) */
.demo-fox { position: absolute; left: 27.06%; top: 11%; width: 42%; aspect-ratio: 1181 / 1100; pointer-events: none; }
.demo-fox img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.fox-happy, .fox-joy, .fox-plaster { opacity: 0; }
.demo[data-state="out"] .fox-neutral, .demo[data-state="done"] .fox-neutral { opacity: 0; }
.demo[data-state="out"] .fox-happy { opacity: 1; }
.demo[data-state="done"] .fox-joy, .demo[data-state="done"] .fox-plaster { opacity: 1; }
.demo:not([data-state="start"]):not([data-state="grab"]) .fox-thorn,
.demo[data-state="grab"] .fox-thorn { opacity: 0; }
.held-thorn { position: absolute; width: 2.92%; height: auto; left: 0; top: 0; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) rotate(-30deg); z-index: 6; }
.tool { position: absolute; z-index: 5; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.tool img { width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 6px 6px rgba(70,40,15,.35)); }
.tool::after { content: ''; position: absolute; inset: -14px; } /* großzügige Greiffläche */
.tool.dragging { cursor: grabbing; z-index: 9; transform: scale(1.12); }
.tool.lift { transition: left .12s ease-out, top .12s ease-out; }
/* Vergrößern beim Greifen um die wirksame Stelle: Pinzette um ihre Spitze (ToolStep.tips), Pflaster um die Mitte */
.tool-tweezers { transform-origin: 8.4% 73.3%; }
.tool-plaster { transform-origin: 50% 50%; }
.tool.home { transition: left .35s cubic-bezier(.3,1.3,.5,1), top .35s cubic-bezier(.3,1.3,.5,1); }
.tool:focus-visible { outline-offset: 6px; }
/* Ablage: Pinzette auf dem linken Schrank, Pflaster auf dem rechten (Unterkante = Schrankoberfläche 63,3 %) */
.tool-tweezers { width: 15%; left: 4%; top: 49.6%; }
.tool-plaster { width: 13%; left: 79%; top: 54%; }
.tool:disabled { cursor: default; }
/* Handy: größere Werkzeuge für Kinderfinger (Greifzone zusätzlich in app.js) */
@media (max-width: 640px) {
  .tool-tweezers { width: 21%; left: 2.5%; top: 46%; }
  .tool-plaster { width: 16.5%; left: 79.5%; top: 52%; }
}
.tool-plaster.used { opacity: 0; pointer-events: none; }
.demo-ring { position: absolute; left: 61.96%; top: 48.4%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid rgba(255,255,255,.95); box-shadow: 0 0 0 3px rgba(184,74,51,.55); pointer-events: none; z-index: 4; animation: ring 1.6s ease-in-out infinite; }
.demo:not([data-state="start"]) .demo-ring { display: none; }
@keyframes ring { 0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .9; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .45; } }
.demo-hearts { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.demo-hearts img { position: absolute; width: 7%; animation: heart 1.6s ease-out forwards; }
@keyframes heart { 0% { transform: translate(-50%, 0) scale(.3); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-50%, -160%) scale(1.1); opacity: 0; } }
.demo-done { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); z-index: 8; display: flex; }
.demo-done .demo-reset { box-shadow: 0 0 0 5px rgba(255,250,241,.9), var(--shadow); }
.demo-done[hidden] { display: none; } /* Mo-Lehre: eigenes display schlägt sonst [hidden] */
.demo-done p { display: none; } /* der Satz steht im Hinweis unter der Bühne */
.demo-reset, .faq-cta .demo-reset { font: 600 1rem/1 var(--head); background: var(--roof); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.1rem; cursor: pointer; min-height: 44px; }
.demo-reset:hover { background: var(--roof-dark); }
.demo-hint { font: 500 1.05rem/1.35 var(--head); color: var(--teal); margin: .9rem 0 .3rem; min-height: 2.7em; }
.demo-note { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.learn-list { display: grid; gap: 14px; }
.learn-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; background: var(--card); border-radius: 22px; padding: 14px 18px 14px 14px; box-shadow: 0 10px 22px -18px rgba(92,56,24,.55); }
.learn-item img { width: 72px; height: 72px; object-fit: contain; }
.learn-item h3 { font-size: 1.15rem; margin-bottom: .2em; }
.learn-item p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
@media (max-width: 980px) { .learn-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .demo-card { padding: 14px; border-radius: 24px; }
}

/* ---------- Puppenhaus ---------- */
.house { background: linear-gradient(180deg, #fde9bf 0%, #f8dcb0 100%); }
.house-scroll { margin: 2rem calc(-1 * var(--gut)) 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 var(--gut) 12px; -webkit-overflow-scrolling: touch; }
.house-pan { position: relative; width: max(100%, 1240px); max-width: 1900px; margin: 0 auto; }
.house-pan img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); border: 6px solid var(--card); }
.spot { position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: var(--roof); color: #fff; font: 700 1.1rem/38px var(--head); text-align: center; box-shadow: 0 0 0 4px rgba(255,250,241,.95), 0 6px 14px -4px rgba(0,0,0,.4); }
.house-hint { display: none; text-align: center; font: 500 .95rem/1 var(--head); color: var(--ink-soft); margin: .6rem 0 0; }
@media (max-width: 1140px) { .house-hint { display: block; } }
.spot-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; margin: 1.8rem 0 2.6rem; }
.spot-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; font-size: .98rem; color: var(--ink-soft); }
.spot-list b { color: var(--ink); font-family: var(--head); font-weight: 600; display: block; }
.spot-n { width: 30px; height: 30px; border-radius: 50%; background: var(--roof); color: #fff; font: 700 .95rem/30px var(--head); text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 20px; }
.feature { background: var(--card); border-radius: 24px; padding: 20px 22px; box-shadow: 0 12px 26px -20px rgba(92,56,24,.6); }
.feature img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; }
.feature p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
@media (max-width: 900px) { .spot-list, .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .spot-list, .features { grid-template-columns: 1fr; } .spot { width: 32px; height: 32px; line-height: 32px; font-size: 1rem; } }

/* ---------- Eltern + Kauf ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2rem; }
.pcard { background: var(--card); border-radius: 24px; padding: 22px; border: 2px solid var(--mint-soft); }
.pcard img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 10px; }
.pcard p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.buy { position: relative; margin-top: clamp(40px, 6vw, 72px); background: var(--mint-soft); border-radius: 32px; padding: clamp(24px, 4vw, 44px); }
.buy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.buy-pet { position: absolute; right: clamp(12px, 3vw, 36px); top: -46px; width: clamp(80px, 10vw, 118px); }
.buy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.2rem 0 1.4rem; }
.buy-steps li { background: var(--card); border-radius: 22px; padding: 18px 18px 16px; position: relative; }
.buy-steps h3 { font-size: 1.15rem; margin: .5rem 0 .25rem; }
.buy-steps p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.buy-n { display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1rem/34px var(--head); text-align: center; }
.buy-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.buy-checks li { display: flex; align-items: center; gap: .45rem; font: 500 1rem/1.2 var(--head); color: #20584c; }
.buy-checks img { width: 26px; height: 26px; }
.buy-note { margin: 1.3rem 0 .4rem; font: 500 1.02rem/1.45 var(--head); color: #20584c; max-width: 52rem; }
.buy-fine { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); max-width: 52rem; }
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr 1fr; } .buy-steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pcards { grid-template-columns: 1fr; } .buy-pet { top: -36px; } }

/* ---------- Galerie ---------- */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 2rem; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 600px) {
  /* Handy: Tafeln als Wischreihe, groß genug, um die Überschriften zu lesen */
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 4px var(--gut) 14px; scroll-padding: 0 var(--gut); }
  .shots li { flex: 0 0 84%; scroll-snap-align: start; }
}
.shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 24px -18px rgba(92,56,24,.7); transition: transform .2s; }
.shot:hover { transform: translateY(-3px); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(40, 24, 12, .82); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 16px; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font: 600 1.8rem/1 var(--head); cursor: pointer; box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-top: 1.8rem; max-width: 52rem; }
.faq details { background: var(--card); border-radius: 20px; padding: 0 22px; border: 2px solid var(--paper-2); }
.faq summary { cursor: pointer; list-style: none; font: 600 1.1rem/1.3 var(--head); padding: 18px 34px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--roof); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }
.faq-cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.faq-cta p { margin: 0; color: var(--ink-soft); font-family: var(--head); }

/* ---------- Fuß ---------- */
.foot { position: relative; background: #f1dcbc; margin-top: 40px; padding: 70px var(--gut) 40px; text-align: center; }
.wave-foot { top: -1px; color: var(--paper); transform: rotate(180deg); }
.foot-in { max-width: 720px; margin: 0 auto; }
.foot-pet { width: 110px; margin: 0 auto 10px; }
.foot-note { font: 500 1.08rem/1.4 var(--head); }
.legal { font-size: .95rem; color: var(--ink-soft); margin: .4rem 0; }
.legal.small, .small { font-size: .85rem; }

/* ---------- Impressum / Datenschutz ---------- */
.legal-main { max-width: 760px; margin: 0 auto; padding: 40px var(--gut) 40px; }
.legal-main article { background: var(--card); border-radius: 28px; padding: clamp(22px, 4vw, 44px); margin-bottom: 28px; box-shadow: var(--shadow); }
.legal-main h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.legal-main h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal-main .back { font-size: .95rem; }
.todo { background: #fff1a8; outline: 2px dashed #c89400; padding: 0 .25em; border-radius: 4px; }

/* ---------- Handy: kompaktere Karten (Bild links statt oben) ---------- */
.buy > h3 { padding-right: 110px; }
@media (max-width: 600px) {
  .world picture img { aspect-ratio: 1; }
  .feature, .pcard { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: start; padding: 16px 18px; }
  .feature img, .pcard img { width: 56px; height: 56px; grid-row: span 2; margin: 0; }
  .feature h3, .pcard h3 { margin-bottom: .2em; font-size: 1.12rem; }
  .demo-card { margin-left: -6px; margin-right: -6px; }
}
