/*
 * Abschnitte im Apple-Stil (components/story.php, scripts/story.js) – Startseite und Makler-Seite.
 * Fuer Dummies: Die Abschnitte sind hoeher als der Bildschirm. Der Inhalt bleibt stehen ("sticky"),
 * und das Skript setzt je nach Scroll-Fortschritt, welches Bild/welcher Text gerade sichtbar ist.
 */
.st-kicker { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* 1) Wort fuer Wort */
.st-words { position: relative; height: 190vh; height: 190lvh; height: calc(var(--vhf, 1lvh) * 190); }
.st-words-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding: 0 max(20px, env(safe-area-inset-left, 0px)); }
.st-words-text { margin: 0; max-width: 1080px; font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; color: #ffffff; }
.st-words-text .w { opacity: .14; transition: opacity .25s linear; }
.st-words-text .w.on { opacity: 1; }
.st-words-text .w.gold.on { color: var(--accent); }

/* 2) Produkt-Geschichte */
.st-story { position: relative; height: 280vh; height: 280lvh; height: calc(var(--vhf, 1lvh) * 280); }
.st-story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  max-width: 1320px; margin: 0 auto; padding: calc(var(--header-height, 77px) + 10px) clamp(20px, 4vw, 56px) 24px; box-sizing: border-box; }
.st-story-steps { position: relative; min-height: 280px; }
.st-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.st-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.st-step.is-past { transform: translateY(-26px); }
.st-step-num { margin: 0 0 14px; font-size: .85rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); font-variant-numeric: tabular-nums; }
.st-step h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; color: #ffffff; text-wrap: balance; -webkit-text-fill-color: #ffffff; background: none; }
.st-step p:last-child { margin: 18px 0 0; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.55; color: #c2c6c4; max-width: 34ch; }
.st-rail { position: absolute; left: 0; bottom: -64px; display: flex; gap: 8px; }
.st-rail span { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); transition: background .4s, width .4s; }
.st-rail span.is-on { width: 44px; background: var(--accent-grad, #2bc35e); }

.st-device-wrap { position: relative; perspective: 1400px; min-width: 0; }
.st-glow { position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 195, 94, .22), rgba(50, 67, 58, .18) 55%, transparent); filter: blur(30px); z-index: 0; }
.st-device { position: relative; z-index: 1; aspect-ratio: 16 / 10.4; border-radius: 26px; padding: 12px; background: linear-gradient(160deg, #1e211f, #0f1110); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 50px 120px rgba(0, 0, 0, .55); transform: rotateX(var(--tilt, 0deg)) scale(var(--dscale, 1)); transform-origin: 50% 100%; will-change: transform; overflow: hidden; }
.st-screen { position: absolute; inset: 12px; border-radius: 16px; overflow: hidden; background: #141716; opacity: 0; transform: scale(1.04); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); display: flex; flex-direction: column; }
.st-screen.is-on { opacity: 1; transform: none; }
.st-screen > img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top center; display: block; background: #111413; }
.st-cap { margin: 0; padding: 7px 12px; font-size: 11px; color: #abb1ae; background: #0f1110; }
.st-map { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.st-map img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(var(--mapz, 1.25)); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.st-screen.is-on .st-map img { --mapz: 1; }
.st-map-pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent-grad, #2bc35e); box-shadow: 0 0 0 4px rgba(43, 195, 94, .35); }
.st-map-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; border: 2px solid var(--accent); transform: scale(.2); animation: st-ping 2.2s ease-out infinite; pointer-events: none; }
@keyframes st-ping { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.st-paper { position: relative; flex: 1; min-height: 0; background: #ffffff; overflow: hidden; }
.st-paper img { width: 100%; height: auto; display: block; }
.st-logo-band { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .1); color: #f1f2f2; backdrop-filter: blur(10px); transform: translateY(-100%); opacity: 0; transition: transform .8s .25s cubic-bezier(.2, 1.2, .3, 1), opacity .5s .25s; position: relative; z-index: 2; }
.st-screen.is-on .st-logo-band { transform: none; opacity: 1; }
.st-logo { width: 46px; height: 46px; flex: none; border: 2px dashed #2bc35e; border-radius: 9px; display: grid; place-items: center; text-align: center; font-size: 10px; font-weight: 800; color: #2bc35e; line-height: 1.1; }
.st-logo-band b { display: block; font-size: 15px; }
.st-logo-band small { font-size: 12px; color: #abb1ae; }
.st-expose { flex: 1; background: radial-gradient(120% 90% at 85% -10%, rgba(50, 67, 58, .3), transparent 60%), #111413; color: #f1f2f2; padding: clamp(18px, 3vw, 40px); font-family: Georgia, "Times New Roman", serif; overflow: hidden; }
.st-expose-kicker { margin: 0; font-family: Manrope, system-ui, sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #abb1ae; }
.st-expose h3 { margin: 12px 0 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; color: #ffffff; }
.st-expose-text { margin: 10px 0 0; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.6; }
.st-expose sup { color: #2bc35e; font-weight: 700; }
.st-expose ol { margin: 16px 0 0; padding: 12px 0 0 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; line-height: 1.6; color: #abb1ae; font-family: Manrope, system-ui, sans-serif; }
.st-expose ol li { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s; }
.st-screen.is-on .st-expose ol li { opacity: 1; transform: none; }
.st-screen.is-on .st-expose ol li:nth-child(2) { transition-delay: .15s; } .st-screen.is-on .st-expose ol li:nth-child(3) { transition-delay: .3s; } .st-screen.is-on .st-expose ol li:nth-child(4) { transition-delay: .45s; }
.st-expose-foot { margin: 10px 0 0; font-family: Manrope, system-ui, sans-serif; font-size: 11px; color: #abb1ae; }
.st-device-note { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); position: relative; z-index: 1; }
.st-device-note a { color: var(--accent); }

/* 3) Themen waagerecht */
.st-themes { position: relative; height: 200vh; height: 200lvh; height: calc(var(--vhf, 1lvh) * 200); }
.st-themes-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-top: var(--header-height, 77px); box-sizing: border-box; }
.st-themes-head { max-width: 1320px; width: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); box-sizing: border-box; }
.st-themes-head h2 { margin: 12px 0 0; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.04em; color: #ffffff; -webkit-text-fill-color: #ffffff; background: none; }
.st-themes-head h2 span { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.st-track-wrap { overflow: visible; }
.st-track { list-style: none; margin: 0; padding: 0 clamp(20px, 4vw, 56px); display: flex; gap: 20px; width: max-content; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.st-card { position: relative; width: clamp(240px, 24vw, 320px); flex: none; box-sizing: border-box; padding: 26px 24px 22px; border-radius: 24px; background: linear-gradient(170deg, #191d1b, #111413 70%); border: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-direction: column; min-height: 300px; overflow: hidden; }
.st-card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 195, 94, .16), transparent); pointer-events: none; }
.st-card-n { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums; }
.st-card > i { margin-top: 22px; font-size: 22px; color: var(--accent); }
.st-card h3 { margin: 14px 0 0; font-size: 1.05rem; color: #d7dbd9; font-weight: 700; }
.st-card-val { margin: 6px 0 0; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: #ffffff; }
.st-card-sub { margin: 8px 0 0; font-size: .95rem; line-height: 1.45; color: #abb1ae; }
.st-card-src { margin: auto 0 0; padding-top: 18px; font-size: .78rem; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .07); }
.st-themes-note { margin: 0 auto; width: 100%; max-width: 1320px; padding: 0 clamp(20px, 4vw, 56px); box-sizing: border-box; font-size: 12.5px; color: var(--muted); }

/* 4) Preise als Kacheln */
.st-price { max-width: 1320px; margin: 0 auto; padding: clamp(110px, 13vw, 180px) clamp(20px, 4vw, 56px) clamp(80px, 9vw, 120px); box-sizing: border-box; }
.st-price-head { text-align: center; }
.st-price-head h2 { margin: 12px 0 0; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.04em; color: #ffffff; -webkit-text-fill-color: #ffffff; background: none; }
.st-price-head h2 span { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.st-tiles { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin-inline: auto; }
.st-tiles.is-five { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; }
.st-tile { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 30px 24px 24px; border-radius: 24px; background: linear-gradient(170deg, #191d1b, #101311 75%); border: 1px solid rgba(255, 255, 255, .09);
  opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .4s; transition-delay: calc(var(--i, 0) * 90ms); }
.st-tiles.is-in .st-tile { opacity: 1; transform: none; }
.st-tile:nth-child(2) { --i: 1; } .st-tile:nth-child(3) { --i: 2; } .st-tile:nth-child(4) { --i: 3; } .st-tile:nth-child(5) { --i: 4; }
@media (hover: hover) { .st-tile:hover { border-color: rgba(255, 255, 255, .2); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); } }
.st-tile.is-best { border-color: rgba(43, 195, 94, .55); background: linear-gradient(170deg, #202321, #121514 75%); box-shadow: 0 0 0 1px rgba(43, 195, 94, .2) inset, 0 30px 80px rgba(43, 195, 94, .08); }
.st-tile-badge { position: absolute; top: -12px; left: 24px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent-grad, #2bc35e); color: #131614; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.st-tile h3 { margin: 0; font-size: 1rem; font-weight: 700; color: #d7dbd9; }
.st-tile-price { margin: 12px 0 0; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; color: #ffffff; font-variant-numeric: tabular-nums; }
.st-tile-per { margin: 10px 0 0; font-size: .92rem; color: #abb1ae; }
.st-tile-save { margin: 6px 0 0; font-size: .9rem; font-weight: 700; color: var(--mint, #3fc29a); min-height: 1.3em; }
.st-tile-valid { margin: 14px 0 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.st-tile .button { margin-top: auto; text-align: center; justify-content: center; }
.st-price-note { margin: 28px auto 0; max-width: 900px; text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1180px) { .st-tiles.is-five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .st-tiles, .st-tiles.is-five { grid-template-columns: 1fr; gap: 22px; } }

/* Dunkle Bildschirm-Ansichten im Geraet */
.st-ui { flex: 1; min-height: 0; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 85% -10%, rgba(50, 67, 58, .35), transparent 60%), #111413; color: #f1f2f2; overflow: hidden; }
.st-ui-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 11px; letter-spacing: .18em; }
.st-ui-head b { font-weight: 800; }
.st-ts { width: 24px; height: 24px; border-radius: 6px; background: #ffffff; color: #101312; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: 0; }
.st-ui-meta { margin-left: auto; letter-spacing: .02em; color: #abb1ae; font-size: 12px; }
.st-ui-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(14px, 2.4vw, 32px); align-items: center; padding: clamp(14px, 2.4vw, 28px); }
.st-ring { --p: 0; justify-self: center; width: clamp(96px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#8fb63a calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); transition: --p 1.2s; position: relative; }
.st-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #111413; }
.st-ring > div { position: relative; text-align: center; }
.st-ring b { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; font-weight: 800; }
.st-ring small { font-size: 12px; color: #abb1ae; }
.st-screen.is-on .st-ring { animation: st-ring 1.4s .2s cubic-bezier(.2, .7, .2, 1) forwards; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes st-ring { to { --p: var(--g); } }
.st-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1vw, 11px); min-width: 0; }
.st-bars li { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) minmax(0, 8.5em); gap: 10px; align-items: center; font-size: clamp(10px, 1vw, 13px); }
.st-bars span { color: #e1e4e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bars i { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.st-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 7px; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.25s + var(--i) * 70ms); }
.st-bars i.g::after { background: linear-gradient(90deg, #6f9a2c, #a3c94a); } .st-bars i.y::after { background: linear-gradient(90deg, #1c813e, #2bc35e); } .st-bars i.r::after { background: linear-gradient(90deg, #c2412f, #ef6f5a); }
.st-screen.is-on .st-bars i::after { transform: none; }
.st-bars em { font-style: normal; text-align: right; font-weight: 700; white-space: nowrap; }
.st-bars em.g { color: #a3c94a; } .st-bars em.y { color: #2bc35e; } .st-bars em.r { color: #ef7a5f; }
.st-ui-obj { padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 32px); }
.st-ui-kick { margin: 0; font-size: 11px; letter-spacing: .16em; font-weight: 800; color: var(--accent); }
.st-ui-addr { margin: 10px 0 0; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.st-ui-chips { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st-ui-chips span { padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); font-size: 12px; color: #d7dbd9; }
.st-files { list-style: none; margin: 0; padding: clamp(14px, 2.4vw, 28px); display: grid; gap: 12px; }
.st-files li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.st-screen.is-on .st-files li { opacity: 1; transform: none; }
.st-screen.is-on .st-files li:nth-child(2) { transition-delay: .15s; } .st-screen.is-on .st-files li:nth-child(3) { transition-delay: .3s; }
.st-files li > i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(43, 195, 94, .14); color: var(--accent); }
.st-files b { display: block; font-size: 14px; } .st-files small { font-size: 12px; color: #abb1ae; }
.st-files em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; background: rgba(63, 194, 154, .15); color: #6fd6b0; }
/* Karte im dunklen Look */
.st-map img { filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95) contrast(.95); }

/* Handy: Geschichte untereinander, Themen per Wischen */
@media (max-width: 860px) {
  .st-story { height: 260vh; height: 260lvh; height: calc(var(--vhf, 1lvh) * 260); }
  .st-story-sticky { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: calc(var(--header-height, 77px) + 18px); }
  .st-device-wrap { order: -1; }
  .st-device { border-radius: 18px; padding: 8px; }
  .st-screen { inset: 8px; border-radius: 12px; }
  .st-story-steps { min-height: 210px; }
  .st-step h2 { font-size: 1.75rem; }
  .st-step p:last-child { font-size: 1rem; margin-top: 10px; }
  .st-rail { bottom: -26px; }
  .st-device-note { margin-top: 8px; }
}
@media (max-width: 760px) {
  .st-words { height: 160vh; height: 160lvh; height: calc(var(--vhf, 1lvh) * 160); }
  .st-themes { height: auto; }
  .st-themes-sticky { position: relative; height: auto; padding: 96px 0; }
  .st-track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .st-track-wrap::-webkit-scrollbar { display: none; }
  .st-track { transform: none !important; padding-right: 20px; }
  .st-card { scroll-snap-align: start; width: 78vw; max-width: 300px; min-height: 270px; }
}
/* Bewegung reduzieren: alles sofort sichtbar, nichts haengt fest */
@media (prefers-reduced-motion: reduce) {
  .st-words, .st-story, .st-themes { height: auto; }
  .st-words-sticky, .st-story-sticky, .st-themes-sticky { position: relative; height: auto; padding-block: 80px; }
  .st-words-text .w { opacity: 1; }
  .st-step { position: relative; opacity: 1; transform: none; margin-bottom: 28px; }
  .st-screen { position: relative; inset: auto; opacity: 1; transform: none; margin-bottom: 12px; }
  .st-screen:not([data-screen="0"]) { display: none; }
  .st-device { aspect-ratio: auto; }
  .st-rail { display: none; }
  .st-track-wrap { overflow-x: auto; }
  .st-tile { opacity: 1; transform: none; }
  .st-bars i::after { transform: none; }
  .st-files li { opacity: 1; transform: none; }
  .st-ring { --p: var(--g); }
}

/* Schwebender Knopf weg, solange Geschichte/Preise im Bild sind (sonst verdeckt er Text) */
body.st-nofloat .hb-float { opacity: 0 !important; pointer-events: none !important; transform: translate(-50%, 30px) !important; }
@media (max-width: 860px) {
  .st-ui-obj { padding: 14px 16px; }
  .st-ui-addr { font-size: 1.25rem; margin-top: 6px; }
  .st-ui-chips { display: none; }
  .st-ui-head { padding: 9px 12px; }
  .st-logo-band { padding: 8px 12px; } .st-logo { width: 36px; height: 36px; font-size: 8px; }
  .st-expose { padding: 14px; } .st-expose-text { font-size: 13px; } .st-expose ol { display: none; }
}
/* Update 224: Unternehmen 1/3/5/10/20/25/40 + Anfrage = 8 Kacheln (4 x 2) */
.st-tiles.is-eight { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; }
.st-tile.is-ask .st-tile-price { font-size: clamp(28px, 3vw, 38px); }
@media (max-width: 980px) { .st-tiles.is-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .st-tiles.is-eight { grid-template-columns: 1fr; } }
/* Update 228: Unternehmenspreise auf dem Handy kompakt in 2 Spalten statt 8 Kacheln untereinander */
@media (max-width: 760px) {
  .st-tiles.is-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
  .st-tiles.is-eight .st-tile { padding: 20px 14px 14px; border-radius: 18px; }
  .st-tiles.is-eight .st-tile h3 { font-size: .9rem; }
  .st-tiles.is-eight .st-tile-price { font-size: 1.55rem; margin-top: 8px; }
  .st-tiles.is-eight .st-tile-per, .st-tiles.is-eight .st-tile-save { font-size: .74rem; line-height: 1.35; }
  .st-tiles.is-eight .st-tile-valid { margin: 10px 0 12px; padding-top: 10px; font-size: .74rem; }
  .st-tiles.is-eight .st-tile .button { padding: 10px 8px; font-size: .85rem; min-height: 44px; }
  .st-tiles.is-eight .st-tile-badge { left: 14px; font-size: 9.5px; }
  .st-tiles.is-eight .st-tile.is-ask .st-tile-price { font-size: 1.35rem; }
}

/* Update 230: Privat <-> Unternehmen ohne harten Seitenwechsel.
   Beide Seiten machen bei "View Transitions" mit (Safari ab 18.2, Chrome, Edge): die alte Seite blendet weich aus,
   die neue weich ein, der goldene Knopf gleitet von "Privat" zu "Unternehmen". Kopfzeile bleibt stehen.
   Aeltere Browser wechseln wie bisher normal. */
@view-transition { navigation: auto; }
.page-header { view-transition-name: ts-head; }
.aud-switch { position: relative; view-transition-name: ts-switch; }
.aud-switch a { position: relative; z-index: 1; }
.aud-switch a.on { background: transparent; box-shadow: none; }
.aud-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--accent-grad, #2bc35e); box-shadow: 0 6px 18px rgba(43, 195, 94,.25); view-transition-name: ts-pill; transition: left .45s cubic-bezier(.3,.8,.3,1), width .45s cubic-bezier(.3,.8,.3,1); }
.aud-switch:not(.is-ready) .aud-pill { transition: none; }
::view-transition-group(root) { animation-duration: .5s; }
::view-transition-old(root) { animation: tsOut .32s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: tsIn .5s cubic-bezier(.2,.7,.2,1) .06s both; }
::view-transition-group(ts-pill) { animation-duration: .5s; animation-timing-function: cubic-bezier(.3,.8,.3,1); }
::view-transition-old(ts-pill), ::view-transition-new(ts-pill) { animation: none; mix-blend-mode: normal; }
::view-transition-old(ts-pill) { display: none; }
::view-transition-group(ts-switch), ::view-transition-group(ts-head) { animation-duration: .5s; }
@keyframes tsOut { to { opacity: 0; transform: translateY(-8px) scale(.99); } }
@keyframes tsIn { from { opacity: 0; transform: translateY(10px) scale(1.005); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* Text der beiden Eintraege liegt waehrend des Uebergangs ueber dem goldenen Knopf */
.aud-switch a[data-view="privat"] { view-transition-name: ts-l1; }
.aud-switch a[data-view="firma"] { view-transition-name: ts-l2; }
::view-transition-group(ts-l1), ::view-transition-group(ts-l2) { animation-duration: .4s; }

/* Update 233: Wechsel Privat/Unternehmen "Wort fuer Wort". Woerter einzeln beweglich, goldene behalten den Verlauf der Zeile */
.hb-copy h1 .ts-w { display: inline-block; will-change: transform, opacity, filter; }
.hb-copy h1 .ts-w.g { background: linear-gradient(100deg, #2bc35e, #19d3c5); -webkit-text-fill-color: transparent; background-size: var(--bw, 100%) 100%; background-position: var(--bx, 0) 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-copy h1 .ts-w:not(.g) { background: none; color: inherit; -webkit-text-fill-color: currentColor; }

/* Update 270: Sprunglinks im Kopfmenue (Inhalt, Abdeckung, Musterbericht) landen am Handy unter der festen Kopfzeile.
   Ohne diesen Abstand war die Ueberschrift des Ziels halb verdeckt. */
@media (max-width: 760px) {
  #daten, #abdeckung, #report, #preise, #preise-privat { scroll-margin-top: calc(var(--header-height, 137px) + 10px); }
}

/* Update 301 (Wunsch Flo): Handy - die 12 Themen laufen beim Scrollen nach rechts durch (wie am PC), statt mit dem Finger zu wischen */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .st-themes { height: 340vh; height: 340lvh; height: calc(var(--vhf, 1lvh) * 340); }
  .st-themes-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--header-height, 64px) 0 0; justify-content: center; gap: 22px; }
  .st-track-wrap { overflow: visible; scroll-snap-type: none; }
  .st-track { transform: translate3d(var(--tx, 0px), 0, 0) !important; padding-right: 20px; }
  .st-card { width: 76vw; max-width: 300px; min-height: 0; }
}

/* Update 302: Hinweis bei den 12 Themen (nur Handy) */
.st-wisch { display: none; }
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .st-wisch { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #d7dbd9; transition: opacity .25s; }
  .st-wisch i { color: var(--accent); animation: st-wisch 1.6s ease-in-out infinite; }
  @keyframes st-wisch { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
}

/* Update 310: eigene kleine Zeichnung je Thema statt Symbol */
.st-card-z { height: 92px; margin: 14px 0 0 -6px; }
.st-card-z .ts-z { height: 100%; width: auto; display: block; overflow: visible; }
.ts-z-bg { fill: rgba(43, 195, 94, .16); }
.ts-z-w { stroke: #e9eeeb; }
.ts-z-boden, .ts-z-wolke { stroke: rgba(233, 238, 235, .4); }
.ts-z-g { stroke: var(--accent, #2bc35e); }
.st-card .ts-z-bg { transition: transform .5s ease; transform-origin: 60px 42px; }
.st-card:hover .ts-z-bg { transform: scale(1.12); }
.st-card-z + h3 { margin-top: 10px; }

/* Update 310: Zeichnungen in den Themen-Karten zeichnen sich selbst, sobald der Abschnitt ins Bild kommt */
.st-themes.z-warte .ts-z [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.st-themes .ts-z [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); }
.st-themes .st-card:nth-child(2) .ts-z [pathLength] { transition-delay: .15s; } .st-themes .st-card:nth-child(3) .ts-z [pathLength] { transition-delay: .3s; } .st-themes .st-card:nth-child(4) .ts-z [pathLength] { transition-delay: .45s; }
.st-themes.z-warte .ts-z-bg { transform: scale(.4); opacity: 0; } .st-themes .ts-z-bg { transition: transform .7s ease, opacity .5s ease; }
@media (prefers-reduced-motion: reduce) { .st-themes .ts-z [pathLength] { transition: none; } }

/* Update 341: Lange Scroll-Abschnitte in lvh (feste Hoehe). In vh aendert Safari (iOS) die Hoehe, wenn die Adressleiste
   ein- oder ausfaehrt; ueber 10 Bildschirmhoehen summiert liess das die Seite um mehrere hundert Pixel springen. */

/* Update 354: Gratis-Bericht-Hinweis bei den Preisen */
.st-gift { display:flex; align-items:center; gap:18px; max-width:1000px; margin:44px auto -10px; padding:20px 24px; border-radius:22px; box-sizing:border-box;
  background:linear-gradient(120deg,rgba(43,195,94,.16),rgba(25,211,197,.08)); border:1px solid rgba(63,224,160,.45); }
.st-gift-ico { font-size:34px; line-height:1; flex:none; }
.st-gift-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; text-align:left; }
.st-gift-txt b { font-size:19px; color:#fff; }
.st-gift-txt span { font-size:15px; line-height:1.45; color:var(--muted); }
.st-gift .button { flex:none; white-space:nowrap; }
@media (max-width:700px){ .st-gift { flex-direction:column; align-items:stretch; } .st-gift .button { text-align:center; } }
