/* ==========================================================================
   Notary one by BINARY one — Produktseite
   Design-Grundlage: binaryone.ch („Refined Dark Tech")
   Tokens, Typo, Buttons, Eyebrow-Marker, Kopf- und Fusszeile sind 1:1 von
   der Gemeinde-App übernommen, damit die Seite ohne Bruch in den Auftritt
   passt. Nicht neu interpretieren — siehe ANLEITUNG-NEUES-PRODUKT.md, Abschnitt 3.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Theme-Variablen (identisch zu binaryone.ch)
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
    color-scheme: dark;
    --bg:            oklch(0.14 0.012 260);
    --bg-elev:       oklch(0.18 0.014 260);
    --bg-card:       oklch(0.20 0.014 260);
    --bg-input:      oklch(0.255 0.016 260);
    --line:          oklch(0.28 0.014 260);
    --line-soft:     oklch(0.22 0.014 260);
    --ink:           oklch(0.97 0.005 260);
    --ink-muted:     oklch(0.72 0.012 260);
    --ink-soft:      oklch(0.62 0.014 260);
    --accent:        oklch(0.82 0.15 165);
    --accent-soft:   oklch(0.82 0.15 165 / 0.12);
    --accent-ink:    oklch(0.18 0.014 260);
    --danger:        oklch(0.68 0.18 28);
    --grain-opacity: 0.05;

    --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sans:    "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;

    --ease:    cubic-bezier(0.22, 1, 0.36, 1);

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;

    --max:      1240px;
    --max-wide: 1800px;
    --pad-x:    clamp(1.25rem, 4vw, 4rem);

    --header-h:     68px;
    --header-h-top: 88px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: "ss01", "ss02";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 300;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--r-md) 0;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Grain-Overlay
   -------------------------------------------------------------------------- */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: var(--grain-opacity);
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
h1, .h1 {
    font-family: var(--display);
    font-variation-settings: "wdth" 95;
    letter-spacing: -0.025em;
    line-height: 1.02;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    color: var(--ink);
}

h2, .h2 {
    font-family: var(--display);
    font-variation-settings: "wdth" 97;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

em { font-style: italic; color: var(--accent); }
strong, b { font-weight: 400; }

.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 36px;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--accent);
}
/* CD-Marker: konturiertes 8px-Quadrat auf der Linie */
.eyebrow::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
}

.lede {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 64ch;
}

.mono-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
main { padding-top: var(--header-h-top); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

section {
    padding: clamp(4rem, 8vw, 7.5rem) 0;
    position: relative;
}
section + section { border-top: 1px solid var(--line-soft); }
main > .hero + * { border-top: none; }

.section-intro { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro .lede { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 0.925rem;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 220ms var(--ease), color 220ms var(--ease),
                border-color 220ms var(--ease), filter 220ms var(--ease);
    white-space: nowrap;
}
.btn svg { transition: transform 300ms var(--ease); flex: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(3px); } }

.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { filter: brightness(1.08); } }

.btn-ghost { background: transparent; border-width: 1.5px; border-color: oklch(0.45 0.013 260); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--ink); background: var(--bg-elev); } }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1rem; }

/* Knopf mit führendem Icon (Drucker, Brief, Telefon) — der Pfeil-Versatz beim
   Hover gilt nur für nachgestellte Icons und wird hier abgeschaltet. */
.btn-lead svg { order: -1; }
@media (hover: hover) and (pointer: fine) { .btn-lead:hover svg { transform: none; } }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h-top);
    z-index: 100;
    background: color-mix(in oklch, var(--bg) 72%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid transparent;
    transition: height 320ms var(--ease), background 320ms var(--ease), border-color 320ms var(--ease);
}
.site-header.is-scrolled {
    height: var(--header-h);
    background: color-mix(in oklch, var(--bg) 88%, transparent);
    border-bottom-color: var(--line-soft);
}

.nav {
    height: 100%;
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; flex: none; }

/* Wortmarke — exakt die Grösse von binaryone.ch: 167 x 18 px, unter 760px 14px. */
.brand-logo { display: block; width: auto; height: 18px; }
.brand-logo .lg-b,
.brand-logo .lg-inary { fill: var(--ink); }
.brand-logo .lg-one   { fill: var(--accent); }
@media (max-width: 760px) { .brand-logo { height: 14px; } }
.brand-sep { width: 1px; height: 20px; background: var(--line); }
.brand-product {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
    font-size: 0.925rem;
    color: var(--ink-muted);
    transition: color 200ms var(--ease);
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.nav-toggle span {
    display: block; width: 20px; height: 1.5px; background: var(--ink);
    transition: transform 300ms var(--ease);
}
.nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .nav-toggle span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }
/* Kopfzeile bleibt über dem offenen Menü sichtbar (Logo, Schliessen). */
.nav-open .site-header { background: var(--bg); border-bottom-color: var(--line-soft); }

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    padding: calc(var(--header-h-top) + 0.75rem) var(--pad-x)
             calc(1.5rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms var(--ease);
}
.nav-open .nav-overlay { opacity: 1; pointer-events: auto; }

.nav-overlay-links li + li { border-top: 1px solid var(--line-soft); }
.nav-overlay-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    font-family: var(--display);
    font-variation-settings: "wdth" 97;
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
}
.nav-overlay-links a::after {
    content: "";
    width: 8px; height: 8px;
    flex: none;
    border-top: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
    transform: rotate(45deg);
}

.nav-overlay-cta { margin-top: 1.75rem; }
.nav-overlay-cta .btn { width: 100%; }

.nav-overlay-foot {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
    display: grid;
    gap: 0.4rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--ink-soft);
}
.nav-overlay-foot a { color: var(--ink-muted); }

@media (max-width: 1080px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-actions .btn { display: none; }
    /* Ohne sichtbare Links muss die Aktionsgruppe selbst nach rechts rücken. */
    .nav-links + .nav-actions { margin-left: auto; }
    /* Burger optisch auf die Satzkante bringen (Icon 20px in 40px-Fläche). */
    .nav-toggle { margin-right: -10px; }
}
@media (max-width: 700px) {
    :root { --header-h-top: 72px; --header-h: 60px; }
    .nav { gap: 1rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    padding-top: clamp(3rem, 7vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
    position: relative;
    overflow: hidden;
    border-top: none;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 78% 28%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 68%);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: clamp(120px, 18vh, 240px);
    background: linear-gradient(to bottom, transparent, var(--bg) 92%);
    pointer-events: none;
    z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero .eyebrow { animation: fadeUp 600ms var(--ease) both; }

/* Ohne JS erscheint die Headline als Block — mit JS wortweise (siehe unten). */
.hero h1 { animation: fadeUp 700ms var(--ease) 100ms both; margin-bottom: 1.75rem; max-width: 15ch; }
.hero .lede { animation: fadeUp 700ms var(--ease) 350ms both; margin-bottom: 2rem; }

/* Wortweiser Einlauf der Headline. Das Aufteilen übernimmt app.js; --i ist der
   Wortindex und erzeugt den Versatz. */
.hero h1.is-split { animation: none; }
.hero h1.is-split .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.42em);
    animation: wordIn 640ms var(--ease) both;
    animation-delay: calc(var(--i, 0) * 38ms + 60ms);
}
@keyframes wordIn {
    from { opacity: 0; transform: translateY(0.42em); }
    to   { opacity: 1; transform: none; }
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; animation: fadeUp 700ms var(--ease) 560ms both; margin-bottom: 2rem; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-soft);
    animation: fadeUp 700ms var(--ease) 650ms both;
}
.hero-trust li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
}
.hero-trust svg { color: var(--accent); flex: none; }

.hero-visual { position: relative; animation: fadeUp 800ms var(--ease) 350ms both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   Produktbild — Browserrahmen (Web-Software, Anleitung 3.7)
   -------------------------------------------------------------------------- */
.browser-mock { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-card); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line-soft); background: var(--bg-elev); }
.browser-dot { width: 8px; height: 8px; border: 1px solid var(--line); }
.browser-url { margin-left: 0.75rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-soft); background: var(--bg); border-radius: 999px; padding: 0.3rem 0.75rem; }
.browser-body { padding: 1.5rem; min-height: 340px; }
.wizard-steps { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.wizard-step { flex: 1; min-width: 0; padding: 0.6rem 0.75rem; border-radius: var(--r-md); border: 1px solid var(--line-soft); font-size: 0.72rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.wizard-step b { font-family: var(--mono); font-size: 0.65rem; color: var(--ink-soft); }
.wizard-step.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.wizard-step.is-active b { color: var(--accent); }
.wizard-body .placeholder { min-height: 200px; }

/* Platzhalter — muss vor dem Livegang durch echte Screenshots ersetzt werden. */
.placeholder {
    border: 1.5px dashed var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-card);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 0.6rem; padding: 2rem;
    color: var(--ink-soft);
}
.placeholder svg { color: var(--ink-soft); }
.placeholder span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; max-width: 26ch; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Raster & Karten
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    transition: border-color 250ms var(--ease), transform 250ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--line); transform: translateY(-2px); } }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--ink-muted); font-size: 0.95rem; }

.card-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Ablauf / Timeline
   -------------------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

.tl-step { padding: 2rem 1.5rem 2rem 0; position: relative; border-top: 1px solid var(--line); }
.tl-step::before {
    content: "";
    position: absolute;
    top: -5px; left: 0;
    width: 9px; height: 9px;
    background: var(--bg);
    border: 1px solid var(--accent);
}
.tl-step:first-child::after {
    content: "";
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
}
.tl-week {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}
.tl-step h3 { margin-bottom: 0.6rem; }
.tl-step p { color: var(--ink-muted); font-size: 0.93rem; }

/* --------------------------------------------------------------------------
   Vergleich — Merkmalstabelle, eigene Spalte hervorgehoben
   -------------------------------------------------------------------------- */
.compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-card);
    width: 100%;
    position: relative;
}
.compare-table { min-width: 720px; width: 100%; }
@media (max-width: 620px) {
    .compare-table { min-width: 540px; }
    .compare-table th, .compare-table td { padding: 0.7rem 0.7rem; }
    .compare-table thead th { font-size: 0.55rem; letter-spacing: 0.05em; }
    .compare-table thead th b { font-size: 0.86rem; }
    .compare-table tbody th { font-size: 0.82rem; }
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

/* Kopfzeile */
.compare-table thead th {
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    vertical-align: bottom;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.compare-table thead th b {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--display);
    font-variation-settings: "wdth" 97;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    text-transform: none;
    color: var(--ink);
}

/* Zeilenkopf = das Merkmal */
.compare-table tbody th {
    font-weight: 400;
    font-size: 0.94rem;
    color: var(--ink);
}
.compare-table tbody tr { transition: background 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
    .compare-table tbody tr:hover th { background: var(--bg-elev); }
}

/* Die eigene Spalte — durchgehend getönt, damit sie als Spalte liest */
.compare-table .is-ours { background: color-mix(in oklch, var(--accent) 8%, transparent); }
.compare-table thead .is-ours {
    background: color-mix(in oklch, var(--accent) 14%, var(--bg-elev));
    border-bottom-color: color-mix(in oklch, var(--accent) 30%, transparent);
}
.compare-table thead .is-ours b { color: var(--accent); }

.mk-text { font-size: 0.86rem; color: var(--ink-muted); }
.is-ours .mk-text,
.is-ours.mk-text { color: var(--ink); font-family: var(--display); font-size: 0.95rem; letter-spacing: -0.01em; }

/* --------------------------------------------------------------------------
   Betrieb & Datensicherheit
   -------------------------------------------------------------------------- */
.deploy-card { border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--bg-card); padding: clamp(1.5rem, 2.5vw, 2rem); }
.deploy-card .tier-badge { display: inline-block; font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.25rem 0.7rem; margin-bottom: 1rem; }
.deploy-card h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.deploy-card > p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.deploy-list li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-muted); padding: 0.5rem 0; }
.deploy-list li + li { border-top: 1px solid var(--line-soft); }
.deploy-list svg { color: var(--accent); flex: none; margin-top: 3px; }

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */
.price-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 760px) { .price-band { grid-template-columns: 1fr; } }
.price-once { border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--bg-card); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.75rem; }
.price-once .amount { font-family: var(--display); font-variation-settings: "wdth" 95; font-size: 1.9rem; letter-spacing: -0.02em; color: var(--accent); }
.price-once .amount span { font-size: 0.95rem; letter-spacing: 0; color: var(--ink-muted); font-family: var(--sans); font-variation-settings: normal; }
.price-once p { color: var(--ink-muted); font-size: 0.9rem; }

.price-group-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.price-group-title .mono-label { flex: none; }
.price-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.price-groups { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }

.tier-card { border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--bg-card); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; }
.tier-card.is-extended { border-color: color-mix(in oklch, var(--accent) 35%, var(--line-soft)); }
.tier-name { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6rem; }
.tier-card.is-extended .tier-name { color: var(--accent); }
.tier-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.4rem; }
.tier-price .amount { font-family: var(--display); font-variation-settings: "wdth" 95; font-size: 2.1rem; letter-spacing: -0.02em; }
.tier-price .unit { font-size: 0.85rem; color: var(--ink-muted); }
.tier-list { display: flex; flex-direction: column; gap: 0; flex: 1; margin-bottom: 1.5rem; }
.tier-list li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: var(--ink-muted); padding: 0.55rem 0; border-top: 1px solid var(--line-soft); }
.tier-list li:first-child { border-top: none; }
.tier-list svg { color: var(--accent); flex: none; margin-top: 3px; }
.tier-card > .btn { align-self: flex-start; }

.addon-box { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--bg-card); padding: clamp(1.5rem, 2.5vw, 2rem); }
.addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; margin-top: 1.25rem; }
@media (max-width: 700px) { .addon-grid { grid-template-columns: 1fr; } }
.addon-grid div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.addon-grid b { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); white-space: nowrap; }

.price-notes { margin-top: 2rem; display: grid; gap: 0.75rem; }
.price-notes p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.55; max-width: 78ch; padding-left: 1rem; border-left: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Roadmap
   -------------------------------------------------------------------------- */
.roadmap-card { position: relative; }
.roadmap-tag { position: absolute; top: 1.4rem; right: 1.4rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.4rem 3rem 1.4rem 0;
    position: relative;
    font-family: var(--display);
    font-variation-settings: "wdth" 98;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    letter-spacing: -0.012em;
    line-height: 1.35;
    transition: color 200ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover { color: var(--accent); } }
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 6px; top: 50%;
    width: 11px; height: 11px;
    margin-top: -6px;
    border-right: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 300ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-answer { padding: 0 3rem 1.6rem 0; color: var(--ink-muted); font-size: 0.98rem; max-width: 70ch; }

/* --------------------------------------------------------------------------
   Abschluss-CTA
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--bg-elev); }
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 140% at 20% 0%, color-mix(in oklch, var(--accent) 15%, transparent), transparent 62%);
    pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-inner { max-width: 720px; }
.cta-inner h2 { margin-bottom: 1.25rem; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.cta-contact { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.82rem; color: var(--ink-muted); }
.cta-contact a { color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 4.5rem 0 2rem; border-top: 1px solid var(--line-soft); background: var(--bg); }
.footer-inner { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--pad-x); }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 3.5rem; padding-bottom: 3.5rem; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } }
.site-footer .brand { margin-bottom: 0.25rem; }
.footer-addr { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.7; margin-top: 1.5rem; }
.footer-tagline { font-size: 0.95rem; color: var(--ink-muted); margin-top: 1.25rem; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 620px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col-title { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.footer-cols li { padding: 0.3rem 0; }
.footer-cols a { font-size: 0.92rem; color: var(--ink-muted); transition: color 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: var(--accent); } }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-soft);
    font-size: 0.8rem;
    color: var(--ink-soft);
}
.footer-bottom a { color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .footer-bottom a:hover { color: var(--accent); } }
.footer-swiss { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-swiss svg { color: var(--danger); flex: none; }

/* --------------------------------------------------------------------------
   Reveal-Animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero h1.is-split .w { opacity: 1; transform: none; animation: none; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
    .site-header, .nav-overlay, .grain { display: none !important; }
    body { background: #fff; color: #000; }
    .reveal { opacity: 1; transform: none; }
}
