* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-dark: #08284a;
    --blue: #0b5fb3;
    --blue-light: #eaf4ff;
    --red: #A5000F;
    --white: #ffffff;
    --text: #152033;
    --muted: #5d697b;
    --border: #e6edf5;
    --shadow: 0 18px 45px rgba(8, 40, 74, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.narrow {
    max-width: 860px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 22px rgba(8, 40, 74, 0.08);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--blue-dark);
    text-transform: uppercase;
    line-height: 1.05;
}

.logo-img {
    width: 250px;
    object-fit: cover;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-light);
    font-size: 1.4rem;
}

.logo strong {
    display: block;
    font-size: 1.45rem;
    letter-spacing: 0.5px;
}

.logo small {
    display: block;
    font-weight: 800;
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 700;
    font-size: 0.94rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    position: relative;
}

.main-nav a:hover {
    color: var(--blue);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -27px;
    width: 0;
    height: 3px;
    background: var(--blue);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-call {
    min-width: 190px;
    padding: 12px 18px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 7px;
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 8px;
    align-items: center;
    box-shadow: 0 10px 22px rgba(227, 6, 19, 0.22);
}

.header-call span {
    grid-row: span 2;
    font-size: 1.35rem;
}

.header-call strong {
    font-size: 1.05rem;
    line-height: 1.1;
}

.header-call small {
    font-size: 0.76rem;
    opacity: 0.95;
}

/* Hero */

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 36%, rgba(255,255,255,0.85) 52%, rgba(255,255,255,0.05) 76%),
        radial-gradient(circle at 80% 40%, rgba(11, 95, 179, 0.18), transparent 34%),
        linear-gradient(135deg, #eef6ff, #ffffff);
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 42px;
}

.hero-content {
    padding: 76px 0;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}

.hero h1 {
    max-width: 560px;
    font-size: clamp(2.5rem, 6vw, 4.35rem);
    line-height: 0.98;
    color: var(--blue-dark);
    margin-bottom: 22px;
    letter-spacing: -2px;
}

.hero h1::first-line {
    color: var(--blue-dark);
}

.hero-text {
    max-width: 500px;
    color: #27344a;
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: #253246;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 7px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 14px 26px rgba(227, 6, 19, 0.25);
}

.btn-secondary {
    background: var(--blue-dark);
    color: var(--white);
}

.trust-note {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    font-weight: 700;
}

.trust-note::before {
    content: "🛡️";
    position: absolute;
    left: 0;
}

.hero-visual {
    min-height: 560px;
    align-self: stretch;
    position: relative;
    border-bottom-left-radius: 80px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.08) 30%),
        url("../images/firmenfahrzeug-sanitaer-notdienst-altona\ .webp") center / cover;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 40, 74, 0.2));
}

.emergency-badge {
    position: absolute;
    right: 34px;
    bottom: 60px;
    z-index: 3;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: grid;
    place-items: center;
    text-align: center;
    border: 6px solid rgba(255,255,255,0.72);
    box-shadow: var(--shadow);
    text-transform: uppercase;
}

.emergency-badge strong {
    font-size: 2.3rem;
    line-height: 1;
}

.emergency-badge span,
.emergency-badge small {
    display: block;
    font-weight: 900;
}

/* Services */

.services {
    margin-top: -44px;
    position: relative;
    z-index: 5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.service-card {
    padding: 34px 28px;
    min-height: 210px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.service-card:last-child {
    border-right: none;
}

.service-icon {
 width: 90px;
 object-fit: cover;
 margin: 0 auto;
}

.service-card h2 {
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

/* Area */

.area {
    padding: 84px 0;
    background: linear-gradient(180deg, #ffffff, #f4f9ff);
}

.area-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.area h2,
.seo-text h2,
.faq h2,
.contact h2 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.08;
    color: var(--blue-dark);
    margin-bottom: 20px;
}

.area-content p {
    color: var(--muted);
    margin-bottom: 22px;
}

.map-box {
    min-height: 390px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(234,244,255,0.88), rgba(234,244,255,0.88)),
        repeating-linear-gradient(45deg, #d7e7f8 0 2px, transparent 2px 28px),
        repeating-linear-gradient(-45deg, #d7e7f8 0 2px, transparent 2px 28px);
    box-shadow: var(--shadow);
}

.map-area {
    position: absolute;
    inset: 52px 84px 52px 90px;
    border: 3px solid var(--blue);
    background: rgba(11, 95, 179, 0.12);
    clip-path: polygon(12% 9%, 72% 4%, 88% 29%, 80% 78%, 37% 92%, 8% 72%);
    display: grid;
    place-items: center;
    text-transform: uppercase;
    color: var(--blue-dark);
    font-size: 1.45rem;
}

.map-pin {
    display: block;
    font-size: 2.4rem;
}

.area-card {
    position: absolute;
    right: 28px;
    bottom: 28px;
    max-width: 255px;
    padding: 22px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(8, 40, 74, 0.14);
}

.area-card h3 {
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.area-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

/* Steps */


.step h3 {
font-size: 1.3rem;
letter-spacing: 1px;
}

.steps {
    padding: 48px 0 58px;
    background: linear-gradient(135deg, #08284a, #003d78);
    color: var(--white);
}

.steps h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 34px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: center;
}

.steps-grid article {
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 18px;
    align-items: center;
}

.steps-grid span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 900;
}

.steps-grid h3 {
    margin-bottom: 4px;
}

.steps-grid p {
    color: rgba(255,255,255,0.82);
}

/* SEO, FAQ, Contact */

.seo-text {
    padding: 70px 0;
    text-align: center;
    background: #f8fbff;
}

.seo-text p {
    color: var(--muted);
    margin-bottom: 18px;
}

.keyword-links {
    color: var(--blue);
    font-weight: 700;
}

.faq {
    padding: 74px 0;
    background: var(--white);
}

.faq details {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: 0 6px 14px rgba(8, 40, 74, 0.04);
}

.faq summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--blue-dark);
}

.faq p {
    margin-top: 12px;
    color: var(--muted);
}

.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--blue-light), #ffffff);
}

.contact-box {
    padding: 46px;
    background: var(--white);
    text-align: center;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* Footer */

.site-footer {
    padding: 52px 0 24px;
    background: #06213d;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.75fr 1fr 0.75fr;
    gap: 34px;
}

.footer-logo {
    color: var(--white);
}

.site-footer h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.site-footer a {
    display: block;
    text-decoration: none;
    color: rgba(255,255,255,0.82);
    margin-bottom: 7px;
}

.site-footer p {
    color: rgba(255,255,255,0.82);
    margin-bottom: 7px;
}

.copyright {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.14);
    text-align: center;
    color: rgba(255,255,255,0.68);
    font-size: 0.9rem;
}

/* Impressum*/
.legal-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Responsive */

@media (max-width: 1050px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .area-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        background: linear-gradient(180deg, #ffffff, #eef6ff);
    }

    .hero-visual {
        min-height: 430px;
        border-radius: 24px;
        margin-bottom: 40px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
    }

    .header-call {
        min-width: auto;
        padding: 10px 12px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-call span,
    .header-call small {
        display: none;
    }

    .logo strong {
        font-size: 1rem;
    }

    .logo small {
        font-size: 0.65rem;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-content {
        padding: 54px 0 28px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .service-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .area {
        padding: 58px 0;
    }

    .map-box {
        min-height: 320px;
    }

    .map-area {
        inset: 36px 28px 96px 28px;
    }

    .area-card {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }

    .contact-box {
        padding: 32px 22px;
    }
}
