/* CPSync Webseite: Layout + Komponenten */

:root {
 --bg: #0c0f14;
 /* Main background image (high-res) */
 /* Use JPEG as source of truth (Safari color consistency) */
 --bg-page-image: url("../Hintergund/Hintergund.jpeg");
 /* Subtle veil over photo (better text calmness; tweak alpha only) */
 --bg-page-veil: rgba(12, 15, 20, 0.38);
 --bg-elevated: #12171f;
 --surface: rgba(24, 31, 42, 0.92);
 --border: rgba(255, 255, 255, 0.08);
 --text: #eef2f7;
 --muted: #94a3b8;
 --accent: #3b82f6;
 --accent-soft: rgba(59, 130, 246, 0.15);
 --accent-hover: #60a5fa;
 --green: #22c55e;
 --green-hover: #4ade80;
 --green-deep: #15803d;
 --green-muted: rgba(34, 197, 94, 0.14);
 --green-glow: rgba(74, 222, 128, 0.45);
 --green-border: rgba(34, 197, 94, 0.5);
 --transition-fast: 0.2s ease;
 --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
 --font:
 "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 --radius: 14px;
 --radius-sm: 10px;
 --max: 75rem;
 /* Logo oben im Header (fest), eine Zeile mit Navigation */
 --header-brand-h: clamp(2.5rem, 5vmin, 3.55rem);
 --header-nav-h: calc(var(--header-brand-h) + 1.1rem);
 --header-sticky-top: env(safe-area-inset-top, 0px);
 --header-layout-h: calc(var(--header-sticky-top) + var(--header-nav-h));
 --scroll-anchor-offset: calc(var(--header-layout-h) + 1rem);
 --radius-lg: 18px;
 --line-soft: rgba(255, 255, 255, 0.07);
 --line-accent: rgba(255, 255, 255, 0.12);
 --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
 --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
 --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
 --inset-shine: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

*,
*::before,
*::after {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
 color-scheme: dark;
}

::selection {
 background: rgba(34, 197, 94, 0.35);
 color: #f8fafc;
}

img,
svg,
video {
 max-width: 100%;
 height: auto;
}

@media (prefers-reduced-motion: reduce) {
 html {
 scroll-behavior: auto;
 }

 .brand,
 .brand-mark,
 .nav-main a,
 .nav-toggle,
 .btn,
 .card,
 .overview-card,
 .stat,
 .step,
 .security-item,
 .platform,
 .mock-wrap,
 .showcase-block,
 .cta-inner,
 .footer-col a {
 transition: none !important;
 transform: none !important;
 }

 .code-cursor {
 animation: none !important;
 }

 .site-header,
 main,
 .site-footer {
 /* keep page build-in animation even in reduce motion */
 }
}

body {
 margin: 0;
 min-height: 100vh;
 display: block;
 font-family: var(--font);
 font-size: 1.0625rem;
 line-height: 1.65;
 color: var(--text);
 background-color: var(--bg);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 text-rendering: optimizeLegibility;
 /* Background: photo + very light veil (same tone as --bg) */
 background-image:
 linear-gradient(var(--bg-page-veil), var(--bg-page-veil)),
 var(--bg-page-image);
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
 background-attachment: fixed;
}

.site-stack {
 min-height: 100vh;
 display: flex;
 flex-direction: column;
 /* Platz für festen Header – Inhalt läuft darunter nie „nach oben durch“ */
 padding-top: var(--header-layout-h);
}

/* Page build-in (soft load animation) */

.site-header,
main,
.site-footer {
 transition:
 opacity 320ms ease,
 transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
 will-change: opacity, transform;
}

body.is-loading .site-header {
 opacity: 0;
 transform: translateY(-10px);
}

body.is-loading main {
 opacity: 0;
 transform: translateY(22px);
}

body.is-loading .site-footer {
 opacity: 0;
 transform: translateY(26px);
}

body.is-loaded .site-header {
 transition-delay: 0ms;
}

body.is-loaded main {
 transition-delay: 90ms;
}

body.is-loaded .site-footer {
 transition-delay: 160ms;
}

/* Reveal-on-scroll (staggered build of elements) */

.reveal {
 opacity: 0;
 transform: translateY(6px);
 transition:
 opacity 520ms ease,
 transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
 transition-delay: var(--reveal-delay, 0ms);
 will-change: opacity, transform;
}

.reveal.is-in {
 opacity: 1;
 transform: translateY(0);
}

@media (max-width: 900px) {
 body {
 background-attachment: scroll;
 }
}

@media (prefers-reduced-motion: reduce) {
 body {
 background-attachment: scroll;
 }
}

.wrap {
 width: min(100% - 1.5rem, var(--max));
 margin-inline: auto;
}

@media (min-width: 1100px) {
 .wrap {
 width: min(100% - 3rem, var(--max));
 }
}

.u-mt {
 margin-top: 1rem;
}

.skip {
 position: absolute;
 left: -9999px;
 top: auto;
 width: 1px;
 height: 1px;
 overflow: hidden;
}

.skip:focus {
 left: 1rem;
 top: 1rem;
 width: auto;
 height: auto;
 padding: 0.5rem 1rem;
 background: var(--green-deep);
 color: #fff;
 z-index: 100;
 border-radius: var(--radius-sm);
 outline: 2px solid var(--green-hover);
 outline-offset: 2px;
}

/* Header */

.site-header {
 position: fixed;
 left: 0;
 right: 0;
 top: var(--header-sticky-top);
 z-index: 50;
 border-bottom: 1px solid var(--line-soft);
 background: rgba(10, 13, 20, 0.72);
 backdrop-filter: blur(18px) saturate(1.35);
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-sm);
 box-sizing: border-box;
}

.site-header .wrap {
 display: flex;
 align-items: center;
 justify-content: flex-start;
 gap: 0.65rem;
 min-height: var(--header-nav-h);
 padding-block: 0.35rem;
 box-sizing: border-box;
}

.site-header .brand {
 margin-right: auto;
 flex-shrink: 0;
}

.site-header .brand-wordmark {
 display: inline-flex;
 align-items: baseline;
 gap: 0;
 font-size: clamp(1.25rem, 3.8vmin, 1.85rem);
 font-weight: 800;
 letter-spacing: -0.04em;
 line-height: 1;
 white-space: nowrap;
}

.site-header .brand-wordmark__cp {
 color: var(--accent-hover);
}

.site-header .brand-wordmark__sync {
 color: var(--green-hover);
}

.brand {
 display: flex;
 align-items: center;
 gap: 0.6rem;
 text-decoration: none;
 color: var(--text);
 font-weight: 700;
 font-size: 1.125rem;
 letter-spacing: -0.02em;
 transition: color var(--transition-fast);
}

.brand:hover {
 color: var(--green-hover);
}

.brand:hover .brand-mark {
 background: linear-gradient(145deg, var(--green-hover), var(--green-deep));
 box-shadow: 0 0 22px var(--green-glow);
}

.brand-logo {
 display: block;
 width: auto;
 object-fit: contain;
 filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.footer-brand .brand-logo {
 height: clamp(2.35rem, 5vw, 3rem);
 max-width: min(15rem, 70vw);
}

.brand:hover .brand-logo {
 filter: drop-shadow(0 10px 18px rgba(34, 197, 94, 0.18));
}

.brand-mark {
 width: 2rem;
 height: 2rem;
 border-radius: 8px;
 background: linear-gradient(135deg, var(--accent), #1d4ed8);
 display: grid;
 place-items: center;
 font-size: 0.7rem;
 font-weight: 800;
 color: #fff;
 transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav-wrap {
 display: flex;
 align-items: center;
 gap: 1.25rem;
 flex: 1;
 justify-content: flex-end;
}

.nav-main {
 display: flex;
 align-items: center;
 gap: 0.25rem;
}

.nav-main a {
 color: var(--muted);
 text-decoration: none;
 font-size: 0.9rem;
 padding: 0.45rem 0.65rem;
 border-radius: 8px;
 border: 1px solid transparent;
 transition:
 color var(--transition-fast),
 background var(--transition-fast),
 border-color var(--transition-fast),
 box-shadow var(--transition-fast);
}

.nav-main a:hover {
 color: var(--green-hover);
 background: var(--green-muted);
 border-color: var(--green-border);
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
}

.nav-main a[aria-current="page"],
.nav-main a[aria-current="true"] {
 color: var(--text);
 background: rgba(34, 197, 94, 0.12);
 border-color: rgba(34, 197, 94, 0.35);
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
}

.nav-main a:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 2px;
}

.brand:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 4px;
 border-radius: 10px;
}

.nav-actions {
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.nav-toggle {
 display: none;
 border: 1px solid var(--border);
 background: var(--surface);
 color: var(--text);
 padding: 0.5rem 0.65rem;
 border-radius: var(--radius-sm);
 cursor: pointer;
 font-size: 0.85rem;
 transition:
 border-color var(--transition-fast),
 color var(--transition-fast),
 box-shadow var(--transition-fast),
 background var(--transition-fast);
}

.nav-toggle:hover {
 border-color: var(--green-border);
 color: var(--green-hover);
 background: var(--green-muted);
 box-shadow: 0 0 14px rgba(34, 197, 94, 0.2);
}

.nav-toggle:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 2px;
}

@media (min-width: 961px) {
 .nav-toggle {
 display: none !important;
 }

 .nav-wrap {
 position: static;
 inset: auto;
 padding: 0;
 background: transparent;
 transform: none !important;
 opacity: 1 !important;
 pointer-events: auto !important;
 flex-direction: row;
 }
}

@media (max-width: 960px) {
 .nav-toggle {
 display: inline-flex;
 }

 .nav-wrap {
 position: fixed;
 top: var(--header-layout-h);
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(12, 15, 20, 0.97);
 flex-direction: column;
 align-items: stretch;
 padding: 1rem;
 gap: 0.75rem;
 transform: translateY(-100%);
 opacity: 0;
 pointer-events: none;
 transition: transform 0.2s ease, opacity 0.2s ease;
 }

 body.nav-open .nav-wrap {
 transform: translateY(0);
 opacity: 1;
 pointer-events: auto;
 }

 .nav-main {
 flex-direction: column;
 align-items: stretch;
 }

 .nav-actions {
 flex-direction: column;
 }

 .nav-main a {
 padding: 0.75rem;
 }
}

/* Buttons */

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.45rem;
 padding: 0.6rem 1.2rem;
 font-size: 0.9rem;
 font-weight: 600;
 border-radius: 11px;
 text-decoration: none;
 border: 1px solid transparent;
 cursor: pointer;
 font-family: inherit;
 line-height: 1.2;
 transition:
 transform var(--transition-fast),
 background var(--transition-smooth),
 border-color var(--transition-fast),
 box-shadow var(--transition-smooth),
 color var(--transition-fast);
}

.btn--primary {
 background: linear-gradient(135deg, var(--accent), #2563eb);
 color: #fff;
 border-color: transparent;
 box-shadow: 0 10px 28px rgba(37, 99, 235, 0.18), 0 0 34px rgba(34, 197, 94, 0.10);
}

.btn--primary:hover {
 background: linear-gradient(135deg, var(--green), var(--green-deep));
 box-shadow: 0 4px 24px rgba(34, 197, 94, 0.45), 0 0 32px rgba(74, 222, 128, 0.2);
 transform: translateY(-2px);
}

.btn--primary:active {
 transform: translateY(0);
}

.btn--ghost {
 background: transparent;
 color: var(--text);
 border-color: var(--border);
}

.btn--ghost:hover {
 border-color: var(--green-border);
 color: var(--green-hover);
 background: var(--green-muted);
 box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
 transform: translateY(-1px);
}

.btn--ghost:active {
 transform: translateY(0);
}

.btn:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 2px;
}

/* Main */

#main {
 flex: 1;
}

#main strong {
 color: #f1f5f9;
 font-weight: 600;
}

.section {
 padding: clamp(3.25rem, 7vw, 5.5rem) 0;
 position: relative;
 scroll-margin-top: calc(var(--scroll-anchor-offset) + 0.4rem);
}

#main > section.section + section.section::before {
 content: "";
 position: absolute;
 top: 0;
 left: 50%;
 transform: translateX(-50%);
 width: min(92vw, 52rem);
 height: 1px;
 background: linear-gradient(90deg, transparent, var(--line-accent), transparent);
}

.section--tight {
 padding-top: 0;
}

.section-head {
 text-align: center;
 max-width: 44rem;
 margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section-kicker {
 display: inline-block;
 font-size: 0.72rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.14em;
 color: var(--green-hover);
 margin-bottom: 0.75rem;
 padding: 0.35rem 0.85rem;
 border-radius: 999px;
 background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.1));
 border: 1px solid rgba(34, 197, 94, 0.22);
}

.section-title {
 margin: 0 0 0.85rem;
 font-size: clamp(1.65rem, 3vw, 2.25rem);
 letter-spacing: -0.035em;
 line-height: 1.18;
 text-wrap: balance;
 font-weight: 700;
 color: var(--text);
 text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* Match hero headline vibe for section titles (safe fallback above). */
@supports (-webkit-background-clip: text) {
 .section-title {
 background: linear-gradient(135deg, rgba(238, 242, 247, 0.98) 0%, rgba(96, 165, 250, 0.95) 28%, rgba(34, 197, 94, 0.92) 100%);
 -webkit-background-clip: text;
 background-clip: text;
 color: transparent;
 -webkit-text-fill-color: transparent;
 filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
 }
}

.section-lead {
 margin: 0 auto;
 color: var(--muted);
 font-size: 1.125rem;
 font-weight: 600;
 line-height: 1.74;
 letter-spacing: -0.012em;
 max-width: 40rem;
 /* Gleiche Lesbarkeit wie .hero-lead, ohne neue Farbwerte */
 text-shadow:
 0 2px 14px rgba(0, 0, 0, 0.72),
 0 0 2px rgba(0, 0, 0, 0.70),
 0 1px 0 rgba(0, 0, 0, 0.42);
 text-rendering: optimizeLegibility;
}

.section-lead strong {
 font-weight: 700;
}

/* Homepage: Kurzüberblick (scanbar, ohne neue Seite) */

.overview-strip {
 display: grid;
 gap: 1.1rem;
}

@media (min-width: 800px) {
 .overview-strip {
 grid-template-columns: repeat(3, 1fr);
 gap: 1.25rem;
 }
}

.overview-card {
 position: relative;
 isolation: isolate;
 margin: 0;
 padding: 1.25rem 1.3rem;
 border-radius: var(--radius-lg);
 border: 1px solid rgba(59, 130, 246, 0.24);
 background:
 radial-gradient(120% 110% at 0% -8%, rgba(59, 130, 246, 0.34), transparent 44%),
 radial-gradient(115% 105% at 100% 112%, rgba(34, 197, 94, 0.26), transparent 46%),
 linear-gradient(140deg, rgba(59, 130, 246, 0.12), rgba(34, 197, 94, 0.07)),
 var(--surface);
 box-shadow:
 var(--inset-shine),
 0 0 0 1px rgba(34, 197, 94, 0.1),
 0 14px 40px rgba(0, 0, 0, 0.32);
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth),
 transform var(--transition-fast);
}

.overview-card::before {
 content: "";
 position: absolute;
 inset: 0 0 auto 0;
 height: 3px;
 z-index: 1;
 pointer-events: none;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 background: linear-gradient(90deg, rgba(96, 165, 250, 0.96), rgba(34, 197, 94, 0.92));
}

.overview-card:nth-child(even)::before {
 background: linear-gradient(90deg, rgba(34, 197, 94, 0.92), rgba(96, 165, 250, 0.96));
}

.overview-card:hover {
 border-color: rgba(34, 197, 94, 0.52);
 box-shadow:
 0 10px 34px rgba(0, 0, 0, 0.3),
 0 0 28px rgba(34, 197, 94, 0.12),
 0 0 0 1px rgba(59, 130, 246, 0.12),
 var(--inset-shine);
 transform: translateY(-2px);
}

.overview-card h3 {
 margin: 0 0 0.45rem;
 font-size: 1rem;
 font-weight: 700;
 letter-spacing: -0.022em;
 color: var(--text);
}

.overview-card h3::after {
 content: "";
 display: block;
 width: 2.5rem;
 height: 2px;
 margin-top: 0.42rem;
 border-radius: 999px;
 background: linear-gradient(90deg, var(--accent), var(--green));
 box-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
}

.overview-card:nth-child(even) h3::after {
 background: linear-gradient(90deg, var(--green), var(--accent));
 box-shadow: 0 0 14px rgba(34, 197, 94, 0.22);
}

.overview-card p {
 margin: 0;
 font-size: 0.9475rem;
 line-height: 1.62;
 color: var(--muted);
}

/* Hero */

.hero {
 padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3.25rem, 7vw, 5.5rem);
 border-bottom: 1px solid var(--line-soft);
 scroll-margin-top: var(--scroll-anchor-offset);
}

.hero-grid {
 display: grid;
 gap: 2.5rem;
 align-items: center;
}

.hero h1,
.hero .hero-kicker,
.hero-lead {
 /* keep readable without a big box */
 text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
 .hero-grid {
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 }
}

.hero-kicker {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.85rem;
 color: var(--green);
 font-weight: 600;
 margin-bottom: 1rem;
}

.hero-kicker span {
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--green);
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.65), 0 0 28px rgba(59, 130, 246, 0.25);
}

.hero h1 {
 margin: 0 0 1.1rem;
 font-size: clamp(2.15rem, 4.5vw, 3.25rem);
 font-weight: 800;
 letter-spacing: -0.042em;
 line-height: 1.08;
 text-wrap: balance;
 color: var(--text);
}

/* Add CPSync-style gradient headline (safe fallback above). */
@supports (-webkit-background-clip: text) {
 .hero h1 {
 background: linear-gradient(135deg, rgba(238, 242, 247, 0.98) 0%, rgba(96, 165, 250, 0.95) 28%, rgba(34, 197, 94, 0.92) 100%);
 -webkit-background-clip: text;
 background-clip: text;
 color: transparent;
 -webkit-text-fill-color: transparent;
 filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
 }
}

.hero-lead {
 margin: 0 0 1.35rem;
 /* Improve readability on bright backgrounds (no overlay box) */
 color: rgba(226, 232, 240, 0.92);
 font-size: 1.125rem;
 max-width: 40ch;
 line-height: 1.65;
 text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.position-note {
 margin: 0 0 1.85rem;
 padding: 1rem 1.15rem 1rem 1.1rem;
 border-radius: var(--radius-lg);
 background: rgba(8, 14, 22, 0.65);
 border: 1px solid rgba(34, 197, 94, 0.22);
 border-left: 4px solid var(--green);
 color: #d1fae5;
 font-size: 0.9375rem;
 max-width: 42ch;
 line-height: 1.55;
 box-shadow: var(--inset-shine), 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero-cta {
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
}

/* Hero: Code + Live-Vorschau (Animation) */

.hero-demo {
 display: grid;
 gap: 1.1rem;
 align-content: start;
 max-width: 28rem;
 margin-inline: auto;
}

@media (min-width: 900px) {
 .hero-demo {
 margin-inline: 0;
 max-width: none;
 }
}

.code-window,
.live-preview {
 margin: 0;
}

.code-window__chrome,
.live-preview__chrome {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.55rem 0.85rem;
 border-bottom: 1px solid var(--border);
 background: rgba(0, 0, 0, 0.32);
}

.code-window__file {
 margin-left: auto;
 font-size: 0.72rem;
 color: var(--muted);
 font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
}

.code-window__body {
 margin: 0;
 padding: 0.85rem 1rem 0.65rem;
 min-height: 11.5rem;
 max-height: 14rem;
 overflow: hidden;
 font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
 font-size: 0.68rem;
 line-height: 1.55;
 color: #a5d6ff;
 background: linear-gradient(180deg, rgba(6, 10, 18, 0.95) 0%, rgba(10, 14, 22, 0.88) 100%);
 white-space: pre-wrap;
 word-break: break-word;
 tab-size: 2;
}

.code-window__body code {
 color: #bae6fd;
}

.code-cursor {
 display: inline-block;
 width: 2px;
 height: 1.05em;
 margin-left: 1px;
 vertical-align: text-bottom;
 background: var(--green-hover);
 border-radius: 1px;
 animation: codeCursorBlink 1s step-end infinite;
}

@keyframes codeCursorBlink {
 0%,
 49% {
 opacity: 1;
 }

 50%,
 100% {
 opacity: 0;
 }
}

.code-window__hint {
 margin: 0;
 padding: 0.45rem 0.85rem 0.65rem;
 font-size: 0.72rem;
 color: var(--muted);
 border-top: 1px solid rgba(255, 255, 255, 0.05);
 background: rgba(0, 0, 0, 0.2);
}

.live-preview__viewport {
 padding: 0.65rem 0.85rem 0.5rem;
 min-height: 9.5rem;
 background: linear-gradient(180deg, rgba(8, 12, 20, 0.92), rgba(12, 16, 24, 0.85));
}

.live-preview__url {
 font-size: 0.65rem;
 color: var(--muted);
 padding: 0.3rem 0.45rem;
 border-radius: 6px;
 background: rgba(0, 0, 0, 0.35);
 border: 1px solid var(--border);
 font-family: ui-monospace, monospace;
 margin-bottom: 0.55rem;
}

.live-preview__stage {
 display: flex;
 flex-direction: column;
 gap: 0.45rem;
}

.live-preview__row {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0.45rem;
}

.lp-build {
 border-radius: 8px;
 border: 1px solid rgba(255, 255, 255, 0.08);
 background: rgba(255, 255, 255, 0.04);
 opacity: 0;
 transform: translateY(12px) scale(0.96);
 filter: blur(3px);
 transition:
 opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
 transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
 filter 0.45s ease,
 border-color 0.35s ease,
 box-shadow 0.35s ease;
}

.lp-build.is-in {
 opacity: 1;
 transform: translateY(0) scale(1);
 filter: none;
 border-color: rgba(34, 197, 94, 0.25);
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
}

.lp-build--header {
 min-height: 2.25rem;
 background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(34, 197, 94, 0.1));
}

.lp-build--col {
 min-height: 3rem;
}

.lp-build--footer {
 min-height: 1.65rem;
 max-width: 88%;
 background: rgba(255, 255, 255, 0.03);
}

@media (prefers-reduced-motion: reduce) {
 .lp-build {
 transition: none;
 filter: none;
 transform: none;
 }
}

.stats-row {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1rem;
 margin-top: 2.5rem;
}

@media (max-width: 600px) {
 .stats-row {
 grid-template-columns: 1fr;
 }
}

.stat {
 position: relative;
 isolation: isolate;
 padding: 1.15rem 1.3rem 1.1rem;
 border-radius: var(--radius-lg);
 background:
 radial-gradient(110% 105% at 15% -5%, rgba(59, 130, 246, 0.3), transparent 48%),
 radial-gradient(110% 105% at 95% 110%, rgba(34, 197, 94, 0.24), transparent 48%),
 var(--surface);
 border: 1px solid rgba(59, 130, 246, 0.14);
 box-shadow:
 var(--inset-shine),
 0 0 0 1px rgba(34, 197, 94, 0.07),
 0 14px 36px rgba(0, 0, 0, 0.3);
 transition:
 border-color var(--transition-fast),
 box-shadow var(--transition-fast),
 transform var(--transition-fast);
}

.stat::before {
 content: "";
 position: absolute;
 inset: 0 0 auto 0;
 height: 3px;
 z-index: 1;
 pointer-events: none;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat:nth-child(3n + 1)::before {
 background: linear-gradient(90deg, rgba(96, 165, 250, 0.97), rgba(34, 197, 94, 0.92));
}

.stat:nth-child(3n + 2)::before {
 background: linear-gradient(90deg, rgba(34, 197, 94, 0.94), rgba(96, 165, 250, 0.95));
}

.stat:nth-child(3n)::before {
 background: linear-gradient(90deg, rgba(59, 130, 246, 0.94), rgba(52, 211, 153, 0.88));
}

.stat--link {
 display: block;
 color: inherit;
 text-decoration: none;
}

.stat--link:focus-visible {
 outline: 2px solid var(--green-border);
 outline-offset: 3px;
}

.stat:hover {
 border-color: rgba(34, 197, 94, 0.52);
 box-shadow:
 0 0 32px rgba(34, 197, 94, 0.18),
 0 0 0 1px rgba(59, 130, 246, 0.14),
 0 12px 42px rgba(0, 0, 0, 0.35),
 var(--inset-shine);
 transform: translateY(-2px);
}

.stat-value {
 font-size: 1.5rem;
 font-weight: 800;
 color: var(--text);
 letter-spacing: -0.02em;
 line-height: 1.1;
}

@supports (-webkit-background-clip: text) {
 .stat .stat-value {
 background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(96, 165, 250, 0.95) 28%, rgba(34, 197, 94, 0.92) 100%);
 -webkit-background-clip: text;
 background-clip: text;
 color: transparent;
 -webkit-text-fill-color: transparent;
 filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
 }
}

.stat-label {
 font-size: 0.8rem;
 font-weight: 500;
 color: var(--muted);
 margin-top: 0.28rem;
 letter-spacing: 0.01em;
}

/* Browser mock (Website-Layout) */

.mock-wrap {
 border-radius: var(--radius-lg);
 border: 1px solid var(--border);
 background: var(--bg-elevated);
 overflow: hidden;
 box-shadow: var(--shadow-lg), var(--inset-shine);
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth),
 transform var(--transition-smooth);
}

.mock-wrap:hover {
 border-color: var(--green-border);
 box-shadow:
 0 28px 88px rgba(0, 0, 0, 0.5),
 0 0 0 1px rgba(34, 197, 94, 0.2),
 0 0 48px rgba(34, 197, 94, 0.14);
 transform: translateY(-2px) scale(1.01);
}

@media (max-width: 600px) {
 .mock-wrap:hover {
 transform: translateY(-2px);
 }
}

.mock-top {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.65rem 1rem;
 border-bottom: 1px solid var(--border);
 background: rgba(0, 0, 0, 0.25);
}

.mock-dot {
 width: 10px;
 height: 10px;
 border-radius: 50%;
 background: #475569;
}

.mock-dot:nth-child(1) {
 background: #ef4444;
}

.mock-dot:nth-child(2) {
 background: #eab308;
}

.mock-dot:nth-child(3) {
 background: #22c55e;
}

.browser-canvas {
 padding: 1rem 1.1rem 1.15rem;
 display: flex;
 flex-direction: column;
 gap: 0.65rem;
 min-height: 260px;
}

.fake-url {
 font-size: 0.72rem;
 color: var(--muted);
 padding: 0.4rem 0.55rem;
 border-radius: 6px;
 background: rgba(0, 0, 0, 0.35);
 border: 1px solid var(--border);
 font-family: ui-monospace, monospace;
}

.browser-block {
 border-radius: 10px;
 background: var(--surface);
 border: 1px solid var(--border);
 min-height: 2.25rem;
}

.browser-block--hero {
 min-height: 4.25rem;
 background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(34, 197, 94, 0.08));
}

.browser-columns {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0.5rem;
}

.browser-block--footer {
 min-height: 2rem;
 max-width: 85%;
}

.browser-caption {
 margin: 0.35rem 0 0;
 font-size: 0.78rem;
 color: var(--muted);
 line-height: 1.45;
}

.mock-bar {
 height: 6px;
 border-radius: 99px;
 background: rgba(255, 255, 255, 0.06);
 overflow: hidden;
 margin-top: 0.35rem;
}

.mock-bar > span {
 display: block;
 height: 100%;
 width: 65%;
 border-radius: 99px;
 background: linear-gradient(90deg, var(--accent), #22c55e);
}

/* Cards grid */

.card-grid {
 display: grid;
 gap: 1.25rem;
}

@media (min-width: 700px) {
 .card-grid--2 {
 grid-template-columns: repeat(2, 1fr);
 }

 .card-grid--3 {
 grid-template-columns: repeat(3, 1fr);
 }
}

.card {
 position: relative;
 isolation: isolate;
 padding: 1.45rem 1.5rem;
 border-radius: var(--radius-lg);
 background:
 radial-gradient(120% 100% at -5% -5%, rgba(59, 130, 246, 0.28), transparent 42%),
 radial-gradient(120% 100% at 105% 105%, rgba(34, 197, 94, 0.24), transparent 42%),
 var(--surface);
 border: 1px solid var(--border);
 box-shadow:
 var(--inset-shine),
 0 0 0 1px rgba(59, 130, 246, 0.08),
 0 16px 44px rgba(0, 0, 0, 0.32);
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth),
 transform var(--transition-fast),
 background var(--transition-fast);
}

.card::before {
 content: "";
 position: absolute;
 inset: 0 0 auto 0;
 height: 3px;
 z-index: 1;
 pointer-events: none;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 background: linear-gradient(90deg, rgba(96, 165, 250, 0.95), rgba(34, 197, 94, 0.92));
}

.card:nth-child(even)::before {
 background: linear-gradient(90deg, rgba(34, 197, 94, 0.92), rgba(96, 165, 250, 0.95));
}

.card--link {
 display: block;
 color: inherit;
 text-decoration: none;
 cursor: pointer;
 position: relative;
}

.card--link:focus-visible {
 outline: 2px solid var(--green-border);
 outline-offset: 3px;
}

.card--link:hover,
.card--link:focus-visible {
 border-color: rgba(34, 197, 94, 0.55);
}

.card-cta {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 margin-top: 0.9rem;
 padding: 0.38rem 0.7rem;
 border-radius: 999px;
 border: 1px solid rgba(59, 130, 246, 0.35);
 background: rgba(59, 130, 246, 0.12);
 color: rgba(226, 232, 240, 0.92);
 font-weight: 700;
 font-size: 0.85rem;
 letter-spacing: -0.01em;
}

.card--link:hover .card-cta {
 border-color: rgba(34, 197, 94, 0.45);
 background: rgba(34, 197, 94, 0.12);
 color: #eafff1;
}

.card:hover {
 border-color: var(--green-border);
 box-shadow:
 0 12px 40px rgba(0, 0, 0, 0.35),
 0 0 0 1px rgba(34, 197, 94, 0.25),
 0 0 36px rgba(34, 197, 94, 0.12);
 transform: translateY(-3px);
}

.card:active {
 transform: translateY(-1px);
}

.card h3 {
 margin: 0 0 0.55rem;
 font-size: 1.08rem;
 font-weight: 700;
 letter-spacing: -0.02em;
 position: relative;
}

.card h3::after {
 content: "";
 display: block;
 width: 2.75rem;
 height: 2px;
 margin-top: 0.45rem;
 border-radius: 999px;
 background: linear-gradient(90deg, var(--accent), var(--green));
 box-shadow: 0 0 18px rgba(59, 130, 246, 0.22);
}

.card:nth-child(even) h3::after {
 background: linear-gradient(90deg, var(--green), var(--accent));
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.2);
}

.card p {
 margin: 0;
 color: var(--muted);
 font-size: 0.95rem;
}

.card ul {
 margin: 0.75rem 0 0;
 padding-left: 1.1rem;
 color: var(--muted);
 font-size: 0.9rem;
}

.card ul li {
 margin-bottom: 0.25rem;
}

.card:nth-child(odd) ul li::marker {
 color: rgba(96, 165, 250, 0.75);
}

.card:nth-child(even) ul li::marker {
 color: rgba(74, 222, 128, 0.75);
}

/* Steps */

.steps {
 display: grid;
 gap: 1.25rem;
 counter-reset: step;
}

@media (min-width: 800px) {
 .steps {
 grid-template-columns: repeat(3, 1fr);
 }
}

.step {
 position: relative;
 isolation: isolate;
 padding: 1.5rem 1.35rem 1.35rem;
 border-radius: var(--radius-lg);
 background:
 radial-gradient(115% 100% at -5% -5%, rgba(59, 130, 246, 0.22), transparent 45%),
 radial-gradient(115% 100% at 105% 105%, rgba(34, 197, 94, 0.2), transparent 46%),
 var(--bg-elevated);
 border: 1px solid rgba(59, 130, 246, 0.12);
 box-shadow:
 var(--inset-shine),
 0 0 0 1px rgba(34, 197, 94, 0.06),
 0 14px 38px rgba(0, 0, 0, 0.32);
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth),
 transform var(--transition-fast);
}

.step::after {
 content: "";
 position: absolute;
 inset: 0 0 auto 0;
 height: 3px;
 z-index: 1;
 pointer-events: none;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 background: linear-gradient(90deg, rgba(96, 165, 250, 0.95), rgba(34, 197, 94, 0.92));
}

.step:nth-child(even)::after {
 background: linear-gradient(90deg, rgba(34, 197, 94, 0.92), rgba(96, 165, 250, 0.95));
}

.step:hover {
 border-color: rgba(34, 197, 94, 0.45);
 box-shadow:
 0 10px 36px rgba(0, 0, 0, 0.36),
 0 0 32px rgba(34, 197, 94, 0.14),
 0 0 0 1px rgba(59, 130, 246, 0.1),
 var(--inset-shine);
 transform: translateY(-2px);
}

.step::before {
 counter-increment: step;
 content: counter(step, decimal-leading-zero);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 2.25rem;
 height: 2.25rem;
 border-radius: 10px;
 background: linear-gradient(145deg, rgba(34, 197, 94, 0.28), rgba(59, 130, 246, 0.16));
 color: var(--green-hover);
 border: 1px solid rgba(34, 197, 94, 0.32);
 font-weight: 800;
 font-size: 0.95rem;
 margin-bottom: 0.85rem;
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.18), 0 0 22px rgba(59, 130, 246, 0.12);
}

.step h3 {
 margin: 0 0 0.4rem;
 font-size: 1.05rem;
 position: relative;
}

.step h3::after {
 content: "";
 display: block;
 width: 2.5rem;
 height: 2px;
 margin-top: 0.38rem;
 border-radius: 999px;
 background: linear-gradient(90deg, var(--accent), var(--green));
 box-shadow: 0 0 14px rgba(59, 130, 246, 0.18);
}

.step:nth-child(even) h3::after {
 background: linear-gradient(90deg, var(--green), var(--accent));
 box-shadow: 0 0 14px rgba(34, 197, 94, 0.16);
}

.step p {
 margin: 0;
 color: var(--muted);
 font-size: 0.92rem;
}

/* Showcase (Website-Bausteine) */

.showcase-block {
 border-radius: var(--radius-lg);
 border: 1px solid var(--border);
 background: linear-gradient(145deg, var(--surface), var(--bg-elevated));
 padding: clamp(1.5rem, 3vw, 2.25rem);
 display: grid;
 gap: 1.5rem;
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth);
}

.showcase-block:hover {
 border-color: var(--green-border);
 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 36px rgba(34, 197, 94, 0.1);
}

@media (min-width: 800px) {
 .showcase-block {
 grid-template-columns: 1fr 1.2fr;
 align-items: center;
 }
}

.showcase-kicker {
 font-size: 0.8rem;
 color: var(--accent-hover);
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 margin-bottom: 0.35rem;
}

.showcase-block h3 {
 margin: 0 0 0.5rem;
 font-size: 1.35rem;
}

.showcase-block p {
 margin: 0 0 1rem;
 color: var(--muted);
}

.pills {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
}

.pill {
 font-size: 0.8rem;
 padding: 0.25rem 0.55rem;
 border-radius: 6px;
 background: rgba(255, 255, 255, 0.06);
 color: var(--muted);
 border: 1px solid transparent;
 transition:
 color var(--transition-fast),
 background var(--transition-fast),
 border-color var(--transition-fast),
 box-shadow var(--transition-fast);
}

.pill:hover {
 color: var(--green-hover);
 background: var(--green-muted);
 border-color: var(--green-border);
 box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.showcase-preview {
 border-radius: var(--radius-lg);
 border: 1px solid var(--border);
 background: rgba(0, 0, 0, 0.35);
 padding: 1rem;
 font-size: 0.85rem;
 color: var(--muted);
 box-shadow: var(--inset-shine);
}

.showcase-preview .row {
 display: flex;
 justify-content: space-between;
 margin-bottom: 0.75rem;
 color: var(--text);
}

.showcase-preview-note {
 margin: 0.75rem 0 0;
 font-size: 0.8rem;
 color: var(--muted);
 line-height: 1.45;
}

/* Security */

.security-grid {
 display: grid;
 gap: 1rem;
}

@media (min-width: 640px) {
 .security-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

@media (min-width: 960px) {
 .security-grid {
 grid-template-columns: repeat(4, 1fr);
 }
}

.security-grid--3 {
 /* visually centered 3-card layout (don’t stretch full width) */
}

@media (min-width: 960px) {
 .security-grid.security-grid--3 {
 /* center the 3-card block on wide screens (Safari-safe) */
 grid-template-columns: repeat(3, minmax(16rem, 18rem));
 justify-content: center;
 width: fit-content;
 margin-inline: auto;
 gap: 1.25rem;
 }
}

.security-grid--3 .security-item {
 text-align: center;
}

.security-grid--3 .security-item p {
 margin-inline: auto;
}

.security-item {
 position: relative;
 isolation: isolate;
 padding: 1.2rem 1.25rem 1.15rem;
 border-radius: var(--radius-lg);
 border: 1px solid rgba(59, 130, 246, 0.12);
 background:
 radial-gradient(120% 110% at 0% -5%, rgba(59, 130, 246, 0.28), transparent 46%),
 radial-gradient(120% 110% at 100% 108%, rgba(34, 197, 94, 0.24), transparent 46%),
 var(--surface);
 box-shadow:
 var(--inset-shine),
 0 0 0 1px rgba(34, 197, 94, 0.07),
 0 12px 36px rgba(0, 0, 0, 0.28);
 transition:
 border-color var(--transition-fast),
 box-shadow var(--transition-fast),
 transform var(--transition-fast);
}

.security-item::before {
 content: "";
 position: absolute;
 inset: 0 0 auto 0;
 height: 3px;
 z-index: 1;
 pointer-events: none;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 background: linear-gradient(90deg, rgba(96, 165, 250, 0.95), rgba(34, 197, 94, 0.92));
}

.security-item:nth-child(even)::before {
 background: linear-gradient(90deg, rgba(34, 197, 94, 0.92), rgba(96, 165, 250, 0.95));
}

.security-item:hover {
 border-color: rgba(34, 197, 94, 0.45);
 box-shadow:
 0 0 28px rgba(34, 197, 94, 0.16),
 0 0 0 1px rgba(59, 130, 246, 0.1),
 0 12px 40px rgba(0, 0, 0, 0.34),
 var(--inset-shine);
 transform: translateY(-2px);
}

.security-item h4 {
 margin: 0 0 0.35rem;
 font-size: 0.95rem;
 position: relative;
}

.security-item h4::after {
 content: "";
 display: block;
 width: 2.35rem;
 height: 2px;
 margin-top: 0.35rem;
 border-radius: 999px;
 background: linear-gradient(90deg, var(--accent), var(--green));
 box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.security-item:nth-child(even) h4::after {
 background: linear-gradient(90deg, var(--green), var(--accent));
 box-shadow: 0 0 12px rgba(34, 197, 94, 0.18);
}

.security-grid--3 .security-item h4::after {
 margin-left: auto;
 margin-right: auto;
}

.security-item p {
 margin: 0;
 font-size: 0.85rem;
 color: var(--muted);
}

/* Platforms */

.platforms {
 display: grid;
 gap: 1rem;
}

@media (min-width: 700px) {
 .platforms {
 grid-template-columns: repeat(3, 1fr);
 }
}

.platform {
 position: relative;
 isolation: isolate;
 text-align: center;
 padding: 1.5rem 1rem;
 border-radius: var(--radius-lg);
 border: 1px solid rgba(59, 130, 246, 0.12);
 background:
 radial-gradient(115% 100% at 50% -10%, rgba(59, 130, 246, 0.2), transparent 50%),
 radial-gradient(115% 100% at 50% 118%, rgba(34, 197, 94, 0.16), transparent 50%),
 var(--bg-elevated);
 box-shadow:
 var(--inset-shine),
 0 0 0 1px rgba(34, 197, 94, 0.06),
 0 12px 36px rgba(0, 0, 0, 0.3);
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth),
 transform var(--transition-fast);
}

.platform::before {
 content: "";
 position: absolute;
 inset: 0 0 auto 0;
 height: 3px;
 z-index: 1;
 pointer-events: none;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 background: linear-gradient(90deg, rgba(96, 165, 250, 0.95), rgba(34, 197, 94, 0.92));
}

.platform:nth-child(even)::before {
 background: linear-gradient(90deg, rgba(34, 197, 94, 0.92), rgba(96, 165, 250, 0.95));
}

.platform:hover {
 border-color: rgba(34, 197, 94, 0.45);
 box-shadow:
 0 10px 32px rgba(0, 0, 0, 0.35),
 0 0 28px rgba(34, 197, 94, 0.12),
 0 0 0 1px rgba(59, 130, 246, 0.08),
 var(--inset-shine);
 transform: translateY(-3px);
}

.platform:hover .platform-icon {
 background: rgba(34, 197, 94, 0.28);
 color: var(--green-hover);
 box-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
}

.platform-icon {
 width: 3rem;
 height: 3rem;
 margin: 0 auto 0.65rem;
 border-radius: 12px;
 background: var(--accent-soft);
 color: var(--accent-hover);
 font-weight: 800;
 font-size: 1rem;
 display: flex;
 align-items: center;
 justify-content: center;
 transition:
 background var(--transition-smooth),
 color var(--transition-smooth),
 box-shadow var(--transition-smooth);
}

.platform h3 {
 margin: 0 0 0.35rem;
 font-size: 1rem;
}

.platform p {
 margin: 0;
 font-size: 0.88rem;
 color: var(--muted);
}

/* CTA */

.cta {
 padding: clamp(3.25rem, 7vw, 5rem) 0;
 position: relative;
 scroll-margin-top: calc(var(--scroll-anchor-offset) + 0.2rem);
}

.cta::before {
 content: "";
 position: absolute;
 top: 0;
 left: 50%;
 transform: translateX(-50%);
 width: min(92vw, 52rem);
 height: 1px;
 background: linear-gradient(90deg, transparent, var(--line-accent), transparent);
}

.cta-inner {
 text-align: center;
 padding: clamp(2.25rem, 4.5vw, 3.25rem);
 border-radius: var(--radius-lg);
 border: 1px solid var(--border);
 background:
 radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.08), transparent 55%),
 linear-gradient(165deg, rgba(24, 31, 42, 0.95), rgba(12, 16, 24, 0.88));
 box-shadow: var(--shadow-md), var(--inset-shine);
 transition:
 border-color var(--transition-smooth),
 box-shadow var(--transition-smooth);
}

.cta-inner:hover {
 border-color: var(--green-border);
 box-shadow: 0 0 40px rgba(34, 197, 94, 0.12), inset 0 0 60px rgba(34, 197, 94, 0.04);
}

.cta-hint a {
 color: var(--accent);
 transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
 text-decoration: underline;
 text-decoration-color: rgba(59, 130, 246, 0.5);
 text-underline-offset: 0.15em;
}

.cta-hint a:hover {
 color: var(--green-hover);
 text-decoration-color: var(--green-hover);
}

.cta-inner h2 {
 margin: 0 0 0.5rem;
 font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.cta-inner > p {
 margin: 0 auto 1.25rem;
 max-width: 40ch;
 color: var(--muted);
}

.cta-hint {
 margin: 1rem auto 0;
 max-width: 46ch;
 font-size: 0.8rem;
 color: var(--muted);
 line-height: 1.5;
}

/* Footer */

.site-footer {
 border-top: 1px solid var(--line-soft);
 padding: clamp(2.75rem, 5vw, 3.75rem) 0 1.75rem;
 margin-top: auto;
 background: linear-gradient(180deg, rgba(5, 8, 14, 0.55), rgba(5, 8, 14, 0.92));
 backdrop-filter: blur(16px) saturate(1.15);
 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-grid {
 display: grid;
 gap: 2rem;
}

@media (min-width: 700px) {
 .footer-grid {
 grid-template-columns: 1.4fr repeat(3, 1fr);
 }
}

.footer-brand p {
 margin: 0.5rem 0 0;
 color: var(--muted);
 font-size: 0.9rem;
 max-width: 32ch;
}

.footer-col h4 {
 margin: 0 0 0.75rem;
 font-size: 0.8rem;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--text);
}

.footer-col ul {
 list-style: none;
 margin: 0;
 padding: 0;
}

.footer-col a {
 color: var(--muted);
 text-decoration: none;
 font-size: 0.9rem;
 display: inline-block;
 padding: 0.2rem 0;
 transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.footer-col a:hover {
 color: var(--green-hover);
 text-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.footer-bottom {
 margin-top: 2.5rem;
 padding-top: 1.25rem;
 border-top: 1px solid var(--border);
 font-size: 0.85rem;
 color: var(--muted);
}

/* Legal pages */

.page {
 padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 5rem);
}

.page h1 {
 margin: 0 0 1.15rem;
 font-size: clamp(1.65rem, 2.6vw, 2.05rem);
 letter-spacing: -0.03em;
 font-weight: 700;
 line-height: 1.2;
}

.page h2 {
 margin: 2.25rem 0 0.85rem;
 font-size: 1.12rem;
 font-weight: 700;
 letter-spacing: -0.02em;
 color: var(--text);
}

.page p,
.page li {
 color: var(--muted);
 max-width: 65ch;
}

.readable-panel {
 max-width: 72rem;
 padding: clamp(1.15rem, 2.2vw, 1.6rem);
 border-radius: var(--radius-lg);
 border: 1px solid rgba(148, 163, 184, 0.22);
 background: rgba(8, 12, 20, 0.68);
 box-shadow: var(--shadow-lg), var(--inset-shine);
 backdrop-filter: blur(10px);
}

.readable-panel p,
.readable-panel li {
 color: rgba(226, 232, 240, 0.92);
}

.readable-panel .imprint-note {
 color: rgba(226, 232, 240, 0.82);
}

.readable-panel a {
 text-decoration-color: rgba(59, 130, 246, 0.6);
}

.readable-panel .btn--ghost {
 border-color: rgba(148, 163, 184, 0.35);
}

.readable-panel .btn--ghost:hover {
 border-color: var(--green-border);
}

.page a:not(.btn) {
 color: var(--accent);
 transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
 text-decoration: underline;
 text-decoration-color: rgba(59, 130, 246, 0.45);
 text-underline-offset: 0.2em;
}

.page a:not(.btn):hover {
 color: var(--green-hover);
 text-decoration-color: var(--green-hover);
}

.legal-doc .legal-lead {
 font-size: 1.05rem;
 color: var(--text);
 max-width: 68ch;
 line-height: 1.55;
}

.imprint-box {
 margin: 0 0 1rem;
 padding: 1.25rem 1.35rem;
 max-width: 42rem;
 border-radius: var(--radius-lg);
 border: 1px solid var(--border);
 background: var(--surface);
 box-shadow: var(--inset-shine), var(--shadow-sm);
 font-style: normal;
 line-height: 1.55;
}

.imprint-note {
 font-size: 0.88rem;
 font-weight: 500;
 color: var(--muted);
}

.imprint-placeholder {
 color: var(--muted);
 font-style: italic;
}

.legal-nav {
 margin-top: 2.75rem;
 padding-top: 1.25rem;
 border-top: 1px solid var(--border);
 font-size: 0.95rem;
}

/* Preise: Tabelle & Einmalpreise */

.price-once {
 margin-top: 0.75rem;
 margin-bottom: 0;
 color: var(--text);
 font-size: 1.05rem;
}

.price-note {
 display: inline-block;
 font-size: 0.8rem;
 font-weight: 500;
 color: var(--muted);
}

.price-table-wrap {
 max-width: 36rem;
}

.price-table {
 width: 100%;
 border-collapse: collapse;
 border-radius: var(--radius-lg);
 overflow: hidden;
 border: 1px solid var(--border);
 background: var(--surface);
 font-size: 0.95rem;
 box-shadow: var(--inset-shine), var(--shadow-sm);
}

.price-table th,
.price-table td {
 padding: 0.75rem 1rem;
 text-align: left;
 border-bottom: 1px solid var(--border);
}

.price-table th {
 background: rgba(0, 0, 0, 0.25);
 color: var(--text);
 font-size: 0.8rem;
 text-transform: uppercase;
 letter-spacing: 0.05em;
}

.price-table tbody tr {
 transition: background var(--transition-fast);
}

.price-table tbody tr:hover {
 background: var(--green-muted);
}

.price-table tbody tr:last-child td {
 border-bottom: none;
}

.price-table td:nth-child(3) {
 color: var(--green);
 font-variant-numeric: tabular-nums;
}

.price-table tbody tr:hover td:nth-child(3) {
 color: var(--green-hover);
}

.price-footnote {
 margin: 1rem 0 0;
 font-size: 0.88rem;
 color: var(--muted);
 max-width: 50ch;
 line-height: 1.55;
}

/* Contact form */

.form {
 max-width: 32rem;
}

.form label {
 display: block;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 0.35rem;
 color: var(--text);
}

.form input,
.form textarea,
.form select {
 width: 100%;
 padding: 0.7rem 0.85rem;
 margin-bottom: 1rem;
 border-radius: var(--radius-sm);
 border: 1px solid rgba(255, 255, 255, 0.1);
 background: rgba(12, 16, 24, 0.75);
 color: var(--text);
 font-family: inherit;
 font-size: 1rem;
 transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form input:hover,
.form textarea:hover,
.form select:hover {
 border-color: rgba(34, 197, 94, 0.25);
}

.form textarea {
 min-height: 8rem;
 resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
 outline: 2px solid var(--green-hover);
 outline-offset: 1px;
 border-color: var(--green-border);
 box-shadow: 0 0 0 3px var(--green-muted);
}

/* Nach oben (Premium) */

.to-top {
 position: fixed;
 right: max(1rem, env(safe-area-inset-right));
 bottom: max(1rem, env(safe-area-inset-bottom));
 z-index: 40;
 width: 3.1rem;
 height: 3.1rem;
 border-radius: 50%;
 border: 1px solid rgba(34, 197, 94, 0.35);
 background: rgba(10, 14, 22, 0.88);
 color: var(--green-hover);
 cursor: pointer;
 font-size: 1.35rem;
 line-height: 1;
 display: grid;
 place-items: center;
 padding: 0;
 box-shadow: var(--shadow-md), 0 0 28px rgba(34, 197, 94, 0.12);
 backdrop-filter: blur(14px) saturate(1.2);
 opacity: 0;
 visibility: hidden;
 transform: translateY(14px);
 transition:
 opacity 0.35s ease,
 transform 0.35s ease,
 visibility 0.35s,
 border-color var(--transition-fast),
 box-shadow var(--transition-smooth),
 color var(--transition-fast),
 background var(--transition-fast);
}

.to-top.is-visible {
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
}

.to-top:hover {
 border-color: var(--green-border);
 color: #fff;
 background: linear-gradient(145deg, rgba(34, 197, 94, 0.35), rgba(10, 14, 22, 0.95));
 box-shadow: 0 6px 28px rgba(34, 197, 94, 0.35), var(--shadow-md);
}

.to-top:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
 .to-top {
 transition: none;
 }
}

/* Cookie-Hinweis + Schleier (CPSync, kein Tracking) */

.cookie-banner-mount {
 position: fixed;
 inset: 0;
 z-index: 99998;
 pointer-events: none;
}

.cookie-banner-veil {
 position: absolute;
 inset: 0;
 background: rgba(5, 8, 14, 0.72);
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
 pointer-events: none;
}

.cookie-banner-mount .cookie-banner {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 z-index: 2;
 padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
 background: rgba(12, 16, 24, 0.97);
 color: var(--text);
 box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
 border-top: 2px solid var(--green-border);
 font-family: var(--font);
 font-size: 0.9rem;
 line-height: 1.55;
 pointer-events: auto;
}

.cookie-banner-inner {
 max-width: 960px;
 margin: 0 auto;
 display: flex;
 flex-wrap: wrap;
 align-items: flex-end;
 justify-content: space-between;
 gap: 14px 20px;
}

.cookie-banner-text {
 flex: 1 1 280px;
 min-width: 0;
 color: var(--muted);
}

.cookie-banner-text strong {
 display: block;
 font-size: 1.05rem;
 font-weight: 700;
 letter-spacing: -0.02em;
 margin-bottom: 0.4rem;
 color: var(--text);
}

.cookie-banner-text a {
 color: var(--green-hover);
 text-decoration: underline;
 text-underline-offset: 0.15em;
}

.cookie-banner-text a:hover {
 color: #fff;
}

.cookie-banner-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 flex-shrink: 0;
}

.cookie-banner .btn-cookie {
 min-height: 48px;
 padding: 0 1.25rem;
 border-radius: var(--radius-sm);
 font-family: var(--font);
 font-weight: 600;
 font-size: 0.9rem;
 cursor: pointer;
 border: 1px solid var(--green-border);
 background: linear-gradient(145deg, rgba(34, 197, 94, 0.25), rgba(12, 16, 24, 0.9));
 color: #ecfdf5;
}

.cookie-banner .btn-cookie:active {
 transform: scale(0.98);
}

.cookie-banner .btn-cookie:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 3px;
}

.cookie-banner-note {
 width: 100%;
 flex-basis: 100%;
 font-size: 0.75rem;
 opacity: 0.8;
 margin: 0;
 color: var(--muted);
}

.cookie-banner .btn-cookie-decline {
 min-height: 48px;
 padding: 0 1.25rem;
 border-radius: var(--radius-sm);
 font-family: var(--font);
 font-weight: 600;
 font-size: 0.9rem;
 cursor: pointer;
 border: 1px solid var(--border);
 background: transparent;
 color: var(--text);
}

.cookie-banner .btn-cookie-decline:hover {
 border-color: var(--muted);
 background: rgba(255, 255, 255, 0.05);
}

.cookie-reject-overlay {
 position: fixed;
 inset: 0;
 z-index: 100000;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: max(1.25rem, env(safe-area-inset-top, 0)) max(1.25rem, env(safe-area-inset-right, 0))
 max(1.25rem, env(safe-area-inset-bottom, 0)) max(1.25rem, env(safe-area-inset-left, 0));
 overflow: auto;
 -webkit-overflow-scrolling: touch;
 background: rgba(5, 8, 14, 0.92);
 backdrop-filter: blur(8px);
}

.cookie-reject-dialog {
 max-width: 420px;
 width: 100%;
 padding: 1.75rem 1.5rem;
 border-radius: var(--radius);
 background: var(--surface);
 color: var(--text);
 border: 1px solid var(--green-border);
 box-shadow: var(--shadow-lg), 0 0 40px rgba(34, 197, 94, 0.12);
 text-align: center;
 font-family: var(--font);
 font-size: 0.95rem;
 line-height: 1.55;
}

.cookie-reject-dialog h2 {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--text);
 margin: 0 0 0.75rem;
}

.cookie-reject-dialog p {
 margin: 0 0 1.25rem;
 color: var(--muted);
}

.cookie-reject-dialog .btn-reload {
 display: inline-block;
 min-height: 48px;
 padding: 0 1.5rem;
 border-radius: var(--radius-sm);
 font-family: var(--font);
 font-weight: 600;
 font-size: 0.9rem;
 cursor: pointer;
 border: none;
 background: var(--accent);
 color: #fff;
}

.cookie-reject-dialog .btn-reload:hover {
 background: var(--accent-hover);
}

@media (prefers-reduced-motion: reduce) {
 .cookie-banner .btn-cookie:active {
 transform: none;
 }
}

/* FAQ Bot (Hilfe-Widget) */

.faqbot-root {
 position: fixed;
 right: 1rem;
 bottom: 1rem;
 z-index: 99990;
 pointer-events: none;
 font-family: var(--font);
}

.faqbot-launcher {
 pointer-events: auto;
 display: inline-flex;
 align-items: center;
 gap: 0.55rem;
 height: 3.15rem;
 padding: 0 1.05rem 0 0.95rem;
 border-radius: 999px;
 border: 1px solid rgba(34, 197, 94, 0.38);
 background: rgba(10, 14, 22, 0.9);
 color: var(--text);
 box-shadow: var(--shadow-md), 0 0 26px rgba(34, 197, 94, 0.12);
 backdrop-filter: blur(14px) saturate(1.2);
 cursor: pointer;
}

.faqbot-launcher:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 3px;
}

.faqbot-launcher:hover {
 border-color: var(--green-border);
 box-shadow: var(--shadow-lg), 0 0 32px rgba(34, 197, 94, 0.18);
}

.faqbot-launcher__dot {
 width: 0.6rem;
 height: 0.6rem;
 border-radius: 50%;
 background: radial-gradient(circle at 30% 30%, #bbf7d0, var(--green));
 box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}

.faqbot-launcher__label {
 font-weight: 700;
 font-size: 0.95rem;
 letter-spacing: -0.01em;
}

.faqbot-panel {
 pointer-events: none;
 position: absolute;
 right: 0;
 bottom: 4.1rem;
 width: min(92vw, 22.5rem);
 max-height: min(74vh, 38rem);
 display: flex;
 flex-direction: column;
 border-radius: 18px;
 border: 1px solid var(--border);
 background: rgba(12, 16, 24, 0.96);
 box-shadow: var(--shadow-lg), 0 0 38px rgba(34, 197, 94, 0.08);
 overflow: hidden;
 opacity: 0;
 visibility: hidden;
 transform: translateY(10px) scale(0.985);
 transition:
 opacity 180ms ease,
 transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
 visibility 0ms linear 260ms;
}

.faqbot-root.is-open .faqbot-panel {
 pointer-events: auto;
 opacity: 1;
 visibility: visible;
 transform: translateY(0) scale(1);
 transition:
 opacity 180ms ease,
 transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
 visibility 0ms;
}

.faqbot-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 0.75rem;
 padding: 0.9rem 0.95rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.06);
 background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(34, 197, 94, 0.06));
}

.faqbot-header__name {
 font-weight: 800;
 letter-spacing: -0.02em;
}

.faqbot-header__hint {
 font-size: 0.8rem;
 color: var(--muted);
}

.faqbot-close {
 width: 2.25rem;
 height: 2.25rem;
 border-radius: 10px;
 border: 1px solid rgba(255, 255, 255, 0.12);
 background: rgba(0, 0, 0, 0.22);
 color: var(--text);
 cursor: pointer;
 font-size: 1.25rem;
 line-height: 1;
}

.faqbot-close:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 3px;
}

.faqbot-close:hover {
 border-color: var(--green-border);
 background: rgba(34, 197, 94, 0.08);
}

.faqbot-msgs {
 padding: 0.85rem 0.95rem;
 overflow: auto;
 display: flex;
 flex-direction: column;
 gap: 0.55rem;
}

.faqbot-msg {
 max-width: 92%;
 padding: 0.65rem 0.75rem;
 border-radius: 14px;
 border: 1px solid rgba(255, 255, 255, 0.08);
 font-size: 0.92rem;
 line-height: 1.45;
}

.faqbot-msg a {
 color: var(--green-hover);
}

.faqbot-msg a:hover {
 color: #fff;
}

.faqbot-msg--bot {
 align-self: flex-start;
 background: rgba(255, 255, 255, 0.04);
 color: var(--text);
}

.faqbot-msg--user {
 align-self: flex-end;
 background: rgba(34, 197, 94, 0.12);
 border-color: rgba(34, 197, 94, 0.25);
 color: #ecfdf5;
}

.faqbot-suggestions {
 padding: 0 0.95rem 0.85rem;
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
}

.faqbot-inline-chips {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
}

.faqbot-chip {
 border: 1px solid rgba(255, 255, 255, 0.12);
 background: rgba(0, 0, 0, 0.18);
 color: var(--text);
 padding: 0.35rem 0.55rem;
 border-radius: 999px;
 font-size: 0.82rem;
 cursor: pointer;
}

.faqbot-chip:focus-visible {
 outline: 2px solid var(--green-hover);
 outline-offset: 2px;
}

.faqbot-chip:hover {
 border-color: var(--green-border);
 background: rgba(34, 197, 94, 0.08);
}

.faqbot-form {
 display: flex;
 gap: 0.5rem;
 padding: 0.85rem 0.95rem;
 border-top: 1px solid rgba(255, 255, 255, 0.06);
 background: rgba(0, 0, 0, 0.15);
}

.faqbot-input {
 flex: 1;
 min-width: 0;
 border-radius: 12px;
 border: 1px solid var(--border);
 background: rgba(8, 12, 20, 0.8);
 color: var(--text);
 padding: 0.6rem 0.75rem;
 font-size: 0.92rem;
 outline: none;
}

.faqbot-input:focus {
 border-color: var(--green-border);
 box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.faqbot-send {
 border-radius: 12px;
 border: 1px solid rgba(34, 197, 94, 0.35);
 background: linear-gradient(145deg, rgba(34, 197, 94, 0.28), rgba(12, 16, 24, 0.9));
 color: #ecfdf5;
 padding: 0 0.95rem;
 font-weight: 700;
 cursor: pointer;
}

.faqbot-send:hover {
 border-color: var(--green-border);
 background: linear-gradient(145deg, rgba(34, 197, 94, 0.4), rgba(12, 16, 24, 0.9));
}

.faqbot-footer {
 padding: 0.85rem 0.95rem;
 border-top: 1px solid rgba(255, 255, 255, 0.06);
 display: grid;
 gap: 0.65rem;
}

.faqbot-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
}

.faqbot-action {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 0.35rem 0.6rem;
 border-radius: 999px;
 border: 1px solid rgba(255, 255, 255, 0.12);
 background: rgba(0, 0, 0, 0.14);
 color: var(--muted);
 text-decoration: none;
 font-size: 0.82rem;
}

.faqbot-action:hover {
 color: var(--green-hover);
 border-color: var(--green-border);
 background: rgba(34, 197, 94, 0.08);
}

.faqbot-privacy {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 0.75rem;
 font-size: 0.78rem;
 color: var(--muted);
}

.faqbot-privacy a {
 color: var(--accent-hover);
}

.faqbot-privacy a:hover {
 color: var(--green-hover);
}

@media (max-width: 420px) {
 .faqbot-root {
 right: 0.75rem;
 bottom: 0.75rem;
 }
 .faqbot-panel {
 width: min(94vw, 22.5rem);
 }
}

