﻿:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --accent: #22c55e;
    --bg: #020617;
    --bg-alt: #020617;
    --surface: #020617;
    --surface-soft: #020617;
    --surface-card: rgba(15, 23, 42, 0.9);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: rgba(148, 163, 184, 0.3);
    --radius: 18px;
    --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.9);
    --max-width: 1120px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.16), transparent 60%),
        #020617;
    min-height: 100vh;
    line-height: 1.6;
}

/* Layout */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    padding: 5rem 0;
}

/* Top Bar */

.topbar {
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(14px);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 60%);
    color: var(--muted);
    font-size: 0.85rem;
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.topbar-phone {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-orb {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: conic-gradient(from 180deg, #0ea5e9, #22c55e, #a855f7, #0ea5e9);
    position: relative;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
}

.logo-orb::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: radial-gradient(circle at top left, #020617, #020617);
}

.brand-logo {
    display: block;
    height: 40px;
    width: auto;
}

.brand-text span {
    display: block;
    line-height: 1.2;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.02rem;
}

.brand-sub {
    font-size: 0.78rem;
    color: var(--muted);
}

.nav-toggle {
    display: none;
}

.nav {
    display: flex;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    align-items: center;
    font-size: 0.92rem;
}

.nav li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    position: relative;
    padding-bottom: 0.15rem;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.dropdown-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    color: var(--muted);
    padding: 0.2rem 0.45rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
    color: var(--text);
    border-color: var(--primary);
    outline: none;
}

.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown {
    display: none;
}

.has-dropdown.open .dropdown {
    display: block;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
    list-style: none;
    min-width: 240px;
}

.dropdown li a {
    display: block;
    padding: 0.5rem 0.9rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: radial-gradient(circle at top left, var(--primary), var(--accent));
    color: #0b1120;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.35);
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.9);
}

.btn-full {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Hero */

.hero {
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #020617;
    /* Fallback while poster loads */
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) brightness(0.65);
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.62)),
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 80% 15%, rgba(34, 197, 94, 0.16), transparent 52%);
    z-index: 1;
}

.hero-inner,
.hero-inner * {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: var(--muted);
    font-size: 0.75rem;
    margin-bottom: 0.9rem;
}

.hero-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero h1 {
    margin: 0 0 0.7rem;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
}

.hero-gradient-text {
    background: linear-gradient(120deg, #38bdf8, #a855f7, #22c55e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    margin: 0;
    color: var(--muted);
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.dot-divider {
    display: inline-flex;
    align-items: center;
}

.dot-divider::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-right: 0.6rem;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

/* Hero Visual */

.hero-visual {
    position: relative;
    min-height: 260px;
}

.hero-card {
    position: relative;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.98));
    border-radius: 26px;
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.4);
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.hero-card-title {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-chip {
    font-size: 0.74rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.6);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.hero-stat {
    font-size: 0.8rem;
}

.hero-stat-label {
    color: var(--muted);
}

.hero-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.hero-pill {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
}

/* Grid & Cards */

.grid {
    display: grid;
    gap: 1.6rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 2rem;
}

.service-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.92);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.2), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.95));
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.service-card .service-media {
    position: relative;
    min-height: 260px;
    display: grid;
    grid-template-rows: auto;
    place-items: start;
    padding: 0;
    z-index: 0;
}

.service-card .service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.6));
}

.service-media .service-tag {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.7rem;
    letter-spacing: 0.01em;
    color: #e7eef7;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.65));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    text-align: center;
    backdrop-filter: blur(6px);
}

.service-card .service-body {
    position: relative;
    padding: 1.1rem 1.2rem 1.3rem;
    z-index: 2;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.94));
    transition: transform 0.3s ease;
    flex: 1;
}

.service-card .service-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
    color: var(--text);
    hyphens: auto;
    overflow-wrap: break-word;
}

.service-card .service-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-body {
    transform: translateY(-2px);
}

.service-bau .service-media {
    background: url("../img/bauendreinigung.jpg") center/cover no-repeat;
}

.service-glas .service-media {
    background: url("../img/glasreinigung.jpg") center/cover no-repeat;
}

.service-ferien .service-media {
    background:
        linear-gradient(175deg, rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.9)),
        url("../img/ferien2.jpg") center/cover no-repeat;
}

.service-gebaeude .service-media {
    background: url("../img/gebaeudereinigung.jpg") center/cover no-repeat;
}

.service-treppen .service-media {
    background: url("../img/treppenreinigung.jpg") center/cover no-repeat;
}

.service-grund .service-media {
    background: url("../img/grundreinigung.jpg") center/cover no-repeat;
}

.glass-section {
    position: relative;
}

.glass-pane,
.image-pane {
    position: relative;
    padding: 1.8rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.glass-pane::before,
.image-pane::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.32;
    filter: saturate(1.05);
    z-index: 0;
}

.glass-pane::after,
.image-pane::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.65), rgba(2, 6, 23, 0.92));
    z-index: 1;
}

.glass-pane>*,
.image-pane>* {
    position: relative;
    z-index: 2;
}

.glass-pane::before {
    background: url("../img-icon-gif/card-glas.png") center/cover no-repeat;
}

.pane-bau::before {
    background: url("../img-icon-gif/card-bauend.png") center/cover no-repeat;
}

.pane-gebaeude::before {
    background: url("../img-icon-gif/card-gebaeude.png") center/cover no-repeat;
}

.pane-grund::before {
    background: url("../img-icon-gif/card-grund.jpg") center/cover no-repeat;
}

.pane-treppen::before {
    background: url("../img-icon-gif/card-treppen.jpg") center/cover no-repeat;
}

.pane-ferien::before {
    background: url("../img-icon-gif/ferien.jpg") center/cover no-repeat;
    opacity: 0.35;
}

.services-grid .card {
    position: relative;
    background: radial-gradient(circle at 25% 20%, rgba(56, 189, 248, 0.16), transparent 48%),
        radial-gradient(circle at 75% 10%, rgba(34, 197, 94, 0.14), transparent 42%),
        linear-gradient(175deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    overflow: hidden;
}

.services-grid .card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--radius) - 8px);
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.12), rgba(2, 6, 23, 0));
    pointer-events: none;
    z-index: 1;
}

.card-icon-glas {
    background: linear-gradient(185deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.86));
    border-color: rgba(148, 163, 184, 0.6);
}

.card-icon-glas::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../icon/glasreinigung.png") center/520px no-repeat;
    opacity: 0.35;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.card-icon-glas::after {
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.16), rgba(2, 6, 23, 0));
}

.card-icon-glas * {
    position: relative;
    z-index: 2;
}

.card-icon-glas.card-shell {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}

.card-icon-glas.card-shell p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: var(--muted);
}

.services-grid .card .icon-img {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 0.6rem;
    padding: 9px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.18), rgba(2, 6, 23, 0.6));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
    object-fit: contain;
}

.icons-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    justify-items: center;
    margin-top: 1.5rem;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    padding: 0.6rem;
    transition: var(--transition);
}

.icon-card:hover {
    transform: translateY(-4px);
}

.icon-ring {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.icon-card span {
    font-weight: 600;
}

.card .icon-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    padding: 8px;
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.card-split {
    display: grid;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.card-split .card-shell {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
}

.card-split .card-caption {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding-left: 0;
    text-align: center;
}

.icon-img-large {
    width: 82px;
    height: 82px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(148, 163, 184, 0.25) inset;
}

.card-icon-glas .icon-img-large {
    background: radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.22), rgba(2, 6, 23, 0.6));
}

.section h2 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
}

.section-subtitle {
    margin-top: 0;
    color: var(--muted);
    max-width: 36rem;
}

.card {
    background: rgba(15, 23, 42, 0.94);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.45);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    /* allow links/buttons inside the card to stay clickable */
}

.card:hover {
    transform: translateY(-4px) translateZ(0);
    border-color: rgba(56, 189, 248, 0.7);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.card .btn {
    position: relative;
    z-index: 1;
    /* keep CTA above decorative layers */
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

/* Two Column */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: flex-start;
}

/* Lists */

.icon-list {
    list-style: none;
    padding-left: 0;
    margin: 1.1rem 0 1.6rem;
}

.icon-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.icon-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--primary), var(--accent));
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin: 0.7rem 0 0;
}

.checklist li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.85rem;
    color: var(--accent);
}

/* Locations */

.locations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.7rem;
}

.locations span {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.82rem;
    color: var(--muted);
}

/* Testimonials */

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 2rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

.testimonial-name {
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.step {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius);
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.9rem;
}

.hero-leistungen {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--primary), var(--accent));
    color: #020617;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* FAQ */

.faq-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(30, 64, 175, 0.4);
    cursor: pointer;
}

.faq-item h3 {
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    display: none;
}

.faq-item.open p {
    display: block;
}

/* Kontaktformular */

.section-contact {
    padding: 5rem 0;
}

.contact-form {
    background: rgba(15, 23, 42, 0.98);
    border-radius: var(--radius);
    padding: 1.7rem;
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 0.9rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
    color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(30, 64, 175, 0.7);
    background: rgba(15, 23, 42, 0.95);
    background-image: linear-gradient(120deg, rgba(14, 165, 233, 0.06), rgba(34, 197, 94, 0.04));
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    caret-color: var(--primary);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.required-star {
    color: #ef4444;
}

.form-group textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 160px;
    padding-right: 1.4rem;
    /* Platz für schlanke Scrollbar */
}

.form-group select:invalid {
    color: var(--muted);
}

.form-group select option {
    color: var(--text);
}

.form-group select option[value=""] {
    color: var(--muted);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.4), 0 12px 35px rgba(14, 165, 233, 0.12);
}

.char-counter {
    position: absolute;
    right: 0.35rem;
    top: 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.3rem;
}

.form-check input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
}

.form-check a {
    color: var(--primary);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

/* Schlanke Scrollbar für Textarea (WebKit) */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 999px;
}

textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.6), rgba(34, 197, 94, 0.6));
    border-radius: 999px;
}



/* Page Header */

.page-header {
    padding: 3.8rem 0 2.2rem;
}

.page-header h1 {
    margin: 0 0 0.4rem;
    font-size: 1.9rem;
}

.breadcrumb {
    font-size: 0.78rem;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.service-page {
    position: relative;
    overflow: hidden;
}

.service-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.service-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) brightness(0.65);
}

.service-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.62)),
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 80% 15%, rgba(34, 197, 94, 0.16), transparent 52%);
    z-index: 1;
}

.service-hero-inner {
    position: relative;
    z-index: 2;
    padding: 3.5rem 0 2.8rem;
}

.service-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-page .breadcrumb {
    margin-bottom: 0.3rem;
}

/* Content */

.prose {
    max-width: 720px;
    font-size: 0.95rem;
    color: var(--muted);
}

.prose h2 {
    font-size: 1.2rem;
    margin-top: 1.7rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.prose p {
    margin-top: 0.3rem;
}

/* Footer */

.footer {
    border-top: 1px solid rgba(30, 64, 175, 0.7);
    margin-top: 4rem;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
    font-size: 0.85rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    padding-bottom: 1.4rem;
}

.footer h3,
.footer h4 {
    margin-top: 0;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--text);
}

.footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer li+li {
    margin-top: 0.3rem;
}

.field-error {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.4);
}


.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding-top: 0.8rem;
    text-align: center;
    color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {

    .header .btn {
        display: none !important;
    }

    .topbar {
        display: none !important;
    }

    .hero-stat-value {
        font-size: 0.85rem;
        /* Even smaller font for stats on mobile */
        line-height: 1.3;
        word-break: break-word;
        /* Prevent overflow if words are still too long */
    }

    .hero-inner,
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.5rem;
        padding-bottom: 3.2rem;
    }

    .hero-video video {
        filter: saturate(0.9) brightness(0.55);
        transform: scale(1.04);
    }

    .hero::after {
        background:
            linear-gradient(150deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.6)),
            radial-gradient(circle at 25% 15%, rgba(56, 189, 248, 0.15), transparent 55%),
            radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.12), transparent 52%);
    }

    .service-hero-inner {
        padding-bottom: 3rem;
    }

    .service-hero-video video {
        filter: saturate(0.9) brightness(0.55);
        transform: scale(1.04);
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        left: 1.5rem;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 16px;
        border: 1px solid rgba(148, 163, 184, 0.4);
        padding: 0.8rem 1rem 1rem;
    }

    .nav.open {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav li {
        width: 100%;
    }

    .dropdown-toggle {
        display: inline-flex;
        margin-left: auto;
        font-size: 0.85rem;
    }

    .has-dropdown.open .dropdown-toggle {
        transform: rotate(180deg);
    }

    .nav-toggle {
        display: inline-flex;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.6);
        background: transparent;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--muted);
    }

    .brand-logo {
        height: 32px;
        /* Smaller logo on mobile */
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .has-dropdown .dropdown,
    .has-dropdown.open .dropdown {
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0.2rem 0 0.4rem;
    }
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    /* Red border */
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.4);
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pane-entruempelung::before {
    background: url("../img/haus2.jpg") center/cover no-repeat;
}

.pane-garten::before {
    background: url("../img/garten2.jpg") center/cover no-repeat;
}

.service-entruempelung .service-media {
    background: url("../img/haus2.jpg") center/cover no-repeat;
}

.service-garten .service-media {
    background: url("../img/garten2.jpg") center/cover no-repeat;
}

.hero-leistungen {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* --- Premium Animations --- */

/* Base state for animated elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* State when element is in viewport */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements (optional utility) */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Scale Scale Effect */
.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Premium Mobile Typography Tweaks --- */
@media (max-width: 900px) {
    body {
        font-size: 16px;
        /* Slightly larger base size */
        line-height: 1.65;
    }

    .prose p {
        margin-bottom: 1.2rem;
        /* More breathing room */
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.75rem;
        /* Larger headings */
        margin-bottom: 0.8rem;
    }

    .card {
        padding: 1.5rem;
        /* More internal spacing */
    }

    .service-card .service-body {
        padding: 1.4rem;
    }
}