/* =========================================================
   Lennart Ehlers · Webdesign
   Konzept „Design-Canvas“: Punkteraster, Auswahlrahmen,
   Cursor, Anmerkungen. Die Seite zeigt, wie ein Designer arbeitet.
   ========================================================= */
@font-face { font-family: "Geist"; src: url("../assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("../assets/fonts/geist-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }

:root {
  --ink: #0A0F29;
  --text: #4B5270;
  --muted: #8A90A8;
  --line: #E6E8F0;
  --line-2: #D8DBE6;
  --bg: #FFFFFF;
  --canvas: #F5F6FA;
  --blue: #2E3BFF;
  --blue-d: #1E28D9;
  --blue-l: #EEF0FF;
  --blue-m: #C9CEFF;
  --navy: #0A0F29;
  --green: #12A150;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 32px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --sh: 0 1px 2px rgba(10,15,41,.05), 0 12px 32px -14px rgba(10,15,41,.18);
  --sh-lg: 0 2px 6px rgba(10,15,41,.05), 0 40px 80px -32px rgba(10,15,41,.35);
  --dots: radial-gradient(circle, #D3D7E4 1.1px, transparent 1.3px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Typo-Bausteine ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); margin-top: 20px; }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 64px); }
.head.c { text-align: center; margin-left: auto; margin-right: auto; }
.head.c .lead { max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(46,59,255,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--blue:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(10,15,41,.6); }
.btn--ink:hover { transform: translateY(-1px); background: #1a2045; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-1px); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-avatar { padding-left: 8px; }
.btn-avatar img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.on { border-bottom-color: var(--line); }
.hdr .wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1280px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17.5px; letter-spacing: -.03em; color: var(--ink); }
.logo svg { flex: none; }
.menu { display: flex; gap: 2px; }
.menu a { padding: 8px 14px; border-radius: 9px; font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.menu a:hover { background: var(--canvas); color: var(--ink); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.hdr-tel { font-size: 14.5px; font-weight: 550; color: var(--ink); padding: 0 8px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--canvas); place-items: center; color: var(--ink); }
.mnav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 0; text-align: center; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dots); background-size: 22px 22px; mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 25%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 25%, transparent 78%); }
.who { display: inline-flex; align-items: center; gap: 12px; padding: 5px 16px 5px 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh); font-size: 14.5px; color: var(--text); }
.who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.who b { color: var(--ink); font-weight: 600; }
.h1 { font-size: clamp(42px, 7vw, 88px); letter-spacing: -.055em; line-height: 1.02; max-width: 13.5ch; margin: 30px auto 0; }
.hero .lead { max-width: 580px; margin: 52px auto 0; font-size: clamp(17px, 1.6vw, 20px); }
.hero .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }

/* Auswahlrahmen wie im Design-Tool */
.sel { position: relative; display: inline-block; padding: 0 .1em; margin: 0 .04em; color: var(--blue); }
.sel::before { content: ""; position: absolute; inset: .02em 0 -.04em; border: 2px solid var(--blue); background: rgba(46,59,255,.06); pointer-events: none; }
.sel-w { position: relative; display: inline-grid; vertical-align: bottom; justify-items: start; transition: width .55s var(--ease); }
.sel-w > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(30%); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.sel-w > span.on { opacity: 1; transform: none; }
.sel-w > span.out { opacity: 0; transform: translateY(-30%); }
.hd { position: absolute; width: 11px; height: 11px; background: #fff; border: 2px solid var(--blue); border-radius: 2px; }
.hd.a { left: -5px; top: calc(.02em - 5px); } .hd.b { right: -5px; top: calc(.02em - 5px); }
.hd.c { left: -5px; bottom: calc(-.04em - 5px); } .hd.d { right: -5px; bottom: calc(-.04em - 5px); }
.sel-size { position: absolute; left: 50%; bottom: calc(-.04em - 30px); transform: translateX(-50%); font-size: 12px; font-weight: 600; letter-spacing: 0; color: #fff; background: var(--blue); padding: 2px 7px; border-radius: 5px; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cur { position: absolute; right: -58px; bottom: -44px; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; animation: curMove 7s ease-in-out infinite; }
.cur svg { width: 22px; height: 22px; filter: drop-shadow(0 3px 4px rgba(10,15,41,.25)); }
.cur em { margin-top: 16px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1; color: #fff; background: var(--ink); padding: 6px 9px; border-radius: 7px 7px 7px 2px; }
@keyframes curMove { 0%, 100% { transform: translate(0, 0); } 45% { transform: translate(-10px, -6px); } 70% { transform: translate(4px, 3px); } }

/* Projekt-Wand */
.wall { position: relative; height: clamp(360px, 44vw, 560px); margin-top: clamp(64px, 8vw, 96px); overflow: hidden; mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.wall::before, .wall::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none; }
.wall::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.wall::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.wall-in { position: absolute; left: 50%; top: 4%; display: grid; gap: 24px; transform: translateX(-50%) perspective(2400px) rotateX(26deg) rotateZ(-8deg); transform-origin: 50% 0; }
.wrow { overflow: visible; }
.wtrack { display: flex; gap: 24px; width: max-content; animation: wallL 70s linear infinite; }
.wrow:nth-child(2) .wtrack { animation-name: wallR; animation-duration: 80s; }
.wrow:nth-child(3) .wtrack { animation-duration: 90s; }
@keyframes wallL { to { transform: translateX(-50%); } }
@keyframes wallR { from { transform: translateX(-50%); } to { transform: none; } }
.wcard { width: clamp(280px, 30vw, 420px); aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(10,15,41,.06), 0 30px 50px -24px rgba(10,15,41,.35); }
.wcard img { width: 100%; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(84px, 11vw, 136px) 0; }
.sec--canvas { background-color: var(--canvas); background-image: var(--dots); background-size: 22px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Kunden */
.kgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 24px; }
.kcard { grid-column: span 2; display: block; }
.kcard.big { grid-column: span 3; }
.kshot { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh); transition: box-shadow .3s; }
.kshot img { width: 100%; transition: transform 5s cubic-bezier(.45,.05,.35,1); }
.kcard:hover .kshot { box-shadow: 0 0 0 2px var(--blue), var(--sh-lg); }
.kcard:hover .kshot img { transform: translateY(var(--shift, 0)); }
.kshot .frame-tag { position: absolute; left: -2px; top: -26px; font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); padding: 3px 8px; border-radius: 5px 5px 0 0; opacity: 0; transition: opacity .25s; }
.kcard:hover .frame-tag { opacity: 1; }
.kshot { overflow: hidden; }
.kmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 2px 0; }
.kmeta b { color: var(--ink); font-size: 17.5px; font-weight: 600; letter-spacing: -.02em; }
.kmeta span { font-size: 14.5px; color: var(--muted); }
.kgrid-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.kgrid-foot p { font-size: 20px; color: var(--ink); font-weight: 550; letter-spacing: -.02em; max-width: 34ch; line-height: 1.35; }

/* Design-Review mit Anmerkungen */
.review { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.rv-shot { position: relative; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-lg); }
.rv-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.rv-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.rv-img { aspect-ratio: 1200 / 733; overflow: hidden; border-radius: 0 0 16px 16px; }
.rv-img img { width: 100%; }
.pin { position: absolute; z-index: 2; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50% 50% 50% 4px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 8px 18px -4px rgba(46,59,255,.6); transition: transform .25s var(--ease), background .25s; }
.pin::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--blue); opacity: 0; animation: pinPulse 2.4s ease-out infinite; }
.pin.on, .pin:hover { transform: scale(1.18); background: var(--ink); }
@keyframes pinPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }
.rv-list { display: grid; gap: 4px; counter-reset: n; }
.rv-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; cursor: default; transition: background .25s, box-shadow .25s; }
.rv-list li.on { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh); }
.rv-list .n { width: 32px; height: 32px; border-radius: 50% 50% 50% 4px; background: var(--blue-l); color: var(--blue); font-size: 14px; font-weight: 700; display: grid; place-items: center; transition: background .25s, color .25s; }
.rv-list li.on .n { background: var(--blue); color: #fff; }
.rv-list b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; margin-top: 3px; }
.rv-list p { font-size: 15px; margin-top: 4px; }

/* Vorher / Nachher */
.ba { position: relative; aspect-ratio: 1200 / 733; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--sh-lg); container-type: inline-size; user-select: none; --p: 50%; }
.ba-new, .ba-old { position: absolute; inset: 0; }
.ba-new img { width: 100%; }
.ba-old { clip-path: inset(0 calc(100% - var(--p)) 0 0); background: #d9d9d9; font-family: "Times New Roman", Times, serif; color: #000; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; z-index: 4; box-shadow: 0 0 20px rgba(0,0,0,.3); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); display: grid; place-items: center; color: var(--blue); }
.ba-knob svg { width: 24px; height: 24px; }
.ba-tag { position: absolute; top: 16px; z-index: 3; font-family: var(--font); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; pointer-events: none; }
.ba-tag.l { left: 16px; background: #fff; color: #9b1c1c; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.ba-tag.r { right: 16px; background: var(--blue); color: #fff; }
/* Die alte Homepage (in cqw, skaliert mit) */
.old { position: absolute; inset: 2.2cqw 8cqw 0; background: #fff; border: 1px solid #999; }
.old-top { background: linear-gradient(#6d8fb3, #3c5d82); color: #fff; padding: 1.6cqw 2cqw; display: flex; align-items: center; gap: 1.6cqw; }
.old-top .lg { width: 5cqw; height: 5cqw; background: #c9a227; border: .3cqw ridge #fff; }
.old-top b { font-size: 3cqw; font-style: italic; text-shadow: .2cqw .2cqw 0 #1b2c40; }
.old-top small { display: block; font-size: 1.3cqw; }
.old-nav { background: #e8e8e8; border-bottom: 1px solid #999; padding: .8cqw 2cqw; font-size: 1.5cqw; }
.old-nav a { color: #0000ee; text-decoration: underline; margin-right: 1.4cqw; }
.old-body { display: grid; grid-template-columns: 17cqw 1fr; }
.old-side { background: #f0f0e0; border-right: 1px solid #bbb; padding: 1.6cqw; font-size: 1.35cqw; line-height: 1.5; }
.old-side p + p { margin-top: 1cqw; }
.old-side .cnt { display: inline-block; background: #000; color: #0f0; font-family: "Courier New", monospace; padding: .2cqw .6cqw; }
.old-main { padding: 2cqw 2.4cqw; }
.old-main h4 { font-family: "Comic Sans MS", "Times New Roman", serif; color: #cc0000; font-size: 3.2cqw; letter-spacing: 0; text-align: center; font-weight: 700; }
.old-main p { font-size: 1.55cqw; line-height: 1.45; margin-top: 1.4cqw; }
.old-main .ph { float: right; width: 18cqw; margin: 1.4cqw 0 1cqw 2cqw; border: .3cqw solid #666; filter: saturate(.4) contrast(.85) blur(.6px); }
.old-main .u { color: #0000ee; text-decoration: underline; }
.old-main .blink { color: #cc0000; font-weight: 700; }
.old-foot { position: absolute; left: 0; right: 0; bottom: 0; background: #e8e8e8; border-top: 1px solid #999; padding: .8cqw 2cqw; font-size: 1.25cqw; color: #555; }
.ba-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.ba-caps div { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ba-caps b { color: var(--ink); font-weight: 600; }
.ba-caps .x, .ba-caps .v { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }
.ba-caps .x { background: #FDECEC; color: #C62828; }
.ba-caps .v { background: var(--blue-l); color: var(--blue); }

/* Leistungen: alles inklusive */
.incl { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: stretch; }
.incl-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--blue); color: #fff; padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; isolation: isolate; }
.incl-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,.22) 1.1px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(200deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); }
.incl-card h3 { color: #fff; font-size: clamp(28px, 3vw, 38px); }
.incl-card p { color: rgba(255,255,255,.82); margin-top: 16px; }
.incl-price { margin-top: auto; padding-top: 40px; }
.incl-price small { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.incl-price b { display: block; font-size: clamp(40px, 5vw, 58px); font-weight: 650; letter-spacing: -.05em; line-height: 1.05; }
.incl-price .btn { margin-top: 24px; }
.incl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.incl-list li { background: #fff; padding: 26px 24px; transition: background .25s; }
.incl-list li:hover { background: #FAFBFF; }
.incl-list .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.incl-list .ic svg { width: 20px; height: 20px; }
.incl-list b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.incl-list p { font-size: 14.5px; margin-top: 5px; line-height: 1.55; }

/* Ablauf als Projektplan */
.plan { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), var(--sh); overflow: hidden; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.plan-top b { color: var(--ink); font-weight: 600; }
.plan-top span { font-size: 13.5px; color: var(--muted); }
.plan-top .live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green); background: #E7F7EE; padding: 5px 11px; border-radius: 999px; }
.plan-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pgrid { display: grid; grid-template-columns: minmax(260px, 1.25fr) repeat(5, 1fr); }
.pgrid .wk { padding: 12px 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); background: var(--canvas); border-bottom: 1px solid var(--line); }
.pgrid .wk0 { background: var(--canvas); border-bottom: 1px solid var(--line); }
.prow { display: contents; }
.plabel { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.plabel .n { font-size: 13px; font-weight: 600; color: var(--blue); }
.plabel b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.plabel p { font-size: 14.5px; margin-top: 4px; line-height: 1.5; }
.ptrack { grid-column: 2 / -1; position: relative; border-bottom: 1px solid var(--line); background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20% 100%; }
.pbar { min-width: 44px; position: absolute; top: 50%; height: 40px; margin-top: -20px; left: var(--s); width: 0; border-radius: 10px; background: var(--blue-l); box-shadow: inset 0 0 0 1.5px var(--blue-m); display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--blue); transition: width 1s var(--ease); }
.pbar.solid { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(46,59,255,.7); }
.plan.in .pbar { width: var(--w); }
.plan.in .prow:nth-child(2) .pbar { transition-delay: .15s; } .plan.in .prow:nth-child(3) .pbar { transition-delay: .3s; } .plan.in .prow:nth-child(4) .pbar { transition-delay: .45s; }
.prow:last-child .plabel, .prow:last-child .ptrack { border-bottom: 0; }

/* Förderung */
.fund { position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: #B8BEDA; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; isolation: isolate; }
.fund::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,.09) 1.1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 20% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000, transparent 70%); }
.fund::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; bottom: -320px; background: radial-gradient(closest-side, rgba(46,59,255,.55), transparent); }
.fund .kicker { color: #8F98FF; }
.fund h2 { color: #fff; }
.fund .lead { color: #B8BEDA; }
.ticks { display: grid; gap: 12px; margin: 28px 0 34px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #E3E6F5; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.calc { background: #fff; color: var(--text); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.calc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.calc-top b { color: var(--ink); font-weight: 600; font-size: 17px; }
.calc-top small { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-l); padding: 4px 10px; border-radius: 999px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--canvas); border: 1px solid var(--line); padding: 4px; border-radius: 12px; margin-bottom: 24px; }
.seg button { padding: 10px; border-radius: 9px; font-weight: 550; font-size: 14.5px; transition: .25s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; margin-bottom: 14px; }
.calc output { color: var(--ink); font-weight: 650; font-size: 18px; }
input[type=range].rng { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p, 25%), var(--line) var(--p, 25%)); outline: none; margin: 0; }
input[type=range].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 8px rgba(46,59,255,.35); cursor: grab; }
input[type=range].rng::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); cursor: grab; }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.rows { margin-top: 18px; }
.rows div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows b { color: var(--ink); font-weight: 600; }
.rows .minus b { color: var(--green); }
.total { margin-top: 16px; background: var(--blue-l); border-radius: 14px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.total span { color: var(--ink); font-weight: 550; }
.total b { color: var(--blue); font-size: 32px; font-weight: 700; letter-spacing: -.04em; }
.calc-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* Über mich */
.me { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.me-photo { position: relative; }
.me-photo .ph { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.7; box-shadow: var(--sh-lg); }
.me-photo .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.me-photo .sel-frame { position: absolute; inset: -12px; border: 2px solid var(--blue); border-radius: 26px; pointer-events: none; }
.me-photo .sel-frame .hd { border-radius: 2px; }
.me-photo .sel-frame .hd.a { left: -6px; top: -6px; } .me-photo .sel-frame .hd.b { right: -6px; top: -6px; }
.me-photo .sel-frame .hd.c { left: -6px; bottom: -6px; } .me-photo .sel-frame .hd.d { right: -6px; bottom: -6px; }
.me-photo .name-tag { position: absolute; left: -2px; top: -40px; font-size: 13px; font-weight: 600; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: 6px 6px 6px 0; }
.me-text p + p { margin-top: 16px; }
.me-text .lead { color: var(--ink); font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -.015em; line-height: 1.45; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0; }
.facts div { padding: 20px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--ink); font-size: 26px; font-weight: 650; letter-spacing: -.04em; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
.me .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .btn { margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: 9px; background: var(--canvas); transition: background .25s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: .3s var(--ease); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--blue); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 60px 26px 0; font-size: 16px; }

/* Abschluss */
.final { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--blue); color: rgba(255,255,255,.85); text-align: center; padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,.2) 1.1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, #000 90%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, #000 90%); }
.final h2 { color: #fff; font-size: clamp(36px, 5.4vw, 66px); max-width: 15ch; margin: 0 auto; }
.final p { max-width: 540px; margin: 22px auto 0; font-size: 18px; }
.final .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.final .btn--ghostw { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.final .btn--ghostw:hover { background: rgba(255,255,255,.2); }
.final .small { margin-top: 22px; font-size: 14.5px; color: rgba(255,255,255,.7); }

/* Footer */
.ftr { padding: 64px 0 32px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.ftr-grid p { font-size: 15px; margin-top: 16px; max-width: 300px; }
.ftr-grid h4 { font-size: 14px; letter-spacing: 0; color: var(--ink); margin-bottom: 14px; }
.ftr-grid ul { display: grid; gap: 10px; font-size: 15px; }
.ftr-grid a:hover { color: var(--blue); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ftr-bottom nav { display: flex; gap: 20px; }

/* Einblenden */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .d1 { transition-delay: .08s; } .js .d2 { transition-delay: .16s; } .js .d3 { transition-delay: .24s; }
.intro { animation: up .9s var(--ease) both; }
.i1 { animation-delay: .1s; } .i2 { animation-delay: .2s; } .i3 { animation-delay: .3s; } .i4 { animation-delay: .45s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu, .hdr-tel, .hdr-cta .btn { display: none; }
  .burger { display: grid; }
  .mnav { display: block; position: fixed; top: 74px; left: 0; right: 0; z-index: 59; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); padding: 8px var(--gut) 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
  .mnav.open { opacity: 1; visibility: visible; transform: none; }
  .mnav a:not(.btn) { display: block; padding: 14px 2px; font-size: 17px; font-weight: 550; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav .btn { width: 100%; margin-top: 16px; }
  .kgrid { grid-template-columns: 1fr 1fr; }
  .kcard, .kcard.big { grid-column: span 1; }
  .kcard:last-child { grid-column: 1 / -1; }
  .review, .incl, .fund, .me, .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .me-photo { max-width: 460px; margin: 20px auto 0; width: 100%; }
  .pgrid { grid-template-columns: 1fr; }
  .pgrid .wk, .pgrid .wk0 { display: none; }
  .plabel { border-bottom: 0; padding-bottom: 8px; }
  .ptrack { grid-column: auto; height: 60px; margin: 0 26px 18px; border: 1px solid var(--line); border-radius: 10px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .hdr .wrap { height: 64px; }
  .mnav { top: 64px; }
  .hero .btns .btn { width: 100%; }
  .cur { display: none; }
  .sel-size { display: none; }
  .wall-in { transform: translateX(-50%) perspective(1600px) rotateX(24deg) rotateZ(-8deg); }
  .kgrid { grid-template-columns: 1fr; }
  .kcard:last-child { grid-column: auto; }
  .incl-list { grid-template-columns: 1fr 1fr; }
  .incl-list li { padding: 18px 16px; }
  .incl-list p { display: none; }
  .incl-list b { font-size: 15px; }
  .who { font-size: 13px; }
  .total b { font-size: 26px; white-space: nowrap; }
  .seg button { font-size: 13.5px; }
  .plan-top { flex-wrap: wrap; padding: 16px 18px; }
  .ptrack { margin: 0 18px 16px; height: 44px; }
  .plabel { padding: 18px 18px 8px; }
  .pbar { height: 30px; margin-top: -15px; font-size: 11.5px; padding: 0 8px; }
  .ba-caps { grid-template-columns: 1fr; gap: 12px; }
  .ba-tag { top: 10px; font-size: 11.5px; padding: 4px 9px; }
  .ba-tag.l { left: 10px; } .ba-tag.r { right: 10px; }
  .ba-knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; }
  .rv-list li { padding: 12px 14px; }
  .facts b { font-size: 21px; }
  .facts div + div { padding-left: 12px; }
  .faq details p { padding-right: 0; }
  .me .btns .btn, .final .btns .btn { width: 100%; }
  .ftr-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .plan .pbar { width: var(--w); }
}

/* Logo-Bildmarke */
.logo-img { flex: none; display: block; width: 34px; height: 34px; border-radius: 9px; }
.ftr .logo-img { width: 38px; height: 38px; }
