/* =====================================================
TOWNWORK STANDORTE CONTENT
Datei: standorte-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 14px 34px rgba(13, 79, 147, 0.13);
}

* {
    box-sizing: border-box;
}

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

.standorte-page {
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 8%, rgba(13, 79, 147, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

/* HERO */

.locations-hero {
    padding: 62px 0 34px;
    background: linear-gradient(90deg, #ffffff 0%, #fbfdff 52%, #eef5ff 100%);
}

.locations-hero-inner {
    width: min(1220px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 455px;
    gap: 56px;
    align-items: start;
}

.locations-intro h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 4.4vw, 62px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.8px;
    color: var(--tw-blue-dark);
}

.locations-intro p {
    max-width: 700px;
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
    color: #162f50;
}

.locations-feature-row {
    margin-top: 78px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
}

.locations-feature {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.locations-feature-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    box-shadow: 0 8px 22px rgba(7, 53, 104, 0.10);
}

.locations-feature-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.locations-feature strong {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 900;
    color: var(--tw-blue-dark);
}

.locations-map {
    min-height: 285px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locations-map img {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* LOCATION CARDS */

.locations-list {
    padding: 18px 0 32px;
}

.locations-list-inner {
    width: min(1220px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.location-detail-card {
    position: relative;
    overflow: hidden;
    min-height: 392px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--tw-border);
    border-radius: 8px;
    box-shadow: var(--tw-shadow-soft);
}

.location-image {
    height: 136px;
    overflow: hidden;
    background: #eaf1f7;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-card-icon {
    position: absolute;
    left: 22px;
    top: 106px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(7, 53, 104, 0.12);
}

.location-card-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.location-card-body {
    flex: 1;
    padding: 46px 24px 18px;
    display: flex;
    flex-direction: column;
}

.location-card-body h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--tw-blue-dark);
}

.location-description {
    min-height: 44px;
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    color: #263a50;
}

.location-card-body ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.location-card-body li {
    position: relative;
    padding-left: 22px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    color: #31465c;
}

.location-card-body li::before {
    content: '⊙';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--tw-orange);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.location-button {
    min-height: 35px;
    margin-top: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 1px solid #245892;
    border-radius: 5px;
    color: var(--tw-blue-dark);
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    background: #ffffff;
}

.location-button span {
    font-size: 17px;
}

.planned-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    padding: 8px 13px;
    border-radius: 5px;
    background: var(--tw-blue-dark);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.location-card-planned .location-image img {
    filter: grayscale(25%) saturate(70%);
    opacity: .62;
}

.location-card-planned .location-card-body,
.location-card-planned .location-card-body h2,
.location-card-planned .location-description,
.location-card-planned li {
    color: #637289;
}

.location-card-planned .location-card-icon {
    opacity: .88;
}

.location-card-planned li::before {
    color: #95a3b6;
}

.location-button.disabled {
    border-color: #b9c4d3;
    color: #ffffff;
    background: #aeb8c8;
    cursor: default;
}

/* TRUST BAR */

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

.locations-trustbar-inner {
    width: min(1220px, calc(100% - 72px));
    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);
}

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

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

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

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

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

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

/* RESPONSIVE */

@media (max-width: 1180px) {
    .locations-hero-inner,
    .locations-list-inner,
    .locations-trustbar-inner {
        width: min(100% - 44px, 980px);
    }

    .locations-hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .locations-feature-row {
        margin-top: 44px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .locations-map {
        min-height: auto;
    }

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

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

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

@media (max-width: 680px) {
    .locations-hero {
        padding: 42px 0 28px;
    }

    .locations-hero-inner,
    .locations-list-inner,
    .locations-trustbar-inner {
        width: min(100% - 30px, 520px);
    }

    .locations-feature-row,
    .locations-list-inner,
    .locations-trustbar-inner {
        grid-template-columns: 1fr;
    }

    .locations-feature-row {
        gap: 18px;
    }

    .location-detail-card {
        min-height: auto;
    }
}
