/**
 * photogala.css
 *
 * Design-System der Photogala Fotobox-Seite.
 * Orientiert sich an der Photogala-Hauptseite (photogala.de): Apple-artige,
 * ruhige Typografie, viel Weissraum, dezente Flaechen, Pill-Buttons.
 *
 * Ersetzt die frueheren Dateien variables/base/components/layout/sections/
 * responsive.css. Die Legacy-Variablennamen (--primary, --card-bg, ...) sind
 * am Ende des Token-Blocks als Aliase erhalten, damit die Inline-Styles in
 * impressum.html und privacy.html weiter funktionieren.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
    /* Marke — Blau wie photogala.de (blue-600) */
    --brand: #2563eb;
    --brand-hover: #1d4ed8;
    --brand-subtle: #dbeafe;

    /* Flaechen */
    --surface: #ffffff;
    --surface-alt: #f5f5f7;
    --surface-sunken: #ececf0;
    --surface-inverse: #1d1d1f;

    /* Text */
    --ink: #1d1d1f;
    --ink-secondary: #424245;
    --ink-muted: #86868b;
    --ink-inverse: #f5f5f7;

    /* Linien */
    --line: #d2d2d7;
    --line-subtle: #e8e8ed;

    /* Status */
    --positive: #15803d;
    --negative: #b91c1c;

    /* Schatten */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, .08), 0 24px 64px rgba(0, 0, 0, .10);

    /* Layout */
    --max-width: 1120px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --nav-height: 52px;

    /* Motion */
    --ease: cubic-bezier(.4, 0, .2, 1);

    /* --- Legacy-Aliase (impressum.html / privacy.html) --- */
    --primary: var(--brand);
    --secondary: var(--brand-hover);
    --background: var(--surface);
    --text-color: var(--ink);
    --card-bg: var(--surface);
    --border-color: var(--line-subtle);
    --box-shadow: rgba(0, 0, 0, .06);
    --transition-medium: .3s var(--ease);
}

[data-theme="dark"] {
    --brand: #60a5fa;
    --brand-hover: #93c5fd;
    --brand-subtle: #1e3a8a;

    --surface: #000000;
    --surface-alt: #101014;
    --surface-sunken: #1c1c20;
    --surface-inverse: #f5f5f7;

    --ink: #f5f5f7;
    --ink-secondary: #d2d2d7;
    --ink-muted: #86868b;
    --ink-inverse: #1d1d1f;

    --line: #38383d;
    --line-subtle: #29292e;

    --positive: #4ade80;
    --negative: #f87171;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, .6);

    --box-shadow: rgba(0, 0, 0, .5);
}

/* ==========================================================================
   2. Reset & Basis
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Helvetica Neue", "Segoe UI", Roboto, Inter, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

/* height:auto ist noetig, damit die width/height-Attribute im Markup (die als
 * Praesentations-Hint wirken) das per CSS gesetzte aspect-ratio nicht ueberstimmen. */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font: inherit;
    color: inherit;
}

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

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.022em;
    line-height: 1.08;
}

p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 22px;
}

.section {
    padding: 96px 0;
}

.section--alt {
    background: var(--surface-alt);
}

.eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--brand);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 4.2vw, 48px);
    text-align: center;
    max-width: 24ch;
    margin: 0 auto;
    text-wrap: balance;
}

.section-lead {
    margin: 16px auto 0;
    max-width: 58ch;
    text-align: center;
    font-size: clamp(17px, 1.6vw, 21px);
    color: var(--ink-muted);
    line-height: 1.5;
}

.section-head {
    margin-bottom: 56px;
    text-align: center;
}

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

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--ink);
    color: var(--surface);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .25s var(--ease), transform .25s var(--ease),
        box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.btn:hover {
    background: var(--ink-secondary);
    text-decoration: none;
    transform: translateY(-1px);
}

[data-theme="dark"] .btn:hover {
    background: var(--line);
}

.btn--brand {
    background: var(--brand);
    color: #fff;
}

.btn--brand:hover {
    background: var(--brand-hover);
}

[data-theme="dark"] .btn--brand {
    color: #0c1e3c;
}

.btn--secondary {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn--secondary:hover {
    background: var(--surface-alt);
    border-color: var(--ink-muted);
}

.btn--quiet {
    background: var(--surface-alt);
    color: var(--ink);
}

.btn--quiet:hover {
    background: var(--surface-sunken);
}

.btn--block {
    width: 100%;
}

/* Textlink mit Chevron — Apple-Muster */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
}

.link-arrow:hover {
    text-decoration: none;
    color: var(--brand-hover);
}

.link-arrow svg {
    width: 15px;
    height: 15px;
    transition: transform .25s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(3px);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

/* ==========================================================================
   4. Navigation
   ========================================================================== */

#header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    height: var(--nav-height);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line-subtle);
}

#header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--brand);
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.logo-sub {
    font-size: 17px;
    font-weight: 400;
    color: var(--ink-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-secondary);
    text-decoration: none;
    transition: color .2s var(--ease);
}

.nav-links a:hover {
    color: var(--ink);
    text-decoration: none;
}

.nav-cta a {
    padding: 6px 15px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

[data-theme="dark"] .nav-cta a {
    color: #0c1e3c;
}

.nav-cta a:hover {
    background: var(--brand-hover);
    color: #fff;
}

[data-theme="dark"] .nav-cta a:hover {
    color: #0c1e3c;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-secondary);
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.icon-btn:hover {
    background: var(--surface-alt);
    color: var(--ink);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

.hamburger {
    display: none;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 850;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.hero {
    padding: calc(var(--nav-height) + 72px) 0 0;
    text-align: center;
    background: var(--surface);
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(40px, 6.4vw, 68px);
    line-height: 1.04;
    max-width: 15ch;
    margin: 0 auto;
}

.hero h1 .accent {
    color: var(--brand);
}

.hero-lead {
    margin: 20px auto 0;
    max-width: 56ch;
    font-size: clamp(17px, 1.7vw, 21px);
    color: var(--ink-muted);
    line-height: 1.45;
}

.hero-price-hint {
    margin-top: 18px;
    font-size: 15px;
    color: var(--ink-muted);
}

.hero-price-hint strong {
    color: var(--ink);
    font-weight: 600;
}

.hero-stage {
    position: relative;
    margin-top: 48px;
    padding: 0 22px 88px;
}

.hero-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8%;
    width: min(680px, 88vw);
    height: 70%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center,
            color-mix(in srgb, var(--brand) 16%, transparent) 0%,
            transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

/* Das Produktfoto ist freigestellt, traegt aber einen flaechigen grauen Schleier
 * ueber die gesamte Bildflaeche. Statt dagegen anzukaempfen steht das Produkt auf
 * einer bewusst gesetzten hellen Buehne — der Schleier wird so zur Vignette.
 * Die helle Flaeche bleibt auch im dunklen Theme, sonst verschwindet das dunkle
 * Stativ im Hintergrund. */
.hero-product {
    position: relative;
    width: min(340px, 62vw);
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f7 100%);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .hero-product {
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
}

/* ==========================================================================
   6. Ausstattung
   ========================================================================== */

.kit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kit-item {
    margin: 0;
    padding: 24px 20px 22px;
    background: var(--surface);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.kit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Feste Buehnenhoehe + `contain`: die Freisteller haben sehr verschiedene
 * Seitenverhaeltnisse (das Stativ ist schmal, der Drucker breit) und duerfen
 * dabei auf keinen Fall verzerrt werden. */
/* Die Freisteller haben weissen Hintergrund. Sie stehen deshalb — wie das
 * Hero-Produkt — auf einer hellen Platte, sonst leuchten sie im dunklen Theme
 * als weisse Kaesten aus der Karte heraus. */
.kit-shot {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f7 100%);
}

.kit-shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.kit-item h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.kit-item p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.45;
}

/* ==========================================================================
   7. Feature-Karten
   ========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease),
        border-color .35s var(--ease);
}

.section--alt .card {
    background: var(--surface);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-subtle);
    color: var(--brand);
    margin-bottom: 20px;
}

[data-theme="dark"] .card-icon {
    background: color-mix(in srgb, var(--brand) 22%, transparent);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.card h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.card p {
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.5;
}

/* ==========================================================================
   8. Mockups
   ========================================================================== */

.mockup-stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.mockup-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface-alt);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    overflow: hidden;
}

.section--alt .mockup-panel {
    background: var(--surface);
}

.mockup-panel h3 {
    font-size: 24px;
    text-align: center;
}

.mockup-panel > p {
    margin: 10px auto 0;
    max-width: 42ch;
    text-align: center;
    font-size: 15px;
    color: var(--ink-muted);
}

.mockup-panel .mockup-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
    margin-top: 32px;
}

/* --- Kiosk / Fotobox-Display --- */

.kiosk {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(160deg, #d68236, #ad6229);
    border-radius: 16px;
    padding: 22px 18px 26px;
    box-shadow: var(--shadow-lg);
}

.kiosk-lens {
    width: 26px;
    height: 26px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #1b1b1e;
    box-shadow: inset 0 0 0 3px #3a3a3f, 0 0 0 3px rgba(0, 0, 0, .15);
}

.kiosk-screen {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    background: #08080a;
    color: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.kiosk-count {
    font-size: 46px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}

.kiosk-hint {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

.kiosk-modes {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.kiosk-mode {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .75);
}

.kiosk-mode.is-active {
    background: var(--brand);
    color: #fff;
}

.kiosk-caption {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-muted);
}

/* --- Telefon --- */

.phone {
    width: 218px;
    flex-shrink: 0;
    border-radius: 34px;
    padding: 9px;
    background: linear-gradient(160deg, #3a3a3f, #18181b);
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    position: relative;
    aspect-ratio: 9 / 19;
    border-radius: 26px;
    background: var(--surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 62px;
    height: 15px;
    border-radius: 999px;
    background: #18181b;
    z-index: 2;
}

.phone-bar {
    padding: 26px 14px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line-subtle);
    text-align: center;
}

.phone-bar span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--ink-muted);
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 8px;
    flex: 1;
    align-content: start;
}

.phone-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.phone-caption {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-muted);
}

/* --- Sofortdruck (10x15) --- */

.print-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.print {
    background: #fff;
    padding: 10px 10px 42px;
    border-radius: 3px;
    box-shadow: var(--shadow-lg);
    width: 172px;
}

/* Quadratisch wie die Vorlagen — ein 3:4-Ausschnitt wuerde die Personen an den
 * Raendern abschneiden. Das Papier bleibt hochkant, unten sitzt der Beschriftungsrand. */
.print img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1px;
}

.print-label {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #86868b;
}

.print--back {
    position: absolute;
    transform: rotate(-8deg) translateX(-38px);
    opacity: .85;
}

.print--front {
    position: relative;
    transform: rotate(4deg) translateX(24px);
    z-index: 2;
}

/* ==========================================================================
   9. Ablauf / Schritte
   ========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.step-num {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 10px;
}

.step h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.5;
}

/* ==========================================================================
   10. Galerie
   ========================================================================== */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.gallery-filter {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s var(--ease);
}

.gallery-filter:hover {
    border-color: var(--ink-muted);
    color: var(--ink);
}

.gallery-filter.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--surface);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* 1:1 — exakt das Seitenverhaeltnis der Bilddateien. In einem 4:3-Rahmen wuerde
 * `cover` oben und unten je ~12 % abschneiden, wodurch Koepfe wegfallen. */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--surface-sunken);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item-title {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.gallery-item.is-hidden {
    display: none;
}

/* ==========================================================================
   11. Preise
   ========================================================================== */

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 28px 28px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease),
        border-color .35s var(--ease);
}

.plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.plan--featured {
    border-color: var(--brand);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.plan-name {
    font-size: 22px;
    margin-bottom: 6px;
}

.plan-tagline {
    font-size: 15px;
    color: var(--ink-muted);
    min-height: 45px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 22px 0 4px;
}

.plan-amount {
    font-size: 46px;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1;
}

.plan-unit {
    font-size: 15px;
    color: var(--ink-muted);
}

.plan-note {
    font-size: 13px;
    color: var(--ink-muted);
}

.plan-features {
    list-style: none;
    margin: 26px 0 0;
    padding: 26px 0 0;
    border-top: 1px solid var(--line-subtle);
    display: grid;
    gap: 12px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink-secondary);
}

.plan-features svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--brand);
}

.plan-features li strong {
    color: var(--ink);
    font-weight: 600;
}

.plan-features .is-missing {
    color: var(--ink-muted);
}

.plan-features .is-missing svg {
    color: var(--line);
}

.plan-features .is-missing span {
    text-decoration: line-through;
}

.plan-cta {
    margin-top: 28px;
}

/* Extras */

.extras {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.extra {
    background: var(--surface);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-md);
    padding: 22px 24px;
}

.extra h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.extra p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.pricing-footnote {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-muted);
}

/* ==========================================================================
   12. Karte
   ========================================================================== */

.maps-card {
    margin-top: 72px;
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
}

.maps-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
}

.maps-head h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.maps-head p {
    font-size: 14px;
    color: var(--ink-muted);
}

.maps-card iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    border-top: 1px solid var(--line-subtle);
    filter: saturate(.9);
}

[data-theme="dark"] .maps-card iframe {
    filter: invert(.9) hue-rotate(180deg) saturate(.6);
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */

.accordion {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid var(--line-subtle);
}

.accordion-item {
    border-bottom: 1px solid var(--line-subtle);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 4px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
    cursor: pointer;
    transition: color .2s var(--ease);
}

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

.accordion-header svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--ink-muted);
    transition: transform .3s var(--ease);
}

.accordion-item.active .accordion-header svg {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.accordion-body {
    padding: 0 4px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 68ch;
}

.accordion-body ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.accordion-body strong {
    color: var(--ink);
}

/* ==========================================================================
   14. Kontakt
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.contact-item .card-icon {
    margin: 0 auto 18px;
}

.contact-item h3 {
    font-size: 16px;
    color: var(--ink-muted);
    font-weight: 400;
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.01em;
}

.contact-item a:hover {
    color: var(--brand);
    text-decoration: none;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

footer {
    background: var(--surface-alt);
    border-top: 1px solid var(--line-subtle);
    padding: 44px 0 40px;
    font-size: 13px;
    color: var(--ink-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.footer-links a {
    color: var(--ink-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    line-height: 1.6;
}

/* ==========================================================================
   16. Zurueck-nach-oben
   ========================================================================== */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .3s var(--ease);
}

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

.back-to-top:hover {
    background: var(--surface);
    text-decoration: none;
}

.back-to-top svg {
    width: 17px;
    height: 17px;
}

/* ==========================================================================
   17. Reveal-Animation
   ========================================================================== */

/* Nur ausblenden, wenn JavaScript laeuft und die Elemente wieder einblenden kann.
 * Ohne JS (oder wenn site.js nicht laedt) bleibt die Seite vollstaendig sichtbar. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   18. Rechtsseiten (impressum.html / privacy.html)
   ========================================================================== */

.legal-section {
    padding: calc(var(--nav-height) + 72px) 0 96px;
}

.legal-section h1 {
    font-size: clamp(32px, 4.2vw, 48px);
    text-align: center;
    margin-bottom: 48px;
}

.privacy-c,
.impressum-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    color: var(--ink-secondary);
    line-height: 1.65;
}

.privacy-c h2,
.impressum-container h2 {
    font-size: 22px;
    margin: 36px 0 12px;
    color: var(--ink);
}

.privacy-c h3,
.impressum-container h3 {
    font-size: 18px;
    margin: 24px 0 8px;
    color: var(--ink);
}

.privacy-c p,
.impressum-container p {
    margin-bottom: 14px;
}

.privacy-c a,
.impressum-container a {
    color: var(--brand);
}

/* ==========================================================================
   19. Responsive
   ========================================================================== */

@media (max-width: 1000px) {
    .feature-grid,
    .pricing-container,
    .extras,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .mockup-stage {
        grid-template-columns: 1fr 1fr;
    }

    /* Das Kiosk-Panel bekommt in der 2-Spalten-Ansicht die volle Breite. */
    .mockup-stage > .mockup-panel:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 940px) {
    .nav-links {
        position: fixed;
        inset: var(--nav-height) 0 auto 0;
        z-index: 880;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 22px 24px;
        /* Deckend, nicht transluzent: hinter dem Menue liegt Seiteninhalt, der
         * sonst durchscheint (backdrop-filter greift hier nicht zuverlaessig). */
        background: var(--surface);
        border-bottom: 1px solid var(--line-subtle);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all .3s var(--ease);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        border-bottom: 1px solid var(--line-subtle);
    }

    .nav-links a {
        display: block;
        padding: 15px 2px;
        font-size: 17px;
        color: var(--ink);
    }

    .nav-links li:last-child {
        border-bottom: 0;
        padding-top: 18px;
    }

    /* Muss die Regel `.nav-links a` oben ueberschreiben — gleiche Spezifitaet,
     * aber diese steht spaeter; sonst faellt der CTA auf dunkle Schrift zurueck. */
    .nav-links .nav-cta a {
        text-align: center;
        padding: 13px 20px;
        color: #fff;
    }

    [data-theme="dark"] .nav-links .nav-cta a {
        color: #0c1e3c;
    }

    .hamburger {
        display: inline-flex;
    }

    .kit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .section {
        padding: 68px 0;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 48px);
    }

    .hero-stage {
        margin-top: 36px;
        padding-bottom: 56px;
    }

    .feature-grid,
    .pricing-container,
    .extras,
    .contact-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .plan-tagline {
        min-height: 0;
    }

    .mockup-stage {
        grid-template-columns: 1fr;
    }

    .mockup-stage > .mockup-panel:first-child {
        grid-column: auto;
    }

    .mockup-panel {
        padding: 32px 22px;
    }

    .mockup-panel .mockup-body {
        flex-direction: column;
    }

    .maps-card iframe {
        height: 300px;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-group .link-arrow {
        justify-content: center;
        padding: 8px 0;
    }

    .privacy-c,
    .impressum-container {
        padding: 26px 22px;
    }
}

@media (max-width: 420px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
