@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin_latin-ext_symbols-300.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin_latin-ext_symbols-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin_latin-ext_symbols-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin_latin-ext_symbols-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin_latin-ext_symbols-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin_latin-ext_symbols-800.woff2') format('woff2');
}

:root {
    --primary: #007cbf;
    --primary-dark: #003d73;
    --accent: #fff;
    --accent-dark: #ddd;
    --white: #FFFFFF;
    --text: #333333;
    --light-bg: #F4F7F9;
    --error: #e74c3c;
    --grey: #666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

ul {
    margin-bottom: 0.5rem;
    
    li {
        margin-left: 1.5rem;
    } 
}

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

#hp_field {
    display: none !important;
    visibility: hidden !important;
    position: absolute;
    left: -9999px;
    z-index: -1;
}

/* HEADER */
.minimal-header {
    padding: 15px 0;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.main-logo {
    width: 200px; /* Deine Vorgabe */
    height: auto;
    display: block;
}

.tagline {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* HERO SECTION */
.hero {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 84, 159, 0.85), rgba(0, 61, 115, 0.9)),
                url('../img/hero-teaser.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 35px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 20px 45px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background-color: var(--accent-dark);
}

/* TRUST SECTION */
.trust-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.trust-section .icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 15px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.icon-stability {
    background-image: url("../img/stabilitaet.svg");
}

.icon-prestige {
    background-image: url("../img/prestige.svg");
}

.icon-campus {
    background-image: url("../img/arbeitswelt.svg");
}

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

.fact-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.process-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 30px 0 0 0;
}

.step-circle {
    width: 65px;
    height: 65px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
    font-size: 1.6rem;
}

/* APPLY SECTION GRID */
.apply-section {
    padding: 80px 0;
    background: #fff;
}

.grid-apply {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.portrait img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.role {
    font-weight: 700;
    color: var(--primary);
}

.quote {
    font-style: italic;
    color: #555;
    margin: 20px 0;
    font-size: 1rem;
}

.benefit-item {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FORMULAR STYLING */
.form-wrapper {
    background: var(--white);
    
    h2 {
        margin-bottom: 5px;
        line-height: 1.4;
    }
}

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

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

input, select, textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #eef1f4;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}
    
input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
}

input:required:invalid:focus {
    border-color: var(--error);
}

input:placeholder-shown,
select:placeholder-shown {
    border-color: var(--primary);
}

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

.file-upload-text {
    display: block; 
    margin-bottom: 5px; 
    color: var(--grey);    
}

.input-file {
    padding: 10px !important;
    background: #f8f9fa;
    border: 2px dashed #eef1f4 !important;
    cursor: pointer;
}
.input-file:hover {
    border-color: var(--primary) !important;
}

input[type="checkbox"] {
    padding-left: 5px;
    cursor: pointer;
    accent-color: var(--primary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 22px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    
    margin-top: 0.5rem;
}

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

a:link, a:visited, a:active {
  color: var(--primary-dark);
}

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

.form-footer {
    margin-top: 25px;
    text-align: center;
}

.footer {
    background: #1a1a1a;
    color: #888;
    padding: 20px 0;
    text-align: center;
    
    .footer-links { 
        margin-top: 10px; 

        a {
            color: #888;
            text-decoration: none;
            margin: 0 15px;
            font-size: 0.85rem;
            
            &:hover { 
                color: #fff; 
            }            
        }  
    }
}


@media (max-width: 850px) {
    .grid-apply { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .main-logo { width: 160px; }
    .header-flex { flex-direction: column; gap: 10px; text-align: center; }
}

.thanks-wrapper {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.success-header {
    margin-bottom: 40px;
    h1 {
        color: var(--primary);
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
}

.contact {
    background: #eef2f6;
    padding: 40px;
    text-align: center;
    img {
        width: 140px;
        height: auto;
        border-radius: 50%;
        border: 5px solid white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}

.info-side {
    padding: 40px;
    background: white;
}

.next-steps-list {
    list-style: none;
    margin: 20px 0;
    li {
        margin-bottom: 15px;
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }
}

.step-num {
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 3px;
}

.main-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.extra-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.job-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;   
}

@media (max-width: 768px) {
    .main-card, .extra-links {
        grid-template-columns: 1fr;
    }
}

.link-box {
    padding: 25px;
    border: 2px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    &:hover {
        border-color: var(--primary);
    }
    strong {
        display: block;
        color: var(--primary);
        margin-bottom: 5px;
    }
}

.back-button-container {
    margin-top: 50px;
}

.btn-back {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    &:hover {
        background: var(--primary-dark);
    }
}

.back-container {
    margin-top: 50px;

    a {
        display: inline-block;
        padding: 14px 28px;
        background: var(--primary);
        color: white;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 700;
    }
}

.info-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.info-section .grid-2 {
    display: grid;
    _grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-block h3 {
    color: #007cbf;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.info-block h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #007cbf;
    margin-top: 8px;
}

.info-block p {
    line-height: 1.7;
    color: #444;
    font-size: 1rem;
    text-align: justify;
}

@media (max-width: 768px) {
    .info-section .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-section {
        padding: 40px 20px;
    }
}