/* Site-wide overrides — both responsive (mobile stacks) and bug fixes.
   Loaded after site.css so we can use !important sparingly. */

/* --- Mobile Burger-Menü --- */

.burger {
    display: none;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 4px;
    transition: background .15s, border-color .15s;
    margin-right: 4px;
}
.burger:hover { background: #f3f3f5; }
.burger span {
    width: 18px; height: 2px; background: var(--ink); border-radius: 1px;
    transition: transform .25s, opacity .25s;
    transform-origin: center;
}
.burger.is-open { background: var(--ink); border-color: var(--ink); }
.burger.is-open span { background: #fff; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    .burger { display: inline-flex; }
}

/* === Language Dropdown (Desktop) === */
.lang-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.lang-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
    transition: background .15s, border-color .15s;
}
.lang-dropdown__trigger:hover {
    background: #f3f3f5;
    border-color: #d0d0d5;
}
.lang-dropdown__icon {
    flex-shrink: 0;
}
.lang-dropdown__chevron {
    transition: transform .2s;
}
.lang-dropdown__chevron.is-open {
    transform: rotate(180deg);
}
.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow: hidden;
    z-index: 100;
}
.lang-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: background .15s;
}
.lang-dropdown__item:hover {
    background: #f5f5f7;
}
.lang-dropdown__item.is-active {
    background: #eef1ff;
    color: var(--ai);
}
.lang-dropdown__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    background: #f0f0f2;
    color: var(--ink);
    border-radius: 4px;
    font-family: "Geist Mono", monospace;
}
.lang-dropdown__item.is-active .lang-dropdown__code {
    background: var(--ai);
    color: #fff;
}
.lang-dropdown__label {
    flex: 1;
}
.lang-dropdown__check {
    color: var(--ai);
    flex-shrink: 0;
}

/* Fade transitions for dropdown */
.fade-in { animation: fadeIn .15s ease; }
.fade-out { animation: fadeOut .15s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }

/* Hide dropdown on mobile/tablet */
@media (max-width: 860px) {
    .lang-dropdown { display: none; }
}

/* === Mobile/Tablet Side Panel === */
.nav-panel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 26, .5);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 998;
}
.nav-panel-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.nav-panel.is-open {
    transform: translateX(0);
}

.nav-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.nav-panel__logo img {
    height: 32px;
    width: auto;
}
.nav-panel__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
    transition: background .15s;
}
.nav-panel__close:hover {
    background: #f3f3f5;
}

.nav-panel__nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}
.nav-panel__nav a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f2;
    transition: background .15s, color .15s;
}
.nav-panel__nav a:hover {
    background: #f8f8fa;
    color: var(--ai);
}
.nav-panel__nav a:last-child {
    border-bottom: none;
}

.nav-panel__lang {
    padding: 20px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}
.nav-panel__lang-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
}
.nav-panel__lang-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-panel__lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s;
}
.nav-panel__lang-item:hover {
    background: #f5f5f7;
}
.nav-panel__lang-item.is-active {
    background: #eef1ff;
    border-color: #d7deff;
    color: var(--ai);
}
.nav-panel__lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    background: #f0f0f2;
    color: var(--ink);
    border-radius: 4px;
    font-family: "Geist Mono", monospace;
    flex-shrink: 0;
}
.nav-panel__lang-item.is-active .nav-panel__lang-code {
    background: var(--ai);
    color: #fff;
}
.nav-panel__lang-label {
    flex: 1;
}
.nav-panel__lang-check {
    color: var(--ai);
    flex-shrink: 0;
}

.nav-panel__cta {
    padding: 16px 20px 24px;
}
.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- Smooth-scroll für Anchor-Navi ---
   Strategie: Beim Klick auf einen Nav-Anchor soll der Eyebrow/Title der Ziel-
   Section direkt unter dem 68px Sticky-Header sichtbar werden – nicht erst
   nach dem (visuell leeren) section-padding-top.
   Da das padding-top je Section stark variiert (40–140px), setzen wir
   scroll-margin-top pro Section so, dass der Eyebrow ~24px unter dem Header
   landet. Formel: scroll-margin-top = 92 - section.padding-top.
   Negative Werte sind erlaubt – Browser scrollt dann über die Section-Top
   hinaus, sodass der Padding-Bereich oberhalb des Viewports landet. */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px; /* Fallback für Anker ohne expliziten Override */
}
section[id], a[id] {
    scroll-margin-top: 88px; /* Default fallback */
}

/* Section-spezifische Anchor-Offsets – Desktop */
section#loesung             { scroll-margin-top: 52px; }   /* padding-top 40 */
section#bruno               { scroll-margin-top: -48px; }  /* padding-top 140 */
section#funktionen          { scroll-margin-top: -28px; }  /* padding-top 120 */
section#savings-calculator  { scroll-margin-top: 12px; }   /* padding-top 80 */
section#team                { scroll-margin-top: -4px; }   /* padding-top 96 */
section#faq                 { scroll-margin-top: -28px; }  /* padding-top 120 */

/* Mobile (<= 720px) – kompensiert die kleineren Section-Paddings */
@media (max-width: 720px) {
    section#loesung             { scroll-margin-top: 52px; }   /* 40 */
    section#bruno               { scroll-margin-top: 12px; }   /* 80 */
    section#funktionen          { scroll-margin-top: 20px; }   /* 72 */
    section#savings-calculator  { scroll-margin-top: 36px; }   /* 56 */
    section#team                { scroll-margin-top: 28px; }   /* 64 */
    section#faq                 { scroll-margin-top: 20px; }   /* 72 */
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* --- Bento layout extra: 4-col span variant --- */

.b-span4 {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #fff 60%, #eff3ff 100%);
    border-color: #d7deff;
}
.b-span4 .calc-pill {
    background: var(--ai); color: #fff;
    padding: 12px 18px; border-radius: 10px;
    display: inline-flex; gap: 8px; align-items: center;
    font-size: 14px; font-weight: 500; margin-top: 14px;
    cursor: pointer; border: 0; font-family: inherit; transition: .15s;
    align-self: flex-start;
}
.b-span4 .calc-pill:hover { background: #3a54e8; }
@media (max-width: 720px) {
    .b-span4 { grid-column: 1; grid-template-columns: 1fr; }
}

/* --- Bento mini-previews --- */

/* BrunoAI activity-feed (right column of the big BrunoAI bento) — shows
   "what Bruno is doing right now" instead of duplicating the orbit visual
   from the bruno-spotlight section further down the page. */
.b-bruno-visual { padding: 8px; }
.bbv-feed {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 16px;
    display: flex; flex-direction: column; gap: 10px;
    font-family: "Geist", sans-serif;
    backdrop-filter: blur(8px);
}
.bbv-feed-head {
    display: flex; align-items: center; gap: 8px;
    font-family: "Geist Mono", monospace; font-size: 10px;
    color: rgba(255,255,255,.55);
    letter-spacing: 0.16em; text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255,255,255,.1);
}
.bbv-dot {
    width: 8px; height: 8px; border-radius: 99px;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,.6);
    animation: bbv-pulse 2s ease-out infinite;
}
@keyframes bbv-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
    70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.bbv-feed-row {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; color: rgba(255,255,255,.92); line-height: 1.4;
}
.bbv-tick {
    width: 22px; height: 22px; border-radius: 99px;
    background: rgba(79,107,255,.25);
    color: #9db0ff;
    display: inline-grid; place-items: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.bbv-tick-active {
    background: #4f6bff; color: #fff;
    animation: bbv-typing 1.4s ease-in-out infinite;
}
@keyframes bbv-typing {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.bbv-sub {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    font-family: "Geist Mono", monospace;
    margin-top: 2px;
}
.bbv-typing { opacity: 0.7; }

.b-bruno-pills {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
    font-family: "Geist Mono", monospace; font-size: 11px;
    color: rgba(255,255,255,.85);
}
.b-bruno-pills span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.b-bruno-pills .dot {
    width: 6px; height: 6px; border-radius: 99px; background: #fff;
}
.b-bruno-pills .dot-blue   { background: #4f6bff; }
.b-bruno-pills .dot-orange { background: #ea580c; }
.b-bruno-pills .dot-violet { background: #8b5cf6; }
.b-bruno-pills .dot-teal   { background: #14b8a6; }
.b-bruno-pills .dot-green  { background: #10b981; }

/* Team-card preview (legacy, kept for fallback) */
.bp-team { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.bp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 500; padding: 4px 4px 4px 10px;
    border-radius: 999px;
}

/* Live-collaboration document preview — mimics 3 people editing the same
   doc with floating cursors + typing indicator. */
.bp-collab {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    display: flex; flex-direction: column; gap: 10px;
    overflow: hidden;
}
.bp-collab-head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.bp-collab-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: #eef1ff; color: var(--ai);
    display: grid; place-items: center; font-size: 16px;
}
.bp-collab-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.bp-collab-sub  { font-size: 10px; color: var(--muted); font-family: "Geist Mono", monospace; }

.bp-collab-body {
    position: relative;
    min-height: 110px;
    padding: 12px 10px;
    background: #f8f9fc;
    border-radius: 8px;
}
.bp-line {
    position: relative;
    height: 8px;
    background: linear-gradient(90deg, #e6e6ea, #f0f1f5);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}
.bp-line-1 { width: 78%; }
.bp-line-2 { width: 92%; }
.bp-line-3 { width: 64%; margin-bottom: 0; }

.bp-line-1::after {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 0;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    border-radius: inherit;
    animation: bp-anna-typing 5.5s cubic-bezier(.4,.05,.35,1) infinite;
}
@keyframes bp-anna-typing {
    0%   { width: 0; opacity: 1; }
    60%  { width: 92%; opacity: 1; }
    78%  { width: 92%; opacity: 1; }
    85%  { width: 92%; opacity: 0; }
    86%  { width: 0;   opacity: 0; }
    90%  { width: 0;   opacity: 1; }
    100% { width: 0;   opacity: 1; }
}

.bp-cursor {
    position: absolute;
    width: 2px; height: 16px; border-radius: 1px;
    animation: bp-cursor-blink 1.8s ease-in-out infinite;
}
.bp-cursor.c-anna   { display: none; }
.bp-cursor.c-lisa   { background: #2563eb; }
.bp-cursor.c-thomas { background: #059669; }
.bp-cursor-name {
    position: absolute;
    top: -22px; left: -2px;
    font-size: 10px; font-weight: 600; color: #fff;
    background: currentColor;
    padding: 2px 7px; border-radius: 4px 4px 4px 0;
    white-space: nowrap; line-height: 1.2;
}
.bp-cursor.c-lisa   .bp-cursor-name { background: #2563eb; color: #fff; }
.bp-cursor.c-thomas .bp-cursor-name { background: #059669; color: #fff; }

@keyframes bp-cursor-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

.bp-collab-foot {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--ink-2);
    font-family: "Geist Mono", monospace;
    padding-top: 4px;
}
.bp-typing {
    display: inline-flex; gap: 3px; align-items: center;
    background: #ede9fe; padding: 4px 8px; border-radius: 99px;
}
.bp-typing span {
    width: 4px; height: 4px; border-radius: 99px; background: #7c3aed;
    animation: bp-typing-bounce 1.2s ease-in-out infinite;
}
.bp-typing span:nth-child(2) { animation-delay: .15s; }
.bp-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bp-typing-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: .4; }
    40%           { transform: translateY(-3px); opacity: 1; }
}
.bp-av {
    width: 22px; height: 22px; border-radius: 99px; color: #fff;
    display: inline-grid; place-items: center; font-size: 11px; font-weight: 600;
}
.bp-stack { display: inline-flex; }
.bp-stack .bp-av { margin-left: -6px; border: 2px solid #fff; }
.bp-stack .bp-av:first-child { margin-left: 0; }
.bp-meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--muted);
    padding-top: 12px; border-top: 1px dashed var(--line);
}

/* Tasks card preview */
.bp-tasks {
    margin-top: 18px; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 14px;
}
.bp-tabs {
    display: flex; gap: 16px; font-size: 12px; color: var(--muted);
    border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px;
}
.bp-tabs span { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px; }
.bp-tabs span b { font-weight: 600; }
.bp-tabs span.active { color: var(--ink); border-bottom: 2px solid var(--ai); margin-bottom: -11px; padding-bottom: 9px; }
.bp-list { display: flex; flex-direction: column; gap: 8px; }
.bp-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.bp-check {
    width: 18px; height: 18px; border-radius: 99px; background: var(--ai);
    color: #fff; display: inline-grid; place-items: center; font-size: 11px; flex-shrink: 0;
}
.bp-check.empty { background: #fff; border: 2px solid var(--line-2); }

/* DSGVO / shield pill row */
.bp-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bp-pill {
    font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 99px;
    font-family: "Geist Mono", monospace;
}

/* Chart card */
.bp-chart {
    margin-top: 18px; height: 110px; display: flex; gap: 8px;
    align-items: flex-end; padding: 0 4px;
}
.bp-bar {
    flex: 1; background: linear-gradient(180deg, #4f6bff, #93b0ff);
    border-radius: 4px 4px 0 0; min-height: 8px;
}
.bp-bar:nth-child(5) { background: linear-gradient(180deg, #10b981, #6ee7b7); }
.bp-chart-axis {
    display: flex; justify-content: space-between; padding: 4px 4px 0;
    font-size: 9px; color: var(--muted); font-family: "Geist Mono", monospace;
}

/* --- Brand logo --- */

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}
@media (max-width: 540px) {
    .logo-img { height: 32px; }
}
.logo-img-light {
    /* The brand SVG is dark-on-light. Invert + slight hue adjust gives a
       clean white version for dark backgrounds (footer, maintenance page)
       without needing a second asset. */
    filter: invert(1) brightness(2);
}
/* The legacy `.logo-mark` square is no longer rendered. Hide if any
   stale markup slips through. */
.logo .logo-mark { display: none; }

/* --- All viewports --- */

/* Let the "moving" card float over the next column instead of being
   clipped by the column's overflow:hidden. */
.kanban {
    position: relative;
}
.kanban .col {
    overflow: visible !important;
    position: relative;
}
.kanban .card.moving {
    position: relative;
    z-index: 5;
    pointer-events: none;
}

/* Hero mockup edge-bleed: on desktop the dashboard mockup sticks out past
   the container's right edge for a "peek through the window" feel.
   Calculation: container has max-width 1240px and centered margins, so
   `(100vw - 100%) / 2` is the gap between container and viewport edge.
   We push the mockup past it plus 40px extra. The hero section already
   has `overflow: hidden` so anything past the viewport stays invisible. */
@media (min-width: 1280px) {
    body[data-hero="split"] .hero-mockup,
    body:not([data-hero]) .hero-mockup {
        margin-right: calc(((100vw - 100%) / -2) - 40px);
        max-width: none;
    }
    body[data-hero="split"] .hero-mockup::after,
    body:not([data-hero]) .hero-mockup::after {
        /* keep the right-edge fade for the "going off-canvas" look */
        width: 120px !important;
        background: linear-gradient(to right, transparent, #fafaf9 60%) !important;
    }
}

/* Phone-Chrome + feste Body-Hoehe nur im echten Phone-Frame (≤720px). */
@media (max-width: 720px) {
    .slide-visual {
        min-height: 0 !important;
        padding: 0 !important;
    }
    .slide-visual > .vis-body,
    .slide-visual .vis-body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        height: var(--mobile-mockup-body-height, 400px) !important;
        min-height: var(--mobile-mockup-body-height, 400px) !important;
        max-height: var(--mobile-mockup-body-height, 400px) !important;
        flex: 0 0 auto !important;
    }
}

/* Tablet + Mobile (≤860px): Widget-Layouts auf 1-Col.
   Rahmen/Hoehe bleibt Desktop-Style (480px) bis ≤720px → Phone-Chrome. */
@media (max-width: 860px) {
    /* Kanban / pipeline — vertical stack */
    .kanban {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .kanban .col {
        max-height: none !important;
        overflow: hidden !important;
        padding: 12px !important;
    }
    .kanban .col :is(h6, .vis-h) {
        font-size: 11px !important;
    }
    .kanban .card {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }

    /* Moving card on mobile — the desktop version slides between 3
       horizontal columns. With columns stacked vertically that metaphor
       breaks (the card would overlap neighbouring columns and leave a
       hole behind). Replace it with an in-place pulsing glow to keep
       the "actively in progress" hint without breaking the layout. */
    .kanban .card.moving {
        transform: none !important;
        animation: card-pulse 2.4s ease-in-out infinite !important;
    }
    @keyframes card-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(79,107,255,0); border-color: #bfcaff; }
        50%      { box-shadow: 0 0 0 6px rgba(79,107,255,0.18); border-color: var(--ai); }
    }

    /* Chat workspace — hide sidebar, full-width main column */
    .chat-workspace {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }
    .chat-workspace .chw-side { display: none !important; }
    .chw-msgs { max-height: none !important; }

    /* Drive — sidebar collapses */
    .drive-grid {
        grid-template-columns: 1fr !important;
    }
    .drive-side { display: none !important; }

    /* Calendar — vertical day rows on mobile, more readable */
    .cal {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    .cal .day {
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .cal .day :is(h6, .vis-h) {
        font-size: 12px !important;
        margin: 0 !important;
        min-width: 28px;
    }
    .cal .evt {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    /* BI dashboard — single-column metrics */
    .bi > div:first-child {
        grid-template-columns: 1fr !important;
    }

    /* Meet: nur Grid vereinfachen — zweites Kind nicht global ausblenden (Architektur-Visual braucht Kacheln A/T) */

    /* Docs editor */
    .docs-editor .de-page { padding: 14px !important; }

    /* Compare table — vertical card layout */
    .cmp-head { display: none; }
    .cmp-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 4px !important;
        padding: 14px !important;
        border-bottom: 1px solid var(--line);
    }
    .cmp-row .cmp-cat {
        font-weight: 600;
        font-size: 13px;
        color: var(--muted);
    }
    .cmp-row .cmp-old::before {
        content: "Alter Weg: ";
        color: var(--muted);
        font-size: 12px;
    }
    .cmp-row .cmp-new::before {
        content: "Mit fynoAI: ";
        color: var(--ai);
        font-size: 12px;
        font-weight: 600;
    }
}
