/* ══════════════════════════════════
   RESET & VARIABLES
══════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black:      #07090d;
    --dark:       #0d1520;
    --card:       #111c2d;
    --card-light: #172035;
    --border:     rgba(255,255,255,0.08);
    --orange:     #f97316;
    --orange-d:   #c2500a;
    --orange-l:   #fb923c;
    --white:      #f8fafc;
    --text:       #cbd5e1;
    --muted:      #64748b;
    --f-display:  'Barlow Condensed', Impact, sans-serif;
    --f-body:     'Inter', system-ui, sans-serif;
    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --dur:        0.3s;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--f-body);
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ══════════════════════════════════
   UTILITY
══════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}

.tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.section-title span { color: var(--orange); }

.section-lead {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.75;
    max-width: 540px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-family: var(--f-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--dur) var(--ease);
    letter-spacing: 0.02em;
}

.btn-orange {
    background: var(--orange);
    color: var(--black);
    box-shadow: 0 4px 24px rgba(249,115,22,0.35);
}

.btn-orange:hover {
    background: var(--orange-l);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(249,115,22,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* The border is declared at full width from the start and only its COLOR
       changes on scroll. With `transition: all` plus a border that only exists
       in .scrolled, the width animated 0 -> 1px while the color still sat at the
       inherited currentColor (#cbd5e1) — that produced a white bar flashing
       under the nav on the first scroll. Transition explicit properties only. */
    border-bottom: 1px solid transparent;
    transition: background-color var(--dur) var(--ease),
                padding var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}

#nav.scrolled {
    background: rgba(13, 21, 32, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem 2rem;
    border-bottom-color: var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo-icon {
    height: 44px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo-name {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--orange);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-logo-slogan {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    color: var(--orange-l);
    text-transform: none;
    white-space: nowrap;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--dur);
}

.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

.nav-cta {
    background: var(--orange);
    color: var(--black) !important;
    padding: 0.55rem 1.3rem;
    border-radius: 8px;
    font-weight: 600 !important;
}

.nav-cta:hover { background: var(--orange-l); color: var(--black) !important; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--dur);
}

/* ══════════════════════════════════
   HERO (Landingpage)
══════════════════════════════════ */
#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 55%;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(7,9,13,0.94) 0%,
        rgba(7,9,13,0.75) 55%,
        rgba(7,9,13,0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 720px;
    margin-left: max(2rem, calc((100vw - 1200px) / 2));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.35);
    color: var(--orange);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--orange);
    display: block;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.72);
    line-height: 1.72;
    max-width: 540px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-phone-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-phone-label {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-phone-num {
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.hero-phone-num a {
    color: inherit;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll i {
    color: var(--orange);
    font-size: 1rem;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════
   PAGE HEADER (Unterseiten)
══════════════════════════════════ */
#page-header {
    position: relative;
    padding: 10rem 0 5rem;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,9,13,0.88) 0%, rgba(13,21,32,0.96) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .tag { justify-content: flex-start; }

.page-header-lead {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.75;
    max-width: 620px;
    margin-top: 0.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--muted); transition: color var(--dur); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 0.65rem; color: var(--muted); }

/* ══════════════════════════════════
   STATS BAND
══════════════════════════════════ */
#stats {
    background: var(--orange);
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.12);
}

.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(0,0,0,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.35rem;
    display: block;
}

/* ══════════════════════════════════
   SERVICES / WHAT WE TRANSPORT
══════════════════════════════════ */
#leistungen {
    background: var(--dark);
}

.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.srv-item {
    background: var(--card);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: background var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

a.srv-item { color: inherit; }

.srv-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--orange);
    transition: width 0.4s var(--ease);
}

.srv-item:hover {
    background: var(--card-light);
}

.srv-item:hover::before {
    width: 100%;
}

.srv-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--orange);
}

.srv-name {
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.srv-desc {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.7;
}

.srv-more {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ══════════════════════════════════
   USPs / WARUM WINTER
══════════════════════════════════ */
#warum {
    background: var(--black);
}

.usp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.usp-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.usp-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 18px;
}

.usp-img-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--orange);
    color: var(--black);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.usp-img-badge-num {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.usp-img-badge-txt {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.usp-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.usp-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.usp-check {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--orange);
}

.usp-item-title {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.usp-item-desc {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.65;
}

/* ══════════════════════════════════
   TEAM
══════════════════════════════════ */
#team {
    background: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.team-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--dur) var(--ease), border-color var(--dur);
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249,115,22,0.35);
}

.team-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(249,115,22,0.12);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    margin: 0 auto 1.25rem;
}

.team-name {
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.team-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0.4rem 0 0.9rem;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.team-desc {
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.6;
}

/* ══════════════════════════════════
   ABLAUF (PROCESS)
══════════════════════════════════ */
#ablauf {
    background: var(--black);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--orange), transparent);
}

.process-step {
    text-align: center;
    padding: 2rem 2rem 3rem;
    position: relative;
}

.step-num {
    font-family: var(--f-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px rgba(249,115,22,0.08);
}

.step-title {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.7;
}

/* ══════════════════════════════════
   TRANSPORT SCOPE
══════════════════════════════════ */
#scope {
    background: var(--dark);
    padding: 5rem 0;
}

.scope-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.scope-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.scope-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    border-radius: 100px;
    transition: all var(--dur);
}

.scope-tag i {
    color: var(--orange);
    font-size: 0.8rem;
}

.scope-tag:hover {
    border-color: var(--orange);
    color: var(--white);
    background: rgba(249,115,22,0.08);
}

.scope-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.scope-img img {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.scope-img img:first-child {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

/* ══════════════════════════════════
   GALLERY / EINSÄTZE
══════════════════════════════════ */
#galerie {
    background: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3.4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem 1rem 0.9rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
}

/* ══════════════════════════════════
   CTA BAND
══════════════════════════════════ */
#cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,9,13,0.95) 0%, rgba(13,21,32,0.88) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.cta-title span { color: var(--orange); }

.cta-title-slogan {
    display: inline-block;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-top: 0.5rem;
}

.cta-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-info {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}

.cta-info-item i {
    color: var(--orange);
}

/* ══════════════════════════════════
   CONTENT PAGES (Fahrzeugvermittlung, Altfahrzeugannahme, Legal)
══════════════════════════════════ */
.content-block { background: var(--dark); }
.content-block + .content-block { padding-top: 0; }

.content-lead {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.step-list-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

.step-list-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--orange);
}

.step-list-title {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
}

.step-list-desc {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.65;
}

.info-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--orange);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

.info-box strong { color: var(--white); }

/* Legal pages */
.legal-content h2 {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 2.5rem 0 1rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
    margin: 1.75rem 0 0.6rem;
}

.legal-content p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.legal-content p.caps {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.legal-content a { color: var(--orange); }
.legal-content a:hover { text-decoration: underline; }

.legal-content ul {
    margin: 0 0 0.9rem 1.2rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════
   KOOPERATIONSPARTNER CAROUSEL
══════════════════════════════════ */
.partner-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 2rem;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.partner-carousel::-webkit-scrollbar { display: none; }

.partner-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: min(360px, 90vw);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color var(--dur), transform var(--dur);
}

.partner-card:hover {
    border-color: rgba(249,115,22,0.35);
    transform: translateY(-4px);
}

.partner-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--orange);
}

.partner-name {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.partner-desc {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.65;
    flex-grow: 1;
}

.partner-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: clamp(0.7rem, 2.3vw, 0.8rem);
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.partner-meta span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-meta a { color: var(--muted); transition: color var(--dur); }
.partner-meta a:hover { color: var(--orange); }
.partner-meta i { color: var(--orange); width: 14px; }

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.carousel-hint {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-arrows {
    display: flex;
    gap: 0.6rem;
}

.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--dur);
}

.carousel-arrow:hover {
    background: var(--orange);
    color: var(--black);
    border-color: var(--orange);
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
    background: var(--black);
    border-top: 1px solid var(--border);
}

.footer-top {
    padding: 3.5rem 0 2.5rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand-tagline {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
    transition: all var(--dur);
}

.social-btn:hover {
    background: var(--orange);
    color: var(--black);
    border-color: var(--orange);
}

.footer-col h4 {
    font-family: var(--f-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted);
    transition: color var(--dur);
}

.footer-links a:hover { color: var(--orange); }

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-contact-list li i {
    color: var(--orange);
    font-size: 0.8rem;
    margin-top: 3px;
}

.footer-contact-list a {
    color: var(--muted);
    transition: color var(--dur);
}

.footer-contact-list a:hover { color: var(--orange); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--muted);
    transition: color var(--dur);
}

.footer-legal a:hover { color: var(--orange); }

/* WhatsApp Float */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 800;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    transition: transform var(--dur), box-shadow var(--dur);
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .usp-layout { grid-template-columns: 1fr; gap: 3rem; }
    .scope-inner { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.12); }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid::before { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .scope-img { grid-template-columns: 1fr; }
    .scope-img img:first-child { aspect-ratio: 16/9; grid-row: unset; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    #page-header { padding: 8.5rem 0 3.5rem; }
}

/* Nav switches to the burger menu earlier than the rest of the layout —
   with 6 links plus the CTA button, text no longer fits a single row
   below ~1150px even though the page content itself still has room. */
@media (max-width: 1150px) {
    /* No backdrop-filter at burger widths: it makes #nav a containing block,
       which would trap the position:fixed fullscreen menu inside the nav bar.
       The backgrounds below are opaque enough that the blur isn't needed. */
    #nav,
    #nav.scrolled { backdrop-filter: none; }
    #nav { background: rgba(7, 9, 13, 0.55); }

    /* Panel stays in the DOM and slides down, so it can be animated —
       display:none/flex would jump straight to the open state. */
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 800;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.45s var(--ease),
                    opacity 0.35s var(--ease),
                    visibility 0s linear 0.45s;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.45s var(--ease),
                    opacity 0.35s var(--ease),
                    visibility 0s;
    }

    .nav-links a { font-size: 1.2rem; }

    /* Entries fade in one after another once the panel has arrived */
    .nav-links li {
        opacity: 0;
        transform: translateY(-14px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    }

    .nav-links.open li { opacity: 1; transform: translateY(0); }
    .nav-links.open li:nth-child(1) { transition-delay: 0.18s; }
    .nav-links.open li:nth-child(2) { transition-delay: 0.24s; }
    .nav-links.open li:nth-child(3) { transition-delay: 0.30s; }
    .nav-links.open li:nth-child(4) { transition-delay: 0.36s; }
    .nav-links.open li:nth-child(5) { transition-delay: 0.42s; }
    .nav-links.open li:nth-child(6) { transition-delay: 0.48s; }
    .nav-links.open li:nth-child(7) { transition-delay: 0.54s; }

    .nav-burger { display: flex; z-index: 900; }
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
    .hero-content { margin-left: 0; padding-top: 6.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links,
    .nav-links li,
    .reveal,
    .gallery-item img { transition-duration: 0.01ms !important; }
    .hero-scroll { animation: none; }
}
