﻿
:root {
    --bg-main: #0f172a;
    --bg-section: #020617;
    --bg-card: rgba(15, 23, 42, 0.96);
    --bg-card-soft: rgba(15, 23, 42, 0.88);
    --primary: #38bdf8; /* cyan */
    --primary-soft: rgba(56, 189, 248, 0.15);
    --accent: #22c55e; /* green */
    --accent-soft: rgba(34, 197, 94, 0.18);
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.3);
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.65);
    --shadow-light: 0 10px 30px rgba(15, 23, 42, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #0b1120, #020617 52%, #000000);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* Topbar */

.topbar {
    background: linear-gradient(90deg, #0b1120, #022c22);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    gap: 0.8rem;
}

.topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #e5e7eb;
}

.topbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}

.topbar-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-link {
    color: inherit;
    text-decoration: none;
}

    .topbar-link:hover {
        text-decoration: underline;
    }

/* Tooltip (Standard: dunkel) */
.topbar-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 140%; /* unterhalb anzeigen */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 23, 42, 0.95);
    color: #fff;
    text-align: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

    /* Pfeil oben am Tooltip */
    .topbar-tooltip::after {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
    }

/* Tooltip anzeigen bei Hover */
.has-tooltip:hover .topbar-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(3px);
}

/* WhatsApp-Tooltip: grün */
.topbar-item--whatsapp .topbar-tooltip {
    background-color: #16a34a;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.6);
}

    .topbar-item--whatsapp .topbar-tooltip::after {
        border-color: #16a34a transparent transparent transparent;
    }

/* Header / Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

    .site-header.is-scrolled {
        box-shadow: var(--shadow-light);
        transform: translateY(0);
        background: rgba(15, 23, 42, 0.98);
    }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-logo {
    width: 44px; /* adjust if needed */
    height: 44px;
    border-radius: 999px;
    /*background-image: url("/images/logo-suedwest.png");*/
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 0 0 6px rgba(56,189,248,0.18);
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    font-size: 0.95rem;
}

    .main-nav a {
        position: relative;
        color: var(--text-muted);
        padding-bottom: 0.15rem;
        transition: color 0.18s ease;
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -0.1rem;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transition: width 0.18s ease;
        }

        .main-nav a:hover {
            color: #e5e7eb;
        }

            .main-nav a:hover::after {
                width: 100%;
            }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #020617;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

    .btn-primary:hover {
        box-shadow: 0 16px 40px rgba(34, 197, 94, 0.5);
    }

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--text);
}

    .btn-outline:hover {
        border-color: var(--primary);
        background: rgba(15, 23, 42, 0.9);
    }

.btn-ghost {
    background: rgba(15, 23, 42, 0.65);
    border-color: transparent;
    color: var(--text-muted);
}

    .btn-ghost:hover {
        background: rgba(15, 23, 42, 0.9);
        color: #e5e7eb;
    }

/* Mobile nav */

.nav-toggle {
    display: none;
    border: none;
    background: none;
    padding: 0.3rem;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 4px 0;
        border-radius: 999px;
        background: #e5e7eb;
    }

/* Main */

.site-main {
    padding-bottom: 3rem;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
}

/*.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 55%), radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.2), transparent 60%), linear-gradient(135deg, #020617, #0b1120 50%, #020617);
    mix-blend-mode: screen;
    pointer-events: none;
}*/

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 55%), radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.28), transparent 60%), linear-gradient(135deg, rgba(2, 6, 23, 0.90), rgba(15, 23, 42, 0.96)), url("/images/Pic1.jpg"); /* dein Bild */
    background-size: 60% 60%, 70% 70%, cover, cover;
    background-position: top left, bottom right, center, center;
    background-repeat: no-repeat;
    background-blend-mode: screen, screen, multiply, normal;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 3.2rem 0 2.8rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.05fr);
    gap: 2.6rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.2rem, 3.2vw, 2.9rem);
    margin: 0.7rem 0 0.8rem;
}

.hero-text {
    max-width: 36rem;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-badge {
    margin-top: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.35);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-panel {
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.7rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%), radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.14), transparent 55%), var(--bg-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

    .hero-panel h3 {
        margin-top: 0;
    }

    .hero-panel ul {
        margin: 0.7rem 0 0;
        padding: 0;
        list-style: none;
    }

    .hero-panel li {
        position: relative;
        padding-left: 1.4rem;
        margin-bottom: 0.45rem;
        font-size: 0.9rem;
        color: var(--text-muted);
    }

        .hero-panel li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.35rem;
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: radial-gradient(circle, var(--accent), var(--primary));
        }

/* Sections */

.section {
    padding: 2.6rem 0 2.2rem;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Cards & grids */

.card-grid {
    display: grid;
    gap: 1.6rem;
}

.card-grid--2 {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
    .card-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    background: var(--bg-card-soft);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-light);
}

    .card h3 {
        margin-top: 0;
    }

    .card p {
        font-size: 0.94rem;
        color: var(--text-muted);
    }

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
}

    .bullet-list li {
        position: relative;
        padding-left: 1.2rem;
        margin-bottom: 0.3rem;
        font-size: 0.93rem;
        color: var(--text-muted);
    }

        .bullet-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary);
        }

/* Contact layout */

.contact-layout {
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr);
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.85rem;
}

    .form-field label {
        font-size: 0.82rem;
        font-weight: 600;
        margin-bottom: 0.2rem;
        color: var(--text-muted);
    }

    .form-field input,
    .form-field textarea,
    .form-field select {
        border-radius: 12px;
        border: 1px solid rgba(75, 85, 99, 0.7);
        background: rgba(15, 23, 42, 0.95);
        color: var(--text);
        padding: 0.55rem 0.75rem;
        font: inherit;
        resize: vertical;
    }

        .form-field input::placeholder,
        .form-field textarea::placeholder {
            color: rgba(148, 163, 184, 0.7);
        }

        .form-field input:focus,
        .form-field textarea:focus,
        .form-field select:focus {
            outline: 2px solid var(--primary-soft);
            border-color: var(--primary);
        }

/* Footer */

.site-footer {
    margin-top: 2.8rem;
    border-top: 1px solid rgba(15, 23, 42, 1);
    background: radial-gradient(circle at top, #020617, #000000);
}

.footer-inner {
    display: grid;
    gap: 1.6rem;
    padding: 2.1rem 0 1.5rem;
}

@media (min-width: 900px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.4rem;
    }

    .footer-links a {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

        .footer-links a:hover {
            color: #e5e7eb;
        }

.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding: 0.7rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Reveal animation (used with JS) */

.js-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .js-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */

@media (max-width: 1024px) {
    .header-inner {
        padding: 0.6rem 0;
    }
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.8rem;
    }

    .main-nav {
        position: absolute;
        right: 1rem;
        top: 64px;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem 1.1rem;
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(148, 163, 184, 0.45);
        min-width: 180px;
        display: none;
    }

        .main-nav.open {
            display: flex;
        }

    .nav-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-inner {
        padding-top: 2.4rem;
        padding-bottom: 2.3rem;
    }
}
/* Service cards with background images */
.card-service {
    position: relative;
    overflow: hidden;
}

    /* Bild-Ebene */
    .card-service::before {
        content: "";
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.35; /* Stärke des Fotos */
        transform: scale(1.04);
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: 0;
    }
   
    /* dunkler Overlay für Lesbarkeit */
    .card-service::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.45) );
        z-index: 1;
    }

    /* Text über dem Bild */
    .card-service > * {
        position: relative;
        z-index: 2;
    }

    /* kleine Hover-Animation */
    .card-service:hover::before {
        opacity: 0.5;
        transform: scale(1.02);
    }

/* specific images per card */
.card-service--gebaeude::before {
    background-image: url("/images/Gebaeudereinigung.jpg");
}

.card-service--teppich::before {
    background-image: url("/images/TeppichPic.jpg");
}

.card-service--winter::before {
    background-image: url("/images/Schnee.jpg");
}

.card-service--gruen::before {
    background-image: url("/images/Gartenpflege.jpg");
}

.contact-side .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

@media (min-width: 640px) {
    .contact-side .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.map-wrapper {
    margin-top: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

    .map-wrapper iframe {
        width: 100%;
        min-height: 220px;
        border: 0;
    }


.topbar-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Tooltips – wir unterstützen beide Klassennamen:
   .tooltip-text  UND  .topbar-tooltip  */
.tooltip-text,
.topbar-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 140%; /* unterhalb anzeigen */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 23, 42, 0.95);
    color: #fff;
    text-align: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

    /* Pfeil */
    .tooltip-text::after,
    .topbar-tooltip::after {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
    }

/* Hover zeigt Tooltip */
.has-tooltip:hover .tooltip-text,
.has-tooltip:hover .topbar-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(3px);
}

/* WhatsApp-Tooltip grün */
.topbar-item--whatsapp .tooltip-text,
.topbar-item--whatsapp .topbar-tooltip {
    background-color: #16a34a;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.6);
}

    .topbar-item--whatsapp .tooltip-text::after,
    .topbar-item--whatsapp .topbar-tooltip::after {
        border-color: #16a34a transparent transparent transparent;
    }
