/* Layout: zentrierter Dark-Hero mit Glow und Gitter, danach Bento-Raster, Ritello-Querschnitt, Ablauf, FAQ, Kontakt; Rechtstexte als eigene Ansicht per #impressum / #datenschutz */
:root {
  --bg: #050b14;
  --bg2: #0a1524;
  --surface: rgba(255,255,255,.045);
  --surface-strong: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.1);
  --fg: #eaf1fa;
  --muted: #92a6bf;
  --blue: #3aa3e6;
  --teal: #36c4d8;
  --green: #62c471;
  --navy: #0b2e5c;
  --btn-fg: #04101f;
  --glow1: rgba(58,163,230,.28);
  --glow2: rgba(54,196,216,.16);
  --grid: rgba(255,255,255,.045);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  --font-body: "Manrope", ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Newsreader", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f8fc; --bg2: #ffffff; --surface: rgba(255,255,255,.75); --surface-strong: #ffffff;
    --line: rgba(11,46,92,.11); --fg: #0b2342; --muted: #506683; --blue: #0a72b8; --teal: #1a8fa6; --green: #2e8b45;
    --btn-fg: #ffffff; --glow1: rgba(10,114,184,.16); --glow2: rgba(26,143,166,.1); --grid: rgba(11,46,92,.05);
    --shadow: 0 30px 70px -30px rgba(11,46,92,.3); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f8fc; --bg2: #ffffff; --surface: rgba(255,255,255,.75); --surface-strong: #ffffff;
  --line: rgba(11,46,92,.11); --fg: #0b2342; --muted: #506683; --blue: #0a72b8; --teal: #1a8fa6; --green: #2e8b45;
  --btn-fg: #ffffff; --glow1: rgba(10,114,184,.16); --glow2: rgba(26,143,166,.1); --grid: rgba(11,46,92,.05);
  --shadow: 0 30px 70px -30px rgba(11,46,92,.3); color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.wrap { max-width: 1160px; margin: 0 auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
.acc { font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.grad { background: linear-gradient(100deg, var(--teal), var(--blue) 55%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding: 14px 0; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .acc { color: var(--blue); font-size: 22px; font-weight: 500; margin-left: -4px; }
.brand svg { width: 28px; height: 28px; flex: none; }
.links { display: flex; gap: 4px; }
.links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover { color: var(--fg); background: var(--surface-strong); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; padding: 13px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--teal), var(--blue)); color: var(--btn-fg); box-shadow: 0 10px 30px -10px var(--blue); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px var(--blue); }
.btn.ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-strong); }
.btn.sm { padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; text-align: center; padding: 64px 0 24px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -140px -40vw auto; height: 760px; z-index: -1;
  background: radial-gradient(520px 340px at 50% 22%, var(--glow1), transparent 70%), radial-gradient(420px 260px at 78% 30%, var(--glow2), transparent 70%), radial-gradient(420px 260px at 22% 34%, var(--glow2), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: -140px -40vw auto; height: 640px; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); }
.pill b { background: linear-gradient(135deg, var(--teal), var(--blue)); color: var(--btn-fg); border-radius: 999px; padding: 3px 10px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(44px, 8.2vw, 92px); font-weight: 800; margin: 26px auto 0; max-width: 11.5em; }
.hero h1 .acc { font-size: 1.04em; display: block; }
.hero .lead { max-width: 640px; margin: 24px auto 0; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* Vorher/Nachher */
.stage { position: relative; margin: 56px auto 0; max-width: 940px; padding: 12px; border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-strong), var(--surface)); box-shadow: var(--shadow); }
.stage::before { content: ""; position: absolute; inset: -1px; border-radius: 32px; padding: 1px; background: linear-gradient(160deg, color-mix(in srgb, var(--teal) 60%, transparent), transparent 40%, transparent 70%, color-mix(in srgb, var(--blue) 50%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ba { position: relative; aspect-ratio: 8 / 5; border-radius: 22px; overflow: hidden; background: radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--blue) 22%, var(--bg2)), var(--bg2)); --p: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba .layer { position: absolute; inset: 0; display: grid; place-items: center; padding: 4%; }
.ba .layer svg { width: 100%; height: 100%; display: block; }
.ba .before { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 24px rgba(255,255,255,.6); pointer-events: none; }
.ba .handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); display: grid; place-items: center; }
.ba .handle i svg { width: 22px; height: 22px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible + .handle i { outline: 3px solid var(--blue); outline-offset: 3px; }
.tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(5,11,20,.6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; z-index: 2; }
.tag.l { left: 14px; } .tag.r { right: 14px; }
.cap { text-align: center; font-size: 13px; color: var(--muted); padding: 14px 8px 4px; }
.fab { fill: var(--fabric); } .stitch { stroke: var(--st); stroke-width: 1.4; fill: none; } .pipe { stroke: var(--pipe); fill: none; stroke-width: 3; }
.after { --fabric: #e8f2fc; --st: rgba(47,140,210,.28); --pipe: rgba(47,140,210,.45); }
.before { --fabric: #cdbd9f; --st: rgba(86,64,30,.3); --pipe: rgba(86,64,30,.45); }
.after .soil, .before .fresh { display: none; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 940px; margin: 28px auto 0; }
.chip { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 14px; font-weight: 600; text-align: left; }
.chip svg { width: 20px; height: 20px; flex: none; stroke: var(--teal); }

/* Sections */
section.s { padding: 110px 0 0; }
.head { max-width: 680px; }
.head.c { margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-top: 14px; }
.head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 48px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--surface-strong), var(--surface)); padding: 30px; min-width: 0; }
.card h3 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 44ch; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 16%, transparent); margin-bottom: 22px; }
.card .ic svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow1), transparent); opacity: .7; pointer-events: none; }
.c7 { grid-column: span 7; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c4 { grid-column: span 4; }
.list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.list li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }

/* Ritello */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 8px; }
.split > * { min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.ticks svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ticks b { display: block; font-size: 17px; }
.ticks span { color: var(--muted); font-size: 15px; }
.xs { border: 1px solid var(--line); border-radius: 30px; padding: 14px; background: linear-gradient(180deg, var(--surface-strong), var(--surface)); box-shadow: var(--shadow); }
.xs svg { width: 100%; height: auto; display: block; border-radius: 20px; background: radial-gradient(80% 80% at 50% 0%, color-mix(in srgb, var(--blue) 20%, var(--bg2)), var(--bg2)); }
.xs text { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; fill: var(--muted); text-transform: uppercase; }
.dust { fill: #b99a62; animation: rise 3.6s ease-in infinite; transform-box: fill-box; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .95; } 80% { opacity: .9; } 100% { transform: translateY(-120px); opacity: 0; } }
.flow { stroke: var(--teal); stroke-width: 2; fill: none; stroke-dasharray: 6 8; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; counter-reset: st; }
.step { position: relative; padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); min-width: 0; }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 800; background: linear-gradient(135deg, var(--teal), var(--blue)); color: var(--btn-fg); margin-bottom: 20px; }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 780px; margin: 44px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--teal); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 15.5px; max-width: 62ch; }

/* Kontakt */
.contact { margin-top: 110px; border: 1px solid var(--line); border-radius: 36px; padding: clamp(24px, 5vw, 56px); background: radial-gradient(60% 80% at 85% 0%, var(--glow1), transparent 70%), linear-gradient(180deg, var(--surface-strong), var(--surface)); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 64px); }
.contact > * { min-width: 0; }
.contact h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin-top: 14px; }
.contact .lead { margin-top: 16px; color: var(--muted); font-size: 17px; }
.reach { display: grid; gap: 12px; margin-top: 30px; }
.reach .row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.reach .row > svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.reach small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reach .val { font-weight: 700; font-size: 16px; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.reach .grow { flex: 1; min-width: 0; }
.copy { font: inherit; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-strong); color: var(--fg); cursor: pointer; flex: none; }
.copy:hover { border-color: var(--teal); }
form { display: grid; gap: 14px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font: inherit; font-size: 16px; font-weight: 500; color: var(--fg); background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; width: 100%; min-width: 0; }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 500; font-size: 13.5px; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.note { font-size: 13px; color: var(--muted); }
#result { display: none; border: 1px solid color-mix(in srgb, var(--green) 50%, var(--line)); background: color-mix(in srgb, var(--green) 9%, transparent); border-radius: 18px; padding: 18px; font-size: 14.5px; }
#result.on { display: block; }
#result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; margin: 10px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); user-select: all; -webkit-user-select: all; }

/* Social */
.social { margin-top: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 32px; background: radial-gradient(50% 120% at 0% 50%, var(--glow2), transparent 70%), linear-gradient(180deg, var(--surface-strong), var(--surface)); }
.social h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-top: 10px; }
.social p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.soc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sbtn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-strong); color: var(--fg); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s, border-color .2s; }
.sbtn:hover { transform: translateY(-1px); border-color: var(--teal); }
.sbtn svg { width: 24px; height: 24px; flex: none; }
.foot nav a.ficon { padding: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.foot nav a.ficon svg { width: 22px; height: 22px; }
.foot nav a.off { opacity: .55; cursor: default; }
.sbtn .soon { display: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sbtn.off { opacity: .6; cursor: default; }
.sbtn.off:hover { transform: none; border-color: var(--line); }
.sbtn.off .soon { display: inline; }

/* Footer */
footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 44px 0 56px; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot img { width: 112px; height: 112px; border-radius: 22px; display: block; }
.foot p { color: var(--muted); font-size: 14px; max-width: 44ch; }
.foot nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.foot nav a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.foot nav a:hover { background: var(--surface-strong); }
.copyr { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* Rechtstexte */
.legal { padding: 64px 0 0; max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 800; margin: 18px 0 8px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 10px; letter-spacing: -.01em; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.legal strong { color: var(--fg); }
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--teal); }
.ph { border-bottom: 1px dashed var(--teal); color: var(--fg); font-weight: 600; }
.hint { margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 16px; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .links { display: none; }
  .split, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .c7, .c5, .c6, .c4 { grid-column: span 12; }
  .foot { grid-template-columns: 1fr; justify-items: start; }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .steps, .f2 { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  section.s { padding-top: 80px; }
  .nav-in .btn { padding: 9px 16px; }
  .ba { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dust, .flow { animation: none; }
  .dust { opacity: .7; }
  .btn { transition: none; }
}