/* ============================================================
   clean-city – Stylesheet
   Farben: Türkis (#0FB5B5), Weiß, dezentes Grau
   ============================================================ */

:root {
    --color-primary:       #0FB5B5;
    --color-primary-dark:  #0C9494;
    --color-primary-light: #E5F7F7;
    --color-dark:          #22333B;
    --color-text:          #3D4B53;
    --color-muted:         #6B7A83;
    --color-gray-bg:       #F4F7F8;
    --color-border:        #E1E8EA;
    --color-white:         #FFFFFF;
    --shadow-soft:         0 6px 24px rgba(34, 51, 59, 0.08);
    --shadow-hover:        0 12px 32px rgba(34, 51, 59, 0.14);
    --radius:              12px;
    --container:           1160px;
    --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    color: var(--color-dark);
    line-height: 1.25;
    margin: 0 0 0.6em;
    font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { padding-left: 1.2em; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 0.6rem 1rem;
    z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 181, 181, 0.35);
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: transparent;
}
.btn-outline:hover { background: var(--color-primary-light); }

.btn-light {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-soft);
}
.btn-light:hover { background: var(--color-primary-light); }

.btn-small { padding: 0.55rem 1.3rem; font-size: 0.95rem; }

/* ---------- Header / Navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-img { height: 56px; width: auto; display: block; }

.logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}
.logo-accent { color: var(--color-primary); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a:not(.btn) {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:not(.btn):hover,
.main-nav a.active {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    color: #fff;
    background: linear-gradient(115deg, rgba(9, 60, 63, 0.88) 0%, rgba(12, 148, 148, 0.72) 60%, rgba(15, 181, 181, 0.55) 100%),
                url('../img/hero-cleaning.jpg') center / cover no-repeat;
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero-content { max-width: 640px; }

.hero h1 { color: #fff; margin-bottom: 0.5em; }

.hero .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.8em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Sections ---------- */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-gray { background: var(--color-gray-bg); }

.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-head .kicker {
    display: inline-block;
    color: var(--color-primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ---------- Trust badges ---------- */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
}
.trust-icon svg { width: 26px; height: 26px; }

.trust-item h3 { font-size: 1.05rem; margin-bottom: 0.25em; }
.trust-item p { font-size: 0.95rem; color: var(--color-muted); margin: 0; }

/* ---------- Cards (Leistungen) ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.card img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--color-muted); font-size: 0.97rem; flex: 1; }

.card-link {
    font-weight: 600;
    color: var(--color-primary-dark);
}
.card-link::after { content: ' →'; }

/* ---------- Leistungen Detail ---------- */

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-bottom: 1px solid var(--color-border);
    scroll-margin-top: 90px;
}
.service-detail:last-of-type { border-bottom: none; }

.service-detail img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.service-detail.reverse img { order: 2; }

.service-detail ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.service-detail ul li {
    padding-left: 1.8em;
    position: relative;
    margin-bottom: 0.45em;
}
.service-detail ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ---------- CTA-Band ---------- */

.cta-band {
    background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.9); }

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ---------- Über uns ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about-grid img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.stat {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    padding: 1.6rem 1rem;
}
.stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    display: block;
}
.stat .stat-label { color: var(--color-muted); font-size: 0.95rem; }

/* ---------- Formulare ---------- */

.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-field { display: flex; flex-direction: column; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--color-dark);
}
.form-field label .required { color: var(--color-primary-dark); }

.form-field input,
.form-field select,
.form-field textarea {
    font: inherit;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-gray-bg);
    color: var(--color-text);
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
}

.form-check {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: var(--color-muted);
}
.form-check input {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.form-actions { grid-column: 1 / -1; }

.form-note { font-size: 0.88rem; color: var(--color-muted); margin-top: 0.8rem; }

/* Honeypot-Feld unsichtbar verstecken */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.alert-success {
    background: #E7F8EF;
    color: #14683C;
    border: 1px solid #BDE8D0;
}
.alert-error {
    background: #FDECEC;
    color: #97302B;
    border: 1px solid #F5C6C4;
}

/* ---------- Kontakt-Info ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.info-card {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius);
    padding: 2rem;
}
.info-card h3 { color: #fff; }
.info-card a { color: var(--color-primary); }
.info-card address { font-style: normal; line-height: 1.9; }
.info-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 1.4rem 0; }

/* ---------- Jobs ---------- */

.job-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}
.job-card h3 { margin-bottom: 0.4em; }
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.job-tag {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.25rem 0.85rem;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: clamp(2.5rem, 6vw, 4rem);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    margin-bottom: 0.6rem;
}
.footer-logo img { height: 52px; width: auto; }

.footer-col h3 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li { margin-bottom: 0.5em; }

.footer-col a { color: rgba(255, 255, 255, 0.75); }
.footer-col a:hover { color: var(--color-primary); }

.footer-col address { font-style: normal; line-height: 1.9; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p { margin: 0; font-size: 0.88rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.75); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ---------- Rechtstexte ---------- */

.legal-content { max-width: 800px; }
.legal-notice {
    background: #FFF7E6;
    border: 1px solid #F1E0B8;
    color: #7A5C1E;
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

/* ---------- Page-Hero (Unterseiten) ---------- */

.page-hero {
    background: linear-gradient(120deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: rgba(255, 255, 255, 0.88); max-width: 680px; margin: 0; font-size: 1.1rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .contact-layout,
    .about-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid img { height: 300px; }

    .service-detail { grid-template-columns: 1fr; }
    .service-detail.reverse img { order: 0; }
    .service-detail img { height: 240px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-soft);
        display: none;
    }
    .main-nav.open { display: block; }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1.25rem;
    }
    .main-nav li { border-bottom: 1px solid var(--color-border); }
    .main-nav li:last-child { border-bottom: none; }
    .main-nav a:not(.btn) {
        display: block;
        padding: 0.9rem 0;
        border-bottom: none;
    }
    .nav-cta { padding-top: 0.9rem; }

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

    .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    body { font-size: 1rem; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
