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

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* Playfair Display */

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
/* DVAG Typografie-System */

:root {
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', Arial, sans-serif;

    --color-text: #1a1a1a;
    --color-brand-gold: #B68F3E;
    --color-brand-dark: #08111d;

    --h1-size: clamp(28px, 3vw, 38px);
    --h2-size: clamp(20px, 2.5vw, 23px);
    --h3-size: clamp(12px, 2vw, 18px);
}
html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: #fff;
    line-height: 1.6;
    font-size: var(--body-size);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-brand-dark);
}
h1 {
    font-size: var(--h1-size);
    line-height: 1.08;
    color: #B68F3E;
}

h2 {
    font-size: var(--h2-size);
    line-height: 1.15;
    color: #B68F3E;
}

h3 {
    font-size: var(--h3-size);
    color: #B68F3E;
    line-height: 1.2;
}

h4 {
    font-size: 18px;
    line-height: 1.3;
}
img {
    max-width: 100%;
    display: block;
}
.center-title {
    text-align: center;
}

/* TOPBAR */

.topbar {
    background: #ffffff;
    padding: 0;
}

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

.logo-box img {
    height: 150px;
}

.contact-box {
    text-align: left;
    font-size: 14px;
}
.application-text h3 {
    color: #B68F3E;
}

/* HERO */


.hero {
    position: relative;
    background: url('../grafik/hero.jpg') center/cover no-repeat;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    max-width: 520px;
    color: #fff;
}

.hero-text h1 {
    font-size: var(--h1-size);
    line-height: 1.08;
    margin-bottom: 22px;
    color: #fff;

    white-space: nowrap;
}

.hero-text h3 span {
    color: #c9a04c;
}

.hero-text p {
    margin-bottom: 25px;
    font-size: 18px;
}

.hero-text ul {
    list-style: none;
    margin-bottom: 35px;
}

.hero-text ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.hero-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #c9a04c;
}

.hero-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0);
    display: flex;
    gap: 18px;
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.hero-card-icon {
    font-size: 34px;
}

/* BUTTONS */

.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-block;
    background: #c9a04c;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-submit:hover {
    background: #a88237;
}

/* BENEFITS */

.benefits {
    padding: 35px 0;
}

.benefits h2,
.career-section h3,
.testimonials h2,
.application h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 42px;
}

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

.benefit-item {
    text-align: center;
}

.benefit-item img {
    width: 60px;
    margin: 0 auto 20px;
}

.benefit-item h3 {
    margin-bottom: 15px;
}

/* CAREER */

.career-section {
    background: #F0EDEA;
    padding: 50px 0;
}

.career-grid,
.application-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
}
.career-text ul,
.application-text ul {
    list-style: none;
    margin: 30px 0;
}

.career-text ul li,
.application-text ul li {
    margin-bottom: 14px;
    padding-left: 25px;
    position: relative;
}

.career-text ul li::before,
.application-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #c9a04c;
}

.career-image img {
    border-radius: 12px;
}

.career-section h3,
.testimonials h2 {
    white-space: nowrap;
    font-size: clamp(28px, 3vw, 52px);
}

/* TESTIMONIALS */

.testimonials {
    padding-top: 20px;
    padding-bottom: 40px;
}

.testimonials h2 {
    margin-bottom: 10px;
}

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

.testimonial-card {
    background: #EEDEBD;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-card p {
    margin-bottom: 20px;
}

.testimonial-card span {
    display: block;
    margin-top: 5px;
    color: #777;
}

/* APPLICATION / FORMULAR */

.application {
    padding-top: 50px;
    padding-bottom: 50px;
    background: #F0EDEA;
}

.application-grid {
    align-items: start;
    gap: 80px;
}

.application-text h3 {
    font-size: var(--h3-size);
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--color-brand-gold);
}
.application-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-full {
    width: 100%;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.application-form textarea {
    min-height: 140px;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox span {
    display: block;
    flex: 1;
    line-height: 1.5;
}

.checkbox a {
    color: #B68F3E;
    text-decoration: underline;
}

.g-recaptcha {
    margin-top: 10px;
    overflow: hidden;
    transform-origin: left top;
}

.btn-submit {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

/* FOOTER */

.footer {
    background: #08111d;
    color: #fff;
    padding-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 40px;
}

.footer-grid div {
    min-width: 120px;
}

.footer-logo {
    width: 180px;
}

.footer-name {
    white-space: nowrap;
}

.footer a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 32px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    width: 70%;
    max-width: 1200px;
    margin: auto;
    font-size: 14px;
}

/* TABLET + MOBILE */

@media (max-width: 992px) {

    .container {
        width: 92%;
    }

    .topbar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo-box img {
        height: 90px;
        margin: 0 auto;
    }

    .contact-box {
        text-align: center;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
        background-position: center top;
        background-size: cover;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-text {
        max-width: 100%;
        color: #fff;
    }

    .hero-text h1 {
        font-size: 34px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .hero-text ul {
        margin-bottom: 22px;
    }

    .hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 0 0;
        padding: 20px;
        display: flex;
        gap: 12px;
    }

    .hero-card h3 {
        font-size: 22px;
    }

    .hero-card p {
        font-size: 15px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .career-grid,
    .application-grid,
    .footer-grid,
    .benefit-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .application-grid {
        gap: 35px;
    }

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

    .application-form input,
    .application-form select,
    .application-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .checkbox {
        align-items: flex-start;
        font-size: 13px;
    }

    .checkbox input {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left top;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 90%;
    }
}

/* HERO MOBILE FIX */
@media (max-width: 600px) {

    .hero {
        min-height: auto;
        padding: 45px 0 55px;

        background-image: linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.55)
        ), url("../grafik/hero.jpg");

        background-size: cover;
        background-position: 58% center;
    }

    .hero-content {
        display: block;
    }

    .hero-text {
        max-width: 100%;
        color: #fff;
    }

    .hero-text h1 {
        font-size: 34px;
        line-height: 1.08;
        margin-bottom: 18px;
        max-width: 330px;
    }

    .hero-text p {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 20px;
        max-width: 330px;
    }

    .hero-text ul {
        margin-bottom: 22px;
    }

    .hero-text ul li {
        font-size: 15px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 22px 0;
        padding: 20px;
        display: flex;
        gap: 12px;
    }

    .hero-card h3 {
        font-size: 22px;
        line-height: 1.2;
    }

    .hero-card p {
        font-size: 15px;
        line-height: 1.45;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        font-size: 15px;
        padding: 14px 18px;
    }
}

@media (max-width: 768px) {
    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        white-space: normal;
        font-size: 32px;
    }
}

/* MOBILE TYPOGRAFIE FIX */
@media (max-width: 768px) {

    h1,
    h2,
    h3 {
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .benefits h2,
    .career-section h2,
    .career-section h3,
    .testimonials h2,
    .application h2,
    .application h3 {
        font-size: 34px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .benefit-item h3 {
        font-size: 30px;
        line-height: 1.2;
        margin-top: 12px;
        margin-bottom: 12px;
        color: #B68F3E;
    }

    .privacy-box h1,
    .box h1 {
        font-size: 34px;
        line-height: 1.1;
        white-space: normal;
    }

    .privacy-box h2,
    .box h2 {
        font-size: 26px;
        line-height: 1.15;
        white-space: normal;
    }
}

@media (max-width: 768px) {

    .career-section h3,
    .testimonials h2 {
        white-space: normal;
        font-size: 34px;
        line-height: 1.15;
    }

}

@media (max-width: 480px) {

    .benefits h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .benefit-item h3 {
        font-size: 28px;
        line-height: 1.2;
    }

    .box h1,
    .privacy-box h1 {
        font-size: 30px;
    }

    .box h2,
    .privacy-box h2 {
        font-size: 24px;
    }
}