/* ============================================================
   unfallhaftpflichtschaeden.css
   Unterseite-spezifische Styles – ergänzt main.css
   ============================================================ */

/* ===== HEADER-OVERRIDE (Unterseite hat keinen Vollbild-Header) ===== */

section img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header#start {
    height: auto !important;
    background: none !important;
    background-attachment: unset !important;
    position: relative !important;
    padding-bottom: 0 !important;
}

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

.sub-hero {
    /* Genau wie .bild/.parallax der Startseite */
    height: 580px;
    background: url('../images/frau-telefoniert-unfall.jpg') no-repeat center center / cover;
    background-attachment: fixed;
    position: relative;
    /* nav ist fixed: nav-oben (~80px) + nav-unten (42px) = ~122px */
    margin-top: 122px;
}

.sub-hero-inner {
    position: absolute;
    left: 0;
    bottom: 60px;
    /* Text unten im Hero, wie auf der Startseite */
    width: 55%;
}

.breadcrumb {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(53, 133, 181, 0.85);
    padding: 7px 15px 7px 10%;
    letter-spacing: 0.4px;
    display: block;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 5px;
}

.sub-hero h1 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    font-size: 36px;
    color: #fff;
    background: #35393c;
    padding: 16px 20px 16px 10%;
    margin: 4px 0 0;
    line-height: 1.25;
    letter-spacing: normal;
}

/* ===== NAV BACK LINK ===== */

.nav-back {
    background: #3585b5;
    padding: 9px 10%;
    display: flex;
    align-items: center;
}

.nav-back a {
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-back a:hover {
    text-decoration: underline;
}

/* ===== INTRO SECTION ===== */

.intro-section {
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-section h2 {
    font-size: 30px;
    margin-bottom: 4px;
}

.intro-section p {
    margin-top: 18px;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

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

.button-outline {
    display: inline-block;
    border: 2px solid #3585b5;
    color: #3585b5;
    padding: 5px 16px;
    border-radius: 4px;
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
    transition: 0.4s;
}

.button-outline:hover {
    background: #3585b5;
    color: #fff;
}

/* ===== BILDPLATZHALTER ===== */

.img-placeholder {
    background: #dde3e8;
    border-radius: 8px;
    box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8fa0ad;
    font-family: 'Roboto Condensed', sans-serif;
    gap: 10px;
    text-align: center;
    padding: 24px;
}

.img-placeholder svg {
    opacity: 0.4;
}

.img-placeholder span {
    font-size: 12px;
    opacity: 0.7;
    max-width: 180px;
    line-height: 1.4;
}

.img-main {
    aspect-ratio: 4 / 3;
    width: 100%;
}

.img-wide {
    aspect-ratio: 16 / 7;
    width: 100%;
}

.img-square {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.img-placeholder--dark {
    background: #4a5059;
    color: #a0b0bb;
}

.img-placeholder--dark span {
    color: #a0b0bb;
}

.img-caption {
    font-size: 13px;
    color: #8fa0ad;
    margin-top: 8px;
    font-style: italic;
}

.img-caption-light {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    font-style: italic;
}

/* ===== INFO-BANNER (hellgrau) ===== */

.info-banner {
    background: #f4f6f8;
    padding: 60px 10%;
}

.info-banner-inner {
    max-width: 900px;
}

.info-banner h2 {
    font-size: 30px;
    margin-bottom: 4px;
}

.info-banner p {
    margin-top: 18px;
    line-height: 1.8;
}

.info-banner .cta-group {
    margin-top: 28px;
}

/* ===== TYPISCHE SITUATIONEN ===== */

.situations-section {
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.situations-text h2 {
    font-size: 30px;
    margin-bottom: 4px;
}

.situations-text p {
    margin-top: 18px;
    line-height: 1.8;
}

.situations-img-wrap {
    /* bleibt als Grid-Item, kein extra margin nötig */
}

/* ===== ABLAUF (dunkel) ===== */

.ablauf-section {
    background: #35393c;
    padding: 80px 10%;
    color: #fff;
}

.ablauf-section h2 {
    color: #3585b5;
}

.ablauf-section .line {
    background: #3585b5;
}

/* 3 Schritte + 1 Bild → 2×2-Grid, Bild nimmt rechte Spalte voll */
.ablauf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 36px 48px;
    margin-top: 48px;
    align-items: start;
}

/* Schritte 1–3 links, Bild rechts über beide Zeilen */
.ablauf-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.ablauf-img-wrap {
    grid-column: 2;
    grid-row: 1 / 4;
    /* streckt sich über alle 3 Zeilen */
    display: flex;
    flex-direction: column;
}

.ablauf-img-wrap .img-placeholder {
    flex: 1;
    aspect-ratio: unset;
    /* Höhe durch Grid bestimmt */
    min-height: 300px;
}

.step-num {
    width: 42px;
    height: 42px;
    background: #3585b5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text h4 {
    font-family: 'Bodoni Moda', serif;
    font-size: 19px;
    color: #fff;
    margin: 0 0 8px;
}

.step-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin: 0;
}

/* ===== VORTEILE ===== */

.vorteile-section {
    padding: 80px 10%;
}

.vorteile-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.vorteile-inner h2 {
    font-size: 30px;
    margin-bottom: 4px;
}

.vorteile-inner p {
    margin-top: 18px;
    line-height: 1.8;
}

.vorteile-inner .cta-group {
    margin-top: 28px;
}

/* Bild-Galerie in Vorteile-Sektion */
.images-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Erstes Bild (wide) über beide Spalten */
.images-showcase .img-placeholder:first-child {
    grid-column: span 2;
}

/* ===== ANSPRECHPARTNER ===== */

.kontakt-section {
    padding: 80px 10%;
    background: #f4f6f8;
}

.kontakt-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.kontakt-inner h2 {
    font-size: 30px;
    margin-bottom: 4px;
}

.kontakt-inner p {
    margin-top: 16px;
    line-height: 1.8;
}

.kontakt-info {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.15);
}

.kontakt-info p {
    margin: 0 0 8px;
    line-height: 1.8;
}

.kontakt-info a {
    color: #3585b5;
    font-weight: 700;
}

.kontakt-info a.button {
    background-color: #3585b5;
    color: #fff;
}

.kontakt-info a:hover {
    text-decoration: underline;
}

.kontakt-info__heading {
    margin-bottom: 14px;
}

.kontakt-info__line {
    width: 160px;
    margin-bottom: 0;
}

.kontakt-info__address {
    margin-top: 18px !important;
}

.kontakt-info__btn {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
}

.kontakt-info__btn-outline {
    display: inline-block;
    margin-top: 8px;
}

.region-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.region-tag {
    background: #e8f1f7;
    color: #3585b5;
    border-radius: 20px;
    padding: 4px 13px;
    font-size: 13px;
    font-weight: 700;
}

/* ===== MEDIA QUERIES ===== */

@media screen and (max-width: 900px) {

    .intro-section,
    .situations-section,
    .vorteile-inner,
    .kontakt-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ablauf-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .ablauf-img-wrap {
        grid-column: 1;
        grid-row: auto;
    }

    .ablauf-img-wrap .img-placeholder {
        aspect-ratio: 16 / 7;
        min-height: unset;
    }

    .images-showcase .img-placeholder:first-child {
        grid-column: span 1;
    }

    .sub-hero {
        background-attachment: scroll;
    }

    .sub-hero h1 {
        font-size: 28px;
    }

    .sub-hero-inner {
        width: 85%;
    }
}

@media screen and (max-width: 600px) {

    .intro-section,
    .situations-section,
    .ablauf-section,
    .vorteile-section,
    .kontakt-section,
    .info-banner {
        padding-left: 6%;
        padding-right: 6%;
    }

    .sub-hero {
        height: 460px;
        margin-top: 110px;
    }

    .sub-hero h1 {
        font-size: 24px;
    }

    .sub-hero-inner {
        width: 100%;
        bottom: 0;
    }

    .images-showcase {
        grid-template-columns: 1fr;
    }

    .images-showcase .img-placeholder:first-child {
        grid-column: span 1;
    }
}