/* ==========================
   RESET
========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================
   VARIABLES
========================== */

:root {
    --primary: #0D5ACD;
    --primary-dark: #0948a5;
    --primary-light: rgba(13, 90, 205, .08);

    --text: #1f2937;
    --text-light: #6b7280;

    --white: #ffffff;
    --bg: #f8fafc;
    --border: #e5e7eb;
    --success: #16a34a;

    --shadow: 0 10px 40px rgba(0, 0, 0, .08);
    --radius: 20px;
    --container: 1280px;
}

/* ==========================
   GLOBAL
========================== */

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span,
.hero-tag,
.page-tag,
.service-label,
.about-text span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2,
.about-text h2,
.service-content h2,
.cta-box h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 30px;
    border-radius: 12px;
    border: none;

    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(13, 90, 205, .35);
    outline-offset: 3px;
}

/* ==========================
   HEADER
========================== */

.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.header-container {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}

.logo-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.logo-text h2 {
    color: var(--text);
    font-size: 22px;
}

.logo-text span {
    color: var(--text-light);
    font-size: 13px;
}

.logo-text .logo-name {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}


.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--primary);
    transition: .3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-phone {
    display: flex;
    flex-direction: column;
}

.header-phone small {
    color: var(--text-light);
}

.header-phone a {
    color: var(--text);
    font-weight: 700;
}

/* ==========================
   MOBILE MENU
========================== */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;

    background: #000;
    margin: 5px 0;

    transition: .3s ease;
}

.mobile-menu {
    display: none;
}

/* ==========================
   HERO
========================== */

.hero {
    background: #f8fbff;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    margin: 20px 0;
}

.hero p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    overflow: hidden;
    border-radius: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;

    border-radius: 30px;
    box-shadow: var(--shadow);

    object-fit: cover;
    transition: transform .5s ease;
}

/* ==========================
   FEATURES
========================== */

.features {
    background: var(--white);
    padding: 50px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    text-align: center;
    padding: 30px;

    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid rgba(229, 231, 235, .8);

    transition: .3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-item i {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 15px;

    transition: .3s ease;
}

.feature-item:hover i {
    transform: scale(1.08);
}

/* ==========================
   SERVICES PREVIEW
========================== */

.services-preview {
    background: var(--bg);
}

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

.service-card {
    background: var(--white);
    padding: 35px;

    border-radius: var(--radius);
    border: 1px solid rgba(229, 231, 235, .8);
    box-shadow: var(--shadow);

    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(13, 90, 205, .1);
    border-radius: 18px;

    color: var(--primary);
    font-size: 28px;

    margin-bottom: 25px;
    transition: .3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary);
    font-weight: 600;
}

.service-card a:hover {
    color: var(--primary-dark);
}

/* ==========================
   ABOUT PREVIEW / SHARED ABOUT GRID
========================== */

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

.about-image {
    overflow: hidden;
    border-radius: 25px;
}

.about-image img {
    width: 100%;
    height: auto;

    border-radius: 25px;
    object-fit: cover;

    transition: transform .5s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-text h2 {
    margin: 15px 0 25px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ==========================
   STATS
========================== */

.stats {
    background: var(--primary);
    color: var(--white);
}

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

.stat-item {
    padding: 20px;
    border-radius: 18px;
    transition: transform .3s ease, background-color .3s ease;
}

.stat-item:hover,
.stat-item:focus-within {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
}

.stat-item h3 {
    font-size: 50px;
}

.stat-item p {
    opacity: .9;
}

/* ==========================
   TESTIMONIALS
========================== */

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

.testimonial-card {
    background: var(--white);
    padding: 35px;

    border-radius: var(--radius);
    border: 1px solid rgba(229, 231, 235, .8);
    box-shadow: var(--shadow);
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 20px;
}

.testimonial-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ==========================
   CTA
========================== */

.cta-box {
    background: var(--primary);
    color: var(--white);

    padding: 80px;
    border-radius: 30px;

    text-align: center;
}

.cta-box h2 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 1500px;
    margin: 0 auto 35px;
    text-align: center;
    color: rgba(255, 255, 255, .95);
}

.cta-box .btn {
    background: var(--white);
    color: var(--primary);
}

.cta-box .btn:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
}

/* ==========================
   FOOTER
========================== */

.site-footer {
    background: #0f172a;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding: 80px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 20px;
    color: inherit;
}

.footer-logo:hover {
    opacity: .9;
}

.footer-logo-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.footer-logo-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p,
.footer-column a {
    color: #cbd5e1;
}

.footer-column a:hover,
.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-contact a {
    color: #cbd5e1;
    transition: .3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* ==========================
   PAGE HERO
========================== */

.page-hero {
    background: #f8fbff;
    text-align: center;
    padding: 120px 0;
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
    margin: 20px 0;
}

.page-hero p {
    max-width: 700px;
    margin: auto;

    color: var(--text-light);
    font-size: 18px;
}

.application-position-note {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    margin-top: 22px !important;
    padding: 12px 18px;
    border: 1px solid rgba(13, 90, 205, .18);
    border-radius: 999px;
    background: rgba(13, 90, 205, .08);
    color: var(--text);
    font-size: 16px !important;
}

.application-position-note span {
    color: var(--text-light);
}

.application-position-note strong {
    color: var(--primary);
    font-weight: 800;
}

/* ==========================
   SERVICES PAGE
========================== */

.service-section {
    padding: 100px 0;
}

.alt-bg {
    background: #f8fafc;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-content h2 {
    margin: 15px 0 25px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.service-image {
    overflow: hidden;
    border-radius: 24px;
}

.service-image img {
    width: 100%;
    height: auto;

    border-radius: 24px;
    box-shadow: var(--shadow);

    object-fit: cover;
    transition: transform .5s ease;
}

.service-image:hover img {
    transform: scale(1.04);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-list i {
    color: var(--success);
}

/* ==========================
   ABOUT PAGE
========================== */

.about-story {
    background: var(--white);
}

.values-section {
    background: var(--bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 35px;

    border-radius: 20px;
    border: 1px solid rgba(229, 231, 235, .8);
    box-shadow: var(--shadow);

    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.value-card:hover,
.value-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    border-color: rgba(0, 86, 179, .18);
}

.value-card i,
.value-card .site-icon {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;

    transition: transform .3s ease;
}

.value-card:hover i,
.value-card:hover .site-icon,
.value-card:focus-within i,
.value-card:focus-within .site-icon {
    transform: scale(1.08);
}

.value-card h3 {
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
}

.team-section {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);

    border-radius: 20px;
    border: 1px solid rgba(229, 231, 235, .8);
    box-shadow: var(--shadow);

    overflow: hidden;
    transition: .3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info p {
    color: var(--text-light);
}

/* ==========================
   CAREERS PAGE
========================== */

.career-benefits {
    background: var(--bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 35px;

    border-radius: 20px;
    border: 1px solid rgba(229, 231, 235, .8);
    box-shadow: var(--shadow);

    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.benefit-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;

    transition: .3s ease;
}

.benefit-card:hover i {
    transform: scale(1.08);
}

.benefit-card h3 {
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-light);
}

.jobs-section {
    background: var(--white);
}

.job-card {
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);

    overflow: hidden;
    margin-bottom: 20px;
}

.job-header {
    padding: 25px 30px;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.job-header h3 {
    margin-bottom: 5px;
}

.job-header span {
    color: var(--text-light);
}

.job-header i {
    color: var(--primary);
    transition: .3s ease;
}

.job-card.active .job-header i {
    transform: none;
}

.job-content {
    max-height: 0;
    overflow: hidden;

    padding: 0 30px;
    color: var(--text);

    transition: max-height .4s ease;
}

.job-card.active .job-content {
    padding: 0 30px 30px;
}

.job-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.job-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style: disc;
}

.job-content .btn {
    margin-top: 20px;
}

/* ==========================
   CONTACT PAGE
========================== */

.contact-section {
    background: var(--white);
    padding: 70px 0;
}

.contact-wrapper {
    max-width: 1050px;
}

.contact-intro {
    max-width: 560px;
    margin-bottom: 30px;
}

.contact-intro h2 {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 15px;
}

.contact-intro p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 45px;
    align-items: start;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;

    padding: 22px 24px;

    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;

    transition: .3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 18px;
    color: var(--primary);
    margin-top: 4px;
    min-width: 22px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-item a {
    color: var(--text-light);
    transition: .3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Contact Form */

.contact-form {
    background: var(--bg);

    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--white);

    font-family: inherit;
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 90, 205, .12);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Datenschutz Checkbox */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 18px 0;
    padding: 14px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;

    margin-top: 4px;

    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox label {
    flex: 1;

    color: var(--text-light);
    font-size: 14px;
    line-height: 1.55;

    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary);
    font-weight: 700;
}

.form-checkbox a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Cloudflare Turnstile */

.cf-turnstile {
    display: flex;
    justify-content: center;

    min-height: 65px;
    margin: 20px 0;
}

/* Submit Button */

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Status Messages */

.success-message {
    background: #dcfce7;
    color: #166534;

    padding: 15px 20px;
    margin-bottom: 25px;

    border: 1px solid #86efac;
    border-radius: 12px;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;

    padding: 15px 20px;
    margin-bottom: 25px;

    border: 1px solid #fca5a5;
    border-radius: 12px;
}

/* Honeypot Field */

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================
   MAP SECTION
========================== */

.map-section {
    background: var(--white);
    padding-top: 0;
}

.map-section iframe {
    width: 100%;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==========================
   LEGAL PAGES
========================== */

.legal-section {
    background: var(--white);
    padding: 80px 0;
}

.legal-content {
    max-width: 900px;
}

.legal-content h2 {
    font-size: 26px;
    margin: 35px 0 15px;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 18px;
}

.legal-content a {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1100px) {

    .hero-content,
    .about-grid,
    .services-grid,
    .testimonial-grid,
    .footer-grid,
    .stats-grid,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 992px) {

    .values-grid,
    .team-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        max-width: 760px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    body {
        line-height: 1.65;
    }

    .container {
        width: 92%;
    }

    section {
        padding: 60px 0;
    }

    .header-container {
        height: 78px;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
    }

    .logo-icon img {
        width: 48px;
        height: 48px;
    }

    .logo-text h2 {
        font-size: 19px;
    }

    .logo-text span {
        font-size: 12px;
    }

    .header-actions,
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        z-index: 998;

        max-height: 0;
        overflow: hidden;

        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

        padding: 0 5%;

        transition: max-height .35s ease, padding .35s ease;
    }

    .mobile-menu.active {
        max-height: 420px;
        padding: 25px 5%;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        gap: 18px;

        margin-bottom: 25px;
    }

    .mobile-menu ul a {
        color: var(--text);
        font-weight: 600;
    }

    .mobile-menu .mobile-cta {
        width: 100%;
        color: var(--white);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content,
    .about-grid,
    .services-grid,
    .testimonial-grid,
    .stats-grid,
    .feature-grid,
    .footer-grid,
    .service-layout,
    .values-grid,
    .team-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 45px;
    }

    .hero p,
    .page-hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .page-hero {
        padding: 80px 0;
    }

    .feature-item,
    .service-card,
    .testimonial-card,
    .value-card,
    .benefit-card {
        padding: 28px;
    }

    .service-section {
        padding: 70px 0;
    }

    .service-layout {
        gap: 45px;
    }

    .service-list li {
        align-items: flex-start;
    }

    .cta-box {
        padding: 50px 25px;
        border-radius: 22px;
    }

    .footer-grid {
        gap: 35px;
        padding: 60px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-card img {
        height: 280px;
    }

    .job-header {
        padding: 22px;
    }

    .job-card.active .job-content {
        padding: 0 22px 28px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-intro h2,
    .contact-form h2 {
        font-size: 30px;
    }

    .contact-form {
        padding: 28px;
    }

    .form-checkbox {
        padding: 12px;
    }

    .form-checkbox label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    .btn {
        padding: 13px 22px;
        font-size: 15px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .stat-item h3 {
        font-size: 42px;
    }

    .team-card img {
        height: 240px;
    }
}
/* ==========================
   APPLICATION PAGE
========================== */

.application-section {
    background: var(--white);
    padding: 80px 0;
}

.application-wrapper {
    max-width: 850px;
}

.application-card {
    background: var(--bg);

    padding: 45px;

    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.application-card h2 {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.application-intro {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.upload-box {
    background: var(--white);

    padding: 24px;
    margin: 24px 0;

    border: 1px solid var(--border);
    border-radius: 16px;
}

.upload-box h3 {
    margin-bottom: 8px;
}

.upload-box p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.form-group input[type="file"] {
    padding: 12px;
    background: var(--white);
    cursor: pointer;
}

@media (max-width: 768px) {

    .application-section {
        padding: 60px 0;
    }

    .application-card {
        padding: 28px;
    }

    .application-card h2 {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .upload-box {
        padding: 18px;
    }

}

/* ==========================
   LAUNCH HARDENING, ACCESSIBILITY & CONSENT
========================== */

[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.menu-open,
body.consent-open { overflow: hidden; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 3000;
    padding: 12px 16px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

main:focus { outline: none; }

.site-icon {
    width: 1.25em;
    height: 1.25em;
    flex: 0 0 auto;
    vertical-align: -0.2em;
}
.feature-item .site-icon,
.benefit-card .site-icon,
.value-card .site-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 18px;
}
.service-icon .site-icon { width: 34px; height: 34px; }
.service-list .site-icon { color: var(--success); width: 21px; height: 21px; }
.contact-item .site-icon { color: var(--primary); width: 22px; height: 22px; margin-top: 3px; }
.footer-contact .site-icon { width: 19px; height: 19px; color: #93c5fd; }

.logo-name {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

.footer-logo-name {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}
.footer-heading {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
}

.main-nav a.active,
.mobile-menu a.active { color: var(--primary); }

.btn,
.mobile-menu-btn,
.footer-link-button,
.icon-button,
.toast-close,
.job-header { min-height: 44px; }

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group input[type="file"]:focus-visible,
.form-checkbox input:focus-visible {
    outline: 3px solid rgba(13, 90, 205, .38);
    outline-offset: 3px;
    border-color: var(--primary);
}

.form-checkbox input[type="checkbox"] { width: 20px; height: 20px; }

#contact-form,
#application-form,
.job-card { scroll-margin-top: 120px; }

.job-heading {
    margin: 0;
    font: inherit;
}
.job-header {
    width: 100%;
    border: 0;
    background: #fff;
    color: var(--text);
    text-align: left;
    font: inherit;
}
.job-header:hover { background: #f8fbff; }
.job-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.job-title { color: var(--text) !important; font-size: 20px; font-weight: 700; line-height: 1.3; }
.job-employment { color: var(--text-light) !important; }
.accordion-icon { color: var(--primary) !important; font-size: 30px; line-height: 1; }
.job-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    opacity: 0;
    visibility: hidden;
    transition: max-height .38s ease, padding .38s ease, opacity .25s ease, visibility .25s ease;
}
.job-card.is-open .job-content,
.job-toggle[aria-expanded="true"] + .job-content {
    max-height: 1250px;
    padding: 0 30px 30px;
    opacity: 1;
    visibility: visible;
}
.job-card.is-open .job-header {
    background: #f8fbff;
}
.job-date { color: var(--text-light); font-size: 14px; margin-top: 2px; }

.form-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2600;
    width: min(430px, calc(100vw - 32px));
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 18px 18px 20px;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .24);
    transform: translateY(140%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}
.form-toast.is-visible { transform: translateY(0); opacity: 1; }
.form-toast p { margin: 3px 0 0; line-height: 1.5; }
.form-toast-success { background: #ecfdf3; color: #14532d; border: 1px solid #86efac; }
.form-toast-error { background: #fff1f2; color: #881337; border: 1px solid #fda4af; }
.toast-close,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.toast-close:hover,
.icon-button:hover { background: rgba(15, 23, 42, .08); }

.privacy-map {
    min-height: 420px;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}
.map-placeholder-inner {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 48px 24px;
}
.map-placeholder-inner h2 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 38px); }
.map-placeholder-inner p { max-width: 680px; color: var(--text-light); }
.map-kicker { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.privacy-map-frame { display: block; width: 100%; min-height: 450px; border: 0; }

.footer-link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #cbd5e1;
    font: inherit;
    cursor: pointer;
}
.footer-link-button:hover { color: var(--primary); }

.consent-banner {
    position: fixed;
    inset: 0;
    z-index: 2800;
    display: grid;
    place-items: end center;
    padding: 20px;
    background: rgba(15, 23, 42, .62);
}
.consent-card {
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    color: var(--text);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.consent-main { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.consent-card h2 { margin: 7px 0 10px; line-height: 1.2; }
.consent-card p { color: var(--text-light); }
.consent-kicker { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.consent-links { margin-top: 8px; }
.consent-links a { color: var(--primary); font-weight: 700; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions-right { justify-content: flex-end; margin-top: 22px; }
.consent-preferences-header { display: flex; justify-content: space-between; gap: 20px; }
.consent-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.switch-label { display: flex; align-items: center; gap: 9px; font-weight: 650; cursor: pointer; }
.switch-label input { width: 22px; height: 22px; }

@media (max-width: 768px) {
    .consent-main { grid-template-columns: 1fr; }
    .consent-actions .btn { width: 100%; }
    .consent-option { grid-template-columns: 1fr; }
    .map-actions { flex-direction: column; width: 100%; }
    .map-actions .btn { width: 100%; }
    .form-toast { right: 16px; bottom: 16px; }
    .job-header { padding: 22px; }
    .job-content { padding: 0 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Individual job detail pages */
.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.job-detail-section { background: var(--bg); }
.job-detail-wrapper { max-width: 920px; }
.back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 700;
}
.job-detail-card {
    padding: clamp(26px, 5vw, 52px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.job-detail-card > p { color: var(--text-light); margin-bottom: 28px; }
.job-detail-card h2 { margin: 34px 0 14px; font-size: clamp(24px, 3vw, 31px); }
.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}
.job-meta-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 17px;
    border-radius: 14px;
    background: var(--primary-light);
}
.job-meta-grid span,
.job-meta-grid time { color: var(--text-light); }
.job-detail-list {
    display: grid;
    gap: 10px;
    list-style: none;
}
.job-detail-list li {
    position: relative;
    padding-left: 28px;
}
.job-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0f7a37;
    font-weight: 800;
}
.job-detail-cta {
    margin-top: 42px;
    padding: 28px;
    border-radius: 18px;
    background: #eff6ff;
}
.job-detail-cta h2 { margin-top: 0; }
.job-detail-cta p { margin-bottom: 20px; color: var(--text-light); }

@media (max-width: 700px) {
    .job-meta-grid { grid-template-columns: 1fr; }
    .job-actions .btn { width: 100%; }
}
