/* =========================================================
   TM24 B2B LANDING PAGE – CSS
   Design-System identisch mit Ankauf-Seite (#2E2BCB)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800;900&display=swap');

:root {
    --tm-blue: #2E2BCB;
    --tm-blue-light: rgba(46, 43, 203, 0.08);
    --tm-blue-hover: #2220a8;
    --tm-dark: #111118;
    --tm-gray: #f6f6f8;
    --tm-text: #333;
    --tm-muted: #888;
    --radius-lg: 16px;
    --radius-pill: 50px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Figtree', sans-serif;
    background: var(--tm-gray);
    margin: 0;
    padding: 0;
    color: var(--tm-text);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOPBAR ===== */
.b2b-topbar {
    background: linear-gradient(90deg, #1a1278 0%, #2E2BCB 50%, #1a1278 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 0;
    text-align: center;
}

.b2b-topbar-inner {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.b2b-topbar-inner span {
    white-space: nowrap;
}

.b2b-topbar-inner i {
    margin-right: 4px;
}

/* ===== HEADER (gestylt via tm24-header-tokens.css) =====
   Basis-Regeln fuer sticky/background bleiben hier,
   Layout (Grid) kommt aus tm24-header-tokens.css
*/
.b2b-header {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo, Pills und Icon-Styles kommen jetzt aus tm24-header-tokens.css
   Hier NICHT ueberschreiben, sonst bricht das Grid-Layout */

/* ===== HERO ===== */
.b2b-hero {
    background: linear-gradient(135deg, var(--tm-blue) 0%, #1a18a0 50%, #0f0e6e 100%);
    color: #fff;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.b2b-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .2) 0%, transparent 70%);
    top: -180px;
    right: -100px;
    pointer-events: none;
}

.b2b-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--tm-gray);
    border-radius: 50% 50% 0 0;
}

.b2b-hero__icon {
    font-size: 48px;
    margin-bottom: 18px;
    opacity: 0.9;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

.b2b-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.08;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.b2b-hero__sub {
    font-size: clamp(14px, 1.2vw, 18px);
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.b2b-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--tm-blue);
    font-weight: 800;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 2;
}

.b2b-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
    color: var(--tm-blue);
    text-decoration: none;
}

/* ===== USP STRIP ===== */
.b2b-trust-strip {
    background: var(--tm-blue);
    color: #fff;
    padding: 20px 0;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 5;
}

.b2b-trust-inner {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.b2b-trust-inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.b2b-trust-inner i {
    color: #4ade80;
    font-size: 15px;
}

/* ===== SECTION TITLE ===== */
.b2b-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.b2b-section-title h2 {
    font-weight: 900;
    font-size: clamp(24px, 3vw, 34px);
    color: #111;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.b2b-section-title p {
    color: var(--tm-muted);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== SERVICES GRID ===== */
.b2b-services {
    padding: 80px 0 60px;
    background: var(--tm-gray);
}

.b2b-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.b2b-service-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.b2b-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(46, 43, 203, 0.12);
}

.b2b-service-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: transform 0.3s;
}

.b2b-service-card:hover .b2b-service-icon {
    transform: scale(1.08);
}

.b2b-service-card:nth-child(1) .b2b-service-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.b2b-service-card:nth-child(2) .b2b-service-icon {
    background: rgba(46, 43, 203, 0.08);
    color: var(--tm-blue);
    border: 1px solid rgba(46, 43, 203, 0.15);
}

.b2b-service-card:nth-child(3) .b2b-service-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.b2b-service-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.b2b-service-card p {
    font-size: 14px;
    color: var(--tm-muted);
    line-height: 1.6;
}

/* ===== STEPS ===== */
.b2b-steps {
    background: #fff;
    padding: 70px 0;
}

.b2b-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.b2b-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.b2b-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tm-blue-light);
    color: var(--tm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin: 0 auto 16px;
}

.b2b-step-icon {
    width: 64px;
    height: 64px;
    background: var(--tm-blue-light);
    color: var(--tm-blue);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

.b2b-step h4 {
    font-weight: 800;
    font-size: 16px;
    color: #111;
    margin-bottom: 8px;
}

.b2b-step p {
    font-size: 13px;
    color: var(--tm-muted);
    line-height: 1.55;
}

/* ===== ZIELGRUPPEN ===== */
.b2b-audience {
    background: var(--tm-gray);
    padding: 70px 0;
}

.b2b-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.b2b-audience-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s;
}

.b2b-audience-card:hover {
    border-color: var(--tm-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46, 43, 203, 0.1);
}

.b2b-audience-emoji {
    font-size: 36px;
    margin-bottom: 14px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin: 0 auto 14px;
    background: var(--tm-blue-light);
}

.b2b-audience-card h4 {
    font-weight: 800;
    font-size: 16px;
    color: #111;
    margin-bottom: 6px;
}

.b2b-audience-card p {
    font-size: 13px;
    color: var(--tm-muted);
    line-height: 1.5;
}

/* ===== KONTAKTFORMULAR ===== */
.b2b-contact {
    background: #fff;
    padding: 70px 0;
}

.b2b-form-box {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.b2b-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.b2b-form-group {
    margin-bottom: 16px;
}

.b2b-form-group label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}

.b2b-form-group input,
.b2b-form-group textarea,
.b2b-form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Figtree', sans-serif;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    outline: none;
}

.b2b-form-group input:focus,
.b2b-form-group textarea:focus,
.b2b-form-group select:focus {
    border-color: var(--tm-blue);
    box-shadow: 0 0 0 3px rgba(46, 43, 203, 0.1);
}

.b2b-form-group input::placeholder,
.b2b-form-group textarea::placeholder {
    color: #bbb;
}

.b2b-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.b2b-form-submit {
    background: var(--tm-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 16px 44px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Figtree', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(46, 43, 203, 0.3);
    width: 100%;
    margin-top: 8px;
}

.b2b-form-submit:hover {
    background: var(--tm-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46, 43, 203, 0.4);
}

.b2b-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--tm-muted);
    margin-top: 16px;
}

.b2b-form-note i {
    margin-right: 4px;
}

/* Formular Erfolg */
.b2b-form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.b2b-form-success.show {
    display: block;
}

.b2b-form-success-icon {
    font-size: 52px;
    color: #10b981;
    margin-bottom: 16px;
}

.b2b-form-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.b2b-form-success p {
    color: var(--tm-muted);
    font-size: 15px;
}

/* Language toggle */
.b2b-lang-btn {
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}
.b2b-lang-btn.active {
    background: var(--tm-blue);
    border-color: var(--tm-blue);
    color: #fff;
}
.b2b-lang-btn:hover:not(.active) {
    border-color: var(--tm-blue);
    color: var(--tm-blue);
}
.b2b-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Header language switch */
.b2b-lang-switch { margin-right: 16px; }
.b2b-lang-switch .b2b-flag-selected { padding: 6px 12px; font-size: 13px; font-weight: 600; border-color: transparent; }
.b2b-lang-switch .b2b-flag-selected:hover { background: #f1f5f9; border-color: #e2e8f0; }
.b2b-lang-switch .b2b-flag-options { right: 0; left: auto; min-width: 170px; }

/* Custom Flag Dropdowns */
.b2b-flag-select {
    position: relative;
    display: inline-block;
    -webkit-user-select: none;
    user-select: none;
}
.b2b-flag-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.b2b-flag-selected:hover { border-color: #cbd5e1; }
.b2b-flag-selected img { width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.2); }
.b2b-flag-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: none;
    flex-direction: column;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
}
.b2b-flag-options.show { display: flex; }
.b2b-flag-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.b2b-flag-option:hover { background: #f8fafc; color: var(--tm-blue); }
.b2b-flag-option img { width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.2); }

/* ===== FAQ ===== */
.b2b-faq {
    background: #f8f9fb;
    padding: 70px 0;
}

.b2b-faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.b2b-faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.b2b-faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #222;
    transition: 0.2s;
    -webkit-user-select: none;
    user-select: none;
}

.b2b-faq-question:hover {
    color: var(--tm-blue);
}

.b2b-faq-question i {
    font-size: 12px;
    color: #aaa;
    transition: 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.b2b-faq-item.open .b2b-faq-question i {
    transform: rotate(180deg);
    color: var(--tm-blue);
}

.b2b-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.b2b-faq-item.open .b2b-faq-answer {
    max-height: 400px;
    padding: 0 24px 18px;
}

/* ===== FOOTER ===== */
.b2b-footer {
    background: var(--tm-dark);
    color: #fff;
    padding: 50px 0 30px;
}

.b2b-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.b2b-footer-logo {
    font-weight: 900;
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
}

.b2b-footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

.b2b-footer-links {
    display: flex;
    gap: 40px;
}

.b2b-footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.b2b-footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 4px 0;
    transition: 0.2s;
}

.b2b-footer-col a:hover {
    color: #fff;
}

.b2b-footer-bottom {
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== WHATSAPP FLOATING ===== */
.b2b-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: 0.3s;
}

.b2b-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 24, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s, background 0.2s;
    font-family: 'Figtree', sans-serif;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #fff;
    background: rgba(46, 43, 203, 0.3);
}

.mobile-nav a.active {
    color: #fff;
    background: var(--tm-blue);
}

/* Burger button styling */
.b2b-burger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--tm-text);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    z-index: 10001;
    position: relative;
}

.b2b-burger-btn.active {
    color: #fff;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 10001;
}

/* Honeypot */
.b2b-hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .b2b-topbar-inner {
        gap: 12px;
        font-size: 11px;
    }

    /* Show burger, hide desktop pills */
    .b2b-burger-btn {
        display: block !important;
    }
    .tm24-pill-nav,
    .b2b-pills {
        display: none !important;
    }
    .b2b-lang-switch {
        margin-right: 8px;
    }
    /* Hide desktop icon links on mobile (they're in the mobile-nav instead) */
    .b2b-icon-link {
        display: none !important;
    }

    .b2b-hero {
        padding: 60px 0 80px;
    }

    .b2b-hero h1 {
        font-size: 30px;
    }

    .b2b-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .b2b-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .b2b-audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .b2b-form-row {
        grid-template-columns: 1fr;
    }

    .b2b-form-box {
        padding: 24px;
        margin: 0 12px;
    }

    .b2b-trust-inner {
        gap: 16px;
    }

    .b2b-pills {
        margin-left: 12px;
    }

    .b2b-pill {
        padding: 6px 14px;
        font-size: 12px;
    }

    .b2b-footer-inner {
        flex-direction: column;
    }

    .b2b-footer-links {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .b2b-steps-grid {
        grid-template-columns: 1fr;
    }

    .b2b-audience-grid {
        grid-template-columns: 1fr;
    }

    .b2b-hero__cta {
        padding: 14px 28px;
        font-size: 15px;
    }

    .b2b-audience-card {
        padding: 24px 16px;
    }
}