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

* { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1d2432;
    line-height: 1.5;
    background: #ffffff;
}

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

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}
.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: #475569;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.12s;
}
.site-nav a:hover { color: var(--primary, #1d4ed8); }

.site-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.site-login-btn {
    color: #475569;
    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: #f1f5f9;
    color: #1d2432;
}
.site-cart-btn {
    position: relative;
    color: #475569;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.12s, color 0.12s;
    display: inline-flex;
}
.site-cart-btn:hover {
    background: #f1f5f9;
    color: var(--primary, #1d4ed8);
}
.site-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary, #1d4ed8);
    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: #1d2432;
    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, #1d4ed8);
    color: #ffffff;
    border-color: var(--primary, #1d4ed8);
}
.btn-primary:hover {
    background: var(--primary-dark, #1e40af);
    border-color: var(--primary-dark, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.25);
}
.btn-ghost {
    background: transparent;
    color: #1d2432;
    border-color: #cbd5e1;
}
.btn-ghost:hover {
    border-color: var(--primary, #1d4ed8);
    color: var(--primary, #1d4ed8);
}

/* ========== HERO ========== */
.hero {
    padding: 80px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 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: #1d2432;
}
.hero-subtitle {
    font-size: 19px;
    color: #475569;
    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: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary, #1d4ed8);
    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: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
}
.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #64748b;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}
.trust-item svg { color: var(--primary, #1d4ed8); }

/* ========== SECTIONS ========== */
.section {
    padding: 80px 0;
}
.section-alt {
    background: #f8fafc;
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-header .kicker {
    color: var(--primary, #1d4ed8);
    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: #475569;
    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: #ffffff;
    border: 1px solid #e2e8f0;
    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, #1d4ed8);
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary, #1d4ed8);
    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: #475569;
    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: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    position: relative;
}
.hardware-featured {
    border-color: var(--primary, #1d4ed8);
    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, #1d4ed8);
    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: #64748b; font-size: 13px; margin: 0 0 14px; font-family: ui-monospace, monospace; }
.hardware-desc { color: #475569; margin: 0 0 20px; font-size: 14px; line-height: 1.55; }
.hardware-price {
    font-size: 22px;
    font-weight: 700;
    color: #1d2432;
    margin: 0;
}
.hardware-price small {
    font-size: 12px;
    color: #64748b;
    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: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    position: relative;
}
.pricing-featured {
    border-color: var(--primary, #1d4ed8);
    box-shadow: 0 12px 40px rgba(29, 78, 216, 0.15);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary, #1d4ed8);
    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, #1d4ed8);
    margin: 0 0 24px;
    line-height: 1;
}
.pricing-price span {
    font-size: 16px;
    color: #64748b;
    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: #475569;
    font-size: 15px;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 14px;
    height: 7px;
    border-left: 2px solid var(--primary, #1d4ed8);
    border-bottom: 2px solid var(--primary, #1d4ed8);
    transform: rotate(-45deg);
}
.pricing-foot {
    text-align: center;
    margin: 32px 0 0;
    color: #64748b;
    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, #1d4ed8);
    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: #475569; margin: 0; font-size: 15px; }

/* ========== CTA Section ========== */
.cta-section {
    background: var(--primary, #1d4ed8);
    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: #ffffff;
    color: var(--primary, #1d4ed8);
    border-color: #ffffff;
}
.cta-section .btn-primary:hover {
    background: #f1f5f9;
    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: #94a3b8;
    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: #94a3b8;
    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: #64748b;
    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: #ffffff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #e2e8f0;
        gap: 16px;
    }
    .site-nav.site-nav-open { display: flex; }
    .site-hamburger { display: flex; }
    .site-header-actions .site-login-btn { display: none; }

    .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, #1d4ed8);
    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: #f1f5f9;
    color: #475569;
    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, #1d4ed8);
}
.feature-card.feature-premium {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(29, 78, 216, 0.2);
}

/* ========== PRICING DESC ========== */
.pricing-desc {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 16px;
}

/* ========== FAQ SECTION ========== */
.faq {
    background: #ffffff;
}
.faq-container {
    max-width: 800px;
}
.faq-list {
    margin-top: 24px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item:hover {
    border-color: var(--primary, #1d4ed8);
}
.faq-item summary {
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    color: #1d2432;
    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: #64748b;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    content: '−';
    color: var(--primary, #1d4ed8);
}
.faq-item p {
    margin: 0;
    padding: 0 24px 20px;
    color: #475569;
    line-height: 1.6;
}

/* ========== FREEDOM SECTION (kein Vendor-Lock) ========== */
.freedom {
    background: #f8fafc;
}
.freedom-inner {
    max-width: 900px;
    margin: 0 auto;
}
.freedom-content {
    text-align: center;
}
.freedom-content .kicker {
    color: var(--primary, #1d4ed8);
    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: #475569;
    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: #ffffff;
    border: 1px solid #e2e8f0;
    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, #1d4ed8);
    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: #1d2432;
}
.freedom-point p {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    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: #f1f5f9;
    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: #475569;
    transition: all 0.15s;
}
.term-btn:hover {
    color: #1d2432;
}
.term-btn.active {
    background: #ffffff;
    color: var(--primary, #1d4ed8);
    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: #64748b;
    margin: -16px 0 16px;
}
.pricing-price-na {
    font-size: 16px;
    color: #94a3b8;
    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: #94a3b8;
}

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