/* --- DESIGN SYSTEM --- */
:root {
    --bg-body: #F8F9FC;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-card: #FFFFFF;

    --border-light: rgba(0, 0, 0, 0.06);
    --border-blueish: rgba(0, 113, 227, 0.15);

    --text-main: #1D1D1F;
    --text-muted: #6E6E73;
    --accent-blue: #0071E3;

    --accent-gradient: linear-gradient(135deg, #0071E3 0%, #00C6FB 100%);
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.05);

    --font-stack: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, sans-serif;
    --radius-xl: 26px;
    /* Einheitlicher Radius für Karten */
    --radius-pill: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- GLOBAL LAYOUT & TYPOGRAPHY --- */

/* Hier wird der einheitliche Abstand geregelt */
section {
    padding: 100px 24px;
    /* Standard-Abstand für ALLE Sektionen */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

/* Einheitliche Überschriften */
h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

/* --- ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* --- NAV --- */
nav {
    position: sticky;
    top: 20px;
    margin: 0 auto;
    width: 90%;
    max-width: 1080px;
    z-index: 2000;
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 8px 24px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
    text-decoration: none;
    z-index: 2001;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-btn {
    background: var(--accent-blue);
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-btn:hover {
    transform: scale(1.04);
}

/* --- HERO (Ausnahme für Spacing) --- */
.hero {
    padding-top: 140px;
    /* Mehr Platz oben wegen Navbar */
    padding-bottom: 80px;
    max-width: 1000px;
    text-align: center;
}

.glow-bg {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.15);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

.pill-badge span {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
}

h1 {
    font-size: 72px;
    line-height: 1.08;
    font-weight: 750;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #1D1D1F 20%, #4a4a4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtext {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-glow {
    background: var(--accent-gradient);
    color: white;
    padding: 16px 38px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.25);
    transition: 0.3s;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.35);
}

.btn-outline {
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 16px 38px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* --- DASHBOARD PREVIEW --- */
.dashboard-preview {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
    /* Padding unten angepasst */
}

.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    border-radius: 32px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-number {
    font-size: 90px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -3px;
}

.stat-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- INDUSTRY GRID --- */
/* Diese Sektion ist kleiner, daher weniger Padding OK, aber wir machen es konsistent */
.industry-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.industry-tag {
    background: white;
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

.industry-tag:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- SERVICES (BENTO GRID) --- */
.section-title {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: var(--radius-xl);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--text-main);
}

.card p {
    font-size: 16px;
    line-height: 1.6;
}

/* --- ONBOARDING (STEPS) --- */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.step-number-large {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    margin-bottom: 20px;
    line-height: 1;
    display: inline-block;
}

/* --- KARRIERE SEKTION (SPLIT) --- */
.career-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.career-split-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.benefits-grid-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: 0.3s;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.benefit-card h4 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.benefit-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.apply-card-tall {
    background: linear-gradient(135deg, #0071E3 0%, #00C6FB 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.25);
    position: sticky;
    top: 100px;
}

.apply-card-tall h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 800;
    color: white;
}

.apply-card-tall p {
    color: rgba(255, 255, 255, 0.9);
}

.job-tags-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.job-tag-white {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 250px;
}

.apply-btn-white {
    background: white;
    color: var(--accent-blue);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.apply-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

/* --- ÜBER UNS (KANZLEI) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 14px;
}

.values-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-xl);
    transition: 0.3s;
    border: 1px solid var(--border-light);
}

.value-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.value-card.highlight {
    background: var(--accent-gradient);
    color: white;
    grid-column: span 2;
    border: none;
    border-radius: 32px;
}

.value-card.highlight h3 {
    color: white;
}

.value-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- PARTNER NETZWERK --- */
.network-section {
    text-align: center;
}

/* --- KONTAKT --- */
.contact-section {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: white;
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: var(--radius-xl);
    transition: 0.3s;
    box-sizing: border-box;
}

.contact-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

/* --- FOOTER --- */
footer {
    padding: 60px 24px;
    text-align: center;
    background: var(--bg-body);
    border-top: 1px solid var(--border-light);
    margin-top: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* --- MOBILE MENU & RESPONSIVE --- */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2002;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.open span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.open span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    margin: 15px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s ease;
}

.mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {

    /* Grid Umbruch bei Tablets */
    .career-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .apply-card-tall {
        max-width: 500px;
        margin: 0 auto;
        position: relative;
        top: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 16px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 34px;
    }

    /* Überschriften mobil etwas kleiner */
    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }

    /* Sektionen mobil etwas kompakter */
    section {
        padding: 80px 24px;
    }

    .benefits-grid-left {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 60px;
    }

    .glass-panel {
        padding: 40px 24px;
    }
}