/* Seitenspezifische Ergänzungen – nur impressum.html */

/* =========================================================
   SEITENLAYOUT – Footer bei kurzem Inhalt am Viewportende
========================================================= */
.impressum-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.impressum-layout .impressum-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.impressum-layout .site-footer {
    flex: 0 0 auto;
}


/* =========================================================
   HERO – gleiche vertikale Abstände wie turnaround-beratung
========================================================= */
.impressum-page.impressum-hero {
    padding-top: 170px;
    padding-bottom: 100px;
}

.impressum-page.impressum-hero .container {
    width: min(calc(100% - 80px), var(--container, 1180px));
    margin-inline: auto;
}

.impressum-page.impressum-hero .statement-content {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.impressum-page.impressum-hero .statement-content h1.hero-title {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    overflow-wrap: normal;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: clamp(3rem, 6.5vw, 6.3rem);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -.045em;
}

.impressum-page.impressum-hero .statement-content h1.hero-title > .hero-line {
    display: block;
    color: #fff;
    white-space: nowrap;
}


/* =========================================================
   IMPRESSUM – Inhalt und flexibler Freiraum zum Footer
========================================================= */
.impressum-page.impressum-section {
    flex: 1 0 auto;
    background: var(--white);
}

.impressum-page .impressum-content {
    max-width: 860px;
    margin-bottom: 0;
}

.impressum-page .impressum-text {
    padding-top: 32px;
}

.impressum-page .impressum-text .intro-text {
    max-width: 760px;
}

.impressum-page .impressum-text .intro-text:last-child {
    margin-bottom: 0;
}

.impressum-page .impressum-text strong {
    color: var(--text);
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 700px) {
    .impressum-page.impressum-hero {
        padding-top: 145px;
        padding-bottom: 65px;
    }

    .impressum-page.impressum-hero .container {
        width: calc(100% - 40px);
    }

    .impressum-page.impressum-hero .statement-content h1.hero-title {
        font-size: clamp(2.6rem, 11vw, 4rem);
        line-height: .99;
        white-space: normal;
    }

    .impressum-page.impressum-hero .statement-content h1.hero-title > .hero-line {
        white-space: normal;
    }
}


/* Textblock nutzt den globalen Titelabstand. */
.impressum-page .impressum-text {
    padding-top: 0;
}
