/* ==========================================================================
   Tourismusportal by BINARY one — Landingpage
   Design-Grundlage: binaryone.ch („Refined Dark Tech")
   Tokens, Typo, Buttons und Eyebrow-Marker sind 1:1 vom Hauptauftritt und
   aus der Gemeinde-App übernommen (ANLEITUNG-NEUES-PRODUKT.md, Abschnitt 3).
   Neu gegenüber der Gemeinde-App — alles aus denselben Tokens gebaut:
   Browserrahmen (statt Phone-Mockup), Zielgruppen-Karten, Spezifikation,
   Chronik und Links der Erfolgsgeschichte.
   ========================================================================== */

/* --------------------------------------------------------------------------
   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%;
    /* Sicherheitsnetz gegen horizontales Scrollen: `clip` kappt Überhänge, ohne
       — anders als `hidden` — einen Scroll-Container zu erzeugen. Damit bleibt
       `position: sticky` im Dokument funktionsfähig. */
    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;
    /* Fallback für Browser ohne `clip` (Safari < 16); moderne Browser nehmen
       die zweite Zeile und behalten damit sticky-Fähigkeit. */
    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;
    /* Nach oben aus dem Bild geschoben statt mit left: -9999px — so entsteht
       kein horizontaler Überhang, der die Seite scrollbar macht. */
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   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); } }

/* Broschüren-Download in der Kopfzeile: Icon und Text bleiben zusammen. */
.nav-links .nav-link-pdf { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-links .nav-link-pdf svg { flex: none; opacity: 0.65; }
@media (hover: hover) and (pointer: fine) { .nav-links .nav-link-pdf:hover svg { opacity: 1; } }

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

/* Sprachumschalter */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.6rem;
    color: var(--ink-soft);
    transition: color 200ms var(--ease), background 200ms var(--ease);
}
.lang-switch a[aria-current="true"] { color: var(--accent-ink); background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .lang-switch a:not([aria-current]):hover { color: var(--ink); background: var(--bg-elev); } }

.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, Sprache, 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); }

/* Ohne Menüpunkte bleibt die Aktionsgruppe auf allen Breiten sichtbar; die
   Beschriftung des Buttons kürzt sich auf schmalen Screens. */
.btn-label-short { display: none; }
@media (max-width: 560px) {
    .site-header--bare .btn-label-full  { display: none; }
    .site-header--bare .btn-label-short { display: inline; }
}

@media (max-width: 1080px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-actions .btn { display: none; }
    .site-header--bare .nav-actions .btn { display: inline-flex; }
    /* Ohne sichtbare Links muss die Aktionsgruppe selbst nach rechts rücken —
       die Geschwister-Regel oben würde sie sonst links kleben lassen. */
    .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; }
    .lang-switch a { padding: 0.35rem 0.5rem; }
}
/* Ab hier reicht die Breite nicht mehr für Logo + Produktlabel + Sprache. */
@media (max-width: 620px) {
    .brand-sep, .brand-product { display: none; }
}

/* --------------------------------------------------------------------------
   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-meta {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-elev);
    margin-bottom: 1.75rem;
    animation: fadeUp 600ms var(--ease) both;
}

.pulse-dot {
    position: relative;
    width: 10px; height: 10px;
    flex: none;
    display: inline-block;
    border: 1px solid color-mix(in oklch, var(--accent) 22%, transparent);
}
.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.55); } }

/* 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; }
}

/* Hochzählende Zahl: feste Mindestbreite + Tabellenziffern, damit der Text
   daneben während des Zählens nicht wandert. */
.count-up {
    display: inline-block;
    /* Linksbündig, damit die Zahl am Zeilenanfang exakt auf der Satzkante
       sitzt. Tabellenziffern halten die Breite je Stellenzahl konstant;
       den Platz bis zum Endwert reserviert app.js in Pixeln. */
    text-align: left;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "ss01", "ss02", "tnum";
}

/* Preis-Anker — Preiszeile oben, Erläuterung darunter.
   Gestapelt statt nebeneinander, damit DE/FR/IT gleich stabil sitzen. */
.price-anchor {
    display: inline-block;
    border: 1px solid color-mix(in oklch, var(--accent) 32%, transparent);
    background: linear-gradient(120deg, color-mix(in oklch, var(--accent) 14%, transparent), transparent 75%);
    border-radius: var(--r-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    animation: fadeUp 700ms var(--ease) 470ms both;
    max-width: min(100%, 32rem);
}
.price-anchor-main {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.15rem 0.55rem;
    padding: 1rem 1.35rem 0.9rem;
    border-bottom: 1px solid color-mix(in oklch, var(--accent) 22%, transparent);
}
.price-anchor-from {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    align-self: center;
}
.price-anchor-num {
    font-family: var(--display);
    font-variation-settings: "wdth" 95;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--accent);
    white-space: nowrap;
}
.price-anchor-unit { font-size: 0.85rem; color: var(--ink-muted); white-space: nowrap; }
.price-anchor-note {
    padding: 0.75rem 1.35rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-muted);
}
/* Frist-Marke: die Preise gelten nur bis Ende Jahr — bewusst in Signalrot,
   damit sie sich vom grünen Preisanker abhebt statt darin zu verschwinden. */
.price-anchor-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.6rem 1.35rem 0.75rem;
    border-top: 1px solid color-mix(in oklch, var(--danger) 34%, transparent);
    background: color-mix(in oklch, var(--danger) 15%, transparent);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.45;
    color: var(--ink);
}
.price-anchor-badge svg { color: var(--danger); flex: none; margin-top: 1px; width: 14px; height: 14px; }

.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; display: flex; justify-content: center; animation: fadeUp 800ms var(--ease) 350ms both; }
.hero-visual > img { width: min(100%, 380px); height: auto; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.55)); }

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

/* --------------------------------------------------------------------------
   Problem-Block
   -------------------------------------------------------------------------- */
.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-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;
}


/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
.video-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }

.video-controls {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}
.video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: color-mix(in oklch, var(--bg) 70%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    color: var(--ink);
    transition: background 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .video-btn:hover { background: var(--bg-elev); } }

.video-poster-btn {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: color-mix(in oklch, var(--bg) 35%, transparent);
    transition: opacity 300ms var(--ease);
}
.video-poster-btn[hidden] { display: none; }
.video-poster-btn span {
    width: 76px; height: 76px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    display: grid; place-items: center;
    box-shadow: 0 12px 40px color-mix(in oklch, var(--accent) 35%, transparent);
}

/* --------------------------------------------------------------------------
   Lösung / Funktionen — Sticky-Browserrahmen
   -------------------------------------------------------------------------- */
.solution-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.feature-list { position: relative; }

.feature-item {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    padding-left: 2.5rem;
    opacity: 0.32;
    transition: opacity 500ms var(--ease);
}
.feature-item.is-active { opacity: 1; }

/* Fortschrittsschiene links */
.feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--line-soft);
}
.feature-item::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    width: 8px; height: 8px;
    transform: translateY(-50%);
    border: 1px solid var(--accent);
    background: var(--bg);
    transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
}
.feature-item.is-active::after {
    background: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-soft);
}
.feature-item.is-active::before { background: linear-gradient(to bottom, var(--line-soft), var(--accent) 50%, var(--line-soft)); }

.feature-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}
.feature-item h3 {
    font-family: var(--display);
    font-variation-settings: "wdth" 97;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.feature-item p { color: var(--ink-muted); font-size: 1.02rem; max-width: 46ch; }

/* Mitte des Browserrahmens (≈ 470 px inkl. Beschriftung) auf Bildschirmmitte */
.feature-sticky {
    position: sticky;
    top: calc(50vh - 250px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* --------------------------------------------------------------------------
   Ablauf / Timeline
   -------------------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(4, 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, drei Spalten, 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%;
    /* Wichtig: macht den Wrapper zum Bezugsrahmen für absolut positionierte
       Kinder (z. B. .visually-hidden in den Häkchen-Zellen). Ohne das hängen
       sie am nächsten positionierten Vorfahren, ihr Überhang wandert am
       Scroll-Container vorbei nach oben und die ganze Seite wird breiter. */
    position: relative;
}
.compare-table { min-width: 720px; width: 100%; }
/* Auf schmalen Screens bleibt die Vergleichstabelle wischbar, wird aber
   deutlich kompakter, damit die eigene Spalte ohne Wischen sichtbar ist. */
@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); }

.compare-chip {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--accent);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
}
.compare-sub { display: block; font-size: 0.62rem; letter-spacing: 0.08em; color: var(--ink-soft); }

/* Haken, Kreuz, Kurzbegriff */
.mk { display: inline-flex; align-items: center; position: relative; }
.mk svg { width: 18px; height: 18px; }
.mk-yes { color: var(--accent); }
.mk-no  { color: var(--ink-soft); }
.mk-text { font-size: 0.86rem; color: var(--ink-muted); }
.is-ours .mk-text { color: var(--ink); font-family: var(--display); font-size: 0.95rem; letter-spacing: -0.01em; }

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-card); -webkit-overflow-scrolling: touch; width: 100%; position: relative; }
.price-table { min-width: 620px; width: 100%; }
.price-table th, .price-table td { padding: 1.1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table thead th {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 400;
    background: var(--bg-elev);
    vertical-align: bottom;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .price-table tbody tr:hover { background: var(--bg-elev); } }
.price-table .tier {
    font-family: var(--display);
    font-variation-settings: "wdth" 95;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--accent);
    width: 1%;
    white-space: nowrap;
}
.price-table .pop { color: var(--ink-muted); white-space: nowrap; }
.price-table .amount { font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.price-table .amount.is-key { color: var(--accent); font-size: 1.2rem; }
.price-table tr.is-highlight { background: var(--accent-soft); }
.price-table tr.is-highlight td { border-color: color-mix(in oklch, var(--accent) 22%, transparent); }

/* Auf schmalen Screens passt die Preistabelle vollständig ins Bild: kleinere
   Abstände und Schriftgrade, kein Mindestmass, Seitenspalte darf umbrechen.
   Damit ist hier kein seitliches Wischen mehr nötig. */
@media (max-width: 620px) {
    .price-table { min-width: 0; }
    .price-table th, .price-table td { padding: 0.7rem 0.55rem; }
    .price-table thead th { font-size: 0.55rem; letter-spacing: 0.05em; }
    .price-table .tier { font-size: 1.05rem; }
    .price-table .pop { font-size: 0.75rem; white-space: normal; }
    .price-table .amount { font-size: 0.82rem; }
    .price-table .amount.is-key { font-size: 0.92rem; }
}
.price-side { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .price-side { grid-template-columns: minmax(0, 1fr); } }

.incl-card { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.5vw, 2rem); }
.incl-card h3 { margin-bottom: 1.25rem; font-size: 1.05rem; }
.incl-card li { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--ink-muted); padding: 0.5rem 0; }
.incl-card li + li { border-top: 1px solid var(--line-soft); }
.incl-card svg { color: var(--accent); flex: none; margin-top: 3px; }

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

/* --------------------------------------------------------------------------
   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; }

/* --------------------------------------------------------------------------
   Inline-CTA unter einer Sektion
   Abgesetzte Zeile am Ende von Preisen, Erfolgsgeschichte und FAQ — führt den
   Abschnitt zu Ende, ohne wie ein zweiter Abschluss-CTA zu wirken.
   -------------------------------------------------------------------------- */
.cta-row {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: color-mix(in oklch, var(--bg-card) 70%, transparent);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    position: relative;
    overflow: hidden;
}
.cta-row::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
}
.cta-row-text h3 {
    font-family: var(--display);
    font-variation-settings: "wdth" 98;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.cta-row-text p {
    margin-top: 0.6rem;
    color: var(--ink-muted);
    font-size: 0.95rem;
    max-width: 62ch;
}
.cta-row-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

@media (max-width: 860px) {
    /* minmax(0,…) statt 1fr: sonst zwingt der längste Knopf („Anrufen +41 …")
       die Zeile über die Bildschirmbreite hinaus. */
    .cta-row { grid-template-columns: minmax(0, 1fr); }
    .cta-row-actions { flex-direction: column; align-items: stretch; }
    .cta-row-actions .btn { white-space: normal; }
}

/* --------------------------------------------------------------------------
   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-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
@media (max-width: 940px) { .cta-grid { grid-template-columns: 1fr; } }

.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; }


/* ==========================================================================
   Ab hier: Bausteine des Tourismusportals
   ========================================================================== */

/* --------------------------------------------------------------------------
   Browserrahmen — Produktbild für Web-Software (Anleitung 3.7)
   Schlicht: --bg-card, Radius --r-lg, Linie --line. Die drei Marker in der
   Leiste sind Quadrate statt Punkte (Formensprache des Auftritts).
   -------------------------------------------------------------------------- */
.browser {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-card);
    overflow: hidden;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    height: 40px;
    padding: 0 0.9rem;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line-soft);
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 8px; height: 8px; border: 1px solid var(--line); }
.browser-url {
    flex: 1;
    min-width: 0;
    max-width: 22rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    height: 24px;
    padding: 0 0.75rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: var(--bg);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    color: var(--ink-muted);
}
.browser-url > svg { width: 11px; height: 11px; flex: none; color: var(--accent); }
/* Adressen liegen übereinander und wechseln mit dem Screen */
.browser-url-stack { position: relative; flex: 1; min-width: 0; height: 1.3em; }
.burl {
    position: absolute;
    inset: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 400ms var(--ease);
}
.burl.is-active { opacity: 1; }

.browser-stack { position: relative; aspect-ratio: 4 / 3; background: var(--bg-card); }
.bscreen {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}
.bscreen.is-active { opacity: 1; transform: none; }
.bscreen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.browser-caption { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }

/* --------------------------------------------------------------------------
   Hero-Collage — Mockups der umgesetzten Projekte statt eines Browserrahmens:
   zwei Tablets (Mythen hinten, Schwyz vorne) gestaffelt, davor das Handy
   von OBSI+NIDSI. Alle Masse in cqw (Breite der Collage), damit das Bild
   als Ganzes skaliert. Screens auf 16:10 beschnitten — der weisse
   Seitenfuss unter den Hero-Bildern der Websites fällt so weg.
   Schwyz setzt erst unter Titel und Buttons der Mythen-Seite an; die
   Tiefe entsteht über das Handy, das die rechte untere Ecke überlappt.
   -------------------------------------------------------------------------- */
.hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .hero-visual { justify-content: flex-start; } }
/* Desktop: Collage ragt etwas in den rechten Seitenrand. */
@media (min-width: 961px) { .hero-visual { margin-right: calc(var(--pad-x) * -0.5); } }

.mockups {
    container-type: inline-size;
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 100 / 90;
}
.mock {
    position: absolute;
    animation: fadeUp 800ms var(--ease) both;
}
.mock img { display: block; width: 100%; height: auto; }

.mock-tablet {
    padding: 0.9cqw;
    border-radius: 2.4cqw;
    background: oklch(0.1 0.008 260);
    box-shadow:
        0 0 0 1px var(--line),
        0 3cqw 6cqw -1.5cqw rgba(0, 0, 0, 0.65);
}
.mock-tablet img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-radius: 1.5cqw;
}
.mock-phone img { filter: drop-shadow(0 3cqw 4cqw rgba(0, 0, 0, 0.6)); }

.mock-1 { width: 72cqw; right: 0;    top: 0;     z-index: 1; animation-delay: 300ms; }
.mock-2 { width: 74cqw; left: 0;     top: 43cqw; z-index: 2; animation-delay: 440ms; }
.mock-3 { width: 23cqw; right: 1cqw; top: 33cqw; z-index: 3; animation-delay: 600ms; }

/* Mobile: kein Sticky, Screenshot je Funktion inline */
.feature-sticky { align-items: stretch; }
.feature-shot-inline { display: none; }
@media (max-width: 900px) {
    .solution-grid { grid-template-columns: 1fr; }
    .feature-sticky { display: none; }
    .feature-item { min-height: 0; opacity: 1; padding-left: 0; }
    .feature-item::before, .feature-item::after { display: none; }
    .feature-item + .feature-item { border-top: 1px solid var(--line-soft); }
    .feature-shot-inline { display: block; margin-top: 1.75rem; }
}

/* --------------------------------------------------------------------------
   Für wen — zwei Karten, je eine Zielgruppe
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.audience-card .card-num { text-transform: uppercase; letter-spacing: 0.12em; }
.audience-card h3 {
    font-family: var(--display);
    font-variation-settings: "wdth" 97;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.audience-card > p { font-size: 1rem; max-width: 52ch; }
.audience-points { margin-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.audience-points li {
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.92rem;
    color: var(--ink-muted);
}
.audience-points li:last-child { border-bottom: none; padding-bottom: 0; }
.audience-points svg { color: var(--accent); flex: none; margin-top: 3px; }
.audience-points b { display: block; color: var(--ink); }

/* --------------------------------------------------------------------------
   Spezifikation unter den Funktionen — Daten, Schnittstellen, Funktionen
   Begriffe als eckige Marken (Radius --r-sm), damit sie nicht wie Knöpfe
   (Pillen) aussehen.
   -------------------------------------------------------------------------- */
.spec {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .spec { grid-template-columns: minmax(0, 1fr); } }
.spec-title {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}
.spec-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.spec-tags li {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--ink-muted);
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

/* --------------------------------------------------------------------------
   Erfolgsgeschichte — einzige Sektion auf --bg-elev
   Links Chronik, rechts Stimmungsbild und die drei Websites zum Ansehen.
   -------------------------------------------------------------------------- */
.story { background: var(--bg-elev); }
.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
}
@media (max-width: 960px) { .story-grid { grid-template-columns: minmax(0, 1fr); } }
.story-copy .section-intro { margin-bottom: clamp(2rem, 4vw, 2.75rem); }

/* Chronik — Linie oben und 9-px-Quadrat wie die Timeline im Ablauf */
.story-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
}
.story-steps li::before {
    content: "";
    position: absolute;
    top: -5px; left: 0;
    width: 9px; height: 9px;
    background: var(--bg-elev);
    border: 1px solid var(--accent);
}
.story-when {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    padding-top: 0.25rem;
}
.story-steps b { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.3rem; }
.story-steps p { color: var(--ink-muted); font-size: 0.93rem; }
@media (max-width: 480px) { .story-steps li { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; } }

.story-side { display: grid; gap: 1.25rem; }
.story-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.story-figure img { width: 100%; height: auto; }

.story-links {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-card);
    padding: 0.25rem clamp(1.1rem, 2.5vw, 1.5rem);
}
.story-links-label {
    display: block;
    padding: 1rem 0 0.75rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.story-links li { border-top: 1px solid var(--line-soft); }
.story-links a { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 0; }
.story-links a b { font-size: 1rem; color: var(--ink); transition: color 200ms var(--ease); }
.story-links a span { margin-left: auto; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-soft); }
.story-links a svg { flex: none; color: var(--accent); transition: transform 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
    .story-links a:hover b { color: var(--accent); }
    .story-links a:hover svg { transform: translate(2px, -2px); }
}
@media (max-width: 420px) {
    .story-links a { flex-wrap: wrap; row-gap: 0.15rem; }
    .story-links a span { order: 3; width: 100%; margin-left: 0; }
    .story-links a svg { margin-left: auto; }
}

/* --------------------------------------------------------------------------
   Preistabelle — Leistung | Umfang | Einmalig | Laufend
   Der Umfang ist Fliesstext und darf umbrechen; unter 620 px wird jede Zeile
   zur Karte, die Spaltenköpfe stehen dann über den Beträgen (data-label).
   -------------------------------------------------------------------------- */
/* Mit der Umfang-Spalte braucht die Tabelle die ganze Breite — die Box
   „Immer dabei" rückt darunter und setzt ihre Liste zweispaltig. */
.price-side { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
    .incl-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
    .incl-card li + li { border-top: none; }
    .incl-card li { border-top: 1px solid var(--line-soft); }
}
.price-table { min-width: 640px; }
.price-table .tier { font-size: 1.2rem; vertical-align: top; }
.price-table .pop { white-space: normal; min-width: 15rem; font-size: 0.92rem; line-height: 1.5; vertical-align: top; }
.price-table .amount { vertical-align: top; }
.amount-none { color: var(--ink-soft); }
@media (max-width: 620px) {
    .price-table, .price-table tbody, .price-table td { display: block; width: auto; min-width: 0; }
    .price-table thead { display: none; }
    .price-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem 1rem;
        padding: 1.1rem 1rem;
        border-bottom: 1px solid var(--line-soft);
    }
    .price-table tbody tr:last-child { border-bottom: none; }
    .price-table td { padding: 0; border: none; }
    .price-table .tier, .price-table .pop { grid-column: 1 / -1; }
    .price-table .tier { font-size: 1.15rem; }
    .price-table .pop { min-width: 0; font-size: 0.85rem; }
    .price-table .amount { margin-top: 0.35rem; font-size: 0.95rem; white-space: normal; }
    .price-table .amount.is-key { font-size: 1.05rem; }
    .price-table .amount::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        font-family: var(--mono);
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ink-soft);
    }
}

/* --------------------------------------------------------------------------
   Abschluss-CTA — Produktbild rechts (mobile Ansicht einer Anbieter-Website)
   -------------------------------------------------------------------------- */
.cta-visual { display: flex; justify-content: center; }
.cta-visual img { width: min(100%, 250px); height: auto; }
@media (max-width: 940px) { .cta-visual { display: none; } }

/* --------------------------------------------------------------------------
   Kundenlogos — schmale Leiste direkt unter dem Hero
   Logos einfarbig hell (Dateien sind bereits weiss), gedämpft wie --ink-muted;
   links die Beschriftung in Mono, abgetrennt durch eine Linie.
   -------------------------------------------------------------------------- */
section.logos { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.logos-inner {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding-top: clamp(1.75rem, 3vw, 2.25rem);
    border-top: 1px solid var(--line-soft);
}
.logos-label {
    flex: none;
    max-width: 10.5rem;
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
    border-right: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.68rem;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.logos-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}
.logos-row img { height: var(--logo-h, 40px); width: auto; opacity: 0.72; transition: opacity 250ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .logos-row img:hover { opacity: 1; } }
@media (max-width: 860px) {
    .logos-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .logos-label { max-width: none; padding-right: 0; border-right: none; }
    .logos-row {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.75rem 1.5rem;
        justify-items: start;
    }
    .logos-row img { height: calc(var(--logo-h, 40px) * 0.85); max-width: 100%; }
}
@media (max-width: 560px) { .logos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   Testimonials — drei Zitate mit Foto; Aufbau wie .quote der Gemeinde-App
   -------------------------------------------------------------------------- */
.quote {
    margin: 0;
    border: 1px solid var(--line);
    background: var(--bg-card);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.quote-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.quote-mark { font-family: var(--display); font-size: 3rem; line-height: 0.6; color: var(--accent); display: block; padding-top: 0.6rem; }
.quote blockquote {
    margin: 0;
    font-family: var(--display);
    font-variation-settings: "wdth" 98;
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    line-height: 1.5;
    letter-spacing: -0.012em;
}
.quote figcaption { margin-top: 1.75rem; display: flex; align-items: center; gap: 1rem; }
.quote-avatar {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}
.quote-who { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.quote-who b { font-weight: 500; font-size: 0.95rem; }
.quote-who span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.quote-who .quote-org { color: var(--ink-muted); }

/* Karten gleich hoch, Absender immer unten auf einer Linie */
.testimonials { align-items: stretch; }
.testimonial { display: flex; flex-direction: column; }
.testimonial figcaption { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.testimonial blockquote { margin-bottom: 1.75rem; }
.testimonial-logo { height: calc(var(--logo-h, 40px) * 0.75); width: auto; opacity: 0.55; }
@media (max-width: 960px) { .testimonials { grid-template-columns: minmax(0, 1fr); } }

.testimonials-note { margin-top: 1rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   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; }
    .feature-item { opacity: 1; }
    .bscreen, .burl { transition: none; }
}

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