/* =============================================================
   NORDWIND LOGISTIK — Modern logistics brand stylesheet
   Palette: deep slate + warm amber accent
   Fonts:   Bricolage Grotesque (display) + Manrope (body)
   ============================================================= */

:root {
    /* Surfaces */
    --bg:          #0b1014;
    --bg-elev-1:   #10161c;
    --bg-elev-2:   #151d25;
    --bg-light:    #fafaf9;
    --bg-soft:     #f4f3ef;
    --bg-card:     #ffffff;
    --surface:     #1a222c;

    /* Ink */
    --ink:         #0b1014;
    --ink-muted:   #475569;
    --ink-soft:    #64748b;
    --ink-on-dark: #f8fafc;
    --ink-on-dark-muted: #94a3b8;

    /* Brand accent — warm amber, similar feel to original but refined */
    --accent:       #f59e0b;
    --accent-hover: #ea8b00;
    --accent-soft:  rgba(245, 158, 11, 0.12);
    --accent-glow:  rgba(245, 158, 11, 0.35);

    /* Support */
    --success: #10b981;
    --danger:  #ef4444;

    /* Borders */
    --border:       #e5e7eb;
    --border-dark:  rgba(255, 255, 255, 0.08);
    --border-focus: var(--accent);

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 80px rgba(15, 23, 42, 0.18);
    --shadow-accent: 0 14px 40px -12px var(--accent-glow);

    /* Typography */
    --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --font-body:    'Manrope', 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --container:   1240px;
    --topbar-h:    40px;
    --header-h:    80px;
    --ease:        cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------- Reset / base ------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 .5em;
    color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 600px) { .container { padding: 0 18px; } }

.site-main { min-height: 40vh; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.kicker::before {
    content: ''; width: 28px; height: 2px; background: var(--accent); border-radius: 2px;
}
.kicker--center { justify-content: center; }
.kicker--center::before { display: none; }
.kicker--center::after { content: ''; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.kicker--dark { color: var(--accent); }

/* ------------- Buttons ------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: var(--r-pill);
    text-decoration: none;
    white-space: nowrap;
    transition: all .25s var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn--lg  { padding: 16px 30px; font-size: 15px; }
.btn--sm  { padding: 8px 16px;  font-size: 13px; }
.btn--primary {
    background: var(--accent);
    color: #1a1208;
    box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--ghost {
    background: transparent;
    color: var(--ink-on-dark);
    border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark {
    background: var(--bg);
    color: var(--ink-on-dark);
}
.btn--dark:hover { background: var(--bg-elev-2); transform: translateY(-2px); }
.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================= */
/* TOPBAR                                                        */
/* ============================================================= */
.topbar {
    background: var(--bg);
    color: var(--ink-on-dark-muted);
    font-size: 13px;
    border-bottom: 1px solid var(--border-dark);
    position: relative;
    z-index: 60;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-h);
    gap: 16px;
}
.topbar__contact {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-on-dark-muted);
    transition: color .2s var(--ease);
}
.topbar__item:hover { color: var(--accent); }
.topbar__item svg { width: 14px; height: 14px; color: var(--accent); }
.topbar__label { opacity: .7; }
.topbar__value { color: var(--ink-on-dark); font-weight: 500; }

.topbar__lang { position: relative; }
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    color: var(--ink-on-dark);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-dark);
    transition: all .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.lang-toggle__flag { font-size: 15px; line-height: 1; }
.lang-menu {
    position: absolute;
    right: 0; top: calc(100% + 8px);
    min-width: 150px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-dark);
    border-radius: var(--r-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .2s var(--ease);
    box-shadow: var(--shadow-xl);
    z-index: 100;
}
.topbar__lang:hover .lang-menu,
.topbar__lang:focus-within .lang-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu__item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    color: var(--ink-on-dark);
    font-size: 13px;
}
.lang-menu__item:hover { background: rgba(255,255,255,0.06); color: var(--accent); }
.lang-menu__item.is-active { color: var(--accent); }

@media (max-width: 760px) {
    .topbar__contact { gap: 14px; }
    .topbar__label { display: none; }
    .topbar__value { font-size: 12px; }
}
@media (max-width: 520px) {
    .topbar__item span:not(.topbar__value) { display: none; }
}

/* ============================================================= */
/* HEADER                                                        */
/* ============================================================= */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--border);
    transition: all .25s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.brand {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--ink);
    font-weight: 700;
}
.brand__icon {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: var(--r-md);
    transition: transform .3s var(--ease);
}
.brand:hover .brand__icon { transform: rotate(-6deg) scale(1.05); }
.brand__icon svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.brand__tag {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-top: 2px;
}
.brand--footer { color: var(--ink-on-dark); }
.brand--footer .brand__name { color: var(--ink-on-dark); }
.brand--footer .brand__tag  { color: var(--ink-on-dark-muted); }

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}
.nav-link {
    position: relative;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    border-radius: var(--r-pill);
    transition: all .2s var(--ease);
    white-space: nowrap;        /* never break "Über uns" / "Track & Trace" */
    line-height: 1.2;
}
.nav-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav-link.is-active {
    color: var(--accent);
    background: var(--accent-soft);
}
/* Tighten further on narrower desktops */
@media (max-width: 1280px) {
    .nav-link   { padding: 9px 10px; font-size: 13px; }
    .btn--header { padding: 9px 16px; font-size: 12.5px; }
    .brand__tag  { display: none; } /* subtitle hidden to save width */
}
.nav-link.is-active::before {
    content: ''; position: absolute; left: 50%; bottom: -1px;
    transform: translateX(-50%);
    width: 20px; height: 2px; background: var(--accent); border-radius: 2px;
}

.btn--header { padding: 10px 20px; font-size: 13px; }

.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: var(--r-sm);
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: all .25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
    .nav-desktop { display: none; }
    .btn--header { display: none; }
    .nav-toggle  { display: flex; }
}

/* ------------- Mobile nav ------------- */
.nav-mobile {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 86vw);
    background: var(--bg);
    color: var(--ink-on-dark);
    padding: 96px 28px 36px;
    z-index: 90;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    display: flex; flex-direction: column;
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile nav { display: flex; flex-direction: column; gap: 2px; }
.nav-mobile__link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-on-dark);
    border-radius: var(--r-md);
    border: 1px solid transparent;
}
.nav-mobile__link:hover,
.nav-mobile__link.is-active {
    color: var(--accent);
    background: rgba(245, 158, 11, 0.08);
    border-color: var(--border-dark);
}
.nav-mobile__footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--border-dark);
    display: flex; flex-direction: column; gap: 12px;
}
.nav-mobile__lang {
    display: flex; gap: 8px; margin-bottom: 8px;
}
.nav-mobile__lang-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: var(--r-md);
    border: 1px solid var(--border-dark);
    color: var(--ink-on-dark);
    font-size: 13px; font-weight: 600;
}
.nav-mobile__lang-btn.is-active { color: var(--accent); border-color: var(--accent); background: rgba(245,158,11,0.08); }
.nav-mobile__contact {
    color: var(--ink-on-dark-muted);
    font-size: 14px;
    padding: 4px 0;
}
.nav-mobile__contact:hover { color: var(--accent); }

.nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 80;
    opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
    backdrop-filter: blur(4px);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* ============================================================= */
/* HERO — home page                                              */
/* ============================================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0b1014 0%, #161f2a 50%, #0b1014 100%);
    color: var(--ink-on-dark);
    overflow: hidden;
    padding: 80px 0 100px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;  /* image side gets ~53% */
    gap: 60px;
    align-items: center;
}
.hero__grid > * { min-width: 0; }     /* let grid children shrink below content */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; gap: 50px; }
    .hero { padding: 60px 0 80px; }
}

.hero__content .kicker { color: var(--accent); }
.hero__title {
    color: var(--ink-on-dark);
    margin-bottom: 24px;
    font-weight: 800;
    /* German compounds like "Landmaschinentransporte" must break */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    /* A touch smaller cap so it always fits the column */
    font-size: clamp(2rem, 4.2vw, 3.6rem);
}
.hero__title .accent {
    color: var(--accent);
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 600;
    position: relative;
}
.hero__title .accent::after {
    content: ''; position: absolute;
    left: 0; bottom: 0.05em;
    width: 100%; height: 6px;
    background: var(--accent);
    opacity: 0.2; border-radius: 3px;
}
.hero__desc {
    font-size: 18px;
    color: var(--ink-on-dark-muted);
    max-width: 540px;
    margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero slider dots */
.hero__dots {
    display: flex; gap: 8px; margin-top: 40px;
}
.hero__dot {
    width: 36px; height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background .25s var(--ease);
}
.hero__dot.is-active { background: var(--accent); }

/* Hero visual card */
.hero__visual {
    position: relative;
}
.hero__card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 16/11;           /* landscape — shows full truck/horizon */
    background: #222;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.hero__card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 8s var(--ease);
}
.hero__card:hover img { transform: scale(1.08); }
.hero__card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11,16,20,0.7) 100%);
}

/* Hero floating badge */
.hero__badge {
    position: absolute;
    bottom: -24px; left: -24px;
    background: var(--accent);
    color: #1a1208;
    padding: 20px 26px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    display: flex; align-items: center; gap: 14px;
    max-width: 260px;
}
.hero__badge-num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}
.hero__badge-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.3;
}

@media (max-width: 560px) {
    .hero__badge { bottom: -16px; left: 50%; transform: translateX(-50%); text-align: center; }
}

/* ============================================================= */
/* PAGE HERO (interior pages)                                    */
/* ============================================================= */
.page-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0b1014 0%, #1a2432 60%, #0b1014 100%);
    color: var(--ink-on-dark);
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 70% 40%, rgba(245, 158, 11, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 45%);
}
.page-hero::after {
    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: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
    color: var(--ink-on-dark);
    font-weight: 800;
    margin-bottom: 16px;
}
.breadcrumb {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px;
    color: var(--ink-on-dark-muted);
    margin-top: 6px;
}
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb__sep { opacity: 0.5; }

/* ============================================================= */
/* SECTIONS                                                      */
/* ============================================================= */
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--dark { background: var(--bg); color: var(--ink-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ink-on-dark); }
.section--soft { background: var(--bg-soft); }
.section--white { background: #fff; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head--left { text-align: left; }
.section-head__title { margin-bottom: 16px; }
.section-head__subtitle {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 680px;
    margin: 0 auto;
}
.section-head--left .section-head__subtitle { margin: 0; }
.section--dark .section-head__subtitle { color: var(--ink-on-dark-muted); }

/* ============================================================= */
/* STATS                                                         */
/* ============================================================= */
.stats {
    background: var(--bg);
    color: var(--ink-on-dark);
    padding: 60px 0;
    position: relative;
}
.stats::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.05) 50%, transparent 100%);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}
.stat { text-align: center; }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.stat__num::after {
    content: attr(data-suffix);
    font-size: 0.6em;
    margin-left: 4px;
    opacity: 0.8;
}
.stat__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-on-dark-muted);
}
@media (max-width: 780px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ============================================================= */
/* SERVICE CARDS (home)                                          */
/* ============================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .service-grid { grid-template-columns: 1fr; } }

.service-card {
    position: relative;
    padding: 36px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .3s var(--ease);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 56px; height: 56px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: all .3s var(--ease);
}
.service-card:hover .service-card__icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-6deg);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card__text {
    color: var(--ink-muted);
    font-size: 14.5px;
    line-height: 1.65;
    flex: 1;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.service-card__link svg {
    width: 14px; height: 14px;
    transition: transform .2s var(--ease);
}
.service-card__link:hover svg { transform: translateX(4px); }

/* ============================================================= */
/* COMPANY INTRO (home) — split layout                           */
/* ============================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } }

.split__visual {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-xl);
}
.split__visual img { width: 100%; height: 100%; object-fit: cover; }
.split__visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11,16,20,0.5) 100%);
}
.split__badge {
    position: absolute;
    top: 20px; right: 20px;
    background: #fff;
    color: var(--ink);
    padding: 14px 18px;
    border-radius: var(--r-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 8px;
}
.split__badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--success); border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.split__content h2 { margin-bottom: 20px; }
.split__content p  { color: var(--ink-muted); font-size: 16px; line-height: 1.8; }

/* ============================================================= */
/* STEPS (Treuhandservice 5 steps)                               */
/* ============================================================= */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    counter-reset: step;
}
.steps::before {
    content: '';
    position: absolute;
    top: 28px; left: 10%; right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 20px);
    opacity: 0.4;
    z-index: 0;
}
.step {
    position: relative; z-index: 1;
    padding: 0 12px;
    text-align: center;
}
.step__num {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12);
    transition: all .3s var(--ease);
}
.step:hover .step__num {
    background: var(--accent);
    color: #1a1208;
    transform: scale(1.08);
}
.step__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}
.section--dark .step__title { color: var(--ink-on-dark); }
.step__text {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.7;
}
.section--dark .step__text { color: var(--ink-on-dark-muted); }

@media (max-width: 1000px) {
    .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .steps::before { display: none; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================= */
/* FLEET                                                         */
/* ============================================================= */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .fleet-grid { grid-template-columns: 1fr; } }

.fleet-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fleet-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
    z-index: 3;
}
.fleet-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.fleet-card:hover::before { transform: scaleX(1); }

/* Media block (image) — clean, no overlay, fixed aspect */
.fleet-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e8edf2;
}
.fleet-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
    display: block;
}
.fleet-card:hover .fleet-card__media img { transform: scale(1.06); }
/* Soft gradient for subtle legibility on the kicker if needed */
.fleet-card__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(11,16,20,0.15) 100%);
    pointer-events: none;
}

/* Body */
.fleet-card__body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.fleet-card__kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 8px;
}
.fleet-card__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.fleet-card__tagline {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.4;
}
.fleet-card__desc {
    font-size: 13.5px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}
.fleet-card__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.fleet-card__specs li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: var(--ink);
    line-height: 1.4;
}
.fleet-card__specs li svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 3px;
}
.fleet-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    transition: gap .25s var(--ease);
}
.fleet-card__link:hover { gap: 10px; color: var(--accent-hover); }
.fleet-card__link svg { transition: transform .25s var(--ease); }
.fleet-card:hover .fleet-card__link svg { transform: translateX(4px); }

/* ============================================================= */
/* TESTIMONIALS                                                  */
/* ============================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
    position: relative;
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .3s var(--ease);
}
.testimonial:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.testimonial__quote {
    font-size: 48px;
    font-family: var(--font-display);
    color: var(--accent);
    line-height: 1;
    margin-bottom: -10px;
    opacity: 0.4;
}
.testimonial__text {
    color: var(--ink-muted);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 22px;
}
.testimonial__footer {
    display: flex; align-items: center; gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}
.testimonial__name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}
.testimonial__stars {
    color: var(--accent);
    font-size: 12px;
    margin-top: 2px;
    letter-spacing: 2px;
}

/* ============================================================= */
/* FEATURE LIST (Treuhand benefits + Über uns bullets)           */
/* ============================================================= */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (max-width: 780px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .feature-list { grid-template-columns: 1fr; } }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-size: 14.5px;
    font-weight: 500;
    transition: all .25s var(--ease);
}
.feature-list li:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

/* ============================================================= */
/* LEISTUNGEN (services page)                                    */
/* ============================================================= */
.service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 0;
    border-top: 1px solid var(--border);
}
.service-section:first-of-type { border-top: none; }
.service-section--reverse .service-section__visual { order: 2; }
@media (max-width: 900px) {
    .service-section { grid-template-columns: 1fr; gap: 32px; padding: 50px 0; }
    .service-section--reverse .service-section__visual { order: 0; }
}
.service-section__visual {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #222;
}
.service-section__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-section:hover .service-section__visual img { transform: scale(1.04); }
.service-section__visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11,16,20,0.35) 100%);
}
.service-section__visual-tag {
    position: absolute; top: 20px; left: 20px;
    padding: 8px 14px;
    background: var(--accent);
    color: #1a1208;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.service-section__number {
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 300;
    color: var(--accent);
    line-height: 0.8;
    opacity: 0.3;
    margin-bottom: 8px;
}
.service-section__title { margin-bottom: 20px; }
.service-section__text p {
    color: var(--ink-muted);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================================= */
/* CONTACT PAGE                                                  */
/* ============================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: flex-start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.contact-info__title { margin-bottom: 28px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__icon {
    width: 46px; height: 46px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.contact-info-item__icon svg { width: 22px; height: 22px; }
.contact-info-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
    margin-bottom: 4px;
}
.contact-info-item__value {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
}
.contact-info-item__value a:hover { color: var(--accent); }

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form__title { margin-bottom: 10px; }
.contact-form__intro {
    color: var(--ink-muted);
    font-size: 15px;
    margin-bottom: 28px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid--full { grid-template-columns: 1fr; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: 8px;
}
.form-label .req { color: var(--danger); }
.form-input, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg-soft);
    font-size: 15px;
    color: var(--ink);
    transition: all .2s var(--ease);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-textarea { min-height: 130px; resize: vertical; }

.form-alert {
    padding: 14px 18px;
    border-radius: var(--r-md);
    font-size: 14.5px;
    margin-bottom: 22px;
    display: flex; align-items: flex-start; gap: 12px;
}
.form-alert--success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.form-alert--error {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ============================================================= */
/* TRACK & TRACE                                                 */
/* ============================================================= */
.track-wrap {
    max-width: 860px;
    margin: 0 auto;
}
.track-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}
.track-intro { color: var(--ink-muted); margin-bottom: 24px; font-size: 15.5px; }
.track-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.track-form .form-input { flex: 1; min-width: 260px; font-size: 16px; padding: 16px 20px; }
.track-form .btn { padding: 16px 28px; }

.track-result { margin-top: 24px; }
.track-result__head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 20px; margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px; flex-wrap: wrap;
}
.track-result__number {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent-soft);
    color: var(--accent-hover);
}
.status-badge::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px currentColor;
    opacity: 0.3;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 0.3; }
    50%     { opacity: 0.6; }
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 560px) { .track-grid { grid-template-columns: 1fr; } }

.track-item {
    padding: 16px 20px;
    background: var(--bg-soft);
    border-radius: var(--r-md);
    border-left: 3px solid var(--accent);
}
.track-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.track-item__value {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
}

.track-timeline {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.timeline {
    list-style: none; padding: 0; margin: 0;
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 9px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--border);
}
.timeline li {
    position: relative;
    padding: 0 0 22px;
    font-size: 14.5px;
}
.timeline li::before {
    content: '';
    position: absolute;
    left: -27px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
}
.timeline li.is-current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline__time {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.timeline__label { color: var(--ink); font-weight: 600; }

/* ============================================================= */
/* ÜBER UNS 3-COLUMN LISTS                                       */
/* ============================================================= */
.col3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 900px) { .col3-grid { grid-template-columns: 1fr; } }

.col3-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .25s var(--ease);
}
.col3-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.col3-card__icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.col3-card__icon svg { width: 24px; height: 24px; }
.col3-card__title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
}
.col3-card__list {
    list-style: none;
    padding: 0; margin: 0;
    color: var(--ink-muted);
}
.col3-card__list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14.5px;
    position: relative;
    padding-left: 20px;
}
.col3-card__list li:last-child { border-bottom: none; }
.col3-card__list li::before {
    content: '›';
    position: absolute; left: 0; top: 8px;
    color: var(--accent); font-weight: 700;
}

/* ============================================================= */
/* CTA BAND                                                      */
/* ============================================================= */
.cta-band {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}
.cta-band::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.cta-band__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    align-items: center;
}
@media (max-width: 820px) { .cta-band__inner { grid-template-columns: 1fr; text-align: center; } }
.cta-band__title { color: #1a1208; margin-bottom: 10px; font-weight: 800; }
.cta-band__desc { color: #3a2a0a; font-size: 16px; margin: 0; max-width: 520px; font-weight: 500; }
@media (max-width: 820px) { .cta-band__desc { margin: 0 auto; } }
.cta-band__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
@media (max-width: 820px) { .cta-band__actions { justify-content: center; } }
.cta-band .btn--primary { background: #1a1208; color: var(--accent); }
.cta-band .btn--primary:hover { background: #000; color: var(--accent); }
.cta-band .btn--ghost { color: #1a1208; border-color: rgba(26, 18, 8, 0.35); }
.cta-band .btn--ghost:hover { background: rgba(26, 18, 8, 0.08); border-color: #1a1208; }

/* ============================================================= */
/* FOOTER                                                        */
/* ============================================================= */
.site-footer {
    background: var(--bg);
    color: var(--ink-on-dark-muted);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer-tagline {
    color: var(--ink-on-dark-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 22px 0 28px;
    max-width: 320px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social__link {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    color: var(--ink-on-dark-muted);
    display: inline-flex;
    align-items: center; justify-content: center;
    transition: all .25s var(--ease);
}
.footer-social__link:hover {
    background: var(--accent); color: #1a1208; border-color: var(--accent);
    transform: translateY(-3px);
}
.footer-social__link svg { width: 16px; height: 16px; }

.footer-heading {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-on-dark);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-contact, .footer-links {
    list-style: none; padding: 0; margin: 0;
}
.footer-contact li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}
.footer-contact svg {
    width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px;
    color: var(--accent);
}
.footer-contact a:hover { color: var(--accent); }
.footer-links li { padding: 7px 0; }
.footer-links a {
    font-size: 14px;
    color: var(--ink-on-dark-muted);
    position: relative;
    padding-left: 14px;
}
.footer-links a::before {
    content: '›';
    position: absolute; left: 0; top: 0;
    color: var(--accent); font-weight: 700;
}
.footer-links a:hover { color: var(--accent); padding-left: 18px; }

.footer-notice {
    margin-top: 24px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--r-md);
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-on-dark-muted);
}

.footer-bottom {
    padding-top: 26px;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
}

/* ============================================================= */
/* ADMIN LOGIN / PANEL                                           */
/* ============================================================= */
.admin-body {
    background: var(--bg-soft);
    min-height: 100vh;
}
.admin-login {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 30px;
    background:
        linear-gradient(135deg, #0b1014 0%, #1a2432 100%);
}
.admin-login__box {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: var(--r-xl);
    padding: 48px 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.35);
}
.admin-login__logo {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 32px;
}
.admin-login__logo .brand__icon { background: var(--accent-soft); }
.admin-login__title {
    font-size: 24px;
    margin-bottom: 6px;
}
.admin-login__subtitle {
    color: var(--ink-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.admin-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.admin-wrap {
    padding: 40px 0 60px;
}
.admin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.admin-card__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.admin-card__title { margin: 0; font-size: 22px; }
.admin-card__subtitle { color: var(--ink-muted); font-size: 14px; margin: 4px 0 0; }

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
@media (max-width: 700px) { .admin-grid { grid-template-columns: 1fr; } }

/* ============================================================= */
/* UTILS                                                         */
/* ============================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Disable transform on elements that must stay positioned in-place so the reveal doesn't
   fight with absolute positioning (hero badge sits offset, it's already visible) */
.hero__badge.fade-in { transform: translate(0, 0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .fade-in { opacity: 1; transform: none; }
}

/* =============================================================
   DETAILED TRACKING LAYOUT (Sendungsverfolgung)
   Left: sticky Leaflet map. Right: scrolling detail cards.
   ============================================================= */

.track-detail {
    background: #f4f6f8;
    min-height: calc(100vh - var(--header-h));
}
.track-layout {
    display: grid;
    grid-template-columns: minmax(340px, 42%) 1fr;
    min-height: calc(100vh - var(--header-h));
}
.track-map-wrap {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    background: #d4e7f0;
}
.track-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}
.track-content {
    padding: 30px 0 60px;
    min-width: 0;
}
.track-content__inner {
    max-width: 920px;
    padding: 0 30px;
}
@media (max-width: 1000px) {
    .track-layout { grid-template-columns: 1fr; }
    .track-map-wrap { position: relative; top: 0; height: 420px; }
    .track-content__inner { padding: 0 20px; }
}

/* Search bar */
.track-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    background: #fff;
    padding: 14px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.track-search-bar .form-input { flex: 1; padding: 12px 16px; background: #fff; border: 1.5px solid transparent; font-weight: 600; }
.track-search-bar .form-input:focus { border-color: var(--accent); background: var(--bg-soft); }
.track-search-bar .btn { padding: 12px 20px; background: #2563eb; color: #fff; }
.track-search-bar .btn:hover { background: #1d4ed8; }

/* td = tracking-detail primitives */
.td-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px 28px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.td-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.td-grid-2 > .td-card { margin-bottom: 0; }
@media (max-width: 700px) { .td-grid-2 { grid-template-columns: 1fr; } }

.td-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.td-awb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    font-size: 13.5px;
}
.td-awb__label { color: var(--ink-muted); font-weight: 600; }
.td-awb__value { color: var(--ink); font-weight: 700; font-family: var(--font-display); letter-spacing: 0.02em; }

.td-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.td-status--pending    { background: #fef3c7; color: #b45309; }
.td-status--picked_up  { background: #ddd6fe; color: #5b21b6; }
.td-status--in_transit { background: #dbeafe; color: #1d4ed8; }
.td-status--customs    { background: #fed7aa; color: #9a3412; }
.td-status--delivered  { background: #d1fae5; color: #065f46; }

.td-title {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 24px;
    line-height: 1.15;
    color: var(--ink);
}

/* Metric boxes */
.td-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 760px) { .td-metrics { grid-template-columns: repeat(2, 1fr); } }
.td-metric {
    padding: 14px 16px;
    background: var(--bg-soft);
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}
.td-metric__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.td-metric__label svg { color: var(--accent); }
.td-metric__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

/* Section titles with colored icon */
.td-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.td-section-title svg { padding: 4px; border-radius: 50%; box-sizing: content-box; }
.td-section-title--blue   svg { color: #2563eb; background: #dbeafe; }
.td-section-title--amber  svg { color: #b45309; background: #fef3c7; }
.td-section-title--purple svg { color: #7c3aed; background: #ede9fe; }
.td-section-title--green  svg { color: #059669; background: #d1fae5; }
.td-section-title--dark   svg { color: #1e293b; background: #e2e8f0; }

/* Bullet list (Inhalt der Maschine) */
.td-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.td-bullet-list li {
    position: relative;
    padding: 6px 0 6px 18px;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.6;
}
.td-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3b82f6;
}
.td-bullet-list li.is-empty { padding: 0; min-height: 4px; }
.td-bullet-list li.is-empty::before { display: none; }

.td-text { font-size: 14.5px; color: var(--ink); line-height: 1.7; white-space: normal; }
.td-text--muted { color: var(--ink-muted); }

/* Contact card (buyer/seller) */
.td-contact__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}
.td-contact__address {
    color: var(--ink-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.td-contact__address strong { color: var(--ink); font-weight: 600; }
.td-contact__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.td-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    width: fit-content;
}
.td-link svg { color: #2563eb; }
.td-link:hover { color: #1d4ed8; }

/* Route timeline */
.td-route {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.td-route::before {
    content: '';
    position: absolute;
    left: 8px; top: 10px; bottom: 10px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--border) 0 6px, transparent 6px 10px);
}
.td-route__item {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}
.td-route__dot {
    flex-shrink: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--border);
}
.td-route__item--origin .td-route__dot  { background: #3b82f6; box-shadow: 0 0 0 2px #3b82f6; }
.td-route__item--current .td-route__dot { background: #ef4444; box-shadow: 0 0 0 2px #ef4444; animation: pulse 2s infinite; }
.td-route__item--dest .td-route__dot    { background: #10b981; box-shadow: 0 0 0 2px #10b981; }
.td-route__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    margin-bottom: 4px;
}
.td-route__label--alert { color: #dc2626; }
.td-route__value { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }

/* Payment card */
.td-payment__row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.td-payment__row span { color: var(--ink-muted); }
.td-payment__row strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.td-payment__total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 4px;
    font-size: 16px;
}
.td-payment__total span { font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.td-payment__total strong { color: #059669; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* History timeline */
.td-history {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.td-history::before {
    content: '';
    position: absolute;
    left: 7px; top: 12px; bottom: 12px;
    width: 2px;
    background: var(--border);
}
.td-history__item {
    display: flex;
    gap: 18px;
    padding: 12px 0;
    position: relative;
    z-index: 1;
}
.td-history__dot {
    flex-shrink: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #3b82f6;
    margin-top: 2px;
}
.td-history__dot--delivered  { border-color: #10b981; background: #10b981; }
.td-history__dot--in_transit { border-color: #3b82f6; background: #3b82f6; }
.td-history__dot--pending    { border-color: #f59e0b; background: #f59e0b; }
.td-history__dot--picked_up  { border-color: #7c3aed; background: #7c3aed; }
.td-history__dot--customs    { border-color: #ea580c; background: #ea580c; }
.td-history__status  { font-size: 15px; font-weight: 700; color: var(--ink); }
.td-history__time    { font-size: 13px; color: var(--ink-muted); margin: 2px 0 6px; }
.td-history__location { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.td-history__note    { font-size: 13px; color: var(--ink-muted); margin-top: 4px; font-style: italic; }

/* Leaflet overrides — custom marker */
.track-marker { background: transparent; border: none; }
.track-marker__pin {
    position: relative;
    width: 28px; height: 36px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.track-marker__pin::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 14px; height: 14px;
    background: var(--pin, #3b82f6);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0 0 6px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 0;
}
.track-marker__dot {
    position: relative;
    z-index: 1;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--pin, #3b82f6);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
.leaflet-popup-content-wrapper {
    border-radius: var(--r-md) !important;
    box-shadow: var(--shadow-lg) !important;
}
.leaflet-popup-content { margin: 12px 14px !important; font-family: var(--font-body); font-size: 13px; }
.leaflet-container a { color: #2563eb; }

/* =============================================================
   ADMIN — shipment list / edit
   ============================================================= */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.admin-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table tr:hover td { background: var(--bg-soft); }
.admin-table .awb { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em; }
.admin-table .actions { text-align: right; white-space: nowrap; }
.admin-table .actions a { margin-left: 8px; }

.admin-btn-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.admin-nav {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 4px;
    width: fit-content;
}
.admin-nav a {
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-muted);
}
.admin-nav a:hover { color: var(--ink); }
.admin-nav a.is-active { background: var(--ink); color: #fff; }

.fieldset {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 20px;
    background: var(--bg-soft);
}
.fieldset__title {
    margin: -6px 0 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}
.fieldset--plain { background: #fff; }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.form-row--2 { grid-template-columns: repeat(2, 1fr); }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.form-row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) {
    .form-row, .form-row--2, .form-row--3, .form-row--4 { grid-template-columns: 1fr; }
}
.form-row .form-group { margin: 0; }
.form-textarea--tall { min-height: 160px; }
.form-hint { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }

.geocode-row {
    display: grid;
    grid-template-columns: 1fr 120px 120px auto;
    gap: 10px;
    align-items: end;
}
.geocode-row button { white-space: nowrap; }
@media (max-width: 720px) {
    .geocode-row { grid-template-columns: 1fr; }
}

.events-table th,
.events-table td { font-size: 13px; padding: 10px 12px; }
.events-table textarea,
.events-table input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 13px;
    background: #fff;
}

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
}
.chip--pending    { background: #fef3c7; color: #b45309; border-color: #fcd34d; }
.chip--picked_up  { background: #ddd6fe; color: #5b21b6; border-color: #c4b5fd; }
.chip--in_transit { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
.chip--customs    { background: #fed7aa; color: #9a3412; border-color: #fdba74; }
.chip--delivered  { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }

/* =============================================================
   ADMIN NAV BADGE + INBOX
   ============================================================= */

/* Yellow pill badge for unread counts */
.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    margin-left: 6px;
    background: #f59e0b;
    color: #0b1014;
    border-radius: 11px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(245,158,11,0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}

/* When nav pill has unread, make pill itself pop a bit */
.admin-nav a.has-unread:not(.is-active) {
    background: #fffbeb;
    color: #b45309;
}
.admin-nav a.has-unread:not(.is-active):hover {
    background: #fef3c7;
    color: #92400e;
}
.admin-nav a.is-active .nav-badge {
    box-shadow: 0 0 0 2px var(--ink), 0 2px 6px rgba(245,158,11,0.5);
}

/* Message cards */
.msg-card {
    position: relative;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.msg-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(15,23,42,0.05);
}
.msg-card--unread {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(90deg, #fffbeb 0%, #ffffff 300px);
}
.msg-card--unread:hover {
    border-color: #cbd5e1;
    border-left-color: #f59e0b;
}

.msg-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.msg-card__from {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--ink);
}
.msg-card__from strong { color: var(--ink); }
.msg-card--unread .msg-card__from strong { color: #b45309; }
.msg-card__new {
    display: inline-block;
    padding: 2px 8px;
    background: #f59e0b;
    color: #0b1014;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.msg-card__email { color: #2563eb; font-weight: 600; font-size: 13px; }
.msg-card__email:hover { text-decoration: underline; }
.msg-card__phone { color: var(--ink-muted); font-size: 13px; }
.msg-card__phone a { color: var(--ink-muted); }
.msg-card__time {
    font-size: 12px;
    color: var(--ink-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.msg-card__subject {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 8px 0 10px;
}
.msg-card__body {
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-wrap;
    margin-bottom: 14px;
}
.msg-card--unread .msg-card__body { color: var(--ink); }
.msg-card__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* =============================================================
   ESCROW / TREUHANDSERVICE — premium page
   ============================================================= */

/* Trust chips under the hero split */
.trust-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid rgba(245,158,11,0.25);
}
.trust-chip svg { color: var(--accent); }

/* Pillar cards (3-up trust section) */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
    position: relative;
    padding: 36px 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: left;
    transition: all .35s var(--ease);
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s var(--ease);
}
.pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-card__icon {
    width: 64px; height: 64px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: all .3s var(--ease);
}
.pillar-card:hover .pillar-card__icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-4deg) scale(1.05);
}
.pillar-card__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--ink);
}
.pillar-card__text {
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* =============================================================
   PREMIUM 5-STEP TIMELINE (escrow-timeline)
   Horizontal on desktop with connecting amber path.
   ============================================================= */
.escrow-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 20px;
    position: relative;
}
@media (max-width: 1100px) {
    .escrow-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
    .escrow-timeline { grid-template-columns: 1fr; }
}

.et-step {
    position: relative;
    padding: 32px 22px 28px;
    text-align: center;
    color: var(--ink-on-dark);
    animation-delay: var(--delay, 0s);
}
/* Connector line (dashed amber) between steps — drawn via ::before */
.et-step__connector {
    position: absolute;
    top: 76px;  /* align with middle of icon */
    left: 50%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, rgba(245,158,11,0.5) 0 10px, transparent 10px 18px);
    z-index: 0;
    pointer-events: none;
}
/* Hide connector on the last step */
.et-step:last-child .et-step__connector { display: none; }
/* On mobile stack, hide all connectors */
@media (max-width: 1100px) {
    .et-step__connector { display: none; }
}

/* Icon: round glowing badge */
.et-step__icon {
    position: relative;
    z-index: 1;
    width: 80px; height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #0b1014;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.15), 0 12px 32px -6px rgba(245,158,11,0.4);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.et-step:hover .et-step__icon {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 0 0 5px rgba(245,158,11,0.22), 0 18px 40px -6px rgba(245,158,11,0.55);
}

.et-step__num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 8px;
}
.et-step__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink-on-dark);
    margin: 0 0 10px;
    line-height: 1.25;
}
.et-step__text {
    font-size: 13.5px;
    color: var(--ink-on-dark-muted);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================
   ESCROW FEATURES (6 icon cards)
   ============================================================= */
.escrow-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}
@media (max-width: 900px) { .escrow-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .escrow-features { grid-template-columns: 1fr; } }

.ef-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all .25s var(--ease);
}
.ef-card:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateX(4px);
}
.ef-card__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--ease);
}
.ef-card:hover .ef-card__icon {
    background: var(--accent);
    color: #fff;
}
.ef-card__text {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 4px 20px -6px rgba(245,158,11,0.2);
}
.faq-item__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    list-style: none;
    transition: background .2s var(--ease);
}
.faq-item__q:hover { background: var(--bg-soft); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__chev {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform .3s var(--ease);
}
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item__a {
    padding: 0 24px 22px;
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: -1px;
}

/* =============================================================
   ESCROW FINAL CTA PANEL
   ============================================================= */
.escrow-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 48px 56px;
    background: linear-gradient(135deg, #0b1014 0%, #141e2a 100%);
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px -20px rgba(11,16,20,0.4);
}
.escrow-cta::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
    pointer-events: none;
}
@media (max-width: 900px) {
    .escrow-cta { grid-template-columns: 1fr; padding: 36px 28px; }
}

.escrow-cta__body .kicker { color: var(--accent); margin-bottom: 12px; }
.escrow-cta__title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--ink-on-dark);
    margin: 0 0 14px;
    line-height: 1.2;
}
.escrow-cta__text {
    font-size: 16px;
    color: var(--ink-on-dark-muted);
    margin: 0 0 28px;
    line-height: 1.65;
    max-width: 540px;
}
.escrow-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.escrow-cta__side {
    color: var(--accent);
    opacity: 0.28;
    position: relative;
    z-index: 1;
}
.btn--light {
    color: var(--ink-on-dark);
    border-color: rgba(255,255,255,0.25);
}
.btn--light:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(245,158,11,0.1);
}

/* =============================================================
   ABOUT US — premium page elements
   ============================================================= */

/* ---- Stats band (4 tiles with icon + big number + label) ---- */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 10px;
}
@media (max-width: 900px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-band { grid-template-columns: 1fr; } }

.stat-tile {
    position: relative;
    padding: 28px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: left;
    transition: all .35s var(--ease);
    overflow: hidden;
}
.stat-tile::after {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(245,158,11,0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: all .35s var(--ease);
}
.stat-tile:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.stat-tile:hover::after {
    background: radial-gradient(circle at top right, rgba(245,158,11,0.2) 0%, transparent 70%);
}
.stat-tile__icon {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.stat-tile__num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-tile__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
}

/* ---- CEO signature block ---- */
.ceo-sig {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
}
.ceo-sig__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #b45309);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}
.ceo-sig__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.ceo-sig__role {
    font-size: 12.5px;
    color: var(--ink-muted);
    margin-top: 2px;
}

/* =============================================================
   HISTORY TIMELINE (vertical, with year markers and amber line)
   Used on About Us on dark section
   ============================================================= */
.history-timeline {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 820px;
    position: relative;
}
/* Vertical amber line running through the markers */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 100px;               /* aligned with center of year column */
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(245,158,11,0.6) 0%, rgba(245,158,11,0.25) 100%);
}
@media (max-width: 680px) {
    .history-timeline::before { left: 24px; }
}

.ht-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 12px 0 40px;
    animation-delay: var(--delay, 0s);
}
@media (max-width: 680px) {
    .ht-item { grid-template-columns: 1fr; gap: 14px; padding-left: 60px; }
}
.ht-item:last-child { padding-bottom: 0; }

.ht-item__marker {
    position: relative;
    text-align: right;
    padding-right: 36px;
}
@media (max-width: 680px) {
    .ht-item__marker { text-align: left; padding-right: 0; position: static; }
}
.ht-item__dot {
    position: absolute;
    right: -10px; top: 6px;      /* sits on the timeline line */
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid #0b1014;   /* cut-out of the dark bg */
    box-shadow: 0 0 0 4px rgba(245,158,11,0.25), 0 0 20px rgba(245,158,11,0.5);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (max-width: 680px) {
    .ht-item__dot { right: auto; left: -48px; top: 8px; }
}
.ht-item:hover .ht-item__dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(245,158,11,0.35), 0 0 28px rgba(245,158,11,0.7);
}
.ht-item__year {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
@media (max-width: 680px) {
    .ht-item__year { font-size: 24px; }
}
.ht-item__body {
    padding-top: 2px;
}
.ht-item__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-on-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}
.ht-item__text {
    color: var(--ink-on-dark-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}
