/* ================================================
   EWAY web+entwicklung – Custom CSS
   UIkit 3 + Tailwind overrides
   Corporate Identity: Orange #fb8c00 on Dark #1a1a2e
   ================================================ */

/* ── Variables ──────────────────────────────────── */
:root {
    --eway-orange:      #fb8c00;
    --eway-orange-d:    #f57c00;
    --eway-orange-l:    #fff3e0;
    --eway-orange-m:    #ffe0b2;
    --eway-dark:        #1a1a2e;
    --eway-dark2:       #16213e;
    --eway-dark3:       #0f3460;
    --eway-sidebar-w:   260px;
    --eway-radius:      .75rem;
    --eway-radius-sm:   .5rem;
    --eway-shadow:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.05);
    --eway-shadow-md:   0 4px 16px rgba(251,140,0,.15), 0 1px 4px rgba(0,0,0,.08);
    --eway-transition:  200ms cubic-bezier(.4,0,.2,1);
}

/* ── Sidebar layout ─────────────────────────────── */
.eway-layout { display: flex; min-height: 100vh; }

.eway-sidebar {
    width: var(--eway-sidebar-w);
    flex-shrink: 0;
    /* Eleganter Verlauf: tiefes Marineblau → satter Dunkelton → leicht violett */
    background: linear-gradient(
        170deg,
        #0b1730 0%,
        #111827 35%,
        #1a1a2e 65%,
        #12102a 100%
    );
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform var(--eway-transition);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.08) transparent;
    /* Tiefer Schatten auf den Inhalt rechts */
    box-shadow:
        6px 0 24px rgba(0,0,0,.55),
        2px 0  8px rgba(0,0,0,.35);
}
/* Orangefarbener Akzentstreifen ganz oben – edel */
.eway-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--eway-orange) 0%, var(--eway-orange-d) 60%, transparent 100%);
    flex-shrink: 0;
    z-index: 1;
}
.eway-sidebar::-webkit-scrollbar { width: 3px; }
.eway-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.eway-main {
    margin-left: var(--eway-sidebar-w);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* Empfängt den Schatten der Sidebar – erzeugt Tiefe */
    position: relative;
    z-index: 0;
}

/* Scroll-Lock wenn Sidebar offen */
body.eway-sidebar-open { overflow: hidden; }

@media (max-width: 1023px) {
    .eway-sidebar {
        transform: translateX(-100%);
        box-shadow: none;
        /* Weichere Slide-Kurve für mobile */
        transition: transform 280ms cubic-bezier(.4,0,.2,1);
    }
    .eway-sidebar.is-open {
        transform: translateX(0);
        box-shadow: 8px 0 40px rgba(0,0,0,.7);
    }
    .eway-main { margin-left: 0; }
}

/* Overlay: Fade statt display-Toggle für flüssige Animation */
.eway-overlay {
    display: block !important;        /* immer im DOM */
    position: fixed;
    inset: 0;
    background: rgba(10,15,35,.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
}
.eway-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Mobile topbar ──────────────────────────────── */
:root { --eway-topbar-h: 58px; }

.eway-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.125rem;
    height: var(--eway-topbar-h);
    /* Gleicher Gradient wie Sidebar */
    background: linear-gradient(90deg, #0b1730 0%, #111827 60%, #1a1a2e 100%);
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-top: 3px solid var(--eway-orange);
    /* Über dem Inhalt schweben */
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 98;
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
@media (max-width: 1023px) {
    .eway-topbar { display: flex; }
    /* Inhalt um Topbar-Höhe nach unten schieben */
    .eway-main { padding-top: var(--eway-topbar-h); }
}

/* Burger Button */
.eway-burger {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: .5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    transition: background var(--eway-transition);
    flex-shrink: 0;
    position: relative;
}
.eway-burger:hover  { background: rgba(255,255,255,.12); }
.eway-burger:focus-visible { outline: 2px solid var(--eway-orange); outline-offset: 2px; }

/* Burger ↔ X Icon-Toggle */
.eway-burger .eway-burger-close { display: none; position: absolute; }
.eway-burger .eway-burger-open  { display: flex; }
.eway-burger.is-open .eway-burger-open  { display: none; }
.eway-burger.is-open .eway-burger-close { display: flex; position: absolute; }

/* Sidebar Close-Button (nur mobile sichtbar) */
.eway-sidebar-close {
    display: none;
    position: absolute;
    top: .875rem;
    right: .875rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: .5rem;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--eway-transition), color var(--eway-transition);
}
.eway-sidebar-close:hover { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 1023px) { .eway-sidebar-close { display: flex; } }

/* Größere Tap-Targets auf Mobile (min 48×48px WCAG) */
@media (max-width: 1023px) {
    .eway-nav-item {
        padding: .875rem 1.25rem;
        margin: .15rem .75rem;
        font-size: .9rem;
    }
}

/* Mobile Section & Hero Padding reduzieren */
@media (max-width: 767px) {
    .eway-hero { padding: 2.5rem 1.25rem 2rem !important; }
    .eway-page-content section { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .eway-breadcrumb { padding: .625rem 1.25rem; }
    .eway-footer-inner { padding: 0 1.25rem; }
    .eway-footer-bottom { flex-direction: column; align-items: flex-start; }
    /* Buttons auf Mobile volle Breite */
    .eway-hero .eway-btn-primary,
    .eway-hero .eway-btn-ghost { width: 100%; justify-content: center; }
}

/* ── Sidebar internals ──────────────────────────── */
.eway-sidebar-logo {
    padding: 1.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
    text-align: center;            /* Logo zentriert */
    /* Subtiler Leuchteffekt hinter dem Logo */
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(251,140,0,.08) 0%, transparent 70%);
}
.eway-sidebar-logo a { display: inline-block; }
.eway-sidebar-logo img {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto;                /* horizontal zentriert */
    /* Leichter Glow für edles Feeling */
    filter: drop-shadow(0 2px 12px rgba(251,140,0,.25));
}

.eway-sidebar-nav { padding: .75rem 0; flex: 1; }

.eway-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1.25rem;
    margin: .1rem .75rem;
    border-radius: var(--eway-radius-sm);
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--eway-transition), color var(--eway-transition);
}
.eway-nav-item:hover      { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.eway-nav-item.active     { background: var(--eway-orange); color: #fff; font-weight: 600; }
.eway-nav-item:focus-visible { outline: 2px solid var(--eway-orange); outline-offset: -2px; }
.eway-nav-icon            { width: 1rem; height: 1rem; flex-shrink: 0; opacity: .75; }
.eway-nav-item.active .eway-nav-icon { opacity: 1; }

/* ── Breadcrumb ─────────────────────────────────── */
.eway-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    font-size: .78rem;
    color: #94a3b8;
    padding: .875rem 2rem;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}
.eway-breadcrumb a  { color: #64748b; text-decoration: none; }
.eway-breadcrumb a:hover { color: var(--eway-orange); }
.eway-breadcrumb [aria-current] { color: var(--eway-orange); font-weight: 500; }

/* ── Page hero ──────────────────────────────────── */
.eway-hero {
    background: linear-gradient(135deg, var(--eway-dark) 0%, var(--eway-dark2) 50%, var(--eway-dark3) 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem 4rem;
}
.eway-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 60% 0%, rgba(251,140,0,.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(251,140,0,.08) 0%, transparent 60%);
    pointer-events: none;
}
.eway-hero-grid {
    position: absolute;
    /* Extended beyond section so parallax movement never shows a bare edge */
    top: -20%; bottom: -20%; left: 0; right: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    will-change: transform;
}

/* Generic parallax background layer (anniversary, CTA band) */
.eway-parallax-layer {
    position: absolute;
    top: -20%; bottom: -20%; left: 0; right: 0;
    pointer-events: none;
    will-change: transform;
    z-index: 0;
}

/* ── Section helpers ────────────────────────────── */
.eway-section-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--eway-orange);
    background: var(--eway-orange-l);
    padding: .28rem .8rem;
    border-radius: 9999px;
    margin-bottom: .75rem;
}

/* ── Cards ──────────────────────────────────────── */
.eway-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--eway-radius);
    box-shadow: var(--eway-shadow);
    transition: box-shadow var(--eway-transition), transform var(--eway-transition), border-color var(--eway-transition);
    overflow: hidden;
}
.eway-card:hover {
    box-shadow: var(--eway-shadow-md);
    transform: translateY(-2px);
    border-color: var(--eway-orange-m);
}
.eway-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .65rem;
    background: var(--eway-orange-l);
    color: var(--eway-orange);
    flex-shrink: 0;
    transition: background var(--eway-transition), color var(--eway-transition);
}
.eway-card:hover .eway-card-icon { background: var(--eway-orange); color: #fff; }

/* ── Buttons ────────────────────────────────────── */
.eway-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    background: var(--eway-orange);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    border-radius: var(--eway-radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--eway-transition), transform var(--eway-transition), box-shadow var(--eway-transition);
    box-shadow: 0 2px 8px rgba(251,140,0,.35);
    font-family: inherit;
}
.eway-btn-primary:hover  { background: var(--eway-orange-d); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(251,140,0,.4); color: #fff; text-decoration: none; }
.eway-btn-primary:active { transform: translateY(0); }
.eway-btn-primary:focus-visible { outline: 2px solid var(--eway-orange-d); outline-offset: 3px; }

.eway-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    border-radius: var(--eway-radius-sm);
    border: 1.5px solid rgba(255,255,255,.25);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--eway-transition), border-color var(--eway-transition);
    font-family: inherit;
    backdrop-filter: blur(6px);
}
.eway-btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: #fff; text-decoration: none; }
.eway-btn-ghost:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── Stat counters ──────────────────────────────── */
.eway-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--eway-orange);
    line-height: 1;
    letter-spacing: -.02em;
}

/* ── CTA band ───────────────────────────────────── */
.eway-cta-band {
    background: linear-gradient(135deg, var(--eway-dark) 0%, var(--eway-dark3) 100%);
    position: relative;
    overflow: hidden;
}
.eway-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(251,140,0,.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Badges ─────────────────────────────────────── */
.eway-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .2rem .65rem;
    border-radius: 9999px;
}
.eway-badge--orange  { background: var(--eway-orange-l); color: var(--eway-orange-d); }
.eway-badge--green   { background: #dcfce7; color: #15803d; }
.eway-badge--dark    { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ── Testimonial ────────────────────────────────── */
.eway-testimonial {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--eway-radius);
    padding: 1.75rem;
    position: relative;
}
.eway-testimonial::before {
    content: '\201C';
    position: absolute;
    top: .75rem;
    left: 1.25rem;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--eway-orange-m);
    font-family: Georgia, serif;
    pointer-events: none;
}

/* ── Form ───────────────────────────────────────── */
.eway-form-field {
    width: 100%;
    padding: .625rem .9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--eway-radius-sm);
    font-size: .875rem;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    transition: border-color var(--eway-transition), box-shadow var(--eway-transition), background var(--eway-transition);
    font-family: inherit;
}
.eway-form-field:focus { border-color: var(--eway-orange); box-shadow: 0 0 0 3px rgba(251,140,0,.15); background: #fff; }
.eway-form-field::placeholder { color: #94a3b8; }
.eway-form-field:focus-visible { outline: none; }

/* ── Footer ─────────────────────────────────────── */
.eway-footer { background: var(--eway-dark); color: rgba(255,255,255,.55); padding: 3rem 0 0; }
.eway-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.eway-footer-heading {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin: 0 0 .75rem;
}
.eway-footer-list  { list-style: none; margin: 0; padding: 0; }
.eway-footer-list li { margin-bottom: .35rem; }
.eway-footer-list a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .82rem; transition: color .2s; }
.eway-footer-list a:hover { color: var(--eway-orange); }
.eway-footer-muted  { color: rgba(255,255,255,.4); margin: 0; }
.eway-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .75rem;
    color: rgba(255,255,255,.3);
}
.eway-footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.eway-footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── Speed Dial ─────────────────────────────────── */
/*
   Layout (bottom-right corner):
   ┌──────────────────┐
   │   [🍪]           │  ← cookie, slides UP on hover
   │   [↑]  [⚙ DE]   │  ← scroll-top (anchor) + a11y (slides IN from right)
   └──────────────────┘
*/
.eway-speed-dial {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: .5rem;
    /* Expand hover zone slightly so panel stays open when moving to it */
    padding: .5rem;
    margin: -.5rem;
}

/* Vertical column: cookie stacked above scroll-top */
.eway-speed-dial__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

/* Scroll-to-top (anchor — always visible when scrolled) */
#scroll-top {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--eway-orange);
    color: #fff;
    border-radius: var(--eway-radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(251,140,0,.4);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--eway-transition), transform var(--eway-transition), background var(--eway-transition);
    pointer-events: none;
    flex-shrink: 0;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scroll-top:hover   { background: var(--eway-orange-d); transform: translateY(-1px); }
#scroll-top:focus-visible { outline: 2px solid var(--eway-orange-d); outline-offset: 3px; }

/* Secondary buttons – hidden by default */
.eway-speed-dial__btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--eway-radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Hidden start state */
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, background .18s ease;
}

/* Cookie button: slides UP from below */
.eway-speed-dial__btn--up {
    transform: translateY(10px);
    background: var(--eway-orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(251,140,0,.4);
}
.eway-speed-dial__btn--up:hover   { background: var(--eway-orange-d); }
.eway-speed-dial__btn--up:focus-visible { outline: 2px solid var(--eway-orange-d); outline-offset: 3px; }

/* A11y button: slides in from RIGHT */
.eway-speed-dial__btn--side {
    transform: translateX(10px);
    background: var(--eway-dark2);
    color: rgba(255,255,255,.9);
    border: 1.5px solid rgba(255,255,255,.2);
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    position: relative;        /* for the lang badge */
    transition-delay: .06s;    /* slight stagger after cookie */
}
.eway-speed-dial__btn--side:hover { background: var(--eway-dark3); }
.eway-speed-dial__btn--side:focus-visible { outline: 2px solid var(--eway-orange); outline-offset: 2px; }

/* Language badge on a11y button */
.eway-speed-dial__lang-badge {
    position: absolute;
    top: -.3rem;
    right: -.3rem;
    background: var(--eway-orange);
    color: #fff;
    font-size: .48rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    padding: .15rem .28rem;
    border-radius: 9999px;
    pointer-events: none;
}

/* ── Reveal on hover / expanded state ─────────────
   Uses :has() to only trigger when scroll-top is visible.
   Falls back gracefully in older browsers.
   JS also adds .is-expanded for touch devices.
*/
.eway-speed-dial:has(#scroll-top.visible):hover .eway-speed-dial__btn,
.eway-speed-dial:has(#scroll-top.visible):focus-within .eway-speed-dial__btn,
.eway-speed-dial.is-expanded .eway-speed-dial__btn {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

/* ── Animations ─────────────────────────────────── */
.eway-fade-in { animation: ewayFade .4s ease both; }
@keyframes ewayFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

[data-anim].eway-anim-ready { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-anim].eway-anim-ready.eway-in-view { opacity: 1; transform: none; }

/* ── UIkit overrides ────────────────────────────── */
.uk-container { max-width: 1160px; }
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* Remove UIkit navbar active underline */
.uk-navbar-nav > li.uk-active > a::before { display: none !important; }

/* Focus-visible ring for keyboard nav (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--eway-orange);
    outline-offset: 2px;
}

/* ── Content page layout ────────────────────────── */
.eway-page-content { flex: 1; }

/* ════════════════════════════════════════════════
   HERO – with background image
   ════════════════════════════════════════════════ */
.eway-hero--with-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center top;
    opacity: .07;
    pointer-events: none;
    z-index: 0;
}

/* ── Hero Portrait ──────────────────────────────── */
.eway-hero-portrait {
    position: relative;
    display: inline-block;
    max-width: 360px;
    margin: 0 auto;
}
.eway-hero-portrait__img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    border: 3px solid rgba(251,140,0,.25);
    box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 4px 16px rgba(251,140,0,.2);
    display: block;
    object-fit: cover;
    aspect-ratio: 433/541;
}

/* 20-Jahre Badge im Hero-Portrait */
.eway-anniversary-badge {
    position: absolute;
    bottom: 1.25rem;
    right: -1rem;
    background: var(--eway-orange);
    color: #fff;
    border-radius: 1rem;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    box-shadow: 0 8px 24px rgba(251,140,0,.5);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    border: 3px solid rgba(255,255,255,.15);
}
.eway-anniversary-badge__number {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1;
    color: #fff;
}
.eway-anniversary-badge__text {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .9;
}

/* ── About Portrait (pages/ueber-uns + index about section) ── */
.eway-about-portrait {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}
.eway-about-portrait__img {
    width: 100%;
    height: auto;
    border-radius: var(--eway-radius);
    box-shadow: 0 16px 48px rgba(0,0,0,.15);
    display: block;
    object-fit: cover;
    aspect-ratio: 433/541;
}
.eway-about-portrait__badge {
    position: absolute;
    bottom: 1rem;
    left: -1rem;
    background: var(--eway-dark);
    color: rgba(255,255,255,.9);
    border-radius: .75rem;
    padding: .5rem .875rem;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .35rem;
    border: 2px solid var(--eway-orange);
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.eway-about-portrait__badge [uk-icon] {
    color: var(--eway-orange);
}

/* ════════════════════════════════════════════════
   20 JAHRE EWAY – Anniversary Teaser Section
   ════════════════════════════════════════════════ */
.eway-anniversary {
    background: linear-gradient(135deg, #0b1730 0%, #1a1a2e 45%, #0f1f3d 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}
.eway-anniversary::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 15% 50%, rgba(251,140,0,.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(251,140,0,.07) 0%, transparent 60%);
    pointer-events: none;
}
/* Decorative ring/circle background */
.eway-anniversary::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(251,140,0,.05);
    border-radius: 50%;
    pointer-events: none;
}

.eway-anniversary__inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* Big "20" visual */
.eway-anniversary__visual {
    position: relative;
    flex-shrink: 0;
}
.eway-anniversary__big {
    font-size: clamp(7rem, 15vw, 12rem);
    font-weight: 900;
    color: var(--eway-orange);
    line-height: 1;
    display: block;
    letter-spacing: -.04em;
    text-shadow: 0 0 80px rgba(251,140,0,.4), 0 4px 24px rgba(251,140,0,.2);
    position: relative;
    z-index: 1;
}
.eway-anniversary__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    border: 2px solid rgba(251,140,0,.2);
    border-radius: 50%;
    pointer-events: none;
}

.eway-anniversary__content {
    flex: 1;
    min-width: 260px;
}
.eway-anniversary__heading {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: .5rem 0 1.25rem;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.eway-anniversary__heading span {
    color: var(--eway-orange);
}
.eway-anniversary__desc {
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 0 2rem;
    font-size: .95rem;
}

/* Timeline milestones */
.eway-anniversary__milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}
.eway-anniversary__milestone {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.eway-anniversary__milestone-year {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--eway-orange);
    line-height: 1;
}
.eway-anniversary__milestone-label {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .03em;
}

/* ════════════════════════════════════════════════
   TESTIMONIALS – Avatar
   ════════════════════════════════════════════════ */
.eway-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--eway-orange-m);
}

/* ════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ════════════════════════════════════════════════ */
.eway-cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 99999;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--eway-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.2), 0 4px 16px rgba(0,0,0,.1);
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--eway-orange);
    left: auto;
    right: 1.25rem;
}
@media (max-width: 600px) {
    .eway-cookie-banner {
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        max-width: 100%;
    }
}
.eway-cookie-banner__inner {
    padding: 1.5rem;
}
.eway-cookie-banner__head {
    margin-bottom: .875rem;
}
.eway-cookie-banner__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
}
.eway-cookie-banner__text {
    font-size: .825rem;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}
.eway-cookie-banner__link {
    color: var(--eway-orange);
    text-decoration: underline;
}
.eway-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}
.eway-cookie-banner__actions .eway-btn-primary {
    font-size: .82rem;
    padding: .55rem 1.1rem;
}
.eway-cookie-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1.1rem;
    background: transparent;
    color: #475569;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--eway-radius-sm);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color var(--eway-transition), color var(--eway-transition);
}
.eway-cookie-btn-outline:hover { border-color: var(--eway-orange); color: var(--eway-orange); }
.eway-cookie-btn-text {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .55rem .75rem;
    background: transparent;
    color: #94a3b8;
    border: none;
    border-radius: var(--eway-radius-sm);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: color var(--eway-transition);
}
.eway-cookie-btn-text:hover { color: var(--eway-orange); }

/* Cookie detail categories */
.eway-cookie-details {
    border-top: 1px solid #f1f5f9;
    margin-top: .875rem;
    padding-top: .875rem;
}
.eway-cookie-cat {
    padding: .75rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.eway-cookie-cat:last-child { border-bottom: none; }
.eway-cookie-cat__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.eway-cookie-cat__info strong {
    font-size: .82rem;
    color: #1e293b;
    display: block;
    margin-bottom: .2rem;
}
.eway-cookie-cat__info p {
    font-size: .75rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}
.eway-cookie-locked {
    display: inline-flex;
    align-items: center;
    padding: .25rem .6rem;
    background: #f1f5f9;
    border-radius: 9999px;
    font-size: .7rem;
    color: #94a3b8;
    white-space: nowrap;
    gap: .25rem;
    flex-shrink: 0;
}

/* Toggle switch */
.eway-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.eway-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.eway-toggle__track {
    display: block;
    width: 2.5rem;
    height: 1.35rem;
    background: #cbd5e1;
    border-radius: 9999px;
    position: relative;
    transition: background var(--eway-transition);
}
.eway-toggle__track::after {
    content: '';
    position: absolute;
    top: .15rem;
    left: .15rem;
    width: 1.05rem;
    height: 1.05rem;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--eway-transition);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.eway-toggle__input:checked + .eway-toggle__track { background: var(--eway-orange); }
.eway-toggle__input:checked + .eway-toggle__track::after { transform: translateX(1.15rem); }
.eway-toggle__input:focus-visible + .eway-toggle__track { outline: 2px solid var(--eway-orange); outline-offset: 2px; }

/* Cookie reopen – styles via .eway-speed-dial__btn--up (see Speed Dial section) */

/* Prevent scroll behind open banner on mobile */
body.eway-cookie-open { /* only if needed – leave scroll enabled */ }

/* ════════════════════════════════════════════════
   ACCESSIBILITY FAB
   ════════════════════════════════════════════════ */
/* A11y trigger – styles via .eway-speed-dial__btn--side (see Speed Dial section) */

/* A11y panel – fixed, opens above speed-dial */
.eway-a11y-panel {
    position: fixed;
    bottom: 5.5rem;           /* above the speed-dial row */
    right: 1.5rem;
    z-index: 9998;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--eway-orange);
    border-radius: var(--eway-radius);
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
    width: min(300px, calc(100vw - 3rem));
    padding: 0;
    overflow: hidden;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}
.eway-a11y-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.eway-a11y-panel__head h3 {
    font-size: .82rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.eway-a11y-panel__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: .25rem;
    border-radius: .375rem;
    display: flex;
    align-items: center;
    transition: color var(--eway-transition);
}
.eway-a11y-panel__close:hover { color: #1e293b; }
.eway-a11y-panel__close:focus-visible { outline: 2px solid var(--eway-orange); outline-offset: 2px; }

/* Rows inside panel */
.eway-a11y-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-bottom: 1px solid #f8fafc;
    gap: .75rem;
}
.eway-a11y-row--col {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}
.eway-a11y-label {
    font-size: .8rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: default;
}

/* Text scale buttons */
.eway-a11y-textscale {
    display: flex;
    gap: .35rem;
}
.eway-a11y-scale-btn {
    padding: .3rem .7rem;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: .375rem;
    font-family: inherit;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    font-size: .8rem;
    transition: border-color var(--eway-transition), background var(--eway-transition), color var(--eway-transition);
}
.eway-a11y-scale-btn.active,
.eway-a11y-scale-btn:hover {
    background: var(--eway-orange-l);
    border-color: var(--eway-orange);
    color: var(--eway-orange-d);
}
.eway-a11y-scale-btn:focus-visible { outline: 2px solid var(--eway-orange); outline-offset: 2px; }

/* Language switcher inside panel */
.eway-a11y-lang {
    display: flex;
    gap: .35rem;
}
.eway-a11y-lang-btn {
    padding: .3rem .75rem;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: .375rem;
    font-size: .8rem;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    transition: border-color var(--eway-transition), background var(--eway-transition), color var(--eway-transition);
}
.eway-a11y-lang-btn.active,
.eway-a11y-lang-btn:hover {
    background: var(--eway-orange);
    border-color: var(--eway-orange);
    color: #fff;
    text-decoration: none;
}
.eway-a11y-lang-btn:focus-visible { outline: 2px solid var(--eway-orange); outline-offset: 2px; }


/* ════════════════════════════════════════════════
   HIGH CONTRAST MODE  (data-hc="1" on <html>)
   ════════════════════════════════════════════════ */
html[data-hc="1"],
html[data-hc="1"] body {
    background: #000 !important;
    color: #fff !important;
}
html[data-hc="1"] .eway-card,
html[data-hc="1"] .eway-testimonial,
html[data-hc="1"] .eway-cookie-banner,
html[data-hc="1"] .eway-a11y-panel {
    background: #000 !important;
    border-color: #fff !important;
    color: #fff !important;
}
html[data-hc="1"] .eway-sidebar,
html[data-hc="1"] .eway-topbar,
html[data-hc="1"] .eway-hero,
html[data-hc="1"] .eway-anniversary,
html[data-hc="1"] .eway-cta-band {
    background: #000 !important;
    border-bottom: 1px solid #fff !important;
}
html[data-hc="1"] a,
html[data-hc="1"] .eway-nav-item,
html[data-hc="1"] .eway-footer-list a,
html[data-hc="1"] .eway-footer-bottom a {
    color: #00e5ff !important;
    text-decoration: underline !important;
}
html[data-hc="1"] .eway-nav-item.active,
html[data-hc="1"] .eway-btn-primary,
html[data-hc="1"] .eway-anniversary-badge {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #fff !important;
}
html[data-hc="1"] :focus-visible {
    outline: 3px solid #ffd000 !important;
    outline-offset: 3px !important;
}

/* ════════════════════════════════════════════════
   REDUCE MOTION  (data-reduce-motion="1" on <html>)
   ════════════════════════════════════════════════ */
html[data-reduce-motion="1"] *,
html[data-reduce-motion="1"] *::before,
html[data-reduce-motion="1"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* ════════════════════════════════════════════════
   TEXT SCALE  (data-textscale="N" on <html>)
   ════════════════════════════════════════════════ */
html[data-textscale="115"] { font-size: 115%; }
html[data-textscale="130"] { font-size: 130%; }
