/* ==========================================================================
   Servus Home — 3D-/Immersive-Ebene für die Startseite (ergänzt styles.css)
   Leitlinie: modern und räumlich, aber ruhig. Große Schrift, hoher Kontrast,
   nichts bewegt sich, ohne dass man es abschalten kann („Bewegung aus“).
   ========================================================================== */

:root {
  --night: #0a1c17;
  --night-2: #0f2b23;
  --night-3: #1a4a3c;
  --mint: #9fdcc0;
  --on-dark: #e9f1ed;
  --on-dark-2: #cfe0d8;
  --glass: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .16);
}

/* ---------- Darstellung: größere Schrift / Bewegung aus ---------- */
html.big { font-size: 112.5%; }
html.big body { font-size: 21px; }
html.calm { scroll-behavior: auto; }
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }
html.calm .reveal { opacity: 1; transform: none; }

/* ---------- Header: dunkles Glas über der ganzen Seite ---------- */
.header--glass { background: rgba(10, 28, 23, .95); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header--glass.scrolled { border-bottom-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header--glass .logo, .header--glass .logo:hover { color: #fff; }
.header--glass .logo-text span { color: #8fd1b4; }
.header--glass .logo img { background: #fff; border-radius: 12px; padding: 4px; width: 44px; }
.header--glass > .wrap > .nav-toggle { background: var(--glass); border-color: var(--glass-line); color: #fff; }

.a11y { display: flex; gap: 6px; margin-left: 6px; }
.a11y-btn {
  height: 44px; min-width: 44px; padding: 0 10px; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 800; font-size: .95rem; line-height: 1;
  background: transparent; color: #fff; border: 1px solid var(--glass-line);
}
.a11y-btn:hover { background: var(--glass); }
.a11y-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1b2624; }
.a11y-btn svg { width: 18px; height: 18px; fill: currentColor; }

@media (min-width: 961px) {
  .header--glass .nav a:not(.btn) { color: #dbe9e3; }
  .header--glass .nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .a11y-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1140px) {
  .header .wrap { gap: 12px; }
  .nav a:not(.btn) { padding: 8px 9px; font-size: .95rem; }
  .nav .btn { margin-left: 6px; padding: 0 16px; }
}
@media (max-width: 960px) {
  .header--glass { background: rgba(10, 28, 23, .98); }
  .a11y { flex-direction: column; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); gap: 8px; }
  .a11y-btn { width: 100%; height: 52px; justify-content: flex-start; padding: 0 16px; color: var(--ink); border-color: var(--line); font-size: 1.05rem; }
  .a11y-btn:hover { background: var(--surface-2); }
  .a11y-ic { min-width: 26px; text-align: center; }
}

/* ---------- Hero: die Wohnung aus Punkten ---------- */
.hero3d {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(1100px 680px at 74% 42%, var(--night-3) 0%, var(--night-2) 46%, var(--night) 100%);
  padding: clamp(32px, 5vw, 64px) 0 clamp(110px, 11vw, 150px);
}
.hero3d::before { /* feine Tiefe: Sternen-/Punkteraster ganz leise im Hintergrund */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(159, 220, 192, .35) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent);
          mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent);
}
.hero3d-glow {
  position: absolute; width: 70%; height: 80%; right: -10%; bottom: -35%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 176, 74, .16), transparent);
}
.hero3d-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(8px, 2vw, 32px); align-items: center; position: relative;
}
.hero3d h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); margin-bottom: .4em; }
.hero3d h1 .serif { color: var(--mint); display: block; font-size: .92em; }
.h1-kicker {
  display: block; margin-bottom: 1em;
  font-family: var(--font); font-style: normal; font-size: clamp(.95rem, 1.3vw, 1.08rem);
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.hero3d .lead { color: var(--on-dark-2); margin-bottom: 1.8em; }
.hero3d .lead b { color: #fff; }
.hero3d .hero-trust { color: #dbe9e3; margin-top: 26px; }
.hero3d .hero-trust svg { color: #8fd1b4; }

.austria-badge--dark { background: var(--glass); border-color: var(--glass-line); color: #fff; box-shadow: none; }

.btn--glass { background: var(--glass); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }

/* Text kommt beim Laden sanft herein */
.hero3d-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero3d-copy > :nth-child(2) { animation-delay: .08s; }
.hero3d-copy > :nth-child(3) { animation-delay: .16s; }
.hero3d-copy > :nth-child(4) { animation-delay: .24s; }
.hero3d-copy > :nth-child(5) { animation-delay: .32s; }
.hero3d-stage { animation: fade-in 1.4s .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero3d-stage {
  position: relative; height: clamp(420px, 44vw, 600px);
  margin-right: calc(-1 * var(--gutter)); cursor: grab; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.hero3d-stage:active { cursor: grabbing; }
.hero3d-stage canvas, .story3d-canvas canvas, .cta-heart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-hint {
  position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); margin: 0;
  font-size: .88rem; color: #b7cec4; white-space: nowrap;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  padding: 6px 14px; border-radius: 999px;
}
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }

/* Beschriftungen, die an den Sensoren „kleben“ */
.s3-labels { position: absolute; inset: 0; pointer-events: none; }
.s3-label {
  position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s;
  font-size: .84rem; font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap;
  background: rgba(10, 28, 23, .82); border: 1px solid rgba(232, 176, 74, .5);
  padding: 5px 11px; border-radius: 999px;
}
html.big .s3-label { font-size: .9rem; }

.no-js .hero3d-stage { display: none; }
.no-js .hero3d-grid { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .hero3d-grid { grid-template-columns: 1fr; }
  .hero3d-stage { height: 380px; margin: 4px calc(-1 * var(--gutter)) 0; }
}

/* ---------- Vertrauensleiste schwebt über der Kante ---------- */
.trustbar--float { background: transparent; border: 0; position: relative; z-index: 3; margin-top: clamp(-80px, -7vw, -56px); }
.trustbar--float .wrap {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
  background: rgba(255, 255, 255, .96); border-radius: 24px; padding: 24px clamp(18px, 3vw, 32px);
  box-shadow: 0 30px 60px -24px rgba(10, 28, 23, .45), 0 2px 6px rgba(10, 28, 23, .08);
}

/* ---------- Karten mit 3D-Neigung (nur Maus) ---------- */
.tilt {
  position: relative; transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
.tilt.reveal { transform: perspective(1000px) translateY(18px); }
.tilt.reveal.in, .no-js .tilt.reveal {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity .6s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
html.calm .tilt { transform: none !important; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .5), transparent 45%);
}
.tilt:hover::after { opacity: 1; }
.tilt:hover { box-shadow: 0 30px 60px -28px rgba(10, 28, 23, .4); }
.tilt .ic, .tilt .step-num { transform: translateZ(28px); }

/* Icons als kleine „Kacheln“ mit Tiefe */
.immersive .feature .ic, .immersive .step-num {
  background: linear-gradient(145deg, #2c7f63, #134034); color: #fff;
  box-shadow: 0 12px 22px -10px rgba(19, 64, 52, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.immersive .way .ic {
  background: linear-gradient(145deg, #d8693e, #a94623); color: #fff;
  box-shadow: 0 12px 22px -10px rgba(169, 70, 35, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- 3D-Geschichte: So wird ein Sturz erkannt ---------- */
.story3d { position: relative; height: 400vh; background: var(--night); color: var(--on-dark); }
.story3d-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(900px 600px at 65% 50%, #143a2f, var(--night) 70%);
}
.story3d-canvas { position: absolute; inset: 0; }
.story3d-text {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: min(450px, 40vw);
}
.story3d .eyebrow { color: var(--gold); }
.story3d-text h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .7em; }
.story3d-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.story3d-steps li {
  grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s;
  background: rgba(10, 28, 23, .78); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 22px 24px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.story3d-steps li.on { opacity: 1; transform: none; }
.story3d-steps b { display: block; font-size: 1.35rem; line-height: 1.25; color: #fff; margin-bottom: .4em; }
.story3d-steps p { margin: 0; color: var(--on-dark-2); font-size: 1.08rem; }
.story3d-dots { display: flex; gap: 8px; margin-top: 18px; }
.story3d-dots span { width: 34px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); transition: background .3s; }
.story3d[data-active="0"] .story3d-dots span:nth-child(-n+1),
.story3d[data-active="1"] .story3d-dots span:nth-child(-n+2),
.story3d[data-active="2"] .story3d-dots span:nth-child(-n+3),
.story3d[data-active="3"] .story3d-dots span:nth-child(-n+4) { background: var(--gold); }

.story3d-phone {
  position: absolute; z-index: 3; top: 50%; pointer-events: none;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  opacity: 0; transform: translateY(-50%) perspective(1200px) rotateY(-22deg) rotateX(6deg) translateX(80px) scale(.92);
  transition: opacity .6s, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.story3d[data-active="3"] .story3d-phone { opacity: 1; transform: translateY(-50%) perspective(1200px) rotateY(-12deg) rotateX(4deg); }
.story3d-phone .phone { width: 290px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.story3d-phone .app-body { padding-bottom: 4px; }

.push {
  display: flex; gap: 10px; align-items: flex-start; margin: 8px 10px 4px; padding: 10px 12px; line-height: 1.3;
  background: #fff; border-radius: 18px; color: #1e293b; box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}
.story3d[data-active="3"] .push { animation: drop .7s .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.push img { width: 30px; height: auto; flex: none; margin-top: 2px; }
.push small { display: block; font-size: .58rem; font-weight: 800; color: #64748b; letter-spacing: .05em; }
.push b { display: block; font-size: .84rem; }
.push span { display: block; font-size: .72rem; color: #475569; }
.app-hero--alert { background: linear-gradient(180deg, #fde8de, #f7c7b0); }
.app-hero--alert, .app-hero--alert h4 { color: #9a3412; }
.app-hero--alert p { color: rgba(154, 52, 18, .85); }
.app-actions { display: grid; gap: 8px; margin: 12px 18px 16px; }
.app-act { display: block; text-align: center; padding: 12px; border-radius: 14px; background: #fff; font-weight: 700; font-size: .82rem; color: #1e293b; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.app-act--call { background: #00796b; color: #fff; }

@media (max-width: 860px) {
  .story3d-text {
    top: auto; transform: none; width: auto; left: var(--gutter); right: var(--gutter);
    bottom: calc(18px + env(safe-area-inset-bottom));
  }
  body.has-sticky .story3d-text { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .story3d-text .eyebrow { display: none; }
  .story3d-text h2 { font-size: 1.35rem; margin-bottom: .5em; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
  .story3d-steps li { padding: 16px 18px; }
  .story3d-steps b { font-size: 1.15rem; }
  .story3d-steps p { font-size: 1rem; }
  .story3d-dots { margin-top: 10px; }
  .story3d-phone { right: 50%; top: 84px; transform-origin: 50% 0; transform: translateX(50%) scale(.6) translateY(-20px); }
  .story3d[data-active="3"] .story3d-phone { transform: translateX(50%) scale(.66); }
}

/* Ohne JavaScript: einfache Liste statt Animation */
.no-js .story3d { height: auto; }
.no-js .story3d-stage { position: static; height: auto; padding: 80px 0; }
.no-js .story3d-canvas, .no-js .story3d-phone, .no-js .story3d-dots { display: none; }
.no-js .story3d-text { position: static; transform: none; width: auto; max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
.no-js .story3d-steps { gap: 12px; }
.no-js .story3d-steps li { grid-area: auto; opacity: 1; transform: none; }

/* ---------- Wohnungsbild legt sich beim Hineinscrollen flach ---------- */
.depth-in {
  transform-origin: 50% 100%;
  transform: perspective(1400px) rotateX(calc(var(--d, 0) * 16deg)) scale(calc(1 - var(--d, 0) * .05));
  box-shadow: 0 calc(10px + var(--d, 0) * 40px) 60px -30px rgba(10, 28, 23, .35);
}

/* ---------- Privatsphäre: Datenfluss räumlich ---------- */
.dark--deep { background: radial-gradient(900px 620px at 85% 20%, var(--night-3), var(--night) 65%); }
@media (min-width: 861px) {
  .flow--3d.reveal.in { transform: perspective(1200px) rotateY(-7deg) rotateX(2deg); transition: opacity .6s, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .flow--3d.reveal.in:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
  .flow--3d .flow-box { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
}

/* ---------- Schluss-Aufruf mit Herz aus Punkten ---------- */
.cta-final--3d {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(8px, 3vw, 40px);
  align-items: center; text-align: left;
  background: radial-gradient(700px 500px at 20% 50%, var(--night-3), var(--night) 75%);
}
.cta-final--3d .cta-copy { position: relative; z-index: 1; }
.cta-final--3d p, .cta-final--3d .fine { margin-left: 0; }
.cta-final--3d .btn-row { justify-content: flex-start; }
.cta-heart { position: relative; height: clamp(240px, 26vw, 340px); }
@media (max-width: 760px) {
  .cta-final--3d { grid-template-columns: 1fr; text-align: center; }
  .cta-final--3d p, .cta-final--3d .fine { margin-left: auto; }
  .cta-final--3d .btn-row { justify-content: center; }
  .cta-heart { height: 200px; margin: -20px 0 -10px; }
}

/* ---------- Footer-Überschriften (h2 statt h4 für saubere Gliederung) ---------- */
.footer-h { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }

/* Große Schrift: Kopfzeile kompakter halten, Knopf nicht umbrechen */
.nav .btn { white-space: nowrap; }
@media (min-width: 961px) {
  html.big .nav a:not(.btn) { padding: 8px 7px; font-size: .92rem; }
  html.big .header .wrap { gap: 10px; }
}

/* ---------- Überschrift: wechselndes Wort (Mama · Papa · Oma · Opa) ---------- */
.who { display: inline-block; perspective: 600px; }
.who-word {
  display: inline-block; color: var(--gold); transform-origin: 50% 50% -.4em;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s;
}
.who-word.out { transform: rotateX(90deg); opacity: 0; }
.who-word.pre { transform: rotateX(-90deg); opacity: 0; transition: none; }

/* ---------- Kennen Sie das? – weitere Situationen ---------- */
.scenarios-h { margin: clamp(48px, 6vw, 72px) 0 22px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .scenarios { grid-template-columns: 1fr; } }
.scenario { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.scenario .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(145deg, #d8693e, #a94623); color: #fff;
  box-shadow: 0 12px 22px -10px rgba(169, 70, 35, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.scenario .ic svg { width: 26px; height: 26px; }
.scenario h3 { font-size: 1.2rem; }
.scenario p { color: var(--ink-2); font-size: 1rem; }
.scenario-fix { margin: auto 0 0 !important; background: var(--green-soft); border-radius: 14px; padding: 14px 16px; color: var(--ink) !important; }
.scenario-fix b { color: var(--green-2); }

/* ---------- Installation: Hinweis-Karte statt Wohnungsbild ---------- */
.setup-card {
  margin-top: 32px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
}
.setup-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.setup-card p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .setup-card { grid-template-columns: 1fr; } }

/* ---------- Preise: Starterangebot mit Streichpreis, kein Leerraum unter dem Paket ---------- */
.offer {
  display: inline-block; margin: 16px 0 0; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}
/* Streichpreis groß über dem Starterpreis */
.price-was { margin: 14px 0 -6px; line-height: 1.1; }
.price-was s { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--muted); text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
.price-grid { align-items: start; }
@media (min-width: 901px) { .price-card { position: sticky; top: 100px; } }

/* Mittlere Bildschirme: Menü kürzen, damit nichts aus dem Bild ragt (Abschnitte bleiben per Scrollen erreichbar) */
@media (min-width: 961px) and (max-width: 1180px) { .nav a[href="fragen.html"] { display: none; } }
@media (min-width: 961px) and (max-width: 1080px) { .nav a[href="privatsphaere.html"] { display: none; } }
@media (min-width: 961px) and (max-width: 1240px) { html.big .nav a[href="fragen.html"], html.big .nav a[href="privatsphaere.html"] { display: none; } }
.price-big { flex-wrap: wrap; }
.price-big > * { white-space: nowrap; }

/* ---------- Hero: klarer Hinweis zum Vormerken ---------- */
.hero-note { margin: 18px 0 0; max-width: 34em; color: var(--on-dark-2); font-size: 1rem; }
.hero-note b { color: #fff; }

/* ---------- Preise: Hinweis zum Software-Abo ---------- */
.price-need { margin: -14px 0 20px; font-weight: 700; color: var(--accent-2); font-size: .98rem; }

/* ---------- Geräte-Fotos ---------- */
.devices-top { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.devices-box { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #e9e9e9; }
.devices-box img, .device img { width: 100%; height: auto; display: block; }
.devices-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.devices-copy .plug-points { margin: 14px 0 26px; }
.devices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device { margin: 0; background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.device img { aspect-ratio: 3 / 4; object-fit: cover; }
.device figcaption { padding: 12px 14px 14px; font-size: .98rem; color: var(--ink-2); line-height: 1.35; }
.device figcaption b { display: block; color: var(--ink); }
@media (max-width: 900px) { .devices-top { grid-template-columns: 1fr; } .devices-box { max-width: 460px; } .devices-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Kontakt & Rückruf ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; font-size: 1.08rem; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .i { color: var(--green); }
.callback { background: var(--surface); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.callback h3 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; margin-bottom: 18px; }
.callback h3 .i { color: var(--accent); }
.callback .field { display: grid; gap: 6px; margin-bottom: 14px; }
.callback .field label { font-weight: 700; }
.callback input:not([type="checkbox"]), .callback select {
  font: inherit; font-size: 1.05rem; padding: 13px 15px; border: 2px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); width: 100%; min-height: 52px;
}
.callback input:focus, .callback select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(30, 90, 72, .12); }
.callback .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); margin: 6px 0 18px; }
.callback .consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--green); flex: none; }
.callback .hp { position: absolute; left: -9999px; }

/* Hinweis unter den Produktbildern */
.photo-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 18px auto 0; font-size: .95rem; color: var(--ink-2); text-align: center; }
.photo-note .i { width: 20px; height: 20px; color: var(--muted); }

/* ==========================================================================
   Mehrseitiger Aufbau: Unterseiten-Kopf, Abschluss-Band und neue Bausteine
   ========================================================================== */
.header--glass .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
@media (max-width: 960px) { .header--glass .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); } }

/* Hero: Einordnung in einer Zeile */
.hero-pos { margin: -6px 0 18px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--gold); }

/* Unterseiten-Kopf */
.subhero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(900px 500px at 80% 30%, var(--night-3), var(--night) 70%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 80px);
}
.subhero-glow { position: absolute; width: 60%; height: 120%; right: -15%; bottom: -60%; background: radial-gradient(closest-side, rgba(232, 176, 74, .14), transparent); pointer-events: none; }
.subhero .wrap { position: relative; }
.subhero h1, .subhero .lead { max-width: 820px; }
.subhero .eyebrow { color: var(--gold); }
.subhero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .4em; }
.subhero .lead { color: var(--on-dark-2); margin: 0; }

/* Entlastung für Angehörige */
.relief { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--green); border-left: 4px solid var(--gold); padding-left: 16px; }

/* Gründer-Geschichte */
.founder { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder-text p { font-size: 1.12rem; color: var(--ink-2); }
.founder-fact { margin: 0; background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); border-top: 6px solid var(--accent); }
.founder-fact b { display: block; font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent-2); margin-bottom: 10px; }
.founder-fact span { display: block; font-size: 1.05rem; color: var(--ink-2); }
.founder-fact small { display: block; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; margin-top: 4px; }
.link-more svg { width: 18px; height: 18px; }
.link-more:hover { text-decoration: underline; }
.center-block { display: flex; justify-content: center; margin-top: 14px; }

/* Die neue Mitte: Armband · Servus Home · 24-Stunden-Betreuung */
.gap { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: center; }
@media (max-width: 960px) { .gap { grid-template-columns: 1fr; } .gap-card--us { order: -1; } }
.gap-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; position: relative; }
.gap-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.gap-price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; color: var(--ink); }
.gap-price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.gap-alt { margin: -8px 0 16px; color: var(--ink-2); font-size: .95rem; }
.gap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gap-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.gap-list .i { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.gap-list .ok .i { color: var(--ok); }
.gap-list .no { color: var(--muted); }
.gap-list .no .i { color: #b4524a; }
.gap-card--us { border: 2px solid var(--green); box-shadow: var(--shadow-lg); padding: 34px 28px 28px; }
.gap-card--us .ribbon { position: absolute; top: -14px; left: 28px; background: var(--green); color: #fff; font-size: .82rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.gap-card--us .gap-price { font-size: 2.1rem; }
.gap-card--us .gap-list { margin-bottom: 22px; }
.gap-note { max-width: 860px; margin: 22px auto 0; text-align: center; font-size: .88rem; color: var(--muted); }

/* Preis kurz (Startseite) */
.price-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .price-teaser { grid-template-columns: 1fr; } }
.price-teaser .checks { margin: 18px 0 0; }
.price-teaser-card { background: var(--surface); border: 2px solid var(--green); border-radius: 24px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.price-teaser-card .offer { margin-top: 0; }
.price-teaser-card .price-sub { margin-bottom: 20px; }

/* Abschluss-Band auf Unterseiten */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: radial-gradient(700px 400px at 15% 50%, var(--night-3), var(--night) 75%); color: var(--on-dark);
  border-radius: 28px; padding: clamp(28px, 4vw, 48px);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--on-dark-2); font-size: 1.08rem; }

/* Nach dem Sturz: Ablauf */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; counter-reset: tl; display: grid; gap: 14px; }
.timeline li { counter-increment: tl; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 18px 74px; }
.timeline li::before {
  content: counter(tl); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, #2c7f63, #134034);
}
.timeline b { display: block; font-size: 1.12rem; }
.timeline span { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--green-soft); border-radius: 16px; padding: 16px 18px; }
.fact b { display: block; color: var(--green-2); font-size: 1.05rem; }
.fact span { color: var(--ink-2); font-size: .95rem; }

/* Gespräch mit den Eltern */
.talk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1060px) { .talk { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .talk { grid-template-columns: 1fr; } }
.talk-card { background: var(--surface); border-radius: 20px; padding: 24px 22px; border: 1px solid var(--line); }
.talk-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-weight: 800; margin-bottom: 14px; }
.talk-card h3 { font-size: 1.12rem; }
.talk-card p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* Feinschliff Mehrseiten-Aufbau */
.nav a { white-space: nowrap; }
.gap-price small { white-space: nowrap; }
.story3d-text h1 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: .7em; }
@media (max-width: 860px) { .story3d-text h1 { font-size: 1.35rem; margin-bottom: .5em; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); } }

/* Gründer-Geschichte: Kernsatz und Unterschrift */
.founder-text .founder-lead, .founder-lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.35; color: var(--green-2); margin-bottom: .8em; }
.founder-sign { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); }
.founder-sign span { display: block; font-family: var(--font); font-style: normal; font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Ruhige, organische Gestaltung (ersetzt die Effekt-Optik)
   Schlichte Serifen-Überschriften, echte Fotos, keine Leucht-Verläufe,
   keine kippenden Karten, kleine Radien, eine Akzentfarbe für Knöpfe.
   ========================================================================== */
:root {
  --heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 12px;
  --radius-sm: 10px;
}

/* Überschriften: Serife, normal gewichtet, nicht kursiv */
h1, h2, h3, .footer-h { font-family: var(--heading); font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.footer-h { font-family: var(--font); font-weight: 700; }
.eyebrow { display: none; }
.who-word { color: var(--green); }

/* Kopfzeile hell (wie die übrige Seite) */
.header { background: rgba(250, 247, 242, .97); }
.a11y-btn { color: var(--ink); border-color: var(--line); }
.a11y-btn:hover { background: var(--surface-2); }
.a11y-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }

/* Knöpfe: kleine Rundung statt Pille */
.btn { border-radius: 10px; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* Keine Effekte mehr */
.tilt, .tilt.reveal.in { transform: none !important; }
.tilt::after { display: none; }
.hero3d-glow, .subhero-glow, .cta-final::after { display: none; }

/* Symbole flach statt Verlauf mit Schatten */
.immersive .feature .ic, .immersive .step-num, .immersive .way .ic, .scenario .ic, .timeline li::before {
  background: var(--green-soft); color: var(--green); box-shadow: none;
}
.timeline li::before { color: var(--green-2); }

/* Karten ruhiger: Linie statt Schatten, kleine Radien */
.price-card, .side-card, .faq details, .gap-card, .device, .callback, .timeline li, .fact,
.quote-card, .step, .way, .talk-card, .compare, .cost-table, .notice { border-radius: var(--radius); }
.step, .way, .feature, .talk-card { box-shadow: none; }
.price-card, .gap-card--us, .callback { box-shadow: 0 1px 2px rgba(27, 38, 36, .05), 0 8px 24px rgba(27, 38, 36, .06); }
.gap-card--us .ribbon, .price-card .ribbon { border-radius: 6px; }
.offer { border-radius: 6px; }

/* Abschnitts-Köpfe linksbündig */
.section-head.center { text-align: left; margin-left: 0; max-width: 760px; }
.section-head.center .lead { margin-left: 0; }
.center .btn-row { justify-content: flex-start; }

/* Funktionen, Schritte, Wege, Gesprächstipps: als ruhige Liste statt Kachel-Raster */
.features, .steps, .ways, .talk { gap: 0 40px; }
.feature, .step, .way, .talk-card {
  background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 26px;
}
.feature:hover { transform: none; box-shadow: none; }
.feature .ic, .way .ic { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 12px; }
.feature .ic svg, .way .ic svg { width: 22px; height: 22px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; margin-bottom: 12px; }
.talk-num { width: 36px; height: 36px; }

/* ---------- Startseite ---------- */
.hero-photo { padding: clamp(16px, 3vw, 32px) 0 0; }
.hero-photo .wrap { position: relative; }
.hero-photo-img { margin: 0; border-radius: var(--radius); overflow: hidden; }
.hero-photo-img img { width: 100%; height: clamp(300px, 42vw, 560px); object-fit: cover; object-position: 40% 35%; }
.hero-photo-copy {
  position: relative; background: var(--bg); border-radius: var(--radius);
  width: min(640px, 100%); margin: clamp(-150px, -11vw, -80px) 0 0 clamp(0px, 4vw, 48px);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px) 8px;
}
.hero-photo-copy h1 { margin-bottom: .45em; }
.hero-photo-copy .lead { margin-bottom: 1.4em; }
.hero-note { margin: 16px 0 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 700px) {
  .hero-photo-copy { margin: 0; padding: 22px 0 0; background: none; }
}

.facts-row { padding: clamp(20px, 3vw, 32px) 0; }
.facts-row ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.facts-row li { display: inline-flex; align-items: center; gap: 10px; }
.facts-row .flag-at { width: 26px; height: 17px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: auto; display: block; }
.photo--box { max-width: 440px; }

.narrow { max-width: 760px; }
.signature { margin: 24px 0 8px; font-weight: 700; color: var(--ink); }
.source { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.aside-note { background: var(--green-soft); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink-2); }
.aside-note b { color: var(--green-2); }

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 8px; }
@media (max-width: 760px) { .rows { grid-template-columns: 1fr; } }
.row { border-top: 1px solid var(--line); padding: 22px 0 24px; }
.row h3 { margin-bottom: .35em; }
.row p { margin: 0; color: var(--ink-2); }
.more-link { margin-top: 20px; }

.plain-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 22px; color: var(--ink-2); }
.plain-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.price-line { font-size: 1.15rem; margin: 0 0 4px; color: var(--ink-2); }
.price-line s { color: var(--muted); margin-right: 4px; }
.price-line b { font-size: 1.6rem; color: var(--ink); }
.split .btn-row { align-items: center; gap: 18px; }

.closing, .cta-band {
  background: var(--green-2); color: #e9f1ed; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.closing h2, .cta-band h2 { color: #fff; }
.closing p { color: #d7e7df; max-width: 36em; font-size: 1.1rem; }
.cta-band p { color: #d7e7df; }

/* ---------- Unterseiten-Kopf ---------- */
.page-intro { padding: clamp(36px, 5vw, 64px) 0 clamp(16px, 3vw, 28px); }
.page-intro .wrap { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-intro--photo .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .page-intro--photo .wrap { grid-template-columns: 1fr; } }
.page-intro h1 { max-width: 16em; }
.page-intro .lead { margin: 0; max-width: 36em; }

/* ---------- Privatsphäre hell ---------- */
.priv-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.priv-list .ic { background: var(--green-soft); color: var(--green); }
.priv-list b { color: var(--ink); }
.priv-list span { color: var(--ink-2); }
.flow-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none !important; }
.flow-box h3 { color: var(--ink); }
.flow-box h3 svg, .flow-arrow svg { color: var(--green); }
.flow-note { color: var(--ink-2); }
.flow-arrow { color: var(--muted); }
.chip { background: var(--surface-2); color: var(--ink-2); }
.flow--3d.reveal.in { transform: none; }

/* Feinschliff organisch */
.btn--primary { box-shadow: none; }
.wrap.narrow { max-width: var(--max); }
.wrap.narrow > * { max-width: 760px; }
.feature .ic { display: none; }
.feature .badge { margin-bottom: 10px; }
.faq { margin-left: 0; }

/* ==========================================================================
   Runde 8: Angebot sofort sichtbar, 3D-Handy, helle Sturzerkennung
   ========================================================================== */
/* Keine Einblend-Animation beim Scrollen: Inhalte sind sofort da */
.reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Einstieg mit Angebot */
.hero-offer { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); }
.hero-offer .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-offer .wrap { grid-template-columns: 1fr; } .hero-offer-visual { order: -1; } }
.hero-offer h1 { margin-bottom: .35em; }
.hero-offer .lead { margin-bottom: 1.2em; }
.offer-box { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.offer-title { margin: 0 0 10px; font-weight: 700; color: var(--green-2); }
.plain-list--two { grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-bottom: 14px; }
@media (max-width: 420px) { .plain-list--two { grid-template-columns: 1fr; } }
.offer-box .price-line { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.offer-box .price-line span { display: block; font-size: 1rem; color: var(--muted); }
.hero-offer-visual { position: relative; }
.hero-offer-visual .photo img { height: clamp(300px, 36vw, 520px); object-fit: cover; object-position: 40% 35%; }

/* 3D-Handy: fest geneigt, ohne Animation */
.phone3d { display: flex; justify-content: center; perspective: 1400px; }
.phone3d .phone {
  width: 280px; transform: rotateY(-16deg) rotateX(5deg) rotateZ(1deg);
  box-shadow: 30px 40px 70px -30px rgba(27, 38, 36, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone3d .app-body { padding-bottom: 6px; }
.phone3d--hero { position: absolute; right: -10px; bottom: -46px; }
.phone3d--hero .phone { width: 220px; transform: rotateY(-18deg) rotateX(6deg); }
@media (max-width: 1100px) { .phone3d--hero { right: 0; bottom: -30px; } .phone3d--hero .phone { width: 190px; } }
@media (max-width: 900px) { .phone3d--hero { display: none; } }

/* Kurzer Nutzen in vier Zeilen */
.rows--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 1000px) { .rows--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rows--four { grid-template-columns: 1fr; } }
.rows--four .link-more { margin-top: 10px; font-size: .98rem; }
.rows + .aside-note { margin-top: 18px; }

.devices-grid--six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .devices-grid--six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .devices-grid--six { grid-template-columns: repeat(2, 1fr); } }
.devices-grid--six figcaption { font-size: .92rem; }

/* Sturzerkennung: Kopf mit Handy, Punkt-Haltungen */
.page-intro--phone .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 860px) { .page-intro--phone .wrap { grid-template-columns: 1fr; } .page-intro--phone .phone3d .phone { width: 240px; } }
.page-intro--phone .btn-row { margin-top: 22px; }
.poses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .poses { grid-template-columns: 1fr; } }
.pose { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pose .cv { height: 280px; position: relative; }
.pose canvas { width: 100%; height: 100%; display: block; }
.pose figcaption { padding: 12px 16px 16px; border-top: 1px solid var(--line); line-height: 1.35; }
.pose figcaption b { display: block; }
.pose figcaption span { font-size: .92rem; color: var(--muted); }
.pose--alert figcaption b { color: var(--accent-2); }
.timeline { max-width: none; margin: 18px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }

/* ==========================================================================
   Runde 9: Tagesroutine, 3D-Wohnung hell
   ========================================================================== */
.day-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 8px 24px rgba(27, 38, 36, .06); }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.day-head b { font-family: var(--heading); font-size: 1.25rem; }
.day-head span { font-size: .95rem; font-weight: 700; color: var(--ok); }
.day-list { list-style: none; margin: 0; padding: 0; }
.day-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.day-list time { font-weight: 700; color: var(--green-2); font-variant-numeric: tabular-nums; }
.day-list span { color: var(--ink-2); }
.day-alert { margin: 14px 0 0; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink-2); font-size: .98rem; }
.day-alert b { color: var(--accent-2); }

.home3d { position: relative; height: clamp(380px, 52vw, 580px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: grab; touch-action: pan-y; margin-top: 8px; }
.home3d:active { cursor: grabbing; }
.home3d canvas { width: 100%; height: 100%; display: block; }
.home3d .s3-label { background: rgba(255, 255, 255, .95); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font-weight: 600; }
.legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .legend { grid-template-columns: repeat(2, 1fr); } }
.legend li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.split .source { font-size: .88rem; }

/* 3D-Wohnung: dunkle, randlose Bühne statt weißem Kasten */
.home3d-section {
  background: radial-gradient(1000px 560px at 50% 55%, #17402f, #0b1f19 72%);
  color: #e9f1ed;
}
.home3d-section h2 { color: #fff; }
.home3d-section .lead { color: #cfe0d8; }
.home3d-section .home3d { background: transparent; border: 0; border-radius: 0; height: clamp(400px, 52vw, 620px); margin-top: 0; }
.home3d-section .home3d .s3-label { background: rgba(10, 28, 23, .85); color: #fff; border: 1px solid rgba(232, 176, 74, .55); border-radius: 999px; }
@media (max-width: 440px) {
  .home3d-section .home3d { height: 430px; }
  .home3d-section .home3d .s3-label { font-size: .74rem; padding: 3px 8px; }
}
.home3d-section .legend { color: #cfe0d8; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
.home3d-section .legend li::before { background: var(--gold); }

/* Kein großes Loch zwischen Seitenkopf und erstem Abschnitt */
.page-intro + .section, .page-intro + section.section { padding-top: clamp(20px, 3vw, 36px); }

/* ==========================================================================
   Runde 11: realistischer App-Startbildschirm (wie dashboard_screen.dart)
   ========================================================================== */
.ax-phone { width: 250px !important; padding: 9px; border-radius: 38px; background: #111a18; }
.ax-screen { background: #f8fafc; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; height: 520px; font-family: Roboto, "Segoe UI", -apple-system, sans-serif; color: #1e293b; }
.ax-screen svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.ax-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 2px; font-size: 10px; font-weight: 600; }
.ax-notch { width: 70px; height: 18px; background: #111a18; border-radius: 0 0 12px 12px; margin-top: -8px; }
.ax-sys { display: flex; gap: 3px; } .ax-sys i { width: 4px; height: 8px; background: #1e293b; border-radius: 1px; } .ax-sys i:nth-child(2) { height: 6px; margin-top: 2px; } .ax-sys i:nth-child(3) { width: 12px; }
.ax-bar { display: flex; align-items: center; gap: 7px; padding: 8px 16px 10px; }
.ax-bar img { width: 24px; height: auto; }
.ax-bar b { font-size: 14px; font-weight: 700; }
.ax-bar svg { margin-left: auto; width: 17px; height: 17px; }
.ax-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 0 0 8px; min-height: 0; }
.ax-hero { flex: 1; margin: 0 14px; border-radius: 22px; background: linear-gradient(180deg, #e0f2f1, #b2dfdb); color: #1b5e20; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 14px; }
.ax-heart svg { width: 40px; height: 40px; color: #1b5e20; animation: heartbeat .923s ease-in-out infinite alternate; }
.ax-hero h4 { margin: 8px 0 4px; font-family: inherit; font-size: 20px; font-weight: 700; color: #1b5e20; letter-spacing: 0; }
.ax-hero p { margin: 0; font-size: 10.5px; line-height: 1.4; color: rgba(27, 94, 32, .8); }
.ax-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 10px; }
.ax-chip { display: flex; align-items: center; gap: 5px; background: #fff; border-radius: 14px; padding: 6px 8px; box-shadow: 0 3px 8px rgba(0, 0, 0, .04); line-height: 1.15; }
.ax-chip svg { color: #4caf50; width: 15px; height: 15px; }
.ax-chip small { display: block; font-size: 7.5px; font-weight: 700; color: #9e9e9e; }
.ax-chip b { display: block; font-size: 9.5px; font-weight: 700; color: #4caf50; }
.ax-card { display: flex; align-items: center; gap: 9px; margin: 0 14px; background: #fff; border-radius: 16px; padding: 9px 10px; line-height: 1.25; }
.ax-card-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(0, 121, 107, .08); color: #00796b; display: grid; place-items: center; flex: none; }
.ax-card b { display: block; font-size: 10.5px; }
.ax-card small { display: block; font-size: 9px; color: #475569; margin-top: 1px; }
.ax-card > svg { margin-left: auto; color: #475569; }
.ax-history { display: flex; align-items: center; justify-content: space-between; margin: 0 14px; background: #546e7a; color: #fff; border-radius: 14px; padding: 9px 12px; line-height: 1.25; }
.ax-history b { display: block; font-size: 12px; }
.ax-history small { display: block; font-size: 9px; color: rgba(255, 255, 255, .7); }
.ax-history svg { width: 12px; height: 12px; }
.ax-nav { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid #eef1f4; padding: 6px 4px 10px; }
.ax-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8.5px; color: #757575; }
.ax-nav span.on { color: #00796b; font-weight: 600; }
.ax-nav svg { width: 18px; height: 18px; }
html.calm .ax-heart svg { animation: none; }
.phone3d--hero { bottom: -70px; }
@media (max-width: 1100px) { .ax-phone { width: 220px !important; } .ax-screen { height: 460px; } }

/* Kontakt bei der Geschichte */
.contact-line { margin: 4px 0 10px; color: var(--ink-2); }
/* Überschrift-Wechsel ohne Leerstelle */
.who-word { transition-duration: .22s; }
/* Status-Chips in einer Reihe wie in der App */
.ax-chips { flex-wrap: nowrap; gap: 4px; padding: 0 8px; }
.ax-chip { padding: 5px 6px; gap: 4px; border-radius: 12px; min-width: 0; }
.ax-chip svg { width: 12px; height: 12px; }
.ax-chip small { font-size: 6.8px; }
.ax-chip b { font-size: 8.4px; }
@media (max-width: 1100px) { .ax-phone { width: 250px !important; } .ax-screen { height: 500px; } }

/* ==========================================================================
   Runde 12: Insights-Seite der App (wie insights_screen.dart)
   ========================================================================== */
.split--phone { align-items: center; }
.split--phone .phone3d { justify-content: center; }
.ax-bar--title b { font-size: 15px; font-weight: 700; }
.ax-body--scroll { overflow: hidden; gap: 10px; }
.ix-hero { position: relative; margin: 0 12px; border-radius: 22px; padding: 12px 14px 12px; color: #5a2a17;
  background: linear-gradient(135deg, #ffe8cc, #ffb199); box-shadow: 0 8px 18px rgba(255, 177, 153, .35); overflow: hidden; }
.ix-sun { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: #ffc94d; box-shadow: 0 0 0 10px rgba(255, 201, 77, .22), 0 0 0 20px rgba(255, 201, 77, .12); }
.ix-hero small { display: block; font-size: 8.5px; font-weight: 600; opacity: .75; }
.ix-hero h4 { margin: 34px 0 3px; font-family: inherit; font-size: 18px; font-weight: 800; color: #5a2a17; letter-spacing: -.2px; }
.ix-hero p { margin: 0 0 8px; font-size: 9.5px; line-height: 1.4; opacity: .85; }
.ix-facts { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.ix-facts span { background: rgba(255, 255, 255, .6); border-radius: 14px; padding: 3px 8px; font-size: 8.5px; font-weight: 700; }
.ix-badge { display: inline-block; background: rgba(255, 255, 255, .6); border-radius: 12px; padding: 4px 8px; font-size: 8px; font-weight: 700; }
.ix-week { margin: 0 12px; }
.ix-week b { display: block; font-size: 13px; font-weight: 800; }
.ix-week > small { display: block; font-size: 8px; color: #94a3b8; font-weight: 600; margin-bottom: 6px; }
.ix-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.ix-days span { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #f1f3f8; border-radius: 10px; padding: 5px 0; border: 1px solid transparent; }
.ix-days span.on { background: #ffe9dc; border-color: #ff9f7a; }
.ix-days i { font-style: normal; font-size: 7.5px; font-weight: 700; color: #94a3b8; }
.ix-days span.on i { color: #5a2a17; }
.ix-days em { font-style: normal; font-size: 11px; }
.ix-days u { text-decoration: none; font-size: 7px; font-weight: 600; color: #64748b; }
.ix-note { margin-top: 7px; background: #fff8f3; border-radius: 12px; padding: 7px 9px; font-size: 10px; color: #3b2a22; font-weight: 600; }
.ix-note small { display: block; font-size: 7.5px; font-weight: 700; color: #b4694a; }
@media (max-width: 860px) { .split--phone .phone3d .phone { width: 250px; } }
.page-intro .btn-row { margin-top: 22px; }

/* Runde 13: Box-Foto auf der Startseite */
.box-photo img { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius); }
.rows--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .rows--three { grid-template-columns: 1fr; } }
.box-photo { background: none; text-align: center; }
.split .photo-note { justify-content: flex-start; margin-left: 0; text-align: left; }

/* ==========================================================================
   Runde 14: Mobile first
   ========================================================================== */
.swipe-hint { display: none; margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
/*
   ========================================================================== */
@media (max-width: 900px) {
  /* Startseite: Überschrift und Knopf zuerst, Foto danach */
  .hero-offer-visual { order: 0; }
  .hero-offer { padding-top: 18px; }
  .hero-offer-visual .photo img { height: 240px; }
  /* Box-Foto nicht bildschirmfüllend */
  .box-photo img, .devices-box img { max-height: 320px; width: auto; max-width: 100%; margin: 0 auto; }
  .devices-box { max-width: none; background: none; box-shadow: none; text-align: center; }
  .devices-box img { border-radius: 20px; }
}
@media (max-width: 700px) {
  /* Gerätefotos und Sturz-Posen: wischen statt endlos scrollen */
  .devices-grid, .poses {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch;
  }
  .devices-grid > *, .poses > * { scroll-snap-align: start; }
  .poses { grid-auto-columns: 72%; }
  .pose .cv { height: 220px; }
  .swipe-hint { display: block; }
  /* Tippflächen */
  .link-more { min-height: 44px; }
  /* Preis-Tabellen ohne Zeilenumbruch in den Beträgen */
  .cost-table { font-size: .92rem; }
  .cost-table td:not(:first-child), .cost-table th:not(:first-child) { white-space: nowrap; padding-left: 10px; }
  .gap-price { font-size: 1.35rem; }
  .gap-price small { white-space: nowrap; }
}
.footer-copy { white-space: nowrap; }
@media (max-width: 900px) {
  /* Startseite: Vormerk-Knopf direkt unter dem Einleitungssatz */
  .hero-offer-copy { display: flex; flex-direction: column; }
  .hero-offer-copy .btn-row { order: 1; margin-bottom: 18px; }
  .hero-offer-copy .offer-box { order: 2; }
  .hero-offer-copy .hero-note { order: 3; }
}
