:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-alt: #f1f5f9;
    --text: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-soft: #dbeafe;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.08);
    --radius: 20px;
    --radius-lg: 28px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-bottom: 96px;
}

body.mobile-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 16px;
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

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

.logo {
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
}

.logo span {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    font-size: 0.96rem;
    color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--text);
}

.nav-cta {
    min-width: 0;
}

.mobile-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle-line {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    display: block;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
    z-index: 998;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--surface-alt);
}

.nav .btn-primary,
.nav .btn-primary:link,
.nav .btn-primary:visited,
.nav .btn-primary:hover,
.nav .btn-primary:active,
.nav .btn-primary:focus,
.nav .btn-primary:focus-visible,
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
    font-size: clamp(1.85rem, 3vw, 2.9rem);
}

h3 {
    font-size: 1.14rem;
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 24px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.92rem;
    color: var(--muted);
}

/* =========================
   HERO
========================= */

.hero {
    padding: 64px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-list li {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.94rem;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.hero-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-md);
}

.hero-visual {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 78px 0;
}

.section-alt {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

/* =========================
   GRID SYSTEM
========================= */

.grid-3,
.grid-4,
.gallery-grid,
.pricing-grid,
.steps-grid,
.faq-grid,
.reviews-grid,
.footer-grid {
    display: grid;
    gap: 22px;
}

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

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

.gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
    grid-template-columns: repeat(5, 1fr);
}

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

.reviews-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* =========================
   CARDS
========================= */

.card,
.step-card,
.faq-item,
.review-card,
.price-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card,
.step-card,
.faq-item,
.review-card {
    padding: 24px;
}

/* =========================
   GALLERY
========================= */

.gallery-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
}

.gallery-caption {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--muted);
}

/* =========================
   PRICING
========================= */

.price-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
    cursor: pointer;
}

.price-card:hover,
.price-card:focus-within {
    border-color: var(--accent);
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.16);
    transform: translateY(-6px);
}

.price-card.is-selected {
    border: 2px solid var(--accent);
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.16);
    transform: translateY(-6px);
}

.price-card.featured {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transform: none;
}

.price-card.is-selected .btn-secondary {
    background: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
}

.price-card.is-selected .btn-secondary:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    border-color: var(--accent-dark);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 6px 0 18px;
    letter-spacing: -0.03em;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.price-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

/* =========================
   STEPS
========================= */

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 14px;
}

/* =========================
   REVIEWS
========================= */

.stars {
    color: var(--accent-dark);
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* =========================
   LOCATION / MAP
========================= */

.location-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.contact-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.map-placeholder {
    min-height: 320px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 38%), linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-weight: 700;
}

/* =========================
   CTA BOX
========================= */

.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 60ch;
}

.cta-box .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.cta-box .btn-secondary:hover,
.cta-box .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

/* =========================
   FOOTER
========================= */

.conversion-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 80px;
    padding-top: 60px;
}

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

.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
}

.footer-logo span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
}

.footer-text {
    margin-top: 14px;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.96rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 14px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col a:hover {
    color: #60a5fa;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-trust span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-actions .btn-primary {
    color: #ffffff !important;
}

.footer-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.footer-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* =========================
   FLOATING WHATSAPP
========================= */

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff !important;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.28);
    font-weight: 700;
    transition: 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    color: #ffffff !important;
}

.floating-whatsapp-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.floating-whatsapp-text {
    line-height: 1;
}

/* =========================
   STICKY CTA
========================= */

.sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.sticky-cta-btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.sticky-cta-primary {
    background: var(--accent);
    color: #ffffff !important;
}

.sticky-cta-primary:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.sticky-cta-secondary,
.sticky-cta-call {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--line);
}

.sticky-cta-secondary:hover,
.sticky-cta-call:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-1px);
}

/* =========================
   PREMIUM PAGINATION
========================= */

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    justify-content: center;
}

.pagination a,
.pagination span {
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.22s ease;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.pagination .is-active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.pagination-arrow {
    font-size: 1.2rem;
    font-weight: 800;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .hero-grid,
    .location-box,
    .grid-3,
    .grid-4,
    .gallery-grid,
    .pricing-grid,
    .steps-grid,
    .faq-grid,
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-inner {
        min-height: 78px;
        flex-wrap: wrap;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 360px);
        height: 100vh;
        background: #ffffff;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 92px 22px 24px;
        box-shadow: -20px 0 50px rgba(15, 23, 42, 0.14);
        transform: translateX(100%);
        transition: transform 0.24s ease;
        overflow-y: auto;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        color: var(--text);
        font-size: 1rem;
    }

    .nav .btn {
        margin-top: 16px;
        width: 100%;
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: 0;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-grid,
    .location-box,
    .grid-3,
    .grid-4,
    .gallery-grid,
    .pricing-grid,
    .steps-grid,
    .faq-grid,
    .reviews-grid,
    .conversion-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 28px 24px;
    }

    .sticky-cta {
        display: none !important;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 24px;
        padding: 13px 16px;
    }

    .floating-whatsapp-text {
        display: none;
    }
}

/* CLEAN MOBILE FIX PATCH
   Am ENDE von styles.css einfügen
*/

@media (max-width: 720px) {
    .sticky-cta,
    div.sticky-cta,
    .sticky-cta[style],
    body .sticky-cta,
    html body .sticky-cta {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .floating-whatsapp {
        bottom: 24px !important;
    }
}


/* VORHER / NACHHER FINISHED BLOCK */

.before-after-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 32px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.before-after-copy h2 {
    margin: 12px 0 14px;
    max-width: 14ch;
}

.before-after-copy p {
    margin: 0;
    max-width: 60ch;
    color: var(--muted);
}

.before-after-actions {
    margin-top: 24px;
    margin-bottom: 0;
}

.before-after-media {
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    min-height: 380px;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    box-shadow: var(--shadow-sm);
}

.before-after-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.before-after-chip {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
}

.before-after-fallback {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .before-after-teaser {
        grid-template-columns: 1fr;
    }

    .before-after-copy h2 {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .before-after-teaser {
        padding: 22px;
        gap: 22px;
        border-radius: 24px;
    }

    .before-after-media,
    .before-after-media img,
    .before-after-fallback {
        min-height: 300px;
    }

    .before-after-chip {
        left: 14px;
        right: 14px;
        bottom: 14px;
        justify-content: center;
        text-align: center;
    }
}

/* =========================
   PASSFOTO HERO PREMIUM UPDATE
========================= */

.passfoto-hero-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.passfoto-offer-card {
    margin: 26px 0 24px;
    padding: 22px 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    max-width: 620px;
}

.passfoto-offer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.passfoto-offer-label {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
}

.passfoto-offer-subline {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.95rem;
}

.passfoto-offer-price-wrap {
    flex-shrink: 0;
    text-align: right;
}

.passfoto-offer-price {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--accent-dark);
}

.passfoto-offer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.passfoto-offer-features span {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 720px) {
    .passfoto-offer-card {
        padding: 18px;
        border-radius: 20px;
    }

    .passfoto-offer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .passfoto-offer-price-wrap {
        text-align: left;
    }
}

