/* ========================================
   A&M HEITEC - PREMIUM STYLESHEET
   Luxury Design with Single Theme Toggle
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove default link underlines globally */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Prevent layout overflow on narrow viewports */
img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

/* ========== DARK MODE (DEFAULT) ========== */
body {
    background-color: #0A0C15;
    color: #F1F5F9;
}

/* ========== LIGHT MODE ========== */
body.light-mode {
    background-color: #F8FAFC;
    color: #1E293B;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1F2E;
}
::-webkit-scrollbar-thumb {
    background: #F5B041;
    border-radius: 10px;
}
body.light-mode ::-webkit-scrollbar-track {
    background: #E2E8F0;
}
body.light-mode ::-webkit-scrollbar-thumb {
    background: #F5B041;
}

/* Animated Background */
.bg-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: all 0.3s ease;
}
body .bg-premium {
    background: radial-gradient(circle at 20% 30%, rgba(245, 176, 65, 0.08), #0A0C15 90%);
}
body.light-mode .bg-premium {
    background: radial-gradient(circle at 20% 30%, rgba(245, 176, 65, 0.05), #F8FAFC 90%);
}

/* ========== GLASS NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, background;
}
.navbar .nav-container {
    padding: 18px 0 12px;
}
.navbar.navbar-hidden {
    transform: translateY(-120%);
}
body .navbar {
    background: rgba(10, 12, 21, 0.40);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.20);
}
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}
.navbar.scrolled {
    padding: 12px 5%;
    background: rgba(10, 12, 21, 0.50);
    border-color: rgba(255, 255, 255, 0.12);
}
body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.18);
}

.nav-container {
    max-width: min(1400px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 1181px) {
    .nav-container {
        flex-wrap: nowrap;
    }
    .navbar,
    .nav-container,
    .nav-links {
        overflow: visible;
    }
    .nav-links {
        flex-wrap: nowrap;
        min-width: 0;
        gap: clamp(14px, 1.4vw, 28px);
    }
}

/* ========== PREMIUM LOGO ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}
.logo:hover {
    transform: scale(1.02);
}
.logo-img {
    height: 52px;
    width: auto;
    border-radius: 10px;
}
.logo-text h2 {
    font-size: 1.3rem;
    font-weight: 800;
}
body .logo-text h2 {
    background: linear-gradient(135deg, #F5B041, #FFD15C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.light-mode .logo-text h2 {
    background: linear-gradient(135deg, #D97706, #F5B041);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-text p {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #F5B041;
}

/* ========== NAVIGATION LINKS ========== */
.nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 32px;
    align-items: center;
    order: 2;
    margin-left: 0;
    flex-wrap: wrap;
}
.theme-switch-wrapper {
    display: none !important;
}
.menu-btn {
    display: none;
}
.btn-call {
    order: 3;
    margin-left: auto;
    white-space: nowrap;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 2px 8px;
    background: transparent;
    border: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: transparent;
    transition: background 0.3s ease, transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left center;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    background: #F5B041;
}
body .nav-links a {
    color: #E2E8F0;
}
body.light-mode .nav-links a {
    color: #334155;
}
.nav-links a:hover, .nav-links a.active {
    color: #F5B041;
}

/* Notdienst — emergency nav (red + bolder; gold underline via default ::after) */
.nav-links a.nav-emergency {
    font-weight: 800;
}

body .nav-links a.nav-emergency {
    color: #ef4444;
}

body.light-mode .nav-links a.nav-emergency {
    color: #dc2626;
}

.nav-links a.nav-emergency:hover,
.nav-links a.nav-emergency:focus-visible {
    color: #fca5a5;
}

body.light-mode .nav-links a.nav-emergency:hover,
body.light-mode .nav-links a.nav-emergency:focus-visible {
    color: #ef4444;
}

.nav-links a.nav-emergency.active {
    color: #f87171;
}

body.light-mode .nav-links a.nav-emergency.active {
    color: #b91c1c;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #F5B041;
    border-radius: 2px;
}

/* ========== PREMIUM NAV DROPDOWNS (Über uns · Kontakt) ========== */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown__trigger {
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e2e8f0;
    background: transparent;
    border: none;
    cursor: pointer;
    min-height: 44px;
    padding: 8px 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: color 0.25s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
body.light-mode .nav-dropdown__trigger {
    color: #334155;
}
.nav-dropdown__trigger::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: transparent;
    transition: background 0.3s ease, transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left center;
}
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger:focus-visible {
    color: #f5b041;
    outline: none;
}
.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown:focus-within .nav-dropdown__trigger::after,
.nav-dropdown__trigger.active::after {
    transform: scaleX(1);
    background: #f5b041;
}
.nav-dropdown__trigger.active {
    color: #f5b041;
}
.nav-dropdown__chevron {
    font-size: 0.55rem;
    opacity: 0.75;
    transition: transform 0.28s ease;
}
@media (min-width: 993px) {
    .nav-dropdown:hover .nav-dropdown__chevron,
    .nav-dropdown:focus-within .nav-dropdown__chevron {
        transform: rotate(180deg);
    }
}
.nav-dropdown__panel {
    position: absolute;
    left: 50%;
    /* Flush to trigger — no dead gap; ::before extends invisible hit area upward */
    top: 100%;
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    padding: 10px 0;
    background: linear-gradient(165deg, #0b0d14 0%, #12151f 100%);
    border: 1px solid rgba(245, 176, 65, 0.42);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Slight delay before hide so cursor can cross into the panel */
    transition:
        opacity 0.26s ease 0.1s,
        transform 0.26s ease 0.1s,
        visibility 0s linear 0.36s;
    z-index: 5000;
}
/* Invisible bridge: keeps pointer “inside” menu while moving from trigger to links */
.nav-dropdown__panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    bottom: 100%;
    pointer-events: auto;
}
body.light-mode .nav-dropdown__panel {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.1),
        0 20px 40px rgba(15, 23, 42, 0.12);
}
.nav-dropdown__panel a {
    display: block;
    padding: 12px 22px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}
body.light-mode .nav-dropdown__panel a {
    color: #475569;
}
.nav-dropdown__panel a::after {
    display: none;
}
.nav-dropdown__panel a:hover,
.nav-dropdown__panel a:focus-visible {
    color: #f5b041;
    background: rgba(245, 176, 65, 0.08);
    outline: none;
}
.nav-dropdown__panel a.active {
    color: #f5b041;
    background: rgba(245, 176, 65, 0.1);
}

/* ULTRA‑PREMIUM dropdowns (Über uns + Kontakt) — glassmorphism + gold luxury */
@media (min-width: 993px) {
    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel {
        background: rgba(15, 15, 15, 0.85);
        -webkit-backdrop-filter: blur(15px) saturate(150%);
        backdrop-filter: blur(15px) saturate(150%);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.4);
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.6),
            0 0 15px rgba(212, 175, 55, 0.1);
        padding: 12px 0;
        overflow: hidden;
        transform: translateX(-50%) translateY(12px);
        transition:
            opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
            transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
            visibility 0s linear 0.34s;
    }

    /* subtle gradient border sheen */
    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel::after,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 15px;
        padding: 1px;
        background: linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.55),
            rgba(212, 175, 55, 0.18),
            rgba(212, 175, 55, 0)
        );
        -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        opacity: 0.9;
    }

    .nav-dropdown[data-nav-group="about"]:hover .nav-dropdown__panel,
    .nav-dropdown[data-nav-group="about"]:focus-within .nav-dropdown__panel,
    .nav-dropdown[data-nav-group="contact"]:hover .nav-dropdown__panel,
    .nav-dropdown[data-nav-group="contact"]:focus-within .nav-dropdown__panel {
        transform: translateX(-50%) translateY(0);
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.62),
            0 0 18px rgba(212, 175, 55, 0.16);
        transition:
            opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1) 0s,
            transform 0.24s cubic-bezier(0.16, 1, 0.3, 1) 0s,
            visibility 0s linear 0s,
            box-shadow 0.24s ease 0s;
    }

    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a {
        padding: 14px 26px 14px 46px;
        font-size: 0.82rem;
        font-weight: 650;
        letter-spacing: 0.12em;
        text-transform: none;
        color: rgba(241, 245, 249, 0.92);
        transition:
            background 0.22s ease,
            color 0.22s ease,
            transform 0.22s ease;
    }

    /* tiny glowing vertical line indicator (hover/active) */
    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a::before,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 50%;
        width: 3px;
        height: 18px;
        border-radius: 999px;
        background: rgba(212, 175, 55, 0);
        box-shadow: 0 0 0 rgba(212, 175, 55, 0);
        transform: translateY(-50%) scaleY(0.7);
        opacity: 0;
        transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a:hover,
    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a:focus-visible,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a:hover,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a:focus-visible {
        background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
        color: #f5b041;
        transform: translateX(2px);
        outline: none;
    }

    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a:hover::before,
    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a:focus-visible::before,
    .nav-dropdown[data-nav-group="about"] .nav-dropdown__panel a.active::before,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a:hover::before,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a:focus-visible::before,
    .nav-dropdown[data-nav-group="contact"] .nav-dropdown__panel a.active::before {
        background: rgba(212, 175, 55, 0.95);
        box-shadow: 0 0 16px rgba(212, 175, 55, 0.28);
        opacity: 1;
        transform: translateY(-50%) scaleY(1);
    }
}
@media (min-width: 993px) {
    .nav-dropdown:hover .nav-dropdown__panel,
    .nav-dropdown:focus-within .nav-dropdown__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
        transition:
            opacity 0.22s ease 0s,
            transform 0.22s ease 0s,
            visibility 0s linear 0s;
    }
}

/* ========== SINGLE THEME TOGGLE (SUN/MOON INSIDE) ========== */
.theme-switch-wrapper {
    display: none !important;
    align-items: center;
}
.theme-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}
.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1A1F2E;
    transition: 0.4s;
    border-radius: 34px;
    overflow: hidden;
}
.slider:before {
    position: absolute;
    content: "🌙";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #F5B041;
    transition: 0.4s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.slider::after {
    position: absolute;
    content: "☀️";
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
    transition: 0.3s;
}
input:checked + .slider {
    background-color: #F5B041;
}
input:checked + .slider:before {
    content: "☀️";
    transform: translateX(36px);
    background-color: #0A0C15;
    color: #F5B041;
}
input:checked + .slider::after {
    content: "🌙";
    opacity: 0.5;
}
body.light-mode .slider {
    background-color: #CBD5E1;
}
body.light-mode .slider:before {
    background-color: #F5B041;
}
body.light-mode input:checked + .slider {
    background-color: #F5B041;
}
body.light-mode input:checked + .slider:before {
    background-color: #FFFFFF;
}

/* ========== MOBILE MENU (hidden desktop; shown ≤992px in responsive block) ========== */
.menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 22px;
    cursor: pointer;
    place-items: center;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.menu-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
}
body .menu-btn {
    color: white;
}
body.light-mode .menu-btn {
    color: #1E293B;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
button.btn {
    appearance: none;
    font: inherit;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, #F5B041, #E67E22);
    color: #0A0C15;
    box-shadow: 0 4px 15px rgba(245, 176, 65, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 176, 65, 0.4);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(245, 176, 65, 0.5);
    color: #F1F5F9;
}
body.light-mode .btn-outline {
    color: #F5B041;
}
.btn-outline:hover {
    border-color: #F5B041;
    background: rgba(245, 176, 65, 0.1);
    transform: translateY(-3px);
}
.btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 28px;
    background: #f5b041;
    color: #0a0c15;
    border: 1px solid rgba(10, 12, 21, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(245, 176, 65, 0.3);
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    font-weight: 700;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.btn-call i {
    color: #0a0c15;
}
.btn-call:hover {
    background: #e5a238;
    color: #0a0c15;
    border-color: rgba(10, 12, 21, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(245, 176, 65, 0.38);
}
.btn-call:hover i {
    color: #0a0c15;
}
body.light-mode .btn-call {
    border-color: rgba(217, 119, 6, 0.35);
}

/* Navbar: direkter Anruf (+49 1590 1321694) */
.nav-call-picker {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    order: 3;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 1002;
}
/* Picker open: escape overflow clipping (legal pages + mobile nav) + sit above chrome */
#navbar.navbar--call-picker-open,
#navbar.navbar--call-picker-open .nav-container {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}
body.page-legal #navbar.navbar--call-picker-open,
body.page-legal #navbar.navbar--call-picker-open .nav-container {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}
.nav-call-picker.is-open {
    z-index: 10020;
}
.nav-call-picker .btn-call {
    order: unset;
    margin-left: 0;
}
.nav-call-picker--single {
    align-items: center;
}
a.nav-call-direct {
    text-decoration: none;
    text-align: center;
}
button.nav-call-picker__trigger {
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: inherit;
}
.nav-call-picker__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: min(100vw - 32px, 380px);
    padding: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    background: rgba(12, 14, 24, 0.96);
    border: 1px solid rgba(245, 176, 65, 0.35);
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
}
body.light-mode .nav-call-picker__panel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(217, 119, 6, 0.28);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}
.nav-call-picker__panel[hidden] {
    display: none !important;
}
.nav-call-picker.is-open .nav-call-picker__panel {
    display: flex !important;
    animation: navCallPickerIn 0.22s ease-out;
}
@keyframes navCallPickerIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
a.nav-call-picker__option {
    flex: 1 1 160px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #f8fafc;
    background: linear-gradient(145deg, rgba(27, 61, 139, 0.55), rgba(29, 196, 200, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
body.light-mode a.nav-call-picker__option {
    color: #0f172a;
    background: linear-gradient(145deg, rgba(226, 232, 240, 0.95), rgba(241, 245, 249, 0.98));
    border-color: rgba(245, 176, 65, 0.35);
}
a.nav-call-picker__option:hover,
a.nav-call-picker__option:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 61, 139, 0.35);
    border-color: rgba(245, 176, 65, 0.55);
    outline: none;
}
.nav-call-picker__name {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.92;
}
.nav-call-picker__num {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
@media (max-width: 420px) {
    .nav-call-picker__panel {
        flex-direction: column;
        align-items: stretch;
    }
    a.nav-call-picker__option {
        flex: 1 1 auto;
    }
}

/* Mobile bottom sheet (legacy; FAB wählt direkte Rufnummer) */
.mobile-call-sheet {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-bottom, 0px)) 16px 20px;
    pointer-events: none;
}
.mobile-call-sheet[hidden] {
    display: none !important;
}
.mobile-call-sheet.is-open {
    pointer-events: auto;
}
.mobile-call-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(4px);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
body.light-mode .mobile-call-sheet__backdrop {
    background: rgba(15, 23, 42, 0.35);
}
.mobile-call-sheet__panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 22px 20px 18px;
    border-radius: 20px 20px 16px 16px;
    background: rgba(12, 14, 24, 0.98);
    border: 1px solid rgba(245, 176, 65, 0.35);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
    animation: mobileCallSheetIn 0.28s ease-out;
}
body.light-mode .mobile-call-sheet__panel {
    background: #fff;
    border-color: rgba(217, 119, 6, 0.28);
}
@keyframes mobileCallSheetIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mobile-call-sheet__title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
}
body.light-mode .mobile-call-sheet__title {
    color: #334155;
}
.mobile-call-sheet__actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
@media (max-width: 380px) {
    .mobile-call-sheet__actions {
        flex-direction: column;
    }
}
a.mobile-call-sheet__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1b3d8b, #1dc4c8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.15s ease, filter 0.15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
a.mobile-call-sheet__btn:active {
    transform: scale(0.98);
}
.mobile-call-sheet__name {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
}
.mobile-call-sheet__num {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}
.mobile-call-sheet__close {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
}
body.mobile-call-sheet-open {
    overflow: hidden;
}

.btn-dark {
    background: #0A0C15;
    color: #F5B041;
}
body.light-mode .btn-dark {
    background: #E2E8F0;
    color: #F5B041;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 700px;
    z-index: 3;
}
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    touch-action: pan-y;
}
.hero-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 21, 1) 0%, rgba(10, 12, 21, 0.92) 25%, rgba(10, 12, 21, 0.80) 60%, rgba(10, 12, 21, 0.60) 100%);
    pointer-events: none;
}
.hero-carousel .carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid;
}
body .hero-badge {
    background: rgba(245, 176, 65, 0.15);
    color: #F5B041;
    border-color: rgba(245, 176, 65, 0.3);
}
body.light-mode .hero-badge {
    background: rgba(245, 176, 65, 0.1);
    color: #F5B041;
    border-color: rgba(245, 176, 65, 0.2);
}
.hero h1,
.hero p,
.hero-badge {
    text-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(120deg, #F5B041, #FFE082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}
body .hero p {
    color: #D9D9D9;
}
body.light-mode .hero p {
    color: #475569;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #F5B041;
}
.stat .label {
    font-size: 0.85rem;
    margin-top: 5px;
}
body .stat .label {
    color: #94A3B8;
}
body.light-mode .stat .label {
    color: #64748B;
}

/* Floating Orb */
.floating-orb {
    position: absolute;
    right: 5%;
    top: 25%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
    background: radial-gradient(circle, rgba(245, 176, 65, 0.15), transparent 70%);
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: transparent;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-slide.active {
    opacity: 1;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.72) saturate(0.94) contrast(0.96);
}
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(245, 176, 65, 0.9);
    color: #0A0C15;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 4;
}
.carousel-control:hover {
    transform: translateY(-50%) scale(1.05);
}
.carousel-control.prev {
    left: 18px;
}
.carousel-control.next {
    right: 18px;
}
.carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 4;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(10, 12, 21, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.55);
    opacity: 0.55;
    cursor: pointer;
    transition:
        width 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease,
        opacity 0.4s ease,
        transform 0.4s ease;
    position: relative;
    z-index: 2;
}
.carousel-indicators .indicator.active {
    width: 30px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffcc00, #ffaa00);
    opacity: 1;
    border-color: rgba(245, 176, 65, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 204, 0, 0.18),
        0 12px 26px rgba(255, 170, 0, 0.18),
        0 0 18px rgba(255, 170, 0, 0.40);
    transform: translateY(-0.5px);
}

/* Exactly 80px breathing room after hero */
.section--after-hero{
    padding-top: 80px;
}

/* Why-us title emphasis */
.whyus-emphasis{
    font-weight: 900;
    text-shadow: 0 10px 24px rgba(255, 170, 0, 0.22);
}
@media (max-width: 900px) {
    .carousel-control {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 640px) {
    .carousel-control {
        width: 36px;
        height: 36px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-30px) translateX(20px); }
    66% { transform: translateY(20px) translateX(-20px); }
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 5%;
}
.section--after-hero{
    padding-top: 50px;
}
.container {
    max-width: min(1300px, 100%);
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid rgba(245, 176, 65, 0.25);
    background: rgba(245, 176, 65, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
body .section-tag {
    color: #F5B041;
}
body.light-mode .section-tag {
    color: #D97706;
    background: rgba(245, 176, 65, 0.1);
}
.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.section-header p {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
}
body .section-header p {
    color: #D9D9D9;
}
body.light-mode .section-header p {
    color: #475569;
}

/* ========== CARDS GRID ========== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.card {
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
}
body .card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
body.light-mode .card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.1);
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 176, 65, 0.4);
}

/* Premium interactive: full-card link + hover lift + gold arrow (Leistungen-style) */
a.card.card--link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    cursor: pointer;
    padding-bottom: 40px;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.38s ease;
}

a.card.card--link:visited {
    color: inherit;
}

a.card.card--link:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 176, 65, 0.55);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(245, 176, 65, 0.2),
        0 0 40px rgba(245, 176, 65, 0.22);
}

body.light-mode a.card.card--link:hover {
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(245, 176, 65, 0.28),
        0 0 36px rgba(245, 176, 65, 0.16);
}

a.card.card--link:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(245, 176, 65, 0.45),
        0 18px 44px rgba(0, 0, 0, 0.35);
}

a.card.card--link::after {
    content: "\2192";
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 18px;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    color: #f5b041;
    text-shadow: 0 0 18px rgba(245, 176, 65, 0.45);
    opacity: 0;
    transform: translate(12px, 8px) scale(0.88);
    transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

a.card.card--link:hover::after,
a.card.card--link:focus-visible::after {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

body .card.card--link h3 {
    color: #f1f5f9;
}

body.light-mode .card.card--link h3 {
    color: #0f172a;
}

/* Home „Warum A&M HEITEC…“: Karten rein informativ, kein Maus-Interaktion */
.section--after-hero .grid-4 > .card {
    cursor: default;
    pointer-events: none;
    transition: none;
}
.section--after-hero .grid-4 > .card h3 {
    color: #f1f5f9;
}
body.light-mode .section--after-hero .grid-4 > .card h3 {
    color: #0f172a;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F5B041;
}
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    letter-spacing: -0.25px;
}
.card p {
    font-size: 0.9rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
}
body .card p {
    color: #94A3B8;
}
body.light-mode .card p {
    color: #64748B;
}

/* ========== CERTIFICATES ========== */
.certificates-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
.cert-card {
    text-align: center;
    padding: 20px 25px;
    border-radius: 20px;
    min-width: 120px;
    transition: all 0.3s;
}
body .cert-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
body.light-mode .cert-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.1);
}
.cert-card:hover {
    transform: translateY(-5px);
    border-color: #F5B041;
}
.cert-icon {
    font-size: 2rem;
    color: #F5B041;
    margin-bottom: 10px;
}
.cert-icon img {
    width: 45px;
    height: auto;
    border-radius: 8px;
}
.cert-card h4 {
    font-size: 1rem;
    font-weight: 600;
}
.cert-card p {
    font-size: 0.7rem;
    color: #94A3B8;
}

/* ========== TRUST BAR (INFINITE PARTNER SLIDER) ========== */
.trustbar{
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 26px;
    padding: 18px 0;
    gap: 0;
    border: 1px solid rgba(245, 176, 65, 0.14);
    background: rgba(10, 12, 21, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: none;
    cursor: default;
}

.trustbar::before,
.trustbar::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}
.trustbar::before{
    left: 0;
    background: linear-gradient(90deg, rgba(10,12,21,0.95), rgba(10,12,21,0));
}
.trustbar::after{
    right: 0;
    background: linear-gradient(270deg, rgba(10,12,21,0.95), rgba(10,12,21,0));
}

body.light-mode .trustbar{
    background: rgba(255, 255, 255, 0.70);
    border-color: rgba(245, 176, 65, 0.12);
}
body.light-mode .trustbar::before{
    background: linear-gradient(90deg, rgba(248,250,252,0.95), rgba(248,250,252,0));
}
body.light-mode .trustbar::after{
    background: linear-gradient(270deg, rgba(248,250,252,0.95), rgba(248,250,252,0));
}

.trustbar-track{
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 0 22px;
    flex-shrink: 0;
    animation: trustbarScroll 38s linear infinite;
    will-change: transform;
}

.trustbar:hover .trustbar-track{
    animation-play-state: paused;
}

@keyframes trustbarScroll{
    from{ transform: translate3d(0,0,0); }
    to{ transform: translate3d(-100%,0,0); }
}

.trustbar-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    min-width: 220px;
    transition:
        border-color 220ms ease,
        background 220ms ease,
        transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.36s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: default;
}

body.light-mode .trustbar-item{
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.03);
}

.trustbar-logo{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(245, 176, 65, 0.20);
    background: rgba(245, 176, 65, 0.08);
    transition: filter 220ms ease, transform 220ms ease, opacity 220ms ease;
    filter: grayscale(1);
    opacity: 0.75;
}

.trustbar-logo i{
    font-size: 1.3rem;
    color: #F5B041;
}

.trustbar-logo img{
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.trustbar-item:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 176, 65, 0.42);
    background: rgba(245, 176, 65, 0.08);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.22),
        0 0 28px rgba(245, 176, 65, 0.12);
}

.trustbar-item:hover .trustbar-logo{
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-1px);
}

.trustbar-text{
    display: grid;
    gap: 2px;
    line-height: 1.15;
}

.trustbar-text strong{
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    color: #F1F5F9;
}

.trustbar-text span{
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.95);
}

body.light-mode .trustbar-text strong{
    color: #0F172A;
}
body.light-mode .trustbar-text span{
    color: rgba(71, 85, 105, 0.92);
}

@media (max-width: 768px){
    .trustbar::before,
    .trustbar::after{
        width: 56px;
    }
    .trustbar-item{
        min-width: 200px;
        padding: 12px 14px;
    }
}

/* ========== LOCATION (MAP) SECTION ========== */
.location-section{
    padding-top: 85px;
}

/* Standort map on Kontakt page (before footer) */
.location-section--contact{
    padding-top: 64px;
    padding-bottom: 96px;
}
@media (max-width: 768px){
    .location-section--contact{
        padding-top: 48px;
        padding-bottom: 72px;
    }
}

.location-map{
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(245, 176, 65, 0.18);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

body.light-mode .location-map{
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.location-map iframe{
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    filter: grayscale(0.25) contrast(1.05) saturate(0.95);
}

@media (max-width: 768px){
    .location-map iframe{
        height: 320px;
    }
}

/* ========== CONTACT PAGE — premium map + floating card ========== */
.page-contact {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.page-contact .bg-premium {
    opacity: 0.35;
}

.contact-premium {
    position: relative;
    min-height: min(92vh, 920px);
    padding-top: 96px;
    padding-bottom: clamp(64px, 8vw, 96px);
    overflow: hidden;
}

.contact-premium__map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(320px, 52vh, 520px);
    z-index: 0;
    pointer-events: none;
}

.contact-premium__map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.35) contrast(1.08) saturate(0.9);
    transform: scale(1.02);
}

.contact-premium__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(8, 10, 18, 0.78) 0%,
        rgba(10, 12, 22, 0.88) 45%,
        rgba(10, 12, 22, 0.94) 100%
    );
    pointer-events: none;
}

body.light-mode .contact-premium__overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(30, 41, 59, 0.82) 50%,
        rgba(241, 245, 249, 0.92) 100%
    );
}

.contact-premium__content {
    position: relative;
    z-index: 2;
    padding-top: clamp(24px, 4vw, 48px);
}

.contact-premium__container {
    max-width: 1120px;
}

.contact-premium__intro {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 44px);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-premium__eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.95);
}

.contact-premium__heading {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #f8fafc;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.light-mode .contact-premium__heading {
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-float-card {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
    background: linear-gradient(165deg, rgba(17, 20, 31, 0.96) 0%, #11141f 42%, #0a0c15 100%);
    border: 1px solid rgba(245, 176, 65, 0.22);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 32px 90px rgba(0, 0, 0, 0.55),
        0 12px 48px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(245, 176, 65, 0.06);
}

body.light-mode .contact-float-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border-color: rgba(245, 176, 65, 0.22);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.1) inset,
        0 32px 80px rgba(15, 23, 42, 0.12),
        0 0 48px rgba(245, 176, 65, 0.08);
}

.contact-float-card__form {
    padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 40px);
    border-right: 1px solid rgba(245, 176, 65, 0.1);
}

body.light-mode .contact-float-card__form {
    border-right-color: rgba(148, 163, 184, 0.2);
}

.contact-float-card__form-title {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.contact-float-card__form-lead {
    margin: 0 0 24px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.78);
}

body.light-mode .contact-float-card__form-title {
    color: #0f172a;
}

body.light-mode .contact-float-card__form-lead {
    color: #64748b;
}

.contact-form-field {
    margin-bottom: 18px;
}

.contact-form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(241, 245, 249, 0.82);
}

body.light-mode .contact-form-field label {
    color: #475569;
}

.contact-float-input {
    width: 100%;
    padding: 16px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    background: rgba(10, 12, 21, 0.75);
    color: #f1f5f9;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

body.light-mode .contact-float-input {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}

body.light-mode .contact-float-input::placeholder {
    color: #94a3b8;
}

body.light-mode .contact-float-input:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

body.light-mode .contact-float-input:focus {
    background: #ffffff;
    border-color: #f5b041;
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.45),
        0 0 0 3px rgba(245, 176, 65, 0.14);
}

.contact-float-input::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

.contact-float-input:hover {
    border-color: rgba(203, 213, 225, 0.35);
    background: rgba(8, 10, 18, 0.82);
}

.contact-float-input:focus {
    outline: none;
    border-color: #f5b041;
    background: rgba(10, 12, 20, 0.92);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.55),
        0 0 0 3px rgba(245, 176, 65, 0.12),
        0 0 28px rgba(245, 176, 65, 0.15);
}

.contact-float-input--textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}

select.contact-float-input.contact-float-select {
    appearance: none;
    cursor: pointer;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

select.contact-float-input.contact-float-select:hover,
select.contact-float-input.contact-float-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f5b041' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

select.contact-float-input.contact-float-select option {
    background: #10141f;
    color: #f1f5f9;
}

body.light-mode select.contact-float-input.contact-float-select option {
    background: #ffffff;
    color: #0f172a;
}

.contact-form-upload {
    margin-top: 8px;
    margin-bottom: 16px;
}

.contact-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px dashed rgba(245, 176, 65, 0.35);
    border-radius: 12px;
    background: rgba(8, 10, 18, 0.55);
    color: rgba(226, 232, 240, 0.88);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-file-label:hover {
    border-color: rgba(245, 176, 65, 0.55);
    background: rgba(12, 14, 22, 0.75);
    color: #f8fafc;
}

.contact-optional-hint {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(148, 163, 184, 0.95);
}

.contact-file-hint {
    margin: 10px 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.85);
}

body.light-mode .contact-file-label {
    background: rgba(248, 250, 252, 0.85);
    color: #334155;
    border-color: rgba(245, 176, 65, 0.4);
}

body.light-mode .contact-file-label:hover {
    background: #fff;
    color: #0f172a;
}

body.light-mode .contact-file-hint {
    color: rgba(71, 85, 105, 0.9);
}

.contact-form-field-legend {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(241, 245, 249, 0.82);
}

.contact-file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.contact-file-action-btn {
    flex: 1;
    min-width: min(100%, 160px);
    margin: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
}

.contact-file-action-btn--folder {
    flex: 0 1 auto;
    min-width: 118px;
}

.contact-attach-preview {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-attach-preview[hidden] {
    display: none !important;
}

.contact-attach-file-item {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    padding: 10px 14px !important;
    text-align: left;
    cursor: default;
}

.contact-attach-file-item:hover {
    border-color: rgba(148, 163, 184, 0.35);
}

.contact-attach-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-attach-doc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(245, 176, 65, 0.12);
    color: #f5b041;
    font-size: 1.35rem;
}

.contact-attach-file-meta {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.contact-attach-file-name {
    font-size: 0.84rem;
    font-weight: 600;
    word-break: break-word;
    color: rgba(241, 245, 249, 0.92);
}

.contact-attach-file-size {
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.9);
    margin-top: 2px;
}

.contact-attach-file-item .file-remove.contact-attach-remove {
    position: static;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    top: auto;
    right: auto;
}

.contact-attach-total {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.88);
}

.contact-attach-total[hidden] {
    display: none !important;
}

body.light-mode .contact-form-field-legend {
    color: #334155;
}

body.light-mode .contact-attach-file-name {
    color: #0f172a;
}

body.light-mode .contact-attach-file-size,
body.light-mode .contact-attach-total {
    color: #64748b;
}

body.light-mode .contact-attach-file-item {
    background: rgba(248, 250, 252, 0.95) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}

@media (max-width: 480px) {
    .contact-file-action-btn--folder {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

.contact-gdpr {
    margin-bottom: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.82);
}

.page-contact .contact-gdpr.gdpr-checkbox {
    margin: 18px 0 20px;
    padding: 14px 16px;
    background: rgba(6, 8, 14, 0.65);
    border: 1px solid rgba(245, 176, 65, 0.18);
}

body.light-mode .page-contact .contact-gdpr.gdpr-checkbox {
    background: rgba(255, 251, 243, 0.92);
    border-color: rgba(245, 176, 65, 0.22);
}

body.light-mode .page-contact .contact-gdpr.gdpr-checkbox label {
    color: #334155 !important;
}

.page-contact .contact-gdpr.gdpr-checkbox label {
    color: rgba(241, 245, 249, 0.88) !important;
}

.page-contact .contact-gdpr.gdpr-checkbox a {
    color: #f5b041;
    font-weight: 600;
}

.page-contact .contact-gdpr.gdpr-checkbox a:hover {
    color: #ffd15c;
}

.page-contact .contact-gdpr.gdpr-checkbox input {
    accent-color: #f5b041;
}

.page-contact .file-preview .file-item {
    background: rgba(15, 18, 28, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}

.page-contact .file-preview .file-item .file-name {
    color: rgba(241, 245, 249, 0.9);
}

.btn-contact-send {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    padding: 18px 24px;
    font-family: inherit;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0a0c15;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #f5b041, #e67e22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 28px rgba(245, 176, 65, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-contact-send:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 14px 36px rgba(245, 176, 65, 0.42);
    filter: brightness(1.02);
}

.btn-contact-send:active {
    transform: translateY(0);
}

.btn-contact-send i {
    color: #0a0c15;
}

.contact-float-card__info {
    padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
    background: linear-gradient(165deg, #141820 0%, #10141f 48%, #0a0c15 100%);
    color: #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(245, 176, 65, 0.12);
}

body.light-mode .contact-float-card__info {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, #f8fafc 100%);
    color: #0f172a;
    border-left-color: rgba(245, 176, 65, 0.15);
}

.contact-info__title {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #f8fafc;
}

body.light-mode .contact-info__title {
    color: #0f172a;
}

.contact-info__text {
    margin: 0 0 28px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.88);
}

body.light-mode .contact-info__text {
    color: #64748b;
}

.contact-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5b041;
    font-size: 1.1rem;
}

.contact-info__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 4px;
}

.contact-info__value {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

a.contact-info__value:hover {
    color: #f5b041;
}

body.light-mode .contact-info__label {
    color: #64748b;
}

body.light-mode .contact-info__value {
    color: #0f172a;
}

body.light-mode .contact-info__icon {
    background: rgba(245, 176, 65, 0.12);
    color: #d97706;
}

.page-contact .location-section--bottom {
    /* Spacing tuned for flow directly after contact-premium (no CTA between) */
    margin-top: clamp(28px, 4vw, 48px);
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(72px, 10vw, 110px);
}

.page-contact .location-section--bottom .section-header {
    margin-bottom: clamp(36px, 5vw, 52px);
}

.location-map--contact-bottom {
    border-radius: 28px;
    border: 1px solid rgba(245, 176, 65, 0.22);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.08),
        0 28px 70px rgba(0, 0, 0, 0.4),
        0 0 48px rgba(245, 176, 65, 0.1);
}

body.light-mode .location-map--contact-bottom {
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.15),
        0 28px 70px rgba(15, 23, 42, 0.14),
        0 0 40px rgba(245, 176, 65, 0.1);
}

.location-map--contact-bottom iframe {
    filter: grayscale(0.2) contrast(1.05) saturate(0.95);
}

@media (max-width: 960px) {
    .contact-float-card {
        grid-template-columns: 1fr;
    }
    .contact-float-card__form {
        order: 1;
        border-right: none;
    }
    .contact-float-card__info {
        border-left: none;
        border-top: 1px solid rgba(148, 163, 184, 0.15);
        order: 2;
    }
}

@media (max-width: 768px) {
    .contact-premium {
        min-height: auto;
        padding-bottom: 40px;
    }
    .contact-premium__map-bg {
        height: clamp(260px, 48vh, 400px);
    }
}

/* ========== TWO COLUMNS ========== */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.col h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 20px;
}
.col p {
    margin-bottom: 25px;
    line-height: 1.7;
    letter-spacing: 0.25px;
}
body .col p {
    color: #94A3B8;
}
body.light-mode .col p {
    color: #64748B;
}
.feature-list {
    list-style: none;
    margin-top: 25px;
}
.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-list i {
    color: #F5B041;
}
.estimate-section {
    background: #07111f;
    border-radius: 32px;
    padding: 80px 5% 96px;
}
.estimate-section .section-header {
    text-align: left;
    margin-bottom: 40px;
}
.estimate-section .section-tag {
    background: rgba(245, 176, 65, 0.16);
    color: #f5b041;
    border-color: rgba(245, 176, 65, 0.35);
}
.estimate-section .step-number {
    border-color: rgba(245, 176, 65, 0.55);
    color: #f5b041;
    background: rgba(245, 176, 65, 0.12);
}
.estimate-section .contact-benefits li i {
    color: #f5b041;
}
.contact-form .estimate-attach-legend {
    display: block;
    margin: 16px 0 8px;
    font-weight: 600;
    color: #e2e8f0;
}
body.light-mode .contact-form .estimate-attach-legend {
    color: #334155;
}
.estimate-section .estimate-attach-block .contact-file-hint {
    color: rgba(148, 163, 184, 0.95);
}
.estimate-section .estimate-attach-block .contact-attach-total {
    color: rgba(148, 163, 184, 0.92);
}
.estimate-section .btn-outline {
    color: #F5B041;
    border-color: rgba(245, 176, 65, 0.5);
}
.contact-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 50px !important;
    align-items: flex-start;
    width: 100%;
}
.contact-left,
.contact-right {
    width: 100%;
    min-width: 0;
}
.step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.step-item {
    width: 100%;
}
@media (min-width: 992px) {
    .contact-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 50px !important;
        align-items: flex-start;
    }
    .contact-left {
        flex: 0 0 55% !important;
        max-width: 55% !important;
    }
    .contact-right {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }
}
@media (min-width: 992px) and (max-width: 1300px) {
    .contact-wrapper {
        gap: 20px !important;
    }
    .estimate-section .section-header h2 {
        font-size: 2.3rem;
    }
    .step-item {
        padding: 16px 18px;
    }
    .step-text p {
        font-size: 0.95rem;
    }
    .contact-form-card {
        max-width: 100%;
        padding: 26px;
    }
    .feature-info-section {
        margin-top: -40px !important;
    }
    .feature-box h3 {
        font-size: 1rem;
    }
    .feature-box p {
        font-size: 0.9rem;
    }
    .heitec-hero,
    .hero {
        padding-bottom: 90px;
    }
}
.step-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 18px;
    padding: 18px 20px;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    display: grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.1);
    font-weight: 700;
    font-size: 0.95rem;
}
.step-text p {
    margin: 0;
    font-size: 1rem;
    color: #E2E8F0;
    line-height: 1.75;
}
.contact-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.contact-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.7;
}
.contact-benefits li i {
    color: #D4AF37;
    margin-top: 4px;
}
.contact-form-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.18);
}
.contact-form-card h3 {
    color: #F5B041;
    margin-bottom: 24px;
}
.contact-form label {
    display: block;
    margin: 16px 0 8px;
    font-weight: 600;
    color: #E2E8F0;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 0;
    background: rgba(15, 19, 33, 0.92);
    color: #F8FAFC;
    border: 1px solid rgba(67, 89, 126, 0.6);
    border-radius: 16px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}
.contact-form .form-row.two-col {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-form .form-field {
    width: 100%;
}
.contact-form .form-row.two-col .form-field {
    width: calc(50% - 8px);
}
.upload-area {
    border: 2px dashed rgba(212, 175, 55, 0.45);
    border-radius: 18px;
    padding: 26px;
    text-align: center;
    cursor: pointer;
    color: #94A3B8;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.03);
}
.upload-area i {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 8px;
}
.contact-form textarea {
    min-height: 160px;
}

.contact-form select,
.contact-form .contact-form-select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    margin-bottom: 0;
    background-color: rgba(15, 19, 33, 0.92);
    color: #f8fafc;
    border: 1px solid rgba(67, 89, 126, 0.6);
    border-radius: 16px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form select:hover,
.contact-form .contact-form-select:hover,
.contact-form select:focus,
.contact-form .contact-form-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f5b041' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.contact-form select option {
    background: #0f1420;
    color: #f1f5f9;
}

.estimate-section .contact-gdpr.gdpr-checkbox {
    margin: 18px 0 20px;
    padding: 14px 16px;
    background: rgba(10, 14, 24, 0.55);
    border: 1px solid rgba(245, 176, 65, 0.2);
}

.estimate-section .contact-gdpr.gdpr-checkbox label {
    color: rgba(241, 245, 249, 0.9) !important;
}

.estimate-section .contact-gdpr.gdpr-checkbox a {
    color: #f5b041;
    font-weight: 600;
}

.estimate-section .contact-gdpr.gdpr-checkbox a:hover {
    color: #ffd15c;
}

.estimate-section .contact-gdpr.gdpr-checkbox input {
    accent-color: #f5b041;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
}
.btn-phone {
    padding-left: 24px;
    padding-right: 24px;
}
.btn-secondary {
    border-color: rgba(245, 176, 65, 0.5);
}
@media(max-width:991px) {
    .contact-actions {
        justify-content: center;
    }
    .contact-left,
    .contact-right {
        width: 100%;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-form .form-row.two-col .form-field {
        width: 100%;
    }
}
@media(max-width:768px) {
    .section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .section--after-hero{
        padding-top: 35px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .estimate-section {
        padding: 60px 15px;
    }
    .contact-wrapper {
        gap: 30px;
        flex-direction: column;
    }
    .contact-left,
    .contact-right {
        width: 100%;
    }
    .step-item {
        width: 100%;
        margin-bottom: 15px;
    }
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .step-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .contact-form-card {
        padding: 20px;
        margin: 0 10px;
    }
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-actions .btn {
        width: 100%;
    }
    .contact-form .form-row.two-col {
        gap: 12px;
    }
    .contact-form .form-row.two-col .form-field {
        width: 100%;
    }
    .feature-info-section {
        margin-top: 20px !important;
    }
    .feature-grid {
        grid-template-columns: 1fr !important;
    }
    .feature-box {
        width: 100% !important;
    }
    .heitec-hero,
    .hero {
        padding-bottom: 80px;
    }
    .contact-wrapper {
        margin-top: 0;
    }
}
.feature-info-section {
    padding: 70px 0 20px;
    margin-top: -150px;
    position: relative;
    z-index: 2;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 0;
    justify-items: center;
}

/* Leistungen-Seite: vier Info-Karten nebeneinander, ohne Link */
.feature-info-section .feature-grid > .feature-box {
    cursor: default;
    width: 100%;
    max-width: 320px;
}
.feature-info-section .feature-grid > .feature-box h3 {
    color: #f1f5f9;
}
body.light-mode .feature-info-section .feature-grid > .feature-box h3 {
    color: #0f172a;
}

/* Leistungen: vier Karten nacheinander einblenden (sichtbar bei Scroll / IO) */
.feature-info-section:not(.feature-info-section--visible) .feature-grid > .feature-box {
    opacity: 0;
    transform: translateY(26px);
}
.feature-info-section.feature-info-section--visible .feature-grid > .feature-box {
    animation: featureInfoStaggerIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.feature-info-section.feature-info-section--visible .feature-grid > .feature-box:nth-child(1) {
    animation-delay: 0.06s;
}
.feature-info-section.feature-info-section--visible .feature-grid > .feature-box:nth-child(2) {
    animation-delay: 0.18s;
}
.feature-info-section.feature-info-section--visible .feature-grid > .feature-box:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-info-section.feature-info-section--visible .feature-grid > .feature-box:nth-child(4) {
    animation-delay: 0.42s;
}
@keyframes featureInfoStaggerIn {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .feature-info-section:not(.feature-info-section--visible) .feature-grid > .feature-box {
        opacity: 1;
        transform: none;
    }
    .feature-info-section.feature-info-section--visible .feature-grid > .feature-box {
        animation: none;
    }
}

.feature-box {
    text-align: center;
    padding: 32px 24px;
    border-radius: 28px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backdrop-filter: blur(22px);
    border: 1px solid rgba(212, 175, 55, 0.18);
}
body .feature-box {
    background: rgba(15, 19, 33, 0.76);
}
body.light-mode .feature-box {
    background: rgba(255, 255, 255, 0.88);
}
.feature-box:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 28px 70px rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.25);
}

a.feature-box.feature-box--link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    padding-bottom: 44px;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.38s ease,
        border-color 0.35s ease;
}

a.feature-box.feature-box--link:visited {
    color: inherit;
}

a.feature-box.feature-box--link:hover {
    transform: translateY(-10px);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.32),
        0 0 40px rgba(245, 176, 65, 0.2);
    border-color: rgba(245, 176, 65, 0.42);
}

body.light-mode a.feature-box.feature-box--link:hover {
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.1),
        0 0 36px rgba(245, 176, 65, 0.14);
}

a.feature-box.feature-box--link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.4);
}

a.feature-box.feature-box--link::after {
    content: "\2192";
    position: absolute;
    right: 20px;
    bottom: 18px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f5b041;
    text-shadow: 0 0 16px rgba(245, 176, 65, 0.45);
    opacity: 0;
    transform: translate(10px, 6px);
    transition:
        opacity 0.3s ease,
        transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

a.feature-box.feature-box--link:hover::after,
a.feature-box.feature-box--link:focus-visible::after {
    opacity: 1;
    transform: translate(0, 0);
}

a.feature-box.feature-box--link h3 {
    color: #f1f5f9;
}

body.light-mode a.feature-box.feature-box--link h3 {
    color: #0f172a;
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 22px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: #D4AF37;
    font-size: 1.8rem;
}
.feature-box h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}
.feature-box p {
    color: #cbd5e1;
    line-height: 1.85;
    font-size: 0.95rem;
}
.image-box {
    border-radius: 30px;
    padding: 40px;
    text-align: center;
}
body .image-box {
    background: rgba(245, 176, 65, 0.05);
    border: 1px solid rgba(245, 176, 65, 0.2);
}
.image-box i {
    font-size: 3rem;
    color: #F5B041;
    margin: 0 10px;
}

/* ========== SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px;
    padding-bottom: 48px;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.38s ease;
}
body .service-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
body.light-mode .service-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.1);
}
a.service-card.service-card--link {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}
a.service-card.service-card--link:visited {
    color: inherit;
}
a.service-card.service-card--link:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 176, 65, 0.55);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(245, 176, 65, 0.2),
        0 0 40px rgba(245, 176, 65, 0.22);
}
body.light-mode a.service-card.service-card--link:hover {
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(245, 176, 65, 0.28),
        0 0 36px rgba(245, 176, 65, 0.16);
}
a.service-card.service-card--link:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(245, 176, 65, 0.45),
        0 18px 44px rgba(0, 0, 0, 0.35);
}
a.service-card.service-card--link::after {
    content: "\2192";
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 20px;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    color: #f5b041;
    text-shadow: 0 0 18px rgba(245, 176, 65, 0.45);
    opacity: 0;
    transform: translate(12px, 8px) scale(0.88);
    transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
a.service-card.service-card--link:hover::after,
a.service-card.service-card--link:focus-visible::after {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
body .service-card--link h3 {
    color: #f1f5f9;
}
body.light-mode .service-card--link h3 {
    color: #0f172a;
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F5B041;
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.service-card p {
    margin-bottom: 20px;
    color: #94A3B8;
}
.service-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 176, 65, 0.15);
}
.service-features li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}
.service-features i {
    color: #F5B041;
}

/* Home: Leistungen-style cards — centered stack, same hover arrow + lift as services.html */
.services-grid--home-leistungen a.service-card.service-card--link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 28px;
    padding: 40px 32px 52px;
}

.services-grid--home-leistungen .service-icon {
    margin-bottom: 18px;
    font-size: 3.25rem;
    line-height: 1;
}

.services-grid--home-leistungen .service-card p {
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
}

.services-grid--home-leistungen .service-features {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.services-grid--home-leistungen .service-features li {
    justify-content: center;
}

/* Home #angebote: three Leistungen cards — one row on large screens */
#angebote .services-grid--home-leistungen.services-grid--home-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.5vw, 30px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    #angebote .services-grid--home-leistungen.services-grid--home-three {
        grid-template-columns: 1fr;
        max-width: min(440px, 100%);
    }
}

/* Home #angebote: link to full services list (below 3-card row, right-aligned) */
#angebote .home-all-services-link {
    display: flex;
    justify-content: flex-end;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(6px, 1.5vw, 14px);
    margin-bottom: clamp(20px, 3vw, 32px);
    padding: 0 2px;
}

@media (max-width: 1024px) {
    #angebote .home-all-services-link {
        justify-content: center;
        max-width: min(440px, 100%);
    }
}

#angebote .home-all-services-link__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.02em;
    color: #F1F5F9;
    background: rgba(20, 25, 40, 0.72);
    border: 1px solid rgba(245, 176, 65, 0.38);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#angebote .home-all-services-link__btn:hover,
#angebote .home-all-services-link__btn:focus-visible {
    border-color: #F5B041;
    background: rgba(245, 176, 65, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(245, 176, 65, 0.14);
}

#angebote .home-all-services-link__btn:focus-visible {
    outline: 2px solid rgba(245, 176, 65, 0.95);
    outline-offset: 3px;
}

#angebote .home-all-services-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F5B041, #E67E22);
    color: #0A0C15;
    font-size: 0.82rem;
    transition: transform 0.25s ease;
}

#angebote .home-all-services-link__btn:hover .home-all-services-link__icon,
#angebote .home-all-services-link__btn:focus-visible .home-all-services-link__icon {
    transform: translateX(4px);
}

body.light-mode #angebote .home-all-services-link__btn {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(245, 176, 65, 0.42);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.08);
}

body.light-mode #angebote .home-all-services-link__btn:hover,
body.light-mode #angebote .home-all-services-link__btn:focus-visible {
    background: rgba(255, 251, 235, 0.98);
    border-color: #d97706;
}

/* ========== PROJECTS GRID ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}
.project-card {
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
    color: inherit;
    text-decoration: none;
}
body .project-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.1);
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: #F5B041;
}
.project-img {
    height: 220px;
    background: linear-gradient(135deg, #F5B041, #E67E22);
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-img i {
    font-size: 4rem;
    color: #0A0C15;
}
.project-info {
    padding: 24px;
}
.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #F5B041;
}
.project-info p {
    font-size: 0.85rem;
    color: #94A3B8;
}
.project-tag {
    display: inline-block;
    background: rgba(245, 176, 65, 0.15);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    margin-top: 12px;
    color: #F5B041;
}

/* ========== TEAM GRID ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.team-card {
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}
body .team-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
body.light-mode .team-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.1);
}
.team-card i {
    font-size: 2.5rem;
    color: #F5B041;
    margin-bottom: 15px;
}

/* ========== ABOUT PAGE (Über uns) — premium ========== */
.page-about .about-content-section {
    padding-top: clamp(72px, 10vw, 110px);
    padding-bottom: clamp(48px, 6vw, 72px);
}

.about-content-section .two-columns {
    align-items: flex-start;
}

/* Über uns: Text + Kennzahlen ohne Karten-Rahmen — dezente Trenner, Gold wie Seiten-Accent */
.page-about .about-luxury-panel {
    max-width: min(1040px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(4px, 1vw, 12px) 0 clamp(20px, 3vw, 32px);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.page-about .about-luxury-panel .two-columns {
    gap: clamp(28px, 4vw, 48px);
}

.page-about .about-luxury-panel .col h2 {
    color: #f8fafc;
}

.page-about .about-luxury-panel .col h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

body.light-mode .page-about .about-luxury-panel .col h2,
body.light-mode .page-about .about-luxury-panel .col h3 {
    color: #0f172a;
}

.page-about .about-luxury-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 22px;
}

.page-about .about-counters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(28px, 4vw, 44px);
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: min(960px, 100%);
    padding-top: clamp(32px, 4.5vw, 48px);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.page-about .about-counter-box {
    position: relative;
    text-align: center;
    padding: clamp(10px, 2vw, 18px) clamp(14px, 2.2vw, 24px);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.page-about .about-counter-box:not(:first-child) {
    border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.page-about .about-counter-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.page-about .about-counter-icon i {
    font-size: 1.55rem;
    color: rgba(245, 176, 65, 0.9);
    filter: drop-shadow(0 0 10px rgba(245, 176, 65, 0.22));
    opacity: 1;
}

body.light-mode .page-about .about-counter-icon i {
    color: #d97706;
    filter: drop-shadow(0 0 8px rgba(245, 176, 65, 0.18));
}

.page-about .about-counter-value {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(120deg, #f5b041, #ffe082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 14px rgba(245, 176, 65, 0.28));
}

.page-about .about-counter-label {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.82);
}

body.light-mode .page-about .about-counter-label {
    color: rgba(71, 85, 105, 0.9);
}

body.light-mode .page-about .about-counters {
    border-top-color: rgba(148, 163, 184, 0.28);
}

body.light-mode .page-about .about-counter-box:not(:first-child) {
    border-left-color: rgba(148, 163, 184, 0.28);
}

.about-counter-box--static .about-counter-value {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-counter-box--static.is-revealed .about-counter-value {
    opacity: 1;
    transform: translateY(0);
}

/* Team — focal section (~25% larger cards vs prior compact) */
.page-about .about-team-section {
    position: relative;
    padding-top: clamp(56px, 8vw, 100px);
    /* Extra bottom rhythm now that the mega Elektrohilfe CTA block is removed */
    padding-bottom: clamp(96px, 13vw, 140px);
    overflow: hidden;
}

.page-about .about-team-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 85% 55% at 50% 0%, rgba(245, 176, 65, 0.09), transparent 62%),
        radial-gradient(ellipse 70% 45% at 50% 100%, rgba(59, 130, 246, 0.04), transparent 55%);
    opacity: 1;
}

.about-team-focus {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

.about-team-focus__eyebrow {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.88);
}

body.light-mode .about-team-focus__eyebrow {
    color: rgba(180, 83, 9, 0.92);
}

.about-team-focus__title {
    margin: 0 auto 0;
    width: 100%;
    max-width: none;
    text-align: center;
    font-size: clamp(2.15rem, 4.8vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #f8fafc;
}

body.light-mode .about-team-focus__title {
    color: #0f172a;
}

body.light-mode .about-team-focus__title .gradient-text {
    background: linear-gradient(120deg, #d97706, #f5b041);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-team-focus__lead {
    margin: clamp(18px, 2.5vw, 26px) auto clamp(40px, 5vw, 56px);
    max-width: 34rem;
    font-size: clamp(1rem, 1.9vw, 1.12rem);
    line-height: 1.65;
    font-weight: 400;
    color: rgba(203, 213, 225, 0.92);
}

body.light-mode .about-team-focus__lead {
    color: rgba(51, 65, 85, 0.9);
}

.page-about .about-team-section .about-team-grid {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: min(920px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3.5vw, 40px);
    justify-content: center;
    justify-items: stretch;
    align-items: stretch;
}

.about-team-grid--founders .team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: linear-gradient(165deg, rgba(18, 22, 34, 0.97) 0%, rgba(8, 10, 18, 0.98) 48%, rgba(6, 8, 14, 0.99) 100%) !important;
    border: 1px solid rgba(245, 176, 65, 0.38) !important;
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 28px 64px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(245, 176, 65, 0.07);
    padding: clamp(44px, 5vw, 56px) clamp(32px, 4vw, 44px) clamp(48px, 5.2vw, 58px);
    border-radius: 30px;
    min-height: 0;
    overflow: hidden;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.38s ease;
}

.about-team-grid--founders .team-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, rgba(245, 176, 65, 0.85), rgba(255, 224, 130, 0.65), rgba(245, 176, 65, 0.85), transparent);
    opacity: 0.95;
    pointer-events: none;
}

.about-team-grid--founders .team-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(245, 176, 65, 0.1), transparent 58%);
    pointer-events: none;
    opacity: 0.85;
}

.about-team-grid--founders .team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 176, 65, 0.65) !important;
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.18),
        0 26px 64px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(245, 176, 65, 0.2),
        0 0 72px rgba(245, 176, 65, 0.1);
}

body.light-mode .about-team-grid--founders .team-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%) !important;
    border-color: rgba(245, 176, 65, 0.32) !important;
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.08),
        0 28px 64px rgba(15, 23, 42, 0.1);
}

body.light-mode .about-team-grid--founders .team-card::after {
    background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(245, 176, 65, 0.14), transparent 58%);
}

.about-team-grid--founders .team-name {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.8vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #f8fafc;
}

body.light-mode .about-team-grid--founders .team-name {
    color: #0f172a;
}

.about-team-grid--founders .team-role {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 22ch;
    font-size: clamp(0.88rem, 1.65vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.92) !important;
}

body.light-mode .about-team-grid--founders .team-role {
    color: rgba(180, 83, 9, 0.95) !important;
}

.about-team-grid--founders .team-photo {
    position: relative;
    z-index: 1;
    width: clamp(160px, 24vw, 212px);
    height: clamp(160px, 24vw, 212px);
    border-radius: 50%;
    margin: 0 auto clamp(26px, 3.2vw, 34px);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(245, 176, 65, 0.78);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.5),
        0 0 40px rgba(245, 176, 65, 0.25),
        0 0 72px rgba(245, 176, 65, 0.1),
        inset 0 2px 12px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(36, 40, 58, 0.99) 0%, rgba(14, 16, 26, 1) 55%, rgba(8, 10, 18, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.about-team-grid--founders .team-photo i {
    margin-bottom: 0;
    font-size: clamp(3rem, 9vw, 3.85rem);
    line-height: 1;
    color: #f5b041;
    filter: drop-shadow(0 0 18px rgba(245, 176, 65, 0.6)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
    opacity: 0.98;
}

.about-team-grid--founders .team-card:hover .team-photo {
    border-color: rgba(255, 209, 92, 0.9);
    box-shadow:
        0 0 0 1px rgba(255, 209, 92, 0.65),
        0 0 36px rgba(245, 176, 65, 0.35),
        0 0 64px rgba(245, 176, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

body.light-mode .about-team-grid--founders .team-photo {
    background: linear-gradient(155deg, #f4f4f5, #e2e8f0);
    border-color: rgba(217, 119, 6, 0.55);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.45),
        0 0 28px rgba(245, 176, 65, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.light-mode .about-team-grid--founders .team-photo i {
    color: #d97706;
    filter: drop-shadow(0 0 10px rgba(217, 119, 6, 0.35));
}

@media (max-width: 640px) {
    .page-about .about-counters {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 0;
        padding-top: clamp(24px, 5vw, 36px);
    }

    .page-about .about-counter-box {
        border-left: none !important;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        padding-top: 22px;
        padding-bottom: 10px;
    }

    .page-about .about-counter-box:first-child {
        border-top: none;
        padding-top: 4px;
    }

    body.light-mode .page-about .about-counter-box {
        border-top-color: rgba(148, 163, 184, 0.26);
    }
}

@media (max-width: 560px) {
    .page-about .about-team-section .about-team-grid.about-team-grid--founders {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        gap: 14px;
    }
    .about-team-grid--founders .team-card {
        padding: clamp(28px, 6vw, 36px) clamp(14px, 3vw, 20px) clamp(32px, 6vw, 40px);
    }
    .about-team-grid--founders .team-photo {
        width: clamp(112px, 36vw, 148px);
        height: clamp(112px, 36vw, 148px);
        margin-bottom: clamp(14px, 3vw, 20px);
    }
    .about-team-grid--founders .team-photo i {
        font-size: clamp(2.1rem, 12vw, 2.75rem);
    }
    .about-team-grid--founders .team-name {
        font-size: clamp(1.12rem, 4.2vw, 1.35rem);
    }

    .about-team-grid--founders .team-role {
        font-size: clamp(0.72rem, 2.8vw, 0.88rem);
        letter-spacing: 0.05em;
        max-width: none;
    }
}

/* ========== BOOKING FORM ========== */
.booking-card {
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}
body .booking-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.2);
}
body.light-mode .booking-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
.form-group {
    margin-bottom: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.2px;
}
body input, body select, body textarea {
    background: #11141F;
    border: 1.2px solid #2A2F3F;
    color: #E2E8F0;
}
body.light-mode input, body.light-mode select, body.light-mode textarea {
    background: #FFFFFF;
    border: 1.2px solid #E2E8F0;
    color: #1E293B;
}
input::placeholder, select, textarea::placeholder {
    opacity: 0.7;
}
body input::placeholder, body textarea::placeholder {
    color: #94A3B8;
}
body.light-mode input::placeholder, body.light-mode textarea::placeholder {
    color: #9CA3AF;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #F5B041;
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.1);
}

/* GDPR Checkbox */
.gdpr-checkbox {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px 0;
    padding: 18px 20px;
    border-radius: 16px;
}
body .gdpr-checkbox {
    background: rgba(20, 25, 40, 0.5);
    border: 1px solid rgba(245, 176, 65, 0.18);
}
body.light-mode .gdpr-checkbox {
    background: rgba(245, 176, 65, 0.06);
    border: 1px solid rgba(245, 176, 65, 0.12);
}
.gdpr-checkbox input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    accent-color: #F5B041;
    cursor: pointer;
    margin-top: 2px;
}
.gdpr-checkbox label {
    font-size: 0.88rem;
    cursor: pointer;
    line-height: 1.5;
    margin: 0;
    color: inherit;
}
body .gdpr-checkbox label {
    color: #E2E8F0;
}
body.light-mode .gdpr-checkbox label {
    color: #334155;
}
.gdpr-checkbox a {
    color: #F5B041;
    font-weight: 600;
    transition: color 0.2s ease;
}
.gdpr-checkbox a:hover {
    color: #FFD15C;
}
body.light-mode .gdpr-checkbox a:hover {
    color: #E67E22;
}

/* ========== FILE UPLOAD ========== */
.file-upload-group {
    margin: 25px 0;
}
.file-upload-label {
    display: flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding: 40px 20px;
    border: 2px dashed rgba(245,176,65,0.4);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}
body .file-upload-label {
    background: rgba(20,25,40,0.3);
    color: #F5B041;
}
body.light-mode .file-upload-label {
    background: rgba(245,176,65,0.05);
    border-color: rgba(245,176,65,0.3);
    color: #E67E22;
}
.file-upload-label:hover {
    border-color: #F5B041;
    background: rgba(245,176,65,0.12);
}
body.light-mode .file-upload-label:hover {
    background: rgba(245,176,65,0.15);
}
.file-upload-label i {
    font-size: 1.4rem;
}
.file-preview {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.file-item {
    position: relative;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
body .file-item {
    background: rgba(20,25,40,0.5);
    border: 1px solid rgba(245,176,65,0.2);
}
body.light-mode .file-item {
    background: rgba(245,176,65,0.08);
    border: 1px solid rgba(245,176,65,0.15);
}
.file-item:hover {
    border-color: #F5B041;
}
.file-item i {
    font-size: 1.8rem;
    color: #F5B041;
}
.file-item .file-name {
    font-size: 0.75rem;
    text-align: center;
    word-break: break-all;
    color: inherit;
}
.file-item .file-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #E74C3C;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}
.file-item .file-remove:hover {
    background: #C0392B;
    transform: scale(1.1);
}

/* ========== CONTACT GRID ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-card {
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 25px;
}
body .contact-card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(245, 176, 65, 0.15);
}
body.light-mode .contact-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 176, 65, 0.1);
}
.contact-icon {
    font-size: 1.8rem;
    color: #F5B041;
    margin-bottom: 15px;
}
.map-placeholder {
    border-radius: 24px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
body .map-placeholder {
    background: #11141F;
    border: 1px solid rgba(245, 176, 65, 0.2);
}
body.light-mode .map-placeholder {
    background: #E2E8F0;
    border: 1px solid rgba(245, 176, 65, 0.1);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #F5B041, #E67E22);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: #0A0C15;
}
.cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 15px;
}
.cta-section p {
    margin-bottom: 25px;
}

/* CTA: Buttons immer klick-/hover-fähig (AOS setzt auf [data-aos] teils pointer-events:none) */
.cta-section[data-aos],
.cta-section[data-aos].aos-animate {
    pointer-events: auto;
}
.cta-section__actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
.cta-section__actions .cta-section__btn {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid rgba(10, 12, 21, 0.2);
    box-shadow: 0 8px 22px rgba(10, 12, 21, 0.18);
}
.cta-section__actions .cta-section__btn:hover {
    background: #12162a;
    color: #ffd15c;
    border-color: rgba(10, 12, 21, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 12, 21, 0.28);
}
.cta-section__actions .cta-section__btn:hover i {
    color: #ffd15c;
}
.cta-section__actions .cta-section__btn:focus-visible {
    outline: 2px solid #0a0c15;
    outline-offset: 3px;
}
.cta-section__actions .cta-section__btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(10, 12, 21, 0.22);
}
body.light-mode .cta-section__actions .cta-section__btn {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
body.light-mode .cta-section__actions .cta-section__btn:hover {
    background: #cbd5e1;
    color: #b45309;
    border-color: rgba(15, 23, 42, 0.18);
}
body.light-mode .cta-section__actions .cta-section__btn:hover i {
    color: #b45309;
}

/* Home: rechter Kasten (Icons + Anruf) — gleiche Orange-Palette wie .cta-section; linke Spalte unverändert */
.image-box.image-box--cta-match {
    background: linear-gradient(135deg, #f5b041, #e67e22);
    border: 1px solid rgba(10, 12, 21, 0.1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
/* Nur die großen Deko-Icons oben — nicht <i> im Anruf-Button (sonst unsichtbar auf dunklem Pill) */
.image-box.image-box--cta-match > i {
    color: #0a0c15;
}
.image-box.image-box--cta-match .btn-primary i {
    color: #f5b041;
}
.image-box.image-box--cta-match p {
    color: rgba(10, 12, 21, 0.9) !important;
    font-weight: 600;
}
.image-box.image-box--cta-match .btn-primary {
    background: #0a0c15;
    color: #f5b041;
    box-shadow: 0 8px 26px rgba(10, 12, 21, 0.28);
}
.image-box.image-box--cta-match .btn-primary:hover {
    background: #12162a;
    color: #ffd15c;
    box-shadow: 0 12px 32px rgba(10, 12, 21, 0.35);
}
.image-box.image-box--cta-match .btn-primary:hover i {
    color: #ffd15c;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    padding: 80px 5% 34px;
    margin-top: 70px;
}
body .footer {
    background: radial-gradient(circle at 20% 0%, rgba(245, 176, 65, 0.10), transparent 45%),
                linear-gradient(180deg, #070A12 0%, #05060A 100%);
    border-top: 1px solid rgba(245, 176, 65, 0.14);
}
body.light-mode .footer {
    background: linear-gradient(180deg, #EEF2F7 0%, #E2E8F0 100%);
    border-top: 1px solid rgba(245, 176, 65, 0.12);
}

.footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 176, 65, 0.35), transparent);
    opacity: 0.9;
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}
.footer-col h4 {
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body .footer-col h4 {
    color: #F8FAFC;
}
body.light-mode .footer-col h4 {
    color: #1E293B;
}

.footer-col p{
    line-height: 1.8;
}
.footer-col p,
.footer-col a{
    font-size: 0.95rem;
}

.footer a{
    text-decoration: none;
}
.footer-col a {
    display: block;
    margin-bottom: 12px;
    transition: color 0.22s ease, transform 0.22s ease;
    font-weight: 500;
}
body .footer-col a {
    color: rgba(226, 232, 240, 0.72);
}
body.light-mode .footer-col a {
    color: #64748B;
}
.footer-col a:hover {
    color: #F5B041;
    transform: translateX(2px);
}
.footer-col p {
    margin-bottom: 8px;
    color: rgba(148, 163, 184, 0.92);
}

body.light-mode .footer-col p{
    color: rgba(71, 85, 105, 0.92);
}

.footer-col .footer-contact-item{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.footer-col .footer-contact-item i{
    margin-top: 4px;
    color: #F5B041;
}

/* Company address as link → Google Maps (footer, contact, legal pages) */
a.maps-address-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
a.maps-address-link:hover,
a.maps-address-link:focus-visible {
    color: #f5b041;
    border-bottom-color: rgba(245, 176, 65, 0.45);
    outline: none;
}
body.light-mode a.maps-address-link:hover,
body.light-mode a.maps-address-link:focus-visible {
    color: #b45309;
    border-bottom-color: rgba(217, 119, 6, 0.45);
}

/* Footer: two direct-dial lines (Geschäftsführung) */
.footer-contact-item--phones {
    align-items: flex-start;
}
.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.footer-phone-link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(245, 176, 65, 0.22);
    background: rgba(15, 23, 42, 0.45);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.footer-phone-link:hover,
.footer-phone-link:focus-visible {
    border-color: rgba(245, 176, 65, 0.55);
    background: rgba(245, 176, 65, 0.1);
    color: #f8fafc;
    outline: none;
}
.footer-phone-name {
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5b041;
    min-width: 5.5rem;
}
.footer-phone-num {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
body.light-mode .footer-phone-link {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(245, 176, 65, 0.28);
}
body.light-mode .footer-phone-link:hover,
body.light-mode .footer-phone-link:focus-visible {
    background: rgba(255, 251, 235, 0.95);
}
body.light-mode .footer-phone-name {
    color: #b45309;
}

/* Contact page + CTA rows: two call buttons */
.contact-info__phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
a.contact-info__phone-line {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}
a.contact-info__phone-line:hover,
a.contact-info__phone-line:focus-visible {
    color: #f5b041;
    outline: none;
}
.contact-info__phone-line small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.95);
    margin-bottom: 2px;
}
body.light-mode a.contact-info__phone-line {
    color: #0f172a;
}
body.light-mode a.contact-info__phone-line:hover {
    color: #b45309;
}

.contact-actions--dual-call {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.contact-actions--dual-call .btn-phone {
    min-width: 10rem;
    justify-content: center;
}

/* Kostenvoranschlag / Anfrage: einheitliche Gold-CTAs (kein Mix Gradient vs. Outline) */
.estimate-section .btn-primary {
    background: #f5b041;
    color: #0a0c15;
    border: 1px solid rgba(10, 12, 21, 0.14);
    box-shadow: 0 6px 20px rgba(245, 176, 65, 0.28);
}
.estimate-section .btn-primary:hover {
    background: #e5a238;
    color: #0a0c15;
    border-color: rgba(10, 12, 21, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 176, 65, 0.36);
}
.estimate-section .btn-primary:focus-visible {
    outline: 2px solid rgba(245, 176, 65, 0.85);
    outline-offset: 3px;
}
.estimate-section .btn-primary i {
    color: #0a0c15;
}

.legal-phones-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.legal-phones-stack a.legal-link {
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(245, 176, 65, 0.1);
    color: #64748B;
}

body .footer-bottom{
    color: rgba(148, 163, 184, 0.78);
}
body.light-mode .footer-bottom{
    color: rgba(71, 85, 105, 0.78);
}

@media (max-width: 992px){
    .footer-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }
}

@media (max-width: 640px){
    .footer{
        padding: 70px 18px 30px;
    }
    .footer-grid{
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
        justify-items: center;
    }
    .footer-col .footer-contact-item{
        justify-content: center;
    }
    .footer-col a:hover{
        transform: none;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    padding: 0;
    z-index: 10000;
    width: min(440px, calc(100vw - 48px));
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.45s;
}
body .cookie-consent {
    background: rgba(15, 15, 15, 0.85);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(212, 175, 55, 0.10);
}
body.light-mode .cookie-consent {
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.15),
        0 0 14px rgba(212, 175, 55, 0.08);
}
.cookie-consent.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
}
.cookie-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 18px;
}
.cookie-text p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.55;
}
body .cookie-text p {
    color: #CBD5E1;
}
body.light-mode .cookie-text p {
    color: #475569;
}
.cookie-text a {
    color: #F5B041;
    font-weight: 700;
    transition: color 0.2s ease;
}
.cookie-text a:hover {
    color: #FFD15C;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cookie-btn-accept {
    background: linear-gradient(135deg, #fce8a6 0%, #f5b041 45%, #d4922a 100%);
    color: #0A0C15;
    border-color: rgba(212, 175, 55, 0.35);
}
.cookie-btn-decline {
    background: transparent;
    border-color: rgba(212, 175, 55, 0.45);
    color: rgba(241, 245, 249, 0.92);
}
body.light-mode .cookie-btn-decline {
    color: #8a5b0a;
}
.cookie-btn-settings {
    background: transparent;
    border-color: rgba(212, 175, 55, 0.45);
    color: rgba(241, 245, 249, 0.92);
}
.cookie-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
body.light-mode .cookie-btn-settings {
    color: #8a5b0a;
}

/* GDPR / Privacy settings modal — fix dark-mode contrast + alignment */
#gdprModal {
    padding: 20px;
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#gdprModal > div {
    box-sizing: border-box;
    width: min(520px, calc(100vw - 40px));
    min-width: min(300px, calc(100vw - 32px));
    max-width: 560px;
    flex: 0 0 auto;
    background: rgba(15, 15, 15, 0.92) !important;
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border-radius: 20px !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.65),
        0 0 18px rgba(212, 175, 55, 0.10);
}
#gdprModal h3,
#gdprModal h4,
#gdprModal p,
#gdprModal label,
#gdprModal span {
    color: #FFFFFF !important;
}
#gdprModal label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    box-sizing: border-box;
}
#gdprModal input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 2px;
}
#gdprModal label span {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}
#gdprModal > div > div {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
#gdprSave {
    color: #0A0C15 !important;
    font-weight: 800;
}

/* Desktop / breites Fenster: Panel darf nicht auf „Nullbreite“ kollabieren (sonst ein Buchstabe pro Zeile) */
@media (min-width: 769px) {
    #gdprModal {
        padding: clamp(16px, 3vw, 32px);
        box-sizing: border-box;
    }

    #gdprModal,
    #gdprModal * {
        letter-spacing: normal !important;
        text-transform: none !important;
    }

    #gdprModal > div {
        width: min(520px, calc(100vw - 48px)) !important;
        min-width: 360px !important;
        max-width: 560px !important;
        margin: 20px auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    #gdprModal > div > div {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #gdprModal label {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #gdprModal label span {
        flex: 1 1 auto !important;
        min-width: 12rem !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    #gdprModal input[type="checkbox"] {
        flex: 0 0 auto !important;
        width: auto !important;
    }
}

@media (max-width: 768px) {
    /* Cookie settings modal (Einstellungen) — mobile layout hardening */
    #gdprModal {
        padding: 18px !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #gdprModal > div {
        width: 90vw !important;
        min-width: min(280px, calc(100vw - 24px)) !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 20px !important;
        border-radius: 22px !important;
        max-height: calc(100dvh - 36px);
        overflow-y: auto;
        overflow-x: visible;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Heavy duty reset: prevent "one character per line" text */
    #gdprModal,
    #gdprModal * {
        letter-spacing: normal !important;
        text-transform: none !important;
    }

    #gdprModal > div > div {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #gdprModal label {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #gdprModal input[type="checkbox"] {
        margin-top: 3px;
        width: 30px !important;
        flex: 0 0 30px !important;
    }
    #gdprModal label span {
        font-size: 14px !important;
        line-height: 1.45 !important;
        width: auto !important;
        max-width: none !important;
        flex: 1 1 auto !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    /* buttons stacked and full width */
    #gdprSave,
    #gdprClose {
        width: 100% !important;
        display: block;
    }
}

/* ========== IMPRESSUM — ultra premium redesign ========== */
.page-impressum {
    background: radial-gradient(circle at 20% 0%, rgba(245, 176, 65, 0.10), transparent 45%),
                linear-gradient(180deg, #070A12 0%, #05060A 100%);
}
.page-impressum .impressum-premium {
    position: relative;
    overflow: hidden;
}
.page-impressum .impressum-premium::before {
    content: "";
    position: absolute;
    inset: -40px;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(245, 176, 65, 0.20), transparent 45%),
        radial-gradient(circle at 82% 26%, rgba(245, 176, 65, 0.08), transparent 42%);
    filter: blur(1px);
    opacity: 0.95;
}
.page-impressum .impressum-premium__card {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 28px;
    background: rgba(15, 15, 15, 0.72);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 72px rgba(0, 0, 0, 0.55),
        0 0 44px rgba(212, 175, 55, 0.07);
    animation: impressumFadeIn 720ms ease both;
}
.page-impressum .impressum-premium__header {
    text-align: center;
    padding-bottom: clamp(18px, 2.5vw, 24px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    margin-bottom: clamp(18px, 2.5vw, 26px);
}
.page-impressum .impressum-premium__title {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #F5B041;
}
.page-impressum .impressum-premium__subtitle {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.page-impressum .impressum-premium__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.page-impressum .impressum-premium__section,
.page-impressum .impressum-premium__fineprint {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    background: rgba(255, 255, 255, 0.03);
}
.page-impressum .impressum-premium__h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.98);
}
.page-impressum .impressum-premium__divider {
    height: 1px;
    margin: 14px 0 14px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.35), transparent);
    opacity: 0.8;
}
.page-impressum .impressum-premium__text {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}
.page-impressum .impressum-premium__text strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
}
.page-impressum .impressum-premium__text i {
    color: rgba(245, 176, 65, 0.92);
    margin-right: 10px;
    width: 18px;
    text-align: center;
}
.page-impressum .impressum-premium__link {
    color: #F5B041;
    text-decoration: none;
    font-weight: 700;
}
.page-impressum .impressum-premium__link:hover {
    color: #FFD15C;
}
.page-impressum .impressum-premium__spacer {
    height: 6px;
}
.page-impressum .impressum-premium__fineprint {
    margin-top: 18px;
}

.impressum-fab-home {
    position: fixed;
    left: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 9996;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fce8a6 0%, #f5b041 45%, #d4922a 100%);
    border: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow:
        0 18px 45px rgba(255, 170, 0, 0.22),
        0 10px 28px rgba(0, 0, 0, 0.25);
    color: #0A0C15;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.06em;
    transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}
.impressum-fab-home span {
    font-size: 0.85rem;
}
.impressum-fab-home:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        0 24px 65px rgba(255, 170, 0, 0.28),
        0 14px 34px rgba(0, 0, 0, 0.28);
}

@media (max-width: 820px) {
    .page-impressum .impressum-premium__grid {
        grid-template-columns: 1fr;
    }
    .impressum-fab-home {
        left: 12px;
        right: 12px;
        width: calc(100% - 24px);
        justify-content: center;
    }
}

@keyframes impressumFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== LEGAL PAGES — radical modern “cool” layout (Impressum/Datenschutz/AGB) ========== */
.page-legal {
    background: radial-gradient(circle at 12% 10%, rgba(245, 176, 65, 0.10), transparent 48%),
                radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.04), transparent 52%),
                linear-gradient(180deg, #05060a 0%, #04050a 60%, #03040a 100%);
    overflow-x: hidden;
}
.page-legal .bg-premium {
    display: none;
}
.legal-shell {
    position: relative;
    min-height: 100vh;
    padding-top: clamp(92px, 12vh, 128px);
    padding-bottom: clamp(72px, 10vh, 110px);
}
.legal-bg {
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 20%, rgba(245, 176, 65, 0.22), transparent 45%),
        radial-gradient(circle at 75% 55%, rgba(245, 176, 65, 0.10), transparent 48%),
        radial-gradient(circle at 45% 80%, rgba(255, 255, 255, 0.06), transparent 52%),
        conic-gradient(from 180deg at 50% 50%, rgba(245,176,65,0.10), rgba(8,10,16,0.18), rgba(245,176,65,0.08), rgba(8,10,16,0.22), rgba(245,176,65,0.10));
    filter: blur(30px) saturate(120%);
    opacity: 0.75;
    transform: translate3d(0,0,0);
    animation: legalMeshMove 18s ease-in-out infinite alternate;
}
@keyframes legalMeshMove {
    0% { transform: translate3d(-1.5%, -1.2%, 0) rotate(-1deg) scale(1.02); }
    100% { transform: translate3d(1.6%, 1.2%, 0) rotate(1.2deg) scale(1.06); }
}

.legal-title-ghost {
    position: fixed;
    left: clamp(18px, 4vw, 44px);
    top: clamp(90px, 16vh, 160px);
    z-index: 1;
    font-size: clamp(3.2rem, 9vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.12);
    -webkit-text-stroke: 1px rgba(245, 176, 65, 0.22);
    opacity: 0.75;
    pointer-events: none;
    mix-blend-mode: screen;
}

.legal-shell {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    padding-left: clamp(18px, 4vw, 56px);
    padding-right: clamp(18px, 4vw, 56px);
}
.legal-sidebar {
    position: sticky;
    top: calc(88px + 12px);
    align-self: start;
    z-index: 2;
}
.legal-sidebar__inner {
    border-radius: 18px;
    padding: 16px 14px;
    background: rgba(10, 12, 18, 0.45);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    border: 1px solid rgba(245, 176, 65, 0.16);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 18px 50px rgba(0, 0, 0, 0.45);
}
.legal-sidebar__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(241, 245, 249, 0.6);
    margin-bottom: 12px;
}
.legal-nav {
    display: grid;
    gap: 10px;
}
.legal-nav__link {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: rgba(241, 245, 249, 0.82);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 176, 65, 0.10);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.legal-nav__k {
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(245, 176, 65, 0.9);
    font-size: 0.78rem;
}
.legal-nav__t {
    font-weight: 650;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.legal-nav__link::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 3px;
    height: 16px;
    border-radius: 999px;
    transform: translateY(-50%) scaleY(0.6);
    background: rgba(245, 176, 65, 0);
    box-shadow: 0 0 0 rgba(245, 176, 65, 0);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.legal-nav__link:hover,
.legal-nav__link:focus-visible {
    background: linear-gradient(90deg, rgba(245, 176, 65, 0.10), rgba(255,255,255,0.02));
    border-color: rgba(245, 176, 65, 0.22);
    color: #f5b041;
    transform: translateX(2px);
    outline: none;
}
.legal-nav__link:hover::before,
.legal-nav__link:focus-visible::before,
.legal-nav__link.is-active::before {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
    background: rgba(245, 176, 65, 0.95);
    box-shadow: 0 0 18px rgba(245, 176, 65, 0.28);
}
.legal-nav__link.is-active {
    border-color: rgba(245, 176, 65, 0.35);
    color: #f5b041;
}

.legal-content {
    position: relative;
    z-index: 2;
    padding-bottom: 24px;
}
.legal-hero {
    margin-bottom: clamp(18px, 3vw, 30px);
}
.legal-hero__title {
    margin: 0;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(241, 245, 249, 0.96);
}
.legal-hero__sub {
    margin: 10px 0 0;
    color: rgba(241, 245, 249, 0.72);
    line-height: 1.65;
    max-width: 65ch;
}
.legal-article {
    display: grid;
    gap: 22px;
}
.legal-section {
    position: relative;
    padding: 18px 0 12px;
    border-bottom: 1px solid rgba(245, 176, 65, 0.10);
}
.legal-h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.92);
}
.legal-p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    letter-spacing: 0.01em;
    position: relative;
    padding: 0 0;
}
.legal-p--empty-line {
    min-height: 0.35rem;
    margin: 0 0 8px;
}
.legal-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.legal-row i {
    color: rgba(245, 176, 65, 0.88);
    margin-top: 4px;
    width: 18px;
    text-align: center;
    flex: 0 0 auto;
}
.legal-hi {
    color: rgba(245, 176, 65, 0.98);
    font-weight: 900;
}
.legal-link {
    color: #F5B041;
    text-decoration: none;
    font-weight: 800;
}
.legal-link:hover {
    color: #FFD15C;
}
.legal-ul {
    margin: 12px 0 0 0;
    padding: 0 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
}
.legal-ul li { margin: 6px 0; }

/* “Glow line” appears only on hover over paragraphs */
.legal-p::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 176, 65, 0.55), transparent);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left center;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.legal-p:hover::after {
    opacity: 0.9;
    transform: scaleX(1);
}

/* floating minimalist back button */
.legal-back-fab {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-decoration: none;
    z-index: 9996;
    background: rgba(10, 12, 18, 0.55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(245, 176, 65, 0.22);
    color: rgba(245, 176, 65, 0.95);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.55),
        0 0 18px rgba(245, 176, 65, 0.10);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.legal-back-fab:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.06);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(245, 176, 65, 0.16);
}

/* custom magnetic cursor */
.legal-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(245, 176, 65, 0.85);
    box-shadow: 0 0 18px rgba(245, 176, 65, 0.22);
    pointer-events: none;
    z-index: 10050;
    transform: translate3d(-100px, -100px, 0);
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    opacity: 0;
}
.legal-cursor.is-active { opacity: 1; }
.legal-cursor.is-magnet {
    width: 22px;
    height: 22px;
    background: rgba(245, 176, 65, 0.30);
    box-shadow: 0 0 28px rgba(245, 176, 65, 0.26);
    border: 1px solid rgba(245, 176, 65, 0.55);
}

/* Legal pages: keep system cursor, no magnetic dot */
body.page-legal .legal-cursor {
    display: none !important;
}
body.page-legal,
body.page-legal * {
    cursor: auto !important;
}

@media (max-width: 980px) {
    .legal-shell {
        grid-template-columns: 1fr;
    }
    .legal-sidebar {
        position: sticky;
        top: calc(88px + 8px);
    }
    .legal-sidebar__inner {
        padding: 10px 10px;
    }
    .legal-nav {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        gap: 10px;
        scrollbar-width: none;
    }
    .legal-nav::-webkit-scrollbar { display: none; }
    .legal-nav__link {
        grid-template-columns: auto 1fr;
        min-width: 160px;
    }
    .legal-title-ghost {
        display: none;
    }
}

@media (max-width: 768px) {
    /* MOBILE OPTIMIZATION: legal pages (Impressum/Datenschutz/AGB) */
    .page-legal *,
    .page-legal *::before,
    .page-legal *::after {
        box-sizing: border-box !important;
    }

    html,
    body.page-legal {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .legal-shell {
        width: 100% !important;
        max-width: 100vw;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: clamp(96px, 16vh, 132px);
        padding-bottom: 86px;
        gap: 16px;
    }

    .legal-content,
    .legal-article,
    .legal-section {
        width: 100% !important;
        max-width: 100vw;
    }

    body.page-legal .navbar,
    body.page-legal .navbar .nav-container {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* hero typography */
    .legal-hero {
        text-align: center;
        margin-bottom: 18px;
    }
    .legal-hero__title {
        font-size: clamp(1.8rem, 6.2vw, 2.2rem);
        line-height: 1.12;
        letter-spacing: -0.02em;
        text-wrap: balance;
    }
    .legal-hero__sub {
        margin-top: 10px;
        font-size: 0.98rem;
        margin-left: auto;
        margin-right: auto;
    }

    /* section headings (gold text) */
    .legal-h2 {
        text-align: center;
        font-size: 0.95rem;
        letter-spacing: 0.10em;
        line-height: 1.25;
        margin: 0 0 10px;
    }

    /* body text alignment + safe link wrapping */
    .legal-p,
    .legal-ul {
        text-align: left;
    }
    .legal-link {
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    /* CRITICAL: prevent right-side cut-off on mobile */
    .page-legal p,
    .page-legal a,
    .page-legal .legal-p,
    .page-legal .legal-link {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .page-legal .legal-p,
    .page-legal .legal-ul,
    .page-legal .legal-row span {
        font-size: 0.95rem; /* ~15px on default 16px root */
    }

    .page-legal ul,
    .page-legal li {
        max-width: 100% !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* glassmorphism containers need extra breathing room */
    .legal-sidebar__inner {
        padding: 12px 12px;
        border-radius: 16px;
    }
    .legal-nav {
        /* BRUTE FORCE: prevent nav from forcing horizontal scroll */
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }
    .legal-nav__link {
        /* Kill fixed widths/min-widths */
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 9px 10px;
        border-radius: 12px;
    }
    .legal-nav__t {
        font-size: 0.78rem;
        letter-spacing: 0.05em;
    }

    /* back button: smaller + away from content */
    .legal-back-fab {
        width: 44px;
        height: 44px;
        right: calc(14px + env(safe-area-inset-right, 0px));
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-bg { animation: none; }
    .legal-p::after { transition: none; }
    .legal-back-fab { transition: none; }
    .legal-cursor { display: none !important; }
}

@media (max-width: 640px) {
    .cookie-consent {
        right: 12px;
        left: 12px;
        bottom: 14px;
        width: auto;
        margin: 0 auto;
    }
    .cookie-container {
        padding: 16px 14px;
        justify-content: center;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ========== RESPONSIVE ========== */
/* Tablet + phone: hamburger nav (clean stack, no overlap) */
@media (max-width: 1180px) {
    .navbar {
        padding: 12px max(14px, env(safe-area-inset-left)) 12px max(14px, env(safe-area-inset-right));
    }
    .navbar .nav-container {
        flex-wrap: wrap;
        gap: 10px 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        order: 1;
        min-width: 0;
        flex-shrink: 1;
    }
    .logo-text h2 {
        font-size: clamp(1rem, 3.5vw, 1.28rem);
    }
    /* Top row: logo left, phone circle + menu right (desktop unchanged ≥1181px) */
    .navbar .nav-call-picker {
        order: 2;
        margin-left: 0;
    }
    .navbar .btn-call {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        order: 0;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
        background: linear-gradient(145deg, #fce8a6 0%, #f5b041 45%, #c97f16 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.38);
        box-shadow:
            0 8px 24px rgba(245, 176, 65, 0.42),
            0 2px 8px rgba(0, 0, 0, 0.25);
        color: transparent !important;
        font-size: 0;
        line-height: 0;
        letter-spacing: 0;
        white-space: nowrap;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .navbar .btn-call i {
        font-size: 1.05rem;
        line-height: 1;
        color: #ffffff !important;
        flex-shrink: 0;
    }
    .navbar .btn-call:hover {
        transform: scale(1.05);
        filter: brightness(1.04);
        box-shadow:
            0 10px 30px rgba(245, 176, 65, 0.48),
            0 4px 12px rgba(0, 0, 0, 0.28);
    }
    .menu-btn {
        display: inline-grid !important;
        place-items: center;
        order: 3;
        margin-left: 15px;
        width: 56px;
        height: 56px;
        min-width: 48px;
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .theme-switch-wrapper {
        display: none !important;
    }
    .nav-links {
        display: none;
        order: 10;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        flex-wrap: nowrap;
        padding: 8px 0 16px;
        margin: 8px 0 0;
        max-height: min(72vh, 560px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        background: rgba(8, 10, 16, 0.97);
        backdrop-filter: blur(22px);
        border: 1px solid rgba(245, 176, 65, 0.32);
        border-radius: 18px;
        box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
    }
    body.light-mode .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(217, 119, 6, 0.28);
        box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    }
    .navbar.navbar--menu-open .nav-links {
        display: flex;
    }
    .nav-links > a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 16px 20px;
        box-sizing: border-box;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-links > a::after {
        display: none;
    }
    .nav-links > a.nav-emergency {
        order: -1;
        justify-content: center;
        margin: 4px 12px 14px;
        min-height: 54px;
        padding: 16px 20px;
        border-radius: 14px;
        border: 2px solid rgba(255, 255, 255, 0.55) !important;
        background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%) !important;
        color: #ffffff !important;
        font-weight: 800;
        font-size: 0.82rem;
        letter-spacing: 0.16em;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
        box-shadow:
            0 10px 28px rgba(185, 28, 28, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
    body.light-mode .nav-links > a.nav-emergency {
        color: #ffffff !important;
        background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
    }
    .nav-links > a.nav-emergency:hover,
    .nav-links > a.nav-emergency:focus-visible {
        color: #ffffff !important;
        filter: brightness(1.08);
    }
    .nav-links > a:not(.nav-emergency),
    .nav-links > .nav-dropdown {
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }
    body.light-mode .nav-links > a:not(.nav-emergency),
    body.light-mode .nav-links > .nav-dropdown {
        border-bottom-color: rgba(15, 23, 42, 0.08);
    }
    .nav-links > *:last-child {
        border-bottom: none;
    }
    .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .nav-dropdown__trigger {
        width: 100%;
        min-height: 52px;
        justify-content: space-between;
        padding: 16px 20px;
        text-align: left;
        letter-spacing: 0.14em;
        box-sizing: border-box;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-dropdown__trigger::after {
        display: none;
    }
    .nav-dropdown.is-open .nav-dropdown__chevron {
        transform: rotate(180deg);
    }
    .nav-dropdown__panel {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.22);
        transition: max-height 0.38s ease, padding 0.38s ease;
    }
    body.light-mode .nav-dropdown__panel {
        background: rgba(15, 23, 42, 0.05);
    }
    .nav-dropdown.is-open .nav-dropdown__panel {
        max-height: 320px;
        pointer-events: auto;
        padding: 4px 0 12px;
    }
    .nav-dropdown__panel a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 14px 20px 14px 36px;
        box-sizing: border-box;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Fixed gold call FAB — shown only ≤768px via media block; header keeps circle ≤1180px */
.mobile-call-fab {
    display: none;
    position: fixed;
    z-index: 9995;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #ffffff;
    background: linear-gradient(145deg, #fce8a6 0%, #f5b041 45%, #c97f16 100%);
    border: 2px solid rgba(255, 255, 255, 0.38);
    box-shadow:
        0 12px 32px rgba(245, 176, 65, 0.48),
        0 6px 18px rgba(0, 0, 0, 0.28);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.mobile-call-fab:hover {
    filter: brightness(1.06);
    box-shadow:
        0 14px 44px rgba(245, 176, 65, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.38);
}
.mobile-call-fab:active {
    transform: scale(0.95);
}
body.light-mode .mobile-call-fab {
    border-color: rgba(255, 255, 255, 0.55);
}
/* FAB only on phone-sized viewports (desktop / tablet unchanged) */
@media (max-width: 768px) {
    .mobile-call-fab {
        display: flex;
        right: calc(20px + env(safe-area-inset-right, 0px));
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        width: 45px;
        height: 45px;
        font-size: 1.05rem;
        color: #ffffff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.92);
        transition:
            opacity 0.32s ease,
            visibility 0.32s ease,
            transform 0.32s ease;
    }
    .mobile-call-fab i {
        color: #ffffff;
        font-size: 1.05rem;
    }
    .mobile-call-fab.mobile-call-fab--visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }

    /* Legal pages also have a fixed back FAB in the same corner. Stack call button above it. */
    body.page-legal .mobile-call-fab {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px) + 62px);
    }
}

@media (max-width: 992px) {
    .two-columns, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }
    /* Mobile header: perfectly centered phone icon + neat gap to hamburger */
    .navbar .nav-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }
    .navbar .nav-container .logo {
        margin-right: auto;
    }
    .navbar .btn-call {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar .btn-call i {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }
    .menu-btn {
        margin-left: 0 !important;
        align-self: center;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .booking-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    .logo-text h2 {
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .stat .number {
        font-size: 1.5rem;
    }
}
/* ===== A&M HEITEC HOMEPAGE VIDEO-STYLE ADDITIONS ===== */
.heitec-hero{min-height:92vh;padding:155px 5% 30px;background-image:linear-gradient(90deg,rgba(10,12,21,.97) 0%,rgba(10,12,21,.86) 45%,rgba(10,12,21,.55) 100%);background-size:cover;background-position:center center;background-repeat:no-repeat;position:relative;overflow:hidden}

/* Home: cinematic carousel read-off for premium hero */
.index-hero-premium .hero-carousel::before {
    background: linear-gradient(
        105deg,
        rgba(4, 6, 12, 0.96) 0%,
        rgba(8, 10, 18, 0.88) 28%,
        rgba(10, 12, 20, 0.72) 55%,
        rgba(6, 8, 14, 0.55) 100%
    );
}

.index-hero-premium .heitec-hero-content {
    max-width: 880px;
}

.index-hero-premium.hero h1 {
    font-size: clamp(2.65rem, 6.2vw, 4.35rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.25),
        0 10px 40px rgba(0, 0, 0, 0.45),
        0 28px 70px rgba(0, 0, 0, 0.35);
}

.index-hero-premium.hero p {
    font-size: clamp(1.02rem, 2vw, 1.15rem);
    max-width: 36rem;
}

/* Home hero — mobile: clearer photo, centered copy, four matching circles + optional emergency strip (hidden) */
.hero-mobile-emergency-wrap {
    display: none;
}
.hero-mobile-emergency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 36px rgba(185, 28, 28, 0.45);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.hero-mobile-emergency-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 16px 44px rgba(185, 28, 28, 0.5);
}
@media (max-width: 768px) {
    .index-hero-premium .floating-orb {
        display: none;
    }
    /* Restore 4 hero circles: visible, centered, same size (incl. Notdienst) */
    .index-hero-premium .service-circles {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        gap: 10px 12px;
        margin: 12px auto 14px;
        max-width: 100%;
        padding: 0 6px;
        position: relative;
        z-index: 6;
    }
    .index-hero-premium .service-circle {
        width: 84px;
        height: 84px;
        min-width: 84px;
        min-height: 84px;
        max-width: 84px;
        max-height: 84px;
        flex: 0 0 auto;
        box-sizing: border-box;
        border-radius: 50%;
        font-size: 0.65rem;
        gap: 5px;
    }
    .index-hero-premium .service-circle i {
        font-size: 1.4rem;
    }
    .index-hero-premium .service-circle span {
        font-size: 0.65rem;
        padding: 0 6px;
        line-height: 1.12;
    }
    .index-hero-premium .service-circle--emergency {
        margin: 0;
    }
    .hero-mobile-emergency-wrap {
        display: none !important;
    }
    .index-hero-premium.heitec-hero {
        padding-top: clamp(100px, 22vw, 140px);
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
        /* MOBILE ONLY: keep one clean background layer + prevent iOS gaps */
        background-size: cover !important;
        background-position: center center !important;
        height: 100vh !important;
        min-height: 100vh !important;
    }

    @supports (-webkit-touch-callout: none) {
        .index-hero-premium.heitec-hero {
            min-height: -webkit-fill-available !important;
        }
    }
    .index-hero-premium .heitec-hero-content {
        position: relative;
        z-index: 4;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .index-hero-premium .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .index-hero-premium.hero h1,
    .index-hero-premium.hero p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .index-hero-premium.hero p {
        max-width: 34rem;
    }
    .index-hero-premium .hero-carousel::before {
        /* single dark overlay over entire slider (mobile) */
        background: rgba(0, 0, 0, 0.5) !important;
    }
    .index-hero-premium .carousel-slide img {
        object-fit: cover !important;
        object-position: center center !important;
        filter: brightness(0.92) saturate(1) contrast(1);
    }

    /* Slider layering + smooth fade (mobile) */
    .index-hero-premium .hero-carousel {
        position: absolute !important;
        inset: 0 !important;
        z-index: -1 !important;
    }
    .index-hero-premium .hero-content,
    .index-hero-premium .heitec-hero-content {
        position: relative !important;
        z-index: 10 !important;
    }
    .index-hero-premium .carousel-slide {
        position: absolute !important;
        inset: 0 !important;
        opacity: 0;
        transition: opacity 0.85s ease;
    }
    .index-hero-premium .carousel-slide.active {
        position: absolute !important;
        opacity: 1;
    }
}

.hero-booking{background-image:linear-gradient(90deg,rgba(10,12,21,.95) 0%,rgba(10,12,21,.80) 35%,rgba(10,12,21,.55) 100%),url("../images/booking.jpg");background-position:center center;}

/* ========== NOTDIENST — premium cinematic hero ========== */
.hero-notdienst.hero-notdienst--premium {
    background-color: #04060c;
    background-image:
        linear-gradient(180deg, rgba(4, 6, 12, 0.9) 0%, rgba(8, 10, 18, 0.52) 38%, rgba(4, 6, 12, 0.92) 100%),
        linear-gradient(90deg, rgba(6, 8, 14, 0.95) 0%, rgba(10, 12, 20, 0.42) 48%, rgba(6, 8, 14, 0.9) 100%),
        url("../images/notdienst.jpg");
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    padding-top: clamp(120px, 18vh, 170px);
    padding-bottom: clamp(48px, 10vh, 88px);
}

.hero-notdienst.hero-notdienst--premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 70% at 50% 42%, rgba(0, 0, 0, 0) 0%, rgba(2, 4, 10, 0.5) 65%, rgba(2, 4, 10, 0.82) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 62%, rgba(0, 0, 0, 0.55) 100%);
}

body.light-mode .hero-notdienst.hero-notdienst--premium::before {
    background:
        radial-gradient(ellipse 100% 70% at 50% 42%, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.35) 65%, rgba(241, 245, 249, 0.55) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, transparent 30%, transparent 60%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-notdienst.hero-notdienst--premium .hero-notdienst-content {
    position: relative;
    z-index: 4;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notdienst-hero-premium__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 clamp(20px, 3vw, 28px);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(245, 176, 65, 0.35);
    background: rgba(8, 10, 18, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.notdienst-hero-premium__eyebrow i {
    color: #f5b041;
    font-size: 0.85rem;
}

.notdienst-hero-premium__title {
    margin: 0 0 clamp(14px, 2.4vw, 22px);
    font-size: clamp(2.85rem, 7.5vw, 4.75rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #f8fafc;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.35),
        0 8px 40px rgba(0, 0, 0, 0.55),
        0 24px 80px rgba(0, 0, 0, 0.35);
}

.notdienst-hero-premium__title-gold {
    background: linear-gradient(118deg, #f3e7c8 0%, #d4a84b 32%, #c9a03d 55%, #f0e2b4 78%, #a67c2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 24px rgba(201, 160, 61, 0.5));
}

.notdienst-hero-premium__title-rest {
    color: #f1f5f9;
}

.notdienst-hero-premium__title-br {
    display: none;
}

@media (min-width: 640px) {
    .notdienst-hero-premium__title-br {
        display: inline;
    }
}

.notdienst-hero-premium__lead {
    margin: 0 0 clamp(28px, 4vw, 44px);
    max-width: 36rem;
    font-size: clamp(1.02rem, 2.1vw, 1.2rem);
    line-height: 1.65;
    font-weight: 500;
    color: rgba(203, 213, 225, 0.95);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

body.light-mode .notdienst-hero-premium__lead {
    color: rgba(226, 232, 240, 0.95);
}

.notdienst-hero-premium__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(26rem, 100%);
    margin: clamp(10px, 2vw, 18px) auto clamp(26px, 4vw, 40px);
}

.notdienst-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 36px;
    min-height: 58px;
    border-radius: 16px;
    font-size: clamp(1.05rem, 2.2vw, 1.22rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease;
}
button.notdienst-hero-btn {
    appearance: none;
    font: inherit;
    cursor: pointer;
    box-sizing: border-box;
}
a.notdienst-hero-btn {
    cursor: pointer;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
}

.notdienst-hero-btn i {
    font-size: 1.18em;
}

/* Vibrant emergency call — focal CTA with beacon-style pulse */
.notdienst-hero-btn--emergency {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
    overflow: visible;
    color: #fff;
    border: 2px solid rgba(254, 202, 202, 0.85);
    background: linear-gradient(165deg, #f87171 0%, #dc2626 42%, #991b1b 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25) inset,
        0 0 0 0 rgba(248, 113, 113, 0.55),
        0 10px 36px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(220, 38, 38, 0.55);
    animation: notdienst-hero-beacon 2.4s ease-in-out infinite;
}

@keyframes notdienst-hero-beacon {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.25) inset,
            0 0 0 0 rgba(248, 113, 113, 0.45),
            0 10px 36px rgba(0, 0, 0, 0.45),
            0 0 32px rgba(220, 38, 38, 0.5);
    }
    55% {
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.2) inset,
            0 0 0 14px rgba(248, 113, 113, 0),
            0 12px 40px rgba(0, 0, 0, 0.48),
            0 0 52px rgba(239, 68, 68, 0.65),
            0 0 80px rgba(220, 38, 38, 0.35);
    }
}

.notdienst-hero-btn--emergency:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: #fff;
    animation: none;
    background: linear-gradient(165deg, #fca5a5 0%, #ef4444 40%, #b91c1c 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2) inset,
        0 0 48px rgba(248, 113, 113, 0.55),
        0 16px 44px rgba(0, 0, 0, 0.5);
}

.notdienst-hero-btn--emergency:focus-visible {
    outline: none;
    animation: none;
    box-shadow:
        0 0 0 4px rgba(250, 204, 21, 0.65),
        0 0 40px rgba(239, 68, 68, 0.55),
        0 12px 36px rgba(0, 0, 0, 0.45);
}

.notdienst-hero-premium__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    max-width: 52rem;
}

.notdienst-hero-premium__trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(245, 176, 65, 0.15);
    background: rgba(8, 10, 18, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.notdienst-hero-premium__trust-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #f5b041;
    background: rgba(245, 176, 65, 0.12);
    border: 1px solid rgba(245, 176, 65, 0.22);
}

.notdienst-hero-premium__trust-text {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.95);
    text-align: left;
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 639px) {
    .notdienst-hero-premium__actions {
        max-width: 100%;
        padding: 0 4px;
    }

    .notdienst-hero-btn--emergency {
        max-width: 100%;
        min-height: 56px;
        padding: 18px 24px;
    }

    .notdienst-hero-premium__trust {
        flex-direction: column;
        align-items: stretch;
    }

    .notdienst-hero-premium__trust li {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .notdienst-hero-btn--emergency {
        animation: none;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.25) inset,
            0 10px 36px rgba(0, 0, 0, 0.45),
            0 0 28px rgba(220, 38, 38, 0.45);
    }
}

/* Gold vignette above cinematic overlay, below hero copy */
.hero-notdienst--premium.heitec-hero::after {
    z-index: 3;
}

/* ========== NOTDIENST: info + feature list ========== */
.page-notdienst .notdienst-info-section {
    /* Tighter top after removal of standalone contact card; keeps hero → copy flow natural */
    padding-top: clamp(40px, 6.5vw, 64px);
    padding-bottom: clamp(56px, 10vw, 96px);
}

.notdienst-info-container {
    max-width: 760px;
    margin: 0 auto;
}

.notdienst-info-copy {
    text-align: center;
}

.notdienst-info-copy .section-tag {
    margin-bottom: 14px;
}

.notdienst-info-copy h2 {
    margin-bottom: 18px;
}

.notdienst-info-copy > p {
    color: #cbd5e1;
    line-height: 1.85;
    margin-bottom: 28px;
}

body.light-mode .notdienst-info-copy > p {
    color: #475569;
}

.notdienst-info-list {
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}

.hero-about{background-image:linear-gradient(90deg,rgba(10,12,21,.95) 0%,rgba(10,12,21,.80) 35%,rgba(10,12,21,.55) 100%),url("../images/PNG-Bild.png");background-position:center center;}
.hero-about .hero-content h1{margin-bottom:0}
.hero-about .hero-about-specialty{font-family:inherit;font-size:clamp(1.5rem,3.2vw,2rem);font-weight:800;letter-spacing:2px;color:#F5B041;margin-top:.625rem;margin-bottom:1.5rem;max-width:none;line-height:1.2;text-shadow:0 12px 28px rgba(0,0,0,.35)}

.hero-services{background-image:linear-gradient(90deg,rgba(10,12,21,.95) 0%,rgba(10,12,21,.80) 35%,rgba(10,12,21,.55) 100%),url("../images/services.jpg");background-position:center center;}

.hero-karriere {
    background-image:
        linear-gradient(105deg, rgba(6, 8, 14, 0.94) 0%, rgba(10, 12, 20, 0.82) 42%, rgba(8, 10, 18, 0.72) 100%),
        url("../images/services.jpg");
    background-size: cover;
    background-position: center 35%;
}

.karriere-hero-inner {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.karriere-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #f8fafc;
    text-shadow: 0 4px 36px rgba(0, 0, 0, 0.5);
    margin-bottom: clamp(14px, 2.5vw, 22px);
}

.karriere-hero-sub {
    margin: 0 auto;
    max-width: 36rem;
    font-size: clamp(1.05rem, 2.2vw, 1.22rem);
    font-weight: 500;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.94);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .hero-karriere {
        background-image:
            linear-gradient(165deg, rgba(4, 6, 12, 0.97) 0%, rgba(10, 12, 22, 0.94) 45%, rgba(6, 8, 14, 0.92) 100%),
            url("../images/services.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
    }
    .hero-services {
        background-size: cover !important;
        background-position: center center !important;
    }
    .hero-about {
        background-size: cover !important;
        background-position: center center !important;
    }
    .heitec-hero:not(.index-hero-premium) .hero-content,
    .heitec-hero:not(.index-hero-premium) .heitec-hero-content {
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65), 0 10px 40px rgba(0, 0, 0, 0.45);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-karriere .karriere-motivation-section {
    padding-top: clamp(40px, 6vw, 72px);
    padding-bottom: clamp(8px, 2vw, 24px);
    background: linear-gradient(180deg, rgba(8, 10, 16, 0.98) 0%, rgba(12, 15, 24, 1) 100%);
    border-top: 1px solid rgba(245, 176, 65, 0.12);
    border-bottom: 1px solid rgba(245, 176, 65, 0.08);
}

body.light-mode .karriere-motivation-section {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top-color: rgba(245, 176, 65, 0.2);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.karriere-motivation-container {
    max-width: 52rem;
    margin: 0 auto;
}

.karriere-motivation-text {
    margin: 0;
    font-size: clamp(1.05rem, 2.1vw, 1.2rem);
    line-height: 1.82;
    color: rgba(203, 213, 225, 0.96);
    text-align: center;
}

.karriere-motivation-text strong {
    color: #f5d78a;
    font-weight: 700;
}

body.light-mode .karriere-motivation-text {
    color: #334155;
}

body.light-mode .karriere-motivation-text strong {
    color: #b45309;
}

.page-karriere .karriere-benefits-section {
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(40px, 6vw, 72px);
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(245, 176, 65, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #0a0c15 0%, #0d1018 100%);
}

body.light-mode .karriere-benefits-section {
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(245, 176, 65, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.karriere-benefits-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.karriere-benefits-heading {
    margin: 0 0 clamp(28px, 4vw, 40px);
    text-align: center;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f5b041;
}

body.light-mode .karriere-benefits-heading {
    color: #b45309;
}

.karriere-benefits-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 28px);
}

@media (max-width: 900px) {
    .karriere-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 28rem;
        margin: 0 auto;
    }
}

.karriere-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(28px, 4vw, 36px) clamp(22px, 3vw, 28px);
    border-radius: 22px;
    background: rgba(18, 22, 34, 0.85);
    border: 1px solid rgba(245, 176, 65, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 50px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.karriere-benefit-card:hover {
    border-color: rgba(245, 176, 65, 0.48);
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.12) inset,
        0 26px 56px rgba(0, 0, 0, 0.42),
        0 0 40px rgba(245, 176, 65, 0.1);
}

body.light-mode .karriere-benefit-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(217, 119, 6, 0.28);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.karriere-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 1.75rem;
    color: #0a0c15;
    background: linear-gradient(145deg, #fce8a6 0%, #f5b041 40%, #c97f16 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(245, 176, 65, 0.25);
}

.karriere-benefit-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f8fafc;
}

body.light-mode .karriere-benefit-title {
    color: #0f172a;
}

.karriere-benefit-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(186, 198, 216, 0.95);
}

body.light-mode .karriere-benefit-text {
    color: #475569;
}

.karriere-cta-emphasis {
    margin: 0 auto clamp(18px, 3vw, 24px);
    max-width: 40rem;
    font-size: clamp(1.12rem, 2.2vw, 1.28rem);
    font-weight: 700;
    line-height: 1.55;
    color: #fde68a;
    text-shadow: 0 0 32px rgba(245, 176, 65, 0.2);
}

body.light-mode .karriere-cta-emphasis {
    color: #b45309;
    text-shadow: none;
}

/* —— Karriere: Bewerbungsformular (Glass) —— */
.page-karriere .karriere-form-section {
    padding-top: clamp(32px, 5vw, 56px);
    padding-bottom: clamp(88px, 12vw, 120px);
    background: linear-gradient(180deg, rgba(10, 12, 21, 0.5) 0%, #0a0c15 100%);
}

body.light-mode .karriere-form-section {
    background: linear-gradient(180deg, #f1f5f9 0%, #e8ecf1 100%);
}

.karriere-form-container {
    max-width: min(960px, 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.karriere-form-success {
    display: none;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: clamp(28px, 4vw, 40px);
    padding: clamp(22px, 3vw, 28px) clamp(24px, 3vw, 32px);
    border-radius: 20px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.45);
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.12);
}

.karriere-form-success:not([hidden]) {
    display: flex;
}

.karriere-form-success__icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    color: #4ade80;
    line-height: 1;
}

.karriere-form-success__body {
    flex: 1;
    min-width: 0;
}

.karriere-form-success__text {
    margin: 0 0 16px;
    font-size: clamp(1.02rem, 2vw, 1.12rem);
    font-weight: 600;
    line-height: 1.55;
    color: #ecfdf5;
}

.karriere-form-success__again {
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ecfdf5;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.karriere-form-success__again:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
}

body.light-mode .karriere-form-success__again {
    color: #14532d;
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(22, 163, 74, 0.35);
}

body.light-mode .karriere-form-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.35);
}

body.light-mode .karriere-form-success__text {
    color: #14532d;
}

body.light-mode .karriere-form-success__icon {
    color: #16a34a;
}

.karriere-app-form-wrap {
    padding: clamp(36px, 5vw, 52px) clamp(28px, 4.5vw, 48px);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(14, 17, 28, 0.72);
    border: 1px solid rgba(245, 176, 65, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 70px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(245, 176, 65, 0.06);
    transition: opacity 0.35s ease;
}

.karriere-app-form-wrap.is-hidden {
    display: none;
}

body.light-mode .karriere-app-form-wrap {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.karriere-app-form__title {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

body.light-mode .karriere-app-form__title {
    color: #0f172a;
}

.karriere-app-form__lead {
    margin: 0 0 clamp(28px, 4vw, 36px);
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(186, 198, 216, 0.95);
}

body.light-mode .karriere-app-form__lead {
    color: #475569;
}

.karriere-app-form {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 28px);
}

.karriere-app-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(18px, 2.5vw, 22px);
}

@media (min-width: 720px) {
    .karriere-app-form__title,
    .karriere-app-form__lead {
        text-align: left;
    }

    .karriere-app-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(22px, 3vw, 32px);
        row-gap: clamp(18px, 2.2vw, 24px);
    }

    .karriere-app-field--full {
        grid-column: 1 / -1;
    }
}

.karriere-app-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.karriere-app-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.95);
}

.karriere-app-req {
    color: #fbbf24;
    font-weight: 800;
}

.karriere-app-input,
.karriere-app-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    color: #f1f5f9;
    background: rgba(8, 10, 18, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.karriere-app-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.55;
}

.karriere-app-input::placeholder,
.karriere-app-textarea::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

.karriere-app-input:hover,
.karriere-app-textarea:hover {
    border-color: rgba(245, 176, 65, 0.25);
}

.karriere-app-input:focus,
.karriere-app-textarea:focus {
    outline: none;
    border-color: rgba(245, 176, 65, 0.75);
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.2), 0 0 28px rgba(245, 176, 65, 0.12);
    background: rgba(10, 12, 22, 0.85);
}

body.light-mode .karriere-app-input,
body.light-mode .karriere-app-textarea {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(148, 163, 184, 0.35);
}

body.light-mode .karriere-app-input:focus,
body.light-mode .karriere-app-textarea:focus {
    border-color: rgba(217, 119, 6, 0.65);
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.22);
}

.karriere-app-uploads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.5vw, 22px);
    margin-top: 4px;
    align-items: stretch;
}

.karriere-app-upload {
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(8, 10, 18, 0.45);
    border: 1px solid rgba(245, 176, 65, 0.15);
}

body.light-mode .karriere-app-upload {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(245, 176, 65, 0.2);
}

.karriere-app-upload__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5d78a;
    margin-bottom: 6px;
}

body.light-mode .karriere-app-upload__label {
    color: #b45309;
}

.karriere-app-upload__hint {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.9);
    min-height: calc(0.82rem * 1.45 * 6);
    flex: 0 0 auto;
}

.karriere-app-upload__footer {
    margin-top: auto;
    padding-top: 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.light-mode .karriere-app-upload__hint {
    color: #64748b;
}

.karriere-app-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5b041;
    cursor: pointer;
    background: rgba(245, 176, 65, 0.1);
    border: 1px dashed rgba(245, 176, 65, 0.45);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.karriere-app-upload-btn:hover {
    background: rgba(245, 176, 65, 0.18);
    border-color: rgba(245, 176, 65, 0.65);
    transform: translateY(-1px);
}

.karriere-app-upload-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.25);
}

.karriere-app-upload-btn--secondary {
    color: #f5b041;
    border-color: rgba(245, 176, 65, 0.45);
    background: rgba(245, 176, 65, 0.1);
    border-style: dashed;
}

.karriere-app-upload-btn--secondary:hover {
    color: #f5b041;
    border-color: rgba(245, 176, 65, 0.65);
    background: rgba(245, 176, 65, 0.18);
}

.karriere-app-upload-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.karriere-app-upload-actions--single .karriere-app-upload-btn {
    width: 100%;
}

.karriere-app-upload-actions .karriere-app-upload-btn {
    flex: 1;
    min-width: 0;
    width: auto;
}

.karriere-app-upload-btn--folder {
    border-style: dashed;
    border-color: rgba(245, 176, 65, 0.45);
    color: #f5b041;
    background: rgba(245, 176, 65, 0.1);
}

.karriere-app-upload-btn--folder:hover {
    color: #f5b041;
    border-color: rgba(245, 176, 65, 0.65);
    background: rgba(245, 176, 65, 0.18);
}

.karriere-docs-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
}

.karriere-docs-preview[hidden] {
    display: none !important;
}

.karriere-docs-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(6, 8, 14, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

body.light-mode .karriere-docs-preview-item {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(148, 163, 184, 0.28);
}

.karriere-docs-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.karriere-docs-doc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #f5b041;
    font-size: 1.2rem;
}

.karriere-docs-meta {
    flex: 1;
    min-width: 0;
}

.karriere-docs-name {
    font-size: 0.8rem;
    font-weight: 600;
    word-break: break-word;
    color: rgba(226, 232, 240, 0.95);
}

body.light-mode .karriere-docs-name {
    color: #0f172a;
}

.karriere-docs-size {
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.95);
    margin-top: 2px;
}

.karriere-docs-remove {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.karriere-docs-remove:hover {
    background: #c0392b;
    transform: scale(1.06);
}

.karriere-docs-total {
    margin: 8px 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(148, 163, 184, 0.95);
}

.karriere-docs-total[hidden] {
    display: none !important;
}

body.light-mode .karriere-docs-total {
    color: #64748b;
}

.karriere-app-field--gdpr {
    margin-top: 6px;
}

.karriere-app-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(203, 213, 225, 0.92);
    cursor: pointer;
}

.karriere-app-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #f5b041;
    cursor: pointer;
}

.karriere-app-checkbox a {
    color: #f5b041;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.light-mode .karriere-app-checkbox {
    color: #475569;
}

.karriere-app-submit {
    margin-top: 10px;
    width: 100%;
    padding: 18px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a0c15;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, #fce8a6 0%, #f5b041 42%, #c97f16 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 12px 36px rgba(0, 0, 0, 0.35),
        0 0 32px rgba(245, 176, 65, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.karriere-app-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 18px 48px rgba(0, 0, 0, 0.4),
        0 0 48px rgba(245, 176, 65, 0.45);
}

.karriere-app-submit:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(245, 176, 65, 0.35),
        0 18px 48px rgba(0, 0, 0, 0.4),
        0 0 48px rgba(245, 176, 65, 0.45);
}

.karriere-app-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Karriere form: mobile-first touch targets (16px+ inputs reduce iOS zoom) */
@media (max-width: 768px) {
    .karriere-form-container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    .karriere-app-form-wrap {
        padding: clamp(22px, 5vw, 36px) clamp(16px, 4vw, 24px);
    }
    .karriere-app-form {
        gap: 20px;
    }
    .karriere-app-input,
    .karriere-app-textarea {
        min-height: 52px;
        padding: 16px 18px;
        font-size: 16px;
    }
    .karriere-app-textarea {
        min-height: 140px;
    }
    .karriere-app-upload-btn {
        min-height: 54px;
        padding: 16px 20px;
        font-size: 0.8rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .karriere-app-submit {
        min-height: 56px;
        padding: 20px 24px;
        font-size: 1rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .karriere-app-checkbox input {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
    .karriere-form-success__again {
        min-height: 48px;
        padding: 14px 20px;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .karriere-app-uploads {
        gap: 8px;
    }
    .karriere-app-upload {
        padding: 14px 10px;
    }
    .karriere-app-upload__hint {
        font-size: 0.76rem;
        min-height: calc(0.76rem * 1.45 * 5);
    }
    .karriere-app-upload-btn {
        font-size: 0.62rem;
        padding: 12px 6px;
        letter-spacing: 0.05em;
        gap: 4px;
    }
}

@media (max-width: 360px) {
    .karriere-app-uploads {
        grid-template-columns: 1fr;
    }
}

.page-karriere .karriere-main-section {
    padding-top: clamp(56px, 9vw, 96px);
    padding-bottom: clamp(88px, 12vw, 120px);
}

.karriere-main-container {
    display: flex;
    justify-content: center;
}

.karriere-glass-panel {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 56px) clamp(28px, 4vw, 44px);
    text-align: center;
    border-radius: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(20, 25, 40, 0.62);
    border: 1px solid rgba(245, 176, 65, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 70px rgba(0, 0, 0, 0.38),
        0 0 48px rgba(245, 176, 65, 0.08);
}

body.light-mode .karriere-glass-panel {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(245, 176, 65, 0.28);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06) inset,
        0 24px 60px rgba(15, 23, 42, 0.1);
}

.karriere-lead-icon {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: #f5b041;
    filter: drop-shadow(0 0 18px rgba(245, 176, 65, 0.45));
}

.karriere-panel-heading {
    margin: 0 0 clamp(14px, 2vw, 20px);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f1f5f9;
}

body.light-mode .karriere-panel-heading {
    color: #0f172a;
}

.karriere-subheading {
    margin: 0 0 clamp(12px, 2vw, 16px);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 800;
    color: #f5b041;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.karriere-panel-text {
    margin: 0 auto;
    max-width: 46rem;
    font-size: clamp(1.02rem, 2vw, 1.12rem);
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.95);
}

.karriere-panel-text--narrow {
    max-width: 40rem;
}

body.light-mode .karriere-panel-text {
    color: #475569;
}

.karriere-panel-divider {
    margin: clamp(28px, 4vw, 40px) auto;
    max-width: 12rem;
    border: none;
    border-top: 1px solid rgba(245, 176, 65, 0.28);
}

.karriere-mail-wrap {
    margin: clamp(18px, 3vw, 26px) 0;
}

.karriere-mail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.1rem);
    text-decoration: none;
    color: #0a0c15;
    background: linear-gradient(135deg, #fce8a6 0%, #f5b041 45%, #d4922a 100%);
    border: 1px solid rgba(245, 176, 65, 0.45);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.karriere-mail-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(245, 176, 65, 0.25);
}

.karriere-panel-note {
    margin: clamp(20px, 3vw, 28px) auto 0;
    max-width: 38rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(148, 163, 184, 0.95);
}

body.light-mode .karriere-panel-note {
    color: #64748b;
}

.hero-projects{background-image:linear-gradient(90deg,rgba(10,12,21,.95) 0%,rgba(10,12,21,.80) 35%,rgba(10,12,21,.55) 100%),url("../images/hero-electric.jpg");background-position:center center;}

/* Projekte & Leistungen: „Unser Vorgehen“ — floating card under hero */
.page-projekte .projects-vorgehen-section,
.page-leistungen .projects-vorgehen-section {
    position: relative;
    z-index: 5;
    margin-top: -76px;
    padding: 0 5% clamp(28px, 4vw, 44px);
    margin-bottom: clamp(20px, 3vw, 36px);
}

.page-projekte .projects-vorgehen-card,
.page-leistungen .projects-vorgehen-card {
    cursor: default;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 52px) clamp(22px, 3.5vw, 44px) clamp(40px, 5vw, 56px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(245, 176, 65, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(14, 18, 32, 0.96) 0%, rgba(7, 10, 18, 0.98) 100%);
    border: 1px solid rgba(245, 176, 65, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 72px rgba(0, 0, 0, 0.48),
        0 0 48px rgba(245, 176, 65, 0.06);
}

body.light-mode.page-projekte .projects-vorgehen-card,
body.light-mode.page-leistungen .projects-vorgehen-card {
    background:
        radial-gradient(circle at 18% 0%, rgba(245, 176, 65, 0.12), transparent 42%),
        linear-gradient(180deg, #0f141f 0%, #070a12 100%);
    border-color: rgba(245, 176, 65, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 28px 70px rgba(15, 23, 42, 0.2),
        0 0 40px rgba(245, 176, 65, 0.1);
}

.projects-vorgehen-title {
    margin: 0 0 14px;
    text-align: center;
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.projects-vorgehen-intro {
    margin: 0 auto;
    max-width: 52rem;
    text-align: center;
    font-size: clamp(0.98rem, 1.8vw, 1.1rem);
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.9);
}

.page-projekte .section-projects-list {
    padding-top: clamp(48px, 7vw, 88px);
}

/* Projekte: ehrliche Referenz-Seite (keine Scheinprojekte) */
.projects-honest-card {
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 40px) clamp(22px, 3.5vw, 36px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(245, 176, 65, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(17, 20, 31, 0.96) 0%, rgba(10, 12, 21, 0.98) 100%);
    border: 1px solid rgba(245, 176, 65, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 60px rgba(0, 0, 0, 0.45);
}
body.light-mode .projects-honest-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(245, 176, 65, 0.2);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
.projects-honest-eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 176, 65, 0.95);
}
.projects-honest-title {
    margin: 0 0 16px;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #f8fafc;
}
body.light-mode .projects-honest-title {
    color: #0f172a;
}
.projects-honest-lead,
.projects-honest-text {
    margin: 0 0 16px;
    font-size: clamp(0.98rem, 1.6vw, 1.06rem);
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.9);
}
body.light-mode .projects-honest-lead,
body.light-mode .projects-honest-text {
    color: #475569;
}
.projects-honest-lead strong,
.projects-honest-text strong {
    color: #f5d78a;
}
body.light-mode .projects-honest-lead strong,
body.light-mode .projects-honest-text strong {
    color: #b45309;
}
.projects-honest-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.projects-honest-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(241, 245, 249, 0.92);
}
body.light-mode .projects-honest-list li {
    color: #334155;
}
.projects-honest-list i {
    margin-top: 3px;
    color: #f5b041;
    flex-shrink: 0;
}
.projects-honest-services-intro {
    margin: clamp(36px, 5vw, 48px) auto 14px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(241, 245, 249, 0.88);
}
body.light-mode .projects-honest-services-intro {
    color: #334155;
}
.projects-honest-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    max-width: 52rem;
    margin: 0 auto 8px;
}
.projects-honest-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: #f1f5f9;
    border: 1px solid rgba(245, 176, 65, 0.35);
    background: rgba(10, 12, 21, 0.65);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.projects-honest-pill:hover {
    border-color: #f5b041;
    background: rgba(245, 176, 65, 0.1);
    color: #fff;
}
body.light-mode .projects-honest-pill {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(245, 176, 65, 0.45);
}
body.light-mode .projects-honest-pill:hover {
    background: rgba(255, 251, 243, 0.95);
    border-color: #d97706;
}
.projects-honest-pill i {
    color: #f5b041;
    font-size: 0.95rem;
}
body.light-mode .projects-honest-pill i {
    color: #d97706;
}
.projects-honest-pill--all {
    border-color: rgba(245, 176, 65, 0.55);
    background: rgba(245, 176, 65, 0.12);
}
body.light-mode .projects-honest-pill--all {
    background: rgba(245, 176, 65, 0.14);
}

/* Projekte: CTA row — spacing (especially stacked on mobile) */
.projects-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .projects-cta-actions {
        flex-direction: column;
        gap: 18px;
        margin-top: 40px;
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .projects-cta-actions .btn,
    .projects-cta-actions .btn-call {
        width: 100%;
        max-width: 22rem;
        justify-content: center;
        margin-left: 0;
    }
}

.projects-vorgehen-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(26px, 4vw, 32px);
    margin-top: clamp(32px, 5vw, 44px);
}

.projects-vorgehen-dash {
    display: none;
}

.projects-vorgehen-step {
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
}

.projects-vorgehen-circle {
    width: clamp(76px, 14vw, 92px);
    height: clamp(76px, 14vw, 92px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 3.2vw, 1.95rem);
    color: #0f172a;
    background: linear-gradient(155deg, #e8c56a 0%, #c9972c 38%, #9a6f16 100%);
    border: 2px solid rgba(255, 248, 220, 0.35);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.12) inset,
        0 10px 28px rgba(0, 0, 0, 0.28);
}

.projects-vorgehen-step-label {
    margin: 0;
    font-size: clamp(0.88rem, 1.6vw, 0.98rem);
    font-weight: 600;
    line-height: 1.45;
    color: rgba(241, 245, 249, 0.94);
}

/* Projekte: „Unser Vorgehen“ — premium staggered entry (triggered via IntersectionObserver) */
.projects-vorgehen-card .projects-vorgehen-step {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.projects-vorgehen-card.is-inview .projects-vorgehen-step {
    opacity: 1;
    transform: translateY(0);
}
.projects-vorgehen-card .projects-vorgehen-dash {
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: left center;
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.projects-vorgehen-card.is-inview .projects-vorgehen-dash {
    opacity: 0.95;
    transform: scaleX(1);
}
.projects-vorgehen-card .projects-vorgehen-step:nth-of-type(1) { transition-delay: 0s; }
.projects-vorgehen-card .projects-vorgehen-step:nth-of-type(2) { transition-delay: 0.4s; }
.projects-vorgehen-card .projects-vorgehen-step:nth-of-type(3) { transition-delay: 0.8s; }
.projects-vorgehen-card .projects-vorgehen-step:nth-of-type(4) { transition-delay: 1.2s; }
.projects-vorgehen-card .projects-vorgehen-step:nth-of-type(5) { transition-delay: 1.6s; }
.projects-vorgehen-card .projects-vorgehen-dash:nth-of-type(1) { transition-delay: 0.2s; }
.projects-vorgehen-card .projects-vorgehen-dash:nth-of-type(2) { transition-delay: 0.6s; }
.projects-vorgehen-card .projects-vorgehen-dash:nth-of-type(3) { transition-delay: 1.0s; }
.projects-vorgehen-card .projects-vorgehen-dash:nth-of-type(4) { transition-delay: 1.4s; }

/* Unser Vorgehen — Tablet/Mobile: same rhythm as hero (left-aligned), steps as icon + label rows */
@media (max-width: 1023px) {
    .page-projekte .projects-vorgehen-section,
    .page-leistungen .projects-vorgehen-section {
        overflow-x: clip;
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
    }

    .projects-vorgehen-title {
        text-align: left;
    }

    .projects-vorgehen-intro {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .projects-vorgehen-row {
        align-items: stretch;
    }

    .projects-vorgehen-step {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        max-width: none;
        width: 100%;
        gap: clamp(14px, 4vw, 22px);
    }

    .projects-vorgehen-circle {
        margin-bottom: 0;
    }

    .projects-vorgehen-step-label {
        text-align: left;
        flex: 1;
        min-width: 0;
    }
}

@media (min-width: 1024px) {
    .page-projekte .projects-vorgehen-section,
    .page-leistungen .projects-vorgehen-section {
        margin-top: -80px;
    }

    .projects-vorgehen-row {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
    }

    .projects-vorgehen-dash {
        display: block;
        flex: 1 1 12px;
        min-width: 10px;
        max-width: 72px;
        height: 0;
        margin-top: calc(clamp(76px, 14vw, 92px) / 2 - 1px);
        border: none;
        border-top: 2px dotted rgba(245, 176, 65, 0.42);
        align-self: flex-start;
        opacity: 0.95;
    }

    .projects-vorgehen-step {
        flex: 0 0 auto;
        width: 17%;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 520px) {
    .page-projekte .projects-vorgehen-section,
    .page-leistungen .projects-vorgehen-section {
        margin-top: -40px;
    }

    .page-projekte .projects-vorgehen-card,
    .page-leistungen .projects-vorgehen-card {
        padding-left: max(16px, 4vw, env(safe-area-inset-left));
        padding-right: max(16px, 4vw, env(safe-area-inset-right));
    }
}

.hero-contact{background-image:linear-gradient(90deg,rgba(10,12,21,.95) 0%,rgba(10,12,21,.80) 35%,rgba(10,12,21,.55) 100%),url("../images/booking.jpg");background-position:center center;}

.heitec-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 35% 60%,rgba(245,176,65,.20),transparent 45%);z-index:1;pointer-events:none}
.heitec-hero-content{position:relative;z-index:2;max-width:850px}.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin:28px 0 35px}
.booking-visual{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:rgba(10,12,21,0.75);padding:35px;border-radius:30px;box-shadow:0 30px 80px rgba(0,0,0,0.2);margin-bottom:45px}
.booking-visual img{width:100%;border-radius:28px;object-fit:cover;min-height:340px}
.booking-visual h2{font-size:2.05rem;margin-bottom:18px}
.booking-visual p{color:#cbd5e1;line-height:1.8;max-width:560px}
@media(max-width:992px){.booking-visual{grid-template-columns:1fr}.booking-visual img{min-height:240px}}
.service-circles{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:34px;justify-content:flex-start;align-items:flex-start}
.service-circle{width:108px;height:108px;border-radius:50%;background:#F5B041;color:#0A0C15;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:0.88rem;text-transform:none;letter-spacing:0.2px;text-decoration:none;border:1px solid rgba(255,255,255,0.22);box-shadow:0 18px 42px rgba(245,176,65,0.22), inset 0 0 0 1px rgba(255,255,255,0.08);transition:all 0.35s cubic-bezier(0.34,1.56,0.64,1);position:relative;overflow:hidden}
.service-circle::after{content:"↑";position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);font-size:2rem;color:rgba(10,12,21,0.45);font-weight:900;transition:all 0.35s cubic-bezier(0.34,1.56,0.64,1);z-index:1}
.service-circle i{font-size:1.95rem;color:#0A0C15;z-index:2;position:relative}
.service-circle span{z-index:2;position:relative;line-height:1.15;text-align:center;font-size:0.9rem;padding:0 10px}
.service-circle:hover{transform:translateY(-6px) scale(1.05);box-shadow:0 24px 70px rgba(245,176,65,0.30),inset 0 1px 0 rgba(255,255,255,0.35);border-color:rgba(255,255,255,0.40)}
.service-circle:hover::after{bottom:15px;animation:arrowBounce 0.6s ease-in-out infinite}
body.light-mode .service-circle{background:#F5B041;color:#0A0C15;border-color:rgba(10,12,21,0.12)}
body.light-mode .service-circle:hover{border-color:rgba(10,12,21,0.22)}
@keyframes arrowBounce{0%,100%{bottom:15px;opacity:1}50%{bottom:25px;opacity:0.8}}
.service-circle.service-circle--emergency{background:linear-gradient(135deg,#E74C3C,#C0392B);border-color:#FF7961;box-shadow:0 15px 55px rgba(231,76,60,0.35),inset 0 1px 0 rgba(255,255,255,0.2)}
.service-circle.service-circle--emergency:hover{box-shadow:0 22px 80px rgba(231,76,60,0.45),inset 0 1px 0 rgba(255,255,255,0.25)}
.service-circle.service-circle--emergency,
.service-circle.service-circle--emergency i{color:#fff}
.service-circle.service-circle--emergency::after{color:rgba(255,255,255,0.55)}
.service-circle.service-circle--more{width:140px;height:140px;cursor:pointer}
.service-circle.service-circle--more .circle-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;position:relative;z-index:2}
.service-more-menu{position:absolute;left:50%;top:120%;transform:translateX(-50%) translateY(-10px);background:rgba(10,12,21,0.95);color:#F1F5F9;min-width:220px;border-radius:24px;padding:18px 0;box-shadow:0 25px 65px rgba(0,0,0,0.32);opacity:0;visibility:hidden;pointer-events:none;transition:all .25s ease}
.service-more-menu::before{content:"";position:absolute;top:-10px;left:50%;transform:translateX(-50%);width:18px;height:18px;background:rgba(10,12,21,0.95);transform:translateX(-50%) rotate(45deg);z-index:0}
.service-more-menu a{display:block;padding:12px 20px;color:#fff;text-decoration:none;font-weight:600;transition:background .25s ease}
.service-more-menu a:hover{background:rgba(245,176,65,0.14)}
.service-circle.service-circle--more:hover .service-more-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.service-offers{position:relative;z-index:5;margin-top:-72px;padding:0 5% 85px}

.offer-list{
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.offer-card{
    min-height: 260px;
    position: relative;
    border-radius: 28px;
    padding: 40px 40px 44px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease, background 320ms ease;
    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

body .offer-card{
    background: rgba(15, 19, 33, 0.55);
    border: 1px solid rgba(245, 176, 65, 0.18);
    color: #F1F5F9;
}

body.light-mode .offer-card{
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(245, 176, 65, 0.14);
    color: #1E293B;
}

.offer-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(245, 176, 65, 0.14), transparent 55%);
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
}

.offer-card:hover{
    transform: translateY(-8px);
    border-color: rgba(245, 176, 65, 0.55);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(245, 176, 65, 0.14),
        0 0 32px rgba(245, 176, 65, 0.14);
}

.offer-card:hover::before{
    opacity: 1;
}

.offer-icon{
    font-size: 4.2rem;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #F5B041, #FFD15C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 14px 26px rgba(245, 176, 65, 0.12));
}

.offer-card h3{
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.25px;
    margin: 0;
    color: inherit;
}

body .offer-card h3{
    color: #FFFFFF;
}

body.light-mode .offer-card h3{
    color: #0F172A;
}

.offer-card p{
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.75;
    font-size: 0.98rem;
    max-width: 40ch;
}

body.light-mode .offer-card p{
    color: rgba(71, 85, 105, 0.88);
}

.offer-arrow{
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(10, 12, 21, 0.52);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
}

body.light-mode .offer-arrow{
    background: rgba(255, 255, 255, 0.55);
    color: #0F172A;
    border-color: rgba(15, 23, 42, 0.10);
}

.offer-card:hover .offer-arrow{
    transform: translateX(2px) translateY(-2px);
    background: rgba(245, 176, 65, 0.92);
    color: #0A0C15;
    border-color: rgba(245, 176, 65, 0.65);
}

/* Services grid responsiveness */
@media (max-width: 1100px){
    .offer-list{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 640px){
    .offer-list{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .offer-card{
        padding: 34px 26px 40px;
        min-height: 240px;
    }
    .offer-icon{
        font-size: 3.6rem;
    }
}
.service-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: clamp(22px, 3vw, 34px);
    margin-top: clamp(48px, 6vw, 76px);
}

.service-highlights > .highlight-card {
    cursor: default;
}

@media (max-width: 720px) {
    .service-highlights {
        grid-template-columns: 1fr;
    }
}

.highlight-card {
    background: rgba(20, 25, 40, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 176, 65, 0.18);
    border-radius: 30px;
    padding: 35px;
}

body.light-mode .highlight-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(245, 176, 65, 0.12);
}

.highlight-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #f5b041;
}

.highlight-card p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.highlight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-card li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    color: #e2e8f0;
    line-height: 1.8;
}

.highlight-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: #f5b041;
}

.highlight-card .btn {
    margin-top: 20px;
}

a.highlight-card.highlight-card--link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    cursor: pointer;
    padding: 35px 35px 52px;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.38s ease;
}

a.highlight-card.highlight-card--link:visited {
    color: inherit;
}

a.highlight-card.highlight-card--link:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 176, 65, 0.45);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 40px rgba(245, 176, 65, 0.2);
}

body.light-mode a.highlight-card.highlight-card--link:hover {
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 0 36px rgba(245, 176, 65, 0.14);
}

a.highlight-card.highlight-card--link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 176, 65, 0.45);
}

a.highlight-card.highlight-card--link::after {
    content: "\2192";
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 22px;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    color: #f5b041;
    text-shadow: 0 0 18px rgba(245, 176, 65, 0.45);
    opacity: 0;
    transform: translate(12px, 8px) scale(0.88);
    transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

a.highlight-card.highlight-card--link:hover::after,
a.highlight-card.highlight-card--link:focus-visible::after {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.electric-cta {
    margin-top: 45px;
    padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 40px);
    border-radius: 28px;
    display: grid;
    gap: clamp(20px, 3vw, 28px);
    background: rgba(12, 14, 24, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(245, 176, 65, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 60px rgba(0, 0, 0, 0.35);
}
body.light-mode .electric-cta {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(245, 176, 65, 0.2);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
.electric-cta h3 {
    font-size: clamp(1.55rem, 3.2vw, 2rem);
    margin: 0;
    line-height: 1.25;
    color: #fff;
}
body.light-mode .electric-cta h3 {
    color: #0a0c15;
}
.electric-cta__lead,
.electric-cta p.electric-cta__lead {
    margin: 0;
    max-width: 42rem;
    color: #cbd5e1;
    line-height: 1.75;
    font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}
body.light-mode .electric-cta__lead,
body.light-mode .electric-cta p.electric-cta__lead {
    color: #475569;
}
.electric-cta p:not(.electric-cta__lead) {
    color: #cbd5e1;
    line-height: 1.8;
    max-width: 760px;
}
body.light-mode .electric-cta p:not(.electric-cta__lead) {
    color: #475569;
}
.electric-cta-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    width: 100%;
}
.electric-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 132px;
    padding: 22px 16px;
    border-radius: 18px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.electric-cta-card--emergency {
    background: linear-gradient(160deg, rgba(185, 28, 28, 0.35), rgba(127, 29, 29, 0.55));
    border: 2px solid rgba(248, 113, 113, 0.85);
    box-shadow:
        0 0 0 1px rgba(254, 202, 202, 0.12) inset,
        0 12px 32px rgba(0, 0, 0, 0.35);
}
.electric-cta-card--emergency:hover {
    transform: translateY(-4px);
    border-color: #fecaca;
    box-shadow:
        0 0 0 1px rgba(254, 202, 202, 0.2) inset,
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(248, 113, 113, 0.35);
}
body.light-mode .electric-cta-card--emergency {
    background: linear-gradient(160deg, rgba(254, 226, 226, 0.95), rgba(252, 165, 165, 0.45));
    border-color: #dc2626;
}
.electric-cta-card--gold {
    background: rgba(8, 10, 18, 0.75);
    border: 1px solid rgba(245, 176, 65, 0.45);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.08) inset,
        0 10px 28px rgba(0, 0, 0, 0.3);
}
.electric-cta-card--gold:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 209, 92, 0.75);
    box-shadow:
        0 0 0 1px rgba(245, 176, 65, 0.15) inset,
        0 14px 36px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(245, 176, 65, 0.2);
}
body.light-mode .electric-cta-card--gold {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(245, 176, 65, 0.42);
}
.electric-cta-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.35rem;
}
.electric-cta-card--emergency .electric-cta-card__icon {
    background: rgba(0, 0, 0, 0.2);
    color: #fecaca;
}
.electric-cta-card--gold .electric-cta-card__icon {
    background: rgba(245, 176, 65, 0.12);
    color: #f5b041;
}
body.light-mode .electric-cta-card--emergency .electric-cta-card__icon {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}
body.light-mode .electric-cta-card--gold .electric-cta-card__icon {
    background: rgba(245, 176, 65, 0.15);
    color: #d97706;
}
.electric-cta-card__title {
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: #f8fafc;
}
.electric-cta-card--emergency .electric-cta-card__title {
    color: #fff5f5;
}
body.light-mode .electric-cta-card__title {
    color: #0f172a;
}
body.light-mode .electric-cta-card--emergency .electric-cta-card__title {
    color: #7f1d1d;
}
.electric-cta .cta-buttons,
.electric-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}
.electric-cta .electric-cta__btn,
.electric-cta__actions .electric-cta__btn {
    padding: 16px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 768px) {
    .electric-cta {
        padding: 26px 20px;
    }
    .electric-cta-cards {
        grid-template-columns: 1fr;
    }
    .electric-cta .cta-buttons,
    .electric-cta__actions {
        flex-direction: column;
        width: 100%;
    }
    .electric-cta .electric-cta__btn,
    .electric-cta__actions .electric-cta__btn {
        width: 100%;
    }
}

/* Contact: executive Elektrohilfe — centered copy, circular Notdienst, flanking CTAs */
.electric-cta--executive {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(28px, 4vw, 40px);
}

.electric-cta__header--center {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
}

.electric-cta__header--center .electric-cta__lead {
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
}

.electric-cta-executive__layout {
    display: grid;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    align-items: center;
    gap: clamp(20px, 3.5vw, 40px);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "orb orb"
        "left right";
    justify-items: stretch;
}

.electric-cta-executive__btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    font-weight: 700;
    white-space: nowrap;
}

.electric-cta-executive__btn--left {
    grid-area: left;
}

.electric-cta-executive__btn--right {
    grid-area: right;
}

.electric-cta-orb {
    grid-area: orb;
    position: relative;
    justify-self: center;
    width: clamp(208px, 32vw, 280px);
    height: clamp(208px, 32vw, 280px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: radial-gradient(circle at 32% 28%, #f87171 0%, #b91c1c 42%, #7f1d1d 72%, #450a0a 100%);
    border: 3px solid rgba(254, 202, 202, 0.55);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25) inset,
        0 0 48px rgba(239, 68, 68, 0.55),
        0 0 80px rgba(220, 38, 38, 0.28),
        0 22px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.electric-cta-orb:hover {
    transform: scale(1.04);
    border-color: rgba(254, 226, 226, 0.9);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25) inset,
        0 0 64px rgba(248, 113, 113, 0.75),
        0 0 100px rgba(239, 68, 68, 0.35),
        0 26px 56px rgba(0, 0, 0, 0.5);
}

.electric-cta-orb:focus-visible {
    outline: none;
    border-color: #fef08a;
    box-shadow:
        0 0 0 3px rgba(250, 204, 21, 0.45),
        0 0 48px rgba(239, 68, 68, 0.55),
        0 22px 50px rgba(0, 0, 0, 0.45);
}

.electric-cta-orb__pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(248, 113, 113, 0.45);
    animation: electric-cta-orb-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes electric-cta-orb-pulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

.electric-cta-orb__core {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
}

.electric-cta-orb__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.65rem;
    background: rgba(0, 0, 0, 0.22);
    color: #fecaca;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.electric-cta-orb__title {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

body.light-mode .electric-cta-orb {
    background: radial-gradient(circle at 32% 28%, #fca5a5 0%, #ef4444 38%, #b91c1c 72%, #7f1d1d 100%);
    border-color: rgba(185, 28, 28, 0.65);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 40px rgba(220, 38, 38, 0.4),
        0 18px 44px rgba(15, 23, 42, 0.12);
}

body.light-mode .electric-cta-orb__icon {
    background: rgba(127, 29, 29, 0.35);
    color: #fff;
}

@media (min-width: 800px) {
    .electric-cta-executive__layout {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-rows: auto;
        grid-template-areas: "left orb right";
        gap: clamp(24px, 4vw, 48px);
    }

    .electric-cta-executive__btn--left {
        justify-self: end;
    }

    .electric-cta-executive__btn--right {
        justify-self: start;
    }

    .electric-cta-executive__btn {
        min-width: 200px;
    }
}

@media (max-width: 799px) {
    .electric-cta-executive__layout {
        gap: 22px 14px;
    }
}

@media (max-width: 480px) {
    .electric-cta-executive__btn {
        white-space: normal;
        font-size: 0.92rem;
        padding: 14px 16px;
    }
}

/* Elektrohilfe: one clickable mega-card (Notdienst), orb as visual hero */
.electric-cta-executive__layout--solo {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "orb";
    justify-items: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

a.electric-cta.electric-cta--mega-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.38s ease;
}

a.electric-cta.electric-cta--mega-card:visited {
    color: inherit;
}

a.electric-cta.electric-cta--mega-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 176, 65, 0.58);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 70px rgba(0, 0, 0, 0.42),
        0 0 44px rgba(245, 176, 65, 0.22);
}

body.light-mode a.electric-cta.electric-cta--mega-card:hover {
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(245, 176, 65, 0.32),
        0 0 40px rgba(245, 176, 65, 0.16);
}

a.electric-cta.electric-cta--mega-card:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(245, 176, 65, 0.45),
        0 22px 55px rgba(0, 0, 0, 0.38);
}

a.electric-cta.electric-cta--mega-card::after {
    content: "\2192";
    position: absolute;
    z-index: 3;
    right: 26px;
    bottom: 22px;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    color: #f5b041;
    text-shadow: 0 0 20px rgba(245, 176, 65, 0.5);
    opacity: 0;
    transform: translate(14px, 10px) scale(0.88);
    transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

a.electric-cta.electric-cta--mega-card:hover::after,
a.electric-cta.electric-cta--mega-card:focus-visible::after {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.electric-cta--mega-card .electric-cta-orb--inert {
    pointer-events: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

a.electric-cta--mega-card:hover .electric-cta-orb--inert,
a.electric-cta--mega-card:focus-visible .electric-cta-orb--inert {
    transform: scale(1.035);
    border-color: rgba(254, 226, 226, 0.95);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25) inset,
        0 0 52px rgba(248, 113, 113, 0.55),
        0 0 72px rgba(245, 176, 65, 0.18),
        0 22px 50px rgba(0, 0, 0, 0.48);
}

/* ----- Service detail heroes (Leistungsseiten): premium type + thematic backdrop ----- */
.hero.heitec-hero.service-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: clamp(360px, 52vh, 640px);
    padding: clamp(118px, 12vw, 152px) 6% clamp(44px, 6vw, 68px);
    overflow: hidden;
    background-image: linear-gradient(
        168deg,
        rgba(5, 7, 14, 0.97) 0%,
        rgba(10, 12, 21, 0.92) 42%,
        rgba(12, 18, 34, 0.94) 100%
    );
    background-size: cover;
    background-position: center;
}

.hero.heitec-hero.service-hero > .feature-badge,
.hero.heitec-hero.service-hero > h1,
.hero.heitec-hero.service-hero > p {
    position: relative;
    z-index: 2;
}

.hero.heitec-hero.service-hero > .feature-badge {
    margin-bottom: clamp(14px, 2.5vw, 22px);
    padding: 10px 22px;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(245, 176, 65, 0.12);
    border: 1px solid rgba(245, 176, 65, 0.38);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero.heitec-hero.service-hero > h1 {
    max-width: 18ch;
    margin: 0 auto clamp(16px, 2.2vw, 22px);
    font-size: clamp(2.05rem, 4.2vw + 0.45rem, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.038em;
    line-height: 1.1;
    text-wrap: balance;
    color: #f8fafc;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.35),
        0 12px 48px rgba(0, 0, 0, 0.45),
        0 28px 80px rgba(0, 0, 0, 0.35);
}

.hero.heitec-hero.service-hero > p {
    max-width: 42rem;
    margin: 0;
    font-size: clamp(1.02rem, 1.1vw + 0.55rem, 1.22rem);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.015em;
    color: rgba(226, 232, 240, 0.9);
}

.hero.heitec-hero.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.62;
    mix-blend-mode: normal;
}

.hero.heitec-hero.service-hero--netzwerk-it::before {
    background-image: radial-gradient(circle at 1px 1px, rgba(56, 189, 248, 0.2) 1px, transparent 1px),
        linear-gradient(115deg, rgba(14, 165, 233, 0.12) 0%, transparent 55%);
    background-size: 26px 26px, auto;
}

.hero.heitec-hero.service-hero--smart-home::before {
    background-image: radial-gradient(ellipse 90% 70% at 78% 12%, rgba(245, 176, 65, 0.18) 0%, transparent 52%),
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 52px,
            rgba(245, 176, 65, 0.045) 52px,
            rgba(245, 176, 65, 0.045) 53px
        );
}

.hero.heitec-hero.service-hero--sprechanlagen::before {
    background-image: repeating-linear-gradient(
            90deg,
            rgba(245, 176, 65, 0.07) 0 2px,
            transparent 2px 56px
        ),
        radial-gradient(circle at 50% 100%, rgba(245, 176, 65, 0.1) 0%, transparent 45%);
}

.hero.heitec-hero.service-hero--videoueberwachung::before {
    background-image: conic-gradient(from 210deg at 88% 8%, rgba(245, 176, 65, 0.14), transparent 42%),
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.35) 72%);
}

.hero.heitec-hero.service-hero--elektro-sanierung-wohnung::before {
    background-image: repeating-linear-gradient(
            58deg,
            rgba(251, 191, 36, 0.055),
            rgba(251, 191, 36, 0.055) 2px,
            transparent 2px,
            transparent 18px
        ),
        radial-gradient(circle at 12% 88%, rgba(234, 179, 8, 0.12) 0%, transparent 48%);
}

.hero.heitec-hero.service-hero--elektro-gewerbe::before {
    background-image: repeating-linear-gradient(
            180deg,
            rgba(148, 163, 184, 0.09) 0 1px,
            transparent 1px 24px
        ),
        linear-gradient(95deg, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

.hero.heitec-hero.service-hero--erstberatung::before {
    background-image: radial-gradient(ellipse 85% 60% at 50% -5%, rgba(245, 176, 65, 0.22) 0%, transparent 58%),
        radial-gradient(circle at 80% 80%, rgba(245, 176, 65, 0.08) 0%, transparent 40%);
}

.hero.heitec-hero.service-hero--herdanschluss::before {
    background-image: radial-gradient(circle at 18% 82%, rgba(245, 176, 65, 0.18) 0%, transparent 46%),
        radial-gradient(circle at 90% 22%, rgba(230, 126, 34, 0.14) 0%, transparent 42%),
        linear-gradient(125deg, rgba(251, 146, 60, 0.08) 0%, transparent 50%);
}

.hero.heitec-hero.service-hero--beleuchtung::before {
    background-image: radial-gradient(circle at 50% 118%, rgba(254, 243, 199, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 10% 30%, rgba(245, 176, 65, 0.1) 0%, transparent 38%),
        repeating-conic-gradient(from 0deg at 50% 120%, transparent 0deg 3deg, rgba(245, 176, 65, 0.035) 3deg 6deg);
}

.hero.heitec-hero.service-hero--ladestation::before {
    background-image: linear-gradient(108deg, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
        repeating-linear-gradient(
            -22deg,
            transparent,
            transparent 40px,
            rgba(45, 212, 191, 0.06) 40px,
            rgba(16, 185, 129, 0.06) 41px
        );
}

.hero.heitec-hero.service-hero--zaehlerkasten::before {
    background-image: linear-gradient(rgba(245, 176, 65, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 176, 65, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(245, 176, 65, 0.1) 0%, transparent 42%);
    background-size: 46px 46px, 46px 46px, auto;
}

body.light-mode .hero.heitec-hero.service-hero {
    background-image: linear-gradient(
        168deg,
        rgba(248, 250, 252, 0.98) 0%,
        rgba(226, 232, 240, 0.95) 100%
    );
}

body.light-mode .hero.heitec-hero.service-hero > h1 {
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.light-mode .hero.heitec-hero.service-hero > p {
    color: #475569;
}

body.light-mode .hero.heitec-hero.service-hero > .feature-badge {
    background: rgba(245, 176, 65, 0.14);
    border-color: rgba(217, 119, 6, 0.35);
    color: #b45309;
}

body.light-mode .hero.heitec-hero.service-hero::before {
    opacity: 0.45;
}

@media (max-width: 768px) {
    .hero.heitec-hero.service-hero {
        min-height: clamp(320px, 58vh, 520px);
        padding-top: clamp(130px, 22vw, 168px);
    }

    .hero.heitec-hero.service-hero > h1 {
        max-width: 100%;
    }
}

/* Home #angebote: space after highlight cards (mega Elektrohilfe CTA removed) */
#angebote .service-highlights {
    margin-bottom: clamp(28px, 4vw, 44px);
}

.electric-cta-section {
    margin-top: 50px;
}
.quick-estimate-card{backdrop-filter:blur(10px);border-radius:30px;padding:35px;background:rgba(20,25,40,.70);border:1px solid rgba(245,176,65,.2)}.quick-estimate-card h3{color:#F5B041;margin-bottom:22px;font-size:1.35rem}.quick-estimate-card label{display:block;margin:16px 0 8px;font-weight:600}.quick-estimate-card input, .quick-estimate-card select, .quick-estimate-card textarea{width:100%;padding:12px 16px;margin-bottom:14px;background:#11141F;color:#fff;border:1px solid #2A2F3F;border-radius:16px;font-size:0.95rem;transition:all 0.25s;font-family:inherit}.quick-estimate-card input:focus, .quick-estimate-card select:focus, .quick-estimate-card textarea:focus{outline:none;border-color:#F5B041;box-shadow:0 0 0 3px rgba(245,176,65,0.15)}.upload-area{border:2px dashed rgba(245,176,65,.45);border-radius:18px;padding:28px;text-align:center;cursor:pointer;color:#94A3B8;margin-bottom:18px}.upload-area i{font-size:2rem;color:#F5B041;margin-bottom:8px}.btn-full{width:100%;justify-content:center;margin-top:18px}.price-box{background:linear-gradient(135deg,#F5B041,#E67E22);color:#0A0C15;border-radius:20px;padding:18px;text-align:center;margin-top:18px}.price-box span{font-size:1.8rem;font-weight:900}.sub-hero{min-height:55vh;background-image:linear-gradient(90deg,rgba(10,12,21,.96),rgba(10,12,21,.70)),url("../images/hero-electric.jpg");background-size:cover;background-position:center}
@media(max-width:768px){.heitec-hero{padding-top:170px;background-size:cover;background-position:center center}.service-circles{justify-content:center;gap:14px;margin-bottom:26px}.service-circle{width:104px;height:104px;font-size:0.84rem}.service-circle i{font-size:1.7rem}.service-offers{margin-top:-55px}.offer-card{padding:34px;min-height:205px}.offer-icon{font-size:4rem}.offer-arrow{left:34px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%;justify-content:center}.service-more-menu{min-width:180px;left:50%;right:auto;top:120%;transform:translateX(-50%) translateY(0);}
.service-more-menu a{padding:10px 16px;font-size:0.95rem;}}

