/* Öffentliche Website (Startseite, Preise, Rechtstexte): eigener, hochwertiger Auftritt auf Basis von app.css */
:root { --primary: #b3261e; --accent: #f5b700; --header: #1f1b19; --ink: #141110; --s-radius: 24px; --s-max: 1180px; }
html { scroll-behavior: smooth; }
body.site { background: var(--bg); overflow-x: hidden; }
.s-wrap { width: min(var(--s-max), 100% - 32px); margin: 0 auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not(.light) .logo-light { display: none !important; } :root:not(.light) .logo-dark { display: inline !important; } }
:root.dark .logo-light { display: none !important; } :root.dark .logo-dark { display: inline !important; }

/* Kopfzeile */
.s-nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.s-nav.dark-top { color: #fff; }
.s-nav.scrolled, .s-nav.solid { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); color: var(--text); }
.s-nav .s-wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.s-nav .brand img { height: 40px; }
.s-nav .brand .logo-light { display: block; } .s-nav .brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not(.light) .s-nav .brand .logo-light { display: none; } :root:not(.light) .s-nav .brand .logo-dark { display: block; } }
:root.dark .s-nav .brand .logo-light { display: none; } :root.dark .s-nav .brand .logo-dark { display: block; }
.s-nav.dark-top:not(.scrolled) .brand .logo-light { display: none !important; } .s-nav.dark-top:not(.scrolled) .brand .logo-dark { display: block !important; }
.s-nav nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.s-nav nav a.l { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 12px; border-radius: 10px; opacity: .9; }
.s-nav nav a.l:hover, .s-nav nav a.l.on { background: color-mix(in srgb, currentColor 10%, transparent); opacity: 1; }
.s-nav .theme-toggle { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; border-color: transparent; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px; font-weight: 750; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 85%, #fff), var(--primary)); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 12px 28px -12px color-mix(in srgb, var(--primary) 85%, transparent); transition: transform .15s, box-shadow .15s; }
.s-btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 16px 34px -12px color-mix(in srgb, var(--primary) 90%, transparent); }
.s-btn.ghost { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.s-btn.light { background: #fff; color: var(--ink); }
.s-btn small { font-weight: 600; opacity: .8; font-size: .78rem; }
.s-btn .ico { width: 18px; height: 18px; }
.s-nav .s-btn { min-height: 42px; padding: 9px 16px; font-size: .92rem; }
@media (max-width: 820px) { .s-nav nav a.l { display: none; } .s-nav nav a.l.keep { display: inline-block; } .s-nav .brand img { height: 34px; } }

/* Abschnitte */
.s-sec { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.s-sec.tight { padding-top: 24px; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.s-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.s-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head.center .s-eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.s-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.04; letter-spacing: -.035em; margin: 12px 0 12px; }
.s-head p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); line-height: 1.55; margin: 0; }
.grad { background: linear-gradient(100deg, var(--primary), #e85d2a 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.s-hero { position: relative; color: #fff; background: #120e0d; margin-top: -68px; padding: calc(68px + clamp(40px, 7vw, 90px)) 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.s-hero .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; z-index: -2; }
.s-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px 420px at 15% 20%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 70%),
  radial-gradient(600px 400px at 90% 80%, rgb(245 183 0 / .22), transparent 70%), linear-gradient(180deg, rgb(18 14 13 / .4), #120e0d 96%); }
.s-hero .s-wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.s-hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: .98; letter-spacing: -.045em; margin: 16px 0 18px; font-weight: 900; }
.s-hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffb199, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-hero .lead { font-size: clamp(1.05rem, 1.9vw, 1.28rem); line-height: 1.55; color: #e8dfd9; max-width: 560px; margin: 0; }
.s-hero .pill { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); font-size: .84rem; font-weight: 700; backdrop-filter: blur(10px); }
.s-hero .pill b { color: var(--accent); }
.s-hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.s-hero .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .9rem; color: #d8cfc8; }
.s-hero .trust span { display: inline-flex; align-items: center; gap: 6px; }
.s-hero .trust .ico { width: 16px; height: 16px; color: #4ade80; }
.stage { position: relative; height: clamp(440px, 52vw, 600px); }
.stage .ph { position: absolute; width: clamp(200px, 22vw, 270px); aspect-ratio: 9 / 19.3; border-radius: 40px; border: 10px solid #0b0908; background: #000; overflow: hidden; box-shadow: 0 40px 80px -20px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .08); }
.stage .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.stage .ph.a { left: 6%; top: 4%; transform: rotate(-6deg); animation: floatA 7s ease-in-out infinite; }
.stage .ph.b { right: 4%; top: 14%; transform: rotate(5deg); animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { transform: rotate(-6deg) translateY(-12px); } }
@keyframes floatB { 50% { transform: rotate(5deg) translateY(10px); } }
.toast { position: absolute; display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 16px; background: rgb(255 255 255 / .94); color: var(--ink); box-shadow: 0 18px 40px -12px rgb(0 0 0 / .55); font-size: .86rem; line-height: 1.25;
  opacity: 0; transform: translateY(12px) scale(.96); animation: toastCycle 12s infinite; z-index: 3; min-width: 210px; }
.toast i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #fff; flex: none; }
.toast small { display: block; color: #6f6862; font-size: .74rem; }
.toast.t1 { left: 0; top: 58%; } .toast.t1 i { background: var(--primary); }
.toast.t2 { right: 0; top: 4%; animation-delay: 3s; } .toast.t2 i { background: #1f7a3a; }
.toast.t3 { left: 18%; bottom: 2%; animation-delay: 6s; } .toast.t3 i { background: #1d4ed8; }
.toast.t4 { right: 6%; bottom: 18%; animation-delay: 9s; } .toast.t4 i { background: #d98b1f; }
@keyframes toastCycle { 0% { opacity: 0; transform: translateY(12px) scale(.96); } 4%, 26% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (max-width: 900px) {
  .s-hero .s-wrap { grid-template-columns: 1fr; }
  .stage { height: 420px; margin-top: 8px; }
  .stage .ph { width: 190px; } .stage .ph.a { left: calc(50% - 200px); } .stage .ph.b { right: calc(50% - 200px); }
  .toast { min-width: 0; font-size: .8rem; } .toast.t1 { left: 0; } .toast.t3 { left: 4%; }
}

/* Laufband */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.marquee div { display: flex; gap: 40px; width: max-content; padding: 16px 0; animation: marq 30s linear infinite; font-weight: 750; color: var(--muted); white-space: nowrap; }
.marquee span::before { content: "✦"; color: var(--primary); margin-right: 40px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Karten, Raster */
.s-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--s-radius); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.snap { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.snap::-webkit-scrollbar { display: none; }
.snap > * { scroll-snap-align: start; }
@media (min-width: 980px) { .snap { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 4), 1fr); overflow: visible; margin: 0; padding: 0; } }
.step { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.step .n { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--primary), #e85d2a); }
.step h3 { margin: 4px 0 0; font-size: 1.15rem; } .step p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.step .shot { margin-top: auto; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Kennzahlen */
.stats { background: #120e0d; color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 120%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 45%, transparent), transparent 65%); }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; background: linear-gradient(100deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; color: #e8dfd9; line-height: 1.4; }
.stat small { display: block; margin-top: 8px; color: #9d948d; font-size: .74rem; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* Funktionen zum Durchklicken */
.tour-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 12px; margin: 0 -16px; }
.tour-tabs button { flex: none; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 999px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: none; font-weight: 700; min-height: 44px; }
.tour-tabs button .ico { width: 18px; height: 18px; color: var(--primary); }
.tour-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); } .tour-tabs button.on .ico { color: var(--accent); }
.tour-panel { display: none; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 14px; }
.tour-panel.on { display: grid; animation: fadeUp .4s ease; }
.tour-panel .frame { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .35); background: var(--surface-2); border: 1px solid var(--line); }
.tour-panel .frame img { width: 100%; display: block; }
.tour-panel.port .frame { max-width: 320px; justify-self: center; border: 10px solid #0b0908; border-radius: 40px; }
.tour-panel h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.03em; margin: 0 0 10px; line-height: 1.1; }
.tour-panel p { color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .tour-panel { grid-template-columns: 1fr; } }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
ul.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; line-height: 1.4; }
ul.ticks li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, #1f7a3a 14%, transparent); color: #1f7a3a; font-weight: 900; font-size: .78rem; }

/* Rechner */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.calc .s-card { padding: clamp(18px, 3vw, 28px); }
.calc label { display: grid; gap: 8px; font-weight: 700; margin-bottom: 18px; }
.calc label span { display: flex; justify-content: space-between; } .calc output { color: var(--primary); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--primary); height: 28px; }
.cbars { display: grid; gap: 12px; }
.cbar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-weight: 700; }
.cbar i { grid-column: 1 / -1; height: 14px; border-radius: 99px; background: var(--surface-2); overflow: hidden; display: block; }
.cbar i::after { content: ""; display: block; height: 100%; width: var(--w, 0); border-radius: inherit; background: #b9aea6; transition: width .35s ease; }
.cbar.tf i::after { background: linear-gradient(90deg, #1f7a3a, #4ade80); }
.save { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 900; letter-spacing: -.04em; color: #1f7a3a; line-height: 1; margin: 10px 0 4px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* Branchen */
.trade { border-radius: var(--s-radius); overflow: hidden; position: relative; aspect-ratio: 4 / 5; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.trade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s ease; }
.trade::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .78)); }
.trade div { padding: 20px; } .trade h3 { margin: 0 0 6px; font-size: 1.2rem; } .trade p { margin: 0; font-size: .92rem; color: #eee; line-height: 1.45; }
@media (hover: hover) { .trade:hover img { transform: scale(1.05); } }

/* Tarife */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.tier.feat { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, var(--surface)), var(--surface)); border: 2px solid var(--primary); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--primary) 60%, transparent); }
.tier .badge-top { position: absolute; top: -13px; left: 24px; background: linear-gradient(135deg, var(--primary), #e85d2a); color: #fff; font-size: .76rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.tier h3 { margin: 0; font-size: 1.35rem; } .tier .for { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.tier .price { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
.tier .price small { font-size: .95rem; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.tier .terms { font-size: .85rem; color: var(--muted); margin: 0; min-height: 2.5em; }
.tier ul.ticks { flex: 1; align-content: start; margin-top: 6px; font-size: .95rem; }
.tier .s-btn { margin-top: 10px; }
.tier details { font-size: .9rem; } .tier details summary { cursor: pointer; color: var(--primary); font-weight: 700; }
.tier details ul { margin-top: 10px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier.feat { order: -1; } }

/* Häufige Fragen */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.faq summary { font-weight: 750; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 10px 0 0; line-height: 1.6; }

/* Schluss und Fußzeile */
.final { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 56px); text-align: center; color: #fff; background: #120e0d; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 20% 0%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgb(245 183 0 / .25), transparent 70%); }
.final h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.04em; margin: 0 0 12px; line-height: 1.02; }
.final p { color: #e8dfd9; margin: 0 auto; max-width: 600px; }
.final .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.s-foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .88rem; }
.s-foot .s-wrap { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.s-foot img { height: 34px; } .s-foot .logo-dark { display: none; } .s-foot a { color: inherit; }
.s-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Fester Startknopf am Handy */
.s-ctabar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; transform: translateY(140%); transition: transform .3s ease; }
.s-ctabar.on { transform: none; }
.s-ctabar .s-btn { width: 100%; justify-content: space-between; min-height: 56px; border-radius: 18px; }
@media (max-width: 760px) { .s-ctabar { display: block; } body.site { padding-bottom: 76px; } }

/* Einblenden beim Scrollen (nur mit JavaScript, sonst sofort sichtbar) */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .stage .ph, .marquee div { animation: none; } .toast { animation: none; opacity: 1; transform: none; } .toast.t3, .toast.t4 { display: none; }
}

/* Rechtstexte */
.legal-hero { padding: 40px 0 8px; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.035em; margin: 10px 0 6px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 40px; }
.legal .toc { position: sticky; top: 90px; font-size: .9rem; display: grid; gap: 4px; }
.legal .toc a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 10px; }
.legal .toc a:hover { background: var(--surface-2); color: var(--text); }
.legal article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--s-radius); padding: clamp(20px, 4vw, 44px); line-height: 1.7; }
.legal article h2 { font-size: 1.25rem; margin: 30px 0 8px; letter-spacing: -.01em; scroll-margin-top: 90px; }
.legal article h2:first-child { margin-top: 0; }
.legal article ol.toc { display: none; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal .toc { position: static; display: none; } .legal article ol.toc { display: block; } }
.s-nav .s-btn { white-space: nowrap; }
@media (max-width: 420px) { .s-nav nav { gap: 2px; } .s-nav .s-btn { padding: 9px 12px; } .s-nav [data-theme-slot] { display: none; } }
@media (min-width: 900px) { .tour-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 12px; } }
