@font-face {
    font-family: 'Geist';
    src: url('/assets/fonts/Geist-Variable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist Mono';
    src: url('/assets/fonts/GeistMono-Variable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #FFFFFF;
    --bg-alt: #FAFAFA;
    --bg-dark: #0A0A0A;
    --fg: #0A0A0A;
    --fg-2: #171717;
    --muted: #525252;
    --muted-2: #737373;
    --subtle: #A3A3A3;
    --border: #E5E5E5;
    --border-strong: #D4D4D4;
    --accent: #FF4D00;
    --accent-soft: #FFF1EB;
    --success: #16A34A;
    --sans: 'Geist', system-ui, -apple-system, sans-serif;
    --mono: 'Geist Mono', 'JetBrains Mono', 'SF Mono', monospace;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    font-feature-settings: "cv11", "ss01";
    letter-spacing: -0.011em;
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
}
.font-mono {
    font-family: var(--mono);
    font-feature-settings: "tnum", "zero";
}

.dot-grid {
    background-image: radial-gradient(circle, #E5E5E5 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
}
.dot-grid-fade {
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 80%);
}

.grid-lines {
    background-image:
        linear-gradient(to right, #F5F5F5 1px, transparent 1px),
        linear-gradient(to bottom, #F5F5F5 1px, transparent 1px);
    background-size: 48px 48px;
}

.display {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
}
.display-xl { font-size: clamp(1.5rem, 4.5vw, 3.25rem); }
.display-lg { font-size: clamp(1.25rem, 3vw, 2.25rem); }
.display-md { font-size: clamp(1.125rem, 2vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.1; }

.label-mono {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--fg-2);
}
.pill-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
    50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 5%, transparent); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    transition: all 160ms ease;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}
.btn-primary:hover { background: var(--fg-2); }
.btn-secondary {
    background: var(--bg);
    color: var(--fg);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    border-color: var(--fg);
    background: var(--bg-alt);
}
.btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-alt); }
.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-accent:hover { background: #E64500; border-color: #E64500; }

.kbd {
    font-family: var(--mono);
    font-size: 10px;
    padding: 2px 5px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
}

.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease;
}
.nav-bar.scrolled { border-bottom-color: var(--border); }

.nav-link {
    position: relative;
    padding: 0.375rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 220ms ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 70%, color-mix(in srgb, var(--accent) 35%, transparent) 100%);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 380ms cubic-bezier(0.65, 0.05, 0.36, 1);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.nav-link.active { color: var(--fg); }

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
}
.nav-dropdown-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 220ms ease;
    color: var(--accent);
}
.nav-dropdown[data-open="true"] .nav-dropdown-trigger svg,
.nav-bar [x-data] [x-show] ~ * .nav-dropdown-trigger svg.is-rot {
    transform: rotate(180deg);
}

/* Simple Leistungen dropdown */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.4rem;
    min-width: 320px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
    z-index: 105;
}
.dropdown-panel::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
}
.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fg);
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.16s, color 0.16s;
}
.dropdown-item:hover {
    background: var(--bg-alt);
    color: var(--accent);
}
.dropdown-item svg {
    color: var(--muted-2);
    transition: transform 0.16s, color 0.16s;
}
.dropdown-item:hover svg {
    color: var(--accent);
    transform: translateX(2px);
}
.dropdown-divider {
    height: 1px;
    margin: 0.4rem 0.5rem;
    background: var(--border);
}
.dropdown-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.875rem;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    transition: gap 0.18s;
}
.dropdown-overview:hover { gap: 0.5rem; }
.mega-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 200ms ease;
    text-transform: none;
    letter-spacing: 0;
}
.mega-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}
.mega-card .mc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    transition: background 220ms ease, color 220ms ease;
}
.mega-card:hover .mc-icon {
    background: var(--accent);
    color: #fff;
}
.mega-card .mc-body { min-width: 0; flex: 1; }
.mega-card .mc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.012em;
    transition: color 200ms ease;
}
.mega-card:hover .mc-title { color: var(--accent); }
.mega-card .mc-title svg {
    color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 200ms ease, transform 200ms ease;
}
.mega-card:hover .mc-title svg { opacity: 1; transform: translateX(0); }
.mega-card .mc-desc {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.45;
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-side {
    position: relative;
    height: 100%;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mega-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 0%, rgba(255,77,0,0.18) 0%, transparent 55%);
    pointer-events: none;
}
.mega-side > * { position: relative; z-index: 1; }
.mega-side .ms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1rem;
}
.mega-side .ms-eyebrow::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255,77,0,0.25);
}
.mega-side .ms-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}
.mega-side .ms-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}
.mega-side .ms-tel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.2s;
}
.mega-side .ms-tel:hover { color: #fff; }
.mega-side .ms-tel svg { color: var(--accent); }
.mega-side .ms-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8125rem 1rem;
    background: var(--accent);
    color: #fff;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.2s, transform 0.2s;
}
.mega-side .ms-cta:hover {
    background: #E64500;
    transform: translateY(-1px);
}
.mega-side .ms-spacer { flex: 1; min-height: 0.5rem; }
.mega-foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 1.25rem;
}
.mega-foot h3 {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.mega-foot a {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: gap 0.2s;
}
.mega-foot a:hover { gap: 0.625rem; }

/* Multi-step quote form */
.quote-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 24px 80px rgba(0,0,0,0.04);
    overflow: hidden;
}
@media (min-width: 768px) {
    .quote-card { padding: 2.5rem; }
}
@media (max-width: 640px) {
    #kontakt .container-x { padding-left: 0.75rem; padding-right: 0.75rem; }
    .quote-card { border-radius: 12px; }
}

/* Stepper — numbered circles connected by progress line */
.qf-stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.qf-stepper::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--border);
    z-index: 0;
    border-radius: 2px;
}
.qf-stepper::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 12.5%;
    height: 2px;
    background: var(--accent);
    z-index: 0;
    border-radius: 2px;
    width: 0;
    transition: width 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
.qf-stepper[data-step="2"]::after { width: 25%; }
.qf-stepper[data-step="3"]::after { width: 50%; }
.qf-stepper[data-step="4"]::after { width: 75%; }
.qf-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}
.qf-step-num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--bg);
    border: 2px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted-2);
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.qf-step.is-active .qf-step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 4px var(--accent-soft);
    transform: scale(1.05);
}
.qf-step.is-done .qf-step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.qf-step.is-done .qf-step-num svg { display: block; }
.qf-step.is-done .qf-step-num .qf-num-text { display: none; }
.qf-step-label {
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
    text-align: center;
    transition: color 220ms ease;
}
@media (min-width: 768px) {
    .qf-step-label { font-size: 10px; }
}
.qf-step.is-active .qf-step-label,
.qf-step.is-done .qf-step-label { color: var(--fg); }

.qf-step-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.qf-step-head .label-mono { color: var(--accent); }

.q-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--fg);
}
.q-sub {
    font-size: 0.9375rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.option-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    cursor: pointer;
    transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
}
.option-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-alt);
}
.option-card.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.option-card.is-selected::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.option-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--bg-alt);
    color: var(--fg);
    transition: background 180ms, color 180ms;
    flex-shrink: 0;
}
.option-card:hover .option-icon { background: var(--bg); }
.option-card.is-selected .option-icon {
    background: var(--accent);
    color: #fff;
}
.option-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.01em;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .form-grid .field-full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field-label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.field-input,
.field-select,
.field-textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--subtle); }
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-textarea { resize: vertical; min-height: 96px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--bg);
    font-size: 13px;
    font-weight: 500;
    color: var(--fg);
    cursor: pointer;
    transition: all 200ms ease;
}
.chip:hover { border-color: var(--fg); }
.chip.is-selected {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

.form-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.summary-section {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.summary-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.125rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}
.summary-section-head h4 {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.summary-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    transition: gap 180ms ease;
}
.summary-edit:hover { gap: 0.5rem; }
.summary-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.625rem 1.125rem;
    border-bottom: 1px dashed var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row .sk {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted-2);
    flex-shrink: 0;
    width: 110px;
}
.summary-row .sv {
    font-size: 14px;
    color: var(--fg);
    font-weight: 500;
    flex: 1;
}

.success-card {
    text-align: center;
    padding: 2rem 1rem 1rem;
}
.success-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    margin: 0 auto 1.25rem;
}
.success-timeline {
    margin: 2rem auto 1.5rem;
    max-width: 480px;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: var(--bg);
}
.success-timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.625rem 0;
    border-bottom: 1px dashed var(--border);
}
.success-timeline-step:last-child { border-bottom: none; }
.success-timeline-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
}
.success-timeline-step.is-current .success-timeline-num {
    background: var(--accent);
    color: #fff;
}
.success-timeline-step .stl-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.01em;
}
.success-timeline-step .stl-sub {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 1px;
}

/* KPI cards (Kennzahlen) */
.kpi-card {
    position: relative;
    padding: 1.875rem 1.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 280ms ease, background 280ms ease;
    overflow: hidden;
}
.kpi-card:hover {
    border-color: var(--accent);
    background: var(--bg-alt);
}
.kpi-card .kpi-num { transition: color 220ms ease; }
.kpi-card:hover .kpi-num { color: var(--accent); }

/* Performance optimization removed — caused scroll jank with smooth scrolling */

.footer-link {
    color: rgba(255,255,255,0.78);
    transition: color 0.18s ease;
}
.footer-link:hover { color: var(--accent); }

/* FAQ accordion */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
    overflow: hidden;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.is-open {
    border-color: var(--accent);
    box-shadow: 0 14px 36px rgba(255,77,0,0.08);
}
.faq-trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    transition: background 160ms ease;
}
.faq-trigger:hover { background: var(--bg-alt); }
.faq-item.is-open .faq-trigger:hover { background: transparent; }
.faq-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
    width: 1.75rem;
    flex-shrink: 0;
    transition: color 220ms ease;
}
.faq-item.is-open .faq-num { color: var(--accent); }
.faq-q {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: var(--fg);
    line-height: 1.4;
    transition: color 220ms ease;
}
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-toggle {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item:hover .faq-toggle { border-color: var(--fg); }
.faq-item.is-open .faq-toggle {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: rotate(135deg);
}
.faq-answer-wrap {
    padding: 0 1.5rem 1.5rem;
    padding-left: calc(1.75rem + 1rem + 1.5rem);
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.faq-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    color: var(--muted);
    font-size: 0.825rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: all 200ms ease;
}
.faq-tab:hover { border-color: var(--border-strong); color: var(--fg); }
.faq-tab.is-active {
    background: var(--fg);
    border-color: var(--fg);
    color: #fff;
}
.faq-tab-count {
    font-family: var(--mono);
    font-size: 0.7rem;
    opacity: 0.55;
    letter-spacing: 0.04em;
}
.faq-tab.is-active .faq-tab-count { opacity: 0.75; }

.faq-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    background: var(--bg);
    color: var(--fg);
    transition: all 220ms ease;
}
.faq-cta:hover {
    border-style: solid;
    border-color: var(--accent);
    box-shadow: 0 14px 36px rgba(255,77,0,0.08);
}
.faq-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: all 220ms ease;
}
.faq-cta:hover .faq-cta-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateX(2px);
}

.faq-side-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}
.faq-side-card .label-mono { color: var(--muted-2); margin-bottom: 0.5rem; }
.faq-side-card .fsc-tel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.faq-side-card .fsc-tel:hover { color: var(--accent); }
.faq-side-card .fsc-tel svg { color: var(--accent); }

/* Review marquee */
.review-marquee .marquee-set {
    gap: 1rem;
    padding-right: 1rem;
}
.review-card {
    flex-shrink: 0;
    width: 360px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.review-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 18px 40px rgba(0,0,0,0.04);
}
.review-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.05em;
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    line-height: 1;
}
.review-quote {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--fg-2);
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.review-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.review-foot .rf-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.01em;
}
.review-foot .rf-time {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-top: 1px;
}
.review-foot .rf-google {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.review-foot .rf-google svg { flex-shrink: 0; }
@media (max-width: 640px) {
    .review-card { width: 260px; padding: 1rem; gap: 0.5rem; border-radius: 10px; }
    .review-quote { font-size: 0.8125rem; -webkit-line-clamp: 5; }
    .review-stars { font-size: 0.85rem; }
    .review-foot { padding-top: 0.5rem; }
    .review-foot .rf-name { font-size: 0.8125rem; }
    .review-marquee .marquee-set { gap: 0.5rem; padding-right: 0.5rem; }
}
.kpi-card.is-feature {
    background:
        radial-gradient(circle at 100% 0%, var(--accent-soft) 0%, transparent 60%),
        var(--bg);
    border-color: rgba(255,77,0,0.25);
}
.kpi-card.is-feature:hover { border-color: var(--accent); }
.kpi-card .kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--bg-alt);
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 220ms ease, color 220ms ease;
}
.kpi-card:hover .kpi-icon {
    background: var(--accent);
    color: #fff;
}
.kpi-card.is-feature .kpi-icon {
    background: var(--accent);
    color: #fff;
}
.kpi-num {
    font-family: var(--sans);
    font-size: clamp(2.25rem, 4.2vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--fg);
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
}
.kpi-num small {
    font-size: 0.45em;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0;
}
.kpi-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: var(--muted-2);
    margin-top: 0.875rem;
}
.kpi-desc {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 0.375rem;
    line-height: 1.45;
}
.kpi-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.05em;
    margin-top: 0.5rem;
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    line-height: 1;
}
.kpi-stars-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.625rem;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--accent);
    text-transform: uppercase;
}
.kpi-stars-link:hover { gap: 0.625rem; }

/* Hero project showcase cards */
.hero-project-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    overflow: hidden;
    transition:
        transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 400ms ease,
        border-color 200ms ease;
}
.hero-project-card.is-offset { transform: translateY(-24px); }
.hero-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0,0,0,0.10);
}
.hero-project-card.is-offset:hover { transform: translateY(-32px); }

/* Hero slider — horizontal scroll-snap, 3 visible cards */
.hero-slider-wrap { position: relative; }
.hero-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4rem 0.25rem 3rem;
    margin: -4rem -0.25rem 0;
}
.hero-slider::-webkit-scrollbar { display: none; }
.hero-slider > .hero-project-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
    min-width: 0;
    scroll-snap-align: start;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(28px);
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
}
.hero-slider > .hero-project-card .hpc-image {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.hero-slider > .hero-project-card.is-center { transform: translateY(-44px); }
/* Minimal hover — no overlay on the image, no big scale; keep title readable */
.hero-slider > .hero-project-card:hover { box-shadow: 0 22px 50px rgba(0,0,0,0.10); }
.hero-slider > .hero-project-card .hpc-overlay,
.hero-slider > .hero-project-card .hpc-meta { display: none !important; }
.hero-slider > .hero-project-card:hover .hpc-image img { transform: scale(1.03); }
@media (max-width: 1024px) {
    .hero-slider > .hero-project-card {
        flex: 0 0 calc((100% - 1rem) / 2);
        width: calc((100% - 1rem) / 2);
    }
}
@media (max-width: 640px) {
    .hero-slider > .hero-project-card {
        flex: 0 0 100%;
        width: 100%;
    }
    .hero-slider > .hero-project-card .hpc-image {
        aspect-ratio: 4 / 3;
    }
    .hero-slider > .hero-project-card.is-center { transform: translateY(0); }
    .hero-slider > .hero-project-card { transform: translateY(0); }
}
    100% { transform: translateX(-50%); }
}

.hero-project-card .hpc-image {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    position: relative;
}
.hero-slider > .hero-project-card .hpc-image { aspect-ratio: 4 / 5.2; }
.hero-project-card .hpc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
}
.hero-project-card:hover .hpc-image img {
    transform: scale(1.06);
    filter: saturate(1.1);
}
.hero-project-card .hpc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transition: opacity 350ms ease;
    pointer-events: none;
}
.hero-project-card:hover .hpc-overlay { opacity: 1; }
.hero-project-card .hpc-cue {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--fg);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translate(6px, -6px) scale(0.85);
    transition:
        opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
        background 200ms ease;
    pointer-events: none;
}
.hero-project-card:hover .hpc-cue {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    background: var(--accent);
    color: #fff;
}
.hero-project-card .hpc-meta {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    color: #fff;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 350ms ease, transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}
.hero-project-card:hover .hpc-meta { opacity: 1; transform: translateY(0); }
.hero-project-card .hpc-meta .hpc-meta-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-project-card .hpc-meta .hpc-meta-sub {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
    margin-top: 2px;
}
.hero-project-card .hpc-body {
    padding: 1rem;
    transition: padding 200ms ease;
}
.hero-project-card .hpc-body .pill {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
}
.hero-project-card .hpc-body h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color 200ms ease;
}
.hero-project-card:hover .hpc-body h3 { color: var(--accent); }
.hero-project-card .hpc-body .hpc-sub {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted-2);
    margin-top: 0.25rem;
}

.feature-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    background: var(--bg);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 1rem;
}
.feature-meta {
    position: absolute;
    top: 1rem; right: 1rem;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--subtle);
    letter-spacing: 0.05em;
}
.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
}
.feature-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.code-block {
    font-family: var(--mono);
    font-size: 12px;
    background: var(--bg-dark);
    color: #E5E5E5;
    border-radius: 12px;
    padding: 1.25rem;
    line-height: 1.6;
    border: 1px solid #262626;
}
.code-line { display: block; }
.code-key { color: #7DD3FC; }
.code-val { color: #FDBA74; }
.code-comment { color: #737373; font-style: italic; }
.code-num { color: #525252; margin-right: 1rem; user-select: none; }

.spec-row {
    display: flex;
    align-items: baseline;
    padding: 0.875rem 0;
    border-bottom: 1px dashed var(--border);
    gap: 0.75rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.01em;
    flex-shrink: 0;
}
.spec-dots {
    flex: 1;
    border-bottom: 1px dotted var(--subtle);
    align-self: end;
    margin-bottom: 3px;
    min-width: 2rem;
}
.spec-val {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--fg);
    flex-shrink: 0;
}

.t-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    background: var(--bg);
    transition: border-color 200ms;
}
.t-card:hover { border-color: var(--border-strong); }

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.marquee {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}
.marquee-set {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding-right: 6rem;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .marquee { animation-duration: 18s; }
    .marquee-set { gap: 3rem; padding-right: 3rem; }
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Review marquee direction overrides — must come after .marquee */
.review-marquee { animation: marquee 140s linear infinite; }
.review-marquee.review-marquee-rev { animation: marquee 170s linear infinite reverse; }
.marquee-wrap {
    mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 65%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 65%, transparent 100%);
    overflow: hidden;
}

.stat-big {
    font-family: var(--sans);
    font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border: 3px solid var(--bg); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

::selection { background: var(--fg); color: var(--bg); }

.arrow-icon { transition: transform 200ms; }
.group:hover .arrow-icon, a:hover .arrow-icon { transform: translateX(3px); }

.container-x {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1320px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .container-x { padding-left: 2rem; padding-right: 2rem; }
}

[x-cloak] { display: none !important; }

/* Animated hamburger button (3 lines → X) */
.hamburger-btn {
    position: relative;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--fg);
    cursor: pointer;
    z-index: 110;
    background: transparent;
    border: 0;
}
.hamburger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition:
        transform 0.45s cubic-bezier(0.68, -0.55, 0.27, 1.55),
        opacity 0.2s ease-out,
        width 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.hamburger-btn:not(.hamburger-open) span:nth-child(1) { transition-delay: 0.15s; }
.hamburger-btn:not(.hamburger-open) span:nth-child(2) { transition-delay: 0.10s; }
.hamburger-btn:not(.hamburger-open) span:nth-child(3) { transition-delay: 0.05s; }
.hamburger-btn.hamburger-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    transition-delay: 0.10s;
}
.hamburger-btn.hamburger-open span:nth-child(2) {
    opacity: 0; width: 0;
    transition-delay: 0s;
}
.hamburger-btn.hamburger-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    transition-delay: 0.10s;
}

/* Mobile slide-down menu */
.mobile-menu-panel {
    position: fixed;
    top: 6.5rem;
    left: 0;
    right: 0;
    z-index: 90;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
body.is-menu-open { overflow: hidden; }

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.mobile-link-text {
    display: inline-flex;
    align-items: baseline;
    gap: 1rem;
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg);
    transition: color 0.25s ease, transform 0.25s ease;
}
.mobile-link-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted-2);
    letter-spacing: 0.08em;
    width: 1.25rem;
    flex-shrink: 0;
    transition: color 0.25s ease;
}
.mobile-link-arrow {
    color: var(--muted-2);
    transition: transform 0.25s ease, color 0.25s ease;
}
.mobile-link:hover .mobile-link-text,
.mobile-link.is-active .mobile-link-text { color: var(--accent); transform: translateX(8px); }
.mobile-link:hover .mobile-link-num,
.mobile-link.is-active .mobile-link-num { color: var(--accent); }
.mobile-link:hover .mobile-link-arrow,
.mobile-link.is-active .mobile-link-arrow { color: var(--accent); transform: translateX(6px); }
.mobile-link.is-active::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--accent);
    border-radius: 2px;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-contact a { transition: color 0.2s ease; }
.mobile-contact a:hover { color: var(--accent); }

.step-connector {
    position: absolute;
    left: 18px;
    top: 48px;
    bottom: -12px;
    width: 1px;
    background: var(--border);
}
@media (min-width: 768px) {
    .step-connector {
        top: 18px;
        left: 36px;
        right: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }
}

.svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.u-accent {
    background: linear-gradient(to bottom, transparent 65%, var(--accent-soft) 65%, var(--accent-soft) 92%, transparent 92%);
}

.orbit-ring {
    position: absolute;
    border: 1px dashed var(--border);
    border-radius: 50%;
    pointer-events: none;
}

/* Page hero (subpage standard) */
.page-hero {
    padding-top: 11rem;
    padding-bottom: 4rem;
}
@media (min-width: 768px) {
    .page-hero { padding-top: 14rem; padding-bottom: 6rem; }
}

.breadcrumb {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb a { color: var(--muted-2); transition: color 160ms; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb-sep { color: var(--subtle); }

/* Process timeline (refined) */
.process-rail { position: relative; }
.process-rail::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(to bottom, var(--border) 0%, var(--border) 90%, transparent 100%);
}
.process-step {
    position: relative;
    display: flex;
    gap: 1.25rem;
    padding: 0.75rem 0 2rem 0;
}
.process-step:last-child { padding-bottom: 0; }
.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--fg);
    z-index: 1;
    transition: all 200ms;
}
.process-step:hover .step-num {
    border-color: var(--fg);
    transform: scale(1.05);
}
.process-step.is-final .step-num {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}
.step-body {
    flex: 1;
    padding: 0.5rem 1.5rem 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.process-step:last-child .step-body { border-bottom: none; }
.step-phase {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 0.5rem;
}
.step-phase .dot-sep { color: var(--subtle); }
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: var(--accent);
}
.step-output {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    padding: 0.625rem 0.875rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: fit-content;
}
.step-output svg {
    color: var(--success);
    flex-shrink: 0;
}
.step-output strong { color: var(--fg); font-weight: 500; }

.kunde-logo {
    height: 38px;
    max-height: 38px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.9);
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .kunde-logo { height: 64px; max-height: 64px; max-width: 220px; }
}
.kunde-logo[alt="H2 Hotel"] {
    height: 70px;
    max-height: 70px;
    max-width: 180px;
    mix-blend-mode: multiply;
}
@media (min-width: 768px) {
    .kunde-logo[alt="H2 Hotel"] { height: 130px; max-height: 130px; max-width: 320px; }
}
.kunde-logo[alt="Zollhafen Mainz"] {
    filter: invert(1) grayscale(1) opacity(0.85);
}

/* ─── Job listing detail pages ─── */
.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.job-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
}
.job-list-check {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--accent);
}
.job-aside .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}
@media (max-width: 767px) {
    .job-aside { position: static !important; }
}

/* ─── Bewerbungsformular ─── */
.bewerbung-form .field-file {
    display: block;
    width: 100%;
    padding: 0.75rem 0.875rem;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 160ms;
}
.bewerbung-form .field-file:hover {
    border-color: var(--fg);
}
.bewerbung-form .field-file::file-selector-button {
    padding: 0.4rem 0.875rem;
    margin-right: 0.875rem;
    background: var(--fg);
    color: var(--bg);
    border: 0;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bewerbung-form .field-file::file-selector-button:hover {
    background: var(--accent);
}

/* ─── Custom file upload (German) ─── */
.file-drop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 10px;
    transition: border-color 160ms;
}
.file-drop:hover { border-color: var(--fg); }
.file-drop:focus-within {
    border-color: var(--accent);
    border-style: solid;
}
.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}
.file-drop-button {
    flex-shrink: 0;
    padding: 0.4rem 0.875rem;
    background: var(--fg);
    color: var(--bg);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 160ms;
}
.file-drop:hover .file-drop-button { background: var(--accent); }
.file-drop-status {
    font-size: 0.875rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn.is-sending { opacity: 0.6; cursor: wait; }

.datenschutz-row { padding: 0.875rem 0; }
.datenschutz-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }

/* ─── Chatbot Widget ─── */
.chatbot-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; font-family: var(--sans); }
.chatbot-widget [x-cloak] { display: none !important; }

.chatbot-launcher {
    position: relative;
    display: inline-flex; align-items: center; gap: 0.625rem;
    background: transparent; border: none; padding: 0; cursor: pointer;
    font-family: inherit;
}
.chatbot-fab {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px;
    background: var(--accent); color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(255,77,0,0.40), 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.chatbot-launcher:hover .chatbot-fab { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,77,0,0.50), 0 4px 12px rgba(0,0,0,0.15); }
.chatbot-launcher.is-open .chatbot-fab { background: var(--fg); box-shadow: 0 8px 24px rgba(0,0,0,0.20); }
.chatbot-pulse {
    position: absolute; top: 50%; right: 0;
    width: 60px; height: 60px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.55;
    z-index: 1;
    animation: chatbot-pulse 1.8s ease-out infinite;
    pointer-events: none;
}
.chatbot-launcher.is-open .chatbot-pulse { display: none; }
@keyframes chatbot-pulse {
    0%   { transform: translateY(-50%) scale(0.95); opacity: 0.55; }
    70%  { transform: translateY(-50%) scale(1.55); opacity: 0; }
    100% { transform: translateY(-50%) scale(1.55); opacity: 0; }
}
.chatbot-label {
    order: -1;
    background: var(--fg); color: #fff;
    padding: 0.55rem 0.875rem;
    border-radius: 999px;
    font-size: 0.875rem; font-weight: 600;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    display: inline-flex; align-items: center; gap: 0.5rem;
    white-space: nowrap;
    animation: chatbot-label-in 280ms cubic-bezier(0.16,1,0.3,1) both;
}
.chatbot-label-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
    animation: chatbot-dot-pulse 1.6s ease-out infinite;
}
@keyframes chatbot-dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes chatbot-label-in {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .chatbot-pulse, .chatbot-label-dot { animation: none; }
}
@media (max-width: 480px) {
    .chatbot-label { display: none; }
    .chatbot-fab { width: 56px; height: 56px; }
    .chatbot-pulse { width: 56px; height: 56px; }
}

.chatbot-panel {
    position: absolute;
    bottom: calc(100% + 0.75rem);
    right: 0;
    width: min(380px, calc(100vw - 3rem));
    height: min(560px, calc(100vh - 8rem));
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.cb-fade-in { transition: opacity 200ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1); }
.cb-fade-start { opacity: 0; transform: translateY(8px) scale(0.98); }
.cb-fade-end { opacity: 1; transform: none; }

.chatbot-header {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.chatbot-header-left { display: flex; align-items: center; gap: 0.625rem; }
.chatbot-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.chatbot-title { font-size: 13px; font-weight: 600; line-height: 1.2; }
.chatbot-status { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 0.375rem; line-height: 1.2; margin-top: 2px; }
.chatbot-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.chatbot-close {
    width: 28px; height: 28px; border-radius: 6px; border: 0; background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); cursor: pointer; transition: background 160ms;
}
.chatbot-close:hover { background: var(--bg-alt); color: var(--fg); }

.chatbot-messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: 0.625rem;
    background: var(--bg-alt);
    scroll-behavior: smooth;
}
.chatbot-msg { display: flex; flex-direction: column; max-width: 85%; }
.chatbot-msg-user { align-self: flex-end; align-items: flex-end; }
.chatbot-msg-bot { align-self: flex-start; align-items: flex-start; }
.chatbot-bubble {
    padding: 0.625rem 0.875rem;
    border-radius: 14px;
    font-size: 13.5px; line-height: 1.45;
    word-wrap: break-word; overflow-wrap: anywhere;
}
.chatbot-msg-user .chatbot-bubble { background: var(--fg); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-msg-bot .chatbot-bubble { background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-bottom-left-radius: 4px; }

.chatbot-tool-chip {
    margin-top: 0.4rem;
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.625rem;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 999px;
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase;
}
.chatbot-tool-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    animation: pulse 1.5s infinite;
}

.chatbot-typing { display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.chatbot-typing span {
    width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2);
    animation: chatbot-bounce 1.2s infinite ease-in-out;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-suggestions {
    padding: 0.625rem 1rem 0;
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    background: var(--bg-alt);
}
.chatbot-suggestions button {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 12px; font-weight: 500; color: var(--fg);
    cursor: pointer; transition: all 160ms;
}
.chatbot-suggestions button:hover { border-color: var(--accent); color: var(--accent); }

.chatbot-input {
    display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid var(--border); background: var(--bg);
}
.chatbot-input input {
    flex: 1; min-width: 0;
    padding: 0.625rem 0.875rem;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 10px; font-size: 13.5px; color: var(--fg);
    font-family: var(--sans);
    transition: border-color 160ms;
}
.chatbot-input input:focus { outline: none; border-color: var(--fg); background: var(--bg); }
.chatbot-input input:disabled { opacity: 0.6; }
.chatbot-input button {
    flex-shrink: 0;
    width: 38px; height: 38px;
    background: var(--fg); color: #fff;
    border: 0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 160ms;
}
.chatbot-input button:hover:not(:disabled) { background: var(--accent); }
.chatbot-input button:disabled { background: var(--subtle); cursor: not-allowed; }
.chatbot-spinner { animation: chatbot-spin 0.8s linear infinite; }
@keyframes chatbot-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.chatbot-foot {
    padding: 0 1rem 0.6rem; font-size: 10.5px; color: var(--muted-2);
    text-align: center; background: var(--bg);
}
.chatbot-foot a { color: var(--accent); text-decoration: none; }

@media (max-width: 480px) {
    .chatbot-panel { width: calc(100vw - 1rem); right: -0.5rem; }
}

/* Stat grid: collapse adjacent borders */
.stat-grid .stat-cell:nth-child(even) { border-left: 0; }
.stat-grid .stat-cell:nth-child(n+3) { border-top: 0; }

/* ─── Performance: GPU-Acceleration für Marquee + Skip off-screen rendering ─── */
.marquee-set {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}
/* content-visibility removed — caused scroll jank when entering sections */
/* Smoother fade, no flicker */
.reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: none;
}

/* ─── Prozess-Bento (neue, cleane Section) ─── */
.prozess-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
}
@media (min-width: 768px) {
    .prozess-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
    .prozess-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.prozess-card {
    position: relative;
    padding: 1.875rem 1.625rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms, box-shadow 320ms;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.prozess-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.prozess-card.is-final {
    background: var(--fg);
    color: #fff;
    border-color: var(--fg);
}
.prozess-card.is-final:hover {
    border-color: var(--fg);
    box-shadow: 0 12px 32px rgba(255,77,0,0.18);
}

.prozess-card-num {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-alt);
    color: var(--fg);
    margin-bottom: 0.4rem;
}
.prozess-card.is-final .prozess-card-num {
    background: var(--accent);
    color: #fff;
}

.prozess-card-phase {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.prozess-card.is-final .prozess-card-phase {
    color: var(--accent) !important;
}

.prozess-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.25;
    color: var(--fg);
}
.prozess-card.is-final .prozess-card-title {
    color: #fff;
}

.prozess-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--muted);
    margin-top: 0.125rem;
}
.prozess-card.is-final .prozess-card-desc {
    color: rgba(255,255,255,0.7);
}

.prozess-card-arrow {
    display: none;
    position: absolute;
    right: -1.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
    color: var(--muted-2);
    z-index: 2;
}
@media (min-width: 1024px) {
    .prozess-card-arrow {
        display: flex;
    }
}

/* ─── Leistung Detail Page ─── */
.leistung-prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--fg);
}
.leistung-prose > * + * { margin-top: 1.25rem; }
.leistung-prose h2 {
    font-family: var(--font-display, 'Geist', sans-serif);
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--fg);
}
.leistung-prose h3 {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--fg);
}
.leistung-prose p { color: var(--muted); }
.leistung-prose strong { color: var(--fg); font-weight: 600; }
.leistung-prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.leistung-prose a:hover { text-decoration-thickness: 2px; }
.leistung-prose ul, .leistung-prose ol {
    padding-left: 0;
    list-style: none;
    color: var(--muted);
}
.leistung-prose ul li, .leistung-prose ol li {
    position: relative;
    padding-left: 1.75rem;
    margin-top: 0.5rem;
}
.leistung-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.leistung-prose ol { counter-reset: ord; }
.leistung-prose ol li {
    counter-increment: ord;
}
.leistung-prose ol li::before {
    content: counter(ord, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-mono, 'Geist Mono', monospace);
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.leistung-prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--muted);
    font-style: normal;
}
.leistung-prose img {
    border-radius: 1rem;
    border: 1px solid var(--border);
    margin: 2rem 0;
}
.leistung-prose code {
    background: var(--bg-alt);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.leistung-aside {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
}

.leistung-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.leistung-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.leistung-fact-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.leistung-fact-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.3;
}
.leistung-fact-sub {
    font-size: 0.8125rem;
    color: var(--muted-2);
    line-height: 1.4;
    margin-top: 0.125rem;
}

.leistung-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-mono, 'Geist Mono', monospace);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--fg);
    letter-spacing: -0.01em;
    transition: color 180ms ease;
}
.leistung-phone:hover { color: var(--accent); }

/* ─── White button on dark CTA — animated orange hover ─── */
.btn-on-dark {
    background: white;
    color: black;
    border-color: white;
    transition: background-color 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                color 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-on-dark:hover,
.btn-on-dark:focus-visible {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 77, 0, 0.35);
}
.btn-on-dark:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(255, 77, 0, 0.4);
}
.btn-on-dark .arrow-icon {
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-on-dark:hover .arrow-icon {
    transform: translateX(3px);
}

/* ─── Kontakt-Karte (GDPR Consent UI) ─── */
.map-wrap {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    min-height: 380px;
}
.map-placeholder {
    height: 400px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,77,0,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,77,0,0.04) 0%, transparent 50%),
        repeating-linear-gradient(45deg, var(--bg-alt) 0px, var(--bg-alt) 20px, rgba(0,0,0,0.02) 20px, rgba(0,0,0,0.02) 21px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.map-consent-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(0,0,0,0.06);
}
.map-consent-title {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin-bottom: 0.5rem;
}
.map-consent-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 1.25rem;
}
.map-active {
    position: relative;
}
.map-active iframe {
    height: 400px;
    display: block;
}
.map-active-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    gap: 1rem;
    flex-wrap: wrap;
}
.map-active-link {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
    text-decoration: none;
}
.map-active-link:hover { color: var(--accent); }
.map-lock-btn {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
}
@media (max-width: 640px) {
    .map-placeholder { height: 320px; }
    .map-active iframe { height: 320px; }
    .map-active-footer { padding: 0.75rem 1rem; }
}
