/* ==========================================================================
   LoggX – style.css
   Schriften lokal (DSGVO): Bricolage Grotesque (Überschriften) + Plus Jakarta Sans (Text)
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; 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: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-stretch: 75% 100%; 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+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; 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: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; 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+2C60-2C7F,U+A720-A7FF;
}

/* Lenis (weiches Scrollen) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

:root {
  --ink: #0F2540;        /* Marken-Navy */
  --ink-2: #16314F;
  --ink-3: #21456B;
  --sun: #FFD166;        /* Signalgelb aus dem Logo */
  --cobalt: #3B5BFF;
  --paper: #F3F6FB;      /* kühles Weiß */
  --white: #FFFFFF;
  --line: #D9E1EC;
  --muted: #5B6B80;
  --muted-ink: #A9B8CC;
  --danger: #E5484D;
  --ok: #1FA67A;

  --font-display: "Bricolage", "Jakarta", system-ui, sans-serif;
  --font-body: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;

  /* Semantische Farben (hell) */
  --bg: #FFFFFF;
  --bg-alt: #F3F6FB;
  --surface: #FFFFFF;
  --text: #0F2540;
  --text-2: #33475F;
  --text-muted: #5B6B80;
  --border: #D9E1EC;
  --ink-bg: #0F2540;
  --featured: #0F2540;
  --btn: #0F2540;
  --btn-fg: #FFFFFF;
  --mark: #0F2540;
  --header-bg: rgba(255,255,255,.96);
  --shadow: rgba(15,37,64,.45);
  color-scheme: light;
}

/* ---------- Dunkelmodus ---------- */
:root[data-theme="dark"] {
  --bg: #0A1628;
  --bg-alt: #0E1D33;
  --surface: #13263F;
  --text: #E7EDF6;
  --text-2: #C3CFDE;
  --text-muted: #93A4BA;
  --border: #22395A;
  --ink-bg: #061020;
  --featured: #1A3456;
  --btn: #FFD166;
  --btn-fg: #0F2540;
  --mark: #1F3D63;
  --header-bg: rgba(10,22,40,.94);
  --shadow: rgba(0,0,0,.6);
  color-scheme: dark;
}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-stretch: 88%; font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: 1rem 1.7rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .35s;
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: var(--fill, var(--cobalt));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px var(--shadow); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --bg: var(--btn); --fg: var(--btn-fg); --fill: var(--cobalt); }
.btn-primary:hover { color: #fff; }
.btn-yellow { --bg: var(--sun); --fg: var(--ink); --fill: var(--white); }
.btn-ghost { --bg: transparent; --fg: var(--text); --fill: var(--text); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { color: var(--bg); }
.section-ink .btn-ghost { --fg: var(--white); --fill: var(--white); }
.section-ink .btn-ghost:hover { color: var(--ink); }
.btn-block { width: 100%; }
.btn-small { padding: .7rem 1.1rem; font-size: .9rem; }
.btn.is-loading { pointer-events: none; opacity: .75; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 500; height: var(--header-h); display: flex; align-items: center;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.site-header.is-scrolled { background: var(--header-bg); box-shadow: 0 1px 0 var(--border); }
.site-header.is-hidden { transform: translateY(-100%); }
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { display: inline-flex; color: var(--mark); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font: 800 1.45rem/1 var(--font-display); letter-spacing: -0.03em; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a { position: relative; display: block; padding: .55rem .8rem; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 999px; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav a:not(.nav-cta):hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--btn); color: var(--btn-fg) !important; padding: .7rem 1.2rem !important; margin-left: 8px; transition: background .3s; }
.nav-cta:hover { background: var(--cobalt); color: #fff !important; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.theme-toggle:hover { transform: rotate(-12deg) scale(1.06); border-color: var(--sun); }
.theme-toggle svg { position: absolute; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), opacity .4s; }
.theme-toggle .i-moon { transform: translateY(140%) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .i-sun { transform: translateY(-140%) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .i-moon { transform: none; opacity: 1; color: var(--sun); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--btn); cursor: pointer; position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--btn-fg); transition: transform .4s var(--ease); }
.nav-toggle span:first-child { top: 19px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 820px); padding: calc(var(--header-h) + 30px) 0 60px; display: flex; align-items: center; background: var(--bg-alt); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-x { position: absolute; right: -4vw; top: 50%; width: min(52vw, 660px); transform: translateY(-50%); opacity: .55; }
[data-theme="dark"] .hero-x { opacity: .22; }
[data-theme="dark"] .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23E7EDF6' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
[data-theme="dark"] .faq[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%230F2540' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
[data-theme="dark"] .reference-frame, [data-theme="dark"] .shot-frame { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.hx { stroke: var(--sun); stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawX 1.2s var(--ease) .2s forwards; }
@keyframes drawX { to { stroke-dashoffset: 0; } }
.hx-b { stroke: #FFE29E; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; margin-bottom: 1.4rem; }
.hero-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,166,122,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(31,166,122,0); } 100% { box-shadow: 0 0 0 0 rgba(31,166,122,0); } }
.hero-title { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .94; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1.6rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line-in { display: block; }
.hero-title .line-in { animation: lineUp .9s var(--ease) both; }
.hero-title .line:nth-child(2) .line-in { animation-delay: .08s; } .hero-title .line:nth-child(3) .line-in { animation-delay: .16s; } .hero-title .line:nth-child(4) .line-in { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(110%); } }
.rotator { position: relative; height: 1em; color: var(--cobalt); font-stretch: 78%; letter-spacing: -0.01em; }
.rot-word { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(105%); transition: transform .8s var(--ease); }
.rot-word.is-active { transform: translateY(0); }
.rot-word.is-out { transform: translateY(-105%); }
.rotator-line { height: 1.02em; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 40ch; color: var(--text-2); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.6rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin: 0; }
.hero-facts dt { font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.hero-facts dd { margin: 0; font: 800 1.6rem/1.1 var(--font-display); letter-spacing: -0.02em; }
[data-hero-in] { animation: fadeUp .8s var(--ease) .3s both; }
.hero-stage .phone { animation: phoneIn 1s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-left { transform: translateX(-40px); } .js .reveal-right { transform: translateX(40px); } .js .reveal-zoom { transform: scale(.94); }
.js .reveal-left.is-visible, .js .reveal-right.is-visible, .js .reveal-zoom.is-visible { transform: none; }
.section-head h2, .process-head h2, .about-copy h2, .contact-title { position: relative; width: fit-content; }
.section-head h2::after, .process-head h2::after, .about-copy h2::after { content: ""; display: block; height: 5px; width: 64px; margin-top: 14px; border-radius: 5px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s; }
.js .is-visible h2::after, html:not(.js) h2::after { transform: scaleX(1); }
.js .step-num { transform: scale(.4); opacity: 0; transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .4s; }
.js .step.is-visible .step-num { transform: scale(1); opacity: 1; transition-delay: .15s; }

.hero-stage { position: relative; height: min(60vh, 520px); }
.phone { position: absolute; width: 44%; aspect-ratio: 390/844; border-radius: 30px; padding: 7px; background: var(--ink); box-shadow: 0 30px 50px -24px rgba(15,37,64,.5); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: var(--ink); border-radius: 999px; z-index: 2; }
.phone-1 { left: 0; top: 10%; rotate: -7deg; z-index: 1; }
.phone-2 { left: 27%; top: 0; z-index: 3; }
.phone-3 { right: 0; top: 14%; rotate: 6deg; z-index: 2; }
.hero-stage .phone-1 { animation: phoneIn 1s var(--ease) .25s both, float 7s ease-in-out 1.3s infinite; }
.hero-stage .phone-2 { animation: phoneIn 1s var(--ease) .1s both, float 6s ease-in-out 1.1s infinite reverse; }
.hero-stage .phone-3 { animation: phoneIn 1s var(--ease) .4s both, float 8s ease-in-out 1.4s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }

/* ---------- Designbeispiele ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.shot { margin: 0; cursor: pointer; }
.shot-frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -28px rgba(0,0,0,.7); transition: transform .4s var(--ease); }
.shot:hover .shot-frame, .shot:focus-visible .shot-frame { transform: translateY(-6px); }
.shot-bar, .frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E9EEF5; }
.shot-bar i, .frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C5CFDC; }
.shot-bar i:first-child, .frame-bar i:first-child { background: #FF6159; } .shot-bar i:nth-child(2), .frame-bar i:nth-child(2) { background: #FFBD2E; } .shot-bar i:nth-child(3), .frame-bar i:nth-child(3) { background: #28C941; }
.shot-bar em, .frame-bar em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--muted); margin-left: 8px; padding: 2px 10px; background: #fff; border-radius: 6px; }
.shot-frame { position: relative; }
.shot-img { aspect-ratio: 16/10; overflow: hidden; }
.shot-img img { width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s var(--ease); }
.shot:hover .shot-img img, .shot:focus-visible .shot-img img { transform: translateY(var(--scroll, -60%)); transition: transform 6s linear; }
.shot-hint { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .8rem; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.shot:hover .shot-hint, .shot:focus-visible .shot-hint { opacity: 1; transform: none; }
@media (hover: none) { .shot-hint { opacity: 1; transform: none; } }
.shot figcaption { padding-top: 12px; }
.shot figcaption strong { display: block; font: 700 1.15rem/1.2 var(--font-display); }
.shot figcaption span { color: var(--muted-ink); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; }
.section-paper { background: var(--bg-alt); }
.section-ink { background: var(--ink-bg); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 440px); align-items: end; gap: 12px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin: 0; color: var(--text-muted); font-size: 1.02rem; }
.section-ink .section-head p { color: var(--muted-ink); }
.split-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-title .w > span { display: inline-block; }

/* ---------- Leistungen ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.service { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--border); cursor: default; transition: color .3s; }
.service:hover, .service:hover p { color: var(--ink); }
.service::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--sun); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.service:hover::before { transform: scaleY(1); }
.service h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 85%; letter-spacing: -0.025em; transition: transform .55s var(--ease); }
.service:hover h3 { transform: translateX(8px); }
.service p { margin: 0; color: var(--text-2); max-width: 48ch; transition: color .3s; }
.service-arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; transition: transform .55s var(--ease), background .3s; }
a.service-arrow { color: inherit; text-decoration: none; flex: none; }
a.service-arrow::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service { cursor: pointer; }
.service:has(.service-arrow:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }
a.service-arrow:focus-visible { outline: none; }
.service-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service-arrow { background: var(--ink); border-color: var(--ink); color: var(--sun); }
.service-arrow svg { transition: transform .55s var(--ease); }
.service:hover .service-arrow svg { transform: rotate(45deg); }

/* ---------- Referenzen ---------- */
.references { display: grid; gap: clamp(48px, 6vw, 80px); }
.reference { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.reference-flip .reference-frame { order: 2; }
.reference-frame { display: block; border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 30px 60px -36px rgba(0,0,0,.7); transition: transform .4s var(--ease); }
.reference-frame:hover { transform: translateY(-6px); }
.frame-body { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--paper), #DCE6F5); }
.frame-title { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); font: 800 clamp(1.6rem, 3vw, 2.6rem)/1 var(--font-display); letter-spacing: -0.03em; }
.frame-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame-shot.is-missing { display: none; }
.reference-label { color: var(--sun); font-weight: 700; margin-bottom: .6rem; }
.reference-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.reference-copy > p { color: var(--muted-ink); }
.reference-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 1.4rem 0 2rem; }
.reference-tags li { padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .88rem; font-weight: 600; }
.reference-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.reference-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }

/* ---------- Ablauf ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.process-head { position: sticky; top: calc(var(--header-h) + 40px); }
.process-head p { color: var(--text-muted); font-size: 1.1rem; margin-top: 1.4rem; max-width: 34ch; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 3.5vw, 44px); }
.steps-line { position: absolute; left: 25px; top: 10px; bottom: 10px; width: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.steps-line::after { content: ""; position: absolute; inset: 0; background: var(--cobalt); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) .2s; }
.steps.is-visible .steps-line::after { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); border: 0; color: var(--white); font: 800 1.25rem/1 var(--font-display); transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease); }
.step.is-active .step-num { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); transform: scale(1.1); }
.step h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; margin: .6rem 0 .7rem; letter-spacing: -0.03em; }
.step p { color: var(--text-muted); margin: 0; max-width: 46ch; }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; perspective: 1200px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; background: var(--surface); border-radius: var(--radius-l); border: 1px solid var(--border); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .7s var(--ease); }
.plan:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px var(--shadow); }
.plan::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-18deg) translateX(0); transition: transform .9s var(--ease); pointer-events: none; }
.plan:hover::after { transform: skewX(-18deg) translateX(420%); }
.plan h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.plan-price { font: 800 clamp(2rem, 3vw, 2.6rem)/1 var(--font-display); letter-spacing: -0.04em; margin-bottom: .8rem; font-variant-numeric: tabular-nums; }
.plan-for { color: var(--text-muted); min-height: 3.2em; }
.plan-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan-list li { position: relative; padding-left: 30px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%233B5BFF' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan-featured { background: var(--featured); color: var(--white); border: 2px solid var(--sun); overflow: visible; }
.plan-featured::after { display: none; }
.plan-featured .plan-for { color: var(--muted-ink); }
.plan-featured .plan-list li::before { background-color: var(--ink-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%23FFD166' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-featured .btn-ghost { --fg: var(--white); }
.plan-badge { position: absolute; top: -14px; right: 24px; padding: .4rem .9rem; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .82rem; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -4px; } }
.pricing-note { margin-top: 28px; color: var(--text-muted); font-size: .92rem; max-width: 70ch; }

/* Hosting & Änderungen */
.care { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: .9fr 1.4fr; gap: 28px 48px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-l); background: var(--ink); color: var(--white); overflow: hidden; }
[data-theme="dark"] .care { background: var(--featured); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.care-kicker { color: var(--sun); font-weight: 700; margin-bottom: .6rem; }
.care-head h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: .9rem; color: var(--white); }
.care-head p:last-child { color: var(--muted-ink); margin: 0; }
.care-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.care-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .45s var(--ease), border-color .3s; }
.care-card:hover { transform: translateY(-6px); border-color: rgba(255,209,102,.6); }
.care-card-plus { background: rgba(255,209,102,.08); border: 2px solid var(--sun); }
.care-card h4 { margin: 0 0 .4rem; font: 800 1.25rem/1.2 var(--font-display); }
.care-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; color: var(--muted-ink); font-size: .95rem; }
.care-price strong { font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--sun); }
.care-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; align-content: start; flex: 1; font-size: .93rem; }
.care-card li { position: relative; padding-left: 24px; }
.care-card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }
.care-card .btn-ghost { --fg: var(--white); --fill: var(--white); }
.care-card .btn-ghost:hover { color: var(--ink); }
.care-badge { position: absolute; top: -13px; right: 18px; padding: .3rem .8rem; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; }
.care-note { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: var(--muted-ink); font-size: .9rem; }
@media (max-width: 900px) { .care { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .care-options { grid-template-columns: 1fr; } .care-card-plus { margin-top: 10px; } }

/* Paket-Berater */
.advisor { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px 60px; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-l); background: var(--sun); color: var(--ink); }
.advisor-head h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: .6rem; }
.advisor-head p { margin: 0; font-weight: 600; }
.advisor-body { position: relative; min-height: 200px; }
.adv-step { display: none; }
.adv-step.is-active { display: block; animation: advIn .55s var(--ease); }
@keyframes advIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.adv-q { font: 700 1.25rem/1.3 var(--font-display); margin-bottom: 1.2rem; }
.adv-options { display: flex; flex-wrap: wrap; gap: 10px; }
.adv-btn { padding: .95rem 1.3rem; border-radius: 14px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 1rem/1.2 var(--font-body); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.adv-btn:hover { background: var(--ink); color: var(--sun); transform: translateY(-2px); }
.advisor .btn-primary { --bg: var(--ink); --fg: #fff; }
.adv-result { font: 800 clamp(2rem, 3.5vw, 2.8rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); margin-bottom: 1.4rem; }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-portrait { position: relative; }
.portrait-frame { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-l); overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait-img.is-missing { display: none; }
.portrait-initials { font: 800 clamp(4rem, 9vw, 7rem)/1 var(--font-display); color: var(--sun); letter-spacing: -0.02em; font-stretch: 80%; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,209,102,.07) 22px 24px); pointer-events: none; }
.portrait-tag { position: absolute; right: -18px; bottom: 28px; z-index: 3; padding: 14px 18px; background: var(--sun); color: var(--ink); border-radius: 14px; font-weight: 800; line-height: 1.3; box-shadow: 0 20px 40px -18px rgba(15,37,64,.5); }
.portrait-tag small { font-weight: 600; }
.about-copy h2 { margin-bottom: 2rem; }
.about-facts { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-facts li { padding: 18px; border-top: 3px solid var(--text); }
.about-facts strong { display: block; font: 800 1.6rem/1.1 var(--font-display); letter-spacing: -0.03em; }
.about-facts span { color: var(--text-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 80px; align-items: start; }
.faq-grid .section-head { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 40px); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font: 700 clamp(1.1rem, 1.7vw, 1.35rem)/1.3 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%230F2540' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .5s var(--ease), background-color .3s; }
.faq[open] summary::after { transform: rotate(135deg); background-color: var(--sun); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--text-muted); padding-bottom: 26px; margin: 0; max-width: 60ch; }

/* ---------- Kontakt ---------- */
.contact { overflow: hidden; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-title { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 1.6rem; }
.contact-copy > p { color: var(--muted-ink); font-size: 1.1rem; max-width: 42ch; }
.contact-details { font-style: normal; display: grid; gap: 10px; margin-top: 2rem; }
.contact-details a { font: 700 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--font-display); text-decoration: none; width: fit-content; background: linear-gradient(var(--sun), var(--sun)) 0 100%/0 2px no-repeat; transition: background-size .5s var(--ease); }
.contact-details a:hover { background-size: 100% 2px; }
.contact-details span { color: var(--muted-ink); }
.contact-form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 40px); background: var(--ink-2); border-radius: var(--radius-l); border: 1px solid rgba(255,255,255,.08); }
.field { position: relative; }
.field input:not([type="checkbox"]), .field textarea, .field select {
  width: 100%; padding: 1.55rem 1rem .55rem; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); color: var(--white); font: 500 1rem/1.4 var(--font-body); transition: border-color .3s, background .3s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23A9B8CC' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select { color-scheme: light; }
.field select option { background: #FFFFFF; color: var(--ink); font-weight: 500; }
.field select option:checked { background: #FFF1C2; color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sun); background: rgba(255,255,255,.07); }
.field > label { position: absolute; left: 1rem; top: 1.05rem; color: var(--muted-ink); font-weight: 500; pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field-select > label { transform: translateY(-.62rem) scale(.78); color: var(--sun); }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--sun); cursor: pointer; }
.field-check label { font-size: .95rem; line-height: 1.5; color: var(--muted-ink); cursor: pointer; }
.field-check label a { color: var(--sun); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.field-check label a:hover { color: var(--white); }
.field-error { display: block; color: #FF8A8E; font-size: .85rem; min-height: 0; margin-top: 4px; }
.field-check .field-error { grid-column: 1 / -1; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF8A8E; }
.form-status { margin: 0; font-size: .92rem; }
.form-status.is-error { color: #FF8A8E; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .check, .thanks .check { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sun); margin-bottom: 18px; animation: pop .6s var(--ease); }
.form-success svg, .thanks .check svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(0); } }

/* ---------- Preview-Modal ---------- */
.preview[hidden] { display: none; }
.preview { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: 20px; }
.preview-backdrop { position: absolute; inset: 0; background: rgba(15,37,64,.8); animation: fadeIn .3s; }
.preview-panel { position: relative; width: min(1200px, 100%); height: min(860px, 100%); display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; animation: panelIn .55s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.preview-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.preview-meta { display: grid; margin-right: auto; } .preview-meta span { font-size: .85rem; color: var(--text-muted); }
.preview-devices { display: flex; gap: 4px; padding: 4px; background: var(--bg-alt); border-radius: 999px; }
.device-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font: 600 .88rem var(--font-body); cursor: pointer; color: var(--text); }
.device-btn svg, .preview-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.device-btn.is-active { background: var(--btn); color: var(--btn-fg); }
.preview-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-alt); cursor: pointer; display: grid; place-items: center; color: var(--text); transition: transform .4s var(--ease); }
.preview-close:hover { transform: rotate(90deg); }
.preview-stage { flex: 1; display: grid; place-items: center; padding: 18px; background: var(--bg-alt); min-height: 0; overflow: hidden; }
.device { position: relative; width: 100%; height: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(15,37,64,.5); transition: width .5s var(--ease); }
.preview-stage[data-device="phone"] .device { width: 390px; max-width: 100%; border-radius: 30px; border: 8px solid var(--ink); }
.device iframe { width: 100%; height: 100%; border: 0; }
.device-shot { position: absolute; inset: 0; overflow-y: auto; background: var(--bg-alt); }
.device-shot img { display: block; width: 100%; height: auto; }
.device-shot-error { padding: 40px; text-align: center; color: var(--muted); }
.device-loader { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; z-index: 2; transition: opacity .3s; }
.device-loader.is-hidden { opacity: 0; pointer-events: none; }
.device-loader span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--cobalt); animation: spin .8s linear infinite; }
.preview-note { margin: 0; padding: 10px 18px; font-size: .85rem; color: var(--text-muted); border-top: 1px solid var(--border); }
body.preview-open { overflow: hidden; }

/* ---------- Cookie ---------- */
.cookie[hidden] { display: none; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 600; width: min(400px, calc(100% - 40px)); animation: panelIn .6s var(--ease); }
.cookie-box { padding: 22px; background: var(--surface); border-radius: 20px; box-shadow: 0 30px 70px -20px var(--shadow); border: 1px solid var(--border); }
.cookie-text p { font-size: .9rem; color: var(--text-muted); margin: 6px 0 14px; }
.cookie-options { display: grid; gap: 10px; margin-bottom: 14px; }
.cookie-option { display: flex; gap: 10px; align-items: start; font-size: .9rem; }
.cookie-option small { display: block; color: var(--text-muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Mobile-Leiste ---------- */
.mobile-bar { display: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink-bg); color: var(--muted-ink); padding: 60px 0 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer { padding-bottom: 50px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: start; }
.footer-brand p { margin: 0; font-size: .92rem; }
.footer-brand .brand-name { color: var(--white); display: block; margin-bottom: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; color: var(--white); }
.footer-nav a:hover { color: var(--sun); }
.footer-copy { margin: 0; font-size: .9rem; }

/* ---------- Unterseiten (Impressum, Datenschutz, Danke) ---------- */
/* ---------- Unterseiten (Impressum, Datenschutz, Danke) ---------- */
.page-sub { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page-sub main { flex: 1 0 auto; }
body.page-sub { padding-bottom: 0; }
.legal { padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); background: var(--bg-alt); }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin: .4rem 0 1rem; overflow-wrap: anywhere; hyphens: auto; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--text-muted); transition: color .2s, gap .25s var(--ease); }
.legal-back:hover { color: var(--text); gap: 10px; }
.legal-grid { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal-side { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-kicker { margin: 2rem 0 0; color: var(--text-muted); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.legal-side h1::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--sun); margin-top: 18px; }
.legal-lead { color: var(--text-muted); margin: 0 0 1.6rem; max-width: 28ch; }
.legal-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.legal-switch a { padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--text-muted); transition: color .2s, background .2s; }
.legal-switch a:hover { color: var(--text); }
.legal-switch a[aria-current] { background: var(--btn); color: var(--btn-fg); }
.legal-card { background: var(--surface); border-radius: var(--radius-l); padding: clamp(26px, 4.5vw, 56px); box-shadow: 0 1px 0 var(--border), 0 30px 60px -40px var(--shadow); border: 1px solid var(--border); max-width: 820px; }
.legal-card > h2:first-child, .legal-card > div:first-child > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-card h2 { font-size: 1.2rem; font-stretch: 100%; letter-spacing: -0.01em; margin: 1.8rem 0 .6rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.legal-card p, .legal-card ul { color: var(--text-2); margin: 0 0 .8rem; }
.legal-card ul { padding-left: 1.2rem; }
.legal-card li { margin: .25rem 0; }
.legal-card a { color: inherit; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-numbered { counter-reset: lg; }
.legal-numbered h2 { counter-increment: lg; display: flex; gap: .7rem; align-items: baseline; }
.legal-numbered h2::before { content: counter(lg); flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--bg-alt); color: var(--text); font-size: .85rem; font-weight: 800; box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-side { position: static; text-align: center; }
  .legal-kicker { margin-top: 1.4rem; }
  .legal-side h1::after { margin-left: auto; margin-right: auto; }
  .legal-lead { margin-left: auto; margin-right: auto; }
  .legal-switch { display: flex; width: fit-content; margin: 0 auto; }
  .legal-switch a { padding: .6rem 1.3rem; }
  .legal-card { margin: 0 auto; }
}
.placeholder { background: #FFF1C2; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.thanks { text-align: center; display: grid; justify-items: center; }
.thanks p { max-width: 50ch; color: var(--text-muted); margin-bottom: 2rem; }
.page-sub .site-header { background: var(--header-bg); box-shadow: 0 1px 0 var(--border); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav { position: fixed; inset: 0; background: var(--ink); display: grid; place-items: center; clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease); visibility: hidden; }
  .site-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav a { color: var(--white); font: 800 clamp(2rem, 7vw, 3rem)/1.1 var(--font-display); letter-spacing: -0.03em; padding: .3rem 1rem; text-align: center; }
  .site-nav a:not(.nav-cta)::after { background: var(--sun); bottom: 0; }
  .nav-cta { margin: 20px 0 0; background: var(--sun) !important; color: var(--ink) !important; font-size: 1.2rem !important; }
  .nav-toggle { display: block; }
  .nav-open .brand { color: var(--white); position: relative; z-index: 2; }
  .nav-open .brand-mark { color: rgba(255,255,255,.1); }
  .nav-open .nav-toggle { background: var(--sun); } .nav-open .nav-toggle span { background: var(--ink); }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero { padding-bottom: 60px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-stage { height: 380px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-x { width: 100vw; right: -30vw; top: 72%; }
    .section-head { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr auto; }
  .service p { grid-column: 1 / -1; grid-row: 2; }
  .service-arrow { width: 46px; height: 46px; }
  .reference, .reference-flip { grid-template-columns: 1fr; }
  .reference-flip .reference-frame { order: 0; }
  .process, .about-grid, .faq-grid, .contact-grid, .advisor { grid-template-columns: 1fr; }
  .process-head, .faq-grid .section-head { position: static; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; }
  .portrait-frame { max-width: 420px; }
  .portrait-tag { right: 12px; }
  .about-facts { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 450; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; background: var(--ink); border-radius: 20px; box-shadow: 0 20px 40px -14px rgba(15,37,64,.6); }
  .mobile-bar a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; color: var(--muted-ink); text-decoration: none; font-size: .7rem; font-weight: 600; border-radius: 14px; }
  .mobile-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .mobile-bar a.is-active { color: var(--white); background: rgba(255,255,255,.08); }
  .mobile-bar .mobile-bar-cta { background: var(--sun); color: var(--ink); }
  .cookie { left: 10px; right: 10px; bottom: 90px; width: auto; }
  .hero-stage { height: 320px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 82%; scroll-snap-align: center; }
      .hero-facts dd { font-size: 1.3rem; }
  .hero-actions .btn { flex: 1 1 auto; }
    .plan { padding: 28px 22px; }
  .preview-head { gap: 8px; } #preview-open { display: none; }
  .preview { padding: 0; } .preview-panel { height: 100%; height: 100dvh; border-radius: 0; } .preview-stage { padding: 10px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hx { stroke-dashoffset: 0; }
  .js .step-num { transform: none; opacity: 1; }
  .shot:hover .shot-img img { transform: none; }
}

/* ---------- Lightbox (Designbeispiele) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 720; display: grid; place-items: center; padding: 20px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(6,16,32,.86); animation: fadeIn .3s; }
.lightbox-panel { position: relative; width: min(1240px, 100%); height: min(880px, 100%); display: grid; grid-template-columns: 1fr 320px; background: var(--surface); color: var(--text); border-radius: 22px; overflow: hidden; animation: panelIn .5s var(--ease); }
.lightbox-view { position: relative; display: flex; flex-direction: column; min-height: 0; background: var(--bg-alt); padding: 16px; }
.lightbox-browser { flex: 1; min-height: 0; margin: 0 auto; width: 100%; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -30px rgba(0,0,0,.6); transition: width .5s var(--ease); }
.lightbox-view[data-device="phone"] .lightbox-browser { width: 360px; max-width: 100%; border-radius: 34px; border: 8px solid #0F2540; }
.lightbox-view[data-device="tablet"] .lightbox-browser { width: 560px; max-width: 100%; border-radius: 26px; border: 10px solid #0F2540; }
.lightbox-view[data-device="phone"] .shot-bar, .lightbox-view[data-device="tablet"] .shot-bar { display: none; }
.lightbox-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.lightbox-scroll img { width: 100%; height: auto; }
.lightbox-side { display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; overflow-y: auto; }
.lightbox-side h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.lightbox-side p { color: var(--text-muted); margin: 0; }
.lightbox-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lightbox-side li { position: relative; padding-left: 28px; font-weight: 600; font-size: .95rem; animation: fadeUp .5s var(--ease) both; }
.lightbox-side li:nth-child(2) { animation-delay: .08s; } .lightbox-side li:nth-child(3) { animation-delay: .16s; } .lightbox-side li:nth-child(4) { animation-delay: .24s; }
.lightbox-side li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%230F2540' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.lightbox-side .preview-devices { align-self: stretch; flex-wrap: wrap; }
.lightbox-side .device-btn { flex: 1; justify-content: center; padding: .45rem .55rem; font-size: .84rem; gap: 5px; }
.lightbox-side .device-btn svg { width: 15px; height: 15px; }
.lightbox-note { font-size: .82rem; }
.lightbox-side .btn { margin-top: auto; }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--ease); }
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; translate: -50% 0; padding: 8px 14px; border-radius: 999px; background: rgba(15,37,64,.85); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; animation: cue 1.6s ease-in-out infinite; transition: opacity .4s; }
.scroll-cue.is-gone { opacity: 0; }
@keyframes cue { 50% { transform: translateY(6px); } }
.lb-cta-short, .lb-close-m { display: none; }
@media (max-width: 900px) {
  .lightbox { padding: 0; }
  .lightbox-panel { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 100%; height: 100dvh; border-radius: 0; }
  .lightbox-view { padding: 12px 12px 0; }
  .lightbox-close { display: none; }
  /* Kompakte Leiste: Titel, Anfragen, Schließen – darunter die Geräte. Mehr Platz für die Webseite. */
  .lightbox-side { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); overflow: visible; }
  .lightbox-side h3 { font-size: 1.1rem; padding-right: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lightbox-side .lb-desc, .lightbox-side ul, .lightbox-note { display: none; }
  .lightbox-side .preview-devices { grid-column: 1 / -1; grid-row: 2; }
  .lightbox-side .lb-cta { margin: 0; padding: .6rem 1.1rem; font-size: .88rem; }
  .lb-cta-long { display: none; } .lb-cta-short { display: inline; }
  .lb-close-m { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--text); cursor: pointer; }
  .lb-close-m svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
  .lightbox-view[data-device="phone"] .lightbox-browser { width: min(360px, 100%); border-width: 6px; border-radius: 28px; }
  .lightbox-view[data-device="tablet"] .lightbox-browser { width: min(560px, 100%); border-width: 7px; border-radius: 22px; }
  .scroll-cue { bottom: 18px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.js .plan.reveal.is-visible:hover { transform: translateY(-8px); }

/* ==========================================================================
   Animations-Modul (js/effects.js, nur aktiv mit GSAP + ohne "Bewegung reduzieren")
   ========================================================================== */
.fx .reveal:not(.is-done) { transition: none !important; }
.fx .steps.is-visible .steps-line::after { transform: scaleY(var(--p, 0)); transition: none; }
.rot-fx .rot-word { transform: none; transition: none; }
.rc, .sf-char { display: inline-block; will-change: transform; }
.sf-word { white-space: nowrap; }

/* ShinyText (React Bits) */
.shiny-text { color: transparent; background: linear-gradient(110deg, var(--text) 40%, var(--cobalt) 50%, var(--text) 60%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 4.5s linear infinite; }
[data-theme="dark"] .shiny-text { background-image: linear-gradient(110deg, var(--text) 40%, var(--sun) 50%, var(--text) 60%); }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* SpotlightCard (React Bits) */
.spotlight { position: relative; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(59,91,255,.12), transparent 70%); }
.spotlight:hover::before { opacity: 1; }
.plan-featured.spotlight::before, .contact-form.spotlight::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,209,102,.16), transparent 70%); }
.advisor.spotlight::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 70%); }
[data-theme="dark"] .spotlight::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,209,102,.12), transparent 70%); }
.spotlight > *:not(.hp):not(.plan-badge) { position: relative; z-index: 1; }
.plan.spotlight > .plan-badge { position: absolute; z-index: 2; }

@media (prefers-reduced-motion: reduce) { .shiny-text { animation: none; color: inherit; background: none; } }

/* ==========================================================================
   Werbe-Landingpage (/angebot/)
   ========================================================================== */
.lp .hero-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.lp-accent { color: var(--cobalt); }
[data-theme="dark"] .lp-accent { color: var(--sun); }
.lp-checks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 10px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--text-2); }
.lp-checks li { position: relative; padding-left: 34px; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%230F2540' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.lp-checks strong { color: var(--text); }
.lp-note { margin: -1rem 0 0; color: var(--text-muted); font-size: .9rem; font-weight: 600; }
.lp-phone { font-weight: 700; text-decoration: none; font-size: .95rem; margin-right: 6px; }
.lp-phone:hover { color: var(--cobalt); }

.lp-trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.lp-trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; font-weight: 600; }
.lp-trust-inner span { color: var(--text-muted); }
.lp-trust-inner a { font: 800 1.1rem/1.2 var(--font-display); letter-spacing: -0.01em; text-decoration: none; }
.lp-trust-inner a:hover { color: var(--cobalt); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 28px 26px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--border); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.js .benefit.reveal.is-done:hover, html:not(.fx) .benefit:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px var(--shadow); }
.benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sun); color: var(--ink); margin-bottom: 18px; }
.benefit-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.benefit p { color: var(--text-muted); margin: 0; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.lp-steps li { position: relative; padding: 28px 26px; border-radius: var(--radius-l); background: var(--bg-alt); }
.lp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -20px; width: 20px; height: 3px; background: var(--border); }
.lp-steps .step-num { margin-bottom: 16px; }
.js .lp-steps li.is-visible .step-num, html:not(.js) .lp-steps .step-num { transform: scale(1); opacity: 1; transition-delay: .15s; }
.lp-steps h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .5rem; }
.lp-steps p { color: var(--text-muted); margin: 0; }

.lp-pricing { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.lp .pricing-note a { color: inherit; font-weight: 700; }

.lp-sticky { display: none; }
@media (max-width: 900px) {
  .benefits, .lp-steps { grid-template-columns: 1fr; }
  .lp-steps li:not(:last-child)::after { display: none; }
  .lp-pricing { grid-template-columns: 1fr; }
  .lp-phone { display: none; }
}
@media (max-width: 720px) {
  .lp-head-cta { display: none; }
  .lp-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 450; display: flex; justify-content: center; padding: 16px; border-radius: 16px; background: var(--sun); color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: 0 18px 40px -14px rgba(15,37,64,.6); transition: transform .4s var(--ease), opacity .3s; }
  .lp-sticky.is-hidden { transform: translateY(140%); opacity: 0; }
}

/* Durchgestrichener Normalpreis auf der Werbe-Landingpage */
.plan-was { display: inline-block; margin-left: .45em; font-size: .42em; font-weight: 700; letter-spacing: 0; color: var(--muted, #6B7A90); text-decoration-thickness: 2px; text-decoration-color: #E5484D; vertical-align: .55em; }
.lp-checks .plan-was, li > .plan-was { font-size: .9em; vertical-align: 0; margin-left: .35em; }

/* ---------- Ankündigungsleiste (im Admin-Bereich einstellbar) ---------- */
.lx-bar { position: relative; z-index: 510; overflow: hidden; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 7px 56px; color: var(--ink); font-size: .9rem; line-height: 1.35;
  background: linear-gradient(100deg, #FFC94D 0%, #FFD166 30%, #FFE4A0 55%, #FFD166 80%, #FFC94D 100%);
  box-shadow: inset 0 -1px 0 rgba(15,37,64,.12); transition: height .4s var(--ease), min-height .4s var(--ease), padding .4s var(--ease), opacity .3s; }
.lx-bar::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-100%);
  animation: lx-bar-shine 6s 1.2s var(--ease) infinite; }
@keyframes lx-bar-shine { 0% { transform: translateX(-100%); } 30%, 100% { transform: translateX(100%); } }
.lx-bar-in { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; max-width: 1100px; }
.lx-bar-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--ink); color: var(--sun);
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.lx-bar-badge svg { width: 11px; height: 11px; fill: currentColor; }
.lx-bar-text { margin: 0; font-weight: 600; }
.lx-bar-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(15,37,64,.1);
  color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.lx-bar-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.lx-bar-link:hover { background: var(--ink); color: var(--sun); }
.lx-bar-link:hover svg { transform: translateX(3px); }
.lx-bar-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(15,37,64,.08); color: var(--ink); cursor: pointer; transition: background .2s, transform .2s; }
.lx-bar-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.lx-bar-close:hover { background: var(--ink); color: var(--sun); transform: translateY(-50%) rotate(90deg); }
.lx-bar-close:focus-visible, .lx-bar-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lx-bar.is-closing { height: 0 !important; min-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
/* Kopfzeile sitzt unter der Leiste und rückt beim Scrollen nahtlos nach oben */
.has-bar .site-header { top: var(--bar-off, 0px); }
.bar-closing .site-header { transition: transform .5s var(--ease), background .4s, box-shadow .4s, top .4s var(--ease); }
@media (max-width: 720px) {
  .lx-bar { padding: 8px 52px 8px 14px; justify-content: flex-start; font-size: .84rem; }
  .lx-bar-in { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .lx-bar::before { animation: none; } }

/* Eingesetzte Werte (data-cms) erben das Aussehen ihres Elternelements */
.contact-details a > [data-cms], .contact-details > span > [data-cms], .about-facts strong > [data-cms],
.care-price strong > [data-cms], .lp-checks strong > [data-cms], .plan-list [data-cms], .faq-body [data-cms],
.lp-phone > [data-cms], .footer-brand [data-cms] { color: inherit; font: inherit; letter-spacing: inherit; }
/* Checkbox-Text im Formular: klickbar (Link zur Datenschutzerklärung), nicht schwebend */
.field-check > label { position: static; pointer-events: auto; transform: none; top: auto; left: auto; }
