/* =========================================================
   FAHRSCHULE SCHUMACHER
   IMPRESSUM – EIGENSTÄNDIGE STYLES
========================================================= */



/* =========================================================
   GRUNDWERTE
========================================================= */

:root {
    --red: #D71920;
    --red-light: #EF3B43;
    --black: #101010;
    --dark: #171717;
    --light: #f3f1ec;
    --white: #ffffff;
    --text: #1b1b1b;
    --text-light: #666666;
    --border: rgba(16, 16, 16, 0.12);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    background: var(--light);
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 21px;
    line-height: 1.6;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}


/* =========================================================
   HEADER / NAVBAR
========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(215, 25, 32, 0.75);
}

.header-inner {
    width: min(1200px, calc(100% - 48px));

    min-height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-link {
    display: flex;
    align-items: center;

    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    display: block;

    width: 190px;
    height: auto;

    max-height: 65px;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}




/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 34px;

    font-family: "Barlow Condensed", sans-serif;
}

.main-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    height: auto;

    padding: 8px 0;

    color: #000000;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 21px;
    font-weight: 600;

    letter-spacing: 0.4px;
    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   ROTE HOVER-LINIE
========================================================= */

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--red);

    transform: translateY(-1px);
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   AKTIVER NAVIGATIONSPUNKT
========================================================= */

.main-nav a.active {
    color: var(--red);
}

.main-nav a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENÜ BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--black);

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
    padding: 0;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.menu-toggle:hover {
    color: var(--red);

    transform: scale(1.05);
}


/* =========================================================
   IMPRESSUM – HERO
========================================================= */

.legal-page {
    min-height: 100vh;
}

.legal-hero {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: flex-end;

    padding: 165px 20px 90px;

    background:
        linear-gradient(
            135deg,
            #101010 0%,
            #171717 55%,
            #0e0e0e 100%
        );

    overflow: hidden;
}


/* =========================================================
   DEZENTE ROTE HINTERGRUNDFLÄCHE
========================================================= */

.legal-hero::before {
    content: "";

    position: absolute;

    right: -180px;
    bottom: -260px;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    border: 1px solid rgba(215, 25, 32, 0.25);

    box-shadow:
        0 0 0 80px rgba(215, 25, 32, 0.025),
        0 0 0 160px rgba(215, 25, 32, 0.018);

    pointer-events: none;
}


/* =========================================================
   ROTE LINIE UNTEN
========================================================= */

.legal-hero::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: var(--red);
}


/* =========================================================
   CONTAINER
========================================================= */

.legal-container {
    position: relative;

    width: min(1100px, calc(100% - 40px));

    margin: 0 auto;

    z-index: 2;
}


/* =========================================================
   HERO LABEL
========================================================= */

.legal-hero .section-label {
    display: block;

    margin-bottom: 17px;

    color: var(--red);

    font-family: "Barlow Condensed", sans-serif;
    font-size: 21px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   HERO ÜBERSCHRIFT
========================================================= */

.legal-hero h1 {
    color: var(--white);

    font-family: "Barlow Condensed", sans-serif;

    font-size: clamp(70px, 10vw, 135px);

    font-weight: 800;

    line-height: 0.84;
    letter-spacing: -2px;

    text-transform: uppercase;
}


/* =========================================================
   HERO TEXT
========================================================= */

.legal-intro {
    max-width: 720px;

    margin-top: 32px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 20px;
    line-height: 1.7;
}


/* =========================================================
   IMPRESSUM CONTENT
========================================================= */

.legal-content {
    padding: 110px 20px 135px;

    background: var(--light);
}

.legal-content .legal-container {
    width: min(920px, calc(100% - 40px));
}


/* =========================================================
   EINZELNE BLÖCKE
========================================================= */

.legal-block {
    position: relative;

    margin-bottom: 70px;
    padding-bottom: 60px;

    border-bottom: 1px solid var(--border);
}

.legal-block:last-of-type {
    margin-bottom: 40px;
}


/* =========================================================
   ÜBERSCHRIFTEN
========================================================= */

.legal-block h2 {
    position: relative;

    margin-bottom: 30px;

    padding-left: 23px;

    color: var(--black);

    font-family: "Barlow Condensed", sans-serif;

    font-size: clamp(36px, 4vw, 50px);

    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   ROTE LINIE LINKS
========================================================= */

.legal-block h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 2px;

    width: 5px;
    height: calc(100% - 4px);

    background: var(--red);
}


/* =========================================================
   TEXT
========================================================= */

.legal-block p {
    margin-bottom: 19px;

    color: var(--text);

    font-family: "Inter", sans-serif;

    font-size: 19px;
    line-height: 1.85;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block strong {
    font-weight: 700;
}


/* =========================================================
   LINKS
========================================================= */

.legal-block a {
    position: relative;

    color: var(--black);

    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}

.legal-block a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.25s ease;
}

.legal-block a:hover {
    color: var(--red);
}

.legal-block a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   STAND
========================================================= */

.legal-update {
    padding-top: 8px;
}

.legal-update p {
    color: rgba(27, 27, 27, 0.5);

    font-size: 16px;
    line-height: 1.6;
}

.legal-update strong {
    color: rgba(27, 27, 27, 0.7);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 55px 20px;

    background: var(--black);

    border-top: 3px solid var(--red);
}

.footer-inner {
    width: min(1100px, calc(100% - 40px));

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo img {
    display: block;

    width: auto;
    height: 58px;

    object-fit: contain;
}

.footer-logo a {
    display: inline-block;

    text-decoration: none;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;
    align-items: center;

    gap: 35px;
}

.footer-links a {
    position: relative;

    color: rgba(255, 255, 255, 0.72);

    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::after {
    width: 100%;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copy {
    color: rgba(255, 255, 255, 0.42);

    font-size: 15px;
    line-height: 1.5;

    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    /* HEADER */

    .header-inner {
        min-height: 78px;

        width: min(
            calc(100% - 35px),
            1200px
        );
    }


    /* LOGO */

    .site-logo {
        width: 170px;
        height: auto;

        max-height: 65px;
    }


    /* MOBILE BUTTON */

    .menu-toggle {
        display: flex;
    }


    /* NAVIGATION */

    .main-nav {
        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding:
            12px
            25px
            25px;

        background: rgba(16, 16, 16, 0.98);

        border-bottom: 2px solid var(--red);

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, 0.2);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        width: 100%;

        height: auto;

        padding: 13px 0;

        color: var(--white);

        font-size: 15px;

        letter-spacing: 0.4px;
    }

    .main-nav a::after {
        bottom: 0;

        background: var(--red);
    }

    .main-nav a:hover {
        color: var(--red);
    }


    /* HERO */

    .legal-hero {
        min-height: 460px;

        padding-top: 145px;
        padding-bottom: 80px;
    }


    /* CONTENT */

    .legal-content {
        padding-top: 95px;
        padding-bottom: 110px;
    }


    /* FOOTER */

    .footer-inner {
        flex-wrap: wrap;

        gap: 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* HEADER */

    .header-inner {
        width: calc(100% - 30px);

        min-height: 78px;
    }

    .site-logo {
        width: 170px;
        height: auto;

        max-height: 65px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;

        font-size: 30px;
    }


    /* NAVIGATION */

    .main-nav {
        top: 78px;

        padding:
            8px
            20px
            22px;
    }

    .main-nav a {
        padding: 16px 0;

        font-size: 21px;
    }


    /* HERO */

    .legal-hero {
        min-height: 420px;

        padding:
            135px
            20px
            70px;
    }

    .legal-container {
        width: calc(100% - 20px);
    }

    .legal-hero .section-label {
        margin-bottom: 15px;

        font-size: 18px;

        letter-spacing: 2.5px;
    }

    .legal-hero h1 {
        font-size: clamp(
            62px,
            18vw,
            95px
        );

        letter-spacing: -1px;
    }

    .legal-intro {
        max-width: 100%;

        margin-top: 25px;

        font-size: 18px;
        line-height: 1.7;
    }


    /* CONTENT */

    .legal-content {
        padding:
            75px
            20px
            90px;
    }

    .legal-content .legal-container {
        width: 100%;
    }


    /* BLOCKS */

    .legal-block {
        margin-bottom: 50px;

        padding-bottom: 45px;
    }

    .legal-block h2 {
        margin-bottom: 25px;

        padding-left: 19px;

        font-size: 36px;
    }

    .legal-block h2::before {
        width: 4px;
    }

    .legal-block p {
        font-size: 18px;

        line-height: 1.8;
    }


    /* UPDATE */

    .legal-update p {
        font-size: 15px;
    }


    /* FOOTER */

    .site-footer {
        padding:
            50px
            20px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;

        gap: 30px;
    }

    .footer-logo img {
        height: 52px;
    }

    .footer-links {
        flex-direction: column;

        gap: 20px;
    }

    .footer-links a {
        font-size: 20px;
    }

    .footer-copy {
        white-space: normal;

        font-size: 14px;
    }
}


/* =========================================================
   SEHR KLEINE HANDYS
========================================================= */

@media (max-width: 500px) {

    .site-logo {
        width: 100px;
        max-height: 45px;
    }
}


@media (max-width: 380px) {

    .header-inner {
        width: calc(100% - 24px);
    }

    .site-logo {
        width: 100px;
        height: auto;

        max-height: 45px;
    }


    /* HERO */

    .legal-hero {
        min-height: 400px;

        padding:
            125px
            18px
            65px;
    }

    .legal-container {
        width: 100%;
    }

    .legal-hero .section-label {
        font-size: 16px;

        letter-spacing: 2px;
    }

    .legal-hero h1 {
        font-size: 58px;
    }

    .legal-intro {
        font-size: 17px;
    }


    /* CONTENT */

    .legal-content {
        padding:
            65px
            18px
            80px;
    }

    .legal-block {
        margin-bottom: 45px;

        padding-bottom: 40px;
    }

    .legal-block h2 {
        margin-bottom: 22px;

        padding-left: 17px;

        font-size: 32px;
    }

    .legal-block p {
        font-size: 17px;

        line-height: 1.75;
    }

    .legal-update p {
        font-size: 14px;
    }


    /* FOOTER */

    .site-footer {
        padding:
            45px
            18px;
    }

    .footer-logo img {
        height: 48px;
    }

    .footer-links a {
        font-size: 19px;
    }

    .footer-copy {
        font-size: 13px;
    }
}


/* =========================================================
   MPU LOGO – NAVIGATION
========================================================= */

.mpu-logo {
    display: block !important;
    width: 190px !important;
    height: 65px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    object-position: center;
}

/* =========================================================
   REDUZIERTE BEWEGUNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }
}