/* =========================================================
   Speichere ab hier alles separat als: css/style.css
   In die index.php gehört nur der PHP/HTML-Teil darüber.
   ========================================================= */

:root {
    --yellow: #ffc400;
    --yellow-dark: #d9a800;
    --black: #05080c;
    --dark: #0b1016;
    --gray: #4e5359;
    --light-gray: #ececec;
    --text: #111319;
    --muted: #555b64;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HERO */
.hero {
    width: 100%;
    height: 560px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.15) 100%),
        linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.20) 65%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}

/* NAV */
.main-nav {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 78px;
    margin: 0;
    padding: 0 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(3, 7, 11, .94);
    border-top: 2px solid var(--yellow);
    border-bottom: 1px solid var(--yellow-dark);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.main-nav::before,
.main-nav::after {
    content: "";
    position: absolute;
    top: 0;
    width: 64px;
    height: 100%;
    background: linear-gradient(135deg, transparent 0 46%, rgba(255,196,0,.9) 47%, transparent 50%);
    opacity: .65;
}

.main-nav::before { left: 0; }
.main-nav::after { right: 0; transform: scaleX(-1); }

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 260px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-diamond {
    width: 20px;
    height: 20px;
    display: block;
    background: var(--yellow);
    transform: rotate(45deg);
    box-shadow: 0 0 18px rgba(255,196,0,.5);
}

.brand strong {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.brand small {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 800;
    color: var(--yellow);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 34px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-menu a {
    position: relative;
    opacity: .92;
    transition: .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--yellow);
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    height: 4px;
    background: var(--yellow);
}

.nav-icons {
    display: flex;
    gap: 24px;
    color: var(--yellow);
    font-size: 18px;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 80px));
    margin: 112px auto 0;
}

.hazard-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 5px 18px;
    color: #111;
    background: repeating-linear-gradient(
        135deg,
        var(--yellow) 0 17px,
        var(--yellow) 17px 20px,
        var(--gray) 20px 31px,
        var(--gray) 31px 34px
    );
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.hazard-badge.compact {
    min-width: 220px;
    justify-content: center;
    padding: 7px 18px;
}

.hero-content h1 {
    margin: 22px 0 14px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .95;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 8px 26px rgba(0,0,0,.72);
}

.hero-content p {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,.92);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 15px 28px;
    background: var(--yellow);
    color: #111;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .7px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255,196,0,.28);
}

.cta-button span {
    font-size: 24px;
    line-height: 0;
}

/* INTRO */
.mission-intro {
    padding: 38px 24px 28px;
    text-align: center;
    background: #fff;
}

.section-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
}

.section-lines > span:not(.hazard-badge) {
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,196,0,.7), transparent);
}

.mission-intro h2 {
    margin: 14px 0 0;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.yellow-underline {
    width: 78px;
    height: 4px;
    margin: 16px auto 0;
    background: var(--yellow);
}

/* FEATURE BOXES */
.feature-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 64px;
}

.feature-row {
    width: 100%;
    min-height: 118px;
    margin: 18px 0;
    display: grid;
    grid-template-columns: 420px 1fr 110px;
    align-items: stretch;
    background: #f7f7f7;
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
    border: 1px solid #d8d8d8;
    border-right: 4px solid var(--yellow);
    position: relative;
    overflow: hidden;
}

.feature-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 420px;
    right: 110px;
    height: 14px;
    background: repeating-linear-gradient(
        135deg,
        var(--yellow) 0 18px,
        var(--yellow) 18px 22px,
        var(--gray) 22px 35px,
        var(--gray) 35px 39px
    );
    z-index: 3;
}

.feature-row::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0, rgba(255,255,255,.72) 52%, transparent 100%);
}

.feature-img {
    min-height: 118px;
    background: #111;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
    position: relative;
    z-index: 2;
}

.feature-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.feature-row:hover .feature-img img {
    transform: scale(1.06);
}

.feature-body {
    position: relative;
    z-index: 2;
    padding: 30px 34px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-kicker {
    margin-bottom: 6px;
    color: var(--yellow-dark);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.feature-body h3 {
    margin: 0 0 8px;
    font-size: 27px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-body p {
    max-width: 620px;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #181c22;
}

.feature-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #101010;
    color: var(--yellow);
    font-size: 42px;
    border-left: 1px solid rgba(0,0,0,.18);
}

.feature-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: repeating-linear-gradient(
        135deg,
        var(--yellow) 0 14px,
        var(--gray) 14px 28px
    );
}

.feature-row.image-right {
    grid-template-columns: 110px 1fr 420px;
    border-right: 1px solid #d8d8d8;
    border-left: 4px solid var(--yellow);
}

.feature-row.image-right .feature-icon {
    grid-column: 1;
    grid-row: 1;
    border-left: none;
    border-right: 1px solid rgba(0,0,0,.18);
}

.feature-row.image-right .feature-body {
    grid-column: 2;
    grid-row: 1;
}

.feature-row.image-right .feature-img {
    grid-column: 3;
    grid-row: 1;
    clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
}

.feature-row.image-right::before {
    left: 110px;
    right: 420px;
}

/* FOOTER */
.page-footer {
    position: relative;
    margin-top: 34px;
    padding: 38px 24px 30px;
    text-align: center;
    background: #080b0f;
    color: rgba(255,255,255,.72);
    border-top: 1px solid rgba(255,196,0,.7);
}

.footer-notch {
    position: absolute;
    left: 50%;
    top: -20px;
    width: 96px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    background: #080b0f;
    color: var(--yellow);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .main-nav {
        padding: 0 28px;
    }

    .nav-menu,
    .nav-icons {
        display: none;
    }

    .feature-row,
    .feature-row.image-right {
        grid-template-columns: 1fr;
    }

    .feature-row::before,
    .feature-row.image-right::before {
        left: 0;
        right: 0;
    }

    .feature-row.image-right .feature-icon,
    .feature-row.image-right .feature-body,
    .feature-row.image-right .feature-img {
        grid-column: auto;
        grid-row: auto;
    }

    .feature-img,
    .feature-row.image-right .feature-img {
        min-height: 220px;
        clip-path: none;
    }

    .feature-icon {
        min-height: 84px;
    }
}

@media (max-width: 700px) {
    .hero {
        height: 620px;
    }

    .hero-content {
        width: calc(100% - 38px);
        margin-top: 108px;
    }

    .main-nav {
        height: 72px;
    }

    .brand {
        min-width: auto;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        font-size: 9px;
    }

    .section-lines {
        gap: 14px;
    }

    .section-lines > span:not(.hazard-badge) {
        width: 50px;
    }

    .feature-body {
        padding: 34px 24px 24px;
    }
}

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

.sub-hero {
    width: 100%;
    height: 460px;
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.45) 45%,
            rgba(0,0,0,.22) 100%
        ),
        url('../img/header.png');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: white;
}
		
		.sub-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 120px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0,0,0,.35)
        );
}

.sub-hero-content {
    width: min(1180px, calc(100% - 60px));
    margin: 90px auto 0;
}

.sub-hero-content h1 {
    margin: 20px 0;
    font-size: clamp(48px, 6vw, 72px);
    line-height: .95;
    text-transform: uppercase;
}

.sub-hero-content p {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.6;
}

.about-page {
    background: white;
}

.about-section,
.values-section,
.join-section {
    width: min(1180px, calc(100% - 50px));
    margin: 80px auto;
}

.about-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.about-image {
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;

    background: repeating-linear-gradient(
        135deg,
        #ffc400 0 18px,
        #555 18px 36px
    );

    z-index: 2;
}

.about-image img {
    width: 100%;
    display: block;
}

/* VALUES */

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

.value-card {
    position: relative;
    padding: 40px 35px;
    background: #f6f6f6;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.value-top-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;

    background: repeating-linear-gradient(
        135deg,
        #ffc400 0 18px,
        #555 18px 36px
    );
}

.value-icon {
    display: inline-block;
    margin-top: 12px;
    color: #ffc400;
    font-size: 42px;
}

.value-card h3 {
    margin-top: 20px;
    font-size: 32px;
    text-transform: uppercase;
}

.value-card p {
    line-height: 1.7;
    color: #444;
}

/* CTA */

.join-box {
    padding: 70px;
    text-align: center;
    background: #0b1016;
    color: white;
    border: 1px solid rgba(255,196,0,.4);
    position: relative;
    overflow: hidden;
}

.join-box::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent,
            rgba(255,196,0,.04)
        );
}

.join-box h2 {
    margin: 25px 0 18px;
    font-size: 56px;
    text-transform: uppercase;
}

.join-box p {
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
}

/* MOBILE */

@media (max-width: 950px) {

    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .join-box {
        padding: 40px 25px;
    }

    .join-box h2 {
        font-size: 42px;
    }
}
		
		/* =========================================
   BEWERBUNG PAGE
========================================= */

.application-page {
    background: #fff;
}

.application-section {
    width: min(1180px, calc(100% - 50px));
    margin: 80px auto;
}

.application-layout {
    margin-top: 55px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: start;
}

.application-info h2 {
    margin: 0 0 25px;
    font-size: 48px;
    line-height: 1.05;
    text-transform: uppercase;
}

.application-info p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.application-form-box {
    position: relative;
    padding: 48px;
    background: #f6f6f6;
    border: 1px solid #ddd;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.form-top-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: repeating-linear-gradient(
        135deg,
        #ffc400 0 18px,
        #555 18px 36px
    );
}

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

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

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    font: inherit;
    color: #111;
    background: #fff;
    border: 1px solid #cfcfcf;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffc400;
    box-shadow: 0 0 0 3px rgba(255,196,0,.2);
}

.form-button {
    border: none;
    cursor: pointer;
}

.form-errors {
    margin-bottom: 28px;
    padding: 18px 20px;
    background: #2a0d0d;
    border-left: 6px solid #ff4242;
    color: #fff;
}

.form-errors p {
    margin: 6px 0;
}

.form-success {
    margin-bottom: 28px;
    padding: 18px 20px;
    background: #102416;
    border-left: 6px solid #ffc400;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 950px) {
    .application-layout {
        grid-template-columns: 1fr;
    }

    .application-info h2 {
        font-size: 40px;
    }
}

@media (max-width: 650px) {
    .application-section {
        width: calc(100% - 28px);
        margin: 55px auto;
    }

    .application-form-box {
        padding: 36px 22px 28px;
    }

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