@import url("styles.css?v=4");

.sub-header {
    position: relative;
    padding: 95px 0 78px;
    background: #07131f;
    color: #dbe8ee;
    overflow: hidden
}

.sub-header:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 30%, rgba(4, 169, 164, .2), transparent 34%), linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, .035));
    pointer-events: none
}

.sub-header .container {
    position: relative;
    z-index: 1
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #8da6b5;
    margin-bottom: 25px
}

.breadcrumbs a:hover {
    color: #71ded8
}

.sub-header h1 {
    font-size: 52px;
    color: #fff;
    max-width: 780px
}

.sub-header p {
    font-size: 18px;
    color: #adbfca;
    max-width: 690px;
    margin: 20px 0 0
}

.content-section {
    padding: 85px 0;
    background: var(--surface, #fff)
}

.content-section.alt {
    background: var(--surface-soft, #f8fbfb)
}

.lead-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center
}

.lead-grid h2,
.page-head h2 {
    font-size: 38px;
    margin: 10px 0 18px
}

.lead-grid p,
.page-head p,
.content-card p {
    color: var(--muted)
}

.feature-panel {
    border-radius: 22px;
    padding: 38px;
    background: linear-gradient(145deg, var(--navy), #103d53);
    color: #d8e8ee;
    box-shadow: var(--shadow)
}

.feature-panel h3 {
    color: #fff;
    font-size: 25px
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px
}

.check-list li {
    display: flex;
    gap: 11px
}

.check-list li:before {
    content: "✓";
    color: #65ded8;
    font-weight: 800
}

.page-head {
    max-width: 760px;
    margin-bottom: 42px
}

.cards-3,
.cards-2 {
    display: grid;
    gap: 20px
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr)
}

.cards-2 {
    grid-template-columns: repeat(2, 1fr)
}

.content-card {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 29px
}

.content-card h3 {
    font-size: 19px;
    margin-bottom: 10px
}

.content-card .number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--ice);
    color: var(--teal);
    font-weight: 800;
    margin-bottom: 20px
}

.content-card a {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal-dark)
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.service-list article {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 27px;
    display: flex;
    flex-direction: column
}

.service-list .service-icon {
    margin-bottom: 18px
}

.service-list h2 {
    font-size: 19px
}

.service-list p {
    color: var(--muted);
    font-size: 14px;
    flex: 1
}

.service-list a {
    font-weight: 700;
    font-size: 13px;
    color: var(--teal-dark)
}

.area-box {
    background: linear-gradient(145deg, #0b2239, #0c3b4e);
    border-radius: 24px;
    padding: 50px;
    color: #d8e7ed;
    position: relative;
    overflow: hidden
}

.area-box:after {
    content: "50 km";
    position: absolute;
    right: 35px;
    bottom: -25px;
    font-size: 100px;
    font-weight: 800;
    color: rgba(255, 255, 255, .05)
}

.area-box h2 {
    color: #fff;
    font-size: 38px
}

.towns {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px
}

.towns span {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 12px
}

.career-box {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px
}

.application-form,
.contact-page-form {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px
}

.legal {
    max-width: 850px
}

.legal h2 {
    font-size: 25px;
    margin: 36px 0 12px
}

.legal h3 {
    font-size: 18px;
    margin: 25px 0 8px
}

.placeholder {
    display: inline-block;
    background: #fff0c9;
    color: #7b5a00;
    border: 1px solid #f1d780;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700
}

.legal-note {
    border-left: 4px solid #e9b53f;
    background: #fff7e3;
    padding: 17px 20px;
    border-radius: 8px;
    color: #66501c;
    margin-bottom: 30px
}

.page-cta {
    padding: 65px 0;
    background: var(--navy);
    color: #ccdae2
}

.page-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.page-cta h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 8px
}

.page-cta p {
    margin: 0
}

.shell-footer {
    background: #071a2c;
    color: #90a6b4;
    padding: 50px 0 25px
}

.shell-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 45px
}

.shell-footer h3 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 15px
}

.shell-footer a,
.shell-footer span {
    display: block;
    font-size: 13px;
    margin: 7px 0
}

.shell-footer-bottom {
    border-top: 1px solid #1d3344;
    margin-top: 38px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 11px
}

.shell-footer-bottom>div {
    display: flex;
    gap: 18px;
}

html[data-theme="dark"] .content-section {
    background: #07131f
}

html[data-theme="dark"] .content-section.alt {
    background: #081722
}

html[data-theme="dark"] .content-card,
html[data-theme="dark"] .application-form,
html[data-theme="dark"] .contact-page-form {
    background: #0b1b29
}

html[data-theme="dark"] .content-card h3,
html[data-theme="dark"] .lead-grid h2,
html[data-theme="dark"] .page-head h2,
html[data-theme="dark"] .service-list h2 {
    color: #eef5f7
}

html[data-theme="dark"] .legal-note {
    background: #282515;
    color: #e6d7a5;
    border-color: #b98b28
}

html[data-theme="dark"] .placeholder {
    background: #322b17;
    color: #efd581;
    border-color: #695727
}

@media(prefers-color-scheme:dark) {
    html:not([data-theme]) .content-section {
        background: #07131f
    }

    html:not([data-theme]) .content-section.alt {
        background: #081722
    }

    html:not([data-theme]) .content-card,
    html:not([data-theme]) .application-form,
    html:not([data-theme]) .contact-page-form {
        background: #0b1b29
    }

    html:not([data-theme]) .content-card h3,
    html:not([data-theme]) .lead-grid h2,
    html:not([data-theme]) .page-head h2,
    html:not([data-theme]) .service-list h2 {
        color: #eef5f7
    }
}

@media(max-width:900px) {

    .lead-grid,
    .career-box {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .cards-3,
    .service-list {
        grid-template-columns: repeat(2, 1fr)
    }

    .shell-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .page-cta .container {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:650px) {
    .sub-header {
        padding: 65px 0 55px
    }

    .sub-header h1 {
        font-size: 37px
    }

    .sub-header p {
        font-size: 16px
    }

    .content-section {
        padding: 60px 0
    }

    .cards-3,
    .cards-2,
    .service-list {
        grid-template-columns: 1fr
    }

    .area-box {
        padding: 32px 24px
    }

    .area-box:after {
        font-size: 65px
    }

    .shell-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .shell-footer-grid>div:first-child,
    .shell-footer-grid>div:last-child {
        grid-column: 1/-1
    }

    .shell-footer-bottom {
        padding-bottom: 55px;
        flex-wrap: wrap;
        gap: 12px
    }
}

/* Kompakter Einstieg auf Impressum und Datenschutz */
.legal>h2:first-child {
    margin-top: 0;
}

.content-section {
    padding-top: 45px;
}

@media (max-width: 650px) {
    .content-section {
        padding-top: 35px;
    }
}
