/* =====================================================
TOWNWORK STARTSEITE CONTENT
Datei: startseite-content.css
===================================================== */

:root {
    --tw-blue: #0d4f93;
    --tw-blue-dark: #073568;
    --tw-orange: #ff7417;
    --tw-orange-dark: #e65e08;
    --tw-text: #0b2442;
    --tw-muted: #3c4d5e;
    --tw-border: #d8e2ee;
    --tw-white: #ffffff;
    --tw-shadow-soft: 0 12px 32px rgba(13, 79, 147, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--tw-text);
    background: #ffffff;
}

.tw-home-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

/* HERO */

.home-hero {
    position: relative;
    min-height: 475px;
    border-top: 3px solid var(--tw-orange);
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 42%, #edf4fb 100%);
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.home-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.96) 25%, rgba(255,255,255,.78) 43%, rgba(255,255,255,.18) 68%, rgba(255,255,255,0) 100%);
}

.home-hero-bg img {
    width: 68%;
    min-width: 780px;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 64px));
    min-height: 475px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    align-items: center;
}

.home-hero-content {
    padding: 42px 0 68px;
}

.home-hero-content h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 4.3vw, 42px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -1.8px;
    color: var(--tw-blue-dark);
}

.home-price {
    margin: 0 0 8px;
    font-size: clamp(25px, 2.5vw, 36px);
    line-height: 1.1;
    font-weight: 900;
    color: var(--tw-orange);
}

.home-subline {
    margin: 0 0 17px;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.35;
    font-weight: 700;
    color: #1f2f40;
}

.home-checklist {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.home-checklist li {
    position: relative;
    padding-left: 34px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    color: #2e3d4c;
}

.home-checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: -2px;
    color: #2db734;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.home-primary-btn,
.home-secondary-btn {
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
}

.home-primary-btn {
    color: #ffffff;
    background: linear-gradient(180deg, #ff8425 0%, var(--tw-orange-dark) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 4px 9px rgba(230, 94, 8, .32);
}

.home-secondary-btn {
    min-width: 190px;
    color: var(--tw-blue-dark);
    background: rgba(255,255,255,.84);
    border: 2px solid #285f9d;
}

.home-price-card {
    width: 250px;
    justify-self: end;
    margin-top: 42px;
    padding: 24px 18px 14px;
    text-align: center;
    background: rgba(255,255,255,.94);
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 11px;
    box-shadow: 0 12px 26px rgba(7, 53, 104, .24);
}

.home-price-card strong,
.home-price-card span,
.home-price-card b,
.home-price-card small {
    display: block;
}

.home-price-card strong {
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--tw-orange);
}

.home-price-card span {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    color: #273747;
}

.home-price-card b {
    margin: 5px 0 8px;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    color: var(--tw-orange);
}

.home-price-card small {
    margin-top: 18px;
    padding: 10px 12px;
    border-radius: 5px;
    background: var(--tw-blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.home-price-card small::before {
    content: '✔ ';
}

/* STEPS GRAFIK */

.home-steps-image-section {
    position: relative;
    z-index: 4;
    margin-top: 0;
    padding: 0;
    background: transparent;
}

.home-steps-image-inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.home-steps-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(13, 79, 147, 0.12));
}

/* LOCATIONS */

.home-locations {
    padding: 20px 0 24px;
}

.home-section-inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.home-section-inner h2 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
    color: var(--tw-blue-dark);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.location-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--tw-border);
    border-radius: 8px;
    box-shadow: var(--tw-shadow-soft);
}

.location-card > img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    display: block;
    background: #eaf1f7;
}

.location-card-body {
    padding: 15px 20px 15px;
}

.location-card h3 {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--tw-orange);
}

.location-card p {
    min-height: 46px;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: #2d3c4b;
}

.location-card a {
    min-height: 32px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #245892;
    border-radius: 5px;
    color: var(--tw-blue-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

/* TRUST BAR */

.home-trustbar {
    padding: 0 0 54px;
}

.home-trustbar-inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #ffffff;
    border: 1px solid var(--tw-border);
    border-radius: 10px;
    box-shadow: var(--tw-shadow-soft);
}

.home-trust-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.home-trust-item:not(:last-child) {
    border-right: 1px solid var(--tw-border);
    padding-right: 16px;
}

.home-trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.home-trust-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.home-trust-item h3 {
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    color: var(--tw-orange);
}

.home-trust-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    color: #2d3c4b;
}

/* RESPONSIVE */

@media (max-width: 1160px) {

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

    .steps-flow {
        flex-wrap: wrap;
    }

    .location-grid,
    .home-trustbar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-trust-item:not(:last-child) {
        border-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 860px) {
    .home-hero-inner,
    .home-section-inner,
    .home-steps-image-inner,
    .home-trustbar-inner {
        width: min(100% - 34px, 720px);
    }

    .home-hero-inner {
        min-height: auto;
        padding: 42px 0 90px;
        grid-template-columns: 1fr;
    }

    .home-hero-content {
        padding: 0;
    }

    .home-price-card {
        justify-self: start;
        margin-top: 0;
    }

    .home-hero-bg img {
        width: 100%;
        min-width: 0;
        opacity: .32;
    }

    .home-hero-bg::before {
        background: rgba(255,255,255,.82);
    }

    .home-steps-image-section {
        margin-top: -58px;
    }
}

@media (max-width: 620px) {
    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-primary-btn,
    .home-secondary-btn {
        width: 100%;
    }

    .home-steps-image-section {
        margin-top: -34px;
        padding-bottom: 18px;
    }

    .home-steps-image-inner {
        width: min(100% - 24px, 520px);
    }

    .location-grid,
    .home-trustbar-inner {
        grid-template-columns: 1fr;
    }
}
