/* =====================================================================
   uver GmbH – Global Site Layer · DESIGN V3 "EDITORIAL"
   Kinematisch-editorial: dunkle Ink-Bühne (Magenta-Spektrum) im Wechsel
   mit Weiß, riesige Uppercase-Typo, Magenta als einziger Akzent.
   CI: #980e82 · Quicksand · Logo unangetastet.
   ===================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Links niemals unterstrichen */
a, a:hover, a:focus { text-decoration: none !important; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #f3e9f1; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c01aa4, #980e82);
    border-radius: 99px; border: 2px solid #f3e9f1;
}
::-webkit-scrollbar-thumb:hover { background: #e62db9; }

/* ---------- Scroll-Progress ---------- */
#scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    z-index: 2000;
    background: linear-gradient(90deg, #980e82, #e62db9, #ff8fe0);
    box-shadow: 0 0 12px var(--magenta-glow);
    transition: width 0.1s linear;
    pointer-events: none;
}

body.home-dark { background: var(--ink); color: var(--ink-text); }

/* Einheitlicher Container site-weit: fixe Maximalbreite + großzügiges,
   responsives Seiten-Padding (überschreibt Bootstrap-15px) */
.container {
    max-width: var(--maxw);
    padding-left: clamp(20px, 5vw, 44px);
    padding-right: clamp(20px, 5vw, 44px);
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================================
   TYPO-SYSTEM (Editorial)
   ===================================================================== */
.ed-eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-mono); font-size: 12.5px;
    letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--magenta-500); font-weight: 700;
    margin: 0 0 22px;
}
.ed-eyebrow::before { content: ""; width: 40px; height: 1.5px; background: var(--magenta-500); }
.ed-eyebrow.center { justify-content: center; }
.ed-eyebrow.center::before { display: none; }

.ed-display {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 0.98;
    margin: 0 0 24px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    color: var(--text);
}
.ed-display .accent { color: var(--magenta-600); }
.ed-display .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--magenta-500);
}
/* auf dunkler Bühne */
.ink .ed-display { color: var(--ink-text); }
.ink .ed-display .accent { color: var(--magenta-400); }
.ink .ed-display .outline { -webkit-text-stroke-color: rgba(255,255,255,0.55); }

.ed-sub {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75; max-width: 640px;
    font-weight: 500;
}
.ink .ed-sub { color: var(--ink-text-dim); }

/* Dunkle Sektion */
.ink { background: var(--ink); color: var(--ink-text); }
.ink-2 { background: var(--ink-2); }

/* ---------- Buttons ---------- */
.ed-btn {
    --bx: 0px; --by: 0px;
    position: relative; display: inline-flex; align-items: center; gap: 12px;
    padding: 17px 34px; border-radius: 99px;
    font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
    letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; border: 0;
    color: #fff; background: var(--primary);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
    transform: translate(var(--bx), var(--by));
}
.ed-btn:hover { color: #fff; background: var(--magenta-500); box-shadow: 0 14px 38px rgba(152,14,130,0.4); }
.ed-btn i { transition: transform 0.3s var(--ease); }
.ed-btn:hover i { transform: translateX(4px); }

.ed-btn.line {
    background: transparent; color: var(--text);
    border: 1.5px solid rgba(31,23,38,0.35);
}
.ed-btn.line:hover { border-color: var(--magenta-600); color: var(--magenta-600); background: transparent; box-shadow: none; }
.ink .ed-btn.line { color: #fff; border-color: rgba(255,255,255,0.4); }
.ink .ed-btn.line:hover { border-color: var(--magenta-400); color: var(--magenta-300); }

/* ---------- Tag-Chips (Hammerer-Stil) ---------- */
.ed-tag {
    display: inline-flex; align-items: center;
    padding: 7px 14px; border-radius: 4px;
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    background: rgba(255,255,255,0.10);
    border: 1px solid var(--ink-border);
    color: #efe2ec;
}
.light-tags .ed-tag {
    background: var(--bg-2); border-color: var(--border); color: var(--magenta-700);
}

/* ---------- Section-Shell ---------- */
.ed-section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.ed-head { margin-bottom: clamp(44px, 6vw, 80px); }
.ed-head.split {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}

/* =====================================================================
   GIMMICK-UTILITIES (aus V2 übernommen – JS-kompatibel)
   ===================================================================== */
.reveal {
    opacity: 0; transform: translateY(34px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Custom Cursor (nur Home, Pointer-Geräte) */
.fx-cursor, .fx-cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
    body.home-dark.cursor-on,
    body.home-dark.cursor-on a,
    body.home-dark.cursor-on button,
    body.home-dark.cursor-on [data-cursor] { cursor: none; }
    body.home-dark.cursor-on .fx-cursor,
    body.home-dark.cursor-on .fx-cursor-dot { display: block; }
    .fx-cursor {
        position: fixed; top: 0; left: 0; width: 38px; height: 38px;
        border: 1.5px solid var(--magenta-500); border-radius: 50%;
        transform: translate(-50%, -50%); pointer-events: none; z-index: 3000;
        transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, border-color 0.25s;
        mix-blend-mode: difference;
    }
    .fx-cursor.hot { width: 62px; height: 62px; background: rgba(230,45,185,0.14); border-color: var(--magenta-400); }
    .fx-cursor-dot {
        position: fixed; top: 0; left: 0; width: 6px; height: 6px;
        background: var(--magenta-500); border-radius: 50%;
        transform: translate(-50%, -50%); pointer-events: none; z-index: 3001;
    }
}

/* ---------- "Future is now" – Slogan-Marquee ---------- */
.slogan-marquee {
    position: relative; overflow: hidden;
    background: var(--grad-magenta);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.slogan-marquee .track { display: flex; gap: 0; width: max-content; animation: slogan-scroll 42s linear infinite; }
.slogan-marquee:hover .track { animation-play-state: paused; }
.slogan-marquee .item {
    display: inline-flex; align-items: center; gap: 26px; padding: 0 13px;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #fff; white-space: nowrap;
}
.slogan-marquee .item .star { color: rgba(255,255,255,0.65); font-size: 0.7em; }
.slogan-marquee .item .ghost { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.6); }
@keyframes slogan-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .slogan-marquee .track { animation: none; } }

/* =====================================================================
   UNTERSEITEN – Page-Title (Editorial, dunkel)
   ===================================================================== */
body .section-title {
    padding: clamp(110px, 15vw, 170px) 0 clamp(70px, 10vw, 110px) !important;
    background:
        radial-gradient(70% 130% at 80% -10%, rgba(230,45,185,0.20), transparent 60%),
        radial-gradient(60% 120% at 10% 0%, rgba(152,14,130,0.25), transparent 60%),
        var(--ink) !important;
    background-size: cover !important;
    text-align: center;
}
body .section-title .overlay { display: none !important; }
body .section-title h2 {
    font-family: var(--font-display); font-weight: 700;
    text-transform: uppercase; letter-spacing: -0.01em;
    font-size: clamp(2.6rem, 7vw, 5rem) !important;
    color: #fff !important;
}
body .section-title .breadcrumbs { margin-top: 18px !important; }
body .section-title .breadcrumbs a { color: var(--magenta-400) !important; font-weight: 600; }
body .section-title .breadcrumbs span { color: var(--ink-text-dim) !important; }
body .section-title .breadcrumbs a:before { background: var(--magenta-400) !important; }
body .section-title .separator:before { background: var(--grad-magenta-soft) !important; height: 4px; width: 60px; }

/* Legal-Seiten Typo */
.section-impressum h3, .section-agb h3, .section-data_privacy h3 { font-family: var(--font-display); color: var(--text); }
.section-impressum h3::after, .section-agb h3::after, .section-data_privacy h3::after {
    content: ""; display: block; width: 46px; height: 3px; margin-top: 8px;
    background: var(--grad-magenta-soft); border-radius: 2px;
}
.section-impressum, .section-agb, .section-data_privacy { color: var(--text); }
.section-impressum a, .section-agb a, .section-data_privacy a { color: var(--magenta-600); }

:root { --secondary-rgb: 152, 14, 130; }

/* =====================================================================
   DEVICE-MOCKUPS (Referenzen) – Browser- & Phone-Frame mit Skeleton-UI
   ===================================================================== */
.ref-media { position: relative; padding: 0 clamp(30px, 6%, 90px) clamp(34px, 7%, 70px) 0; }

.dev-browser {
    position: relative; border-radius: 18px; overflow: hidden;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(230,45,185,0.30);
}
.db-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #efe4ec; }
.db-dot { width: 11px; height: 11px; border-radius: 50%; }
.db-dot.d1 { background: #ff5f57; } .db-dot.d2 { background: #febc2e; } .db-dot.d3 { background: #28c840; }
.db-url {
    margin-left: 12px; flex: 0 1 auto;
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border-radius: 99px; padding: 5px 16px;
    font-family: var(--font-body); font-weight: 700; font-size: 11.5px;
    letter-spacing: 0.5px; color: #6b5a66;
}
.db-url i { font-size: 9px; color: #21a15e; }
.db-screen { position: relative; aspect-ratio: 16 / 10; background: #f8f3f7; overflow: hidden; }
.db-screen > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Skeleton-UI (Platzhalter, bis echte Screenshots gepflegt sind) ---- */
.ui { position: absolute; inset: 0; padding: 4.5% 5%; display: flex; flex-direction: column; gap: 4.5%; }
.ui-nav { display: flex; align-items: center; gap: 3%; flex: 0 0 auto; }
.ui-logo { width: 6.5%; aspect-ratio: 1; border-radius: 26%; background: var(--grad-magenta-soft); }
.ui-pill { width: 9%; height: 8px; border-radius: 99px; background: #e2d5df; }
.ui-cta { width: 13%; height: 14px; border-radius: 99px; background: var(--primary); margin-left: auto; }

.ui-line { display: block; height: 8px; border-radius: 99px; background: #e2d5df; }
.ui-line.thin { height: 6px; opacity: 0.8; }
.w40{width:40%} .w50{width:50%} .w60{width:60%} .w70{width:70%} .w80{width:80%} .w90{width:90%}

/* V1 – Bestell-App */
.ui-hero {
    border-radius: 12px; background: var(--grad-magenta);
    padding: 3.5% 4%; display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto;
}
.ui-h-line { display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,0.85); }
.ui-h-line.thin { height: 7px; background: rgba(255,255,255,0.5); }
.ui-h-btn { width: 20%; height: 13px; border-radius: 99px; background: #fff; margin-top: 4px; }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; }
.ui-card {
    background: #fff; border-radius: 10px; padding: 4%;
    display: flex; flex-direction: column; gap: 7px;
    box-shadow: 0 6px 18px rgba(70,8,60,0.10);
}
.ui-img { display: block; width: 100%; flex: 1; min-height: 26%; border-radius: 7px; background: linear-gradient(135deg, #f0dcEB, #e3c8dc); }
.ui-row { display: flex; align-items: center; justify-content: space-between; }
.ui-price { width: 34%; height: 9px; border-radius: 99px; background: var(--magenta-500); }
.ui-plus {
    width: 17px; height: 17px; border-radius: 50%; background: var(--primary);
    color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

/* V2 – Website */
.ui-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5%; flex: 1; align-items: center; }
.ui-copy { display: flex; flex-direction: column; gap: 9px; }
.ui-kicker { width: 26%; height: 7px; border-radius: 99px; background: var(--magenta-500); }
.ui-head { display: block; height: 14px; border-radius: 99px; background: #3a2a37; }
.ui-visual { position: relative; height: 82%; border-radius: 12px; background: var(--grad-magenta); overflow: hidden; }
.ui-visual-glow { position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 30%, rgba(255,255,255,0.4), transparent 65%); }
.ui-strip { display: flex; gap: 3%; flex: 0 0 auto; }
.ui-chip { flex: 1; height: 22px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(70,8,60,0.08); }

/* V3 – Dashboard */
.ui-dash { display: grid; grid-template-columns: 44px 1fr; gap: 4%; flex: 1; }
.ui-side { background: #241019; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.ui-dot { width: 14px; height: 14px; border-radius: 5px; background: rgba(255,255,255,0.22); }
.ui-dot.on { background: var(--magenta-400); }
.ui-main { display: flex; flex-direction: column; gap: 5%; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 0 0 auto; }
.ui-kpi { background: #fff; border-radius: 10px; padding: 5%; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 5px 14px rgba(70,8,60,0.09); }
.ui-kpi-v { width: 46%; height: 12px; border-radius: 99px; background: var(--primary); }
.ui-kpi-v.alt { background: #3a2a37; }
.ui-chart {
    flex: 1; background: #fff; border-radius: 10px; box-shadow: 0 5px 14px rgba(70,8,60,0.09);
    display: flex; align-items: flex-end; gap: 3.2%; padding: 5% 5% 0;
}
.ui-chart span { flex: 1; height: var(--h, 40%); border-radius: 6px 6px 0 0; background: #e2d5df; }
.ui-chart span.hot { background: var(--grad-magenta-soft); }

/* ---- Phone-Frame ---- */
.dev-phone {
    position: absolute; right: 0; bottom: 0; z-index: 3;
    width: clamp(130px, 24%, 210px); aspect-ratio: 9 / 18.5;
    border-radius: 30px; background: #fff;
    border: 7px solid #150711;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    overflow: hidden; transform: rotate(4deg);
}
.ph-notch {
    position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
    width: 38%; height: 13px; border-radius: 99px; background: #150711; z-index: 2;
}
.ph-screen { position: absolute; inset: 0; background: #f8f3f7; }
.ph-screen > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-ui { position: absolute; inset: 0; padding: 15% 8% 8%; display: flex; flex-direction: column; gap: 6%; }
.ph-head { display: block; width: 62%; height: 9px; border-radius: 99px; background: #3a2a37; }
.ph-hero { display: block; width: 100%; flex: 0 0 24%; border-radius: 12px; background: var(--grad-magenta); }
.ph-item { display: flex; align-items: center; gap: 8%; flex: 0 0 11%; background: #fff; border-radius: 10px; padding: 0 7%; box-shadow: 0 4px 12px rgba(70,8,60,0.10); }
.ph-item i { width: 22%; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #f0dcEB, #e3c8dc); }
.ph-item b { flex: 1; height: 7px; border-radius: 99px; background: #e2d5df; }
.ph-nav { margin-top: auto; display: flex; align-items: center; justify-content: space-around; flex: 0 0 10%; background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(70,8,60,0.10); }
.ph-nav u { width: 12%; aspect-ratio: 1; border-radius: 50%; background: #e2d5df; }
.ph-nav u.fab { width: 17%; background: var(--primary); }

/* gespiegelte Variante (Phone links) */
.ref-media.flip { padding: 0 0 clamp(34px, 7%, 70px) clamp(30px, 6%, 90px); }
.ref-media.flip .dev-phone { right: auto; left: 0; transform: rotate(-4deg); }

@media (max-width: 700px) {
    .ref-media { padding-right: 0; padding-bottom: 0; }
    .ref-media.flip { padding-left: 0; }
    .dev-phone { display: none; }
}

/* =====================================================================
   LEGACY-SUPPORT (V2-Klassen, noch genutzt auf Unterseiten-Listen)
   ===================================================================== */
.fx-card {
    position: relative; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    overflow: hidden;
}
.fx-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.fx-spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    opacity: 0; transition: opacity 0.35s;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(152, 14, 130, 0.10), transparent 60%);
    pointer-events: none;
}
.fx-spot:hover::before { opacity: 1; }
.fx-btn {
    --bx: 0px; --by: 0px;
    position: relative; display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 30px; border-radius: 99px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px;
    cursor: pointer; border: 0; color: #fff; background: var(--grad-magenta-soft);
    box-shadow: 0 10px 28px rgba(152, 14, 130, 0.32);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    transform: translate(var(--bx), var(--by));
}
.fx-btn:hover { color: #fff; box-shadow: 0 16px 40px rgba(152, 14, 130, 0.45); }
.fx-btn.ghost { background: #fff; color: var(--magenta-700); border: 1.5px solid var(--border-strong); box-shadow: none; }
.fx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--magenta-600); margin: 0 0 18px; font-weight: 500;
}
.fx-title { font-family: var(--font-display); font-weight: 700; line-height: 1.04; margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--text); }
.fx-title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-sub { color: var(--text-dim); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; max-width: 620px; }
