/* ==========================================================================
   Spacaj Gebäudeservice – Theme
   Farben, Schriften und Abstände zentral über die Variablen anpassen.
   ========================================================================== */
:root {
    --navy:        #0c2340;
    --navy-2:      #133257;
    --navy-3:      #1d4673;
    --accent:      #19c3b1;
    --accent-2:    #0ea5e9;
    --accent-dark: #0f9e8f;
    --sun:         #ffc857;
    --ink:         #14213d;
    --muted:       #5b6b82;
    --soft:        #f3f7fb;
    --line:        #e3eaf2;
    --white:       #ffffff;
    --radius:      18px;
    --radius-lg:   28px;
    --shadow-sm:   0 4px 14px rgba(12, 35, 64, .06);
    --shadow:      0 18px 40px -18px rgba(12, 35, 64, .28);
    --shadow-lg:   0 30px 70px -25px rgba(12, 35, 64, .45);
    --gradient:    linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    --font-head:   'Outfit', system-ui, sans-serif;
    --font-body:   'Manrope', system-ui, sans-serif;
    --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
::selection { background: var(--accent); color: #fff; }
.text-muted-2 { color: var(--muted); }
.lead-text { font-size: 1.1rem; color: var(--muted); line-height: 1.8; }
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
#typed::after { content: '|'; -webkit-text-fill-color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Preloader ---------- */
#preloader {
    position: fixed; inset: 0; z-index: 9999; background: var(--navy);
    display: grid; place-items: center; transition: opacity .5s, visibility .5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-drop { font-size: 3rem; color: var(--accent); animation: drop 1.1s var(--ease) infinite; }
@keyframes drop { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.1); } }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem; transition: all .3s var(--ease); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn i { margin-right: .25rem; }
.btn .bi-arrow-right { margin: 0 0 0 .35rem; transition: transform .3s; }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn-accent {
    background: var(--gradient); color: #fff; border: 0;
    box-shadow: 0 12px 26px -12px rgba(25, 195, 177, .8);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(14, 165, 233, .8); }
.btn-primary-dark { background: var(--navy); color: #fff; border: 0; }
.btn-primary-dark:hover { background: var(--navy-3); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Topbar & Navigation ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: .85rem; padding: .55rem 0; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--accent); margin-right: .3rem; }
.badge-emergency { background: rgba(255, 200, 87, .14); color: var(--sun); padding: .2rem .7rem; border-radius: 999px; font-weight: 700; }
.badge-emergency i { color: var(--sun); }

.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); padding: 1rem 0; transition: all .35s var(--ease); border-bottom: 1px solid transparent; }
.site-nav.scrolled { padding: .55rem 0; box-shadow: var(--shadow-sm); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    background: var(--gradient); color: #fff; font-size: 1.3rem; box-shadow: 0 8px 18px -8px rgba(25,195,177,.9);
    transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.6); }

.site-nav .nav-link { font-weight: 600; color: var(--ink); padding: .5rem .9rem !important; position: relative; }
.site-nav .nav-link::after {
    content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px;
    background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--navy); }
.site-nav .dropdown-toggle::after { display: none; }

.navbar-toggler { border: 0; padding: .4rem; display: flex; flex-direction: column; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.toggler-bar:nth-child(2) { width: 18px; margin-left: auto; }

.mega-menu {
    border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; min-width: 520px;
    margin-top: .6rem !important; animation: fadeDown .25s var(--ease);
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega-menu .dropdown-header { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--accent-dark); }
.mega-menu .dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-weight: 600; color: var(--ink); }
.mega-menu .dropdown-item i { color: var(--accent); margin-right: .5rem; width: 18px; display: inline-block; }
.mega-menu .dropdown-item:hover { background: var(--soft); color: var(--navy); }
.mega-footer { border-top: 1px solid var(--line); padding: .7rem 1rem .4rem; margin-top: .3rem; }
.mega-footer a { font-weight: 700; font-size: .9rem; }

@media (min-width: 992px) {
    .dropdown-hover:hover > .dropdown-menu { display: block; }
    .dropdown-hover > .dropdown-menu { top: 100%; }
    .site-nav .offcanvas { visibility: visible !important; }
}
@media (max-width: 991.98px) {
    .mega-menu { min-width: 0; box-shadow: none; padding: 0; background: var(--soft); }
    .offcanvas { max-width: 330px; }
    .site-nav .nav-link::after { display: none; }
}

/* ---------- Eyebrow & Section ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark);
    background: rgba(25, 195, 177, .1); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow-light { color: var(--accent); background: rgba(25,195,177,.14); }
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.75); overflow: hidden; }
.section-dark::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(25,195,177,.18), transparent 70%); top: -250px; right: -200px;
}
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; margin-bottom: 1rem; }
.section-head { max-width: 680px; margin: 0 auto 3.2rem; }
.section-head:not(.text-center) { margin-left: 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: rgba(255,255,255,.8);
    padding: 110px 0 140px;
    background:
        radial-gradient(1000px 500px at 85% 10%, rgba(14,165,233,.28), transparent 60%),
        radial-gradient(800px 500px at 0% 100%, rgba(25,195,177,.22), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
    background: #fff; clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.hero .eyebrow { background: rgba(255,255,255,.08); color: var(--accent); border: 1px solid rgba(255,255,255,.12); }
.hero-title { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.4rem; }
.hero-lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 2.2rem; line-height: 1.75; }
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; }
.hero-trust small { color: rgba(255,255,255,.65); }
.avatars { display: flex; }
.avatars span {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    font-weight: 800; font-size: .8rem; color: var(--navy); border: 3px solid var(--navy-2); margin-left: -10px;
    background: linear-gradient(135deg, #d9f7f3, #bfe9ff);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:last-child { background: var(--gradient); color: #fff; }
.stars { color: var(--sun); font-size: .9rem; letter-spacing: 2px; }

/* Deko-Formen */
.hero-shapes span { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.hero-shapes span:nth-child(1) { width: 520px; height: 520px; top: -180px; left: -160px; animation: spin 40s linear infinite; border-style: dashed; }
.hero-shapes span:nth-child(2) { width: 300px; height: 300px; bottom: 40px; right: 6%; animation: float 9s ease-in-out infinite; }
.hero-shapes span:nth-child(3) { width: 14px; height: 14px; background: var(--accent); border: 0; top: 30%; left: 48%; animation: float 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Seifenblasen */
.bubbles span {
    position: absolute; bottom: -60px; left: calc(var(--i) * 8.3%);
    width: calc(10px + var(--i) * 2px); height: calc(10px + var(--i) * 2px); border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,.05) 60%);
    border: 1px solid rgba(255,255,255,.2);
    animation: bubble calc(9s + var(--i) * .7s) linear infinite; animation-delay: calc(var(--i) * -1.3s);
}
@keyframes bubble {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(25px, -50vh); }
    100% { transform: translate(-15px, -100vh); opacity: 0; }
}

/* Hero Visual */
.hero-visual { position: relative; max-width: 500px; margin: 0 auto; padding: 30px 10px; }
.hv-main {
    background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-lg);
    color: var(--ink); position: relative; z-index: 2; transform: rotate(-1.5deg);
}
.hv-header { display: flex; align-items: center; gap: 6px; margin-bottom: 1.1rem; font-family: var(--font-head); }
.hv-header .dot { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.hv-header .dot:nth-child(2) { background: var(--sun); }
.hv-header .dot:nth-child(3) { background: var(--accent); }
.hv-header strong { margin-left: .6rem; color: var(--navy); }
.hv-tasks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.hv-tasks li {
    display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 12px;
    font-weight: 600; font-size: .92rem; margin-bottom: .45rem; background: var(--soft); color: var(--muted);
}
.hv-tasks li em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); }
.hv-tasks li.done { color: var(--ink); }
.hv-tasks li.done i { color: var(--accent); }
.hv-tasks li.progress-item { background: rgba(14,165,233,.08); color: var(--navy); }
.hv-tasks li.progress-item i { color: var(--accent-2); animation: spin 2s linear infinite; }
.hv-progress .bar { height: 8px; background: var(--soft); border-radius: 99px; margin-top: .4rem; overflow: hidden; }
.hv-progress .bar span { display: block; height: 100%; background: var(--gradient); border-radius: 99px; animation: grow 2.2s var(--ease) both .8s; }
@keyframes grow { from { width: 0 !important; } }
.hv-float {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; background: #fff;
    padding: .8rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow); color: var(--ink);
}
.hv-float i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: var(--gradient); }
.hv-float strong { display: block; font-size: .9rem; color: var(--navy); }
.hv-float small { color: var(--muted); font-size: .76rem; }
.hv-float-1 { top: -6px; right: -20px; animation: float 5s ease-in-out infinite; }
.hv-float-2 { bottom: -10px; left: -30px; animation: float 6s ease-in-out infinite .8s; }
.hv-float-2 i { background: linear-gradient(135deg, #ffb347, var(--sun)); }
.hv-icon {
    position: absolute; z-index: 1; width: 160px; height: 160px; right: -40px; bottom: 40px; border-radius: 40px;
    background: var(--gradient); display: grid; place-items: center; font-size: 4.5rem; color: rgba(255,255,255,.9);
    transform: rotate(12deg); opacity: .9;
}
@media (max-width: 575.98px) {
    .hv-float-1 { right: 0; }
    .hv-float-2 { left: 0; }
    .hv-icon { display: none; }
}

/* ---------- Trust strip (Marquee) ---------- */
.trust-strip { padding: 10px 0 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; color: var(--muted); white-space: nowrap; font-size: 1.05rem; }
.marquee-track i { color: var(--accent); margin-right: .4rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro Visual ---------- */
.intro-visual { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; }
.intro-visual::before {
    content: ''; position: absolute; inset: 12%; border-radius: 50%;
    border: 2px dashed rgba(25,195,177,.35); animation: spin 50s linear infinite;
}
.iv-card {
    position: absolute; width: 42%; aspect-ratio: 1; border-radius: var(--radius-lg); background: #fff;
    box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); transition: transform .4s var(--ease);
}
.iv-card:hover { transform: translateY(-6px) scale(1.03); }
.iv-card i { font-size: 2.2rem; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; background: rgba(25,195,177,.12); color: var(--accent-dark); }
.iv-a { top: 0; left: 0; }
.iv-b { top: 0; right: 0; }
.iv-c { bottom: 0; left: 0; }
.iv-d { bottom: 0; right: 0; }
.iv-b i, .iv-c i { background: rgba(14,165,233,.12); color: var(--accent-2); }
.iv-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32%; aspect-ratio: 1;
    border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; box-shadow: 0 0 0 10px #fff, var(--shadow-lg); z-index: 2;
}
.iv-center strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.iv-center small { font-size: .72rem; color: rgba(255,255,255,.7); line-height: 1.2; margin-top: 4px; }

.check-item { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.check-item i {
    flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(25,195,177,.14); color: var(--accent-dark); font-size: 1rem;
}
.check-item-lg { background: var(--soft); padding: 1rem 1.1rem; border-radius: 14px; transition: .3s; }
.check-item-lg:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateX(4px); }

/* ---------- Filter Tabs ---------- */
.filter-tabs { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.filter-tabs button {
    border: 1px solid var(--line); background: #fff; padding: .55rem 1.3rem; border-radius: 999px;
    font-weight: 700; color: var(--muted); transition: .3s;
}
.filter-tabs button:hover { color: var(--navy); border-color: var(--accent); }
.filter-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.service-col { transition: opacity .35s, transform .35s; }
.service-col.is-hidden { display: none; }

/* ---------- Service Card ---------- */
.service-card {
    display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--ink);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); color: var(--ink); }
.service-media {
    height: 170px; position: relative; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); background-size: cover; background-position: center;
}
.service-media::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(25,195,177,.45), transparent 55%);
    transition: transform .6s var(--ease);
}
.service-media.has-img::before { background: linear-gradient(180deg, rgba(12,35,64,.1), rgba(12,35,64,.65)); }
.service-media i {
    position: relative; font-size: 3rem; color: #fff; width: 86px; height: 86px; display: grid; place-items: center;
    border-radius: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px);
    transition: transform .5s var(--ease);
}
.service-card:hover .service-media i { transform: scale(1.12) rotate(-6deg); }
.service-card:hover .service-media::before { transform: scale(1.3); }
.service-tag {
    position: absolute; top: 14px; left: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(255,255,255,.95); color: var(--navy); padding: .3rem .7rem; border-radius: 999px;
}
.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.service-link { font-weight: 800; color: var(--accent-dark); font-size: .9rem; }
.service-link i { transition: transform .3s; display: inline-block; }
.service-card:hover .service-link i { transform: translateX(6px); }

/* ---------- Stats ---------- */
.stats-band {
    background: var(--gradient); padding: 70px 0; color: #fff; position: relative; overflow: hidden;
}
.stats-band::before {
    content: ''; position: absolute; inset: 0; opacity: .12;
    background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 22px 22px;
}
.stat { text-align: center; position: relative; }
.stat i { font-size: 2rem; opacity: .9; }
.stat-number { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.1; margin: .3rem 0; }
.stat-label { font-weight: 600; opacity: .9; }
.stat-light { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1rem; box-shadow: var(--shadow); color: var(--navy); }
.stat-light i { color: var(--accent); }
.stat-light .stat-label { color: var(--muted); }

/* ---------- Feature Box ---------- */
.feature-box, .value-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; height: 100%;
    transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.feature-box::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
    background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.feature-box:hover, .value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-box:hover::after { transform: scaleX(1); }
.feature-icon {
    width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem;
    background: rgba(25,195,177,.12); color: var(--accent-dark); margin-bottom: 1.2rem; transition: .4s var(--ease);
}
.feature-box:hover .feature-icon, .value-card:hover .feature-icon { background: var(--gradient); color: #fff; transform: rotate(-8deg); }
.feature-box h3, .value-card h3 { font-size: 1.2rem; }
.feature-box p, .value-card p { color: var(--muted); margin: 0; }
.value-card { text-align: center; }
.value-card .feature-icon { margin-left: auto; margin-right: auto; }

/* ---------- Process ---------- */
.process { position: relative; }
@media (min-width: 992px) {
    .process::before {
        content: ''; position: absolute; top: 68px; left: 12%; right: 12%; height: 2px;
        background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 10px, transparent 10px 20px);
    }
}
.process-step { text-align: center; position: relative; padding: 1rem; }
.step-no { font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--accent); letter-spacing: .1em; }
.step-icon {
    width: 92px; height: 92px; margin: .8rem auto 1.4rem; border-radius: 50%; display: grid; place-items: center;
    font-size: 2rem; color: #fff; background: var(--navy-2); border: 2px solid rgba(25,195,177,.5);
    position: relative; z-index: 1; transition: .4s var(--ease);
}
.process-step:hover .step-icon { background: var(--gradient); border-color: transparent; transform: scale(1.08); box-shadow: 0 0 0 10px rgba(25,195,177,.15); }
.process-step h3 { color: #fff; font-size: 1.2rem; }
.process-step p { color: rgba(255,255,255,.65); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonial-swiper { padding: 10px 6px 60px !important; }
.testimonial {
    background: #fff; border-radius: var(--radius-lg); padding: 2.2rem; height: 100%; margin: 0;
    box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--line);
}
.quote-icon { position: absolute; top: 18px; right: 24px; font-size: 3.6rem; color: rgba(25,195,177,.18); line-height: 1; }
.testimonial blockquote { font-size: 1.02rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.5rem; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption strong { display: block; color: var(--navy); }
.testimonial figcaption small { color: var(--muted); }
.t-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff;
    display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 1.2rem;
}
.swiper-slide { height: auto; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: var(--navy); opacity: .2; transition: .3s; }
.swiper-pagination-bullet-active { opacity: 1; width: 28px; border-radius: 99px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: .8rem; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); padding: 1.2rem 1.4rem; }
.faq .accordion-button:not(.collapsed) { background: var(--soft); color: var(--navy); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-button::after {
    background-image: none; content: '+'; font-size: 1.6rem; line-height: 1; width: auto; height: auto;
    color: var(--accent-dark); transition: transform .3s;
}
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; background: var(--soft); }
.contact-mini { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
.contact-mini a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.contact-mini i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent-dark); }

/* ---------- Page Hero ---------- */
.page-hero {
    position: relative; overflow: hidden; padding: 90px 0 110px; color: rgba(255,255,255,.75);
    background:
        radial-gradient(700px 400px at 90% 0%, rgba(14,165,233,.3), transparent 60%),
        linear-gradient(160deg, var(--navy), var(--navy-3));
}
.page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: #fff;
    clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.page-hero .lead { max-width: 640px; color: rgba(255,255,255,.75); }
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.6); font-weight: 600; font-size: .9rem; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ---------- Leistungs-Detail ---------- */
.detail-media {
    height: 340px; border-radius: var(--radius-lg); display: grid; place-items: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); background-size: cover; background-position: center;
}
.detail-media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(25,195,177,.5), transparent 55%); }
.detail-media.has-img::before { background: linear-gradient(180deg, transparent, rgba(12,35,64,.5)); }
.detail-media i { position: relative; font-size: 6rem; color: #fff; animation: float 5s ease-in-out infinite; }
.info-callout { display: flex; gap: 1rem; background: rgba(14,165,233,.07); border-left: 4px solid var(--accent-2); padding: 1.3rem 1.5rem; border-radius: 14px; }
.info-callout > i { font-size: 1.5rem; color: var(--accent-2); }
.info-callout p { color: var(--muted); }
.sidebar-sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.5rem; }
.side-card { background: var(--soft); border-radius: var(--radius-lg); padding: 1.8rem; }
.side-card h4 { font-size: 1.15rem; margin-bottom: 1rem; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a {
    display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 12px; font-weight: 600;
    color: var(--ink); margin-bottom: .25rem; transition: .25s;
}
.side-nav a i { color: var(--accent); }
.side-nav a:hover { background: #fff; padding-left: 1.2rem; }
.side-nav a.active { background: var(--navy); color: #fff; }
.side-nav a.active i { color: var(--accent); }
.side-card-accent { background: var(--gradient); color: #fff; text-align: center; }
.side-card-accent h4 { color: #fff; }
.side-card-accent .big-icon { font-size: 2.6rem; }
.phone-link { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.phone-link:hover { color: var(--navy); }

/* ---------- Paket ---------- */
.package-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-3)); border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem); color: rgba(255,255,255,.8); position: relative; overflow: hidden;
}
.package-box::after {
    content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -100px; top: -120px;
    background: radial-gradient(circle, rgba(25,195,177,.35), transparent 70%);
}
.package-box h2 { color: #fff; font-weight: 800; }
.package-list { list-style: none; padding: 0; margin: 0 0 1rem; position: relative; z-index: 1; }
.package-list li { padding: .35rem 0; font-weight: 600; color: #fff; }
.package-list i { color: var(--accent); margin-right: .5rem; }
.package-box .btn { position: relative; z-index: 1; }

/* ---------- Über uns ---------- */
.signature { display: flex; align-items: center; gap: .9rem; }
.signature strong { display: block; color: var(--navy); }
.signature small { color: var(--muted); }
.sig-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 2.5rem 2.5rem; }
.tl-item.left { left: 0; text-align: right; }
.tl-item.right { left: 50%; }
.tl-item::before {
    content: ''; position: absolute; top: 8px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 6px rgba(25,195,177,.18);
}
.tl-item.left::before { right: -9px; }
.tl-item.right::before { left: -9px; }
.tl-content { background: #fff; border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tl-year { font-family: var(--font-head); font-weight: 800; color: var(--accent-dark); font-size: 1.3rem; }
.tl-content h3 { font-size: 1.15rem; margin: .2rem 0 .4rem; }
.tl-content p { color: var(--muted); margin: 0; }
@media (max-width: 767.98px) {
    .timeline::before { left: 9px; }
    .tl-item, .tl-item.right { width: 100%; left: 0; text-align: left; padding: 0 0 2rem 2.5rem; }
    .tl-item.left::before, .tl-item.right::before { left: 0; right: auto; }
}

/* ---------- Kontakt ---------- */
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex; gap: 1rem; align-items: center; background: var(--soft); padding: 1.2rem 1.3rem;
    border-radius: var(--radius); transition: .3s;
}
.contact-card:hover { background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.contact-card > i {
    flex: 0 0 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem;
    background: var(--gradient); color: #fff;
}
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card a, .contact-card span { font-weight: 700; color: var(--navy); word-break: break-word; }
.contact-card-alert { background: rgba(255,200,87,.15); }
.contact-card-alert > i { background: linear-gradient(135deg, #ffb347, var(--sun)); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-floating > .form-control, .form-floating > .form-select { border-radius: 14px; border-color: var(--line); background: var(--soft); }
.form-floating > .form-control:focus, .form-floating > .form-select:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(25,195,177,.15); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit .btn-loading { display: none; }
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .btn-loading { display: inline-flex; align-items: center; gap: .5rem; }
.form-success { text-align: center; padding: 2rem 0; }
.success-icon {
    width: 90px; height: 90px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--gradient); color: #fff;
    display: grid; place-items: center; font-size: 3rem; box-shadow: 0 0 0 12px rgba(25,195,177,.15);
}
.form-success p { color: var(--muted); }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- Legal & 404 ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p { color: var(--muted); }
.error-page {
    min-height: 70vh; display: flex; align-items: center; position: relative; overflow: hidden; color: rgba(255,255,255,.75);
    background: linear-gradient(160deg, var(--navy), var(--navy-3)); padding: 80px 0;
}
.error-page h1 { color: #fff; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: #fff; }
.error-code i { color: var(--accent); font-size: .8em; display: inline-block; animation: drop 1.6s ease-in-out infinite; }

/* ---------- CTA & Footer ---------- */
.cta-band { padding: 0 0 0; position: relative; z-index: 2; margin-bottom: -80px; }
.cta-inner {
    background: var(--gradient); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
    box-shadow: 0 30px 60px -25px rgba(14,165,233,.7); position: relative; overflow: hidden;
}
.cta-inner::before {
    content: ''; position: absolute; inset: 0; opacity: .15;
    background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 20px 20px;
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-weight: 800; margin-bottom: .3rem; }
.cta-inner p { color: rgba(255,255,255,.9); margin: 0; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 150px 0 0; }
.site-footer h6 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(255,255,255,.65); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul:not(.contact-list) a { display: inline-block; transition: transform .25s; }
.site-footer ul:not(.contact-list) a:hover { transform: translateX(4px); }
.contact-list li { display: flex; gap: .7rem; }
.contact-list i { color: var(--accent); }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.07); color: #fff; transition: .3s;
}
.social a:hover { background: var(--gradient); color: #fff; transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.5rem; padding: 1.6rem 0;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem;
}

/* ---------- Floating Buttons ---------- */
.back-to-top, .call-fab {
    position: fixed; right: 20px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.3rem; z-index: 1000; transition: all .35s var(--ease); box-shadow: var(--shadow);
}
.back-to-top { bottom: 20px; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(20px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: #fff; }
.call-fab { bottom: 82px; background: var(--gradient); color: #fff; animation: pulse 2s infinite; }
.call-fab:hover { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,195,177,.6); } 70% { box-shadow: 0 0 0 16px rgba(25,195,177,0); } 100% { box-shadow: 0 0 0 0 rgba(25,195,177,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 75px 0; }
    .hero { padding: 70px 0 120px; }
    .sticky-lg-top { position: static; }
}

/* WOW: Elemente vor der Animation verstecken (verhindert Flackern) */
.wow { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .wow { visibility: visible !important; }
}
