/* ============================================================
   GERMAN-SPOB – STARTSEITE: HERO UND VERTRAUENSLEISTE
   ============================================================ */

.hero,
.hero *,
.benefits,
.benefits * {
    box-sizing: border-box;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 475px;
    min-height: 230px;
    overflow: hidden;
    background-color: #e8e1d6;
    background-image: url("/images/hero/SL_Warnemuende_German-SPOB7.png");
    background-repeat: no-repeat;
    background-position: center 80%;
    background-size: 100% auto;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.hero__mobile-image {
    display: none;
}

.hero__content {
    width: min(440px, 50%);
    max-width: 100%;
    margin-left: 45%;
    padding: 0;
    transform: translateY(100px);
}

.hero__title {
    margin: 0;
    color: #f7f2e8;
    font-size: clamp(30px, 2.3vw, 35px);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    overflow-wrap: anywhere;
}

.hero__text {
    margin: 14px 0 0;
    color: #eee8dc;
    font-size: 15px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    overflow-wrap: anywhere;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero__actions .button {
    display: inline-flex;
    flex: 1 1 175px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 11px 18px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hero__actions .button--primary {
    color: #ffffff;
    background: rgba(20, 30, 40, 0.28);
    border: 3px solid #063b78;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero__actions .button--primary:hover {
    color: #ffffff;
    background: #063b78;
}

.hero__actions .button--secondary {
    color: #ffffff;
    background: rgba(20, 30, 40, 0.28);
    border: 3px solid #9a7b42;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero__actions .button--secondary:hover {
    color: #ffffff;
    background: #9a7b42;
}

/* Vertrauensleiste */
.benefits {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    height: auto;
    min-height: 58px;
}

.benefit {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 58px;
    height: auto;
    padding: 8px 22px;
    border-right: 1px solid var(--border-color);
}

.benefit:first-child {
    border-left: 1px solid var(--border-color);
}

.benefit__content {
    min-width: 0;
}

.benefit__icon,
.benefit__icon svg {
    display: block;
    width: 36px;
    height: 36px;
}

.benefit__icon {
    color: var(--spob-blue);
}

.benefit__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit__title {
    margin: 0;
    color: var(--spob-blue-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.benefit__text {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 1000px) {
    .hero__content {
        width: min(440px, 56%);
        margin-left: 40%;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit:nth-child(2) {
        border-right: 0;
    }

    .benefit:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border-color);
    }
}

/* Mobil */
@media (max-width: 760px) {
    .hero {
        height: auto;
        min-height: 440px;
        background-position: center center;
        background-size: cover;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.68) 100%
        );
        pointer-events: none;
    }

    .hero__inner {
        display: flex;
        align-items: flex-end;
        min-height: 440px;
        padding: 24px 16px;
    }

    .hero__content {
        width: 100%;
        max-width: 520px;
        margin: 0;
        padding: 0;
        transform: none;
    }

    .hero__title {
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.08;
    }

    .hero__text {
        font-size: 15px;
    }
}

@media (max-width: 580px) {
    .hero {
        min-height: 420px;
    }

    .hero__inner {
        min-height: 420px;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero__actions .button {
        width: 100%;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .benefit {
        width: 100%;
        min-height: 72px;
        padding: 10px 16px;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .benefit:first-child {
        border-left: 0;
    }

    .benefit:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border-color);
    }

    .benefit:last-child {
        border-bottom: 0;
    }
}

/* ============================================================
   TABLET: vollständiges Hero-Panorama ohne leere Fläche
   ============================================================ */

@media (min-width: 761px) and (max-width: 900px) {
    .hero {
        height: auto;
        min-height: 0;
        padding: 0;
        background-color: #13283f;
        background-image: none;
    }

    .hero::after {
        display: none;
    }

    .hero__mobile-image {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        margin: 0;
        object-fit: contain;
    }

    .hero__inner {
        display: block;
        min-height: 0;
        padding: 24px 28px 26px;
        background: linear-gradient(180deg, #263a4f 0%, #101c2a 100%);
    }

    .hero__content {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        padding: 0;
        transform: none;
        text-align: center;
    }

    .hero__title {
        font-size: 34px;
        line-height: 1.08;
    }

    .hero__text {
        font-size: 15px;
    }

    .hero__actions {
        justify-content: center;
        max-width: 560px;
        margin-right: auto;
        margin-left: auto;
    }
}

/* ============================================================
   HERO MOBIL: vollständiges Panorama, Text darunter
   ============================================================ */

@media (max-width: 760px) {
    .hero {
        height: auto;
        min-height: 0;
        padding-top: 0;
        background-color: #13283f;
        background-image: none;
    }

    .hero__mobile-image {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        margin: 0;
        object-fit: contain;
    }

    .hero::after {
        display: none;
    }

    .hero__inner {
        display: block;
        min-height: 0;
        padding: 22px 16px 24px;
        background: linear-gradient(180deg, #263a4f 0%, #101c2a 100%);
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        transform: none;
    }

    .hero__title {
        font-size: clamp(28px, 8.5vw, 38px);
        line-height: 1.08;
    }

    .hero__text {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 580px) {
    .hero,
    .hero__inner {
        min-height: 0;
    }

    .hero__actions {
        margin-top: 16px;
    }
}
