/* ==========================================================================
   GRUNDLAGEN & VARIABLEN
   ========================================================================== */
:root {
    --primary: #0284c7; 
    --primary-hover: #0369a1;
    --text-main: #334155;
    --text-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius: 12px;
}

html {
    scroll-behavior: smooth; /* Sorgt für weiches Scrollen beim Menü-Klick */
}

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

/* ==========================================================================
   NEU: HERO GRID (Für das Bild rechts)
   ========================================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    /* Optional: Ein leichter Schimmer hinter dem Bild für den High-Tech Look */
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.25); 
}

/* Anpassung für mobile Geräte (Bild rutscht unter den Text) */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.3;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 50px;
}

/* ==========================================================================
   NAVIGATION / HEADER MENÜ
   ========================================================================== */
.main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.btn-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s !important;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO SEKTION
   ========================================================================== */
.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f0f9ff 0%, var(--bg-white) 100%);
}

.hero-section .badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    background: var(--bg-white);
}

.trust-bar p {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 15px;
}

.trust-bar .logos span {
    display: inline-block;
    margin: 0 20px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* ==========================================================================
   GRIDS & KARTEN
   ========================================================================== */
.benefits-grid, .results-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.box-shadow {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.box-shadow:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   DETAILS (Bild + Text)
   ========================================================================== */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

.warning-box {
    margin-top: 20px;
    border-left: 4px solid #f59e0b;
    padding: 15px 20px;
    background: #fffbeb;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.95rem;
    color: #92400e;
}

/* ==========================================================================
   KONTAKT & FORMULAR
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--text-dark);
    color: white;
    padding: 16px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
}

.contact-card .icon {
    margin-bottom: 0;
    margin-right: 20px;
    font-size: 2.5rem;
}

.contact-card .info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-card .info span {
    display: block;
    color: #64748b;
}

.contact-card .action-text {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: var(--text-dark);
    color: #94a3b8;
    padding: 40px 0;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobil)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.2rem; }
    .details-grid, .contact-grid { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    
    /* Menü auf kleinen Bildschirmen leicht anpassen */
    .nav-links a:not(.btn-nav) {
        display: none; /* Versteckt Text-Links, lässt den Button sichtbar */
    }
}

/* ==========================================================================
   B2B-OPTIMIERUNG (Checkboxen & Bullets)
   ========================================================================== */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 500 !important;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}
.checkbox-label input {
    width: auto !important;
    margin-right: 10px;
    cursor: pointer;
}
.hero-bullets {
    list-style: none;
    margin: 25px 0 35px 0;
    padding: 0;
    text-align: left;
}
.hero-bullets li {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}
.hero-bullets li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 800;
    position: absolute;
    left: 0;
    top: 0;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (DSGVO-konform)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    z-index: 9999;
    padding: 25px 30px;
    animation: slideUp 0.5s ease-out;
}

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

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cookie-text p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-cookie-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

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

.btn-cookie-secondary {
    background: #e2e8f0;
    color: var(--text-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-cookie-secondary:hover {
    background: #cbd5e1;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
    .cookie-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .cookie-buttons {
        flex-direction: column-reverse;
    }
    .btn-cookie-primary, .btn-cookie-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   B2B ROI UMSATZ-RECHNER
   ========================================================================== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.slider-group {
    margin-bottom: 20px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.slider-value {
    color: var(--primary);
    font-weight: 800;
}

/* Stylen des Range Sliders */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(2, 132, 199, 0.3);
    transition: transform 0.1s, background 0.3s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--primary-hover);
}

.calculator-info-box {
    margin-top: 30px;
    padding: 15px 20px;
    background: #f0f9ff;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
    color: #0369a1;
}

.calculator-results {
    background: var(--text-dark);
    color: #cbd5e1;
    border: none;
}

.calculator-results .result-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1.05rem;
}

.calculator-results .border-bottom {
    border-bottom: 1px solid #334155;
    padding-bottom: 25px;
}

.calculator-results .result-number {
    font-weight: 700;
    color: white;
}

.calculator-results .result-number.minus {
    color: #fca5a5;
}

.calculator-results .total {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.calculator-results .result-profit {
    font-size: 2.2rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
}

.btn-calc-cta {
    width: 100%;
    margin-top: 30px;
    text-align: center;
    background: var(--primary) !important;
}

.btn-calc-cta:hover {
    background: var(--primary-hover) !important;
}

@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   B2B SYSTEM-VERGLEICHSTABELLE
   ========================================================================== */
.table-wrapper {
    overflow-x: auto;
    background: var(--bg-white);
    padding: 0 !important;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: #f1f5f9;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1rem;
}

.comparison-table th.highlight {
    background: var(--primary);
    color: white;
}

.comparison-table td.highlight {
    background: rgba(2, 132, 199, 0.03);
    color: var(--text-dark);
    font-weight: 600;
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:last-child td.highlight {
    border-bottom: 2px solid var(--primary);
}

/* ==========================================================================
   MOBILER STICKY CTA BUTTON
   ========================================================================== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 12px 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.btn-sticky-mobile {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    /* Abstand unten für Body hinzufügen, damit Content nicht verdeckt wird */
    body {
        padding-bottom: 70px;
    }
}

/* ==========================================================================
   B2B TRUST MICROCOPY / SIEGEL
   ========================================================================== */
.hero-trust-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 12px;
    font-weight: 500;
}

.form-trust-notes {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #64748b;
}

.form-trust-notes span {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 576px) {
    .form-trust-notes {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* ==========================================================================
   HIGH-CONVERTING CRO & DESIGN ENHANCEMENTS
   ========================================================================== */

/* Hero Top CTA Button Animation & Microcopy */
.hero-top-cta {
    margin: 24px 0 30px 0;
}

.btn-hero-top {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: ctaPulse 3s infinite;
}

.btn-hero-top:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.5);
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(2, 132, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}

.hero-cta-microcopy {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-cta-microcopy span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Form Value Box (Was beinhaltet das Paket) */
.form-wrapper-v2 {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 40px;
    position: relative;
}

@media (max-width: 576px) {
    .form-wrapper-v2 {
        padding: 25px 20px;
    }
}

.form-badge-header {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.form-value-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 25px;
}

.form-value-box h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 576px) {
    .form-value-list {
        grid-template-columns: 1fr;
    }
}

.form-value-list li {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Microcopy & Hints under input fields */
.field-hint {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 5px;
}

.field-hint.optional-hint {
    color: #0284c7;
    font-weight: 500;
}

.label-optional {
    font-weight: 400;
    color: #64748b;
    font-size: 0.85rem;
}

/* High Converting Submit Button */
.btn-submit-v2 {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-v2:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
}