/* ============================================================
   DUSCHSCHEIBE — MAIN STYLES
   Phase 1: base, container, buttons, header, hero, footer.
   Faithful to the approved demo. Classes prefixed .ds-.
   ============================================================ */

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--shell);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

img,
svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p { margin: 0 0 1em; }

/* ---------- Accessibility helpers ---------- */
.ds-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--aqua);
    color: #fff;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 600;
}
.ds-skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 2px solid var(--aqua-deep);
    outline-offset: 2px;
    border-radius: 2px;
}

.ds-screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Layout container ---------- */
.ds-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Buttons ---------- */
.ds-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--r-full);
    border: none;
    transition: all var(--t-fast);
}
.ds-btn-primary {
    padding: 17px 32px;
    background: var(--aqua);
    color: #fff;
}
.ds-btn-primary:hover {
    background: var(--aqua-deep);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}
.ds-btn-ghost {
    padding: 17px 28px;
    background: transparent;
    color: var(--ink);
}
.ds-btn-ghost:hover { color: var(--aqua); }
.ds-btn-ghost svg { transition: transform var(--t-fast); }
.ds-btn-ghost:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER — light, airy, soft, sticky with blur
   ============================================================ */
.ds-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 239, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
}
.ds-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Brand mark */
.ds-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--display);
    font-weight: 500;
    font-size: 21px;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.ds-brand em {
    font-style: italic;
    color: var(--aqua);
}
.ds-brand .custom-logo {
    height: 48px;
    width: auto;
}
.ds-brand-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: linear-gradient(140deg, var(--aqua) 0%, var(--aqua-deep) 100%);
    position: relative;
    overflow: hidden;
}
.ds-brand-icon::before {
    /* glass pane shimmer */
    content: "";
    position: absolute;
    inset: 7px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}
.ds-brand-icon::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 1.5px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
}
.ds-brand-icon--sm {
    width: 30px;
    height: 30px;
}

/* Primary nav */
.ds-nav {
    display: flex;
    align-items: center;
}
.ds-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 15px;
    font-weight: 500;
}
.ds-nav-menu a {
    color: var(--ink-soft);
    transition: color var(--t-fast);
}
.ds-nav-menu a:hover,
.ds-nav-menu .current-menu-item > a,
.ds-nav-menu .current_page_item > a { color: var(--aqua); }

.ds-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ds-header-phone {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: color var(--t-fast);
}
.ds-header-phone:hover { color: var(--aqua); }
.ds-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--aqua);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--r-full);
    transition: all var(--t-fast);
    white-space: nowrap;
}
.ds-header-cta:hover {
    background: var(--aqua-deep);
    transform: translateY(-1px);
    box-shadow: var(--sh-sm);
}

/* Hamburger toggle (hidden on desktop) */
.ds-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--r-sm);
}
.ds-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform var(--t-fast), opacity var(--t-fast);
}
.ds-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ds-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ds-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down panel */
.ds-mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(247, 244, 239, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-base), opacity var(--t-base), visibility var(--t-base);
}
.ds-mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.ds-mobile-nav-inner {
    padding: 22px 28px 30px;
}
.ds-mobile-menu {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.ds-mobile-menu li { border-bottom: 1px solid var(--line-soft); }
.ds-mobile-menu a {
    display: block;
    padding: 15px 2px;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color var(--t-fast);
}
.ds-mobile-menu a:hover { color: var(--aqua); }
.ds-mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ds-mobile-extra .ds-header-phone { font-size: 15px; }
.ds-mobile-extra .ds-header-cta { justify-content: center; padding: 15px 24px; font-size: 15px; }

/* ============================================================
   HERO — soft editorial, big serif headline, calm
   ============================================================ */
.ds-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 70px 32px 50px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}
.ds-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--aqua-deep);
    margin-bottom: 26px;
    padding: 8px 16px;
    background: var(--aqua-soft);
    border-radius: var(--r-full);
}
.ds-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aqua);
    position: relative;
    flex-shrink: 0;
}
.ds-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--aqua);
    opacity: 0.4;
    animation: ds-ripple 2s ease-out infinite;
}
@keyframes ds-ripple {
    0%   { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}
.ds-hero-title {
    font-family: var(--display);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 26px;
}
.ds-hero-title em {
    font-style: italic;
    color: var(--aqua);
}
.ds-hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text);
    max-width: 480px;
    margin-bottom: 36px;
}
.ds-hero-cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

/* Trust row */
.ds-hero-trust {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.ds-trust-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ds-trust-num {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.ds-trust-label {
    font-size: 13px;
    color: var(--text-light);
}

/* Hero image — soft rounded, floating spec card */
.ds-hero-visual { position: relative; }
.ds-hero-image {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--shell-3);
    box-shadow: var(--sh-lg);
}
.ds-hero-image img,
.ds-hero-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ds-hero-float {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--r-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--sh-md);
}
.ds-hero-float-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ds-hero-float-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}
.ds-hero-float-value {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
}
.ds-hero-float-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aqua-deep);
    background: var(--aqua-soft);
    padding: 8px 14px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

/* Staggered load reveal (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
    .ds-hero-text > * {
        opacity: 0;
        transform: translateY(16px);
        animation: ds-rise var(--t-base) forwards;
    }
    .ds-hero-text > *:nth-child(1) { animation-delay: 60ms; }
    .ds-hero-text > *:nth-child(2) { animation-delay: 140ms; }
    .ds-hero-text > *:nth-child(3) { animation-delay: 220ms; }
    .ds-hero-text > *:nth-child(4) { animation-delay: 300ms; }
    .ds-hero-text > *:nth-child(5) { animation-delay: 380ms; }
    .ds-hero-visual {
        opacity: 0;
        transform: scale(0.985);
        animation: ds-fade-in 700ms cubic-bezier(.4, 0, .2, 1) 200ms forwards;
    }
    @keyframes ds-rise {
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes ds-fade-in {
        to { opacity: 1; transform: scale(1); }
    }
}

/* ============================================================
   GENERIC PAGE / POSTS (page.php, index.php)
   ============================================================ */
.ds-page-header {
    padding: 64px 0 0;
}
.ds-page-title {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.ds-section { padding: 48px 0 80px; }
.ds-content {
    max-width: 760px;
    margin: 0 auto;
}
.ds-content :is(h2, h3, h4) { margin: 1.6em 0 0.5em; }
.ds-content p,
.ds-content li { color: var(--ink-soft); }
.ds-content a {
    color: var(--aqua-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ds-featured-image {
    margin-bottom: 32px;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.ds-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.ds-post-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--line-soft);
}
.ds-post-content { padding: 24px; }
.ds-post-title { font-size: 1.35rem; margin-bottom: 8px; }
.ds-post-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.ds-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-weight: 600;
    color: var(--aqua-deep);
}
.ds-pagination {
    margin-top: 48px;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.ds-no-content {
    text-align: center;
    padding: 60px 0;
}

/* ============================================================
   FOOTER — dark slate, 4 columns
   ============================================================ */
.ds-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    padding: 70px 32px 36px;
}
.ds-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ds-footer-brand {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}
.ds-footer-brand em { font-style: italic; color: var(--aqua); }
.ds-footer-brand .custom-logo { height: 42px; width: auto; }
.ds-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}
.ds-footer-col h4 {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.ds-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 14px;
}
.ds-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--t-fast);
}
.ds-footer-links a:hover { color: var(--aqua); }
.ds-footer-bottom {
    max-width: var(--max);
    margin: 28px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}
.ds-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ds-footer-social {
    display: flex;
    gap: 12px;
}
.ds-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    transition: background var(--t-fast), color var(--t-fast);
}
.ds-footer-social a:hover { background: var(--aqua); color: #fff; }

/* ============================================================
   RESPONSIVE — demo breakpoints (1024px, 640px)
   ============================================================ */
@media (max-width: 1024px) {
    .ds-hero {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .ds-hero-visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .ds-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .ds-nav,
    .ds-header-actions .ds-header-phone { display: none; }
    .ds-menu-toggle { display: inline-flex; }
    .ds-hero { padding: 44px 20px 36px; }
    .ds-container { padding: 0 20px; }
    .ds-hero-trust {
        gap: 20px;
        flex-wrap: wrap;
    }
    .ds-footer { padding: 60px 20px 32px; }
    .ds-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ds-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ============================================================
   PHASE 2 SECTIONS — Duschtypen, Ablauf, Glasoptionen, FAQ
   Ported from the approved demo, prefixed .ds-.
   ============================================================ */

/* ---------- Shared section head ---------- */
.ds-section-head {
    text-align: center;
    margin-bottom: 56px;
}
.ds-section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 16px;
}
.ds-section-title {
    font-family: var(--display);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
    max-width: 640px;
    margin: 0 auto 18px;
}
.ds-section-title em { font-style: italic; color: var(--aqua); }
.ds-section-sub {
    font-size: 17px;
    color: var(--text);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- Duschtypen ---------- */
.ds-types {
    max-width: var(--max);
    margin: 0 auto;
    padding: 90px 32px;
}
.ds-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ds-type-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform var(--t-base), box-shadow var(--t-base);
    border: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
}
.ds-type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}
.ds-type-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--shell-3);
}
.ds-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(.4, 0, .2, 1);
}
.ds-type-card:hover .ds-type-image img { transform: scale(1.06); }
.ds-type-num {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 500;
    color: var(--aqua-deep);
}
.ds-type-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ds-type-name {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.ds-type-desc {
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.ds-type-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aqua);
    align-self: flex-start;
    transition: color var(--t-fast);
}
.ds-type-link:hover { color: var(--aqua-deep); }
.ds-type-link svg { transition: transform var(--t-fast); }
.ds-type-card:hover .ds-type-link svg { transform: translateX(4px); }

/* ---------- Ablauf / process ---------- */
.ds-process {
    background: var(--aqua-soft);
    padding: 90px 32px;
}
.ds-process-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.ds-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.ds-step {
    position: relative;
    text-align: center;
}
.ds-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    right: -14px;
    width: 28px;
    height: 1.5px;
    background: var(--aqua);
    opacity: 0.3;
}
.ds-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aqua);
    box-shadow: var(--sh-sm);
    position: relative;
}
.ds-step-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--aqua);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ds-step-title {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 9px;
}
.ds-step-desc {
    font-size: 14px;
    color: var(--text);
    line-height: 1.55;
    max-width: 220px;
    margin: 0 auto;
}

/* ---------- Glasoptionen ---------- */
.ds-options {
    max-width: var(--max);
    margin: 0 auto;
    padding: 90px 32px;
}
.ds-options-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.ds-options-left .ds-section-eyebrow { text-align: left; }
.ds-options-left .ds-section-title {
    text-align: left;
    margin: 0 0 18px;
    max-width: none;
}
.ds-options-left .ds-section-sub {
    text-align: left;
    margin: 0 0 32px;
}
.ds-options-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ds-option-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: var(--r-md);
    transition: background var(--t-fast);
}
.ds-option-row:hover { background: var(--shell-2); }
.ds-option-check {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--aqua-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aqua-deep);
    flex-shrink: 0;
}
.ds-option-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.ds-option-text span {
    font-size: 14px;
    color: var(--text);
}
.ds-options-image {
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--sh-lg);
    background: var(--shell-3);
}
.ds-options-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- FAQ (native <details> accordion) ---------- */
.ds-faq {
    background: var(--shell-2);
    padding: 90px 32px;
}
.ds-faq-inner {
    max-width: 820px;
    margin: 0 auto;
}
.ds-faq-item {
    background: var(--white);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
}
.ds-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}
.ds-faq-q::-webkit-details-marker { display: none; }
.ds-faq-q-text { flex: 1; }
.ds-faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--aqua-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aqua-deep);
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    transition: transform var(--t-fast);
}
.ds-faq-item[open] .ds-faq-icon { transform: rotate(45deg); }
.ds-faq-a {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text);
    line-height: 1.65;
}
.ds-faq-a p { margin: 0; }

/* ---------- Phase 2 responsive ---------- */
@media (max-width: 1024px) {
    .ds-options-layout { grid-template-columns: 1fr; gap: 44px; }
    .ds-types-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
    .ds-step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
    .ds-types,
    .ds-process,
    .ds-options,
    .ds-faq { padding: 60px 20px; }
    .ds-types-grid { grid-template-columns: 1fr; }
    .ds-process-grid { grid-template-columns: 1fr; }
    .ds-step::after { display: none !important; }
    .ds-section-head { margin-bottom: 40px; }
}

/* ============================================================
   PHASE 3 — QUOTE SECTION + FORM (the primary conversion)
   ============================================================ */
.ds-quote {
    max-width: var(--max);
    margin: 0 auto 90px;
    padding: 0 32px;
    scroll-margin-top: 96px;
}
.ds-quote-card {
    background: linear-gradient(140deg, var(--aqua) 0%, var(--aqua-deep) 100%);
    border-radius: var(--r-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ds-quote-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ds-quote-content {
    position: relative;
    z-index: 1;
}
.ds-quote-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}
.ds-quote-title {
    font-family: var(--display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 18px;
}
.ds-quote-title em { font-style: italic; }
.ds-quote-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 440px;
}
.ds-quote-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 28px;
}
.ds-quote-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}
.ds-quote-feature svg { flex-shrink: 0; }

/* The form card */
.ds-quote-form-wrap {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 34px 32px;
    box-shadow: var(--sh-lg);
}
.ds-quote-form-title {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 20px;
}
.ds-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ds-field { margin-bottom: 14px; }
.ds-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.ds-field .ds-req { color: var(--aqua-deep); }
.ds-field input[type="text"],
.ds-field input[type="email"],
.ds-field input[type="tel"],
.ds-field input[type="number"],
.ds-field select,
.ds-field textarea {
    width: 100%;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    background: var(--shell);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.ds-field textarea {
    resize: vertical;
    min-height: 92px;
}
.ds-field input:focus,
.ds-field select:focus,
.ds-field textarea:focus {
    outline: none;
    border-color: var(--aqua);
    background: var(--white);
}
.ds-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235a636a' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* File upload */
.ds-file-field {
    position: relative;
    border: 1.5px dashed var(--sand-deep);
    border-radius: var(--r-md);
    padding: 22px 18px;
    text-align: center;
    transition: border-color var(--t-fast), background var(--t-fast);
    cursor: pointer;
    display: block;
}
.ds-file-field:hover,
.ds-file-field:focus-within {
    border-color: var(--aqua);
    background: var(--aqua-soft);
}
.ds-file-field input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.ds-file-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--aqua-soft);
    color: var(--aqua-deep);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ds-file-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.ds-file-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 3px;
}
.ds-file-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--aqua-deep);
    margin-top: 8px;
    word-break: break-word;
}

/* Consent */
.ds-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 18px;
}
.ds-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--aqua);
    flex-shrink: 0;
}
.ds-consent label {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text);
}
.ds-consent a {
    color: var(--aqua-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Honeypot — visually hidden, off-screen, not display:none (bots skip those) */
.ds-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.ds-quote-form-wrap .ds-btn-primary {
    width: 100%;
    justify-content: center;
}
.ds-quote-form { margin: 0; }

/* Notices */
.ds-notice {
    border-radius: var(--r-sm);
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.ds-notice-success {
    background: var(--aqua-soft);
    color: var(--aqua-deep);
    border: 1px solid var(--aqua);
}
.ds-notice-error {
    background: #fdecea;
    color: #a3271c;
    border: 1px solid #e9a59d;
}
.ds-notice ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* Quote responsive */
@media (max-width: 1024px) {
    .ds-quote-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 40px;
    }
}
@media (max-width: 640px) {
    .ds-quote { padding: 0 20px; margin-bottom: 60px; }
    .ds-quote-card { padding: 36px 24px; }
    .ds-quote-form-wrap { padding: 26px 22px; }
    .ds-form-row { grid-template-columns: 1fr; gap: 0; }
    .ds-quote-features { gap: 12px; }
}

/* ============================================================
   PHASE 4 — COOKIE / PRIVACY NOTICE
   ============================================================ */
.ds-cookie {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 20px 22px;
    display: none;
}
.ds-cookie.is-visible {
    display: block;
    animation: ds-cookie-in var(--t-base) ease-out;
}
@media (prefers-reduced-motion: reduce) {
    .ds-cookie.is-visible { animation: none; }
}
@keyframes ds-cookie-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ds-cookie-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text);
    margin: 0 0 14px;
}
.ds-cookie-text a {
    color: var(--aqua-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ds-cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ds-cookie-actions .ds-btn {
    padding: 10px 22px;
    font-size: 14px;
}
.ds-cookie-accept {
    background: var(--aqua);
    color: #fff;
    border-radius: var(--r-full);
    font-weight: 600;
    padding: 10px 24px;
    transition: background var(--t-fast), transform var(--t-fast);
}
.ds-cookie-accept:hover { background: var(--aqua-deep); transform: translateY(-1px); }
.ds-cookie-decline {
    background: var(--shell-2);
    color: var(--ink-soft);
    border-radius: var(--r-full);
    font-weight: 600;
    padding: 10px 22px;
    transition: background var(--t-fast);
}
.ds-cookie-decline:hover { background: var(--shell-3); }
@media (max-width: 640px) {
    .ds-cookie { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
    .ds-cookie-actions .ds-btn,
    .ds-cookie-accept,
    .ds-cookie-decline { flex: 1; text-align: center; justify-content: center; }
}

/* ---------- 404 ---------- */
.ds-404 { text-align: center; }
.ds-404-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 0;
}
.ds-404-text {
    margin: 18px auto 28px;
    max-width: 520px;
    color: var(--ink-soft);
}
.ds-404-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   KONFIGURATOR / PRICE ESTIMATOR
   ============================================================ */
.ds-config {
    padding: 90px 32px;
}
.ds-config-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.ds-config-card {
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    max-width: 920px;
    margin: 0 auto;
}
.ds-config-controls {
    padding: 40px;
}
.ds-config-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ds-config-field { margin-bottom: 18px; }
.ds-config-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 7px;
}
.ds-config-field input[type="number"],
.ds-config-field select {
    width: 100%;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    background: var(--shell);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.ds-config-field input[type="number"]:focus,
.ds-config-field select:focus {
    outline: none;
    border-color: var(--aqua);
    background: var(--white);
}
.ds-config-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235a636a' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.ds-config-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.ds-config-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--aqua);
    flex-shrink: 0;
}
.ds-config-check label {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 500;
}

/* Result panel */
.ds-config-result {
    background: linear-gradient(160deg, var(--aqua) 0%, var(--aqua-deep) 100%);
    color: #fff;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}
.ds-config-result-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}
.ds-config-price {
    font-family: var(--display);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.ds-config-disclaimer {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 8px;
}
.ds-config-cta {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
    background: #fff;
    color: var(--aqua-deep);
}
.ds-config-cta:hover {
    background: var(--shell);
    color: var(--aqua-deep);
}

@media (max-width: 768px) {
    .ds-config { padding: 60px 20px; }
    .ds-config-card { grid-template-columns: 1fr; }
    .ds-config-controls { padding: 30px 24px; }
    .ds-config-result { padding: 32px 26px; }
}