/**
 * landing.css — Hauptdesign fuer gps-srv.de
 * Modern, klar, "Stripe-Style": viel Whitespace, klare Typo, gedeckte Farben.
 */

/* ==========================================================
   Theme-Tokens (Hell / Dunkel / Auto). Wird von allen Public-
   Seiten geladen, daher hier zentral definiert.
   - Auto (kein data-theme): folgt dem System (prefers-color-scheme)
   - data-theme="light" | "dark": manuell gesetzt vom Umschalter
   ========================================================== */
:root {
    color-scheme: light;
    --l-bg:#ffffff; --l-bg-alt:#f8fafc; --l-surface:#ffffff; --l-surface-alt:#f1f5f9;
    --l-text:#1d2432; --l-muted:#475569; --l-border:#e2e8f0; --l-border-2:#cbd5e1;
    --l-primary:#1d4ed8; --l-primary-d:#1e40af;
    --primary:var(--l-primary); /* Alias fuer aeltere var(--primary,...) Stellen */
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --l-bg:#0f172a; --l-bg-alt:#111827; --l-surface:#1e293b; --l-surface-alt:#283449;
    --l-text:#e5e7eb; --l-muted:#94a3b8; --l-border:#334155; --l-border-2:#475569;
    --l-primary:#3b82f6; --l-primary-d:#60a5fa;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --l-bg:#0f172a; --l-bg-alt:#111827; --l-surface:#1e293b; --l-surface-alt:#283449;
        --l-text:#e5e7eb; --l-muted:#94a3b8; --l-border:#334155; --l-border-2:#475569;
        --l-primary:#3b82f6; --l-primary-d:#60a5fa;
    }
}

* { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--l-text);
    line-height: 1.5;
    background: var(--l-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--l-surface) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--l-border);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 80px;
}
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    gap: 28px;
}
.site-nav a {
    color: var(--l-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.12s;
}
.site-nav a:hover { color: var(--primary, var(--l-primary)); }

/* ---- Branchen-Dropdown (Desktop) ---- */
.site-nav-group { position: relative; display: inline-flex; align-items: center; }
.site-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--l-muted);
    cursor: pointer;
    transition: color 0.12s;
}
.site-nav-trigger:hover,
.site-nav-group:hover .site-nav-trigger,
.site-nav-group:focus-within .site-nav-trigger { color: var(--primary, var(--l-primary)); }
.site-nav-caret { transition: transform 0.15s ease; }
.site-nav-group:hover .site-nav-caret,
.site-nav-group.open .site-nav-caret { transform: rotate(180deg); }
.site-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    padding: 8px;
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    z-index: 60;
}
/* unsichtbare Hover-Bruecke Trigger -> Menue, damit der Hover nicht abreisst */
.site-nav-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.site-nav-group:hover .site-nav-menu,
.site-nav-group:focus-within .site-nav-menu,
.site-nav-group.open .site-nav-menu { display: block; }
.site-nav-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--l-text);
    white-space: nowrap;
}
.site-nav-menu a:hover { background: var(--l-bg-alt); color: var(--primary, var(--l-primary)); }

.site-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.site-login-btn {
    color: var(--l-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background-color 0.12s, color 0.12s;
}
.site-login-btn:hover {
    background: var(--l-surface-alt);
    color: var(--l-text);
}
.site-cart-btn {
    position: relative;
    color: var(--l-muted);
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.12s, color 0.12s;
    display: inline-flex;
}
.site-cart-btn:hover {
    background: var(--l-surface-alt);
    color: var(--primary, var(--l-primary));
}
.site-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.site-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}
.site-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--l-text);
    border-radius: 2px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s;
    line-height: 1;
}
.btn-lg {
    padding: 14px 26px;
    font-size: 16px;
}
.btn-primary {
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    border-color: var(--primary, var(--l-primary));
}
.btn-primary:hover {
    background: var(--primary-dark, var(--l-primary-d));
    border-color: var(--primary-dark, var(--l-primary-d));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.25);
}
.btn-ghost {
    background: transparent;
    color: var(--l-text);
    border-color: var(--l-border-2);
}
.btn-ghost:hover {
    border-color: var(--primary, var(--l-primary));
    color: var(--primary, var(--l-primary));
}

/* ========== HERO ========== */
.hero {
    padding: 80px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--l-bg-alt) 0%, var(--l-surface) 100%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-title {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    color: var(--l-text);
}
.hero-subtitle {
    font-size: 19px;
    color: var(--l-muted);
    line-height: 1.55;
    margin: 0 0 32px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--l-muted);
    font-weight: 500;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary, var(--l-primary));
    border-radius: 50%;
}

.hero-visual {
    position: relative;
}
.hero-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ========== TRUST STRIPE ========== */
.trust-stripe {
    background: var(--l-surface);
    border-top: 1px solid var(--l-border);
    border-bottom: 1px solid var(--l-border);
    padding: 24px 0;
}
.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--l-muted);
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}
.trust-item svg { color: var(--primary, var(--l-primary)); }

/* ========== SECTIONS ========== */
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--l-bg-alt);
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-header .kicker {
    color: var(--primary, var(--l-primary));
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
}
.section-header h2 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-header .lead {
    font-size: 18px;
    color: var(--l-muted);
    line-height: 1.55;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========== FEATURE GRID ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px 28px;
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 12px;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-color: var(--primary, var(--l-primary));
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary, var(--l-primary));
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 19px;
    margin: 0 0 8px;
    font-weight: 600;
}
.feature-card p {
    color: var(--l-muted);
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

/* ========== HARDWARE GRID ========== */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.hardware-card {
    padding: 32px 28px;
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 12px;
    text-align: center;
    position: relative;
}
.hardware-featured {
    border-color: var(--primary, var(--l-primary));
    box-shadow: 0 6px 24px rgba(29, 78, 216, 0.12);
}
.hardware-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hardware-icon { font-size: 40px; margin-bottom: 12px; }
.hardware-card h3 { font-size: 20px; margin: 0 0 6px; font-weight: 600; }
.hardware-model { color: var(--l-muted); font-size: 13px; margin: 0 0 14px; font-family: ui-monospace, monospace; }
.hardware-desc { color: var(--l-muted); margin: 0 0 20px; font-size: 14px; line-height: 1.55; }
.hardware-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--l-text);
    margin: 0;
}
.hardware-price small {
    font-size: 12px;
    color: var(--l-muted);
    font-weight: 400;
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-card {
    padding: 36px 32px;
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 14px;
    position: relative;
}
.pricing-featured {
    border-color: var(--primary, var(--l-primary));
    box-shadow: 0 12px 40px rgba(29, 78, 216, 0.15);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 600;
}
.pricing-price {
    font-size: 44px;
    font-weight: 700;
    color: var(--primary, var(--l-primary));
    margin: 0 0 24px;
    line-height: 1;
}
.pricing-price span {
    font-size: 16px;
    color: var(--l-muted);
    font-weight: 500;
    margin-left: 4px;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--l-muted);
    font-size: 15px;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 14px;
    height: 7px;
    border-left: 2px solid var(--primary, var(--l-primary));
    border-bottom: 2px solid var(--primary, var(--l-primary));
    transform: rotate(-45deg);
}
.pricing-foot {
    text-align: center;
    margin: 32px 0 0;
    color: var(--l-muted);
    font-size: 14px;
}

/* ========== HOW IT WORKS ========== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.howto-step {
    text-align: center;
    padding: 16px;
}
.howto-num {
    width: 56px;
    height: 56px;
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.howto-step h3 { font-size: 20px; margin: 0 0 10px; font-weight: 600; }
.howto-step p { color: var(--l-muted); margin: 0; font-size: 15px; }

/* ========== CTA Section ========== */
.cta-section {
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-section h2 {
    font-size: 38px;
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 32px;
}
.cta-section .btn-primary {
    background: var(--l-surface);
    color: var(--primary, var(--l-primary));
    border-color: #ffffff;
}
.cta-section .btn-primary:hover {
    background: var(--l-surface-alt);
    border-color: #f1f5f9;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0f1419;
    color: #cbd5e1;
    padding: 60px 0 24px;
    margin-top: auto;
}
.site-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1f2937;
}
.site-footer-logo {
    margin: 0 0 12px;
}
.site-footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.site-footer-tag {
    color: var(--l-muted);
    font-size: 14px;
    margin: 0;
    max-width: 280px;
}
.site-footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
}
.site-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer-col li { margin-bottom: 8px; }
.site-footer-col a {
    color: var(--l-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.12s;
}
.site-footer-col a:hover { color: #ffffff; }
.site-footer-bottom {
    padding-top: 24px;
}
.site-footer-bottom p {
    color: var(--l-muted);
    font-size: 13px;
    margin: 0;
    text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 40px; }
    .feature-grid, .hardware-grid, .howto-steps {
        grid-template-columns: 1fr;
    }
    .pricing-grid { grid-template-columns: 1fr; }
    .site-footer-inner { grid-template-columns: 1fr 1fr; }
    .section-header h2 { font-size: 30px; }
}

@media (max-width: 640px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--l-surface);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--l-border);
        gap: 16px;
    }
    .site-nav.site-nav-open { display: flex; }
    .site-hamburger { display: flex; }
    .site-header-actions .site-login-btn { display: none; }

    /* Branchen-Dropdown auf Mobile: inline aufklappen statt Overlay, nur per Klick */
    .site-nav-group { width: 100%; flex-direction: column; align-items: stretch; }
    .site-nav-trigger { width: 100%; justify-content: space-between; font-size: 16px; }
    .site-nav-group:hover .site-nav-menu,
    .site-nav-group:focus-within .site-nav-menu { display: none; }
    .site-nav-menu {
        position: static;
        transform: none;
        min-width: 0;
        margin-top: 6px;
        padding: 2px 0 2px 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    .site-nav-menu::before { display: none; }
    .site-nav-group.open .site-nav-menu { display: block; }

    .hero { padding: 40px 0 30px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 26px; }
    .site-footer-inner { grid-template-columns: 1fr; }
    .trust-items { justify-content: flex-start; }
}

/* ========== TRUST SECTION (Banner unter Hero) ========== */
.trust-section {
    background: var(--primary, var(--l-primary));
    color: #ffffff;
    padding: 36px 0;
}
.trust-section-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}
.trust-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0;
}
.trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.trust-text {
    min-width: 0;
}
.trust-headline {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}
.trust-sub {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.3;
}
@media (max-width: 900px) {
    .trust-section-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 500px) {
    .trust-section-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========== FEATURE TIER TAGS ========== */
.feature-tier-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 10px;
    background: var(--l-surface-alt);
    color: var(--l-muted);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.feature-tier-premium-only {
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary, var(--l-primary));
}
.feature-card.feature-premium {
    background: linear-gradient(135deg, var(--l-surface) 0%, var(--l-bg-alt) 100%);
    border-color: rgba(29, 78, 216, 0.2);
}

/* ========== PRICING DESC ========== */
.pricing-desc {
    color: var(--l-muted);
    font-size: 14px;
    margin: 0 0 16px;
}

/* ========== FAQ SECTION ========== */
.faq {
    background: var(--l-surface);
}
.faq-container {
    max-width: 800px;
}
.faq-list {
    margin-top: 24px;
}
.faq-item {
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item:hover {
    border-color: var(--primary, var(--l-primary));
}
.faq-item summary {
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--l-text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--l-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    content: '−';
    color: var(--primary, var(--l-primary));
}
.faq-item p {
    margin: 0;
    padding: 0 24px 20px;
    color: var(--l-muted);
    line-height: 1.6;
}

/* ========== FREEDOM SECTION (kein Vendor-Lock) ========== */
.freedom {
    background: var(--l-bg-alt);
}
.freedom-inner {
    max-width: 900px;
    margin: 0 auto;
}
.freedom-content {
    text-align: center;
}
.freedom-content .kicker {
    color: var(--primary, var(--l-primary));
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
}
.freedom-content h2 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.freedom-lead {
    font-size: 18px;
    color: var(--l-muted);
    line-height: 1.55;
    margin: 0 0 40px;
}
.freedom-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.freedom-point {
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.freedom-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary, var(--l-primary));
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.freedom-point h3 {
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--l-text);
}
.freedom-point p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--l-muted);
    margin: 0;
}
@media (max-width: 900px) {
    .freedom-points { grid-template-columns: 1fr; }
    .freedom-content h2 { font-size: 28px; }
}

/* ========== PRICING 4-TIER + TERM TOGGLE ========== */
.term-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--l-surface-alt);
    padding: 4px;
    border-radius: 10px;
    margin: 0 auto 40px;
    justify-content: center;
}
.pricing .section-header + .term-toggle {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.term-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--l-muted);
    transition: all 0.15s;
}
.term-btn:hover {
    color: var(--l-text);
}
.term-btn.active {
    background: var(--l-surface);
    color: var(--primary, var(--l-primary));
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pricing-grid-4 .pricing-card {
    padding: 28px 22px;
}
.pricing-grid-4 .pricing-card h3 { font-size: 20px; }
.pricing-grid-4 .pricing-price { font-size: 32px; }
.pricing-total {
    font-size: 13px;
    color: var(--l-muted);
    margin: -16px 0 16px;
}
.pricing-price-na {
    font-size: 16px;
    color: var(--l-muted);
    font-style: italic;
    margin: 0 0 24px;
}
.pricing-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}
.pricing-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--l-muted);
}

@media (max-width: 1000px) {
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pricing-grid-4 { grid-template-columns: 1fr; }
    .term-toggle { width: 100%; flex-wrap: wrap; }
    .term-btn { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 13px; }
}

/* ========== Theme-Umschalter (Hell/Dunkel/Auto) ========== */
.site-theme-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--l-surface-alt);
    color: var(--l-text);
    border: 1px solid var(--l-border);
    border-radius: 8px;
    padding: 7px 11px;
    font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.site-theme-toggle:hover { background: var(--l-border); }
.site-theme-toggle .stt-ic { font-size: 15px; line-height: 1; }
@media (max-width: 720px) { .site-theme-toggle .stt-lb { display: none; } }

/* ========== Logo Hell/Dunkel-Umschaltung ========== */
.site-logo-dark { display: none; }
:root[data-theme="dark"] .site-logo-light { display: none; }
:root[data-theme="dark"] .site-logo-dark  { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .site-logo-light { display: none; }
    :root:not([data-theme]) .site-logo-dark  { display: block; }
}

/* ========== Sprach-Umschalter ========== */
.site-lang-select {
    background: var(--l-surface-alt);
    color: var(--l-text);
    border: 1px solid var(--l-border);
    border-radius: 8px;
    padding: 7px 10px;
    font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer;
}
.site-lang-select:hover { background: var(--l-border); }
