/* =====================================================================
   Mietova – Produkt-Landingpage
   Eigenständiges, hochwertiges Marketing-Design (Navy #0b2947 / Teal #12a5a5).
   ===================================================================== */

:root {
    --navy:      #0b2947;
    --navy-800:  #10375f;
    --teal:      #12a5a5;
    --teal-600:  #0e8a8a;
    --teal-050:  #e6f6f6;
    --ink:       #10202e;
    --muted:     #566b7d;
    --faint:     #8496a5;
    --line:      #e7ecf1;
    --bg:        #ffffff;
    --bg-soft:   #f6f9fb;
    --radius:    18px;
    --radius-sm: 12px;
    --shadow:    0 20px 50px -28px rgba(11,41,71,.35);
    --shadow-sm: 0 6px 20px -12px rgba(11,41,71,.28);
    --maxw:      1160px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
    margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
    line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 17px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.022em; margin: 0; font-weight: 800; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.sec { padding: 96px 0; overflow-x: clip; }
.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }
.sec-soft { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 1rem;
    padding: 13px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -12px rgba(18,165,165,.7); }
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 14px 30px -12px rgba(18,165,165,.85); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d5df; background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef4f8; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { font-size: .96rem; color: var(--muted); font-weight: 550; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .signin { font-weight: 600; font-size: .96rem; padding: 8px 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px;
    background:
        radial-gradient(1100px 520px at 80% -8%, rgba(18,165,165,.12), transparent 60%),
        radial-gradient(900px 500px at 5% 0%, rgba(11,41,71,.07), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 850; }
.hero h1 .accent { background: linear-gradient(100deg, var(--teal), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: 1.22rem; color: var(--muted); max-width: 33ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; color: var(--faint); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--teal); }

/* Produkt-Mockup (reines HTML/CSS, kein Bild nötig) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfdfe; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dfe6ec; }
.mock-bar span { margin-left: 10px; font-size: .72rem; color: var(--faint); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-stat .l { font-size: .68rem; color: var(--faint); }
.mock-stat .v { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-top: 3px; }
.mock-stat .v.teal { color: var(--teal-600); }
.mock-chart { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mock-chart .t { font-size: .72rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.mock-bars i { flex: 1; background: var(--teal-050); border-radius: 5px 5px 0 0; }
.mock-bars i.on { background: linear-gradient(var(--teal), var(--teal-600)); }
/* z-index: Seit echten Screenshots ist der Rahmen deckend (.shot hat z-index:1).
   Ohne eigenen Stapelwert verschwinden die Kaertchen dahinter. */
.mock-float { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-sm); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; }
.mock-float .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.mock-float.f1 { top: 8%; right: -22px; }
.mock-float.f2 { bottom: 6%; left: -26px; }
.mock-float .dot svg { width: 17px; height: 17px; }

/* ---------- Branchen-Strip ---------- */
.brands { padding: 30px 0 8px; }
.brands p { text-align: center; color: var(--faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 20px; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line);
    border-radius: 999px; font-size: .92rem; color: var(--muted); font-weight: 550; background: #fff; }
.brand-chip svg { width: 17px; height: 17px; color: var(--teal); }

/* ---------- Feature rows ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.frow + .frow { margin-top: 88px; }
.frow.flip .fr-text { order: 2; }
.fr-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--teal-600)); margin-bottom: 20px; box-shadow: 0 12px 26px -14px rgba(18,165,165,.8); }
.fr-ic svg { width: 24px; height: 24px; }
.fr-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.fr-text > p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.fr-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.fr-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 1.02rem; }
.fr-list svg { width: 21px; height: 21px; color: var(--teal); flex: none; margin-top: 2px; }
.fr-visual { background: linear-gradient(160deg, #fff, var(--bg-soft)); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }

/* Visual-Bausteine (in den Feature-Karten) */
.v-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.v-card + .v-card { margin-top: 12px; }
.v-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v-row + .v-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.v-name { font-weight: 650; font-size: .95rem; }
.v-sub { font-size: .8rem; color: var(--faint); }
.v-badge { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.v-badge.ok { background: #e7f6ee; color: #1a7f46; } .v-badge.warn { background: #fdf2e3; color: #9a6414; }
.v-badge.info { background: #e9f1fd; color: #1c5fb0; } .v-badge.teal { background: var(--teal-050); color: var(--teal-600); }
.v-amt { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.v-sign { height: 46px; border: 1px dashed #c7d3dc; border-radius: 8px; display: flex; align-items: center; padding: 0 14px; }
.v-sign svg { height: 26px; color: var(--navy); }
.v-check { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; padding: 7px 0; }
.v-check .box { width: 20px; height: 20px; border-radius: 6px; background: var(--teal); display: grid; place-items: center; color: #fff; flex: none; }
.v-check .box svg { width: 13px; height: 13px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; }
.step-n { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
    font-weight: 800; color: var(--teal-600); background: var(--teal-050); border: 1px solid #cfeaea; }
.step h4 { font-size: 1.08rem; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Feature grid ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px;
    transition: transform .16s ease, box-shadow .2s ease, border-color .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dbe6ee; }
.fcard-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
    background: var(--teal-050); color: var(--teal-600); margin-bottom: 16px; }
.fcard-ic svg { width: 22px; height: 22px; }
.fcard h4 { font-size: 1.12rem; margin: 0 0 8px; }
.fcard p { color: var(--muted); font-size: .96rem; }

/* ---------- Vorteile / Zahlenband ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; color: var(--navy); letter-spacing: -.03em; }
.stats-band .n b { color: var(--teal); font-weight: 850; }
.stats-band .l { color: var(--muted); margin-top: 6px; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; padding: 66px 40px; text-align: center; color: #fff;
    background: radial-gradient(700px 300px at 80% 0%, rgba(18,165,165,.55), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-800)); }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; }
.cta-band p { margin: 16px auto 30px; color: #c6d6e5; font-size: 1.14rem; max-width: 52ch; }
.cta-band .hero-cta { justify-content: center; }
.cta-note { margin-top: 18px; color: #9fb6cc; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 650; font-size: 1.1rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- Footer ---------- */
.ft { background: var(--navy); color: #b9cadb; padding: 64px 0 30px; }
/* Vier Spalten: Marke + Produkt + Branchen + Konto/Recht. Die Branchen-Spalte
   kam dazu, damit die Branchenseiten ueberhaupt von der Startseite aus
   erreichbar sind — vorher verlinkte sie nichts. */
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-brand img { height: 28px; margin-bottom: 16px; }
.ft-brand p { color: #8ba3ba; max-width: 34ch; font-size: .96rem; }
.ft-col h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.ft-col a { display: block; padding: 6px 0; color: #b9cadb; font-size: .96rem; }
.ft-col a:hover { color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; flex-wrap: wrap; font-size: .88rem; color: #8ba3ba; }

/* ---------- Mobile ---------- */
.nav-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav-burger svg { width: 26px; height: 26px; }

/* Mobile CTAs im Menü (auf Desktop ausgeblendet) */
.nav-m-cta { display: none; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
        margin: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px; gap: 2px; box-shadow: var(--shadow-sm); }
    .nav-links.open a { padding: 13px 2px; font-size: 1.02rem; }
    /* Auf Mobil trägt der Kopf nur Logo + Burger — die Aktionen liegen im Menü. */
    .nav-actions .signin, .nav-actions .btn-primary { display: none; }
    .nav-actions { margin-left: auto; }   /* Burger rechtsbündig */
    .nav-links.open .nav-m-cta { display: block; text-align: center; margin-top: 8px; padding: 14px;
        border-radius: 12px; font-weight: 650; font-size: 1.02rem; }
    .nav-links.open .nav-m-cta:not(.ghost) { background: var(--teal); color: #fff; }
    .nav-links.open .nav-m-cta.ghost { border: 1px solid var(--line); color: var(--ink); }
    .nav-links.open .nav-m-cta.ghost + .nav-m-cta { margin-top: 10px; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { max-width: 460px; }
    .frow, .frow.flip .fr-text { grid-template-columns: 1fr; order: 0; }
    .frow { gap: 32px; }
    .fr-visual { order: 2; }
    .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
    .fgrid { grid-template-columns: 1fr 1fr; }
    .stats-band { grid-template-columns: 1fr 1fr; gap: 30px; }
    .ft-top { grid-template-columns: 1fr; gap: 28px; }
    .mock-float { display: none; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .sec { padding: 68px 0; }
    .fgrid, .steps { grid-template-columns: 1fr; }
    .cta-band { padding: 48px 22px; }
    .hero-cta .btn { flex: 1; justify-content: center; }
}

/* =====================================================================
   v2 – Ersetzt-Tools · Buchhaltung · Mietova Go (App) · Phone-Mockup
   ===================================================================== */

/* ---------- Ersetzt viele Tools ---------- */
.repl { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.repl-old { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; justify-content: center; }
.repl-chip { position: relative; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--faint); font-size: .92rem; font-weight: 550; text-decoration: line-through;
    text-decoration-color: rgba(214,69,69,.55); text-decoration-thickness: 2px; }
.repl-arrow { color: var(--teal); flex: none; }
.repl-arrow svg { width: 34px; height: 34px; }
.repl-new { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    padding: 26px 34px; border-radius: var(--radius); color: #fff; flex: none;
    background: linear-gradient(140deg, var(--navy), var(--navy-800)); box-shadow: var(--shadow); }
.repl-new .repl-logo { height: 30px; width: auto; filter: brightness(0) invert(1); }
.repl-new span { font-weight: 700; font-size: 1rem; }

/* ---------- Mietova Go – App-Sektion (dunkel) ---------- */
.appsec { position: relative; overflow: hidden; color: #eaf2f8;
    background:
        radial-gradient(900px 500px at 88% 0%, rgba(18,165,165,.30), transparent 60%),
        linear-gradient(160deg, #0b2947, #0e3358 62%, #0b2947); }
.appsec-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.appsec-text h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.appsec-text > p { margin-top: 16px; color: #bcd2e5; font-size: 1.12rem; max-width: 46ch; }
.appsec .app-list { margin-top: 24px; }
.appsec .app-list li { color: #e4eef7; font-size: 1.04rem; }
.appsec .app-list svg { color: #4fd2d2; }
.appsec .hero-cta { margin-top: 30px; }

/* Phone-Mockup (reines CSS) */
.appsec-visual { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 300px; max-width: 82vw; background: #0a1420; border-radius: 42px;
    padding: 12px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.06); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 130px; height: 22px;
    background: #0a1420; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { background: #eef2f6; border-radius: 32px; overflow: hidden; height: 560px; display: flex; flex-direction: column; }
.ph-top { background: linear-gradient(180deg, #0b2947, #0d3358); color: #fff; padding: 34px 20px 18px;
    border-radius: 0 0 20px 20px; }
.ph-hello { font-size: .74rem; opacity: .8; }
.ph-vendor { font-weight: 700; font-size: 1.1rem; margin-top: 2px; }
.ph-date { font-size: .72rem; opacity: .78; margin-top: 3px; }
.ph-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 14px; }
.ph-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 11px 12px; display: flex; flex-direction: column; gap: 2px; }
.ph-stat .ic { font-size: .95rem; }
.ph-stat .n { font-size: 1.5rem; font-weight: 800; line-height: 1; color: #0f1b2d; }
.ph-stat .l { font-size: .72rem; color: #64748b; font-weight: 600; }
.ph-stat.warn .n { color: #e0982a; } .ph-stat.danger .n { color: #d64545; }
.ph-sec { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; font-weight: 700; padding: 6px 18px 8px; }
.ph-item { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    margin: 0 14px 9px; padding: 11px 13px; }
.ph-av { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
    background: #eef1f6; color: #12a5a5; font-weight: 800; font-size: .9rem; }
.ph-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ph-t { font-weight: 700; font-size: .92rem; color: #0f1b2d; }
.ph-s { font-size: .76rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-chev { color: #b4c0cc; font-size: 1.2rem; }

@media (max-width: 900px) {
    .appsec-grid { grid-template-columns: 1fr; gap: 40px; }
    .appsec-visual { order: 2; }
    .repl { gap: 20px; }
    .repl-arrow svg { transform: rotate(90deg); }
}

/* Schwebe-Badges in der dunklen App-Sektion: dunkler Text auf weißer Kachel */
.appsec .mock-float { color: var(--ink); }

/* =====================================================================
   v6 – Mockup-System (austauschbar gegen echte Screenshots)
   Jeder ".shot" ist ein seitenverhältnis-fixierter Rahmen. Später einfach
   den Inhalt von ".shot-body" durch <img class="shot-img"> ersetzen —
   Größe/Layout der Landingpage bleiben gleich.
   ===================================================================== */
.fr-shot { position: relative; }
.fr-shot::before { content: ""; position: absolute; inset: -10% 0; z-index: 0; border-radius: 34px;
    background: radial-gradient(520px 320px at 62% 18%, rgba(18,165,165,.14), transparent 70%); }
.shot { position: relative; z-index: 1; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 16 / 10; }
.shot-top { flex: none; display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: #fbfdfe; border-bottom: 1px solid var(--line); }
.shot-top i { width: 9px; height: 9px; border-radius: 50%; background: #dfe6ec; }
.shot-top span { margin-left: 8px; font-size: .68rem; color: var(--faint); }
/* Container: die Mockup-Schrift skaliert mit der Rahmenbreite (cqw), alle
   Innenmaße sind em → das ganze Mockup skaliert proportional wie ein echtes
   Screenshot-Bild und passt auf jeder Breite in den Rahmen (kein Abschneiden). */
.shot-body { flex: 1; min-height: 0; overflow: hidden; container-type: inline-size; }
.shot-img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Mockup-Wurzeln skalieren mit der Rahmenbreite (cqw des .shot-body-Containers). */
.mk, .mk-web, .mk-qr { font-size: clamp(5px, 1.92cqw, 11px); line-height: 1.35; }

/* ----- Mini-App-Shell (Sidebar + Topbar) ----- */
.mk { display: flex; height: 100%; color: var(--ink); background: var(--bg-soft); }
.mk-side { width: 11.6em; flex: none; background: linear-gradient(180deg, #0b2947, #0d3358); color: #b9cee1; padding: 1.1em .9em; display: flex; flex-direction: column; gap: .2em; }
.mk-logo { color: #fff; font-weight: 800; font-size: 1.2em; letter-spacing: -.02em; padding: .2em .5em .9em; }
.mk-nav { display: flex; align-items: center; gap: .7em; padding: .55em .7em; border-radius: .7em; color: #9db6cd; font-weight: 600; }
.mk-nav svg { width: 1.3em; height: 1.3em; flex: none; }
.mk-nav.on { background: rgba(18,165,165,.24); color: #fff; box-shadow: inset .2em 0 0 var(--teal); }
.mk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mk-top { height: 3.2em; flex: none; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .9em; padding: 0 1.3em; }
.mk-search { flex: 1; max-width: 19em; height: 1.6em; border-radius: .6em; background: var(--bg-soft); border: 1px solid var(--line); }
.mk-pill { height: 1.6em; width: 4.6em; border-radius: .6em; background: var(--teal-050); border: 1px solid #cfeaea; }
.mk-ava { width: 2em; height: 2em; border-radius: 50%; background: linear-gradient(var(--teal), var(--teal-600)); margin-left: auto; flex: none; }
.mk-content { flex: 1; padding: 1.3em 1.4em; overflow: hidden; }
.mk-h { font-size: 1.35em; font-weight: 800; letter-spacing: -.01em; }
.mk-h small { display: block; font-size: .68em; font-weight: 500; color: var(--muted); margin-top: .2em; }
.mk-row { display: flex; gap: 1em; }

/* KPI-Kacheln */
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin: 1em 0; }
.mk-tile { background: #fff; border: 1px solid var(--line); border-radius: .9em; padding: .9em 1em; }
.mk-tile .l { font-size: .85em; color: var(--faint); font-weight: 600; }
.mk-tile .v { font-size: 1.5em; font-weight: 800; color: var(--navy); margin-top: .3em; letter-spacing: -.02em; }
.mk-tile .v.teal { color: var(--teal-600); } .mk-tile .v.green { color: #1a7f46; }

/* Karte / Panel */
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 1em; padding: 1.1em; }
.mk-card .ct { font-size: .9em; font-weight: 700; color: var(--muted); margin-bottom: .8em; }

/* Balken-Diagramm */
.mk-bars { display: flex; align-items: flex-end; gap: .6em; height: 6.6em; }
.mk-bars i { flex: 1; background: var(--teal-050); border-radius: .3em .3em 0 0; }
.mk-bars i.on { background: linear-gradient(var(--teal), var(--teal-600)); }
.mk-bars.dual i { background: #dbeafe; } .mk-bars.dual i.exp { background: #fde4d6; }

/* Donut (CSS conic) */
.mk-donut { width: 6.2em; height: 6.2em; border-radius: 50%; flex: none;
    background: conic-gradient(var(--teal) 0 42%, #0d3358 42% 68%, #9bd7d7 68% 85%, #e2e8f0 85% 100%); position: relative; }
.mk-donut::after { content: ""; position: absolute; inset: 1.6em; border-radius: 50%; background: #fff; }
.mk-legend { display: flex; flex-direction: column; gap: .5em; justify-content: center; }
.mk-legend span { display: flex; align-items: center; gap: .6em; font-size: .85em; color: var(--muted); }
.mk-legend b { width: .8em; height: .8em; border-radius: .3em; }

/* Tabelle */
.mk-table { width: 100%; border-collapse: collapse; }
.mk-table th { text-align: left; font-size: .8em; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); font-weight: 700; padding: .6em .8em; border-bottom: 1px solid var(--line); }
.mk-table td { font-size: .95em; padding: .7em .8em; border-bottom: 1px solid #f0f4f7; color: var(--ink); }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }
.mk-b { display: inline-block; font-size: .8em; font-weight: 700; padding: .2em .7em; border-radius: 999px; white-space: nowrap; }
.mk-b.ok { background: #e7f6ee; color: #1a7f46; } .mk-b.warn { background: #fdf2e3; color: #9a6414; }
.mk-b.info { background: #e9f1fd; color: #1c5fb0; } .mk-b.teal { background: var(--teal-050); color: var(--teal-600); }
.mk-b.red { background: #fdecec; color: #b3261e; } .mk-b.gray { background: #eef2f6; color: #64748b; }

/* Avatar + Liste */
.mk-list { display: flex; flex-direction: column; }
.mk-li { display: flex; align-items: center; gap: .9em; padding: .8em .4em; border-bottom: 1px solid #f0f4f7; }
.mk-li:last-child { border-bottom: 0; }
.mk-av { width: 2.4em; height: 2.4em; flex: none; border-radius: .7em; display: grid; place-items: center; background: var(--teal-050); color: var(--teal-600); font-weight: 800; font-size: .9em; }
.mk-av.n2 { background: #e9f1fd; color: #1c5fb0; } .mk-av.n3 { background: #fdf2e3; color: #9a6414; } .mk-av.n4 { background: #f3e9fd; color: #7a3ec0; }
.mk-li .bd { flex: 1; min-width: 0; }
.mk-li .t { font-weight: 700; font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-li .s { font-size: .85em; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kalender (Ressourcen-Zeitleiste) */
.mk-cal { display: grid; grid-template-columns: 7.4em 1fr; gap: 0; border: 1px solid var(--line); border-radius: .9em; overflow: hidden; background: #fff; }
.mk-cal .rh { font-size: .85em; font-weight: 700; color: var(--ink); padding: .8em; border-bottom: 1px solid #f0f4f7; border-right: 1px solid var(--line); display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-cal .rt { border-bottom: 1px solid #f0f4f7; position: relative; height: 2.6em; }
.mk-cal .bar { position: absolute; top: .6em; height: 1.4em; border-radius: .5em; background: linear-gradient(90deg, var(--teal), var(--teal-600)); }
.mk-cal .bar.a2 { background: linear-gradient(90deg, #3b82f6, #2563eb); } .mk-cal .bar.a3 { background: linear-gradient(90deg, #f59e0b, #d97706); }
.mk-cal .bar.stripe { background: repeating-linear-gradient(45deg, #fbbf24, #fbbf24 4px, #fcd34d 4px, #fcd34d 8px); }

/* Produktkarten */
.mk-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; }
.mk-prod { background: #fff; border: 1px solid var(--line); border-radius: .9em; overflow: hidden; }
.mk-prod .img { height: 4.2em; background: linear-gradient(135deg, #dbe7f0, #eef4f8); position: relative; }
.mk-prod .img svg { width: 2.2em; height: 2.2em; color: #9db4c6; position: absolute; inset: 0; margin: auto; }
.mk-prod .bd { padding: .7em .8em; }
.mk-prod .t { font-weight: 700; font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-prod .p { font-size: 1em; font-weight: 800; color: var(--teal-600); margin-top: .2em; }
.mk-prod .tag { position: absolute; top: .6em; left: .6em; }

/* Dokument-Blatt (Vertrag / Rechnung) */
.mk-sheet { background: #fff; border: 1px solid var(--line); border-radius: .8em; padding: 1.3em 1.5em; height: 100%; display: flex; flex-direction: column; }
.mk-sheet .brand { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; border-bottom: 1px solid var(--line); padding-bottom: .8em; }
.mk-sheet .brand .co { font-weight: 800; font-size: 1.1em; color: var(--navy); }
.mk-sheet .brand .meta { font-size: .8em; color: var(--faint); text-align: right; line-height: 1.5; white-space: nowrap; }
.mk-sheet .doc-t { font-size: 1.2em; font-weight: 800; margin: .9em 0 .7em; }
.mk-line { height: .6em; border-radius: .3em; background: #eef2f6; margin: .5em 0; }
.mk-line.s { width: 55%; } .mk-line.m { width: 75%; } .mk-line.l { width: 92%; }
.mk-sum { margin-top: auto; border-top: 1px solid var(--line); padding-top: .8em; display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.mk-sum .lbl { font-size: .9em; color: var(--muted); } .mk-sum .amt { font-size: 1.4em; font-weight: 800; color: var(--teal-600); white-space: nowrap; }
.mk-sig { display: flex; gap: 1.2em; margin-top: .9em; }
.mk-sig .pad { flex: 1; height: 3em; border: 1px dashed #c7d3dc; border-radius: .6em; position: relative; }
.mk-sig .pad svg { position: absolute; inset: 0; margin: auto; width: 3.4em; height: 1.8em; color: var(--navy); }
.mk-sig .cap { font-size: .75em; color: var(--faint); margin-top: .3em; text-align: center; }

/* Schadensschema + Fotos */
.mk-dmg { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1em; height: 100%; }
.mk-schema { background: #f6f8fa; border: 1px solid var(--line); border-radius: .9em; position: relative; display: grid; place-items: center; }
.mk-schema svg { width: 62%; height: 62%; color: #9aa7b3; }
.mk-pin { position: absolute; width: 1.2em; height: 1.2em; border-radius: 50%; border: .2em solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.mk-pin.r { background: #d64545; } .mk-pin.o { background: #e0982a; }
.mk-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; align-content: start; }
.mk-photo { aspect-ratio: 4/3; border-radius: .7em; background: linear-gradient(135deg, #dbe7f0, #eef4f8); position: relative; }
.mk-photo svg { width: 1.8em; height: 1.8em; color: #9db4c6; position: absolute; inset: 0; margin: auto; }

/* Browser-Frame (Vermieter-Webseite) */
.mk-web { height: 100%; background: #fff; display: flex; flex-direction: column; }
.mk-web-hero { background: linear-gradient(150deg, #0b2947, #12507a); color: #fff; padding: 1.4em 1.5em; }
.mk-web-hero .kick { font-size: .8em; letter-spacing: .1em; text-transform: uppercase; color: #8fd6d6; }
.mk-web-hero .ht { font-size: 1.5em; font-weight: 800; margin-top: .4em; }
.mk-web-hero .hs { font-size: .85em; color: #bcd2e5; margin-top: .4em; max-width: 70%; }
.mk-web-hero .cta { display: inline-block; margin-top: .8em; background: var(--teal); color: #fff; font-size: .85em; font-weight: 700; padding: .5em 1.1em; border-radius: .6em; }
.mk-web-body { padding: 1.1em 1.5em; }

/* QR-Karte */
.mk-qr { height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--bg-soft)); }
.mk-qr-card { background: #fff; border: 1px solid var(--line); border-radius: 1.2em; box-shadow: var(--shadow-sm); padding: 1.6em; text-align: center; width: 62%; }
.mk-qr-img { width: 9em; height: 9em; margin: 0 auto 1em; border-radius: 1em;
    background:
      linear-gradient(#0b2947 0 0) 0 0/2.6em 2.6em no-repeat,
      linear-gradient(#0b2947 0 0) 100% 0/2.6em 2.6em no-repeat,
      linear-gradient(#0b2947 0 0) 0 100%/2.6em 2.6em no-repeat,
      repeating-linear-gradient(90deg, #0b2947 0 .45em, #fff .45em .9em),
      repeating-linear-gradient(0deg, #0b2947 0 .45em, #fff .45em .9em);
    border: .4em solid #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mk-qr-card .t { font-weight: 800; font-size: 1.1em; color: var(--navy); }
.mk-qr-card .s { font-size: .9em; color: var(--muted); margin-top: .3em; }

@media (max-width: 900px) {
    .shot { aspect-ratio: 16 / 10.5; }
    .fr-shot::before { inset: -6% 0; }
}

/* =====================================================================
   v11 – Preise / Tarife
   ===================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.is-featured { border-color: var(--teal); box-shadow: 0 24px 60px -24px rgba(18,165,165,.5); transform: translateY(-6px); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff;
    font-size: .74rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.price-card h3 { font-size: 1.35rem; }
.price-amount { display: flex; align-items: baseline; gap: 3px; margin: 14px 0 4px; }
.price-amount .cur { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.price-amount .num { font-size: 2.8rem; font-weight: 850; letter-spacing: -.03em; color: var(--navy); }
.price-amount .per { font-size: .95rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.price-desc { color: var(--muted); font-size: .95rem; margin: 4px 0 20px; min-height: 3.4em; }
.price-card .btn-block { width: 100%; justify-content: center; }
.price-from { font-weight: 700; font-size: .9rem; color: var(--ink); margin: 22px 0 4px; }
.price-feat { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.price-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink); line-height: 1.4; }
.price-feat svg { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 2px; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 34px; max-width: 640px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
    .pricing { grid-template-columns: 1fr; gap: 20px; max-width: 460px; margin: 0 auto; }
    .price-card.is-featured { transform: none; }
    .price-desc { min-height: 0; }
}

/* =====================================================================
   v12 – Preise: kompakte Köpfe + Vergleichstabelle
   ===================================================================== */
/* Preis-Köpfe kompakter (keine Feature-Liste mehr in der Karte) */
.pricing .price-card { padding: 26px 24px; }
.pricing .price-desc { min-height: 4.4em; margin-bottom: 18px; }

/* Vergleichstabelle */
.cmp-wrap { margin-top: 30px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; }
.cmp th, .cmp td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); font-size: .96rem; }
.cmp thead th { font-size: 1.02rem; font-weight: 800; color: var(--navy); padding-top: 4px; border-bottom: 2px solid var(--line); }
.cmp .cmp-feat { text-align: left; color: var(--ink); font-weight: 550; width: 42%; }
.cmp thead .cmp-feat { border-bottom-color: transparent; }
.cmp tbody tr:hover td { background: #fafcfd; }
.cmp .is-pro { background: var(--teal-050); }
.cmp thead th.is-pro { color: var(--teal-600); border-bottom-color: var(--teal); border-top-left-radius: 10px; border-top-right-radius: 10px; }
.cmp tbody tr:last-child .is-pro { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.cmp-yes { display: inline-flex; } .cmp-yes svg { width: 20px; height: 20px; color: var(--teal); }
.cmp-no { color: #c2cdd6; font-size: 1.1rem; }
.cmp-val { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
    .pricing .price-desc { min-height: 0; }
    .cmp { min-width: 480px; }
    .cmp th, .cmp td { padding: 11px 10px; font-size: .88rem; }
    .cmp .cmp-feat { width: 46%; }
}

/* Hinweis unter den Funktions-Screenshots: Die Bilder zeigen eine Demo-Umgebung.
   Bewusst unaufdringlich — ehrlich, aber kein Störer im Verkaufsfluss. */
.shots-note { margin: 34px auto 0; max-width: 620px; text-align: center;
    font-size: .82rem; line-height: 1.6; color: var(--faint); }
