/* ==========================================================================
   TrackSafeCore (tracksafecore.de) – Modern High-End Landing Page Stylesheet
   Design Token System, Glassmorphism, Dark Mode & Responsive Layout
   ========================================================================== */

:root {
    --bg-dark: #070A13;
    --bg-dark-alt: #0B0F19;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --bg-glass: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(56, 189, 248, 0.35);
    --primary: #0284C7;
    --primary-light: #38BDF8;
    --primary-glow: rgba(2, 132, 199, 0.35);
    --accent-indigo: #6366F1;
    --accent-emerald: #10B981;
    --accent-amber: #F59E0B;
    --accent-rose: #EF4444;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dark: #64748B;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(99, 102, 241, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: #7DD3FC;
}

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

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, #38BDF8 70%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-emerald {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge Styles */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    backdrop-filter: blur(8px);
    margin-bottom: 16px;
}

.badge-pill.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
    color: #34D399;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #38BDF8;
    box-shadow: 0 0 10px #38BDF8;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%);
    box-shadow: 0 6px 28px rgba(2, 132, 199, 0.55);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--glass-border);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-emerald {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.55);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
}

.navbar .container {
    width: 95%;
    max-width: 95%;
    padding: 0 12px;
}

.navbar .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0284C7 0%, #6366F1 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFFFFF;
    box-shadow: 0 0 16px var(--primary-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 7px 13px;
    font-size: 0.8rem;
    border-radius: 8px;
    gap: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-actions .btn i {
    font-size: 0.78rem;
}

.nav-actions .caret-icon {
    font-size: 0.65rem;
}

/* ==========================================================================
   PORTAL SWITCHER DROPDOWN (MULTI-PORTAL SUITE)
   ========================================================================== */
.portal-dropdown {
    position: relative;
}

.portal-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.portal-trigger-btn:hover,
.portal-dropdown.open .portal-trigger-btn {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    color: #FFFFFF;
}

.caret-icon {
    font-size: 0.75rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--primary-light);
}

.portal-dropdown.open .caret-icon {
    transform: rotate(180deg);
}

.portal-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 660px;
    max-width: 95vw;
    background: rgba(10, 15, 29, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 18px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(2, 132, 199, 0.15);
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
    max-height: 85vh;
    overflow-y: auto;
}

.portal-dropdown.open .portal-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.portal-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-menu-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.portal-menu-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38BDF8;
}

.portal-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.portal-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-group-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.portal-group-heading.text-rose {
    color: #F87171;
}

.portal-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.portal-card:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.portal-card.admin-card:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
}

.portal-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.portal-card-icon.blue { background: rgba(2, 132, 199, 0.2); color: #38BDF8; }
.portal-card-icon.indigo { background: rgba(99, 102, 241, 0.2); color: #818CF8; }
.portal-card-icon.emerald { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.portal-card-icon.cyan { background: rgba(6, 182, 212, 0.2); color: #22D3EE; }
.portal-card-icon.amber { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
.portal-card-icon.purple { background: rgba(168, 85, 247, 0.2); color: #C084FC; }
.portal-card-icon.red { background: rgba(239, 68, 68, 0.2); color: #F87171; }
.portal-card-icon.orange { background: rgba(249, 115, 22, 0.2); color: #FB923C; }

.portal-card-body {
    flex: 1;
    min-width: 0;
}

.portal-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    line-height: 1.3;
}

.portal-card-desc {
    font-size: 0.72rem;
    color: #94A3B8;
    line-height: 1.35;
    margin-top: 3px;
}

.tag-primary {
    font-size: 0.62rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38BDF8;
    font-weight: 700;
}

.tag-admin {
    font-size: 0.62rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.portal-menu-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.portal-menu-footer i {
    color: var(--primary-light);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.65;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.hero-feat-item i {
    color: var(--accent-emerald);
    font-size: 1rem;
}

/* Hero Visual & Mockup */
.hero-visual-wrapper {
    position: relative;
}

.hero-image-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px var(--primary-glow);
    backdrop-filter: blur(16px);
    transition: transform var(--transition-smooth);
}

.hero-image-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border-hover);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge.badge-top {
    top: -20px;
    right: -20px;
}

.floating-badge.badge-bottom {
    bottom: -20px;
    left: -20px;
    animation-delay: -2s;
}

.floating-badge .badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.badge-top .badge-icon {
    background: rgba(2, 132, 199, 0.2);
    color: var(--primary-light);
}

.badge-bottom .badge-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
}

.floating-badge .badge-text-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.floating-badge .badge-text-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* ==========================================================================
   PARTNERS & STATS BAR
   ========================================================================== */
.stats-bar-section {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(11, 15, 25, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR (GoBD Steuer-Ersparnis Rechner)
   ========================================================================== */
.calculator-section {
    padding: 100px 0;
    position: relative;
}

.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.calc-control-group {
    margin-bottom: 24px;
}

.calc-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.calc-val-display {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: monospace;
}

.calc-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    box-shadow: 0 0 12px var(--primary-glow);
    transition: transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Result Box */
.calc-result-box {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calc-savings-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.calc-savings-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #34D399;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 0 25px rgba(52, 211, 153, 0.4);
}

.calc-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.calc-break-item .calc-break-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.calc-break-item .calc-break-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ==========================================================================
   FEATURES 6-GRID SECTION
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background: rgba(11, 15, 25, 0.4);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.3rem;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.feature-card.emerald .feat-icon-box {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(52, 211, 153, 0.25);
    color: #34D399;
}

.feature-card.amber .feat-icon-box {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(251, 191, 36, 0.25);
    color: #FBBF24;
}

.feature-card.indigo .feat-icon-box {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(129, 140, 248, 0.25);
    color: #818CF8;
}

.feature-card.rose .feat-icon-box {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(248, 113, 113, 0.25);
    color: #F87171;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.feature-card .feat-list {
    list-style: none;
    font-size: 0.82rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.feature-card .feat-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.feature-card .feat-list li i {
    color: var(--accent-emerald);
    font-size: 0.75rem;
}

/* ==========================================================================
   DEEP DIVE SECTIONS (SECO & OBD2)
   ========================================================================== */
.deepdive-section {
    padding: 100px 0;
}

.deepdive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.deepdive-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.deepdive-image-wrap {
    position: relative;
}

.deepdive-image-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* DTC Interactive Lookup Widget */
.dtc-lookup-widget {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
}

.dtc-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.dtc-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: #FFFFFF;
    font-size: 0.95rem;
    outline: none;
}

.dtc-input:focus {
    border-color: var(--primary-light);
}

.dtc-result-display {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.dtc-result-display strong {
    color: var(--primary-light);
}

/* ==========================================================================
   HARDWARE CAROUSEL / GRID
   ========================================================================== */
.hardware-section {
    padding: 100px 0;
    background: rgba(11, 15, 25, 0.4);
}

.hw-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hw-tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hw-tab-btn.active, .hw-tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    color: #FFFFFF;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.hw-details-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hw-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.hw-spec-table td {
    padding: 8px 12px;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hw-spec-table td:first-child {
    font-weight: 600;
    color: var(--primary-light);
    width: 35%;
}

.hw-spec-table td:last-child {
    color: var(--text-main);
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
    position: relative;
}

.pricing-hero-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(2, 132, 199, 0.18);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
    backdrop-filter: blur(16px);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.pricing-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-hero-main {
    display: flex;
    flex-direction: column;
}

.pricing-hero-main h3 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pricing-hero-main p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.pricing-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 18px;
}

.pricing-curr {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
}

.pricing-val {
    font-size: 4rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-period {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pricing-sim-banner {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E2E8F0;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.pricing-sim-banner i {
    color: var(--accent-emerald);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.pricing-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pricing-trust-pills span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pricing-hero-features {
    background: rgba(7, 10, 19, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
}

.pricing-hero-features h4 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features-list {
    list-style: none;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #CBD5E1;
    margin-bottom: 14px;
    line-height: 1.5;
}

.pricing-features-list li:last-child {
    margin-bottom: 0;
}

.pricing-features-list li i {
    color: var(--accent-emerald);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Hardware-to-feature bridge */
.pricing-hw-bridge {
    text-align: center;
    margin: 50px 0 28px 0;
}

.pricing-hw-bridge h3 {
    font-size: 1.55rem;
    margin-top: 12px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.pricing-hw-bridge p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-hw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-hw-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
}

.pricing-hw-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.pricing-hw-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.pricing-hw-card h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.pricing-hw-card .hw-tagline {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 16px;
    font-weight: 600;
}

.pricing-hw-card ul {
    list-style: none;
    font-size: 0.84rem;
    color: #94A3B8;
    margin-top: auto;
}

.pricing-hw-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 9px;
    line-height: 1.45;
}

.pricing-hw-card ul li:last-child {
    margin-bottom: 0;
}

.pricing-hw-card ul li i {
    color: var(--accent-emerald);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background: rgba(11, 15, 25, 0.4);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-main);
}

.faq-question i {
    color: var(--primary-light);
    transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #04060B;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 16px 0 20px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid, .calc-grid, .deepdive-grid, .hw-details-card, .footer-grid {
        grid-template-columns: 1fr;
    }
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-hero-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }
    .pricing-hw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(7, 10, 19, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 24px;
        gap: 18px;
    }
    .portal-dropdown-menu {
        width: 540px;
    }
}

@media (max-width: 600px) {
    .portal-dropdown-menu {
        position: fixed;
        top: 74px;
        left: 10px;
        right: 10px;
        width: calc(100vw - 20px);
        max-width: none;
        max-height: calc(100vh - 90px);
        padding: 14px;
        border-radius: 14px;
    }
    .portal-menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .portal-trigger-btn span {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-features-list {
        grid-template-columns: 1fr;
    }
    .calc-savings-amount {
        font-size: 2.4rem;
    }
    .calc-breakdown {
        grid-template-columns: 1fr;
    }
    .pricing-hw-grid {
        grid-template-columns: 1fr;
    }
    .pricing-val {
        font-size: 3.2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   KI-TRANSPARENZ BADGES & BOX (EU AI ACT & DSGVO COMPLIANCE)
   ========================================================================== */
.ai-badge-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.ai-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(7, 10, 19, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #94A3B8;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 6;
    pointer-events: auto;
    cursor: help;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ai-badge:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: #38BDF8;
    color: #F8FAFC;
    transform: translateY(-2px);
}

.ai-badge i {
    color: #38BDF8;
    font-size: 0.75rem;
}

.ai-transparency-box {
    margin-top: 40px;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.6;
    backdrop-filter: blur(8px);
}

.ai-transparency-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #38BDF8;
    margin-bottom: 8px;
    font-size: 0.88rem;
}

