:root {
    --primary: #111111;
    --white: #ffffff;
    --gray-light: #f5f5f7;
    --gray-text: #6e6e73;
    --accent: #d4af37;
    --orange: #e79153;
    --top-bar-height: 42px;
    --navbar-height: 90px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ================= TOP BAR ================= */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-bar-height);
    background: #1a1a1a;
    z-index: 200;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--transition), opacity var(--transition);
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.top-bar-item i {
    font-size: 14px;
    color: var(--orange);
    flex-shrink: 0;
}

.top-bar-item:hover {
    color: #ffffff;
}

.top-bar-item:hover i {
    color: #f0a96b;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: top var(--transition), box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: rgb(58, 58, 58);
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link,
.dropdown-toggle {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.nav-link:hover,
.dropdown-toggle:hover {
    color: var(--gray-text);
}

/* Dropdown Desktop */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(20px);
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--gray-light);
    padding-left: 28px;
}

/* ================= ANIMIRANI BURGER MENI ================= */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ================= MOBILE SIDEBAR ================= */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    border-bottom: 1px solid var(--gray-light);
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link,
.mobile-dropdown-toggle {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    margin-top: 15px;
    gap: 15px;
    border-left: 2px solid var(--gray-light);
}

.mobile-dropdown-menu a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================= SIDEBAR CTA ================= */
.sidebar-cta {
    margin-top: auto;
    padding: 24px 30px 32px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: var(--primary);
    color: var(--white);
}

.sidebar-cta-btn i {
    font-size: 18px;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.22);
}

.sidebar-cta-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(17, 17, 17, 0.15);
}

.sidebar-cta-secondary:hover {
    background: var(--gray-light);
    box-shadow: none;
    border-color: transparent;
}

/* ================= HERO SEKCIJA — PARALLAX + KEN BURNS ================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Parallax track — taller than 100vh so it can travel on scroll */
.hero-slider {
    position: absolute;
    top: -15%;
    /* Start shifted up */
    left: 0;
    width: 100%;
    height: 130%;
    /* Extra height = parallax travel room */
    z-index: 0;
    background-color: var(--primary);
    will-change: transform;
    transform: translateZ(0);
    /* Force GPU layer */
    transform-style: preserve-3d;
}

/* Each slide fills the oversized slider container */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    animation: kenBurnsFade 36s infinite linear;
    transform: translateZ(0);
}

/* Ubaci svoje URL-ove ovde */
.slide-1 {
    background-image: url('../../assets/img/back1.png');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('../../assets/img/parkettverlegung.png');
    animation-delay: 12s;
}

.slide-3 {
    background-image: url('../../assets/img/treppen-rodgau.jpg');
    animation-delay: 24s;
}

/* Bolesna animacija - Crossfade + Zoom */
@keyframes kenBurnsFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
        /* Brzo se pojavi */
    }

    28% {
        opacity: 1;
        /* Ostaje vidljivo do malo pred kraj svoje smene */
    }

    33% {
        opacity: 0;
        /* Bledi u trenutku kada sledeca slika krece (12. sekunda) */
        transform: scale(1.15);
        /* Povecava se za 15% tokom 12 sekundi */
    }

    100% {
        opacity: 0;
        transform: scale(1);
        /* Resetuje se nevidljiva za sledeci krug */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Rich multi-layer overlay: dark vignette + bottom gradient for text legibility */
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.15) 40%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    color: var(--white);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-secondary-text {
    display: block;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ================= LANG SWITCHER ================= */
.lang-switcher {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.lang-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lang-btn:hover {
    transform: scale(1.1);
}

.lang-dropdown {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.lang-dropdown a:hover {
    background: var(--gray-light);
}

/* =====================================================
   ARMIRANA FAB LOGIKA (NE BRIŠI !important)
   ===================================================== */
.contact-fab {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 9999 !important;
    /* Ovo ga drži iznad svega, čak i iznad cookie banera */
}

/* 1. DESKTOP PONAŠANJE (Ekrani veći od 992px) */
.fab-desktop {
    display: flex !important;
}

.fab-mobile {
    display: none !important;
}

/* 2. MOBILE PONAŠANJE (Ekrani manji od 992px) */
@media (max-width: 992px) {
    .fab-desktop {
        display: none !important;
    }

    .fab-mobile {
        display: flex !important;
    }
}

/* ================= PULSIRAJUĆE DUGME (FAB) ================= */
.contact-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Osnovno ponašanje - flexbox za centriranje ikonice */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    text-decoration: none;
    z-index: 1000;
    transition: transform var(--transition);
}

.contact-fab:hover {
    transform: scale(1.1) translateY(-5px);
}

/* DESKTOP (Email) - Vidljivo po defaultu */
.fab-desktop {
    background-color: #e79153;
    animation: pulse-orange 2s infinite;
}

/* MOBILE (WhatsApp) - Sakriveno po defaultu na velikom ekranu */
.fab-mobile {
    background-color: #25D366;
    display: none;
    animation: pulse-green 2s infinite;
}

/* Keyframes za pulsiranje (za svaki slučaj proveri da li ih imaš) */
@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 145, 83, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(231, 145, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 145, 83, 0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =====================================================
   WILLKOMMEN SECTION
   ===================================================== */
.welcome {
    background: #faf9f7;
    padding: 120px 0 0;
    overflow: hidden;
}

.welcome-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* ---- Scroll Reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Overline ---- */
.welcome-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 28px;
}

.overline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
    animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

/* ---- Main Headline ---- */
.welcome-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #0f0f0f;
    margin-bottom: 28px;
}

.welcome-heading em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
    position: relative;
    display: inline-block;
}

/* Wavy underline on the italic word */
.welcome-heading em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange) 0%, rgba(231, 145, 83, 0.2) 100%);
    border-radius: 2px;
}

/* ---- Body Text ---- */
.welcome-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    color: #4a4a4a;
    max-width: 460px;
    margin-bottom: 36px;
}

/* ---- Divider ---- */
.welcome-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 2px;
    margin-bottom: 36px;
}

/* Full-width pillars row — below the two-column welcome grid */
.welcome-pillars-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 60px 72px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 56px;
}

/* ---- Quality Pillars – 3-col desktop / stacked mobile ---- */
.quality-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 0;
    position: relative;
}

.quality-pillars::before {
    display: none;
}

.quality-pillar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 32px 24px 28px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.quality-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
}

.quality-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Icon wrapper with soft glow */
.qp-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quality-pillar:hover .qp-icon-wrap {
    transform: scale(1.08) rotate(-4deg);
}

.qp-icon {
    font-size: 30px;
    line-height: 1;
    display: block;
    position: relative;
    z-index: 1;
}

/* ---- Pillar 1: Amber / Warm Orange ---- */
.quality-pillar:nth-child(1)::before {
    background: linear-gradient(90deg, #e79153, #f0c070);
}

.quality-pillar:nth-child(1) .qp-icon-wrap {
    background: rgba(231, 145, 83, 0.12);
    box-shadow: 0 0 0 1px rgba(231, 145, 83, 0.18);
}

.quality-pillar:nth-child(1) .qp-icon {
    color: #d4762a;
}

.quality-pillar:nth-child(1) .qp-num {
    color: #d4762a;
}

/* ---- Pillar 2: Indigo / Premium Purple ---- */
.quality-pillar:nth-child(2)::before {
    background: linear-gradient(90deg, #7c5cfc, #a78bfa);
}

.quality-pillar:nth-child(2) .qp-icon-wrap {
    background: rgba(124, 92, 252, 0.1);
    box-shadow: 0 0 0 1px rgba(124, 92, 252, 0.15);
}

.quality-pillar:nth-child(2) .qp-icon {
    color: #6d4ef7;
}

.quality-pillar:nth-child(2) .qp-num {
    color: #6d4ef7;
}

/* ---- Pillar 3: Teal / Deep Green ---- */
.quality-pillar:nth-child(3)::before {
    background: linear-gradient(90deg, #0d9488, #34d399);
}

.quality-pillar:nth-child(3) .qp-icon-wrap {
    background: rgba(13, 148, 136, 0.1);
    box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.15);
}

.quality-pillar:nth-child(3) .qp-icon {
    color: #0a7a70;
}

.quality-pillar:nth-child(3) .qp-num {
    color: #0a7a70;
}

/* Remove stagger-only rule — not used on desktop */
.quality-pillar.qp--right {
    align-self: auto;
    align-items: flex-start;
    text-align: left;
}

.qp--right .qp-content span {
    margin-left: 0;
}



/* =====================================================
   UNSERE LEISTUNGEN — Card Slider
   ===================================================== */
.leistungen {
    background: #ffffff;
    padding: 100px 0 0;
    overflow: hidden;
}

/* Header row */
.leistungen-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
}

.leistungen-header-left {
    flex: 1;
}

.leistungen-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(42px, 4.5vw, 64px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: #0f0f0f;
    margin: 16px 0 14px;
}

.leistungen-heading em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
}

.leistungen-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #636363;
    line-height: 1.65;
    max-width: 440px;
}

/* Slider nav arrows */
.slider-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    padding-bottom: 4px;
}

.slider-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f5f4f2;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0f0f0f;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.slider-btn:hover {
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #ffffff;
    transform: scale(1.06);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Scrollable track */
.leistungen-track-wrap {
    padding-left: 60px;
    /* left-align with header */
    overflow: hidden;
    /* hide native scrollbar */
    cursor: grab;
}

.leistungen-track-wrap:active {
    cursor: grabbing;
}

.leistungen-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    padding-bottom: 60px;
    /* bottom breathing room */
    padding-right: 60px;
    user-select: none;
}

.leistungen-track::-webkit-scrollbar {
    display: none;
}

/* Individual service card */
.leist-card {
    flex-shrink: 0;
    width: 340px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.leist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13);
}

/* Card image area */
.leist-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.leist-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.leist-card:hover .leist-card-img img {
    transform: scale(1.06);
}

/* Category tag pill */
.leist-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 40px;
}

/* Card body */
.leist-card-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.leist-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.22em;
    color: var(--orange);
    opacity: 0.8;
    display: block;
    margin-bottom: 8px;
}

.leist-card-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f0f0f;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 10px;
}

.leist-card-body p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #636363;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.leist-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    transition: gap 0.3s ease;
}

.leist-link i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.leist-card:hover .leist-link {
    gap: 12px;
}

.leist-card:hover .leist-link i {
    transform: translateX(3px);
}

/* ---- Dual CTA ---- */
.welcome-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 12px;
    padding: 15px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.welcome-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Primary — solid dark */
.welcome-btn--primary {
    background: #0f0f0f;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 15, 15, 0.18);
}

.welcome-btn--primary:hover {
    background: var(--orange);
    box-shadow: 0 8px 28px rgba(231, 145, 83, 0.4);
    transform: translateY(-2px);
}

.welcome-btn--primary:hover i {
    transform: translateX(3px) rotate(-20deg);
}

/* Ghost — outlined */
.welcome-btn--ghost {
    background: transparent;
    color: #0f0f0f;
    border-color: rgba(15, 15, 15, 0.2);
}

.welcome-btn--ghost:hover {
    border-color: #0f0f0f;
    background: #0f0f0f;
    color: #ffffff;
    transform: translateY(-2px);
}

.welcome-btn--ghost:hover i {
    transform: translateX(4px);
}

/* ---- Visual Column ---- */
.welcome-visual {
    position: relative;
    height: 560px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card:hover img {
    transform: scale(1.04);
}

.visual-card--main {
    top: 0;
    left: 0;
    width: 82%;
    height: 78%;
}

.visual-card--accent {
    bottom: 0;
    right: 0;
    width: 52%;
    height: 46%;
    border: 5px solid #faf9f7;
}

/* Floating badge */
.visual-badge {
    position: absolute;
    top: 50%;
    left: -28px;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

.visual-badge i {
    font-size: 28px;
    color: var(--orange);
    flex-shrink: 0;
}

.visual-badge span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.visual-badge strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
    display: block;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(-50%) translateY(0);
    }

    50% {
        transform: translateY(-50%) translateY(-8px);
    }
}

/* =====================================================
   MEDIA QUERIES ================= */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .top-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .navbar.scrolled {
        top: 0;
    }

    .nav-container {
        padding: 14px 20px;
    }

    .hero-title {
        font-size: 42px;
    }

    .logo-img {
        height: 50px;
    }

    .top-bar-container {
        gap: 16px;
        padding: 0 16px;
    }

    /* FAB LOGIKA ZA TELEFON */
    .fab-desktop {
        display: none !important;
        /* Gasi Email na telefonu */
    }

    .fab-mobile {
        display: flex !important;
        /* Pali WhatsApp na telefonu */
    }
}

/* =====================================================
   FAQ SECTION — Parallax & Accordion
   ===================================================== */
.faq-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #ffffff;
}

.faq-parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Bright modern architectural interior */
    background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* True CSS parallax */
    z-index: 0;
}

.faq-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.95) 100%);
    z-index: 1;
}

.faq-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(42px, 4.5vw, 64px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 16px 0 14px;
}

.faq-heading em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
}

.faq-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
}

.faq-question span {
    padding-right: 20px;
}

.faq-question i {
    font-size: 20px;
    color: var(--orange);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 32px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Turns plus into an X */
}

.faq-item.active .faq-answer {
    /* Set via JS dynamically, but we'll manage max-height via CSS class toggling if needed.
       For smooth animation without JS height calc, we use a max-height trick. */
    max-height: 500px;
}

/* =====================================================
   KONTAKT SECTION (HOME)
   ===================================================== */
.home-contact {
    background: #faf9f7;
    padding: 120px 0;
}

.home-contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hc-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    color: #0f0f0f;
    margin: 16px 0 20px;
}

.hc-heading em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
}

.hc-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #636363;
    line-height: 1.65;
    margin-bottom: 48px;
    max-width: 460px;
}

.hc-info-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hc-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.hc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(231, 145, 83, 0.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.hc-info-card strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f0f0f;
    display: block;
    margin-bottom: 4px;
}

.hc-info-card span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    color: #636363;
    line-height: 1.5;
    display: block;
}

/* Contact Form */
.hc-form {
    background: #ffffff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: #0f0f0f;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(231, 145, 83, 0.15);
}

.hc-form .welcome-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* =====================================================
   SERVICE PAGES COMPONENTS
   ===================================================== */

/* 1. Short Parallax Hero */
.service-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(15, 15, 15, 0.8) 100%);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    margin-top: 60px;
    /* offset for navbar */
}

.service-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 2. Service Content Section */
.service-details {
    padding: 100px 0;
    background: #ffffff;
}

.service-details-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.service-intro {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: #0f0f0f;
    margin-bottom: 40px;
}

.service-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #636363;
    margin-bottom: 24px;
}

.service-text strong {
    color: #0f0f0f;
    font-weight: 700;
}

/* 3. Service Gallery */
.service-gallery-section {
    padding: 0 0 120px;
    background: #ffffff;
}

.service-gallery-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 4. Pulsing Contact Buttons */
.pulsing-fab {
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 145, 83, 0.6);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(231, 145, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 145, 83, 0);
    }
}

/* WhatsApp Mobile Pulse (Green) */
.fab-mobile.pulsing-fab {
    animation: pulse-ring-wa 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    background: #25D366;
    /* WhatsApp Brand Color */
    color: white;
}

@keyframes pulse-ring-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* =====================================================
   FOOTER (RICH & DARK)
   ===================================================== */
.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 80px 0 32px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span,
.logo-icon-placeholder {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.logo-icon-placeholder i {
    font-size: 28px;
    color: var(--orange);
}

.footer-brand p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
}

.footer-links h4,
.footer-contact-info h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(4px);
}

.footer-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: var(--orange);
    font-size: 20px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* =====================================================
   RESPONSIVENESS (Media Queries)
   ===================================================== */
@media (max-width: 1100px) {
    .welcome-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }

    .welcome-visual {
        height: 420px;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .visual-badge {
        left: 0;
    }
}

@media (max-width: 768px) {
    .welcome {
        padding: 80px 0 100px;
    }

    .welcome-inner {
        padding: 0 24px;
    }

    .welcome-heading {
        font-size: clamp(38px, 10vw, 52px);
    }

    .quality-pillars::before {
        display: none;
    }

    .quality-pillars {
        grid-template-columns: 1fr;
        /* stack on tablet */
    }

    .qp-icon {
        font-size: 44px;
    }

    .welcome-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-btn {
        width: 100%;
        justify-content: center;
    }

    .welcome-visual {
        height: 360px;
    }
}

/* --- Leistungen responsive --- */
@media (max-width: 992px) {
    .leistungen-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px;
    }

    .leistungen-track-wrap {
        padding-left: 24px;
    }

    .leistungen-track {
        padding-right: 24px;
    }

    /* Footer & Contact Tablet */
    .home-contact-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .leistungen {
        padding-top: 72px;
    }

    .leist-card {
        width: 82vw;
    }

    .slider-nav {
        display: none;
    }

    /* touch scroll is enough */

    /* FAQ Mobile */
    .faq-section {
        padding: 80px 0;
    }

    .faq-container {
        padding: 0 24px;
    }

    .faq-question {
        padding: 20px 24px;
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 24px 24px;
    }

    /* Contact Mobile */
    .home-contact {
        padding: 80px 0;
    }

    .home-contact-inner {
        padding: 0 24px;
    }

    .hc-form {
        padding: 32px 24px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    /* Service Pages Mobile */
    .service-hero {
        min-height: 300px;
        height: 40vh;
    }

    .service-details {
        padding: 60px 0;
    }

    .service-details-inner {
        padding: 0 24px;
    }

    .service-intro {
        font-size: 18px;
    }

    .service-gallery-section {
        padding-bottom: 80px;
    }

    .service-gallery-inner {
        padding: 0 24px;
    }

    .service-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Footer Mobile */
    .footer-container {
        padding: 0 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .top-bar-item span {
        display: none;
    }

    .top-bar-item {
        gap: 0;
    }
}

/* Lighthouse Optimizations */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.logo-img {
    object-fit: contain;
}

/* Removed broken padding */
.contact-fab {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-link {
    padding: 16px;
}


/* Welcome Section Background Grid */
.welcome {
    position: relative;
    z-index: 1;
}

.welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}


.navbar.nav-hidden {
    transform: translateY(-100%);
}



/* =====================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ===================================================== */

/* --- Hero Banner --- */
.legal-hero {
    background: #111111;
    padding: calc(var(--top-bar-height) + var(--navbar-height) + 64px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.legal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center bottom, rgba(231, 145, 83, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.legal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.legal-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}

.legal-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.legal-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* --- Content Wrapper --- */
.legal-content {
    background: #faf9f7;
    padding: 80px 0 100px;
}

.legal-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Table of Contents --- */
.legal-toc {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 56px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.toc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-title i {
    color: var(--orange);
    font-size: 20px;
}

.toc-list {
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-list li {
    font-size: 14.5px;
}

.toc-list a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.toc-list a:hover {
    color: var(--orange);
}

/* --- Sections --- */
.legal-section {
    margin-bottom: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    scroll-margin-top: calc(var(--top-bar-height) + var(--navbar-height) + 24px);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(231, 145, 83, 0.25);
}

.legal-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 28px 0 12px;
}

.legal-section p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section address {
    font-style: normal;
    font-size: 15.5px;
    line-height: 1.8;
    color: #4a4a4a;
    background: #ffffff;
    border-left: 3px solid var(--orange);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}

.legal-section a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(231, 145, 83, 0.3);
    transition: border-color 0.2s ease;
}

.legal-section a:hover {
    border-color: var(--orange);
}

/* --- Contact List --- */
.legal-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.legal-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    color: #4a4a4a;
}

.legal-contact-list i {
    font-size: 20px;
    color: var(--orange);
    flex-shrink: 0;
}

/* --- Generic List --- */
.legal-list {
    margin: 12px 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-list li {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
}

/* --- Cookie Table --- */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.legal-table th {
    background: #111111;
    color: #ffffff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.legal-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #4a4a4a;
    line-height: 1.5;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:nth-child(even) td {
    background: #f9f8f6;
}

.legal-table code {
    background: rgba(231, 145, 83, 0.1);
    color: #b8601c;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
}

/* --- Rights Grid --- */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0 24px;
}

.right-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 24px 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.right-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.right-card i {
    font-size: 28px;
    color: var(--orange);
    display: block;
    margin-bottom: 12px;
}

.right-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.right-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--gray-text);
    margin: 0;
}

.rights-footer-note {
    font-size: 14.5px;
    color: var(--gray-text);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 24px;
}

/* --- Back Buttons --- */
.legal-back-link {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.legal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--primary);
    color: #ffffff;
}

.legal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

.legal-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(17, 17, 17, 0.2);
    padding: 12px 28px;
}

.legal-btn-secondary:hover {
    background: var(--gray-light);
    box-shadow: none;
    color: var(--primary);
}

/* Responsive Legal */
@media (max-width: 768px) {
    .legal-hero {
        padding: calc(var(--top-bar-height) + var(--navbar-height) + 40px) 0 60px;
    }

    .legal-hero-inner,
    .legal-inner {
        padding: 0 24px;
    }

    .legal-content {
        padding: 60px 0 80px;
    }

    .legal-toc {
        padding: 24px;
    }

    .rights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .legal-back-link {
        flex-direction: column;
    }

    .legal-btn {
        justify-content: center;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .rights-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 20px 20px;
    pointer-events: none;
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.cookie-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-card {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(17, 17, 17, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.3), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-text-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-icon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.cookie-icon-row i {
    font-size: 22px;
    color: var(--orange);
}

.cookie-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(231, 145, 83, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(231, 145, 83, 0.25);
}

.cookie-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.cookie-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
}

.cookie-desc a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
}

.cookie-desc a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.cookie-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
}

.cookie-btn i {
    font-size: 16px;
}

.cookie-btn-accept {
    background: var(--orange);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #d4834a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(231, 145, 83, 0.4);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.cookie-btn-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    font-weight: 500;
    padding: 6px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-btn-settings:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 0 12px 12px;
    }

    .cookie-card {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        gap: 20px;
    }

    .cookie-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: unset;
    }

    .cookie-btn-accept,
    .cookie-btn-decline {
        flex: 1;
    }

    .cookie-btn-settings {
        flex: 0 0 100%;
    }
}

@media (max-width: 400px) {
    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn-accept,
    .cookie-btn-decline {
        flex: unset;
    }
}