/* =========================================
   FARBEN (Corporate Design Blau/Gelb)
   ========================================= */

:root {
    --blue-dark: #0b3d91;
    --blue: #1857c4;
    --blue-light: #eef4fc;
    --blue-light-2: #f4f8fd;
    --yellow: #f5b400;
    --yellow-dark: #d99e00;
    --text-muted: #52657e;
    --border-nav: #e5ebf5;
    --border-light: #d7e3f5;
    --border-neutral: #dbe2ee;
    --footer-text: #c9d9f2;
    --header-h: 90px;
}


/* =========================================
   GRUNDLAGEN
   ========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   HEADER
   ========================================= */

.header {
    width: 100%;
    height: var(--header-h);

    background: #ffffff;
    border-bottom: 1px solid var(--border-neutral);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.nav-container {
    height: var(--header-h);

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


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    text-decoration: none;

    white-space: nowrap;
}

.logo img {
    display: block;

    height: 72px;
    width: auto;
}


/* =========================================
   NAVIGATION
   ========================================= */

.nav {
    display: none;

    position: absolute;

    top: var(--header-h);
    right: 7%;

    width: 280px;

    background: #ffffff;

    border: 1px solid var(--border-neutral);

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    z-index: 1001;
}

.nav.active {
    display: flex;
}

.nav a {
    display: block;

    padding: 15px 20px;

    border-bottom: 1px solid var(--border-nav);

    color: #333333;

    text-decoration: none;

    font-size: 15px;
    font-weight: bold;

    transition: color 0.2s ease,
                background 0.2s ease;
}

.nav a:last-child {
    border-bottom: none;
}

.nav a:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.nav a.active {
    color: var(--yellow-dark);
}


/* NAVIGATION DROPDOWN (Leistungen) */

.nav details.nav-dropdown {
    border-bottom: 1px solid var(--border-nav);
}

.nav details.nav-dropdown:last-of-type {
    border-bottom: none;
}

.nav details.nav-dropdown summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 20px;

    color: #333333;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    list-style: none;

    transition: color 0.2s ease,
                background 0.2s ease;
}

.nav details.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav details.nav-dropdown summary::after {
    content: "+";

    color: var(--blue);

    font-size: 18px;
    font-weight: bold;
}

.nav details.nav-dropdown[open] summary::after {
    content: "\2212";
}

.nav details.nav-dropdown summary:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.nav details.nav-dropdown summary.active {
    color: var(--yellow-dark);
}

.submenu {
    display: flex;
    flex-direction: column;

    background: var(--blue-light-2);
}

.submenu a {
    padding: 12px 20px 12px 38px;

    border-bottom: 1px solid var(--border-nav);

    color: #333333;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
}

.submenu a:last-child {
    border-bottom: none;
}

.submenu a:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.submenu a.active {
    color: var(--yellow-dark);
}


/* =========================================
   HAMBURGER
   ========================================= */

.menu-toggle {
    display: flex;

    margin-left: auto;

    width: 42px;
    height: 42px;

    background: #ffffff;

    border: 1px solid var(--border-neutral);

    color: var(--blue-dark);

    font-size: 24px;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    padding: 0;

    line-height: 1;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    background: var(--blue-light);

    padding: 100px 0;
}

.hero h1 {
    color: var(--blue-dark);

    font-size: clamp(45px, 7vw, 80px);

    line-height: 1.05;

    margin-bottom: 30px;
}

.hero-text {
    max-width: 650px;

    font-size: 20px;

    color: var(--text-muted);

    margin-bottom: 30px;
}


/* =========================================
   PAGE HEADER
   ========================================= */

.page-header {
    background: var(--blue-light);

    padding: 70px 0;
}

.page-header h1 {
    color: var(--blue-dark);

    font-size: clamp(40px, 6vw, 65px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.page-header > .container > p:last-child {
    font-size: 19px;
    color: var(--text-muted);
}


/* =========================================
   SUBTITLE
   ========================================= */

.subtitle {
    color: var(--yellow-dark);

    font-size: 16px;

    font-weight: bold;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 15px;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: var(--blue-light-2);
}

.section h2 {
    color: var(--blue-dark);

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.1;

    margin-bottom: 30px;
}

.section p {
    margin-bottom: 20px;
}

.large-text {
    max-width: 800px;

    font-size: 20px;

    color: var(--text-muted);
}


/* =========================================
   BUTTON
   ========================================= */

.btn {
    display: inline-block;

    padding: 14px 25px;

    background: var(--blue-dark);

    color: #ffffff;

    text-decoration: none;

    border-radius: 4px;

    font-weight: bold;

    transition: background 0.2s ease,
                transform 0.2s ease;
}

.btn:hover {
    background: var(--blue);

    transform: translateY(-2px);
}


/* =========================================
   VIDEO
   ========================================= */

.video-section {
    background: var(--blue-dark);
}

.video-section h2 {
    color: #ffffff;
}

.video-wrapper {
    background: #000000;

    border-radius: 8px;

    overflow: hidden;
}

.video-wrapper video {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================
   SIMPLE GRID
   ========================================= */

.simple-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));

    gap: 25px;

    margin-top: 50px;
}

.simple-item {
    padding-top: 25px;

    border-top: 2px solid var(--border-light);
}

.simple-item span {
    color: var(--yellow-dark);

    font-size: 16px;

    font-weight: bold;
}

.simple-item h3 {
    color: var(--blue-dark);

    font-size: 24px;

    margin: 18px 0 10px;
}

.simple-item p {
    color: var(--text-muted);
}

.simple-item a {
    color: var(--blue);

    font-weight: bold;

    text-decoration: none;
}

.simple-item a:hover {
    text-decoration: underline;
}


/* =========================================
   STEPS
   ========================================= */

.steps {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

    margin-top: 50px;
}

.step {
    border-top: 2px solid var(--border-light);

    padding-top: 25px;
}

.step span {
    color: var(--yellow-dark);

    font-size: 16px;

    font-weight: bold;
}

.step h3 {
    color: var(--blue-dark);

    font-size: 23px;

    margin: 18px 0 10px;
}

.step p {
    color: var(--text-muted);
}


/* =========================================
   FAQ
   ========================================= */

.faq {
    max-width: 900px;
}

.faq details {
    background: #ffffff;

    border: 1px solid var(--border-light);

    margin-bottom: 15px;

    padding: 22px 25px;

    cursor: pointer;
}

.faq summary {
    color: var(--blue-dark);

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;
}

.faq details p {
    margin-top: 15px;

    color: var(--text-muted);
}


/* =========================================
   KONTAKT
   ========================================= */

.contact-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 30px;
}

.contact-details span {
    display: block;

    color: var(--yellow-dark);

    font-size: 15px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-muted);
}

.contact-details a {
    color: var(--blue-dark);

    font-weight: bold;

    text-decoration: none;
}


/* =========================================
   KONTAKTFORMULAR
   ========================================= */

.contact-form-simple {
    max-width: 700px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 35px;
}

.contact-form-simple label {
    font-weight: bold;

    margin-top: 10px;
}

.contact-form-simple input,
.contact-form-simple textarea {
    width: 100%;

    padding: 14px;

    border: 1px solid var(--border-light);

    border-radius: 4px;

    font-size: 16px;

    font-family: inherit;
}

.contact-form-simple textarea {
    resize: vertical;
}

.contact-form-simple button {
    width: fit-content;

    margin-top: 15px;
}


/* =========================================
   RECHTLICHES
   ========================================= */

.legal {
    max-width: 850px;
}

.legal h2 {
    margin-bottom: 15px;
}

.legal h3 {
    color: var(--blue-dark);

    font-size: 22px;

    margin-top: 40px;

    margin-bottom: 10px;
}

.legal p {
    color: var(--text-muted);
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    background: var(--blue-dark);

    color: #ffffff;

    padding-top: 55px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer h3 {
    margin-bottom: 15px;
}

.footer p {
    color: var(--footer-text);

    margin-bottom: 5px;
}

.footer a {
    display: block;

    color: #ffffff;

    text-decoration: none;

    margin-bottom: 8px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);

    padding: 20px 0;

    color: var(--footer-text);

    font-size: 14px;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 800px) {

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

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* =========================================
   HANDY
   ========================================= */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    :root {
        --header-h: 76px;
    }

    .nav {
        right: 5%;

        width: 90%;
    }

    .logo img {
        height: 58px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-text {
        font-size: 18px;
    }

    .page-header {
        padding: 55px 0;
    }

    .page-header h1 {
        font-size: 42px;
    }

    .section {
        padding: 65px 0;
    }

    .section h2 {
        font-size: 35px;
    }

    .large-text {
        font-size: 18px;
    }

}
