:root {
    --dark: #1a1a1a;
    --dark-soft: #2d2d2d;
    --white: #ffffff;
    --off-white: #f8f8f6;
    --yellow: #FFD000;
    --yellow-hover: #e6bb00;
    --green: #22c55e;
    --green-light: #dcfce7;
    --red: #ef4444;
    --red-light: #fef2f2;
    --blue: #3b82f6;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --font: 'Inter', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26,26,26,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
    transition: var(--transition);
}
.navbar.scrolled { background: rgba(26,26,26,0.98); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 900; font-size: 22px; letter-spacing: -0.5px; text-decoration: none; color: var(--white); }
.nav-logo span { color: var(--yellow); }
.nav-back { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-400); text-decoration: none; transition: var(--transition); }
.nav-back:hover { color: var(--white); }

/* HERO */
.hero-karriere {
    position: relative;
    padding: 180px 24px 100px;
    background: url('img/karriere_hero.png') center/cover no-repeat;
    overflow: hidden;
    text-align: center;
}
.hero-karriere::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(10,10,10,0.85) 0%, rgba(26,26,46,0.75) 40%, rgba(15,52,96,0.7) 100%);
    z-index: 0;
}
.hero-karriere-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(255,208,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(34,197,94,0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 120%, rgba(59,130,246,0.1) 0%, transparent 40%);
}
.hero-karriere-content {
    position: relative; max-width: 800px; margin: 0 auto;
}
.hiring-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25);
    border-radius: 100px; padding: 8px 20px;
    font-size: 13px; font-weight: 700; color: var(--green);
    margin-bottom: 32px;
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

.hero-karriere h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900; color: var(--white);
    letter-spacing: -2px; line-height: 1.1;
    margin-bottom: 20px;
}
.hero-karriere h1 .accent { color: var(--yellow); }
.hero-sub {
    font-size: 18px; color: var(--gray-400); max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-stats-row {
    display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 32px; font-weight: 900; color: var(--yellow); }
.hero-stat-label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

.btn-hero {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--yellow); color: var(--dark);
    border-radius: 100px; padding: 18px 40px;
    font-size: 16px; font-weight: 700; text-decoration: none;
    transition: var(--transition); font-family: var(--font);
}
.btn-hero:hover { background: var(--yellow-hover); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,208,0,0.3); }

/* SECTIONS */
.section { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--yellow);
    background: #fef3c7; padding: 6px 16px; border-radius: 100px;
    margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -1px; }
.section-sub { font-size: 16px; color: var(--gray-500); max-width: 600px; margin: 12px auto 0; }

/* PROBLEM / SOLUTION */
.problem-section { background: var(--white); }
.comparison-row {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px;
    align-items: center; max-width: 900px; margin: 0 auto;
}
.old-way, .new-way {
    border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid var(--gray-200);
}
.old-way { background: var(--red-light); border-color: #fecaca; }
.new-way { background: var(--green-light); border-color: #bbf7d0; }
.way-tag {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 20px;
}
.way-tag.old { color: var(--red); }
.way-tag.new { color: var(--green); }
.way-list { list-style: none; }
.way-list li {
    font-size: 14px; padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.way-list li:last-child { border: none; }
.vs-badge {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--dark); color: var(--yellow);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 14px;
}

/* PROCESS */
.process-section { background: var(--off-white); }
.process-steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.process-step {
    flex: 0 0 220px; text-align: center;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 32px 20px;
    position: relative; transition: var(--transition);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.process-step.highlight {
    border-color: var(--yellow);
    background: linear-gradient(180deg, #fffbeb 0%, var(--white) 100%);
}
.step-number {
    font-size: 11px; font-weight: 800; color: var(--yellow);
    letter-spacing: 2px; margin-bottom: 12px;
}
.step-icon { font-size: 36px; margin-bottom: 12px; }
.process-step h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.process-step p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.process-connector { display: flex; align-items: center; padding: 0 8px; }

/* CALC */
.calc-section { background: var(--white); }
.calc-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: var(--radius-xl); padding: 48px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    color: var(--white); max-width: 900px; margin: 0 auto;
}
.calc-group { margin-bottom: 28px; }
.calc-group label { font-size: 13px; font-weight: 600; color: var(--gray-400); margin-bottom: 12px; display: block; }
.calc-slider-row { display: flex; align-items: center; gap: 16px; }
.calc-slider-row input[type="range"] {
    -webkit-appearance: none; appearance: none; flex: 1; height: 6px;
    background: var(--gray-600); border-radius: 3px; outline: none;
}
.calc-slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px;
    background: var(--yellow); border-radius: 50%;
    cursor: pointer; border: 3px solid var(--dark);
}
.calc-val {
    font-size: 18px; font-weight: 800; color: var(--yellow);
    min-width: 60px; text-align: right;
}
.calc-results { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.calc-result-item {
    background: rgba(255,255,255,0.06); border-radius: var(--radius);
    padding: 20px; border: 1px solid rgba(255,255,255,0.08);
}
.cr-label { font-size: 12px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.cr-value { font-size: 28px; font-weight: 900; color: var(--green); }
.cr-value.big { font-size: 40px; color: var(--yellow); }

/* PACKAGES */
.packages-section { background: var(--off-white); }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.package-card {
    background: var(--white); border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200); padding: 36px;
    position: relative; transition: var(--transition);
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-card.featured {
    border: 2px solid var(--yellow);
    background: linear-gradient(180deg, #fffbeb, var(--white));
}
.pkg-badge {
    display: inline-block; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    background: var(--gray-100); color: var(--gray-600);
    padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.pkg-badge.gold { background: var(--yellow); color: var(--dark); }
.pkg-icon { font-size: 36px; margin-bottom: 12px; }
.package-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.pkg-price { font-size: 28px; font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.pkg-features { list-style: none; margin-bottom: 24px; }
.pkg-features li {
    font-size: 13px; padding: 6px 0; padding-left: 22px; position: relative;
    border-bottom: 1px solid var(--gray-100);
}
.pkg-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pkg-features li:last-child { border: none; }
.pkg-provision, .pkg-savings {
    background: var(--green-light); border-radius: var(--radius);
    padding: 12px 16px; font-size: 14px; text-align: center;
    color: #166534;
}
.pkg-sub {
    font-size: 12px; color: var(--gray-500); margin-bottom: 16px; margin-top: -4px;
}

/* BENEFITS */
.benefits-section { background: var(--white); }
.benefits-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.benefit-card {
    background: var(--gray-100); border-radius: var(--radius-lg);
    padding: 28px; transition: var(--transition);
    border: 1px solid transparent;
}
.benefit-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.benefit-card.large { grid-column: 1 / -1; background: linear-gradient(135deg, #1a1a1a, #2a2a2a); color: var(--white); padding: 40px; }
.benefit-card.large p { color: var(--gray-400); }
.bc-icon { font-size: 32px; margin-bottom: 12px; }
.benefit-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.benefit-card p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.bc-list { list-style: none; margin-top: 16px; display: flex; gap: 24px; flex-wrap: wrap; }
.bc-list li {
    font-size: 13px; padding: 10px 16px;
    background: rgba(255,255,255,0.08); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1); color: var(--gray-300);
}

/* TESTIMONIALS */
.testimonials-section { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); padding: 32px;
}
.tc-stars { margin-bottom: 12px; font-size: 16px; }
.tc-quote { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--yellow);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: var(--dark);
}
.tc-author strong { font-size: 14px; }
.tc-author span { font-size: 11px; color: var(--gray-400); }

/* CTA / BEWERBUNG */
.cta-section { background: linear-gradient(160deg, #0a0a0a, #1a2a1a); padding: 100px 24px; }
.cta-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; max-width: 1000px; margin: 0 auto;
}
.cta-left h2 { font-size: 36px; font-weight: 900; color: var(--white); letter-spacing: -1px; margin-bottom: 16px; }
.cta-left p { font-size: 16px; color: var(--gray-400); margin-bottom: 24px; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-checks span {
    font-size: 12px; font-weight: 600; color: var(--green);
    background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
    border-radius: 100px; padding: 6px 14px;
}

.apply-form { display: flex; flex-direction: column; gap: 12px; }
.apply-form input, .apply-form select {
    padding: 14px 16px; border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); background: rgba(255,255,255,0.06);
    color: var(--white); font-family: var(--font); font-size: 14px;
    font-weight: 500; outline: none; transition: var(--transition);
    appearance: none; -webkit-appearance: none;
}
.apply-form input::placeholder { color: var(--gray-500); }
.apply-form select { color: var(--gray-400); }
.apply-form select option { background: var(--dark); color: var(--white); }
.apply-form input:focus, .apply-form select:focus { border-color: var(--yellow); }

.btn-apply {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--yellow); color: var(--dark); border: none;
    border-radius: var(--radius); padding: 16px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: var(--transition); font-family: var(--font); margin-top: 4px;
}
.btn-apply:hover { background: var(--yellow-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,208,0,0.3); }
.form-hint { font-size: 11px; color: var(--gray-500); text-align: center; }

.apply-success {
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 16px; min-height: 300px;
}
.success-icon { font-size: 48px; }
.apply-success h3 { font-size: 24px; font-weight: 800; color: var(--white); }
.apply-success p { color: var(--gray-400); }

/* FOOTER */
.footer-mini { text-align: center; padding: 40px 24px; font-size: 12px; color: var(--gray-400); }
.footer-mini a { color: var(--gray-500); }

/* =============================================
   RESPONSIVE – Tablet ≤ 900px
   ============================================= */
@media (max-width: 900px) {

    /* Allgemein: kein horizontaler Scroll */
    html, body { overflow-x: hidden; max-width: 100%; }
    *, *::before, *::after { box-sizing: border-box; }

    /* Vergleich-Row */
    .comparison-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        max-width: 100%;
    }
    .old-way, .new-way { width: 100% !important; min-width: 0 !important; }
    .vs-badge { margin: 0 auto; }

    /* Prozess-Steps */
    .process-steps {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0;
        width: 100%;
    }
    .process-step {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .process-connector { transform: rotate(90deg); }

    /* Calc Card */
    .calc-card { grid-template-columns: 1fr !important; }

    /* Packages Grid */
    .packages-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Benefits Grid */
    .benefits-grid { grid-template-columns: 1fr !important; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr !important; }

    /* CTA */
    .cta-card {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* Hero Stats */
    .hero-stats-row { gap: 20px; }
    .hero-stat-divider { display: none; }
}

/* =============================================
   RESPONSIVE – Mobile ≤ 768px
   ============================================= */
@media (max-width: 768px) {

    /* Globaler Overflow-Stop */
    html, body { overflow-x: hidden !important; }

    /* Sections: horizontal padding begrenzen */
    .section { padding: 52px 16px !important; }
    .cta-section { padding: 52px 16px !important; }
    .container { padding-left: 16px !important; padding-right: 16px !important; max-width: 100% !important; }

    /* Nav */
    .nav-inner { padding: 0 16px !important; }

    /* Hero */
    .hero-karriere { padding: 120px 16px 60px !important; }
    .hero-karriere h1 { font-size: clamp(24px, 7vw, 34px) !important; letter-spacing: -1.5px !important; }
    .hero-sub { font-size: 14px !important; margin-bottom: 24px !important; }
    .hero-karriere-content { max-width: 100% !important; padding: 0 !important; }
    .hero-stats-row { gap: 12px !important; flex-wrap: wrap !important; justify-content: center !important; }
    .hero-stat-value { font-size: 24px !important; }
    .hero-stat-divider { display: none !important; }
    .btn-hero {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
    }

    /* Problem/Solution */
    .comparison-row {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    .old-way, .new-way {
        padding: 20px 16px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Prozess */
    .process-steps {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .process-step {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 24px 16px !important;
    }
    .process-connector {
        transform: rotate(90deg) !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    /* Benefits */
    .benefits-grid { grid-template-columns: 1fr !important; }
    .benefit-card { padding: 20px 16px !important; }
    .benefit-card.large { padding: 24px 16px !important; }
    .bc-list {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .bc-list li { font-size: 12px !important; padding: 8px 12px !important; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr !important; }
    .testimonial-card { padding: 20px 16px !important; }

    /* CTA / Bewerbung */
    .cta-card {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .cta-left h2 { font-size: 24px !important; }
    .cta-right { padding: 20px 16px !important; }
    .cta-checks { gap: 8px !important; flex-wrap: wrap !important; }

    /* Packages */
    .packages-grid { grid-template-columns: 1fr !important; }
    .package-card { padding: 24px 16px !important; }

    /* Section Header */
    .section-header { margin-bottom: 36px !important; }
    .section-header h2 { font-size: clamp(22px, 6vw, 32px) !important; }

    /* ---- Inline-Grid Overrides ---- */
    /* Alle 2-Spalten Grids in karriere.html → 1 Spalte */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* 4-Spalten Zahlen-Banner + Karrierestufen → 2x2 */
    [style*="grid-template-columns:repeat(4,1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    /* Karrierestufen Connector-Linie → weg */
    [style*="position:absolute;top:56px"],
    [style*="position: absolute; top: 56px"] {
        display: none !important;
    }

    /* Bilder-Höhe begrenzen */
    [style*="height:400px"] > img,
    [style*="height:420px"] > img,
    [style*="height:320px"] > img {
        height: 220px !important;
        object-fit: cover !important;
    }

    /* Team Bild */
    [style*="height:400px"],
    [style*="height:420px"],
    [style*="height:320px"] {
        height: auto !important;
    }

    /* iSFP Cross-Selling Bilder-Grid */
    [style*="grid-template-columns:1fr 1fr;gap:24px"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* =============================================
   RESPONSIVE – Kleines Smartphone ≤ 430px
   ============================================= */
@media (max-width: 430px) {

    html, body { overflow-x: hidden !important; }

    /* Hero */
    .hero-karriere { padding: 100px 12px 48px !important; }
    .hero-karriere h1 { font-size: 21px !important; letter-spacing: -0.8px !important; }
    .hero-sub { font-size: 13px !important; }
    .hiring-badge { font-size: 11px !important; padding: 6px 12px !important; }
    .hero-stat-value { font-size: 20px !important; }

    /* Sections */
    .section { padding: 40px 12px !important; }
    .container { padding: 0 12px !important; }

    /* Alle 4-Spalten → 2-Spalten */
    [style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* Alle 2-Spalten Inline Grids → 1 Spalte */
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Benefits */
    .benefit-card { padding: 16px 12px !important; }
    .benefits-grid { gap: 10px !important; }

    /* Process */
    .process-step { padding: 20px 12px !important; }

    /* CTA */
    .cta-left h2 { font-size: 20px !important; }
    .btn-apply { font-size: 14px !important; padding: 14px !important; }

    /* Footer */
    [style*="grid-template-columns:2fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
}

