/* =========================================================================
   nieberle-it — marketing site
   Design tokens copied 1:1 from the app's dark theme (theme-vars.blade.php)
   so this site reads as the same product, not a separate brand.
   ========================================================================= */

:root {
    color-scheme: dark;

    --primary: #4C8DFF;
    --primary-strong: #3D7BEF;
    --primary-soft: rgba(76, 141, 255, 0.16);
    --primary-soft-strong: rgba(76, 141, 255, 0.28);
    --primary-border-soft: rgba(76, 141, 255, 0.45);
    --text-on-primary: #FFFFFF;

    --rail-bg: #14161D;
    --channel-bg: #20232D;
    --tile-bg: #363B4A;
    --tile-border: rgba(255, 255, 255, 0.08);
    --card-hover-bg: #383D4D;

    --text: #E7EAF1;
    --text-strong: #FFFFFF;
    --muted: #9AA3B7;
    --line: rgba(255, 255, 255, 0.08);

    --success-border: #2FA968;
    --success-bg: rgba(47, 169, 104, 0.16);
    --success-text: #BDF2D7;
    --warning-border: #DB9B3B;
    --warning-bg: rgba(219, 155, 59, 0.16);
    --warning-text: #FBE3BB;

    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius: 18px;

    --shadow-sm: 0 2px 8px rgba(8, 9, 13, 0.28);
    --shadow: 0 10px 28px rgba(8, 9, 13, 0.38), 0 2px 8px rgba(8, 9, 13, 0.24);
    --shadow-lg: 0 18px 46px rgba(8, 9, 13, 0.46), 0 4px 14px rgba(8, 9, 13, 0.3);

    --container: 1180px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--rail-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    width: min(var(--container), 92vw);
    margin: 0 auto;
}

::selection { background: var(--primary-soft-strong); color: var(--text-strong); }

/* ---------- top nav ---------- */
.topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background: linear-gradient(to bottom, rgba(20, 22, 29, 0.92), rgba(20, 22, 29, 0));
    backdrop-filter: blur(6px);
}
.topnav .container { display: flex; align-items: center; justify-content: space-between; }
.topnav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--text-strong); }
.topnav-brand img { width: 30px; height: 30px; border-radius: var(--radius-sm); }
.topnav-links { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.topnav-links a { transition: color 0.2s ease; }
.topnav-links a:hover { color: var(--text-strong); }
.topnav .btn { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius-md);
    background: var(--tile-bg);
    color: var(--text-strong);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--tile-border);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--card-hover-bg); transform: translateY(-1px); }
.btn.primary { background: var(--primary); border-color: transparent; box-shadow: 0 8px 24px rgba(76, 141, 255, 0.35); }
.btn.primary:hover { background: var(--primary-strong); box-shadow: 0 10px 30px rgba(76, 141, 255, 0.45); }

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
/* Soft radial gradients already fade out smoothly on their own (the
   "transparent 60%" stop) - no filter:blur needed. A blurred, continuously
   transform-animated element this large forces the browser to recomposite
   an expensive blur on every frame, which measurably hurt scroll
   performance; this reads just as soft while costing nothing at rest. */
.hero-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(42vw 42vw at 22% 24%, rgba(76, 141, 255, 0.22), transparent 62%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-logo {
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    margin: 0 auto 28px;
    box-shadow: var(--shadow-lg);
    animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-border-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(2.3rem, 5.4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-strong);
    line-height: 1.08;
}
.hero h1 span { color: var(--primary); }
.hero p.lead {
    margin-top: 22px;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    color: var(--muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }

.scroll-cue {
    position: absolute;
    bottom: 34px; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue svg { width: 18px; height: 18px; }
@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- section scaffolding ---------- */
section { position: relative; padding: 120px 0; }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text-strong);
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(.22,.9,.3,1), transform 0.8s cubic-bezier(.22,.9,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }

/* ---------- app preview mockup ---------- */
.preview-wrap { position: relative; }
.app-frame {
    display: grid;
    grid-template-columns: 84px 1fr;
    background: var(--rail-bg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--tile-border);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    aspect-ratio: 16 / 9.6;
}
.app-frame-rail {
    background: var(--rail-bg);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}
.app-frame-rail .rail-logo { width: 34px; height: 34px; border-radius: var(--radius-sm); margin-bottom: 6px; }
.app-frame-rail .rail-dot {
    width: 42px; height: 42px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    display: grid; place-items: center;
    color: var(--muted);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s ease, color 0.2s ease;
}
.app-frame-rail .rail-dot svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-frame-rail .rail-dot.is-visible { opacity: 1; transform: scale(1); }
.app-frame-rail .rail-dot.active { background: var(--primary); color: #fff; }
.app-frame-body { background: var(--channel-bg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.app-frame-topbar {
    height: 14px; width: 40%;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}
.app-frame-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    flex: 1;
}
.mini-card {
    background: var(--tile-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    transition: opacity 0.6s cubic-bezier(.22,.9,.3,1), transform 0.6s cubic-bezier(.22,.9,.3,1);
}
.mini-card.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.mini-card .mini-icon {
    width: 28px; height: 28px;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid; place-items: center;
}
.mini-card .mini-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-card .mini-label { font-size: 0.74rem; color: var(--muted); }
.mini-card .mini-value { font-size: 1.3rem; font-weight: 800; color: var(--text-strong); }
.mini-card .mini-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.mini-card .mini-bar > span { display: block; height: 100%; background: var(--primary); border-radius: inherit; width: 0%; transition: width 1s cubic-bezier(.22,.9,.3,1) 0.3s; }
.mini-card.is-visible .mini-bar > span { width: var(--fill, 60%); }

/* ---------- feature rows ---------- */
.features { display: flex; flex-direction: column; gap: 10px; }
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-visual { order: 1; }

.feature-icon-wrap {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    transition: border-radius 0.7s cubic-bezier(.3,1.2,.4,1), background 0.5s ease, transform 0.6s cubic-bezier(.3,1.2,.4,1);
}
.feature-row.is-visible .feature-icon-wrap { border-radius: var(--radius-lg); transform: rotate(0deg); }
.feature-icon-wrap svg { width: 30px; height: 30px; stroke: var(--primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon-wrap svg path, .feature-icon-wrap svg circle, .feature-icon-wrap svg rect {
    stroke-dasharray: var(--len, 100);
    stroke-dashoffset: var(--len, 100);
    transition: stroke-dashoffset 1.1s cubic-bezier(.3,.7,.3,1);
}
.feature-row.is-visible .feature-icon-wrap svg path,
.feature-row.is-visible .feature-icon-wrap svg circle,
.feature-row.is-visible .feature-icon-wrap svg rect { stroke-dashoffset: 0; }

.feature-index { font-size: 0.78rem; font-weight: 800; color: var(--primary); letter-spacing: 0.1em; margin-bottom: 10px; }
.feature-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--text-strong); letter-spacing: -0.01em; }
.feature-copy p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; max-width: 460px; }

.feature-visual {
    background: var(--channel-bg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--tile-border);
    padding: 26px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-visual .widget-card {
    width: 100%;
    background: var(--tile-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.feature-visual .wc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.feature-visual .wc-title { font-weight: 700; color: var(--text-strong); font-size: 0.95rem; }
.feature-visual .wc-badge { font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.feature-visual .wc-badge.ok { background: var(--success-bg); color: var(--success-text); }
.feature-visual .wc-badge.warn { background: var(--warning-bg); color: var(--warning-text); }
.feature-visual .wc-stat-row { display: flex; gap: 26px; }
.feature-visual .wc-stat .v { font-size: 1.5rem; font-weight: 800; color: var(--text-strong); }
.feature-visual .wc-stat .l { font-size: 0.74rem; color: var(--muted); margin-top: 2px; }
.feature-visual .wc-list { display: grid; gap: 8px; margin-top: 16px; }
.feature-visual .wc-list-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.82rem; color: var(--text); }
.feature-visual .wc-list-row span.dim { color: var(--muted); }

/* ---------- full module grid ---------- */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.module-tile {
    background: var(--channel-bg);
    border: 1px solid var(--tile-border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.94);
    transition: opacity 0.55s cubic-bezier(.22,.9,.3,1), transform 0.55s cubic-bezier(.22,.9,.3,1), border-color 0.2s ease, background 0.2s ease;
}
.module-tile.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.module-tile:hover { border-color: var(--primary-border-soft); background: var(--card-hover-bg); }
.module-tile .mt-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: grid; place-items: center;
}
.module-tile .mt-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.module-tile .mt-name { font-size: 0.86rem; font-weight: 700; color: var(--text); }
.module-tile .mt-soon { font-size: 0.68rem; color: var(--muted); background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 999px; }

/* ---------- platform strip ---------- */
.platform {
    background: var(--channel-bg);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--tile-border);
    box-shadow: var(--shadow);
    padding: 56px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.platform h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--text-strong); letter-spacing: -0.01em; }
.platform p { margin-top: 14px; color: var(--muted); }
.platform-badges { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.platform-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--tile-bg); border-radius: 999px; padding: 8px 14px; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.platform-badge svg { width: 15px; height: 15px; stroke: var(--success-border); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.platform-visual { display: flex; align-items: center; justify-content: center; }
.platform-window {
    width: 100%;
    max-width: 320px;
    background: var(--rail-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--tile-border);
    overflow: hidden;
}
.platform-window-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,0.04); }
.platform-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.platform-window-body { padding: 24px; display: grid; gap: 10px; }
.platform-window-body .pw-line { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.platform-window-body .pw-line.w60 { width: 60%; }
.platform-window-body .pw-line.w80 { width: 80%; }
.platform-window-body .pw-line.w40 { width: 40%; }
.platform-window-body .pw-btn { margin-top: 10px; height: 34px; width: 120px; border-radius: var(--radius-sm); background: var(--primary); }

/* ---------- CTA / footer ---------- */
.cta {
    text-align: center;
    padding: 100px 0 60px;
}
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--text-strong); letter-spacing: -0.015em; }
.cta p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.cta .hero-actions { margin-top: 32px; }

footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
}
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text-strong); }
.footer-brand img { width: 24px; height: 24px; border-radius: 7px; }
footer .footer-meta { color: var(--muted); font-size: 0.84rem; }
footer .footer-links { display: flex; gap: 20px; font-size: 0.84rem; color: var(--muted); }
footer .footer-links a:hover { color: var(--text); }
@media (max-width: 700px) {
    footer .container { flex-direction: column; align-items: flex-start; gap: 22px; }
    footer .footer-links { flex-direction: column; gap: 14px; font-size: 0.95rem; }
}

/* ---------- responsive (base page) ---------- */
@media (max-width: 860px) {
    .topnav-links { display: none; }
    .feature-row { grid-template-columns: 1fr; gap: 28px; }
    .feature-row.flip .feature-copy { order: 1; }
    .feature-row.flip .feature-visual { order: 2; }
    .app-frame { grid-template-columns: 60px 1fr; aspect-ratio: auto; min-height: 420px; }
    .app-frame-grid { grid-template-columns: 1fr; }
    .platform { grid-template-columns: 1fr; padding: 32px; }
    section { padding: 80px 0; }
}
@media (max-width: 480px) {
    /* Nav button is redundant with the hero/CTA buttons at this width -
       dropping it keeps the brand from crowding the nav bar. */
    .topnav .btn.primary { display: none; }
    .topnav-brand { font-size: 0.95rem; }
    /* The in-nav lang toggle is swapped for a floating one (see
       .lang-toggle-float below) - .topnav has backdrop-filter, which makes it
       the containing block for any position:fixed descendant, so a fixed
       toggle left inside the nav can't actually reach the viewport corner. */
    .topnav .lang-toggle { display: none; }
}

/* =========================================================================
   Multi-page site additions: language toggle, sub-page hero, pricing,
   stepper/timeline, stats counters, legal typography.
   ========================================================================= */

/* ---------- bilingual content: show DE by default, swap via html[data-lang] --
   Every translatable string is authored as a pair of inline spans right next
   to each other in the markup (lang="de" / lang="en"), toggled purely by
   these two rules - no JS dictionary to keep in sync, no risk of a key
   silently not matching. */
html:not([data-lang="en"]) [lang="en"] { display: none; }
html[data-lang="en"] [lang="de"] { display: none; }

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--tile-bg);
    border-radius: 999px;
    padding: 3px;
    border: 1px solid var(--tile-border);
}
.lang-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn.active { background: var(--primary); color: #fff; }
.lang-btn:not(.active):hover { color: var(--text); }
.topnav .lang-toggle { margin-right: 14px; }

/* Floating lang toggle: a direct child of <body> (not .topnav), only shown
   on mobile, see @media (max-width: 480px) above - this is what actually
   ends up fixed to the viewport corner. */
.lang-toggle-float { display: none; }
@media (max-width: 480px) {
    .lang-toggle-float {
        display: flex;
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 70;
        box-shadow: var(--shadow-lg);
    }
}

/* ---------- sub-page hero (shorter than the home hero) ---------- */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}
.page-hero .hero-glow { opacity: 0.7; }
.page-hero h1 {
    position: relative; z-index: 1;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-strong);
    line-height: 1.1;
}
.page-hero h1 span { color: var(--primary); }
.page-hero p.lead {
    position: relative; z-index: 1;
    margin: 20px auto 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
}
.breadcrumb {
    position: relative; z-index: 1;
    display: flex; justify-content: center; gap: 8px;
    font-size: 0.8rem; color: var(--muted);
    margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--text); }

/* ---------- stat counters ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.stat-tile { text-align: center; }
.stat-tile .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.stat-tile .num .suffix { color: var(--primary); }
.stat-tile .lbl { margin-top: 6px; color: var(--muted); font-size: 0.88rem; }

/* ---------- pricing ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.price-card {
    background: var(--channel-bg);
    border: 1px solid var(--tile-border);
    border-radius: var(--radius-2xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(.22,.9,.3,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--primary-border-soft); box-shadow: var(--shadow-lg); }
.price-card.featured { background: linear-gradient(180deg, rgba(76,141,255,0.1), var(--channel-bg) 40%); border-color: var(--primary-border-soft); box-shadow: var(--shadow); position: relative; }
.price-card .price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: 0.04em; white-space: nowrap; }
.price-card .p-name { font-weight: 800; color: var(--text-strong); font-size: 1.1rem; }
.price-card .p-sub { color: var(--muted); font-size: 0.86rem; margin-top: 6px; min-height: 40px; }
.price-card .p-amount { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.price-card .p-amount .v { font-size: 2.2rem; font-weight: 800; color: var(--text-strong); }
.price-card .p-amount .u { color: var(--muted); font-size: 0.86rem; }
.price-card .p-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; flex: 1; }
.price-card .p-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }
.price-card .p-list svg { width: 16px; height: 16px; stroke: var(--success-border); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }

.module-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 40px; }
.module-price-row {
    display: flex; align-items: center; gap: 14px;
    background: var(--channel-bg);
    border: 1px solid var(--tile-border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(.22,.9,.3,1), transform 0.5s cubic-bezier(.22,.9,.3,1), border-color 0.2s ease;
}
.module-price-row.is-visible { opacity: 1; transform: translateY(0); }
.module-price-row:hover { border-color: var(--primary-border-soft); }
.module-price-row .mp-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.module-price-row .mp-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.module-price-row .mp-name { font-weight: 700; font-size: 0.92rem; color: var(--text); flex: 1; }
.module-price-row .mp-price { font-weight: 800; color: var(--primary); font-size: 0.92rem; white-space: nowrap; }

/* ---------- stepper / timeline (booking customization flow) ---------- */
.stepper { display: flex; flex-direction: column; }
.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    padding-bottom: 46px;
    position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--tile-bg);
    border: 2px solid var(--tile-border);
    color: var(--muted);
    display: grid; place-items: center;
    font-weight: 800; font-size: 0.95rem;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(.3,1.3,.4,1);
    flex-shrink: 0;
}
.step.is-visible .step-num { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.08); }
.step-line { flex: 1; width: 2px; background: var(--line); margin-top: 8px; }
.step.is-visible .step-line { background: linear-gradient(var(--primary), var(--line)); }
.step-body { padding-top: 6px; opacity: 0; transform: translateX(-16px); transition: opacity 0.6s ease 0.1s, transform 0.6s cubic-bezier(.22,.9,.3,1) 0.1s; }
.step.is-visible .step-body { opacity: 1; transform: translateX(0); }
.step-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--text-strong); }
.step-body p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; max-width: 560px; }
.step-body .step-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.step-body .step-tag { font-size: 0.76rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 5px 11px; border-radius: 999px; }

/* ---------- requirement table (Die App / system requirements) ---------- */
.req-table { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--tile-border); }
.req-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; background: var(--channel-bg); padding: 16px 20px; }
.req-row .req-k { font-weight: 700; color: var(--text-strong); font-size: 0.88rem; }
.req-row .req-v { color: var(--muted); font-size: 0.88rem; }

/* ---------- comparison / highlight chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--tile-bg); border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.chip svg { width: 14px; height: 14px; stroke: var(--primary); fill: none; stroke-width: 2.2; }

/* ---------- service cards (Leistungen) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
    background: var(--channel-bg);
    border: 1px solid var(--tile-border);
    border-radius: var(--radius-2xl);
    padding: 30px;
    opacity: 0; transform: translateY(24px) scale(0.98);
    transition: opacity 0.6s cubic-bezier(.22,.9,.3,1), transform 0.6s cubic-bezier(.22,.9,.3,1), border-color 0.25s ease, background 0.25s ease;
}
.service-card.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.service-card:hover { border-color: var(--primary-border-soft); background: var(--card-hover-bg); }
.service-card .sc-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; }
.service-card .sc-icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-strong); }
.service-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

/* ---------- legal page typography ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.3rem; font-weight: 800; color: var(--text-strong); margin-top: 44px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.02rem; font-weight: 700; color: var(--text-strong); margin-top: 26px; }
.legal-body p { color: var(--muted); margin-top: 12px; font-size: 0.96rem; }
.legal-body ul { color: var(--muted); font-size: 0.96rem; margin-top: 12px; padding-left: 20px; }
.legal-body li { margin-top: 6px; }
.legal-body a { color: var(--primary); }
.legal-body a:hover { text-decoration: underline; }
.legal-updated { color: var(--muted); font-size: 0.82rem; margin-bottom: 36px; }

/* ---------- responsive (new sections) ---------- */
@media (max-width: 860px) {
    .price-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .req-row { grid-template-columns: 1fr; gap: 4px; }
    .page-hero { padding: 130px 0 60px; }
}
