/* ==========================================================================
   EURO ABSCHLEPPSERVICE – Design System
   Autor: ORRIX · Professionelles Abschlepp- & Transport-Theme
   ========================================================================== */

/* ------------------------------ 1. Tokens ------------------------------- */
:root {
    /* Farben */
    --c-bg:            #0b1114;
    --c-bg-2:          #0f171b;
    --c-bg-3:          #131e23;
    --c-surface:       #16232a;
    --c-surface-2:     #1b2a32;
    --c-line:          rgba(255, 255, 255, .08);
    --c-line-strong:   rgba(255, 255, 255, .14);

    --c-red:           #e11d2e;
    --c-red-600:       #c21422;
    --c-red-300:       #ff5a68;
    --c-red-soft:      rgba(225, 29, 46, .14);

    --c-text:          #eef2f4;
    --c-text-soft:     #b6c3ca;
    --c-text-muted:    #8598a1;

    --c-white:         #ffffff;
    --c-green:         #2fe081;

    --c-grad-red:      linear-gradient(135deg, #ff3546 0%, #e11d2e 45%, #a50d19 100%);
    --c-grad-dark:     linear-gradient(180deg, #0b1114 0%, #0f171b 100%);

    /* Typografie */
    --f-body:          'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --f-head:          'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

    --fs-xs: .78rem;
    --fs-sm: .88rem;
    --fs-base: 1rem;
    --fs-md: 1.06rem;
    --fs-lg: 1.2rem;
    --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
    --fs-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
    --fs-3xl: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);

    /* Layout */
    --container: 1200px;
    --container-wide: 1360px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --header-h: 78px;

    /* Schatten */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .25);
    --shadow: 0 14px 40px rgba(0, 0, 0, .35);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, .5);
    --shadow-red: 0 16px 40px rgba(225, 29, 46, .35);

    /* Transition */
    --t-fast: .18s cubic-bezier(.4, 0, .2, 1);
    --t: .32s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------ 2. Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-red-300); }

h1, h2, h3, h4, h5 {
    font-family: var(--f-head);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
    color: var(--c-white);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--c-red); color: #fff; }

:focus-visible {
    outline: 2px solid var(--c-red-300);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ------------------------------ 3. Utilities ---------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.container--wide { max-width: var(--container-wide); }

.visually-hidden, .skip-link:not(:focus) {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 1000;
    background: var(--c-red); color: #fff;
    padding: .7rem 1.2rem; border-radius: var(--radius-sm);
    font-weight: 700;
}

.muted { color: var(--c-text-muted); }
.text-red { color: var(--c-red-300); }

.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 20px; height: 20px; }
.icon--lg { width: 32px; height: 32px; }
.icon--xl { width: 44px; height: 44px; }

.show-xs { display: none; }

/* Section basics */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--alt { background: var(--c-bg-2); }
.section--surface { background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg-3)); }

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
    text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--f-head);
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-red-300);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--c-red);
    border-radius: 2px;
}
.eyebrow--light { color: var(--c-white); }
.eyebrow--light::before { background: var(--c-white); }

.section-title { margin-bottom: .8rem; }
.section-sub { color: var(--c-text-soft); font-size: var(--fs-md); margin: 0; }

.lead { font-size: var(--fs-md); color: var(--c-text-soft); }

/* ------------------------------ 4. Buttons ------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: var(--fs-sm);
    line-height: 1;
    padding: .95rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--c-grad-red);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.btn--primary:hover { color: #fff; box-shadow: 0 20px 50px rgba(225, 29, 46, .5); }

.btn--outline {
    border-color: var(--c-line-strong);
    color: var(--c-text);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(6px);
}
.btn--outline:hover {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.btn--ghost { color: var(--c-text-soft); }
.btn--ghost:hover { color: var(--c-white); background: rgba(255, 255, 255, .06); }

.btn--white { background: #fff; color: #10181c; box-shadow: var(--shadow); }
.btn--white:hover { color: #10181c; }

.btn--sm { padding: .72rem 1.25rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.15rem 2rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* ------------------------------ 5. Topbar ------------------------------- */
.topbar {
    background: #070c0e;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
    padding-block: .4rem;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar__item, .topbar__link { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__link:hover { color: var(--c-white); }
.topbar__link--phone { color: var(--c-white); font-weight: 700; }
.topbar__sep { width: 1px; height: 14px; background: var(--c-line-strong); }

/* ------------------------------ 6. Header ------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 17, 20, .78);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid var(--c-line);
    transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
.site-header.is-scrolled {
    background: rgba(9, 14, 17, .95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    min-height: var(--header-h);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .75rem; flex: 0 0 auto; }
.brand__logo {
    width: 46px; height: 46px;
    object-fit: contain;
    border-radius: 10px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: .04em;
    color: #fff;
}
.brand__sub {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-red-300);
    margin-top: .22rem;
}

/* Navigation */
.main-nav__list { display: flex; align-items: center; gap: .35rem; }
.main-nav__link {
    display: block;
    position: relative;
    padding: .6rem .9rem;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
    border-radius: 999px;
    transition: color var(--t-fast), background var(--t-fast);
}
.main-nav__link::after {
    content: "";
    position: absolute;
    left: 50%; bottom: .28rem;
    width: 0; height: 2px;
    background: var(--c-red);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width var(--t);
}
.main-nav__link:hover { color: #fff; }
.main-nav__link:hover::after,
.main-nav__link.is-active::after { width: 18px; }
.main-nav__link.is-active { color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }

/* Burger */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 10px;
    border: 1px solid var(--c-line-strong);
    background: rgba(255, 255, 255, .04);
    position: relative;
}
.nav-toggle__bar {
    position: absolute;
    left: 12px; right: 12px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t-fast), top var(--t);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ------------------------------ 7. Hero --------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
    background:
        linear-gradient(120deg, rgba(225, 29, 46, .10), transparent 55%),
        linear-gradient(180deg, #0c1317 0%, #0a1013 100%);
}

/* Diagonal stripes (Brand-Element) */
.hero__stripes {
    position: absolute;
    inset: -10% -20%;
    z-index: -2;
    background: repeating-linear-gradient(
        118deg,
        rgba(225, 29, 46, .16) 0px,
        rgba(225, 29, 46, .16) 60px,
        transparent 60px,
        transparent 180px
    );
    opacity: .55;
    transform: skewY(-1deg);
    mask-image: radial-gradient(ellipse at 20% 20%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000 0%, transparent 70%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url('../images/main.jpg');
    background-size: cover;
    background-position: center 40%;
    opacity: .22;
    filter: grayscale(.35) contrast(1.1);
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, transparent 0%, rgba(10, 16, 19, .85) 70%),
        linear-gradient(180deg, rgba(10, 16, 19, .55) 0%, rgba(10, 16, 19, .98) 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: rgba(225, 29, 46, .16);
    border: 1px solid rgba(225, 29, 46, .4);
    margin-bottom: 1.4rem;
}
.hero__badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-green);
    box-shadow: 0 0 0 4px rgba(47, 224, 129, .18);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(47, 224, 129, .2); }
    50% { box-shadow: 0 0 0 7px rgba(47, 224, 129, .02); }
}

.hero__title { margin-bottom: 1.1rem; }
.hero__title span { color: var(--c-red-300); }

.hero__text {
    font-size: clamp(1rem, .95rem + .4vw, 1.18rem);
    color: var(--c-text-soft);
    max-width: 54ch;
    margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--c-line);
}
.hero__fact { display: flex; align-items: center; gap: .7rem; }
.hero__fact-icon {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--c-red-soft);
    color: var(--c-red-300);
}
.hero__fact strong { display: block; font-family: var(--f-head); font-size: 1.05rem; color: #fff; }
.hero__fact small { font-size: var(--fs-xs); color: var(--c-text-muted); }

/* Hero Bild-Karte */
.hero__media { position: relative; }
.hero__card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-line-strong);
    aspect-ratio: 4 / 3.2;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 12, 14, .85) 100%);
}
.hero__card-badge {
    position: absolute;
    left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .18);
}
.hero__card-badge .ico {
    display: grid; place-items: center;
    width: 44px; height: 44px; flex: 0 0 auto;
    border-radius: 12px;
    background: var(--c-grad-red);
    color: #fff;
}
.hero__card-badge strong { display: block; font-size: var(--fs-sm); color: #fff; }
.hero__card-badge span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .75); }

.hero__float {
    position: absolute;
    top: -1.2rem; right: -1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.1rem;
    border-radius: var(--radius);
    background: #fff;
    color: #0e1518;
    box-shadow: var(--shadow);
    animation: floaty 5s ease-in-out infinite;
}
.hero__float strong { font-family: var(--f-head); font-size: 1.1rem; }
.hero__float small { display: block; font-size: .68rem; color: #5c6b72; letter-spacing: .04em; }
.hero__float .stars { color: #f5b301; display: flex; gap: 1px; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ------------------------------ 8. Trust bar ---------------------------- */
.trustbar { border-bottom: 1px solid var(--c-line); background: var(--c-bg-2); }
.trustbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2.6rem;
    padding: 1rem 0;
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
}
.trustbar__item { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.trustbar__item .icon { color: var(--c-red-300); }

/* ------------------------------ 9. Feature cards ------------------------ */
.features { margin-top: -1px; }
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}
.feature-card {
    position: relative;
    padding: 2rem 1.6rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--c-surface), var(--c-bg-3));
    border: 1px solid var(--c-line);
    overflow: hidden;
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--c-grad-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(225, 29, 46, .35); box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
    display: grid; place-items: center;
    width: 62px; height: 62px;
    border-radius: 18px;
    background: var(--c-red-soft);
    color: var(--c-red-300);
    margin-bottom: 1.3rem;
    transition: background var(--t), color var(--t), transform var(--t);
}
.feature-card:hover .feature-card__icon {
    background: var(--c-grad-red);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.feature-card__title { font-size: var(--fs-lg); margin-bottom: .5rem; }
.feature-card__text { font-size: var(--fs-sm); color: var(--c-text-soft); margin: 0; }

/* ------------------------------ 10. Split sections ---------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.split__img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-line-strong);
    aspect-ratio: 5 / 4;
}
.split__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.split__img:hover img { transform: scale(1.06); }
.split__img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(200deg, transparent 55%, rgba(8, 12, 14, .55) 100%);
    pointer-events: none;
}

/* dekorativer Rahmen */
.split__media::before {
    content: "";
    position: absolute;
    inset: 18px -14px -14px 18px;
    border: 2px solid rgba(225, 29, 46, .35);
    border-radius: var(--radius-xl);
    z-index: -1;
}
.split--reverse .split__media::before { inset: 18px 18px -14px -14px; }

.split__tag {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    z-index: 2;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(10, 16, 19, .75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #fff;
}
.split__tag .icon { color: var(--c-red-300); }

.split__body .eyebrow { margin-bottom: .8rem; }
.split__title { font-size: var(--fs-2xl); margin-bottom: 1rem; }
.split__text { color: var(--c-text-soft); margin-bottom: 1.5rem; }

.checklist { display: grid; gap: .65rem; margin-bottom: 1.8rem; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
}
.checklist .icon { color: var(--c-green); margin-top: .18rem; flex: 0 0 auto; }

/* ------------------------------ 11. Stats ------------------------------- */
.stats {
    background:
        linear-gradient(rgba(11, 17, 20, .88), rgba(11, 17, 20, .92)),
        url('../images/abschleppss-1024x768.jpg') center / cover fixed;
    border-block: 1px solid var(--c-line);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    text-align: center;
}
.stat { padding: 1.2rem .5rem; position: relative; }
.stat + .stat::before {
    content: "";
    position: absolute; left: 0; top: 20%;
    width: 1px; height: 60%;
    background: var(--c-line-strong);
}
.stat__value {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .05em;
}
.stat__value .suffix { color: var(--c-red-300); font-size: .55em; }
.stat__label {
    margin-top: .6rem;
    font-size: var(--fs-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    font-weight: 600;
}

/* ------------------------------ 12. Process ----------------------------- */
.process { position: relative; }
.process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    counter-reset: step;
}
.process__line {
    position: absolute;
    top: 62px; left: 12%; right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-line-strong) 0 12px, transparent 12px 24px);
    z-index: 0;
}
.process__step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 .5rem;
}
.process__icon {
    position: relative;
    display: grid; place-items: center;
    width: 78px; height: 78px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-line-strong);
    color: var(--c-red-300);
    transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
}
.process__step:hover .process__icon {
    transform: translateY(-4px) scale(1.05);
    background: var(--c-grad-red);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.process__num {
    position: absolute;
    top: -6px; right: -6px;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--c-grad-red);
    color: #fff;
    font-family: var(--f-head);
    font-size: .78rem;
    font-weight: 800;
    border: 2px solid var(--c-bg);
}
.process__title { font-size: var(--fs-lg); margin-bottom: .5rem; }
.process__text { font-size: var(--fs-sm); color: var(--c-text-soft); margin: 0; }

/* ------------------------------ 13. Testimonials ------------------------ */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}
.testimonial {
    position: relative;
    padding: 2rem 1.7rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--c-surface), var(--c-bg-3));
    border: 1px solid var(--c-line);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.testimonial:hover { transform: translateY(-5px); border-color: rgba(225, 29, 46, .3); box-shadow: var(--shadow); }
.testimonial__quote {
    position: absolute;
    top: 1rem; right: 1.3rem;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(225, 29, 46, .18);
    pointer-events: none;
}
.testimonial__stars { display: flex; gap: 2px; color: #f5b301; }
.testimonial__text { color: var(--c-text-soft); font-size: var(--fs-sm); margin: 0; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: .75rem; padding-top: .4rem; border-top: 1px solid var(--c-line); }
.testimonial__avatar {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--c-red-soft);
    color: var(--c-red-300);
    font-family: var(--f-head);
    font-weight: 800;
}
.testimonial__name { font-weight: 700; font-size: var(--fs-sm); color: #fff; }
.testimonial__role { font-size: var(--fs-xs); color: var(--c-text-muted); }

/* ------------------------------ 14. FAQ --------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item {
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    overflow: hidden;
    transition: border-color var(--t), background var(--t);
}
.faq__item[open] { border-color: rgba(225, 29, 46, .4); background: var(--c-bg-3); }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: var(--fs-base);
    color: #fff;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--c-red-300); transition: transform var(--t); flex: 0 0 auto; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--c-text-soft); font-size: var(--fs-sm); }

/* ------------------------------ 15. Partners ---------------------------- */
.partners__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 6vw, 5rem);
}
.partner {
    display: flex;
    align-items: center;
    gap: .9rem;
    opacity: .72;
    transition: opacity var(--t), transform var(--t);
    filter: grayscale(1);
}
.partner:hover { opacity: 1; filter: grayscale(0); transform: translateY(-3px); }
.partner__mark {
    display: grid; place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}
.partner__name {
    font-family: var(--f-head);
    font-weight: 800;
    letter-spacing: .04em;
    font-size: 1.05rem;
    color: #fff;
}
.partner__sub { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); }

/* ------------------------------ 16. CTA Band ---------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: var(--c-grad-red);
    isolation: isolate;
}
.cta-band__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(0, 0, 0, .3), transparent 50%);
}
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-band__title { color: #fff; font-size: var(--fs-2xl); margin-bottom: .5rem; }
.cta-band__sub { color: rgba(255, 255, 255, .88); margin: 0; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn--primary { background: #0d1417; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.cta-band .btn--primary:hover { background: #000; color: #fff; }
.cta-band .btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-band .btn--outline:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

/* ------------------------------ 17. Footer ------------------------------ */
.site-footer {
    background: #070c0e;
    border-top: 1px solid var(--c-line);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.1fr .9fr .9fr;
    gap: clamp(1.8rem, 4vw, 3.5rem);
    padding-bottom: 3rem;
}
.brand--footer { margin-bottom: 1.2rem; }
.footer__about { font-size: var(--fs-sm); color: var(--c-text-muted); max-width: 36ch; margin-bottom: 1.3rem; }
.footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--c-line);
    color: var(--c-text-soft);
}
.footer__title {
    font-size: var(--fs-sm);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.2rem;
}
.footer__list { display: grid; gap: 1rem; }
.footer__contact {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
}
.footer__contact .icon { color: var(--c-red-300); margin-top: .18rem; flex: 0 0 auto; }
.footer__contact a:hover { color: #fff; }
.footer__links { display: grid; gap: .65rem; }
.footer__links a {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: color var(--t-fast), transform var(--t-fast);
}
.footer__links a:hover { color: #fff; transform: translateX(3px); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--c-line);
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
}
.footer-copy { margin: 0; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: #fff; }

/* ------------------------------ 18. To-Top & Call-Bar ------------------- */
.to-top {
    position: fixed;
    right: 1.5rem; bottom: 1.5rem;
    z-index: 90;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--c-grad-red);
    color: #fff;
    box-shadow: var(--shadow-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.9);
    transition: opacity var(--t), visibility var(--t), transform var(--t), background var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--c-red-600); }

.call-bar { display: none; }

/* Mobile-Nav Backdrop (Dunkel-Overlay hinter dem Sidebar-Menü) */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150; /* unter dem Panel (200), über Header (100) */
    background: rgba(4, 8, 10, .65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t), visibility var(--t);
}
.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (min-width: 961px) {
    .nav-backdrop { display: none; }
}

/* ------------------------------ 19. Page hero (Unterseiten) ------------- */
.page-hero {
    position: relative;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        linear-gradient(110deg, rgba(225, 29, 46, .12), transparent 60%),
        var(--c-bg-2);
    border-bottom: 1px solid var(--c-line);
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -10%; top: -40%;
    width: 55%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(225, 29, 46, .22), transparent 65%);
    pointer-events: none;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--c-red-300); }
.breadcrumb__sep { opacity: .5; }
.page-hero__title { font-size: var(--fs-3xl); margin-bottom: .7rem; }
.page-hero__text { color: var(--c-text-soft); max-width: 62ch; margin: 0; }

/* ------------------------------ 20. Forms ------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    gap: clamp(1.6rem, 4vw, 3rem);
    align-items: start;
}
.card {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--c-surface), var(--c-bg-3));
    border: 1px solid var(--c-line);
    padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-sm);
}
.card__title { font-size: var(--fs-lg); margin-bottom: 1.3rem; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--c-text-soft);
}
.field label .req { color: var(--c-red-300); }

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: var(--fs-sm);
    color: var(--c-text);
    background: var(--c-bg);
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-muted); opacity: .7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 46, .18);
    background: var(--c-bg-2);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238598a1' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--c-red); }
.field__error { font-size: .74rem; color: var(--c-red-300); font-weight: 600; }

.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--c-red); flex: 0 0 auto; }
.field--check label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    line-height: 1.5;
}

.form-note { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: 1rem; }

.alert {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    margin-bottom: 1.4rem;
    border: 1px solid transparent;
}
.alert--success { background: rgba(47, 224, 129, .1); border-color: rgba(47, 224, 129, .35); color: #8ef0b9; }
.alert--error { background: rgba(225, 29, 46, .1); border-color: rgba(225, 29, 46, .35); color: #ff9aa3; }
.alert ul { list-style: disc; padding-left: 1.2rem; margin: .3rem 0 0; display: grid; gap: .2rem; }

/* Kontakt-Info-Sidebar */
.contact-info { display: grid; gap: 1rem; }
.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    transition: border-color var(--t), transform var(--t);
}
.info-card:hover { border-color: rgba(225, 29, 46, .35); transform: translateY(-2px); }
.info-card__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; flex: 0 0 auto;
    border-radius: 12px;
    background: var(--c-red-soft);
    color: var(--c-red-300);
}
.info-card__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--c-text-muted); margin-bottom: .2rem; }
.info-card__value { font-weight: 600; color: #fff; font-size: var(--fs-sm); }
.info-card__value a:hover { color: var(--c-red-300); }

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-line);
    aspect-ratio: 16 / 9;
    background: var(--c-surface);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) invert(.9) hue-rotate(180deg); }

/* ------------------------------ 21. Legal pages ------------------------- */
.legal { max-width: 840px; margin-inline: auto; }
.legal h2 { font-size: var(--fs-xl); margin-top: 2.4rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: var(--fs-lg); margin-top: 1.6rem; }
.legal p, .legal li { color: var(--c-text-soft); font-size: var(--fs-sm); }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.legal a { color: var(--c-red-300); text-decoration: underline; }
.legal__box {
    padding: 1.4rem;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    margin-bottom: 1.6rem;
}

/* ------------------------------ 22. 404 --------------------------------- */
.error-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 4rem 0;
}
.error-code {
    font-family: var(--f-head);
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 900;
    line-height: 1;
    background: var(--c-grad-red);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------------ 23. Reveal Animation -------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ------------------------------ 24. Responsive -------------------------- */
@media (max-width: 1080px) {
    .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col--brand { grid-column: 1 / -1; }
    .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; }
    .process__line { display: none; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(86vw, 340px);
        height: 100dvh; /* dynamische Viewport-Höhe (mobil ohne Browser-UI-Abschnitt) */
        background: #0a1013;
        border-left: 1px solid var(--c-line);
        /* Topbar (~40px) + Header – damit kein Menüpunkt mehr unten abgeschnitten wird */
        padding: calc(var(--header-h) + 52px) 1.5rem 2.5rem;
        transform: translateX(100%);
        transition: transform var(--t);
        z-index: 200; /* über Header (100) und Topbar liegen */
        box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    @supports not (height: 100dvh) {
        .main-nav { height: 100vh; }
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: .25rem; margin-bottom: 1rem; padding-bottom: 1rem; }
    .main-nav__link { padding: .9rem 1rem; font-size: var(--fs-base); border-radius: var(--radius-sm); }
    .main-nav__link::after { display: none; }
    .main-nav__link.is-active, .main-nav__link:hover { background: rgba(255, 255, 255, .06); }

    .nav-toggle { display: block; z-index: 210; position: relative; }
    .hide-sm { display: none; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__media { max-width: 560px; margin-inline: auto; }
    .hero__float { right: .2rem; }

    .split { grid-template-columns: 1fr; gap: 2rem; }
    .split--reverse .split__media { order: 0; }
    .split__media::before { display: none; }

    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
    .stat:nth-child(3)::before { display: none; }

    .testimonials__grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }

    .topbar__left .topbar__sep,
    .topbar__left .topbar__item:nth-child(3) { display: none; }
}

@media (max-width: 640px) {
    .hide-xs { display: none; }
    .show-xs { display: inline; }

    .topbar__left { display: none; }
    .topbar__inner { justify-content: center; }
    .topbar__right { width: 100%; justify-content: center; gap: .8rem; }
    .topbar__link { font-size: .7rem; }

    .brand__logo { width: 40px; height: 40px; }
    .brand__name { font-size: 1rem; }
    .brand__sub { font-size: .58rem; letter-spacing: .16em; }

    .features__grid { grid-template-columns: 1fr; }
    .feature-card { padding: 1.6rem 1.3rem; }

    .hero { padding-top: 2.2rem; }
    .hero__inner { gap: 2rem; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .hero__facts { gap: 1.1rem 1.6rem; }
    .hero__float { display: none; }

    .form-grid { grid-template-columns: 1fr; }

    .cta-band__inner { flex-direction: column; text-align: center; }
    .cta-band__actions { width: 100%; flex-direction: column; }
    .cta-band__actions .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .process__grid { grid-template-columns: 1fr; }

    .to-top { display: none; }

    /* Mobile Sticky Call Bar */
    .call-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .7rem;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 95;
        padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
        background: var(--c-grad-red);
        color: #fff;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, .4);
    }
    .call-bar span { display: flex; flex-direction: column; line-height: 1.15; }
    .call-bar strong { font-family: var(--f-head); font-size: .95rem; }
    .call-bar small { font-size: .68rem; opacity: .85; }

    body { padding-bottom: 62px; }
    .site-footer { padding-bottom: 4.5rem; }
}

@media (max-width: 380px) {
    .stat__value { font-size: 1.8rem; }
    .partner__name { font-size: .92rem; }
}

/* ------------------------------ 25. Print ------------------------------- */
@media print {
    .topbar, .site-header, .cta-band, .call-bar, .to-top, .site-footer, .hero__stripes, .hero__bg { display: none !important; }
    body { background: #fff; color: #000; }
    h1, h2, h3 { color: #000; }
    a { text-decoration: underline; color: #000; }
    .card, .feature-card { border: 1px solid #ccc; box-shadow: none; background: #fff; }
}
