@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'Roboto';
    font-weight: 700;
    src: url("../fonts/Roboto-Bold.ttf") format("truetype");
}

/* --- Grundlegende Stile & Resets --- */
:root {
    --primary-color: #ffffff;
    --secondary-color: #222222; /* Dunkleres Grau/Schwarz für Text & Buttons */
    --accent-color: #eb0a1e; /* Toyota Rot für Akzente */
    --text-color: #333;
    --light-gray-bg: #f8f8f8;
    --font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-size-base: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 300;
    font-size: var(--font-size-base);
}

h1, h2, h3, h4, b, strong {
    font-weight: 700;
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    line-height: 1.2;
}

h4 {
    font-size: 1.2em;
}

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

/* --- Navigation --- */
.main-nav {
    background-color: var(--primary-color);
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav .logo {
    display: block;
}

.main-nav .logo img {
    height: 60px;
    display: block;
}

.main-nav .logo span {
    color: var(--accent-color);
}


.g-icon {
    height: 30px;
    width: 30px;
}


/* --- Hero-Bereich --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/header-bild-gehrmann-stellenangebote.jpg') no-repeat center center/cover;
    height: 60vh;
    min-height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: var(--primary-color);
    position: relative;
    gap: 10vw;
    padding: 0 20px;
    gap: 100px;
}
@media screen and (max-width: 500px) {
    .hero {
        min-height: 400px;
        align-items: start;
    }
}
.hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0;
    font-weight: 300;
}

.hero-spacer {
    width: 500px;
    flex-shrink: 0;
}
@media screen and (max-width: 1000px) {
    .hero-spacer {
        display: none;
    }
}

/* ... (Rest der Stile bleibt gleich) ... */

#applicationForm {
    position: absolute;
    right: 6.5vw;
    bottom: 240px;
    width: 500px;
    background-color: #fff;
    color: var(--text-color);
    text-align: left;
    padding: 20px;
    font-size: calc(var(--font-size-base) - 2px);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    height: max-content;
    scroll-margin: 100px;
}
@media screen and (max-width: 1000px) {
    #applicationForm {
        position: relative;
        transform: none;
        right: 0;
        bottom: 120px;
        width: 100%;
    }
    .section-application {
        margin-bottom: -120px;
    }
}

#applicationFormHeadline {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-color);
}

#applicationForm #formContent {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#applicationForm .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#applicationForm .form-group label {
    font-weight: 600;
}
#applicationForm .form-group-last {
    margin-bottom: 10px;
}

#applicationForm .form-grid-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
@media screen and (max-width: 1000px) {
    #applicationForm .form-grid-group {
        grid-template-columns: 1fr;
    }
}

#applicationForm .form-grid-group .form-group {
    width: 100%;
}

#applicationForm input[type="text"],
#applicationForm input[type="email"],
#applicationForm select,
#applicationForm textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    background-color: transparent;
    border-radius: 0;
    font-family: var(--font-family);
    font-size: calc(var(--font-size-base) - 2px);
    transition: all 0.2s ease;
    resize: none;
}

#applicationForm input:focus,
#applicationForm textarea:focus {
    border-color: var(--accent-color);
    transition: all 0.2s ease;
    outline: none;
}

.file-upload-zone {
    border: 2px dashed #e2e8f0;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 10px;
}
.file-upload-zone:hover {
    background-color: #f2f2f2;
    border-color: var(--accent-color);
    cursor: pointer;
}
.file-upload-zone #fileInfo {
    text-align: center;
    font-size: calc(var(--font-size-base) - 2px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 10px;
}
.file-upload-zone .file-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.file-upload-zone .file-info {
    font-weight: 400;
    font-style: italic;
    font-size: calc(var(--font-size-base) - 4px);
}


#submitBtn {
    font-family: var(--font-family);
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px;
    font-size: calc(var(--font-size-base));
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
#submitBtn:hover {
    background-color: #c0071a;
}

.hidden {
    display: none;
}

.text-red {
    color: var(--accent-color);
}

.hinweis-datenschutz {
    font-size: 0.9rem;
    line-height: 1.35;
    color: #666;
    text-align: center;
}
.hinweis-datenschutz a {
    color: var(--accent-color);
    text-decoration: none;
}



/* --- Sektion: Benefits --- */
.benefits-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 20px;
}

.benefit-item .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.benefit-item h4 {
    margin: 10px 0;
}

/* --- Sektion: Stellenangebote --- */
.jobs-section {
    padding: 60px 0;
    background-color: var(--light-gray-bg);
}

.job-card {
    background-color: var(--primary-color);
    border-radius: 0;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.job-card h3 {
    font-size: 1.8rem;
    margin-top: 0;
}

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

.job-details h4 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.job-details ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.job-details li {
        margin-bottom: 10px;
        padding-left: 25px;
        position: relative;
}

.job-details li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    text-align: center;
    margin-top: 30px;
    align-self: flex-start;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    opacity: 0.8;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 40px 0;
    border-top: 4px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
        color: var(--primary-color);
        font-weight: 700;
        margin-bottom: 15px;
}

.footer-section p, .footer-section a {
        color: #ccc;
        text-decoration: none;
        font-weight: 300;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .job-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-content .footer-section {
            width: 100%;
            margin-bottom: 20px;
    }
}
