/* ==========================================================================
   Dein Hundeplan – Design-System (stil.css)
   Stand: 01.11.2026 · Besitzer: Design-Agent · siehe produkt/VERTRAG.md Abschnitt 6
   Übersicht aller Bausteine mit Beispiel-Markup: produkt/web/stil.html

   Inhalt
     1  Schrift (Bricolage Grotesque, variabel 200–800)
     2  Tokens (Farben, Abstände, Radien, Schatten, Schrift-Skala)
     3  Grundlagen (Reset, Body, Fokus, Links)
     4  Typografie-Klassen
     5  Layout (.seite, .inhalt, .stapel, .abschnitt)
     6  Kopfzeile + Fortschrittsbalken
     7  Knöpfe + fester Haupt-Knopf unten (.unten)
     8  Antwort-Karten (einfach / mehrfach / Bild-Raster)
     9  Skala 1–5 + Aussage-Karte
    10  Felder (Text, E-Mail, Häkchen)
    11  Zwischen-Seite
    12  Boxen (Info, Warn, Sicherheit, Erfolg)
    13  Profil-Karte
    14  Ladekreis + Lade-Schritte
    15  Pop-up
    16  Preisbox, Order-Bump, Summe, Garantie, Haken-Liste, Kauf-Balken
    17  Plan: Wochen-Kopf, Tageskarte, Abhaken, Tag-Zeile, Wochen-Check, Wenn-Karte
    18  Tabs, Badge, Chip, Aufklapp (details), FAQ
    19  Fußleiste
    20  Bild-Kreis (Hund/Foto), Animationen, Hilfsklassen
   ========================================================================== */

/* 1 · Schrift ------------------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage.woff2') format('woff2-variations'),
       url('fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

/* Zeichen, die Bricolage nicht hat (→ ✓ ⚠ ★ …). Ohne sie zeigt Chromium auf dem Server (Linux, keine Systemschriften)
   leere Kästchen in den PDFs. Teilmenge von DejaVu Sans (freie Lizenz, assets/fonts/LIZENZ-DejaVu.txt). */
@font-face {
  font-family: 'HP Zeichen';
  src: url('fonts/hp-zeichen.woff2') format('woff2');
  unicode-range: U+2022, U+00D7, U+2190-21FF, U+2605-2606, U+26A0, U+2713-2714, U+2717-2718;
  font-display: block;
}

/* 2 · Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Flächen */
  --hp-bg: #FFF8F0;            /* warmes Off-White (Seite) */
  --hp-bg-tief: #FCEFE0;       /* etwas wärmer, für abgesetzte Abschnitte */
  --hp-karte: #FFFFFF;
  --hp-karte-warm: #FFFBF6;

  /* Text */
  --hp-text: #1F2B44;          /* Navy */
  --hp-text-2: #4F5C7A;        /* gedämpft (Kontrast > 6:1 auf Off-White) */
  --hp-text-3: #626C86;        /* leise Hinweise (5,2:1 auf Weiß, 5,0:1 auf Off-White, 4,6:1 auf #FCEFE0) */
  --hp-text-invers: #FFFFFF;

  /* Marke */
  --hp-orange: #FFB547;
  --hp-koralle: #EE6A3A;
  --hp-verlauf: linear-gradient(135deg, #FFB547 0%, #EE6A3A 100%);
  --hp-verlauf-weich: linear-gradient(135deg, #FFF1DC 0%, #FFE2D2 100%);
  --hp-akzent-text: #E06A12;   /* Akzent-Text (fett / groß verwenden) */
  --hp-akzent-tief: #B4520C;   /* Akzent für kleine Schrift (Kontrast > 4.5:1) */
  --hp-akzent-weich: #FFF1E2;  /* Hintergrund ausgewählt */
  --hp-akzent-rand: #F6B27A;

  /* Zustände */
  --hp-gruen: #2E9E6A;
  --hp-gruen-tief: #1E7A50;
  --hp-gruen-weich: #E8F6EE;
  --hp-gruen-rand: #A9DDBF;
  --hp-warn: #E79A1B;
  --hp-warn-weich: #FFF6E0;
  --hp-warn-rand: #F5D48C;
  --hp-rot: #D6493B;           /* Ränder, Icons */
  --hp-rot-text: #C23F32;      /* Fehlertext (4,9:1 auf Off-White) */
  --hp-rot-weich: #FDEEEC;
  --hp-rot-rand: #F2BDB5;
  /* Info: warm-neutral statt Blau-Lavendel (passt zur warmen Palette; Test-Befund 01.11.2026) */
  --hp-info: #1F2B44;
  --hp-info-weich: #F6F1EA;
  --hp-info-rand: #E9E1D6;

  /* Linien */
  --hp-linie: rgba(31, 43, 68, 0.10);
  --hp-linie-stark: rgba(31, 43, 68, 0.18);

  /* Abstände (4er-Raster) */
  --hp-a1: 4px;  --hp-a2: 8px;  --hp-a3: 12px; --hp-a4: 16px; --hp-a5: 20px;
  --hp-a6: 24px; --hp-a8: 32px; --hp-a10: 40px; --hp-a14: 56px; --hp-a20: 80px;
  --hp-rand: 20px;             /* seitlicher Innenabstand mobil */
  --hp-max: 560px;             /* max. Inhaltsbreite */

  /* Radien */
  --hp-r-s: 10px; --hp-r-m: 16px; --hp-r-l: 22px; --hp-r-xl: 28px; --hp-r-voll: 999px;

  /* Schatten (warm, weich) */
  --hp-schatten-1: 0 1px 2px rgba(31, 43, 68, 0.05), 0 2px 8px -2px rgba(120, 70, 30, 0.08);
  --hp-schatten-2: 0 1px 2px rgba(31, 43, 68, 0.05), 0 10px 28px -10px rgba(120, 70, 30, 0.22);
  --hp-schatten-3: 0 2px 6px rgba(31, 43, 68, 0.06), 0 24px 56px -16px rgba(120, 70, 30, 0.30);
  --hp-schatten-knopf: 0 10px 24px -8px rgba(238, 106, 58, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  /* Schrift */
  --hp-schrift: 'Bricolage Grotesque', 'HP Zeichen', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hp-fs-mini: 13px;
  --hp-fs-klein: 15px;
  --hp-fs-text: 17px;
  --hp-fs-gross: 19px;
  --hp-fs-h3: 20px;
  --hp-fs-h2: 25px;
  --hp-fs-h1: 30px;
  --hp-fs-display: 36px;

  /* Bewegung */
  --hp-weich: cubic-bezier(0.22, 1, 0.36, 1);
  --hp-feder: cubic-bezier(0.34, 1.56, 0.64, 1);
  --hp-dauer: 220ms;

  /* Icons (Schrift hat kein ✓ und →, deshalb als Maske) */
  --hp-i-haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hp-i-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hp-i-zurueck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hp-i-runter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hp-i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E");
  --hp-i-uhr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --hp-i-ort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --hp-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --hp-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 8.2a1.3 1.3 0 0 0-1.3 1.3v5a1.3 1.3 0 0 0 2.6 0v-5a1.3 1.3 0 0 0-1.3-1.3zm0-4.2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E");
  --hp-i-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M10.3 3.4a2 2 0 0 1 3.4 0l8.4 14.6a2 2 0 0 1-1.7 3H3.6a2 2 0 0 1-1.7-3zM12 8.3a1.2 1.2 0 0 0-1.2 1.2v4.6a1.2 1.2 0 0 0 2.4 0V9.5A1.2 1.2 0 0 0 12 8.3zm0 8.2a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8z'/%3E%3C/svg%3E");
  --hp-i-herz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-8-4.9-8-11a4.6 4.6 0 0 1 8-3.1 4.6 4.6 0 0 1 8 3.1c0 6.1-8 11-8 11z'/%3E%3C/svg%3E");
  --hp-i-pfote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='9.5' rx='2.2' ry='2.8'/%3E%3Cellipse cx='10' cy='5.5' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.4' cy='5.5' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.3' cy='9.5' rx='2.2' ry='2.8'/%3E%3Cpath d='M12.2 10.8c-3.3 0-6.6 4.7-6.6 7.3 0 2.2 2.3 2.6 3.5 2.2 1.2-.4 2-.8 3.1-.8s1.9.4 3.1.8c1.2.4 3.5 0 3.5-2.2 0-2.6-3.3-7.3-6.6-7.3z'/%3E%3C/svg%3E");
}

/* 3 · Grundlagen ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-schrift);
  font-size: var(--hp-fs-text);
  font-weight: 400;
  line-height: 1.55;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: var(--hp-akzent-tief); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--hp-akzent-text); }
:focus-visible { outline: 3px solid rgba(238, 106, 58, 0.55); outline-offset: 3px; border-radius: 6px; }
::selection { background: #FFD9B8; color: var(--hp-text); }
[hidden] { display: none !important; }

/* 4 · Typografie ------------------------------------------------------------ */
.display, .titel-1, .titel-2, .titel-3 {
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--hp-text);
}
.display { font-size: var(--hp-fs-display); line-height: 1.05; letter-spacing: -0.03em; }
.titel-1 { font-size: var(--hp-fs-h1); }
.titel-2 { font-size: var(--hp-fs-h2); line-height: 1.16; }
.titel-3 { font-size: var(--hp-fs-h3); font-weight: 700; letter-spacing: -0.012em; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--hp-fs-mini); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hp-akzent-tief);
}
.untertitel { font-size: var(--hp-fs-gross); color: var(--hp-text-2); line-height: 1.5; text-wrap: pretty; }
.text { font-size: var(--hp-fs-text); line-height: 1.55; text-wrap: pretty; }
.text-gross { font-size: var(--hp-fs-gross); }
.text-klein { font-size: var(--hp-fs-klein); line-height: 1.5; }
.text-mini { font-size: var(--hp-fs-mini); line-height: 1.45; }
.text-leise { color: var(--hp-text-2); }
.text-leiser { color: var(--hp-text-3); }
.text-akzent { color: var(--hp-akzent-text); font-weight: 700; }
.text-verlauf {
  background: var(--hp-verlauf); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.marker { background: linear-gradient(transparent 58%, rgba(255, 181, 71, 0.45) 58%); padding: 0 2px; border-radius: 2px; }
.zahl { font-variant-numeric: tabular-nums; }
.mitte { text-align: center; }
.mitte .eyebrow, .mitte.eyebrow { justify-content: center; }

@media (min-width: 640px) {
  :root { --hp-fs-h1: 34px; --hp-fs-h2: 28px; --hp-fs-display: 44px; --hp-rand: 24px; }
}

/* 5 · Layout ----------------------------------------------------------------- */
.seite { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.inhalt {
  width: 100%; max-width: calc(var(--hp-max) + 2 * var(--hp-rand));
  margin-inline: auto; padding-inline: var(--hp-rand);
}
.inhalt--breit { max-width: calc(760px + 2 * var(--hp-rand)); }
.seite--mit-unten { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.abschnitt { padding-block: var(--hp-a10); }
.abschnitt--weiss { background: var(--hp-karte); }
.abschnitt--tief { background: var(--hp-bg-tief); }
.abschnitt--verlauf { background: linear-gradient(180deg, #FFEBD4 0%, var(--hp-bg) 100%); }
.stapel { display: flex; flex-direction: column; gap: var(--hp-a4); }
.stapel--eng { gap: var(--hp-a2); }
.stapel--weit { gap: var(--hp-a6); }
.reihe { display: flex; align-items: center; gap: var(--hp-a3); flex-wrap: wrap; }
.reihe--zwischen { justify-content: space-between; }
.raster-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hp-a3); }
.trenner { height: 1px; background: var(--hp-linie); border: 0; margin: var(--hp-a6) 0; }
.karte {
  background: var(--hp-karte); border-radius: var(--hp-r-l);
  box-shadow: var(--hp-schatten-2); padding: var(--hp-a5);
  border: 1px solid rgba(31, 43, 68, 0.04);
}
.karte--flach { box-shadow: none; border: 1px solid var(--hp-linie); }
.karte--warm { background: var(--hp-karte-warm); }
.frage-kopf { display: flex; flex-direction: column; gap: var(--hp-a2); padding-top: var(--hp-a6); margin-bottom: var(--hp-a6); }
.frage-kopf .untertitel { font-size: var(--hp-fs-text); }

/* 6 · Kopfzeile + Fortschritt --------------------------------------------- */
.kopfzeile {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 240, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.kopfzeile__innen {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  height: 56px;
}
.kopfzeile__zurueck {
  width: 40px; height: 40px; border-radius: var(--hp-r-voll);
  display: grid; place-items: center; color: var(--hp-text);
  transition: background var(--hp-dauer);
}
.kopfzeile__zurueck::before {
  content: ''; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--hp-i-zurueck) center / contain no-repeat; mask: var(--hp-i-zurueck) center / contain no-repeat;
}
.kopfzeile__zurueck:hover { background: rgba(31, 43, 68, 0.06); }
.kopfzeile__zurueck[disabled], .kopfzeile__zurueck.ist-versteckt { visibility: hidden; }
.kopfzeile__marke {
  justify-self: center; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--hp-text); text-decoration: none;
}
.kopfzeile__marke img { width: 28px; height: 28px; border-radius: 50%; }
.kopfzeile__schritt {
  justify-self: end; font-size: var(--hp-fs-mini); font-weight: 700; color: var(--hp-text-3);
  font-variant-numeric: tabular-nums;
}
.fortschritt {
  position: relative; height: 6px; border-radius: var(--hp-r-voll);
  background: rgba(31, 43, 68, 0.08); overflow: hidden;
}
.fortschritt__balken {
  position: absolute; inset: 0 auto 0 0; width: var(--wert, 0%);
  background: var(--hp-verlauf); border-radius: inherit;
  transition: width 500ms var(--hp-weich);
}
.fortschritt__balken::after {   /* sanfter Glanz an der Spitze */
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 18px;
  background: radial-gradient(circle at right, rgba(255, 255, 255, 0.7), transparent 70%);
}
.fortschritt-teile { display: flex; justify-content: space-between; margin-top: 8px; gap: 4px; }
.fortschritt-teile span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hp-text-3);
}
.fortschritt-teile span.ist-aktiv { color: var(--hp-akzent-tief); }
.kopfzeile .fortschritt { margin-bottom: 10px; }

/* 7 · Knöpfe ----------------------------------------------------------------- */
.knopf {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px; border-radius: var(--hp-r-voll);
  font-size: 18px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; text-align: center;
  text-decoration: none; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--hp-weich), box-shadow var(--hp-dauer), background var(--hp-dauer), opacity var(--hp-dauer), color var(--hp-dauer);
}
.knopf:active { transform: scale(0.98); }
.knopf--haupt { color: #fff; background: var(--hp-verlauf); box-shadow: var(--hp-schatten-knopf); }
.knopf--haupt:hover { color: #fff; filter: saturate(1.08) brightness(1.02); }
.knopf--haupt.knopf--pfeil::after {
  content: ''; width: 20px; height: 20px; background: currentColor; flex: none;
  -webkit-mask: var(--hp-i-pfeil) center / contain no-repeat; mask: var(--hp-i-pfeil) center / contain no-repeat;
  transition: transform var(--hp-dauer) var(--hp-weich);
}
.knopf--haupt.knopf--pfeil:hover::after { transform: translateX(3px); }
.knopf--zweit { color: var(--hp-text); background: var(--hp-karte); box-shadow: inset 0 0 0 1.5px var(--hp-linie-stark), var(--hp-schatten-1); }
.knopf--zweit:hover { color: var(--hp-text); box-shadow: inset 0 0 0 1.5px var(--hp-akzent-rand), var(--hp-schatten-1); }
.knopf--navy { color: #fff; background: var(--hp-text); box-shadow: 0 10px 24px -10px rgba(31, 43, 68, 0.6); }
.knopf--navy:hover { color: #fff; background: #2A3A5C; }
.knopf--text { min-height: 44px; padding: 0 12px; font-size: 16px; color: var(--hp-text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--hp-linie-stark); }
.knopf--text:hover { color: var(--hp-text); }
.knopf--klein { --h: 44px; font-size: 16px; padding: 0 20px; }
.knopf--voll { display: flex; width: 100%; }
.knopf[disabled], .knopf.ist-gesperrt {
  cursor: not-allowed; color: rgba(31, 43, 68, 0.38); background: #EDE6DD; box-shadow: none; filter: none;
}
.knopf[disabled]::after { opacity: 0.5; }
.knopf--puls:not([disabled]) { animation: hp-puls 2.6s var(--hp-weich) infinite; }
.knopf__unter { display: block; font-size: 13px; font-weight: 500; opacity: 0.9; }
.knopf--zwei-zeilig { flex-direction: column; gap: 0; padding-block: 8px; }

/* Fester Haupt-Knopf unten */
.unten {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  padding: 28px var(--hp-rand) calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--hp-bg) 62%, rgba(255, 248, 240, 0));
  pointer-events: none;
}
.unten__innen { max-width: var(--hp-max); margin-inline: auto; pointer-events: auto; display: flex; flex-direction: column; gap: 6px; }
.unten__innen .knopf { width: 100%; }
.unten__hinweis { text-align: center; font-size: var(--hp-fs-mini); color: var(--hp-text-3); }
.unten--weiss { background: linear-gradient(to top, #fff 62%, rgba(255, 255, 255, 0)); }
.unten.ist-versteckt { transform: translateY(110%); }
.unten { transition: transform 300ms var(--hp-weich); }

/* 8 · Antwort-Karten ---------------------------------------------------------- */
.antworten { display: flex; flex-direction: column; gap: 12px; }
.antworten--raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.antwort {
  position: relative; width: 100%;
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 14px 16px 14px 16px;
  background: var(--hp-karte); color: var(--hp-text);
  border-radius: var(--hp-r-l);
  box-shadow: inset 0 0 0 1.5px var(--hp-linie), var(--hp-schatten-1);
  font-size: var(--hp-fs-gross); font-weight: 600; line-height: 1.25; letter-spacing: -0.005em;
  transition: box-shadow var(--hp-dauer) var(--hp-weich), background var(--hp-dauer), transform 160ms var(--hp-weich);
}
/* Hover nur mit Maus: Auf dem Handy bleibt :hover nach dem Tippen sonst an der Karte hängen,
   die auf dem nächsten Bildschirm an derselben Stelle liegt (wirkt halb gewählt). */
@media (hover: hover) and (pointer: fine) {
  .antwort:hover { box-shadow: inset 0 0 0 1.5px var(--hp-akzent-rand), var(--hp-schatten-2); }
}
.antwort:active { transform: scale(0.985); }
.antwort__icon {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px; line-height: 1;
  background: var(--hp-bg);
  transition: background var(--hp-dauer);
}
.antwort__icon svg { width: 30px; height: 30px; }
.antwort__icon .hp-icon { width: 26px; height: 26px; }
/* Eigene Icons (HP.icon, Inline-SVG): Größe folgt der Schriftgröße des Rahmens */
.hp-icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; overflow: visible; }
.antwort__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.antwort__sub { font-size: var(--hp-fs-klein); font-weight: 400; color: var(--hp-text-2); letter-spacing: 0; }
.antwort__marke {   /* Radio (einfach) */
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--hp-linie-stark);
  display: grid; place-items: center;
  transition: box-shadow var(--hp-dauer), background var(--hp-dauer);
}
.antwort__marke::after {
  content: ''; width: 14px; height: 14px; background: #fff; transform: scale(0);
  -webkit-mask: var(--hp-i-haken) center / contain no-repeat; mask: var(--hp-i-haken) center / contain no-repeat;
  transition: transform 260ms var(--hp-feder);
}
.antwort--mehrfach .antwort__marke { border-radius: 8px; }

/* ausgewählt */
.antwort[aria-pressed="true"], .antwort[aria-checked="true"], .antwort.ist-gewaehlt {
  background: var(--hp-akzent-weich);
  box-shadow: inset 0 0 0 2px var(--hp-koralle), 0 8px 22px -12px rgba(238, 106, 58, 0.55);
}
.antwort[aria-pressed="true"] .antwort__icon, .antwort[aria-checked="true"] .antwort__icon, .antwort.ist-gewaehlt .antwort__icon { background: #fff; }
.antwort[aria-pressed="true"] .antwort__marke, .antwort[aria-checked="true"] .antwort__marke, .antwort.ist-gewaehlt .antwort__marke {
  background: var(--hp-verlauf); box-shadow: none;
}
.antwort[aria-pressed="true"] .antwort__marke::after, .antwort[aria-checked="true"] .antwort__marke::after, .antwort.ist-gewaehlt .antwort__marke::after { transform: scale(1); }
.antwort[disabled] { opacity: 0.45; cursor: not-allowed; }

/* Bild-Variante (Raster, z. B. Alter mit gezeichneten Hunden) */
.antwort--bild {
  flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; text-align: center;
  min-height: 0;
}
.antwort--bild .antwort__bild {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12px 12px 0;
  background: linear-gradient(180deg, #FFF4E6 0%, #FFE9D3 100%);
}
.antwort--bild .antwort__bild svg { width: 100%; height: 100%; }
.antwort--bild .antwort__text { padding: 12px 10px 14px; align-items: center; }
.antwort--bild .antwort__sub { font-size: var(--hp-fs-mini); }
.antwort--bild .antwort__marke { position: absolute; top: 10px; right: 10px; background: #fff; }
.antwort--bild[aria-pressed="true"] .antwort__bild, .antwort--bild.ist-gewaehlt .antwort__bild { background: linear-gradient(180deg, #FFE7CC 0%, #FFD6B8 100%); }

/* 9 · Skala 1–5 ------------------------------------------------------------- */
.aussage {
  position: relative; padding: 26px 22px 22px; border-radius: var(--hp-r-xl);
  background: var(--hp-karte); box-shadow: var(--hp-schatten-2);
  font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; text-wrap: balance;
}
.aussage::before {
  content: '„'; position: absolute; top: -18px; left: 18px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hp-verlauf); color: #fff; font-size: 34px; line-height: 1; padding-bottom: 14px;
  box-shadow: var(--hp-schatten-knopf);
}
.skala { display: flex; flex-direction: column; gap: 10px; }
.skala__reihe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.skala__punkt {
  aspect-ratio: 1; max-height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--hp-karte); box-shadow: inset 0 0 0 1.5px var(--hp-linie), var(--hp-schatten-1);
  font-size: 20px; font-weight: 700; color: var(--hp-text-2); font-variant-numeric: tabular-nums;
  transition: transform 220ms var(--hp-feder), box-shadow var(--hp-dauer), background var(--hp-dauer), color var(--hp-dauer);
}
@media (hover: hover) and (pointer: fine) {
  .skala__punkt:hover { box-shadow: inset 0 0 0 1.5px var(--hp-akzent-rand), var(--hp-schatten-2); color: var(--hp-text); }
}
.skala__punkt:active { transform: scale(0.96); }
.skala__punkt[aria-pressed="true"], .skala__punkt[aria-checked="true"], .skala__punkt.ist-gewaehlt {
  background: var(--hp-verlauf); color: #fff; box-shadow: var(--hp-schatten-knopf); transform: translateY(-2px) scale(1.04);
}
.skala__enden { display: flex; justify-content: space-between; gap: 12px; font-size: var(--hp-fs-klein); font-weight: 600; color: var(--hp-text-2); }
.skala__enden span { display: inline-flex; align-items: center; gap: 6px; }

/* 10 · Felder --------------------------------------------------------------- */
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld__label { font-size: var(--hp-fs-klein); font-weight: 700; color: var(--hp-text); }
.feld__eingabe {
  width: 100%; min-height: 60px; padding: 0 20px; border-radius: var(--hp-r-l);
  border: 0; outline: 0; background: var(--hp-karte);
  box-shadow: inset 0 0 0 1.5px var(--hp-linie-stark), var(--hp-schatten-1);
  font-size: 20px; font-weight: 600; color: var(--hp-text);
  transition: box-shadow var(--hp-dauer);
}
.feld__eingabe::placeholder { color: #A7AEBF; font-weight: 500; }
.feld__eingabe:focus { box-shadow: inset 0 0 0 2px var(--hp-koralle), 0 0 0 5px rgba(255, 181, 71, 0.22); }
.feld--fehler .feld__eingabe { box-shadow: inset 0 0 0 2px var(--hp-rot); }
.feld__fehler { font-size: var(--hp-fs-klein); color: var(--hp-rot-text); font-weight: 600; }
.feld__hilfe { font-size: var(--hp-fs-mini); color: var(--hp-text-3); }

.haken { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: var(--hp-fs-klein); line-height: 1.45; color: var(--hp-text-2); }
.haken input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.haken__box {
  flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 7px; background: #fff;
  box-shadow: inset 0 0 0 2px var(--hp-linie-stark);
  display: grid; place-items: center; transition: background var(--hp-dauer), box-shadow var(--hp-dauer);
}
.haken__box::after {
  content: ''; width: 15px; height: 15px; background: #fff; transform: scale(0);
  -webkit-mask: var(--hp-i-haken) center / contain no-repeat; mask: var(--hp-i-haken) center / contain no-repeat;
  transition: transform 240ms var(--hp-feder);
}
.haken input:checked + .haken__box { background: var(--hp-verlauf); box-shadow: none; }
.haken input:checked + .haken__box::after { transform: scale(1); }
.haken input:focus-visible + .haken__box { outline: 3px solid rgba(238, 106, 58, 0.55); outline-offset: 2px; }

/* 11 · Zwischen-Seite ---------------------------------------------------------- */
.zwischen {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding-top: var(--hp-a8);
}
.zwischen__bild { width: min(260px, 72vw); margin-bottom: 8px; }
.zwischen__titel { font-size: var(--hp-fs-h1); font-weight: 800; letter-spacing: -0.024em; line-height: 1.12; text-wrap: balance; }
.zwischen__text { font-size: var(--hp-fs-gross); color: var(--hp-text-2); max-width: 30ch; text-wrap: pretty; }
.zwischen__punkte { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }

/* 12 · Boxen ------------------------------------------------------------------- */
.box {
  --farbe: var(--hp-info); --flaeche: var(--hp-info-weich); --rand: var(--hp-info-rand); --icon: var(--hp-i-info);
  position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px;
  padding: 16px 18px; border-radius: var(--hp-r-m);
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand);
  font-size: var(--hp-fs-klein); line-height: 1.5; color: var(--hp-text);
}
.box::before {
  content: ''; grid-row: span 2; width: 22px; height: 22px; margin-top: 1px; background: var(--farbe);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.box__titel { font-size: var(--hp-fs-text); font-weight: 700; line-height: 1.35; }
.box__text { grid-column: 2; }
.box > :not(.box__titel):not(.box__text) { grid-column: 2; }
.box--warn { --farbe: var(--hp-warn); --flaeche: var(--hp-warn-weich); --rand: var(--hp-warn-rand); --icon: var(--hp-i-warn); }
.box--sicherheit { --farbe: var(--hp-rot); --flaeche: var(--hp-rot-weich); --rand: var(--hp-rot-rand); --icon: var(--hp-i-warn); }
.box--erfolg { --farbe: var(--hp-gruen); --flaeche: var(--hp-gruen-weich); --rand: var(--hp-gruen-rand); --icon: var(--hp-i-haken); }
.box--marke { --farbe: var(--hp-koralle); --flaeche: var(--hp-akzent-weich); --rand: #FAD3B4; --icon: var(--hp-i-pfote); }
.box--gross { padding: 20px; border-radius: var(--hp-r-l); font-size: var(--hp-fs-text); }
.box--gross .box__titel { font-size: var(--hp-fs-gross); }

/* 13 · Profil-Karte --------------------------------------------------------------- */
.profil {
  background: var(--hp-karte); border-radius: var(--hp-r-xl); box-shadow: var(--hp-schatten-2);
  overflow: hidden; border: 1px solid rgba(31, 43, 68, 0.04);
}
.profil__kopf {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  background: var(--hp-verlauf-weich);
}
.profil__bild {
  flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 4px #fff, var(--hp-schatten-2);
  display: grid; place-items: center;
}
.profil__bild img { width: 100%; height: 100%; object-fit: cover; }
.profil__bild svg { width: 132%; height: auto; max-width: none; margin: 22% 0 0 -12%; }
.profil__titel { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.profil__liste { list-style: none; padding: 6px 20px 10px; }
.profil__zeile {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--hp-linie);
}
.profil__zeile:first-child { border-top: 0; }
.profil__icon {
  flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--hp-bg);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
}
.profil__inhalt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding-top: 1px; }
.profil__label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--hp-text-3); }
.profil__wert { font-size: var(--hp-fs-text); font-weight: 700; line-height: 1.35; }
.profil__wert small { display: block; font-weight: 400; font-size: var(--hp-fs-klein); color: var(--hp-text-2); margin-top: 2px; }
.profil__zeile--start { background: var(--hp-akzent-weich); margin: 6px -20px -10px; padding: 16px 20px; border-top: 0; }
.profil__zeile--start .profil__icon { background: #fff; }
.profil__zeile--start .profil__label { color: var(--hp-akzent-tief); }

/* 14 · Ladekreis ------------------------------------------------------------------ */
.ladekreis { position: relative; width: 180px; height: 180px; margin-inline: auto; }
.ladekreis svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ladekreis__spur { fill: none; stroke: rgba(31, 43, 68, 0.08); stroke-width: 10; }
.ladekreis__wert {
  fill: none; stroke: url(#hp-kreis-verlauf); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 300ms linear;
  filter: drop-shadow(0 4px 8px rgba(238, 106, 58, 0.30));
}
.ladekreis__mitte { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ladekreis__zahl { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.ladekreis__zahl small { font-size: 22px; font-weight: 700; margin-left: 1px; }
.ladeschritte { list-style: none; display: flex; flex-direction: column; gap: 4px; max-width: 320px; margin-inline: auto; }
.ladeschritte li {
  display: flex; align-items: center; gap: 12px; padding: 8px 4px;
  font-size: var(--hp-fs-text); font-weight: 600; color: var(--hp-text-3);
  transition: color 300ms;
}
.ladeschritte li::before {
  content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--hp-linie-stark); background: transparent;
}
.ladeschritte li.ist-aktiv { color: var(--hp-text); }
.ladeschritte li.ist-aktiv::before {
  box-shadow: none; border: 2.5px solid rgba(238, 106, 58, 0.2); border-top-color: var(--hp-koralle);
  animation: hp-dreh 0.8s linear infinite;
}
.ladeschritte li.ist-fertig { color: var(--hp-text); }
.ladeschritte li.ist-fertig::before {
  box-shadow: none;
  background: var(--hp-gruen) center / 16px no-repeat;
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation: hp-pop 360ms var(--hp-feder);
}
.spinner {
  width: 22px; height: 22px; border-radius: 50%; display: inline-block;
  border: 2.5px solid rgba(238, 106, 58, 0.2); border-top-color: var(--hp-koralle);
  animation: hp-dreh 0.8s linear infinite;
}

/* 15 · Pop-up ---------------------------------------------------------------------- */
.popup-hinter {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom));
  background: rgba(31, 43, 68, 0.40);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 260ms var(--hp-weich), visibility 0s 260ms;
}
.popup-hinter.ist-offen { opacity: 1; visibility: visible; transition: opacity 260ms var(--hp-weich); }
.popup {
  width: 100%; max-width: 440px; padding: 28px 22px 22px; border-radius: var(--hp-r-xl);
  background: var(--hp-karte); box-shadow: var(--hp-schatten-3);
  display: flex; flex-direction: column; gap: 16px; text-align: center;
  transform: translateY(24px) scale(0.98); transition: transform 380ms var(--hp-feder);
}
.popup-hinter.ist-offen .popup { transform: none; }
.popup__bild { width: 120px; margin: -4px auto 0; }
.popup__frage { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.popup__text { font-size: var(--hp-fs-klein); color: var(--hp-text-2); margin-top: -8px; }
.popup__antworten { display: grid; gap: 10px; }
.popup__antworten--zwei { grid-template-columns: 1fr 1fr; }
.popup__antworten .knopf { width: 100%; }
@media (min-width: 640px) { .popup-hinter { align-items: center; } }

/* 16 · Kaufen ------------------------------------------------------------------------ */
.preisbox {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border-radius: var(--hp-r-l);
  background: var(--hp-karte-warm); box-shadow: inset 0 0 0 1.5px #F7D9BD;
}
.preisbox > :first-child { min-width: 0; }
.preisbox__label { font-size: var(--hp-fs-text); font-weight: 700; }
.preisbox__hinweis { font-size: var(--hp-fs-klein); color: var(--hp-text-2); white-space: nowrap; }
.preisbox__preis { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.preisbox__preis small { font-size: 0.6em; }

.bump {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: start;
  padding: 16px 18px; border-radius: var(--hp-r-l); cursor: pointer;
  background: #FFFCF7; border: 2px dashed var(--hp-akzent-rand);
  transition: background var(--hp-dauer), border-color var(--hp-dauer), box-shadow var(--hp-dauer);
}
.bump input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bump .haken__box { grid-row: 1 / span 3; margin-top: 1px; }
.bump__titel { grid-column: 2; font-size: var(--hp-fs-text); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.bump__preis { grid-column: 2; font-size: var(--hp-fs-klein); font-weight: 800; color: var(--hp-akzent-tief); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bump__text { grid-column: 2; margin-top: 4px; font-size: var(--hp-fs-klein); color: var(--hp-text-2); line-height: 1.45; }
.bump:has(input:checked) { background: var(--hp-akzent-weich); border-style: solid; border-color: var(--hp-koralle); box-shadow: 0 8px 22px -14px rgba(238, 106, 58, 0.6); }
.bump input:checked + .haken__box { background: var(--hp-verlauf); box-shadow: none; }
.bump input:checked + .haken__box::after { transform: scale(1); }
.bump input:focus-visible + .haken__box { outline: 3px solid rgba(238, 106, 58, 0.55); outline-offset: 2px; }

.summe {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 4px 4px 0; font-size: var(--hp-fs-text); font-weight: 600; color: var(--hp-text-2);
}
.summe b { font-size: 22px; color: var(--hp-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.haken-liste { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.haken-liste li { position: relative; padding-left: 34px; font-size: var(--hp-fs-text); line-height: 1.4; }
.haken-liste li::before {
  content: ''; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--hp-gruen-weich) center / 15px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%232E9E6A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.haken-liste small { display: block; color: var(--hp-text-2); font-size: var(--hp-fs-klein); }

.garantie {
  position: relative; padding: 40px 20px 20px; margin-top: 34px; border-radius: var(--hp-r-l);
  background: var(--hp-gruen-weich); box-shadow: inset 0 0 0 1px var(--hp-gruen-rand); text-align: center;
}
.siegel {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #45B880, var(--hp-gruen-tief));
  box-shadow: 0 0 0 4px var(--hp-bg), 0 8px 18px -6px rgba(30, 122, 80, 0.6);
  font-weight: 800; line-height: 1;
}
.siegel b { font-size: 22px; letter-spacing: -0.02em; }
.siegel small { font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; font-weight: 700; }
.garantie__titel { font-size: var(--hp-fs-h3); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.garantie__text { font-size: var(--hp-fs-klein); color: var(--hp-text-2); text-wrap: pretty; }

.kaufbalken {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  padding: 12px var(--hp-rand) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--hp-linie), 0 -10px 30px -16px rgba(120, 70, 30, 0.3);
  transform: translateY(110%); transition: transform 320ms var(--hp-weich);
}
.kaufbalken.ist-sichtbar { transform: none; }
.kaufbalken__innen { max-width: var(--hp-max); margin-inline: auto; display: flex; align-items: center; gap: 12px; }
.kaufbalken__text { flex: 1; min-width: 0; font-weight: 700; line-height: 1.25; }
.kaufbalken__text small { display: block; font-weight: 500; font-size: var(--hp-fs-mini); color: var(--hp-text-2); }
.kaufbalken .knopf { --h: 48px; padding: 0 20px; font-size: 16px; flex: none; }

.demo-hinweis {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--hp-r-voll);
  background: #FFF3C4; color: #6B4E00; font-size: var(--hp-fs-mini); font-weight: 700;
  box-shadow: inset 0 0 0 1px #F2D36B;
}

/* 17 · Plan ------------------------------------------------------------------------- */
/* Wochen-Kopf */
.woche {
  position: relative; overflow: hidden;
  padding: 22px 20px 20px; border-radius: var(--hp-r-xl);
  background: var(--hp-text); color: #fff;
  box-shadow: 0 16px 40px -20px rgba(31, 43, 68, 0.7);
}
.woche::after {  /* warmer Lichtschein */
  content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.26), rgba(238, 106, 58, 0) 70%);
  pointer-events: none;
}
.woche__nr { font-size: var(--hp-fs-mini); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-orange); }
.woche__titel { font-size: 26px; font-weight: 800; letter-spacing: -0.022em; line-height: 1.15; margin: 4px 0 8px; position: relative; z-index: 1; }
.woche__intro { font-size: var(--hp-fs-klein); color: rgba(255, 255, 255, 0.78); line-height: 1.5; position: relative; z-index: 1; text-wrap: pretty; }
.woche__stand { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; position: relative; z-index: 1; }
.woche__punkte { flex: 1; max-width: 230px; display: flex; gap: 5px; }
.woche__punkte span {
  flex: 1; min-width: 0; height: 8px; border-radius: var(--hp-r-voll); background: rgba(255, 255, 255, 0.16);
}
.woche__punkte span.ist-fertig { background: var(--hp-verlauf); }
.woche__punkte span.ist-heute { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hp-orange); }
.woche__zahl { font-size: var(--hp-fs-mini); font-weight: 700; color: rgba(255, 255, 255, 0.78); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tageskarte */
.tag {
  position: relative; background: var(--hp-karte); border-radius: var(--hp-r-xl);
  box-shadow: var(--hp-schatten-2); border: 1px solid rgba(31, 43, 68, 0.04);
  padding: 20px; display: flex; flex-direction: column; gap: 18px;
  transition: box-shadow 300ms, border-color 300ms;
}
.tag--heute { box-shadow: 0 0 0 2px var(--hp-koralle), var(--hp-schatten-2); }
.tag__kopf { display: flex; flex-direction: column; gap: 8px; }
.tag__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag__woche { font-size: var(--hp-fs-mini); font-weight: 600; color: var(--hp-text-3); }
.tag__titel { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.tag__ziel { font-size: var(--hp-fs-text); color: var(--hp-text-2); line-height: 1.5; text-wrap: pretty; }
.tag__ziel b { color: var(--hp-text); }
.tag__fakten { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag__fakten li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: var(--hp-r-voll);
  background: var(--hp-bg); font-size: var(--hp-fs-klein); font-weight: 600; color: var(--hp-text);
}
.tag__fakten li::before {
  content: ''; width: 16px; height: 16px; background: var(--hp-akzent-text);
  -webkit-mask: var(--i, var(--hp-i-pfote)) center / contain no-repeat; mask: var(--i, var(--hp-i-pfote)) center / contain no-repeat;
}
.tag__fakten .fakt--zeit { --i: var(--hp-i-uhr); }
.tag__fakten .fakt--ort { --i: var(--hp-i-ort); }
.tag__abschnitt { display: flex; flex-direction: column; gap: 10px; }
.tag__label { font-size: var(--hp-fs-mini); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hp-text-3); }
.tag__absatz { font-size: var(--hp-fs-text); line-height: 1.55; text-wrap: pretty; }
.tag__variante {  /* Zusatz-Absatz aus varianten[] */
  padding: 12px 14px; border-radius: var(--hp-r-m); background: var(--hp-akzent-weich);
  font-size: var(--hp-fs-klein); line-height: 1.5; border-left: 3px solid var(--hp-orange);
}
.tag__doppelt { align-self: flex-start; }

.schritte { list-style: none; counter-reset: schritt; display: flex; flex-direction: column; gap: 12px; }
.schritte li {
  counter-increment: schritt; position: relative; padding-left: 42px; min-height: 30px;
  font-size: var(--hp-fs-text); line-height: 1.5; text-wrap: pretty;
}
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hp-akzent-weich); color: var(--hp-akzent-tief);
  font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.schritte li:not(:last-child)::after {  /* feine Verbindungslinie */
  content: ''; position: absolute; left: 14.5px; top: 33px; bottom: -11px; width: 1.5px; background: #F8DCC2;
}

.video-link {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--hp-r-m);
  background: var(--hp-bg); text-decoration: none; color: var(--hp-text); font-weight: 700; font-size: var(--hp-fs-klein);
  transition: background var(--hp-dauer);
}
.video-link:hover { color: var(--hp-text); background: var(--hp-bg-tief); }
.video-link::before {
  content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hp-verlauf);
  box-shadow: var(--hp-schatten-knopf);
}
.video-link::after {
  content: ''; position: absolute; width: 16px; height: 16px; margin-left: 13px; background: #fff;
  -webkit-mask: var(--hp-i-play) center / contain no-repeat; mask: var(--hp-i-play) center / contain no-repeat;
}
.video-link { position: relative; }
.video-link small { display: block; font-weight: 500; color: var(--hp-text-2); font-size: var(--hp-fs-mini); }

/* Abhaken */
.abhaken {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  min-height: 58px; padding: 0 20px; border-radius: var(--hp-r-voll);
  background: var(--hp-karte); color: var(--hp-text);
  box-shadow: inset 0 0 0 2px var(--hp-linie-stark);
  font-size: 18px; font-weight: 700;
  transition: background 260ms var(--hp-weich), box-shadow 260ms, color 260ms, transform 160ms;
}
@media (hover: hover) and (pointer: fine) {
  .abhaken:hover { box-shadow: inset 0 0 0 2px var(--hp-gruen-rand); }
}
.abhaken:active { transform: scale(0.98); }
.abhaken__kreis {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  box-shadow: inset 0 0 0 2px var(--hp-linie-stark);
  display: grid; place-items: center; transition: background 260ms, box-shadow 260ms;
}
.abhaken__kreis::after {
  content: ''; width: 17px; height: 17px; background: #fff; transform: scale(0);
  -webkit-mask: var(--hp-i-haken) center / contain no-repeat; mask: var(--hp-i-haken) center / contain no-repeat;
  transition: transform 320ms var(--hp-feder);
}
.abhaken[aria-pressed="true"], .abhaken.ist-erledigt { background: var(--hp-gruen); color: #fff; box-shadow: 0 10px 22px -12px rgba(46, 158, 106, 0.8); }
.abhaken[aria-pressed="true"] .abhaken__kreis, .abhaken.ist-erledigt .abhaken__kreis { background: rgba(255, 255, 255, 0.22); box-shadow: none; }
.abhaken[aria-pressed="true"] .abhaken__kreis::after, .abhaken.ist-erledigt .abhaken__kreis::after { transform: scale(1); }

.tag--erledigt { box-shadow: 0 0 0 1.5px var(--hp-gruen-rand), var(--hp-schatten-1); }
.tag--erledigt .tag__stempel { display: inline-flex; }
.tag:not(.tag--heute) .tag__heute { display: none; }  /* „Heute“-Badge nur am aktuellen Tag */
.tag__stempel {
  display: none; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: var(--hp-r-voll);
  background: var(--hp-gruen-weich); color: var(--hp-gruen-tief); font-size: var(--hp-fs-mini); font-weight: 700;
}
.tag__stempel::before {
  content: ''; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--hp-i-haken) center / contain no-repeat; mask: var(--hp-i-haken) center / contain no-repeat;
}

/* Tag-Zeile (kompakte Liste in der Wochen-Übersicht) */
.tagliste { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tagzeile {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px 12px 12px;
  border-radius: var(--hp-r-l); background: var(--hp-karte); box-shadow: inset 0 0 0 1px var(--hp-linie);
  text-decoration: none; color: var(--hp-text); transition: box-shadow var(--hp-dauer), background var(--hp-dauer);
}
@media (hover: hover) and (pointer: fine) {
  .tagzeile:hover { color: var(--hp-text); box-shadow: inset 0 0 0 1.5px var(--hp-akzent-rand); }
}
.tagzeile__nr {
  flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: var(--hp-bg); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums;
}
.tagzeile__text { flex: 1; min-width: 0; font-weight: 700; line-height: 1.3; }
.tagzeile__text small { display: block; font-weight: 500; font-size: var(--hp-fs-mini); color: var(--hp-text-3); }
.tagzeile__status {
  flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--hp-linie-stark);
  display: grid; place-items: center;
}
.tagzeile.ist-erledigt .tagzeile__nr { background: var(--hp-gruen-weich); color: var(--hp-gruen-tief); }
.tagzeile.ist-erledigt .tagzeile__status { background: var(--hp-gruen); box-shadow: none; }
.tagzeile.ist-erledigt .tagzeile__status::after {
  content: ''; width: 15px; height: 15px; background: #fff;
  -webkit-mask: var(--hp-i-haken) center / contain no-repeat; mask: var(--hp-i-haken) center / contain no-repeat;
}
.tagzeile.ist-heute { background: var(--hp-akzent-weich); box-shadow: inset 0 0 0 2px var(--hp-koralle); }
.tagzeile.ist-heute .tagzeile__nr { background: var(--hp-verlauf); color: #fff; }
.tagzeile.ist-gesperrt { opacity: 0.55; }

/* Wochen-Check */
.check {
  padding: 18px; border-radius: var(--hp-r-l); background: var(--hp-info-weich); box-shadow: inset 0 0 0 1px var(--hp-info-rand);
  display: flex; flex-direction: column; gap: 14px;
}
.check__frage { font-size: var(--hp-fs-gross); font-weight: 700; line-height: 1.35; text-wrap: pretty; }
.check__wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check__wahl .knopf { --h: 50px; font-size: 16px; padding: 0 12px; }
.check__wahl .knopf[aria-pressed="true"] { background: var(--hp-text); color: #fff; box-shadow: none; }
.check__antwort { font-size: var(--hp-fs-klein); line-height: 1.5; padding: 12px 14px; border-radius: var(--hp-r-m); background: #fff; }
.check--gross .check__frage { font-size: 22px; }

/* Wenn-Karte („Was tun, wenn …“) */
.wenn {
  padding: 16px 18px; border-radius: var(--hp-r-l); background: var(--hp-karte);
  box-shadow: inset 0 0 0 1px var(--hp-linie); display: flex; flex-direction: column; gap: 6px;
}
.wenn__wenn { font-weight: 700; font-size: var(--hp-fs-text); line-height: 1.35; }
.wenn__wenn::before { content: 'Wenn '; color: var(--hp-akzent-text); }
.wenn__dann { font-size: var(--hp-fs-klein); color: var(--hp-text-2); line-height: 1.5; padding-left: 14px; border-left: 2px solid #F8DCC2; }
.wenn--hervor { background: var(--hp-warn-weich); box-shadow: inset 0 0 0 1px var(--hp-warn-rand); }

/* 18 · Tabs, Badge, Chip, Aufklapp, FAQ ----------------------------------------- */
.tabs {
  display: flex; gap: 4px; padding: 4px; border-radius: var(--hp-r-voll);
  background: rgba(31, 43, 68, 0.06); overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; scroll-snap-align: start; white-space: nowrap;
  min-height: 42px; padding: 0 16px; border-radius: var(--hp-r-voll);
  font-size: var(--hp-fs-klein); font-weight: 700; color: var(--hp-text-2); text-align: center;
  transition: background var(--hp-dauer), color var(--hp-dauer), box-shadow var(--hp-dauer);
}
.tab:hover { color: var(--hp-text); }
.tab[aria-selected="true"], .tab.ist-aktiv { background: #fff; color: var(--hp-text); box-shadow: var(--hp-schatten-1); }
.tab__zahl { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--hp-akzent-weich); color: var(--hp-akzent-tief); font-size: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--hp-r-voll);
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; line-height: 1;
  background: var(--hp-bg); color: var(--hp-text);
}
.badge--orange { background: var(--hp-verlauf); color: #fff; }
.badge--weich { background: var(--hp-akzent-weich); color: var(--hp-akzent-tief); }
.badge--navy { background: var(--hp-text); color: #fff; }
.badge--gruen { background: var(--hp-gruen-weich); color: var(--hp-gruen-tief); }
.badge--warn { background: var(--hp-warn-weich); color: #8A5A00; }
.badge--rand { background: #fff; box-shadow: inset 0 0 0 1px var(--hp-linie-stark); }
.badge--punkt::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--orange.badge--punkt::before { background: #fff; }

.pille {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--hp-r-voll);
  background: #fff; box-shadow: var(--hp-schatten-1); font-size: var(--hp-fs-klein); font-weight: 700;
}
.pille::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--hp-verlauf);
  -webkit-mask: var(--hp-i-pfote) center / 18px no-repeat; mask: var(--hp-i-pfote) center / 18px no-repeat;
}
.pille--haken::before { background: var(--hp-gruen); -webkit-mask-image: var(--hp-i-haken); mask-image: var(--hp-i-haken); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--hp-r-voll);
  background: #fff; box-shadow: inset 0 0 0 1px var(--hp-linie-stark);
  font-size: var(--hp-fs-klein); font-weight: 600; line-height: 1.2;
}

.aufklapp { border-radius: var(--hp-r-m); background: var(--hp-bg); overflow: hidden; }
.aufklapp > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; font-weight: 700; font-size: var(--hp-fs-klein); user-select: none;
}
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp > summary::after {
  content: ''; margin-left: auto; width: 20px; height: 20px; background: var(--hp-text-3); flex: none;
  -webkit-mask: var(--hp-i-runter) center / contain no-repeat; mask: var(--hp-i-runter) center / contain no-repeat;
  transition: transform 260ms var(--hp-weich);
}
.aufklapp[open] > summary::after { transform: rotate(180deg); }
.aufklapp__icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; background: #fff; flex: none; }
.aufklapp__inhalt { padding: 0 16px 16px 54px; font-size: var(--hp-fs-klein); line-height: 1.55; color: var(--hp-text); }
.aufklapp--klappt { background: var(--hp-warn-weich); }
.aufklapp--warum { background: var(--hp-info-weich); }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--hp-linie); }
.faq details { border-bottom: 1px solid var(--hp-linie); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; font-size: var(--hp-fs-text); font-weight: 700; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--hp-akzent-weich) center / 16px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23B4520C' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 260ms var(--hp-weich);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__antwort { padding: 0 2px 20px; font-size: var(--hp-fs-text); color: var(--hp-text-2); line-height: 1.6; text-wrap: pretty; }

/* 19 · Fußleiste ------------------------------------------------------------------ */
.fuss { padding: 40px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hp-linie); margin-top: var(--hp-a10); }
.fuss__marke { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.fuss__marke img { width: 32px; height: 32px; border-radius: 50%; }
.fuss__text { margin-top: 10px; font-size: var(--hp-fs-mini); color: var(--hp-text-3); line-height: 1.55; max-width: 46ch; }
.fuss__links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; }
.fuss__links a { font-size: var(--hp-fs-klein); font-weight: 600; color: var(--hp-text-2); text-decoration: none; }
.fuss__links a:hover { color: var(--hp-text); text-decoration: underline; }
.fuss__klein { margin-top: 18px; font-size: 12px; color: var(--hp-text-3); }

/* 20 · Bild-Kreis, Animationen, Hilfen --------------------------------------------- */
.bild-kreis {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FFF4E6 0%, #FFE3C8 62%, #FFD5B0 100%);
  display: grid; place-items: end center; overflow: hidden;
  clip-path: circle(50% at 50% 50%);   /* sicher rund schneiden, auch während .schweben animiert */
}
.bild-kreis > svg { width: 96%; height: auto; margin-bottom: 3%; }
.bild-kreis--klein { width: 120px; }
.bild-kreis--foto { place-items: center; }
.bild-kreis--foto img { width: 100%; height: 100%; object-fit: cover; }
/* Foto-Hunde (freigestellt, quadratisch, Hund unten bündig) */
img.hund-foto { display: block; max-width: 100%; height: auto; }
.bild-kreis > img.hund-foto { width: 100%; height: 100%; object-fit: contain; }
.antwort--bild .antwort__bild img.hund-foto { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.profil__bild img.hund-foto { object-fit: contain; object-position: 50% 100%; }
.bild-kreis--ring { border: 6px solid #fff; box-sizing: border-box; }
/* Schatten außen am Eltern-Element, weil clip-path den Box-Schatten des Kreises abschneidet */
:has(> .bild-kreis--ring) { filter: drop-shadow(0 10px 22px rgba(31, 43, 68, 0.14)); }
.hund-svg { display: block; width: 100%; height: auto; overflow: visible; }

.einblenden { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--hp-weich), transform 600ms var(--hp-weich); }
.einblenden.ist-sichtbar { opacity: 1; transform: none; }
.rein { animation: hp-rein 480ms var(--hp-weich) both; }
.rein-2 { animation-delay: 60ms; } .rein-3 { animation-delay: 120ms; } .rein-4 { animation-delay: 180ms; }
.rein-5 { animation-delay: 240ms; } .rein-6 { animation-delay: 300ms; }
.wackeln { animation: hp-wackeln 420ms var(--hp-weich); }
.schweben { animation: hp-schweben 4s ease-in-out infinite; }

@keyframes hp-rein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hp-pop { 0% { transform: scale(0.4); } 100% { transform: scale(1); } }
@keyframes hp-dreh { to { transform: rotate(360deg); } }
@keyframes hp-puls {
  0%, 100% { box-shadow: var(--hp-schatten-knopf), 0 0 0 0 rgba(238, 106, 58, 0.35); }
  60% { box-shadow: var(--hp-schatten-knopf), 0 0 0 12px rgba(238, 106, 58, 0); }
}
@keyframes hp-wackeln { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes hp-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.nur-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.abstand-o-2 { margin-top: var(--hp-a2); } .abstand-o-4 { margin-top: var(--hp-a4); }
.abstand-o-6 { margin-top: var(--hp-a6); } .abstand-o-10 { margin-top: var(--hp-a10); }
.abstand-u-4 { margin-bottom: var(--hp-a4); } .abstand-u-6 { margin-bottom: var(--hp-a6); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .einblenden { opacity: 1; transform: none; }
}

/* Druck (Plan) ------------------------------------------------------------------------ */
@media print {
  body { background: #fff; font-size: 12pt; }
  .kopfzeile, .unten, .kaufbalken, .tabs, .abhaken, .popup-hinter, .video-link, .knopf { display: none !important; }
  .tag, .karte, .profil, .woche, .wenn { box-shadow: none !important; border: 1px solid #ddd; break-inside: avoid; }
  .woche { background: #fff; color: var(--hp-text); }
  .woche::after { display: none; }
  .woche__intro { color: var(--hp-text-2); }
  .aufklapp { background: #fff; }
  .aufklapp > summary::after { display: none; }
  details > :not(summary) { display: block !important; }
}
