/* ============================================================
   TestDesignSystem.css — shared "Eventify dark iOS-style" design system
   for the whole /test-* demo page family (TestLayout.razor).

   WICHTIG: Diese Datei wird (wie jede Page-CSS in diesem Repo) auf JEDER
   Seite geladen, nicht nur auf /test-*. Deshalb OHNE AUSNAHME:
   - jede Regel unter der Wurzelklasse .ev-root geschachtelt
   - alle Klassen/Variablen mit ev-/--ev- praefixiert
   - alle @keyframes mit ev- praefixiert
   - niemals ein nacktes body{}, h1{}, section{}, .btn{} etc.

   Herkunft: konsolidiert aus TestLandingpageDesign.css (.tlp-root), der
   bisherigen "Master"-Kopie dieses Komponentensets. Tokens/Werte 1:1
   uebernommen, nur die Wurzelklasse wurde von .tlp-root auf .ev-root
   umbenannt. TestLayout.razor rendert <div class="ev-root"> um jede
   /test-* Seite, sodass diese Tokens/Komponenten ueberall greifen.

   Einzelne /test-* Seiten (TestLandingpageDesign.css, TestArtikelDesign.css,
   TestArtikelDetailDesign.css) behalten nur noch ihre eigenen,
   abweichenden/zusaetzlichen Regeln (siehe Kommentare dort) — bei
   Namenskollision gewinnt die Seiten-Datei, da sie in App.razor NACH
   dieser Datei geladen wird (normale CSS-Kaskade, gleiche Spezifitaet).
   ============================================================ */

.ev-root {
    --ev-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --ev-bg: #000;
    --ev-bg-elevated: #0b0b0c;
    --ev-surface: #1c1c1e;
    --ev-surface-2: #2c2c2e;
    --ev-surface-3: #3a3a3c;
    --ev-text: #f5f5f7;
    --ev-text-2: #a1a1a6;
    --ev-text-3: #86868b;
    --ev-line: rgba(255, 255, 255, .12);
    --ev-line-strong: rgba(255, 255, 255, .2);
    --ev-accent: #0071e3;
    --ev-accent-hover: #0a84ff;
    --ev-accent-active: #0062c4;
    --ev-link: #2997ff;
    --ev-accent-tint: rgba(10, 132, 255, .18);
    --ev-warm: #ff9f0a;
    --ev-success: #30d158;
    --ev-success-text: #32d74b;
    --ev-danger: #ff453a;
    --ev-stage: radial-gradient(90% 90% at 50% 60%, #fff, #e8e8ed);
    --ev-glass: rgba(28, 28, 30, .55);
    --ev-glass-blur: saturate(160%) blur(24px);
    --ev-header-bg: rgba(0, 0, 0, .6);
    --ev-r-sm: 12px;
    --ev-r-md: 18px;
    --ev-r-lg: 24px;
    --ev-r-xl: 32px;
    --ev-r-pill: 999px;
    --ev-s-1: 4px;
    --ev-s-2: 8px;
    --ev-s-3: 12px;
    --ev-s-4: 16px;
    --ev-s-5: 20px;
    --ev-s-6: 24px;
    --ev-s-7: 32px;
    --ev-s-8: 40px;
    --ev-s-9: 56px;
    --ev-s-10: 72px;
    --ev-s-11: 96px;
    --ev-s-12: 120px;
    --ev-container: 1200px;
    --ev-gutter: 40px;
    --ev-section: 64px;
    --ev-gap: 20px;
    --ev-shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
    --ev-shadow-md: 0 12px 40px rgba(0, 0, 0, .45);
    --ev-shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
    --ev-ease: cubic-bezier(.2, .7, .2, 1);
    --ev-dur-fast: 200ms;
    --ev-dur: 350ms;
    --ev-dur-slow: 900ms;
    --ev-header-h: 60px;
}

@media (max-width: 767px) {
    .ev-root {
        --ev-gutter: 20px;
        --ev-section: 48px;
        --ev-gap: 12px;
    }
}

/* ---- EmptyLayout-Escape: EmptyLayout.razor setzt body/html inline mit
   !important auf #2A2A2A/weiss. Auf jeder /test-* Seite muss das weg, da
   .ev-root selbst sein eigenes Layout/Scrolling/Theme steuert. Zwei Wege:
   :has() JS-frei + html.ev-test-active als Fallback/Verstaerkung (siehe
   testDesignSystem.js). Zentral hier statt je Seite dupliziert. ---- */
body:has(.ev-root) {
    display: block !important;
    background: #000 !important;
    color: #f5f5f7 !important;
    overflow-x: clip;
    padding-top: 0 !important;
    justify-content: normal;
    align-items: normal;
    min-width: 0;
}

html.ev-test-active body {
    display: block !important;
    background: #000 !important;
    color: #f5f5f7 !important;
    overflow-x: clip;
    padding-top: 0 !important;
    justify-content: normal;
    align-items: normal;
    min-width: 0;
}

/* ============================================================
   Komponenten-CSS (gemeinsames Set, aus TestLandingpageDesign.css
   uebernommen, Wurzelklasse von .tlp-root auf .ev-root umbenannt).
   ============================================================ */
.ev-root *,
.ev-root *::before,
.ev-root *::after {
    box-sizing: border-box;
}

.ev-root a {
    color: var(--ev-link);
    text-decoration: none;
}

.ev-root a:hover {
    text-decoration: underline;
}

.ev-root img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ev-root :focus-visible {
    outline: 2px solid var(--ev-link);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Blazor focuses programmatically-focused, non-interactive elements
   (e.g. the <h1> after navigation, tabindex="-1") for accessibility -
   that is correct behaviour, but it should not draw the same ring real
   interactive elements (links/buttons/inputs) get. Those keep the rule
   above untouched. */
.ev-root [tabindex="-1"]:focus,
.ev-root [tabindex="-1"]:focus-visible {
    outline: none;
}

.ev-root ::selection {
    background: var(--ev-accent-tint);
}

.ev-root {
    margin: 0;
    background: var(--ev-bg);
    color: var(--ev-text);
    font-family: var(--ev-font);
    font-size: 17px;
    line-height: 1.53;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ev-root.ev--photo {
    background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .72) 520px, rgba(0, 0, 0, .88) 900px, rgba(0, 0, 0, .9) 100%), var(--ev-bg-image) center top/100% auto repeat-y, #000;
    --ev-surface: var(--ev-glass);
    --ev-surface-2: rgba(44, 44, 46, .6);
    --ev-bg-elevated: transparent;
}

.ev-root.ev--photo .ev-card,
.ev-root.ev--photo .ev-product,
.ev-root.ev--photo .ev-bento__item,
.ev-root.ev--photo .ev-step,
.ev-root.ev--photo .ev-cta,
.ev-root.ev--photo .ev-filterbar,
.ev-root.ev--photo .ev-segmented {
    -webkit-backdrop-filter: var(--ev-glass-blur);
    backdrop-filter: var(--ev-glass-blur);
}

@supports not (backdrop-filter: blur(1px)) {
    .ev-root.ev--photo {
        --ev-surface: rgba(28, 28, 30, .92);
    }
}

@media (min-width: 1024px) {
    .ev-root.ev--photo {
        background-attachment: fixed;
        background-size: cover;
    }
}

.ev-root .ev-container {
    max-width: calc(var(--ev-container) + 2*var(--ev-gutter));
    margin: 0 auto;
    padding: 0 var(--ev-gutter);
}

.ev-root .ev-section {
    padding: var(--ev-section) 0;
}

.ev-root .ev-section--elevated {
    background: var(--ev-bg-elevated);
}

.ev-root .ev-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--ev-s-5);
    flex-wrap: wrap;
    margin-bottom: var(--ev-s-6);
}

.ev-root .ev-grid {
    display: grid;
    gap: var(--ev-gap);
}

.ev-root .ev-grid--2 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}

.ev-root .ev-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.ev-root .ev-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.ev-root .ev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ev-s-3);
    align-items: center;
}

.ev-root .ev-skip {
    position: absolute;
    left: -999px;
}

.ev-root .ev-skip:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    background: var(--ev-surface);
    padding: 8px 16px;
    border-radius: var(--ev-r-pill);
}

.ev-root .ev-display {
    font-size: clamp(44px, 6.5vw, 80px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.045em;
    margin: 0;
    text-wrap: balance;
}

.ev-root .ev-h1 {
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -.04em;
    margin: 0;
    text-wrap: balance;
}

.ev-root .ev-h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.035em;
    margin: 0;
    text-wrap: balance;
}

.ev-root .ev-h3 {
    font-size: clamp(24px, 2.4vw, 28px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
}

.ev-root .ev-h4 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0;
}

.ev-root .ev-lead {
    font-size: clamp(19px, 1.8vw, 22px);
    line-height: 1.45;
    color: var(--ev-text-2);
    margin: 0;
    max-width: 680px;
    text-wrap: pretty;
}

.ev-root .ev-body {
    font-size: 17px;
    line-height: 1.53;
    color: var(--ev-text-2);
}

.ev-root .ev-small {
    font-size: 14px;
    line-height: 1.43;
    color: var(--ev-text-3);
}

.ev-root .ev-eyebrow {
    font-size: 17px;
    font-weight: 600;
    color: var(--ev-link);
    margin: 0;
}

.ev-root .ev-muted {
    color: var(--ev-text-3);
}

.ev-root .ev-text-2 {
    color: var(--ev-text-2);
}

.ev-root .ev-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ev-root .ev-prose {
    max-width: 680px;
    color: var(--ev-text-2);
}

.ev-root .ev-prose h2 {
    color: var(--ev-text);
    font-size: 28px;
    letter-spacing: -.02em;
    margin: 48px 0 12px;
}

.ev-root .ev-prose h3 {
    color: var(--ev-text);
    font-size: 21px;
    margin: 32px 0 8px;
}

.ev-root .ev-prose p,
.ev-root .ev-prose li {
    font-size: 17px;
    line-height: 1.6;
}

.ev-root .ev-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--ev-header-h);
    background: var(--ev-header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--ev-line);
}

.ev-root .ev-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ev-root .ev-header__logo img {
    height: 30px;
    width: auto;
}

.ev-root .ev-nav {
    display: flex;
    gap: 32px;
}

.ev-root .ev-nav a {
    color: var(--ev-text);
    font-size: 14px;
    opacity: .88;
    transition: opacity var(--ev-dur-fast);
}

.ev-root .ev-nav a:hover,
.ev-root .ev-nav a[aria-current] {
    opacity: 1;
    text-decoration: none;
}

.ev-root .ev-nav a[aria-current] {
    color: var(--ev-link);
}

.ev-root .ev-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ev-root .ev-header__menu {
    display: none;
}

@media (max-width: 899px) {
    .ev-root .ev-nav {
        position: fixed;
        inset: var(--ev-header-h) 0 0;
        flex-direction: column;
        gap: 0;
        padding: 24px var(--ev-gutter);
        background: rgba(0, 0, 0, .92);
        -webkit-backdrop-filter: blur(30px);
        backdrop-filter: blur(30px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity var(--ev-dur) var(--ev-ease), transform var(--ev-dur) var(--ev-ease);
    }

    .ev-root .ev-nav a {
        font-size: 28px;
        font-weight: 600;
        padding: 12px 0;
        border-bottom: 1px solid var(--ev-line);
    }

    .ev-root .ev-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .ev-root .ev-header__menu {
        display: inline-flex;
    }

    .ev-root .ev-header__actions .ev-btn {
        display: none;
    }
}

.ev-root .ev-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: var(--ev-r-pill);
    border: 0;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform var(--ev-dur-fast) var(--ev-ease), background var(--ev-dur-fast), color var(--ev-dur-fast);
}

.ev-root .ev-btn:hover {
    transform: scale(1.04);
}

.ev-root .ev-btn:active {
    transform: scale(.98);
}

.ev-root .ev-btn svg {
    width: 18px;
    height: 18px;
}

.ev-root .ev-btn--primary {
    background: var(--ev-accent);
    color: #fff !important;
}

.ev-root .ev-btn--primary:hover {
    background: var(--ev-accent-hover);
}

.ev-root .ev-btn--primary:active {
    background: var(--ev-accent-active);
}

.ev-root .ev-btn--secondary {
    background: var(--ev-surface-2);
    color: var(--ev-text) !important;
}

.ev-root .ev-btn--secondary:hover {
    background: var(--ev-surface-3);
}

.ev-root .ev-btn--light {
    background: var(--ev-text);
    color: #000 !important;
}

.ev-root .ev-btn--ghost {
    background: transparent;
    color: var(--ev-link) !important;
    padding-left: 0;
    padding-right: 0;
}

.ev-root .ev-btn--ghost:hover {
    transform: none;
    text-decoration: underline !important;
}

.ev-root .ev-btn--whatsapp {
    background: var(--ev-success);
    color: #000 !important;
}

.ev-root .ev-btn--sm {
    min-height: 34px;
    padding: 8px 16px;
    font-size: 14px;
}

.ev-root .ev-btn--lg {
    min-height: 52px;
    padding: 16px 28px;
    font-size: 17px;
}

.ev-root .ev-btn--block {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--ev-r-md);
    padding: 18px 24px;
    font-size: 17px;
}

.ev-root .ev-btn:disabled,
.ev-root .ev-btn[aria-disabled=true] {
    opacity: .45;
    pointer-events: none;
}

.ev-root .ev-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--ev-surface-2);
    color: var(--ev-text);
    cursor: pointer;
    transition: background var(--ev-dur-fast);
}

.ev-root .ev-icon-btn:hover {
    background: var(--ev-surface-3);
}

.ev-root .ev-icon-btn svg {
    width: 18px;
    height: 18px;
}

.ev-root .ev-icon-btn--accent {
    color: var(--ev-link);
}

.ev-root .ev-header .ev-icon-btn {
    background: transparent;
    width: 36px;
    height: 36px;
}

.ev-root .ev-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--ev-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-root .ev-badge:empty,
.ev-root .ev-badge[data-count="0"] {
    display: none;
}

.ev-root .ev-hero {
    padding: 96px 0 0;
    text-align: center;
    background: radial-gradient(120% 70% at 50% 0%, #1c1c1e 0%, #000 60%);
}

.ev-root.ev--photo .ev-hero {
    background: transparent;
    min-height: 560px;
    padding-bottom: 72px;
}

.ev-root .ev-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.ev-root .ev-hero__stage {
    width: 100%;
    max-width: 1100px;
    height: clamp(260px, 38vw, 440px);
    margin-top: 28px;
    border-radius: var(--ev-r-xl) var(--ev-r-xl) 0 0;
    background: radial-gradient(80% 90% at 50% 100%, #fff 0%, #e8e8ed 60%, #d2d2d7 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.ev-root .ev-hero__stage img {
    height: 90%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ev-root .ev-float {
    animation: ev-float 7s ease-in-out infinite;
}

@keyframes ev-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.ev-root .ev-page-hero {
    padding: 56px 0 40px;
}

.ev-root .ev-page-hero .ev-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ev-root .ev-page-hero--photo {
    position: relative;
    padding: 120px 0 72px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), #000), var(--ev-hero-image) center/cover;
}

.ev-root .ev-search {
    display: flex;
    align-items: center;
    background: rgba(28, 28, 30, .7);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border-radius: var(--ev-r-pill);
    padding: 8px;
    margin-top: 14px;
    box-shadow: var(--ev-shadow-md), 0 0 0 1px var(--ev-line);
    text-align: left;
}

.ev-root .ev-search__field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 24px;
    min-width: 170px;
    border-right: 1px solid var(--ev-line);
    cursor: pointer;
}

.ev-root .ev-search__field:last-of-type {
    border-right: 0;
}

.ev-root .ev-search__field span {
    font-size: 12px;
    font-weight: 600;
}

.ev-root .ev-search__field input,
.ev-root .ev-search__field select {
    background: none;
    border: 0;
    color: var(--ev-text-2);
    font: inherit;
    font-size: 15px;
    padding: 0;
    outline: none;
    color-scheme: dark;
}

@media (max-width: 767px) {
    .ev-root .ev-search {
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--ev-r-lg);
        width: 100%;
    }

    .ev-root .ev-search__field {
        border-right: 0;
        border-bottom: 1px solid var(--ev-line);
        padding: 12px 16px;
    }

    .ev-root .ev-search .ev-btn {
        justify-content: center;
        margin-top: 8px;
    }
}

.ev-root .ev-trust {
    list-style: none;
    margin: 0;
    padding: 28px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    border-top: 1px solid var(--ev-line);
    border-bottom: 1px solid var(--ev-line);
}

.ev-root .ev-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.ev-root .ev-trust svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--ev-link);
}

.ev-root .ev-bento {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 280px 280px;
    gap: var(--ev-gap);
}

.ev-root .ev-bento__item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 36px;
    border-radius: 28px;
    background: var(--ev-surface);
    color: var(--ev-text) !important;
    text-decoration: none !important;
    transition: transform .4s var(--ev-ease);
}

.ev-root .ev-bento__item:hover {
    transform: scale(1.015);
}

.ev-root .ev-bento__item--hero {
    grid-row: span 2;
    padding: 40px;
}

.ev-root .ev-bento__item--light {
    background: radial-gradient(90% 80% at 70% 100%, #fff, #e8e8ed);
    color: #1d1d1f !important;
}

.ev-root .ev-bento__item--light .ev-bento__text {
    color: #424245;
}

.ev-root .ev-bento__item--light .ev-bento__kicker {
    color: #0066cc;
}

.ev-root .ev-bento__item--tint {
    background: linear-gradient(160deg, #0a2a4d, #0b1a2e);
}

.ev-root.ev--photo .ev-bento__item--tint {
    background: rgba(10, 132, 255, .22);
}

.ev-root .ev-bento__kicker {
    font-size: 14px;
    font-weight: 600;
    color: var(--ev-link);
}

.ev-root .ev-bento__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-top: auto;
}

.ev-root .ev-bento__item--hero .ev-bento__title {
    font-size: 36px;
    margin-top: 0;
    max-width: 420px;
}

.ev-root .ev-bento__text {
    font-size: 16px;
    color: var(--ev-text-2);
    line-height: 1.45;
    max-width: 420px;
}

.ev-root .ev-bento__img {
    position: absolute;
    right: -20px;
    bottom: -10px;
    width: min(470px, 70%);
    mix-blend-mode: multiply;
}

.ev-root .ev-bento__icon {
    width: 40px;
    height: 40px;
    color: var(--ev-link);
}

@media (max-width: 767px) {
    .ev-root .ev-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .ev-root .ev-bento__item--hero {
        grid-row: auto;
        min-height: 420px;
    }

    .ev-root .ev-bento__item {
        min-height: 220px;
    }
}

.ev-root .ev-card {
    position: relative;
    background: var(--ev-surface);
    border-radius: var(--ev-r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ev-root .ev-card--hover {
    transition: transform var(--ev-dur) var(--ev-ease), box-shadow var(--ev-dur);
}

.ev-root .ev-card--hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--ev-shadow-md);
}

.ev-root .ev-card__kicker {
    font-size: 13px;
    font-weight: 600;
    color: var(--ev-warm);
    margin: 0;
}

.ev-root .ev-card__title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--ev-text);
}

.ev-root .ev-card__title a {
    color: inherit;
}

.ev-root .ev-card__text {
    font-size: 15px;
    color: var(--ev-text-2);
    margin: 0;
}

.ev-root .ev-stretched::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.ev-root .ev-stretched:hover {
    text-decoration: none !important;
}

.ev-root .ev-product {
    position: relative;
    background: var(--ev-surface);
    border-radius: var(--ev-r-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--ev-dur) var(--ev-ease), box-shadow var(--ev-dur);
}

.ev-root .ev-product:hover {
    transform: translateY(-6px);
    box-shadow: var(--ev-shadow-md);
}

.ev-root .ev-stage {
    background: var(--ev-stage);
    border-radius: var(--ev-r-md);
    padding: 12px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ev-root .ev-stage img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s var(--ev-ease);
}

.ev-root .ev-product:hover .ev-stage img {
    transform: scale(1.04);
}

.ev-root .ev-product__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ev-root .ev-product__type {
    font-size: 12px;
    font-weight: 600;
    color: var(--ev-warm);
    margin: 0;
}

.ev-root .ev-product__name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 2px 0 0;
}

.ev-root .ev-product__name a {
    color: var(--ev-text);
}

.ev-root .ev-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ev-root .ev-product .ev-icon-btn {
    position: relative;
    z-index: 2;
}

.ev-root .ev-product.is-hidden {
    display: none;
}

.ev-root .ev-product.is-unavailable {
    opacity: .5;
}

.ev-root .ev-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ev-success-text);
}

.ev-root .ev-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.ev-root .ev-status--off {
    color: var(--ev-text-3);
}

.ev-root .ev-segmented {
    display: inline-flex;
    background: var(--ev-surface);
    border-radius: var(--ev-r-sm);
    padding: 3px;
    gap: 2px;
}

.ev-root .ev-segmented button {
    border: 0;
    background: transparent;
    color: var(--ev-text);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 9px;
    cursor: pointer;
    transition: background var(--ev-dur) var(--ev-ease), box-shadow var(--ev-dur);
}

.ev-root .ev-segmented button[aria-selected=true] {
    background: #636366;
    box-shadow: var(--ev-shadow-sm);
}

.ev-root .ev-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* .ev-chips (base rule above) already wraps - that is correct and
   sufficient on desktop, where there is room. The horizontal swipe-row
   (nowrap + scroll) only makes sense on narrow viewports, so it is
   scoped to the same max-width:767px breakpoint the rest of the design
   system uses - otherwise it clips the last chip on wide screens. */
@media (max-width: 767px) {
    .ev-root .ev-chips--scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 calc(-1*var(--ev-gutter));
        padding: 0 var(--ev-gutter);
    }
}

.ev-root .ev-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: var(--ev-r-pill);
    background: rgba(255, 255, 255, .1);
    color: var(--ev-text) !important;
    font-size: 14px;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    transition: background var(--ev-dur-fast);
}

.ev-root .ev-chip:hover {
    background: rgba(255, 255, 255, .2);
    text-decoration: none !important;
}

.ev-root .ev-chip.is-active {
    background: var(--ev-text);
    color: #000 !important;
}

.ev-root .ev-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--ev-gap);
}

.ev-root .ev-step {
    background: var(--ev-surface-2);
    border-radius: var(--ev-r-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ev-root.ev--photo .ev-step {
    background: var(--ev-glass);
}

.ev-root .ev-step__num {
    font-size: 48px;
    font-weight: 700;
    color: var(--ev-link);
    letter-spacing: -.04em;
    line-height: 1;
}

.ev-root .ev-step h3 {
    font-size: 22px;
    margin: 0;
}

.ev-root .ev-step p {
    margin: 0;
    color: var(--ev-text-2);
    font-size: 16px;
}

.ev-root .ev-accordion__item {
    border-bottom: 1px solid var(--ev-line);
}

.ev-root .ev-accordion__item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    cursor: pointer;
    font-size: 19px;
    font-weight: 600;
}

.ev-root .ev-accordion__item summary::-webkit-details-marker {
    display: none;
}

.ev-root .ev-accordion__item summary svg {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--ev-text-3);
    transition: transform var(--ev-dur) var(--ev-ease);
}

.ev-root .ev-accordion__item[open] summary svg {
    transform: rotate(180deg);
}

.ev-root .ev-accordion__body {
    overflow: hidden;
    transition: height .45s var(--ev-ease);
}

.ev-root .ev-accordion__body p {
    margin: 0 0 22px;
    color: var(--ev-text-2);
    max-width: 640px;
}

.ev-root .ev-shelf-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

.ev-root .ev-shelf-head>div {
    display: flex;
    gap: 10px;
}

.ev-root .ev-shelf {
    display: flex;
    gap: var(--ev-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px var(--ev-gutter) 24px;
    margin: 0 calc(-1*var(--ev-gutter));
}

.ev-root .ev-shelf::-webkit-scrollbar {
    display: none;
}

.ev-root .ev-shelf>* {
    flex: none;
    width: min(340px, 80vw);
    scroll-snap-align: start;
}

.ev-root .ev-cta {
    border-radius: var(--ev-r-xl);
    background: var(--ev-surface);
    padding: clamp(32px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

.ev-root .ev-cta>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ev-root .ev-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 767px) {
    .ev-root .ev-cta {
        grid-template-columns: 1fr;
    }
}

.ev-root .ev-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ev-root .ev-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ev-text-2);
}

.ev-root .ev-input,
.ev-root .ev-select,
.ev-root .ev-textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--ev-r-sm);
    border: 1px solid var(--ev-line);
    background: var(--ev-surface-2);
    color: var(--ev-text);
    font: inherit;
    font-size: 16px;
    color-scheme: dark;
    transition: border-color var(--ev-dur-fast), box-shadow var(--ev-dur-fast);
}

.ev-root .ev-input:focus,
.ev-root .ev-select:focus,
.ev-root .ev-textarea:focus {
    outline: none;
    border-color: var(--ev-link);
    box-shadow: 0 0 0 4px var(--ev-accent-tint);
}

.ev-root .ev-textarea {
    min-height: 140px;
    resize: vertical;
}

.ev-root .ev-field.is-error .ev-input {
    border-color: var(--ev-danger);
}

.ev-root .ev-field__hint {
    font-size: 13px;
    color: var(--ev-text-3);
}

.ev-root .ev-field.is-error .ev-field__hint {
    color: var(--ev-danger);
}

.ev-root .ev-filterbar {
    position: sticky;
    top: calc(var(--ev-header-h) + 8px);
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    padding: 12px;
    border-radius: var(--ev-r-lg);
    background: var(--ev-surface);
    box-shadow: var(--ev-shadow-sm);
}

.ev-root .ev-town-check__msg {
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
    margin: 8px 0 0;
    color: var(--ev-text-3);
    transition: color var(--ev-dur);
}

.ev-root .ev-town-check__msg.is-ok {
    color: var(--ev-success-text);
}

.ev-root .ev-town-check__msg.is-no {
    color: var(--ev-warm);
}

.ev-root .ev-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--ev-text-3);
}

.ev-root .ev-breadcrumb li+li::before {
    content: "›";
    margin-right: 6px;
}

.ev-root .ev-breadcrumb a {
    color: var(--ev-text-2);
}

.ev-root .ev-sheet__backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ev-dur);
}

.ev-root .ev-sheet {
    position: fixed;
    z-index: 81;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    background: var(--ev-surface);
    padding: 24px;
    transform: translateX(100%);
    transition: transform .45s var(--ev-ease);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ev-root .ev-sheet.is-open {
    transform: none;
}

.ev-root .ev-sheet.is-open+.ev-sheet__backdrop,
.ev-root .ev-sheet__backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .ev-root .ev-sheet {
        top: auto;
        left: 0;
        width: 100%;
        max-height: 85vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }

    .ev-root .ev-sheet::before {
        content: "";
        align-self: center;
        width: 36px;
        height: 5px;
        border-radius: 3px;
        background: var(--ev-surface-3);
    }
}

.ev-root .ev-skeleton {
    background: linear-gradient(90deg, var(--ev-surface) 0%, var(--ev-surface-2) 50%, var(--ev-surface) 100%);
    background-size: 200% 100%;
    animation: ev-shimmer 1.4s infinite;
    border-radius: var(--ev-r-lg);
}

@keyframes ev-shimmer {
    to { background-position: -200% 0; }
}

.ev-root .ev-footer {
    border-top: 1px solid var(--ev-line);
    padding: 56px 0 32px;
    font-size: 14px;
    color: var(--ev-text-2);
}

.ev-root .ev-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.ev-root .ev-footer h2 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ev-text);
    margin: 0 0 12px;
}

.ev-root .ev-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ev-root .ev-footer a {
    color: var(--ev-text-2);
}

.ev-root .ev-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ev-line);
    font-size: 12px;
    color: var(--ev-text-3);
}

/* Progressive enhancement / fail-safe: content is visible by default,
   so a page with JS disabled, blocked, slow or broken still shows all
   of its content. Only once testDesignSystem.js has positively signalled
   it is active (html.ev-js, set as the very first thing the script does)
   does the hidden "about to be revealed" start state apply. */
.ev-root [data-ev-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity var(--ev-dur-slow) var(--ev-ease), transform var(--ev-dur-slow) var(--ev-ease);
}

html.ev-js .ev-root [data-ev-reveal] {
    opacity: 0;
    transform: translateY(32px);
}

html.ev-js .ev-root [data-ev-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ev-root [data-ev-reveal] {
        opacity: 1;
        transform: none;
    }

    html.ev-js .ev-root [data-ev-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   APPEND-ONLY: /test-landingpage redesign techniques (Ember & Crumb /
   goldie), shared so other /test-* pages can reuse them later. All new
   selectors, nothing above this point was changed.
   ============================================================ */

/* ---- Section counters "NN / 09 · NAME" + hairline rule above each
   top-level section head (Ember & Crumb micro-label technique). ---- */
.ev-root .ev-section-counter {
    display: flex;
    align-items: center;
    gap: var(--ev-s-2);
    margin: 0 0 var(--ev-s-5);
    padding-top: var(--ev-s-5);
    border-top: 1px solid var(--ev-line);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ev-text-3);
}

.ev-root .ev-section-counter__num {
    color: var(--ev-link);
}

.ev-root .ev-section-counter__sep {
    color: var(--ev-line-strong);
}

/* ---- Small uppercase micro-label, e.g. above a segmented control
   ("MODELL WÄHLEN") - same type treatment as the section counter above,
   without the hairline/count (not tied to a top-level section). ---- */
.ev-root .ev-micro-label {
    display: block;
    margin: 0 0 var(--ev-s-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ev-text-3);
}

/* ---- Italic-serif accent word inside an otherwise sans-serif headline
   (Ember & Crumb). No webfont - system serif stack only. ---- */
.ev-root .ev-accent-serif {
    font-family: ui-serif, Georgia, serif;
    font-style: italic;
    font-weight: 500;
}

/* ---- Outline-pill-with-arrow secondary button variant (Ember & Crumb),
   for links like "Alle Hüpfburgen →" that previously used ev-btn--ghost. ---- */
.ev-root .ev-btn--outline {
    background: transparent;
    border: 1px solid var(--ev-line-strong);
    color: var(--ev-text) !important;
}

.ev-root .ev-btn--outline:hover {
    border-color: var(--ev-link);
    color: var(--ev-link) !important;
    background: transparent;
    transform: none;
}

.ev-root .ev-btn__arrow {
    display: inline-block;
    transition: transform var(--ev-dur-fast) var(--ev-ease);
}

.ev-root .ev-btn--outline:hover .ev-btn__arrow {
    transform: translateX(4px);
}

/* ---- CSS-only marquee ticker, replaces the former static .ev-trust list.
   The track renders the same four real claims twice back-to-back and
   scrolls exactly one copy-width, so the loop is seamless. Disabled
   under prefers-reduced-motion (shows the (static) first copy only). ---- */
.ev-root .ev-ticker {
    overflow: hidden;
    border-top: 1px solid var(--ev-line);
    border-bottom: 1px solid var(--ev-line);
    padding: var(--ev-s-4) 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ev-root .ev-ticker__track {
    display: flex;
    width: max-content;
    gap: var(--ev-s-9);
    animation: ev-ticker-scroll 26s linear infinite;
}

.ev-root .ev-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: var(--ev-s-2);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ev-text-2);
    white-space: nowrap;
}

.ev-root .ev-ticker__item svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--ev-link);
}

@keyframes ev-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ev-root .ev-ticker__track {
        animation: none;
    }

    .ev-root .ev-ticker__item[aria-hidden="true"] {
        display: none;
    }
}

/* ---- Featured-product stage section ("goldie" technique): one model
   centred large on a stage, switched by the .ev-segmented control above
   it. Reuses the existing .ev-stage/.ev-segmented components; only the
   wrapper/gallery/spec-row classes below are new. ---- */
.ev-root .ev-stage-gallery {
    max-width: 640px;
    margin: var(--ev-s-7) auto 0;
}

.ev-root .ev-stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ev-s-5);
    text-align: center;
}

/* Shared CSS only covers .ev-product.is-hidden - this stage item class
   needs the same toggle. */
.ev-root .ev-stage-item.is-hidden {
    display: none;
}

.ev-root .ev-stage--featured {
    width: 100%;
    aspect-ratio: 4/3;
    padding: var(--ev-s-7);
}

.ev-root .ev-stage-spec {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--ev-s-2) 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ev-text-3);
}

.ev-root .ev-stage-spec__item:not(:first-child)::before {
    content: "·";
    margin: 0 var(--ev-s-3);
    color: var(--ev-line-strong);
}

.ev-root .ev-stage-spec__item--ar {
    color: var(--ev-link);
}
