/* ============================================
   Baustoffe Steinbach – Redesigned
   ============================================ */

:root {
    color-scheme: light;
    /* ── Brand colours ── */
    --brand: #F8DD02;
    --brand-yellow: #F8DD02;
    --brand-dark: #2C2929;
    --brand-dark-hover: #1a1717;   /* darker shade for hover states */
    --brand-light: #FFFBDB;
    --brand-primary-hover: #e6cc00; /* .btn-primary hover bg */
    --brand-accent: #c8a96e;
    /* ── Neutrals ── */
    --white: #ffffff;
    --off-white: #f7f6f3;
    --nav-mobile-submenu: #fafaf8; /* mobile dropdown bg */
    --gray-100: #f0efec;
    --gray-200: #e2e0db;
    --gray-300: #c8c5be;
    --gray-400: #827e76;
    --gray-500: #6d6962;
    --gray-600: #4a4742;
    --gray-700: #3a3733;
    --gray-800: #2c2929;
    --gray-900: #1a1817;
    /* ── Radii ── */
    --radius: 0px;
    --radius-md: 8px;
    --radius-pill: 100px;
    /* ── Shadows ── */
    --shadow-lg: 0 12px 32px rgba(0,0,0,.12);
    /* ── Transitions ── */
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --transition-fast: .15s cubic-bezier(.4,0,.2,1);
    /* ── Typography ── */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    /* ── Layout ── */
    --section-padding: 120px;
    --section-padding-compact: 60px;
    --topbar-h: 0px;
    --topbar-bg: #f0efec;          /* light grey for huskies/promo bar */
    /* ── Status colours ── */
    --color-error: #c0392b;
    --color-success: #22c55e;
}

/* Numeric display helper */
.tabular-nums { font-variant-numeric: tabular-nums; }
.oldstyle-nums { font-variant-numeric: oldstyle-nums; }

/* Custom text selection */
::selection {
    background: var(--brand);
    color: var(--brand-dark);
}
::-moz-selection {
    background: var(--brand);
    color: var(--brand-dark);
}

/* Badge utilities */
.badge-brand {
    display: inline-block;
    background: var(--brand); color: var(--brand-dark);
    font-size: .75rem; font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase; letter-spacing: .05em;
}
.badge-inactive {
    display: inline-block;
    background: var(--gray-200); color: var(--gray-600);
    font-size: .75rem; font-weight: 600;
    padding: 2px 8px; border-radius: 4px;
}

/* ── Skip Navigation ── */
.skip-nav {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-200%);
    background: var(--brand);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 28px;
    z-index: 9999; /* topmost — always visible above all overlays */
    border-radius: 0 0 8px 0;
    text-decoration: none;
    transition: transform var(--transition-fast);
}
.skip-nav:focus {
    transform: translateY(0);
    outline: 3px solid var(--brand-dark);
    outline-offset: 2px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 88px; }
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-kerning: normal;
    font-feature-settings: "kern" 1;
}

/* Prevent focus ring on programmatically-focused elements */
/* intentional: suppress programmatic focus ring globally */
[tabindex="-1"]:focus { outline: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; height: auto; }
hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 2rem 0;
    height: 1px;
}
abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
    border-bottom: none;
}
[hidden] { display: none !important; }
details > summary {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { font-weight: 600; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    transform: translateY(var(--topbar-h));
    transition: transform .3s ease, box-shadow var(--transition-fast);
    left: 0;
    right: 0;
    z-index: 1000; /* stacks above content, below modal (1100) and cookie (9999) */
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    will-change: transform;
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.nav-yellow {
    background: var(--brand);
    border-bottom: 1px solid rgba(0,0,0,.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.nav-yellow.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.12); }
.nav-yellow .nav-links > li > a { color: var(--brand-dark); }
.nav-yellow .nav-phone { color: var(--brand-dark); }
.nav-yellow .nav-phone:hover { background: rgba(0,0,0,.07); }
.nav-yellow .nav-phone svg { color: var(--brand-dark); }
.nav-yellow .nav-right-cluster { border-left-color: rgba(0,0,0,.15); }
.nav-yellow .nav-cta a.btn,
.nav-yellow .nav-right-cluster a.btn { background: var(--brand-dark); color: var(--white); border-color: var(--brand-dark); }
.nav-yellow .nav-cta a.btn:hover,
.nav-yellow .nav-right-cluster a.btn:hover { background: var(--brand-dark-hover); border-color: var(--brand-dark-hover); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
    padding: 0 8px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-dark);
    flex-shrink: 0;
}
.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--brand-dark);
    letter-spacing: -.02em;
}
.logo-text {
    font-size: .82rem;
    line-height: 1.25;
    letter-spacing: .01em;
}
.logo-text strong { font-weight: 800; font-size: .95rem; }
/* Real logo image */
.logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    height: 50px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-links > li > a {
    padding: 8px 18px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray-500);
    position: relative;
    transition: color var(--transition-fast);
}
.nav-links > li > a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 2px;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}
.nav-links > li > a:hover,
.nav-links > li > a:focus-visible { color: var(--brand-dark); outline: 2px solid var(--brand-yellow, #f5c518); outline-offset: 3px; }
.nav-links > li > a:hover::after,
.nav-links > li > a:focus-visible::after,
.nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--brand-dark); font-weight: 600; }

/* On yellow nav, use dark underline */
.nav-yellow .nav-links > li > a::after { background: var(--brand-dark); }
.nav-yellow .nav-links > li > a:hover { color: var(--brand-dark); }
.nav-yellow .nav-links > li > a.active { color: var(--brand-dark); }
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--brand-dark);
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: background-color var(--transition), color var(--transition);
}
.nav-phone:hover { background: var(--gray-100); }
.nav-phone:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    background: var(--gray-100);
}
.nav-phone svg { color: var(--brand-dark); flex-shrink: 0; }
/* Right cluster: phone + CTA grouped on far right */
.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    margin-left: 8px;
    border-left: 1px solid rgba(0,0,0,.1);
    flex-shrink: 0;
}
/* Hide nav-cta inside nav-links on desktop (right cluster handles it) */
.nav-links .nav-cta { display: none; }
.nav-cta a.btn {
    margin-left: 12px;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    padding: 6px;
    animation: dropdownFadeIn .18s ease forwards;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dropdown:hover .dropdown-menu,
.dropdown-menu.open { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 5px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--brand-dark); font-weight: 600; }

/* Dropdown expand button — hidden on desktop, shown on mobile */
.dropdown-expand {
    display: none;
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease;
    transform-origin: center;
}
.nav-toggle span:nth-child(2) { width: 16px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: .88rem;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
    white-space: nowrap;
    letter-spacing: .01em;
}
.btn-sm { padding: 10px 22px; font-size: .82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary {
    background: var(--brand);
    color: var(--brand-dark);
    border-color: var(--brand);
}
.btn-primary:hover {
    background: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(248,221,2,.35);
}
.btn-primary:active {
    background: var(--brand-primary-hover);
    transform: translateY(0);
    box-shadow: none;
}
.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}
.btn-dark {
    background: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}
.btn-dark:hover {
    background: var(--gray-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.btn-dark:active {
    background: var(--gray-900);
    transform: translateY(0);
    box-shadow: none;
}
.btn-dark:disabled,
.btn-dark[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--brand-dark);
    border-color: var(--white);
}
.btn-outline:active {
    background: rgba(255,255,255,.9);
    transform: translateY(0);
}
.btn-outline-dark {
    background: transparent;
    color: var(--brand-dark);
    border-color: var(--gray-300);
}
.btn-outline-dark:hover {
    border-color: var(--brand-dark);
    background: var(--gray-100);
    color: var(--brand-dark);
}
.btn-outline-dark:active {
    background: var(--gray-100);
    transform: translateY(0);
}
.btn-ghost {
    background: transparent;
    color: var(--brand-dark);
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-left: 4px;
    padding-right: 4px;
}
.btn-ghost:hover,
.btn-ghost:focus-visible { color: var(--gray-600); outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-ghost:active { color: var(--gray-700); }

/* Shared disabled state for all btn variants */
.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 85vh;
    min-height: 85dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--brand-dark);
    padding-top: calc(80px + var(--topbar-h));
    padding-bottom: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(26,24,23,.92) 0%,
        rgba(26,24,23,.75) 40%,
        rgba(26,24,23,.4) 100%
    );
}
.hero > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 32px;
    padding-right: 32px;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 580px;
    padding: 0;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(248,221,2,.15);
    border: 1px solid rgba(248,221,2,.25);
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 28px;
}
.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    color: var(--brand);
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.trust-bar {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    letter-spacing: .02em;
}
/* ── Sections ── */
.section { padding: var(--section-padding) 0; }
.section--compact { padding: var(--section-padding-compact) 0; }
.section--cta    { background: var(--off-white); padding: 80px 0; }
.bg-gray-100     { background: var(--gray-100); }
.hero-dark       { background: var(--brand-dark); padding: 80px 0 48px; margin-top: calc(80px + var(--topbar-h)); }
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.page-header + .section { padding-top: 48px; }
.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gray-500);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--brand-dark);
    margin-bottom: 16px;
}
.section-title--center { text-align: center; }
.section-sub {
    color: var(--gray-500);
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.section-sub--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header {
    margin-bottom: 56px;
}
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Category Cards ── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.category-card {
    position: relative;
    display: block;
    height: 340px;
    overflow: hidden;
    background: var(--gray-900);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4,0,.2,1), opacity var(--transition);
    opacity: .6;
}
.category-card:hover img,
.category-card:focus-within img {
    transform: scale(1.06);
    opacity: .4;
}
.category-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    z-index: 2;
}
.category-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.category-card p {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 16px;
    max-width: 260px;
}
.category-card .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--brand);
    transition: gap var(--transition), color var(--transition);
}
.category-card:hover .card-arrow { gap: 12px; }
.category-card .price-signal { margin-bottom: 10px; }

/* ── How It Works ── */
.how-it-works { background: var(--white); }
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    counter-reset: step;
}
.steps-row--4col { grid-template-columns: repeat(4, 1fr); }
.step {
    padding: 48px 40px;
    border-right: 1px solid var(--gray-200);
    counter-increment: step;
    position: relative;
}
.step:last-child { border-right: none; }
.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 20px;
    opacity: .4;
}
.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 10px;
}
.step p {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Partner Logo Slider ── */
.partners { padding: 80px 0; background: var(--off-white); }
.logo-slider {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-track {
    display: flex;
    gap: 32px;
    animation: scroll-logos 70s linear infinite;
    width: max-content;
    will-change: transform;
}
.partner-logo {
    flex-shrink: 0;
    width: 160px;
    height: 48px;
    opacity: .85;
    transition: opacity var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo:hover { opacity: 1; }
.partner-logo svg { width: 100%; height: 100%; }
.partner-logo img {
    max-height: 40px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.35s, opacity 0.35s;
    display: block;
}
.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-name-badge {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--gray-500);
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
    font-family: inherit;
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    padding: 6px 14px;
    background: var(--white);
}
.partner-logo:hover .partner-name-badge { color: var(--brand-dark); border-color: var(--brand); }
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 16px)); }
}

/* ── Materials Grid ── */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.material-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
}
.material-card:hover,
.material-card:focus-within {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.material-card-img {
    height: 200px;
    overflow: hidden;
}
.material-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.material-card:hover .material-card-img img {
    transform: scale(1.05);
}
.material-card-body {
    padding: 24px;
}
.material-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 6px;
}
.material-card p {
    font-size: .85rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.55;
}

/* ── Why Us ── */
.why-us {
    background: var(--brand-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.why-us::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--brand);
    opacity: .04;
    border-radius: 50%;
}
.why-us .section-label { color: var(--brand); }
.why-us .section-title { color: var(--white); }
.why-us .section-sub { color: var(--gray-300); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.why-card {
    padding: 40px 32px;
    border-right: 1px solid rgba(255,255,255,.08);
    transition: background var(--transition);
}
.why-card:last-child { border-right: none; }
.why-card--light { border-right-color: var(--gray-200); border-color: var(--gray-200); }
.why-card:hover,
.why-card:focus-within { background: rgba(255,255,255,.04); }
.why-card-icon {
    width: 48px;
    height: 48px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand-dark);
}
.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}
.why-card p {
    font-size: .85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ── Delivery ── */
.delivery-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}
.delivery-img {
    overflow: hidden;
}
.delivery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.delivery-text {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--off-white);
}
.delivery-text h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    color: var(--brand-dark);
}
.delivery-text > p {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: .95rem;
}
.delivery-list { margin-bottom: 36px; }
.delivery-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-weight: 500;
    font-size: .92rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}
.delivery-list li:last-child { border-bottom: none; }
.check-mark {
    width: 24px;
    height: 24px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── CTA Section ── */
.cta-section {
    background: var(--brand);
    padding: 100px 0;
}
.cta-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.cta-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -.03em;
    margin-bottom: 16px;
}
.cta-content p {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.6;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo .logo-mark { width: 32px; height: 32px; font-size: .9rem; }
.footer-logo .logo-text { color: var(--white); font-size: .78rem; }
.footer-col h3 {
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a {
    font-size: .88rem;
    transition: color var(--transition);
}
.footer-col a:visited { color: var(--gray-300); }
.footer-col a:hover,
.footer-col a:visited:hover { color: var(--white); }
.footer-col a:focus-visible { color: var(--white); outline: 2px solid var(--brand); outline-offset: 2px; }
.footer-col p { font-size: .85rem; line-height: 1.7; }
.footer-mt { margin-top: 14px; }
.footer-social-links { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
    border-radius: 6px;
    color: var(--gray-400);
    transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social-icon:hover {
    background: rgba(255,255,255,.18);
    color: var(--white);
}
.footer-social-icon:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
.footer-contact-link {
    color: inherit; text-decoration: none;
    display: flex; align-items: center; gap: 8px;
    transition: color var(--transition-fast);
}
.footer-contact-link:hover,
.footer-contact-link:visited:hover { color: var(--white); }
.footer-contact-link:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 2px;
}
.footer-contact-link--mb { margin-bottom: 8px; }
.footer-contact-icon { flex-shrink: 0; opacity: .7; }
.footer-hours-heading { color: var(--white); display: block; margin-bottom: 4px; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: .78rem;
    color: var(--gray-500);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .78rem; }
.footer-legal a:hover,
.footer-legal a:visited:hover { color: var(--white); }
.footer-agency-link { color: var(--gray-500); font-size: .78rem; text-decoration: none; opacity: .6; transition: opacity .2s; }
.footer-agency-link:hover { opacity: 1; color: var(--white); }

/* ============================================
   Category Page
   ============================================ */
.page-header {
    padding: calc(140px + var(--topbar-h)) 0 64px;
    background: var(--brand-dark);
    color: var(--white);
}
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 12px;
}
.page-header p {
    color: var(--gray-400);
    max-width: 520px;
    font-size: 1.05rem;
}
ol.breadcrumb, .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    font-size: .82rem;
    color: var(--gray-500);
    list-style: none; /* ol reset */
    padding-left: 0;  /* ol reset */
}
ol.breadcrumb li, .breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}
ol.breadcrumb li + li::before, .breadcrumb li + li::before {
    content: '/';
    color: var(--gray-400);
    margin-right: 8px;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover,
.breadcrumb a:visited:hover { text-decoration: underline; color: var(--brand); }
.breadcrumb a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.breadcrumb a:visited { color: var(--gray-500); }
/* Breadcrumbs on dark backgrounds (page-header and hero-dark) */
.page-header .breadcrumb,
.hero-dark .breadcrumb { color: rgba(255,255,255,.5); }
.page-header .breadcrumb li + li::before,
.hero-dark .breadcrumb li + li::before { color: rgba(255,255,255,.3); }
.page-header .breadcrumb a,
.hero-dark .breadcrumb a { color: var(--brand); }
.page-header .breadcrumb a:visited,
.hero-dark .breadcrumb a:visited { color: rgba(255,255,255,.5); }

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px 0;
    background: var(--gray-200);
    margin-left: -32px;
    margin-right: -32px;
}
.product-list-card {
    background: var(--white);
    padding: 36px 32px;
    transition: background-color var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.product-list-card:hover,
.product-list-card:focus-within {
    background: var(--brand-light);
}
.product-list-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-dark);
}
.product-list-card p {
    font-size: .88rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.55;
    flex: 1;
}
.product-list-card .price-signal { margin-bottom: 14px; }
.product-list-card .btn { margin-top: 0; }

/* ============================================
   Product Page
   ============================================ */
.product-detail { padding: 64px 0 100px; }
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.product-info > p {
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.7;
}
.product-meta { margin-bottom: 32px; }
.product-meta h3 {
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-400);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.product-meta ul { padding-left: 0; }
.product-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    padding: 8px 0;
    font-size: .9rem;
    border-bottom: 1px solid var(--gray-100);
}
.product-meta li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand);
    flex-shrink: 0;
}
.product-cta {
    background: var(--brand-dark);
    padding: 32px;
    color: var(--white);
}
.product-cta p {
    font-size: .95rem;
    margin-bottom: 20px;
    color: var(--gray-300);
}
.product-cta .price-signal {
    color: var(--brand-dark);
}

/* ============================================
   Inquiry Form
   ============================================ */
.form-section { padding: 64px 0 100px; }
.form-container { max-width: 700px; margin: 0 auto; }

/* Anfrage page layout */
.anfrage-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.anfrage-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.anfrage-card {
    background: var(--off-white);
    border-radius: 8px;
    padding: 28px;
    border: 1px solid var(--gray-200);
}
.anfrage-card--brand { background: var(--brand); border: none; }
.anfrage-card--center { text-align: center; padding: 24px; }
.anfrage-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}
.anfrage-contact-list { display: flex; flex-direction: column; gap: 14px; }
.anfrage-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    color: var(--brand-dark);
    transition: color var(--transition-fast);
}
.anfrage-contact-link:hover { color: var(--gray-700); }
.anfrage-contact-link:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 2px;
}
.anfrage-contact-link--secondary { color: var(--gray-600); font-size: .88rem; font-weight: 400; }
.anfrage-contact-icon {
    width: 36px;
    height: 36px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.anfrage-contact-icon--secondary { background: var(--gray-100); }
.anfrage-trust-list { display: flex; flex-direction: column; gap: 12px; }
.anfrage-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: var(--brand-dark);
    font-weight: 600;
}
.anfrage-trust-item svg { flex-shrink: 0; margin-top: 2px; }
.anfrage-address-label { font-size: .82rem; color: var(--gray-500); margin-bottom: 8px; }
.anfrage-address-text { font-size: .9rem; font-weight: 600; color: var(--brand-dark); line-height: 1.6; }
.anfrage-map-link { font-size: .82rem; color: var(--gray-400); text-decoration: underline; margin-top: 8px; display: inline-block; }
.anfrage-wizard { margin-bottom: 32px; }
.anfrage-wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.anfrage-wizard-label { font-size: .9rem; font-weight: 600; color: var(--brand-dark); }
.anfrage-wizard-title { font-size: .9rem; color: var(--gray-500); }
.anfrage-wizard-bar-wrap {
    background: var(--gray-200);
    border-radius: 50px;
    height: 6px;
    overflow: hidden;
}
.anfrage-wizard-bar-fill {
    height: 100%;
    background: var(--brand);
    border-radius: 50px;
    transition: transform .35s ease;
    width: 100%;
    transform-origin: left;
    transform: scaleX(0.5);
}
.anfrage-wizard-steps { display: flex; gap: 0; margin-top: 12px; }
.anfrage-wizard-step { flex: 1; display: flex; align-items: center; gap: 8px; }
.anfrage-wizard-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: var(--brand-dark);
    flex-shrink: 0;
    transition: background .3s;
}
.anfrage-wizard-dot--inactive { background: var(--gray-200); color: var(--gray-500); }
.anfrage-wizard-step-name { font-size: .82rem; font-weight: 600; color: var(--brand-dark); }
.anfrage-wizard-step-name--inactive { font-size: .82rem; color: var(--gray-500); font-weight: 400; }
.anfrage-fieldset { border: none; padding: 0; margin: 0; min-width: 0; }
.anfrage-step-heading { font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 24px; display: block; }
.anfrage-step-actions-end { margin-top: 32px; display: flex; justify-content: flex-end; }
.anfrage-step-actions-between {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .anfrage-grid { grid-template-columns: 1fr; }
    .anfrage-sidebar { position: static; }
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 0; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-400);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.form-group input,
.form-group select,
.form-group textarea {
    font: inherit;
    caret-color: var(--brand);
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: .92rem;
    border: 1px solid var(--gray-200);
    background: var(--off-white);
    color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
.form-group textarea { resize: vertical; min-height: 100px; } /* textarea-specific */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(248,221,2,.15);
    background: var(--white);
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
.dropdown-menu a:focus-visible {
    background: var(--gray-100);
    outline: 2px solid var(--brand-dark);
    outline-offset: 2px;
}
/* .form-group textarea resize/min-height merged above */
.form-group .file-upload {
    border: 2px dashed var(--gray-300);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    color: var(--gray-400);
    font-size: .88rem;
    transition: border-color var(--transition), background-color var(--transition);
    background: var(--off-white);
}
.form-group .file-upload:hover,
.form-group .file-upload:focus-visible { border-color: var(--brand); background: var(--brand-light); outline: 2px solid var(--brand); outline-offset: 2px; }
.form-divider {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 8px 0;
}
.form-submit { grid-column: 1 / -1; margin-top: 8px; }
.form-note {
    grid-column: 1 / -1;
    font-size: .78rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 8px;
}
.field-error { display: none; color: var(--color-error); font-size: .8rem; margin-top: 4px; }
.label-optional { font-weight: 400; color: var(--gray-500); }
.file-upload-label { display: block; font-weight: 500; margin-bottom: 6px; }
.file-upload-icon { margin: 0 auto 8px; display: block; }
.visually-hidden,
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400; }
.checkbox-label input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--brand); }

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 64px 0 100px;
}
.contact-form-wrap { max-width: 760px; margin: 0 auto; }
.contact-form-wrap form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form-wrap .form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form-wrap label { font-size: .85rem; font-weight: 600; color: var(--brand-dark); }
.contact-form-wrap input,
.contact-form-wrap textarea {
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .95rem;
    font-family: inherit;
    background: #fff;
    color: var(--brand-dark);
    transition: border-color var(--transition);
    width: 100%;
    box-sizing: border-box;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { outline: none; border-color: var(--brand-dark); }
.contact-form-wrap textarea { resize: vertical; min-height: 120px; }
.consent-label-row { display: flex; gap: 10px; align-items: flex-start; font-size: .83rem; color: var(--gray-500); line-height: 1.5; cursor: pointer; }
.consent-label-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--brand-dark); width: 16px; height: 16px; cursor: pointer; }
.consent-label-row a { color: var(--brand-dark); }
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 0 4px; }
}
.contact-form-wrap input:focus-visible,
.contact-form-wrap textarea:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 0; }
.contact-info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--off-white);
    margin-bottom: 16px;
    transition: background-color var(--transition);
}
.contact-info-card:hover,
.contact-info-card:focus-within { background: var(--brand-light); }
.contact-info-card .icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--brand-dark);
}
.contact-info-card h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--brand-dark);
}
.contact-info-card p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }
.hours-table { width: 100%; margin-top: 32px; }
.hours-table th, .hours-table td {
    padding: 14px 0;
    text-align: left;
    font-size: .88rem;
    border-bottom: 1px solid var(--gray-200);
}
.hours-table th { font-weight: 700; color: var(--brand-dark); }
.contact-map {
    overflow: hidden;
    min-height: 400px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--gray-400);
}

/* ── Hero Phone ── */
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 10px 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-size: .95rem;
    font-weight: 600;
    transition: background-color var(--transition), border-color var(--transition);
}
.hero-phone:hover { background: rgba(255,255,255,.14); }
.hero-phone svg { color: var(--brand); flex-shrink: 0; }

/* ── Schnellanfrage Modal ── */
.modal-overlay {
    overscroll-behavior: contain;
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000; /* above nav (1000), cookie banner (9999) */
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modal-in .3s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
}
.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-dark);
}
.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 1.2rem;
    transition: background-color var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--gray-200); }
.modal-close:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
.modal-body { padding: 24px 28px 28px; }
.modal-body .form-group { margin-bottom: 16px; }
.modal-body .form-group:last-of-type { margin-bottom: 20px; }
.modal-note {
    font-size: .78rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 12px;
}

/* body padding-bottom merged into base body rule above */

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card { border-bottom: 1px solid rgba(255,255,255,.08); }
    .product-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* ── Container ── */
    .container { padding: 0 16px; }
    .product-list { margin-left: -16px; margin-right: -16px; }

    /* ── Nav ── */
    .nav-inner { justify-content: space-between; }
    .nav-right-cluster { display: none; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 0 24px;
        overflow-y: auto;
        z-index: 999;
        border-top: 2px solid var(--brand);
        box-shadow: 0 8px 32px rgba(0,0,0,.15);
    }
    .nav-links.open { display: flex; }

    /* Each top-level item */
    .nav-links > li { border-bottom: 1px solid var(--gray-100); }
    .nav-links > li > a {
        padding: 15px 20px;
        width: 100%;
        display: block;
        font-size: .95rem;
        font-weight: 600;
        color: var(--brand-dark);
        text-align: left;
        border-left: 3px solid transparent;
        transition: border-color var(--transition-fast), background-color var(--transition-fast);
    }
    .nav-links > li > a:hover,
    .nav-links > li > a:focus-visible { background: var(--gray-100); outline: 2px solid var(--brand-yellow, #f5c518); outline-offset: 3px; }
    .nav-links > li > a.active {
        border-left-color: var(--brand);
        background: rgba(248,221,2,.08);
        color: var(--brand-dark);
    }

    /* Dropdown items: flex row so expand button sits on the right */
    .nav-links > li.dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .nav-links > li.dropdown > a {
        flex: 1;
        min-width: 0;
    }
    /* Hide the inline chevron SVG inside the link on mobile */
    .nav-links > li.dropdown > a > svg { display: none; }

    /* Expand toggle button */
    .dropdown-expand {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        flex-shrink: 0;
        background: none;
        border: none;
        border-left: 1px solid var(--gray-100);
        cursor: pointer;
        color: var(--brand-dark);
        transition: background-color var(--transition-fast);
    }
    .dropdown-expand:hover { background: var(--gray-100); }
.dropdown-expand:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    background: var(--gray-100);
}
    .dropdown-expand svg { transition: transform var(--transition); }
    .dropdown-expand.active svg { transform: rotate(180deg); }

    /* Submenu on mobile */
    .nav-links .dropdown-menu {
        display: none;
        position: static;
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
        left: auto;
        top: auto;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--gray-100);
        padding: 4px 0 8px 0;
        background: var(--nav-mobile-submenu);
        width: 100%;
        flex-basis: 100%;
        min-width: 0;
    }
    .nav-links .dropdown-menu.mobile-open { display: block; }
    /* Prevent CSS hover from triggering on touch */
    .nav-links .dropdown:hover .dropdown-menu:not(.mobile-open) { display: none; }
    .nav-links .dropdown-menu a {
        padding: 11px 20px 11px 28px;
        font-size: .85rem;
        font-weight: 500;
        color: var(--brand-dark) !important;
        display: block;
    }
    .nav-links .dropdown-menu a:hover,
    .nav-links .dropdown-menu a:focus-visible { background: var(--gray-100); color: var(--brand-dark) !important; outline: 2px solid var(--brand-yellow, #f5c518); outline-offset: 3px; }

    .nav-phone { display: none; }
    .nav-links .nav-cta { display: list-item; }
    .nav-cta { border-bottom: none !important; padding: 16px 20px 0; }
    .nav-cta a.btn {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
        min-height: 48px;
    }

    /* ── Hero ── */
    .hero { min-height: 65vh; }
    .hero-content { padding: 48px 0 40px; }
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(26,24,23,.92) 0%,
            rgba(26,24,23,.82) 100%
        );
    }
    .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
    .hero-sub { font-size: .95rem; max-width: 100%; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 40px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .trust-bar { gap: 12px; }
    .trust-item { font-size: .75rem; }

    /* ── Sections ── */
    .section { padding: 56px 0; }
    .section-title { font-size: clamp(1.45rem, 5.5vw, 1.9rem); }
    .section-label { font-size: .72rem; }

    /* ── Forms — prevent iOS auto-zoom (min 16px on inputs) ── */
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 1rem; }

    /* ── Touch targets ── */
    .btn { min-height: 44px; }

    /* ── Grids ── */
    .category-grid,
    .materials-grid,
    .product-list { grid-template-columns: 1fr; }
    .category-card { height: 220px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card { border-right: none; }

    .steps-row { grid-template-columns: 1fr; }
    .step { border-right: none; border-bottom: 1px solid var(--gray-200); }
    .step:last-child { border-bottom: none; }

    /* ── Delivery split ── */
    .delivery-split { grid-template-columns: 1fr; }
    .delivery-img { height: 240px; }
    .delivery-text { padding: 32px 20px; }

    /* ── Forms / Contact ── */
    .product-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: 1; }

    /* ── Footer ── */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* ── Modal ── */
    .modal { max-width: 100%; margin: 0; border-radius: 0; max-height: 100vh; }

    /* ── Floats ── */
    .back-to-top { display: none !important; } /* floating bar handles bottom UI on mobile */
}

/* ── Blog article mobile improvements ── */
@media (max-width: 768px) {
    .form-section article h2 { font-size: 1.2rem !important; margin: 28px 0 12px !important; }
    .form-section article h3 { font-size: 1.05rem !important; margin: 20px 0 10px !important; }
    .form-section article p { font-size: .95rem !important; }
    .form-section article ul,
    .form-section article ol { margin-left: 16px !important; }
    .form-section article blockquote { margin: 16px 0 !important; padding: 12px 16px !important; }
    .form-section article img { margin: 20px 0 !important; border-radius: 4px; }
    .form-container { padding: 0 !important; }
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; transition: none; }
    .logo-track { animation: none; will-change: auto; }
    .modal-overlay, .modal-content { animation: none; }
    .modal { animation: none; }
    .cookie-banner { transition: none; will-change: auto; transform: translateY(0); opacity: 1; }
    .dropdown-menu { animation: none; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── 404 Page ── */
.error-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--off-white);
}
.error-page-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.error-number {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -.04em;
}
.error-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
}
.error-sub {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.error-phone {
    font-size: .9rem;
    color: var(--gray-500);
    margin-bottom: 40px;
}
.error-phone a { color: var(--brand-dark); font-weight: 700; }
.error-links { border-top: 1px solid var(--gray-200); padding-top: 28px; }
.error-links-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    margin-bottom: 12px;
}
.error-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.error-links a {
    padding: 6px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}
.error-links a:hover { border-color: var(--brand-dark); color: var(--brand-dark); background: var(--gray-100); }
.footer-404 { text-align: center; padding: 40px 24px; }
.footer-404 p { color: var(--gray-400); font-size: .85rem; }

/* Print elements - hidden on screen */
.print-header, .print-footer, .print-date { display: none; }

/* ============================================
   FAQ Page
   ============================================ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 48px;
}

.faq-section:last-child {
    margin-bottom: 0;
}

.faq-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand);
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover,
.faq-item:focus-within {
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand-dark);
    text-align: left;
    gap: 16px;
    transition: background-color var(--transition-fast);
}

.faq-question:hover,
.faq-question:focus-visible {
    background: var(--off-white);
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--gray-400);
}

.faq-item--open .faq-chevron {
    transform: rotate(180deg);
    color: var(--brand-dark);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.faq-item--open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 20px 20px;
    color: var(--gray-600);
    font-size: .9rem;
    line-height: 1.7;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    margin: 8px 0 12px 20px;
    list-style: disc;
}

.faq-answer-inner li {
    margin-bottom: 6px;
}

.faq-answer-inner a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer-inner a:hover {
    color: var(--gray-600);
}

.faq-item--open .faq-question {
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 14px 16px;
        font-size: .9rem;
    }
    .faq-answer-inner {
        padding: 0 16px 16px;
        font-size: .85rem;
    }
    .faq-section-title {
        font-size: 1.15rem;
    }
}

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 400px;
    max-width: calc(100vw - 32px);
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
    border-top: 4px solid var(--brand);
    padding: 20px 20px 16px;
    transform: translateY(calc(100% + 40px));
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
    opacity: 0;
    will-change: transform, opacity;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner-inner { display: flex; flex-direction: column; gap: 12px; }
.cookie-banner-title {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
}
.cookie-banner-text {
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--gray-700);
}
.cookie-banner a { color: var(--brand-dark); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; }
/* Ablehnen — clearly a button (compliance), but visually subordinate to accept */
.cookie-btn-ghost {
    flex: 1;
    background: var(--gray-50, #f9f9f9);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    padding: 9px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 500;
    font-family: var(--font);
    transition: border-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}
.cookie-btn-ghost:hover,
.cookie-btn-ghost:focus-visible { border-color: var(--gray-400); color: var(--gray-700); outline: 2px solid var(--gray-200); outline-offset: 2px; }
.cookie-btn-secondary {
    flex: 1;
    background: transparent;
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 500;
    font-family: var(--font);
    transition: border-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}
.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus-visible { border-color: var(--gray-400); color: var(--gray-700); outline: none; }
.cookie-btn-primary {
    flex: 2;
    background: #111;
    border: 1.5px solid #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    font-family: var(--font);
    letter-spacing: .01em;
    transition: background var(--transition-fast);
    white-space: nowrap;
}
.cookie-btn-primary:hover,
.cookie-btn-primary:focus-visible { background: #2a2a2a; border-color: #2a2a2a; outline: 2px solid #111; outline-offset: 2px; }
.cookie-banner-links {
    font-size: .72rem;
    color: var(--gray-500);
    text-align: center;
}
.cookie-banner-links a { color: var(--gray-500); text-decoration: underline; font-weight: 400; }
.cookie-banner-links a:hover { color: var(--gray-700); }

/* ── Cookie Settings Modal ── */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.cookie-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.cookie-modal {
    background: var(--white);
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 540px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px 24px 32px;
    transform: translateY(40px);
    transition: transform .3s cubic-bezier(.34,1.2,.64,1);
    -webkit-overflow-scrolling: touch;
}
.cookie-modal-overlay.open .cookie-modal { transform: translateY(0); }
.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.cookie-modal-header h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.cookie-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}
.cookie-modal-close:hover { color: var(--gray-900); }
.cookie-modal-intro {
    font-size: .82rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin: 0 0 20px;
}
.cookie-category {
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}
.cookie-category-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.cookie-category-name {
    font-size: .875rem;
    font-weight: 700;
    color: var(--gray-900);
}
.cookie-category-badge {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-500);
    flex-shrink: 0;
}
.cookie-category-badge.always-on {
    background: #e8f5e9;
    color: #2e7d32;
}
/* Toggle switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: var(--gray-300);
    transition: background .2s ease;
    cursor: pointer;
}
.cookie-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: transform .2s ease;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--brand); }
.cookie-toggle input:checked + .cookie-toggle-track::after { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-track { opacity: .6; cursor: not-allowed; }
.cookie-toggle input:focus-visible + .cookie-toggle-track { outline: 2px solid var(--brand); outline-offset: 2px; }
.cookie-category-desc {
    font-size: .78rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin: 10px 0 0;
}
.cookie-category-services {
    font-size: .72rem;
    color: var(--gray-500);
    margin: 6px 0 0;
}
.cookie-modal-activate-all {
    display: block;
    width: 100%;
    text-align: center;
    font-size: .78rem;
    color: var(--gray-400);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font);
    padding: 0 0 6px;
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}
.cookie-modal-activate-all:hover { color: var(--gray-700); }
.cookie-modal-footer {
    position: sticky;
    bottom: 0;
    background: var(--white);
    padding-top: 16px;
    margin-top: 20px;
    border-top: 1px solid var(--gray-100);
}
.cookie-modal-footer-actions {
    display: flex;
    gap: 8px;
}
.cookie-modal-footer .cookie-btn-primary { flex: 2; padding: 12px 16px; font-size: .875rem; }
.cookie-modal-footer .cookie-btn-ghost   { flex: 1; padding: 12px 10px; font-size: .78rem; }
.cookie-modal-footer .cookie-btn-secondary { flex: 1; padding: 12px 10px; font-size: .78rem; }

@media (max-width: 480px) {
    .cookie-banner { bottom: 16px; left: 16px; right: 16px; width: auto; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-btn-ghost, .cookie-btn-secondary, .cookie-btn-primary { flex: none; width: 100%; }
    .cookie-modal { padding: 24px 18px 28px; }
    .cookie-modal-footer-actions { flex-direction: column; }
    .cookie-modal-footer .cookie-btn-primary,
    .cookie-modal-footer .cookie-btn-ghost,
    .cookie-modal-footer .cookie-btn-secondary { flex: none; width: 100%; }
}

/* WhatsApp floating button removed – replaced by GHL live chat widget */

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 997;
    width: 44px;
    height: 44px;
    background: var(--brand-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gray-700); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
/* back-to-top sits at default position — floating bar removed */

/* Footer Newsletter */
.footer-newsletter {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 32px 0;
    margin-bottom: 32px;
}
.footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-newsletter-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.footer-newsletter-sub {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.newsletter-input-row {
    display: flex;
    gap: 8px;
}
.footer-newsletter-input {
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: .88rem;
    font-family: inherit;
    width: 260px;
    outline: none;
    transition: border-color var(--transition-fast);
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-input:focus { border-color: var(--brand); }
.footer-newsletter-input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.newsletter-status { min-height: 1.4em; font-size: .875rem; margin-top: 8px; }

/* ── Consent Checkbox (newsletter + modal) ── */
.consent-check {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    margin-top: 1px;
    transition: background .15s, border-color .15s;
    flex-shrink: 0;
}
.consent-check:checked {
    background: var(--brand);
    border-color: var(--brand);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.5 3.5 6.5-7' stroke='%232C2929' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.consent-check:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Modal consent — dark border on light bg */
.consent-check--dark {
    border-color: var(--gray-300);
}
.consent-check--dark:checked {
    background: var(--brand);
    border-color: var(--brand);
}
.newsletter-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: .78rem;
    line-height: 1.5;
    color: rgba(255,255,255,.45);
}
.newsletter-consent-label .newsletter-consent-link {
    color: rgba(255,255,255,.6);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.newsletter-consent-label .newsletter-consent-link:hover { color: var(--brand); }
.modal-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.modal-consent-label a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.modal-consent-label a:hover { color: var(--brand); }

@media (max-width: 768px) {
    .footer-newsletter-inner { flex-direction: column; align-items: flex-start; }
    .footer-newsletter-form { width: 100%; }
    .newsletter-input-row { flex-direction: column; }
    .footer-newsletter-input { width: 100%; }
}

/* Before/After Slider */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.ba-card { display: flex; flex-direction: column; gap: 12px; }
.ba-slider-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    user-select: none;
    -webkit-user-select: none;
    cursor: col-resize;
    touch-action: none;
}
.ba-after, .ba-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-before-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: visible;
}
.ba-before {
    clip-path: inset(0 50% 0 0);
}
.ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}
.ba-handle-line { flex: 1; width: 2px; background: var(--white); }
.ba-handle-btn {
    width: 40px; height: 40px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    flex-shrink: 0;
}
.ba-handle:focus-visible .ba-handle-btn {
    outline: 3px solid var(--brand-dark);
    outline-offset: 3px;
}
.ba-label {
    position: absolute;
    bottom: 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(0,0,0,.5);
    padding: 4px 10px;
    border-radius: 4px;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.ba-caption { font-size: .82rem; color: var(--gray-400); text-align: center; }
.ba-section-cta { text-align: center; margin-top: 40px; }

/* Utilities */
.pt-0 { padding-top: 0 !important; }
.pt-3 { padding-top: 3rem !important; }

/* Cross-link cards (blog/ratgeber) */
.crosslink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.crosslink-card {
    display: block;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    transition: box-shadow var(--transition), transform var(--transition-fast);
}
.crosslink-card:hover,
.crosslink-card:focus-within { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.crosslink-label {
    margin: 0 0 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.crosslink-title { margin: 0 0 8px; font-size: 1.15rem; color: var(--brand-dark); }
.crosslink-desc { margin: 0; font-size: .9rem; color: var(--gray-500); }
.crosslink-cta { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--brand-dark); }

/* Blog / card overlay badges */
.card-date-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(30,30,28,.85); color: var(--white);
    font-size: .7rem; font-weight: 600;
    padding: 4px 10px; border-radius: 4px; letter-spacing: .3px;
}

/* Blog article section divider */
.article-divider { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--gray-200); }

/* Content headings (additional variants) */
.content-h2-tight { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; color: var(--brand-dark); }
.content-h4 { font-size: 1rem; font-weight: 600; color: var(--brand-dark); margin: 1.5rem 0 .5rem; }
.content-h3-sm { font-size: 1.2rem; font-weight: 700; color: var(--brand-dark); margin: 0 0 20px; }
.content-body-0 { color: var(--gray-600); line-height: 1.75; margin-bottom: 0; font-size: .95rem; }
.content-eyebrow { font-size: .82rem; color: var(--gray-400); font-weight: 600; }

/* Layout utilities */
.text-center-m40 { text-align: center; margin: 40px 0; }
.flex-center-wrap { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Table utilities */
.th-cell   { padding: 12px 16px; text-align: left; font-weight: 600; }
.th-cell-7 { padding: 12px 16px; text-align: left; font-weight: 700; }
.tr-stripe { border-bottom: 1px solid var(--gray-200); background: var(--off-white); }
.tr-border { border-bottom: 1px solid var(--gray-200); }
.tr-border-light { border-bottom: 1px solid var(--gray-200); }

/* Info and quote boxes */
.info-box { background: var(--off-white); padding: 24px 32px; margin: 24px 0; border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; }
.quote-box {
    background: var(--gray-100); border-left: 4px solid var(--brand);
    padding: 24px 28px; border-radius: 0 8px 8px 0;
}
.quote-box-sm {
    margin-top: 24px; padding: 16px;
    background: var(--off-white); border-radius: 8px;
}

/* Partner/brand logo */
.brand-logo-img { max-height: 56px; max-width: 100%; object-fit: contain; display: block; }
/* Blog blockquote callout */
.blockquote-yellow {
    border-left: 4px solid var(--brand); padding: 16px 24px;
    background: var(--brand-light); margin: 24px 0; font-style: italic;
}

/* Misc component helpers */
.section-h3-spaced { font-size: 1.1rem; font-weight: 700; color: var(--brand-dark); margin: 2rem 0 .75rem; }
.card-h3-tight     { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--brand-dark); }
.card-sub          { font-size: .88rem; color: var(--gray-500); margin-bottom: 24px; line-height: 1.55; }
.card-meta         { font-size: .75rem; color: var(--gray-500); margin-bottom: 8px; }
.cta-center        { text-align: center; margin: 48px 0 0; }
.text-mt16-sm      { margin-top: 16px; font-size: .88rem; color: var(--gray-500); }
.td-bold           { padding: 12px 16px; font-weight: 600; color: var(--brand-dark); }
/* .inline-flex-gap defined below with margin-top */
.grid-3col         { grid-template-columns: repeat(3, 1fr); }

/* Utility: backgrounds and spacing */
.bg-off-white-section { background: var(--off-white); }
.section--medium { padding: 48px 0; }
.section--tight  { padding: 40px 0; }
.img-full { width: 100%; margin: 32px 0; display: block; }
.text-center-m24  { text-align: center; margin: 24px 0; }
.text-center-mb28 { text-align: center; margin-bottom: 28px; }
.text-center-mt24 { text-align: center; margin-top: 24px; }
.flex-wrap-center { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.standort-nearby-heading { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-top: 8px; }
.standort-nearby-sub     { color: var(--gray-500); font-size: .95rem; margin-top: 8px; }
.standort-nearby-link    { color: var(--brand-dark); font-weight: 600; text-decoration: none; font-size: .95rem; }
.callout-yellow {
    background: var(--brand-light); padding: 24px;
    margin: 32px 0; border-left: 4px solid var(--brand);
}
.callout-heading { font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.callout-text    { color: var(--gray-600); margin-bottom: 12px; }
.hr-light { margin: 2.5rem 0; border: none; border-top: 1px solid var(--gray-200); }
.content-lead-no-max { color: var(--gray-600); font-size: 1rem; line-height: 1.7; max-width: 800px; }
.list-disc-indent { margin: 0 0 20px 24px; list-style: disc; }
.input-cell  { padding: 1rem 1.1rem; border: 1px solid var(--gray-200); line-height: 1.6; vertical-align: top; }
.input-cell-bold { padding: 1rem 1.1rem; border: 1px solid var(--gray-200); font-weight: 600; color: var(--brand-dark); vertical-align: top; }
.field-label-h3  { font-size: 1.1rem; font-weight: 700; color: var(--brand-dark); margin: 0 0 .75rem; }

/* Content/article typography helpers */
.content-p   { color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.content-p-lg { color: var(--gray-600); line-height: 1.7; margin-bottom: 40px; }
.content-lead { color: var(--gray-600); font-size: 1rem; line-height: 1.7; max-width: 800px; margin-bottom: 24px; }
.content-body { color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; font-size: .95rem; }
.content-h2  { font-size: 1.4rem; font-weight: 700; margin: 40px 0 16px; color: var(--brand-dark); }
.content-h3  { font-size: 1.1rem; font-weight: 700; margin: 24px 0 12px; color: var(--brand-dark); }
.content-list { margin-left: 20px; list-style: disc; margin-bottom: 24px; }
.content-li  { margin-bottom: 8px; color: var(--gray-600); }
.content-link { color: var(--brand-dark); font-weight: 600; text-decoration: underline; }
.content-link:visited { color: var(--gray-600); }
.content-link-plain { color: var(--brand-dark); font-weight: 600; }
.content-link-dark  { color: var(--brand-dark); text-decoration: underline; font-weight: 500; }
.breadcrumb-link    { color: var(--gray-400); text-decoration: none; font-size: .85rem; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--brand); }
.stat-card   { background: var(--white); padding: 40px 24px; text-align: center; }
.info-card   { background: var(--white); padding: 32px; border-radius: 8px; border: 1px solid var(--gray-200); }
.text-muted  { color: var(--gray-500); }
.text-muted-sm { font-size: .88rem; color: var(--gray-500); margin-top: 4px; }
.text-xs-gray  { font-size: .8rem; color: var(--gray-400); }
.text-brand-lg { color: var(--brand); font-size: 1.2rem; margin-bottom: 12px; }
.text-bold-sm  { font-weight: 600; font-size: .9rem; }
.content-p-sm8 { color: var(--gray-600); line-height: 1.7; margin-bottom: 8px; }
.article-p-sub { color: var(--gray-500); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }
.mt-3q  { margin-top: .75rem; }
.mb-3q  { margin-bottom: .75rem; }
.mb-label { margin: 0 0 8px; font-weight: 600; }
.overflow-x-auto { overflow-x: auto; }
.content-max-800 { max-width: 800px; line-height: 1.8; color: var(--gray-700); }
.flex-items-gap { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.tool-label { font-weight: 600; font-size: .92rem; margin-bottom: 12px; display: block; color: var(--brand-dark); }
.blog-article-h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-top: .75rem; line-height: 1.6; }
.tr-alt { border-bottom: 1px solid var(--gray-200); background: var(--off-white); }
.tr-head { background: var(--gray-100); text-align: left; }
.content-tag {
    display: inline-block; padding: 10px 20px;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
    color: var(--gray-700); text-decoration: none;
    font-size: .95rem; font-weight: 500; transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}
.content-tag:hover,
.content-tag:focus-visible { border-color: var(--brand-dark); color: var(--brand-dark); outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.content-td  { padding: 12px 16px; color: var(--gray-600); }

/* Product page crosslink / related sections */
.prod-section-heading { font-size: 1.4rem; font-weight: 800; color: var(--brand-dark); margin-bottom: 24px; }
.prod-ratgeber-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.prod-related-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.prod-card {
    display: block; padding: 20px;
    background: var(--white); border: 1px solid var(--gray-200);
    text-decoration: none; transition: box-shadow var(--transition), border-color var(--transition);
}
.prod-card:hover,
.prod-card:focus-within { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.prod-badge {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--brand-dark); background: var(--brand-yellow);
    padding: 2px 8px; border-radius: 2px; display: inline-block;
}
.prod-card-title { font-size: 1rem; font-weight: 700; color: var(--brand-dark); margin: 8px 0 4px; }
.prod-card-desc  { font-size: .85rem; color: var(--gray-500); margin: 0; }
.prod-card-desc--gray { font-size: .85rem; color: var(--gray-600); }
@media (max-width: 960px) {
    .ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ba-grid { grid-template-columns: 1fr; }
    .ba-handle-btn { width: 48px; height: 48px; }
}

/* Price Signal */
.price-signal {
    display: inline-block;
    font-size: .75rem;
    color: var(--brand-dark);
    background: var(--brand-light);
    border: 1px solid rgba(248,221,2,.6);
    border-radius: 4px;
    padding: 3px 10px;
    font-weight: 600;
    margin-top: 8px;
}

/* ── Extracted Inline Style Classes ── */
.separator-dot { color: var(--gray-500); margin: 0 .5rem; }
.team-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.content-ul-disc { margin-left: 20px; list-style: disc; margin-bottom: 16px; }
.content-ol-decimal { margin: 0 0 20px 24px; list-style: decimal; }
.card-title-sm { font-size: 1rem; font-weight: 700; color: var(--brand-dark); margin: 16px 0 4px; }
.card-desc-sm { font-size: .88rem; color: var(--gray-500); margin: 0; }
.stat-value { font-size: 1.3rem; font-weight: 700; color: var(--brand-dark); }
.text-brand-dark { color: var(--brand-dark); }
.text-gray-500 { color: var(--gray-500); }
.w-full { width: 100%; }
.pos-rel { position: relative; }
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.data-table-sm { width: 100%; border-collapse: collapse; font-size: .9rem; }
.overflow-table { overflow-x: auto; margin-bottom: 24px; }
.overflow-table-lg { overflow-x: auto; margin-bottom: 32px; }
.bg-dark-white { background: var(--brand-dark); color: var(--white); }
/* .info-box merged above at "Info and quote boxes" */
.section-desc { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 24px; }
.content-h3-lg { font-size: 1.1rem; font-weight: 600; margin: 28px 0 12px; color: var(--brand-dark); }
.table-cell-right { padding: 4px 0; font-weight: 600; text-align: right; }
.max-w-760 { max-width: 760px; }
.max-w-800 { max-width: 800px; }
.meta-text { font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; }
.highlight-box { background: var(--off-white); padding: 24px 32px; margin-bottom: 24px; }
.info-box-accent { background: var(--off-white); padding: 24px 32px; margin-bottom: 24px; border-left: 4px solid var(--brand); }
.badge-inaktiv { background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 4px; font-size: .8rem; font-weight: 600; }
.mb-1rem { margin-bottom: 1rem; }
.mt-1rem { margin-top: 1rem; }
.footer-note { color: rgba(255,255,255,.6); font-size: .85rem; }
.bg-dark { background: var(--brand-dark); color: var(--white); }
.inline-flex-gap { gap: 6px; display: inline-flex; align-items: center; margin-top: 8px; }
.link-inherit { color: inherit; text-decoration: none; font-weight: 600; }
.flex-1 { flex: 1; }
.no-underline { text-decoration: none; }
.content-card { background: var(--white); border: 1px solid var(--gray-200); padding: 40px; margin-bottom: 24px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.icon-inline { vertical-align: -2px; margin-right: 6px; }
.content-h3-inline { font-size: 1rem; font-weight: 700; color: var(--brand-dark); margin: 2.5rem 0 .875rem; }
.bg-gray-200 { background: var(--gray-200); }
.label-sm { font-size: .88rem; font-weight: 600; color: var(--brand-dark); }
.icon-brand { color: var(--brand); flex-shrink: 0; }
.desc-list { color: var(--gray-500); font-size: .9rem; line-height: 1.8; padding-left: 20px; list-style: disc; }
.bg-brand { background: var(--brand); }
.section-sublabel { font-size: .85rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.border-right-gray { border-right: 1px solid var(--gray-200); }
.border-right-none { border-right: none !important; }
.max-w-500 { max-width: 500px; margin-left: auto; margin-right: auto; }
.max-w-640 { max-width: 640px; margin-left: auto; margin-right: auto; }
.img-cover-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-iframe { border: 0 !important; border-radius: 0; display: block; }
.why-grid--bordered { border: 1px solid var(--gray-200); }
.btn-full { width: 100%; }
.text-note { color: var(--gray-500); font-size: .88rem; margin-top: 20px; text-align: center; }
.text-sm-muted { color: var(--gray-500); font-size: .8rem; margin-top: 10px; }
.align-self-start { align-self: flex-start; }
.text-2xl-brand { font-size: 2rem; font-weight: 800; color: var(--brand-dark); line-height: 1; }
.stars-gold { color: var(--brand-accent); font-size: 1.1rem; letter-spacing: .05em; }

/* ── Page Hero text in dark header sections ── */
.page-hero-title { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 .75rem; }
.page-hero-sub   { color: var(--gray-400); font-size: 1.05rem; max-width: 560px; margin: 0; }

/* ── Coming Soon card (katalog.html) ── */
.coming-soon-card  { background: var(--off-white); border-radius: 20px; padding: 3rem 2rem; border: 1px solid var(--gray-200); }
.coming-soon-icon  { font-size: 3.5rem; margin-bottom: 1.5rem; }
.coming-soon-title { margin-bottom: 1rem; font-size: 1.5rem; }
.coming-soon-body  { color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; }
.coming-soon-hint  { color: var(--gray-400); font-size: .9rem; margin-bottom: 1.5rem; }
.mt-3rem { margin-top: 3rem; }

/* ── Review summary box (index.html) ── */
.review-summary-wrap { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.review-summary-box  { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; padding: 14px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.review-score { text-align: center; }
.review-detail { border-left: 1px solid var(--gray-200); padding-left: 14px; }
.review-count { font-size: .82rem; font-weight: 600; color: var(--brand-dark); }
.review-link  { font-size: .78rem; color: var(--gray-400); text-decoration: none; display: block; margin-top: 2px; }
.review-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }

/* ── Inline link with icon ── */
.link-more-sm { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--gray-600); transition: color var(--transition); text-decoration: none; }
.link-more-sm:hover { color: var(--brand-dark); }
.link-more-sm:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Additional utility classes ── */
.text-white { color: var(--white); }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.body-gray { color: var(--gray-500); font-size: 1.05rem; line-height: 1.8; }
.body-gray-mb20 { color: var(--gray-500); font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.body-gray-mb32 { color: var(--gray-500); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }
.form-container--full { max-width: none; margin: 0; }
.min-w-140 { min-width: 140px; }
.min-w-160 { min-width: 160px; }
.min-w-200 { min-width: 200px; }
.icon-inline-right { vertical-align: middle; margin-right: 6px; }
.icon-inline-left  { vertical-align: middle; margin-left: 6px; }
.section-header--mb56 { margin-bottom: 56px; }
.section-title--white { color: var(--white); }
.hr-separator { margin: 3rem 0; border: none; border-top: 1px solid var(--gray-200); }
.text-legal-sm { font-size: .85rem; color: var(--gray-500); }
.text-legal-xs { font-size: .8rem; color: var(--gray-400); margin-top: .5rem; }
.blog-tag-pill { position: absolute; top: 12px; left: 12px; background: var(--brand); color: var(--brand-dark); font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; letter-spacing: .3px; }
.blog-filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.blog-cta-box { text-align: center; margin-top: 3rem; padding: 1.5rem 1rem; background: var(--off-white); border-radius: 12px; border: 1px dashed var(--gray-300); }
.blog-cta-text-lg { margin: 0; color: var(--gray-600); font-size: .95rem; font-weight: 500; }
.blog-cta-text-sm { margin: 6px 0 0; color: var(--gray-400); font-size: .85rem; }
.hours-table--compact { width: 100%; font-size: .88rem; border-collapse: collapse; }
.hours-table--compact th, .hours-table--compact td { padding: 4px 0; }
.hours-table--compact th { color: var(--gray-600); font-weight: 400; text-align: left; }
.hours-table--compact td { color: var(--gray-600); }
.hours-table--compact td.closed { color: var(--gray-400); }
.mt-8px { margin-top: 8px; }
.icon-tip { flex-shrink: 0; margin-top: 2px; }
.text-brand-bold { color: var(--brand-dark); font-weight: 700; margin-bottom: 4px; }
.text-gray600-lg { color: var(--gray-600); line-height: 1.7; }
.body-gray-600 { color: var(--gray-600); font-size: 1rem; line-height: 1.75; }
.calc-result-label { color: var(--brand-dark); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; display: block; }
.calc-hint { color: var(--gray-500); font-size: .85rem; line-height: 1.6; margin-bottom: 24px; }
.result-label { font-weight: 700; font-size: 1rem; color: var(--brand-dark); margin-bottom: 16px; }
.result-label-sub { font-weight: 400; color: var(--gray-500); font-size: .88rem; }
.grid-3col-mt48 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; max-width: 900px; }
.grid-4col-gap2-gray { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gray-200); }
.grid-2col-gap48-center { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.heading-xl { font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); margin: 12px 0 16px; }
.img-h360 { height: 360px; }
.section-intro-gray { color: var(--gray-400); max-width: 600px; margin-top: 12px; font-size: 1.05rem; line-height: 1.6; }
.mt-16px { margin-top: 16px; }
.summary-total-text { font-size: .82rem; color: var(--gray-400); margin-top: 16px; }
.textarea-notes { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); font-family: inherit; font-size: .92rem; resize: vertical; }
.flex-gap-12 { display: flex; gap: 12px; }
.list-empty-state { color: var(--gray-400); justify-content: center; }

/* ── Blog Post Components ── */
.blog-tags-row   { display: flex; gap: 8px; margin-bottom: 1rem; flex-wrap: wrap; }
.blog-tag        { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; }
.blog-tag--brand { background: var(--brand); color: var(--brand-dark); }
.blog-tag--muted { background: rgba(255,255,255,.1); color: var(--gray-400); font-weight: 600; }
.blog-hero-title { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 .75rem; max-width: 700px; }
.blog-meta       { color: var(--gray-400); margin: 0; }
.mb-2-5rem       { margin-bottom: 2.5rem; }
.video-caption   { color: var(--gray-400); font-size: .8rem; margin-top: -2rem; margin-bottom: 2.5rem; text-align: center; }
.blog-article    { line-height: 1.8; color: var(--gray-800); }
.blog-cta-band   { background: var(--brand); border-radius: 16px; padding: 2rem; margin-top: 3rem; text-align: center; }
.blog-cta-heading { color: var(--brand-dark); margin-bottom: .5rem; }
.blog-cta-desc   { color: var(--brand-dark); opacity: .8; margin-bottom: 1.5rem; }
.blog-cta-btn    { background: var(--brand-dark); color: var(--brand); }
.text-center-mt32 { text-align: center; margin-top: 2rem; }
.blog-back-link  { color: var(--gray-400); text-decoration: none; font-size: .9rem; }

/* ── Additional utility & component classes ── */
.contact-card-label { padding: 16px 16px 8px; margin: 0; font-size: .88rem; font-weight: 700; color: var(--brand-dark); }
.contact-card-body  { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.list-disc  { margin: .5rem 0 .75rem 1.25rem; list-style: disc; }
.intro-text { color: var(--gray-600); line-height: 1.7; margin-bottom: 40px; font-size: 1.05rem; }
.pt-3rem    { padding-top: 3rem; }
.grid-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* Category grid never exceeds 3 columns */
.category-grid.grid-auto-300 { grid-template-columns: repeat(3, 1fr); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 450px; overflow-x: auto; }
.mt-20px    { margin-top: 20px; }
.table-empty-cell { text-align: center; padding: 40px; color: var(--gray-400); }
.link-brand { color: var(--brand-dark); text-decoration: none; font-weight: 600; }
.text-xs-muted { color: var(--gray-400); font-size: .82rem; }
.p-6-10     { padding: 6px 10px; }

/* ── Material color swatches (static tool UIs) ── */
.swatch-sand      { background: #d4a437; }
.swatch-loam      { background: #8b6c42; }
.swatch-clay      { background: #5c5c5c; }
.swatch-gray      { background: #9e9e9e; }
.swatch-dark      { background: #4a4a4a; }
.swatch-brick     { background: #b85c5c; }
.swatch-earth     { background: #8b6b4a; }
.swatch-beige     { background: #d4b896; }
.swatch-charcoal  { background: #5a5a5a; }
.swatch-stone     { background: #8B7355; }
.swatch-limestone { background: #C4B896; }
.swatch-concrete  { background: #A0A0A0; }
.swatch-anthracite { background: #4A4A4A; }
.label-muted { color: var(--gray-400); font-size: .85rem; }
.result-title { font-weight: 700; font-size: 1.1rem; color: var(--brand-dark); margin-bottom: 4px; }
.result-subtitle { font-size: .88rem; color: var(--gray-500); margin-bottom: 20px; }
.result-section-label { font-weight: 700; font-size: 1rem; color: var(--brand-dark); margin-top: 28px; margin-bottom: 12px; }
.mt-24px { margin-top: 24px; }
.flex-wrap-gap12 { display: flex; gap: 12px; flex-wrap: wrap; }
.addr-block { font-style: normal; line-height: 1.6; }
.btn-success { background: var(--color-success) !important; border-color: var(--color-success) !important; }
.btn-error   { background: var(--color-error)   !important; border-color: var(--color-error)   !important; }

/* ── Shared Calculator Styles ── */
.calc-result-num { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); }
.calc-sub-label { font-size: .82rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; }
.calc-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.calc-card { background: var(--white); border: 1px solid var(--gray-200); padding: 40px; }
@media (max-width: 600px) {
    .calc-result-num { font-size: 1.7rem; }
    .calc-results-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ── Print / PDF Styles ── */
/* .print-header, .print-footer, .print-date hidden above (line 1739) */

@media print {
    /* Hide non-essential elements */
    .nav, nav, .footer, footer, .floating-bar, .cookie-banner,
    #modalOverlay, .page-header, .cta-section, .seo-content, .pp-seo,
    .breadcrumb, ol.breadcrumb, .floating-cta, #floatingCTA, .cross-tool-links,
    .calc-tabs, .print-hide, .back-to-top,
    #ghl-chat-placeholder, [class*="hl-chat"] { display: none !important; }

    /* Show branded header & footer */
    .print-header, .print-footer { display: flex !important; }
    .print-date { display: block !important; }

    /* ── Branded Print Header ── */
    .print-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 24px 0;
        border-bottom: 4px solid var(--brand);
        margin-bottom: 24px;
    }
    .print-header .print-logo {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .print-header .print-logo-box {
        width: 48px;
        height: 48px;
        background: var(--brand);
        color: var(--brand-dark);
        font-weight: 800;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }
    .print-header .print-company {
        font-size: 20px;
        font-weight: 700;
        color: var(--brand-dark);
        margin: 0;
        line-height: 1.2;
    }
    .print-header .print-company span { font-weight: 400; font-size: 14px; display: block; color: var(--gray-500); }
    .print-header .print-contact {
        text-align: right;
        font-size: 11px;
        color: var(--gray-500);
        line-height: 1.6;
    }
    .print-header .print-contact strong { color: var(--brand-dark); font-size: 13px; }

    /* Tool name + date bar */
    .print-date {
        background: var(--gray-100);
        padding: 12px 16px;
        margin-bottom: 24px;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-radius: 4px;
        font-size: 11px;
        color: var(--gray-500);
    }
    .print-date .print-tool-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--brand-dark);
    }

    /* ── Branded Print Footer ── */
    .print-footer {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        border-top: 4px solid var(--brand);
        margin-top: 32px;
        font-size: 10px;
        color: var(--gray-500);
    }
    .print-footer .print-footer-left { text-align: left; }
    .print-footer .print-footer-right { text-align: right; }
    .print-footer p { margin: 2px 0; }
    .print-footer strong { color: var(--brand-dark); }

    /* Clean body */
    body { font-size: 11pt; background: var(--white) !important; color: var(--brand-dark) !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }

    /* Typography: prevent single-line orphans/widows at page breaks */
    p, li, h2, h3 { orphans: 3; widows: 3; }

    /* Hide buttons but keep result content */
    .btn { display: none !important; }
    .calc-result-actions, .result-actions, .pp-gesamt-bar, .step-nav { display: none !important; }

    /* Don't append URLs to every link (cluttered) — only for product links */
    a[href^="/"]:not(.print-no-url)::after { content: " → baustoffesteinbach.com" attr(href); font-size: 8px; color: var(--gray-400); }

    /* Clean section spacing */
    .section, .pp-section { padding: 10px 0 !important; }

    /* Ensure result areas visible */
    .calc-results, .fund-results, .pp-results, .vt-calc-results,
    .ub-results, .result-panel { display: block !important; }

    /* Clean card styling for print */
    .calc-card, .fund-result-card, .result-row, .pp-material-row {
        box-shadow: none !important;
        border: 1px solid var(--gray-300) !important;
        margin-bottom: 8px !important;
        padding: 10px !important;
    }

    /* Make tables readable */
    table { border-collapse: collapse; width: 100%; }
    th, td { border: 1px solid var(--gray-300); padding: 6px 10px; text-align: left; font-size: 10pt; }
    th { background: var(--gray-100) !important; font-weight: 600; }

    /* Page breaks */
    .print-footer { page-break-inside: avoid; }
    .print-header { page-break-after: avoid; }
}

/* ── Seasonal Badge & Tags (shared) ── */
.seasonal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: var(--brand-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.seasonal-banner-title {
    color: var(--brand-dark);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    margin-bottom: 20px;
}
.seasonal-banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.seasonal-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    font-size: .8rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 100px;
}

/* ── Seasonal Slider ── */
.seasonal-slider {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: var(--gray-900);
    contain: layout paint;
}
.seasonal-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 48px 72px;
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
}
.seasonal-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.seasonal-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1);
    transition: transform 8s ease;
    will-change: transform;
}
.seasonal-slide.active .seasonal-slide-bg { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
    .seasonal-slide-bg { transition: none; will-change: auto; }
    .seasonal-slide { transition: none; }
}
.seasonal-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.52) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
    z-index: 1;
}
.seasonal-slider-body {
    position: relative;
    z-index: 3;
    background: var(--white);
    border-radius: 4px;
    padding: 40px 44px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.seasonal-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}
.seasonal-slider-dots { display: flex; gap: 8px; pointer-events: auto; }
.seasonal-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}
.seasonal-dot.active { background: var(--brand); transform: scale(1.4); }
.seasonal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.92);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    box-shadow: 0 2px 12px rgba(0,0,0,.22);
    transition: background .2s, box-shadow .2s, transform .2s;
    z-index: 10;
}
.seasonal-arrow:hover {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
    transform: translateY(-50%) scale(1.08);
}
.seasonal-arrow--prev { left: 20px; }
.seasonal-arrow--next { right: 20px; }
@media (max-width: 768px) {
    .seasonal-slider { min-height: 0; }
    .seasonal-slide {
        position: relative; inset: auto;
        opacity: 1; pointer-events: auto;
        flex-direction: column;
        padding: 0;
        display: none;
    }
    .seasonal-slide.active { display: flex; }
    .seasonal-slide-bg { position: relative; inset: auto; width: 100%; height: 220px; flex-shrink: 0; }
    .seasonal-slide-overlay { display: none; }
    .seasonal-slider-body {
        border-radius: 0; max-width: 100%;
        box-shadow: none; padding: 32px 24px;
        background: var(--off-white);
    }
    .seasonal-slider-nav { bottom: 10px; }
    .seasonal-arrow { display: none; }
}

/* ── GaLaBau Focus Section ── */
.galabau-focus { background: var(--off-white); }
.galabau-focus-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.galabau-focus-text .section-label { display: inline-block; margin-bottom: .75rem; }
.galabau-focus-text .section-title {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.galabau-focus-text p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.galabau-focus-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.galabau-focus-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: var(--gray-700);
    font-weight: 500;
}
.galabau-focus-list li svg { color: var(--brand-dark); flex-shrink: 0; }
.galabau-focus-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.galabau-focus-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.galabau-focus-img img { width: 100%; height: 100%; object-fit: cover; }
.galabau-focus-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--brand);
    color: var(--brand-dark);
    padding: 10px 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.galabau-focus-badge strong { font-size: 1rem; font-weight: 800; }
.galabau-focus-badge span { font-size: .75rem; font-weight: 600; }
@media (max-width: 768px) {
    .galabau-focus-inner { grid-template-columns: 1fr; gap: 2rem; }
    .galabau-focus-img { order: -1; }
}

/* ── YouTube Consent Overlay ── */
.yt-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.yt-embed img.yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.yt-consent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.5rem;
    text-align: center;
}
.yt-play-icon {
    width: 56px;
    height: 56px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.yt-play-icon svg { margin-left: 4px; }
.yt-consent-overlay p {
    color: var(--gray-300);
    font-size: .85rem;
    line-height: 1.5;
    max-width: 320px;
    margin: 0;
}
.yt-consent-btn {
    background: var(--brand);
    color: var(--brand-dark);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .875rem;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}
.yt-consent-btn:hover,
.yt-consent-btn:focus-visible { opacity: .85; outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.yt-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Reusable dark CTA section ── */
.section-cta-dark {
    background: var(--brand-dark);
    text-align: center;
    padding: 3rem 0;
}
.section-cta-dark h2 {
    color: var(--white);
    margin-bottom: .75rem;
}
.section-cta-dark p {
    color: var(--gray-400);
    margin-bottom: 2rem;
}
.section-cta-dark .btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Partner Bar (slider) ── */
body.has-huskies-bar { --topbar-h: 44px; }

.huskies-bar {
    background: var(--topbar-bg);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--topbar-h);
    transition: transform .3s ease;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}
.partner-bar-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.partner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    will-change: opacity;
}
.partner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.huskies-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    transition: background-color var(--transition-fast);
}
.huskies-bar-inner:hover,
.huskies-bar-inner:focus-visible {
    background: rgba(0,0,0,.04);
    outline: 2px solid rgba(0,0,0,.18);
    outline-offset: -2px;
}
.huskies-bar-divider {
    width: 1px;
    height: 18px;
    background: rgba(0,0,0,.15);
    flex-shrink: 0;
}
.huskies-bar-text {
    color: rgba(44,41,41,.65);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.huskies-bar-logo {
    height: 26px;
    width: auto;
    display: block;
    opacity: .9;
    transition: opacity var(--transition-fast);
}
.huskies-bar-logo--zeb {
    height: 28px;
}
.huskies-bar-inner:hover .huskies-bar-logo { opacity: 1; }
.huskies-bar-text-short { display: none; }
@media (max-width: 640px) {
    .huskies-bar-text-long { display: none; }
    .huskies-bar-text-short { display: inline; }
    .huskies-bar-logo { height: 20px; }
    .huskies-bar-logo--zeb { height: 22px; }
}

/* Catalog iframe embed */
.katalog-embed-wrap {
    width: 100%;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    background: var(--gray-50, #f8f8f8);
    min-height: 680px;
    display: flex;
    flex-direction: column;
}
.katalog-embed {
    width: 100%;
    flex: 1;
    min-height: 680px;
    border: none;
    display: block;
}
.mb-2rem { margin-bottom: 2rem; }
.mt-2rem { margin-top: 2rem; }
@media (max-width: 768px) {
    .katalog-embed-wrap,
    .katalog-embed { min-height: 480px; }
}

/* Related product cards */
.related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color var(--transition-fast);
}
.related-card:hover,
.related-card:focus-visible { border-color: var(--brand-dark); outline: 2px solid var(--brand); outline-offset: 2px; }

/* Blog filter pills */
.blog-filter-tag {
    padding: 8px 20px;
    border-radius: 999px;
    border: 2px solid var(--brand-accent);
    background: transparent;
    color: var(--gray-700);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
    font-family: inherit;
}
.blog-filter-tag.active,
.blog-filter-tag:hover,
.blog-filter-tag:focus-visible {
    background: var(--brand-accent);
    color: var(--white);
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}
.blog-filter-tag[data-filter="tipp"] {
    border-color: var(--brand);
    color: var(--brand-dark);
    font-weight: 700;
}
.blog-filter-tag[data-filter="tipp"].active,
.blog-filter-tag[data-filter="tipp"]:hover {
    background: var(--brand);
    color: var(--brand-dark);
}


/* Scroll margin for anchor targets to account for sticky nav */
:target,
[id] {
    scroll-margin-top: 80px;
}

/* Layout containment for performance */
.partner-card {
    contain: layout style;
}

/* Content visibility for performance (below-fold sections) */
.seo-content,
.pp-seo {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}


/* Visited link styling — exclude buttons so .btn-dark, .btn-primary etc. keep their explicit colors */
a:not([class*="btn"]):visited {
    color: inherit;
}

/* Ensure button visited + hover states always use the correct color */
.btn-primary:visited { color: var(--brand-dark); }
.btn-dark:visited    { color: var(--white); }
.btn-dark:hover      { color: var(--white); }
.btn-outline:visited { color: var(--white); }
.btn-outline-dark:visited { color: var(--brand-dark); }
.btn-ghost:visited   { color: var(--brand-dark); }

/* Form group focus-within highlight */
.form-group:focus-within label {
    color: var(--brand-dark);
}
.form-group:focus-within .input-wrapper,
.form-group:focus-within input,
.form-group:focus-within select,
.form-group:focus-within textarea {
    border-color: var(--brand);
}
/* Heading text balance */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

/* Aria-invalid form field styling */
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--color-error) !important;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15);
}
input[aria-invalid="true"]:focus,
select[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
    outline-color: var(--color-error);
}

/* Dark mode support hook (future expansion) */
@supports (display: grid) {
    /* Grid layout is supported - baseline ensures we use it */
}
@supports (backdrop-filter: blur(1px)) {
    .nav:not(.nav-yellow) { background: rgba(255,255,255,.85); }
}

/* ── Dark mode support hook (future expansion) ── */
@media (prefers-color-scheme: dark) {
    /* ── Minimal dark-mode overrides ── */
    /* Full dark mode disabled intentionally (brand is yellow-on-dark by design) */
    /* These ensure embedded system UIs (scrollbars, form controls) respect the page's light intent */
    :root {
        color-scheme: light; /* force light controls even in dark OS */
    }
}

/* Preserve list semantics in VoiceOver/WebKit */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

/* ── High Contrast Mode (Windows) ── */
@media (forced-colors: active) {
    .btn, .btn-primary, .btn-outline { forced-color-adjust: none; }
    .nav { border-bottom: 1px solid ButtonText; }
    a { color: LinkText; }
    a:visited { color: VisitedText; }
}

/* ── High-contrast preference ── */
@media (prefers-contrast: more) {
    :root {
        --gray-400: #5a5752;
        --gray-500: #4a4742;
    }
    .form-group input,
    .form-group select,
    .form-group textarea { border-width: 2px; }
}
