/* LakeSideSoftware.App — gemeinsames Stylesheet für lakesidesoftware.app
   Eine Datei für alle Seiten; die Farbwelt kommt über die Klasse am <body>:
   (ohne Klasse) bzw. .theme-orgando   Orgando: brandTeal #167B8C, brandBlue #2196C8
   .theme-stoppilot                   StopPilot: Petrol #0E4A5A, Limette #C6F432 (nur als Fläche)
   .theme-mietgenius                  MietGenius: Blau #1F5F8B (Seed-Farbe der App)
   .theme-lakeside                    Startseite der Firma: Seeblau */

:root {
    --brand-teal: #167B8C;
    --brand-blue: #2196C8;
    --brand-gradient: linear-gradient(135deg, #167B8C 0%, #2196C8 100%);
    --brand-a-rgb: 22, 123, 140;
    --brand-b-rgb: 33, 150, 200;
    --btn-bg: var(--brand-gradient);
    --btn-ink: #fff;
    --ink: #14232b;
    --ink-soft: #4a5b64;
    --line: #e2eaee;
    --bg: #ffffff;
    --bg-soft: #f4f8fa;
    --radius: 18px;
    --shadow: 0 10px 40px rgba(var(--brand-a-rgb), 0.10);
    --maxw: 1080px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .logo {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(var(--brand-b-rgb), 0.28);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand-teal); text-decoration: none; }
.lang-switch { font-size: 0.85rem; color: var(--ink-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.lang-menu { display: flex; align-items: center; gap: 6px; }
.lang-menu .lang-switch { padding: 4px 8px; }
.lang-switch.active { background: var(--brand-teal); color: #fff; border-color: var(--brand-teal); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-ink);
    box-shadow: 0 8px 22px rgba(var(--brand-b-rgb), 0.35);
}
.btn-ghost {
    background: #fff;
    color: var(--brand-teal);
    border: 1.5px solid var(--line);
}
.btn-disabled {
    background: #eef2f4;
    color: #90a0a7;
    border: 1.5px solid var(--line);
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}
.btn-disabled:hover { transform: none; text-decoration: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 96px 0 84px;
    background: radial-gradient(120% 120% at 80% -10%, rgba(var(--brand-b-rgb), 0.12) 0%, rgba(255,255,255,0) 55%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero .eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-teal);
    background: rgba(var(--brand-a-rgb), 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero h1 .grad {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); }

/* Phone mockup */
.phone {
    justify-self: center;
    width: 260px;
    height: 530px;
    border-radius: 46px;
    background: var(--brand-gradient);
    padding: 12px;
    box-shadow: 0 30px 70px rgba(var(--brand-a-rgb), 0.35);
    position: relative;
}
.phone-screen {
    width: 100%; height: 100%;
    background: var(--bg-soft);
    border-radius: 36px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.phone-notch {
    position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
    width: 96px; height: 26px; background: #0e1a20; border-radius: 999px; z-index: 3;
}
.ps-header { background: var(--brand-gradient); color: #fff; padding: 46px 20px 20px; }
.ps-header small { opacity: .85; font-size: .72rem; }
.ps-header h3 { font-size: 1.15rem; margin-top: 2px; }
.ps-body { padding: 16px; display: grid; gap: 12px; }
.ps-card { background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: 0 4px 14px rgba(20,35,43,0.06); }
.ps-card .t { font-size: .72rem; color: var(--ink-soft); }
.ps-card .v { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.ps-card .v span { font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.ps-pill { display:inline-block; font-size:.66rem; font-weight:600; padding:3px 9px; border-radius:999px; }
.ps-pill.green { background:#e3f5ea; color:#1f8a4c; }
.ps-pill.blue { background:rgba(var(--brand-b-rgb), .12); color:var(--brand-blue); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow {
    font-size: 0.82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--brand-teal); display: block; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

.bg-soft { background: var(--bg-soft); }

/* Feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font: inherit;
    color: inherit;
    display: block;
    position: relative;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(var(--brand-b-rgb), 0.35); }
.feature:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.feature .more {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 14px; font-size: .86rem; font-weight: 600; color: var(--brand-teal);
}
.feature .more::after { content: "→"; transition: transform .15s ease; }
.feature:hover .more::after { transform: translateX(3px); }

/* Feature modal */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(14,26,32,0.55);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    background: #fff;
    border-radius: 22px;
    max-width: 520px; width: 100%;
    max-height: 88vh; overflow-y: auto;
    box-shadow: 0 30px 80px rgba(14,26,32,0.4);
    transform: translateY(14px) scale(.98);
    transition: transform .22s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-head {
    background: var(--brand-gradient);
    color: #fff;
    padding: 30px 30px 26px;
    border-radius: 22px 22px 0 0;
    position: relative;
}
.modal-head .m-ico {
    width: 56px; height: 56px; border-radius: 15px;
    background: rgba(255,255,255,0.18);
    display: grid; place-items: center; font-size: 28px; margin-bottom: 14px;
}
.modal-head h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
.modal-close {
    position: absolute; top: 18px; right: 18px;
    width: 34px; height: 34px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255,255,255,0.22); color: #fff;
    font-size: 20px; line-height: 1; display: grid; place-items: center;
    transition: background .15s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.38); }
.modal-body { padding: 26px 30px 32px; }
.modal-body p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 14px; }
.modal-body ul { list-style: none; display: grid; gap: 10px; margin: 4px 0 0; }
.modal-body li { padding-left: 26px; position: relative; color: var(--ink-soft); font-size: .97rem; }
.modal-body li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-teal); font-weight: 700; }
.feature .ico {
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(var(--brand-b-rgb), 0.10);
    display: grid; place-items: center;
    font-size: 22px; margin-bottom: 16px;
}
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.96rem; }

/* Compact "app-wide" features row */
.features-more-label {
    text-align: center;
    margin: 46px 0 22px;
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-soft);
    display: flex; align-items: center; gap: 16px;
}
.features-more-label::before, .features-more-label::after {
    content: ""; flex: 1; height: 1px; background: var(--line);
}
.features.features-compact { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features.features-compact .feature { padding: 20px; }
.features.features-compact .feature .ico { width: 40px; height: 40px; font-size: 19px; border-radius: 11px; margin-bottom: 12px; }
.features.features-compact .feature h3 { font-size: 1.02rem; }
.features.features-compact .feature p { font-size: .9rem; }

/* Screenshot gallery */
.screens-scroll {
    display: flex; gap: 26px;
    overflow-x: auto;
    padding: 10px 4px 26px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.screens-scroll::-webkit-scrollbar { height: 8px; }
.screens-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.shot { flex: 0 0 auto; width: 236px; scroll-snap-align: center; margin: 0; }
.shot img {
    width: 100%; display: block;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #000;
}
.shot figcaption {
    text-align: center; margin-top: 14px;
    font-size: .92rem; font-weight: 600; color: var(--ink);
}
.shot figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .84rem; margin-top: 2px; }

/* Screenshot grid (dedicated screenshots page) */
.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 34px 26px;
}
.screens-grid .shot { width: auto; }
.screens-group-title {
    font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em;
    margin: 44px 0 4px;
}
.screens-group-title:first-of-type { margin-top: 0; }

/* Screenshot inside feature modal */
.modal-shot-img {
    display: block;
    width: 168px;
    margin: 0 auto 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(20,35,43,0.2);
    background: #000;
}

/* Privacy band */
.privacy-band { background: var(--brand-gradient); color: #fff; }
.privacy-band .section-head h2 { color: #fff; }
.privacy-band .section-head .eyebrow { color: rgba(255,255,255,0.85); }
.privacy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.privacy-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius);
    padding: 26px;
    backdrop-filter: blur(8px);
}
.privacy-card .ico { font-size: 26px; margin-bottom: 12px; }
.privacy-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.privacy-card p { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.plan {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
}
.plan.featured { border-color: var(--brand-blue); box-shadow: var(--shadow); }
.plan .badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--brand-gradient); color: #fff; font-size: .74rem; font-weight: 600;
    padding: 5px 16px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.plan .price-sub { color: var(--ink-soft); font-size: .9rem; margin-bottom: 20px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; }
.plan li { padding-left: 28px; position: relative; color: var(--ink-soft); font-size: .97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-teal); font-weight: 700; }
.plan li.no { color: #9aa8ae; }
.plan li.no::before { content: "–"; color: #c2cdd2; }
.pricing-note { text-align: center; color: var(--ink-soft); font-size: .88rem; margin-top: 26px; max-width: 620px; margin-left:auto; margin-right:auto; }

/* Disclaimer band */
.disclaimer {
    background: #fff8ec;
    border: 1px solid #f4e2bf;
    border-radius: var(--radius);
    padding: 22px 26px;
    color: #7a5c1e;
    font-size: 0.92rem;
    max-width: var(--maxw);
    margin: 0 auto;
}
.disclaimer strong { color: #6b4e12; }

/* CTA */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-final p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Legal / content pages ---------- */
.page-hero {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 64px 0 44px;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
.page-hero p { color: var(--ink-soft); margin-top: 8px; }
.content { padding: 56px 0 80px; }
.content .wrap { max-width: 780px; }
.content h2 { font-size: 1.4rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
.content h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.content p, .content li { color: var(--ink-soft); margin-bottom: 12px; }
.content ul, .content ol { margin: 0 0 14px 22px; }
.content li { margin-bottom: 6px; }
.content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .93rem; }
.content th, .content td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.content th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.content .addr { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 16px 0; }
.content .addr strong { color: var(--ink); }

.notice-draft {
    background: #fdecec;
    border: 1px solid #f3c2c2;
    color: #8a2b2b;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: .93rem;
}
.placeholder {
    background: #fff3cd;
    color: #7a5c00;
    padding: 1px 7px;
    border-radius: 5px;
    font-weight: 600;
    font-size: .9em;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0e1a20;
    color: #b7c4ca;
    padding: 54px 0 34px;
}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 34px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .logo { box-shadow: none; }
.footer-tag { color: #7f9099; font-size: .92rem; max-width: 30ch; margin-top: 12px; }
.footer-links { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer-col a { display: block; color: #b7c4ca; font-size: .94rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: .85rem; color: #7f9099; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero { padding: 60px 0 50px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .features, .privacy-cards { grid-template-columns: 1fr 1fr; }
    .features.features-compact { grid-template-columns: 1fr 1fr; }
    .pricing { grid-template-columns: 1fr; max-width: 520px; }
    .nav-links { gap: 16px; }
    .nav-links a.hide-sm { display: none; }
}
@media (max-width: 560px) {
    .features, .privacy-cards { grid-template-columns: 1fr; }
    .features.features-compact { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
    .footer-links { gap: 30px; }
}

/* ---------- Farbwelt StopPilot ---------- */
.theme-stoppilot {
    --brand-teal: #0E4A5A;
    --brand-blue: #145061;
    --brand-gradient: linear-gradient(135deg, #0B2530 0%, #145061 100%);
    --brand-a-rgb: 14, 74, 90;
    --brand-b-rgb: 20, 80, 97;
    --lime: #C6F432;
    --on-lime: #0B2530;
    --btn-bg: #C6F432;
    --btn-ink: #0B2530;
    --ink: #0B1F26;
    --ink-soft: #5B6B70;
    --line: #DCE4E6;
    --bg-soft: #F4F7F7;
}
.theme-stoppilot .btn-primary { box-shadow: 0 8px 22px rgba(11, 37, 48, 0.25); }
.theme-stoppilot .hero { background: var(--brand-gradient); color: #fff; }
.theme-stoppilot .hero h1 { color: #fff; }
.theme-stoppilot .hero h1 .grad { background: none; -webkit-text-fill-color: currentColor; color: #fff; box-shadow: inset 0 -0.18em 0 var(--lime); }
.theme-stoppilot .hero p.lead, .theme-stoppilot .hero-note { color: rgba(255,255,255,0.85); }
.theme-stoppilot .hero .eyebrow { background: var(--lime); color: var(--on-lime); }
.theme-stoppilot .hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.theme-stoppilot .plan.featured .badge, .theme-stoppilot .lang-switch.active { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.theme-stoppilot .modal-body li::before { color: var(--brand-teal); }

/* Handy-Mockup StopPilot: vier Werte je Stopp */

.phone-screen { text-align: left; }
.theme-stoppilot .ps-body { padding: 12px 10px; gap: 10px; }
.theme-stoppilot .ps-header h3 { font-size: 1.05rem; }
.sp-stop { background: #fff; border-radius: 14px; padding: 10px 10px; box-shadow: 0 4px 14px rgba(11,31,38,0.07); }
.sp-stop .n { font-size: .8rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.sp-stop .n em { font-style: normal; font-weight: 600; color: var(--ink-soft); }
.sp-vals { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 2px; margin-top: 8px; }
.sp-vals span { font-size: .64rem; color: var(--ink-soft); line-height: 1.25; }
.sp-vals b { display: block; white-space: nowrap; font-size: .72rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.sp-chip { display: inline-block; white-space: nowrap; height: fit-content; font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #C6F432; color: #0B2530; }
.sp-free { color: #1E9E5A !important; }
.sp-summary { color: #fff; font-size: .72rem; opacity: .9; margin-top: 4px; }

/* Vier-Werte-Leiste */
.values4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value-card .num { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; font-weight: 800; background: var(--lime, var(--brand-teal)); color: var(--on-lime, #fff); margin-bottom: 14px; }
.value-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.value-card p { color: var(--ink-soft); font-size: .94rem; }

/* Vergleichstabelle */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.compare td { font-variant-numeric: tabular-nums; }
.compare tr:last-child td { border-bottom: none; }
.compare tr.best td { background: rgba(198, 244, 50, 0.18); }
.compare .muted { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-note { color: var(--ink-soft); font-size: .86rem; margin-top: 12px; text-align: center; }

/* Hinweis „in Entwicklung“ */
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(var(--brand-a-rgb), 0.08); color: var(--brand-teal); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C27C00; }

/* ---------- Farbwelt Lakeside (Startseite der Firma) ---------- */
.theme-lakeside {
    --brand-teal: #1D4E6E;
    --brand-blue: #3A86B5;
    --brand-gradient: linear-gradient(135deg, #16354A 0%, #2F6F99 100%);
    --brand-a-rgb: 29, 78, 110;
    --brand-b-rgb: 58, 134, 181;
}
.brand .logo-mark { width: 34px; height: 34px; border-radius: 9px; display: block; }

.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.app-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.app-card .app-head { display: flex; align-items: center; gap: 16px; padding: 26px 26px 22px; color: #fff; }
.app-card .app-head img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); background: #fff; }
.app-card .app-head h3 { font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.15; }
.app-card .app-head small { display: block; opacity: .88; font-size: .9rem; font-weight: 500; }
.app-card.orgando .app-head { background: linear-gradient(135deg, #167B8C 0%, #2196C8 100%); }
.app-card.stoppilot .app-head { background: linear-gradient(135deg, #0B2530 0%, #145061 100%); }
.app-card .app-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.app-card .app-body p { color: var(--ink-soft); }
.app-card ul { list-style: none; display: grid; gap: 8px; }
.app-card li { padding-left: 24px; position: relative; font-size: .95rem; }
.app-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--brand-teal); }
.app-card.orgando li::before { color: #167B8C; }
.app-card.stoppilot li::before { color: #0E4A5A; }
.app-card .app-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.app-card .app-go { font-weight: 600; color: var(--brand-teal); }
.app-card.orgando .app-go { color: #167B8C; }
.app-card.stoppilot .app-go { color: #0E4A5A; }
.app-card .app-go::after { content: " →"; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.principle .ico { font-size: 1.5rem; margin-bottom: 10px; }
.principle h3 { font-size: 1.06rem; margin-bottom: 6px; }
.principle p { color: var(--ink-soft); font-size: .94rem; }

/* Querverweis auf die anderen Apps im Fuß jeder Seite */
.footer-col a.other-app { display: flex; align-items: center; gap: 8px; }
.footer-col a.other-app img { width: 20px; height: 20px; border-radius: 5px; }

/* Weiterleitungs- und Einladungsseite */
.center-card { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px 28px; box-shadow: var(--shadow); }
.center-card img.app-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 18px; }
.invite-code { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: .12em; padding: 10px 20px; border-radius: 14px; background: var(--bg-soft); border: 1px dashed var(--line); margin: 14px 0; user-select: all; }

@media (max-width: 860px) {
    .apps { grid-template-columns: 1fr; }
    .values4 { grid-template-columns: 1fr 1fr; }
    .principles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .values4 { grid-template-columns: 1fr; }
    .app-card .app-head { padding: 22px 20px 18px; }
    .app-card .app-body { padding: 18px 20px 22px; }
}

/* ---------- Farbwelt MietGenius ---------- */
.theme-mietgenius {
    --brand-teal: #1F5F8B;
    --brand-blue: #2A7AB0;
    --brand-gradient: linear-gradient(135deg, #163F5C 0%, #2A7AB0 100%);
    --brand-a-rgb: 31, 95, 139;
    --brand-b-rgb: 42, 122, 176;
}
.app-card.mietgenius .app-head { background: linear-gradient(135deg, #163F5C 0%, #2A7AB0 100%); }
.app-card.mietgenius li::before, .app-card.mietgenius .app-go { color: #1F5F8B; }
.apps.apps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .apps.apps-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Mietkonto im Handy-Mockup */
.mg-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mg-row .t { font-size: .72rem; color: var(--ink-soft); }
.mg-amount { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9rem; color: var(--ink); }
.mg-paid { color: #2E7D32; }
.mg-open { color: #B26A00; }
.mg-late { color: #C62828; }

/* Name der App und Sprachumschalter dürfen sich auf schmalen Bildschirmen nicht berühren */
.nav { gap: 14px; }
@media (max-width: 420px) {
    .lang-menu { gap: 4px; }
    .lang-menu .lang-switch { padding: 3px 6px; }
}
@media (max-width: 520px) {
    .nav { height: auto; min-height: 66px; flex-wrap: wrap; row-gap: 6px; padding-top: 10px; padding-bottom: 10px; }
    .theme-lakeside .brand { font-size: 1rem; }
}
