/* mieterverwaltung.org · nur die Startseite. Baut auf basis.css auf.
   Stahlblau als einziger Akzent, Bernstein nur als Markierung. */

/* ── Hero ── */
.hero { padding: 76px 0 92px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-d); }
.hero h1 {
    margin-top: 18px;
    font-size: clamp(38px, 5.2vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em;
}
.beat { display: inline-block; opacity: .22; transition: opacity .35s var(--ease), color .35s; }
.beat.on { opacity: 1; }
.hero h1 .all { display: block; margin-top: 12px; }
.lead { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-2); list-style: none; }
.proof li::before { content: "✓"; font-weight: 800; color: var(--steel); margin-right: 7px; }

/* Vermieterjahr-Panel */
.day {
    background: var(--ink); color: #fff; border-radius: 24px; padding: 24px 24px 18px;
    box-shadow: 0 40px 80px -34px rgba(20,32,45,.6);
}
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.day-head span { font-size: 13px; color: #9FB0C3; letter-spacing: .02em; text-align: right; }
.day-clock { font-size: 44px; font-weight: 700; letter-spacing: -.02em; }
.day-bar { height: 4px; background: rgba(255,255,255,.12); border-radius: 9px; margin: 12px 0 16px; overflow: hidden; }
.day-bar i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 9px; transition: width .6s linear; }
.day-list { list-style: none; display: grid; gap: 8px; }
.day-list li {
    display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
    padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.05);
    font-size: 14.5px; opacity: .35; transform: translateX(6px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), background .4s;
}
.day-list li.done { opacity: 1; transform: none; }
.day-list li.now { background: rgba(74,115,150,.45); }
.day-list time { font-family: var(--mono); color: #9FB0C3; font-size: 13px; }
.day-list .tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; background: rgba(255,255,255,.1); color: #C9D5E2; }
.day-list .tag.auto { background: var(--amber); color: var(--ink); }
.day-foot { margin-top: 12px; font-size: 12px; color: #8093A8; display: flex; justify-content: space-between; }
.day-foot button { background: none; border: 0; color: #C9D5E2; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── Leiste mit Grundsätzen ── */
.strip { background: var(--soft); border-block: 1px solid var(--line); }
.strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 26px 22px; border-left: 1px solid var(--line); }
.strip li:first-child { border-left: 0; }
.strip strong { display: block; font-size: 16px; letter-spacing: -.01em; }
.strip span { font-size: 14px; color: var(--ink-2); }

/* ── Bänder ── */
.band { padding: 104px 0; }
.band > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.band.flip .copy { order: 2; }
.band.dark  { background: var(--ink); color: #fff; }
.band.soft  { background: var(--soft); }
.dark .kicker { color: var(--amber); }
.band h2, .sec h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.sec h2 { max-width: 780px; }
.band p.intro { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 520px; }
.dark p.intro { color: #C9D5E2; }
.feats { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.feats li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.feats li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 3px; background: var(--steel); }
.dark .feats li::before { background: var(--amber); }
.feats b { font-weight: 700; }
.dark .feats li { color: #E3EAF1; }
.dark a { color: #C9D5E2; }
.more { display: inline-block; margin-top: 22px; font-weight: 700; font-size: 15px; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Szene: Soll/Ist-Matrix */
.sheet { background: #fff; color: var(--ink); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(20,32,45,.45); overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.sheet-head strong { color: var(--ink); font-size: 15px; }
.matrix { overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 440px; }
.matrix th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 10px 10px 8px; }
.matrix th:first-child, .matrix td:first-child { padding-left: 20px; }
.matrix th:last-child, .matrix td:last-child { padding-right: 16px; }
.matrix td { padding: 11px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.matrix td.num, .matrix th.num { text-align: right; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap;
    opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.chip.on { opacity: 1; transform: none; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.ok { background: #E3F2EA; color: var(--green); }
.chip.late { background: #F8E3E1; color: var(--red); }
.matrix tr.late td { background: #FDF6F5; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 20px; background: var(--soft); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

/* Szene: Nebenkostenabrechnung */
.bill { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 30px 60px -34px rgba(20,32,45,.45); border: 1px solid var(--line); font-size: 13.5px; position: relative; }
.bill-top { display: flex; justify-content: space-between; gap: 16px; }
.bill-top .to { color: var(--ink-2); line-height: 1.45; }
.bill-top .to b { color: var(--ink); }
.bill-top .no { text-align: right; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.bill-rx { margin: 16px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--steel-l); color: var(--steel-d); font-size: 12.5px; line-height: 1.5; }
.bill table { width: 100%; border-collapse: collapse; }
.bill td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.bill td small { color: var(--ink-3); }
.bill td:last-child { text-align: right; font-family: var(--mono); white-space: nowrap; }
.bill tr.sum td { font-weight: 700; }
.bill tr.res td { border-bottom: 0; font-weight: 800; padding-top: 10px; font-size: 15px; }
.stamp-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.stamp {
    display: inline-block; transform: rotate(-6deg);
    border: 2px solid var(--steel-d); color: var(--steel-d); border-radius: 8px;
    padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(255,255,255,.85);
}

/* Szene: Anlage V */
.ledger { background: #fff; color: var(--ink); border-radius: 18px; padding: 20px 22px 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ledger-head strong { font-size: 18px; letter-spacing: -.01em; }
.ledger-head span { font-size: 12.5px; color: var(--ink-3); }
.ledger-bar { height: 4px; background: var(--soft); border-radius: 9px; margin: 12px 0 8px; overflow: hidden; }
.ledger-bar i { display: block; height: 100%; width: 0; background: var(--steel); border-radius: 9px; transition: width .4s var(--ease); }
.lgrp { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.lrow { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lrow .v { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.lrow.on .v { opacity: 1; transform: none; }
.lrow.sum { font-weight: 700; }
.lrow.res { border-bottom: 0; padding-top: 12px; font-weight: 800; font-size: 16px; }
.ledger-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.okchip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.okchip.on { opacity: 1; transform: none; }
.okchip::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 12px; }
.ledger-actions { display: flex; gap: 8px; margin-top: 14px; }
.ledger-actions span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-2); }
.ledger-actions span:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Szene: Belegeingang */
.inbox .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 14px; }
.inbox .row:first-of-type { border-top: 0; }
.inbox .row .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--ink-3); }
.inbox .row .meta .mono { font-size: 11.5px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: var(--steel-l); color: var(--steel-d); }
.pill.q { background: #FDF1D9; color: #8A5A00; }

/* ── Abschnitte mit Überschrift oben ── */
.sec { padding: 104px 0; }
.sec.soft { background: var(--soft); }
.sec .intro { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 680px; }
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.grid .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--steel-l); color: var(--steel-d); display: grid; place-items: center; margin-bottom: 14px; }
.grid .ico svg { width: 22px; height: 22px; }
.grid h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.grid p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.grid .step { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--steel); display: block; margin-bottom: 10px; }
.sec .ctas { margin-top: 36px; }

/* Preisvergleich */
.prices { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prices table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.prices th, .prices td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.prices thead th { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prices tbody th { font-weight: 600; color: var(--ink); }
.prices td { color: var(--ink-2); }
.prices .win { background: var(--steel-l); color: var(--steel-d); font-weight: 700; }
.prices thead .win { color: var(--steel-d); }
.prices .no { color: var(--ink-3); }
.save { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.save p { font-size: 20px; font-weight: 700; letter-spacing: -.01em; max-width: 640px; }

/* ── Für wen ── */
.fit { padding: 88px 0; border-top: 1px solid var(--line); }
.fit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fit h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.025em; line-height: 1.12; font-weight: 800; }
.fit ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.fit li { padding-left: 28px; position: relative; color: var(--ink-2); }
.fit .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--steel); font-weight: 800; }
.fit .no li::before  { content: "×"; position: absolute; left: 2px; color: var(--ink-3); font-weight: 800; }

/* ── FAQ ── */
.faq { padding: 104px 0; background: var(--soft); }
.faq h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.faq-list { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--steel); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 720px; }
.faq .more { margin-top: 26px; }

/* ── Bestellen ── */
.end { background: var(--ink); color: #fff; padding: 104px 0; }
.end .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: start; }
.end h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.end .intro { margin-top: 18px; max-width: 520px; color: #C9D5E2; font-size: 18px; }
.end .feats li { color: #E3EAF1; }
.end .feats li::before { background: var(--amber); }
.end .feats a { color: #fff; text-underline-offset: 3px; }
.contact { margin-top: 28px; display: grid; gap: 6px; font-size: 15px; color: #9FB0C3; }
.contact a { color: #fff; text-decoration: none; font-weight: 600; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 40px 80px -34px rgba(0,0,0,.7); }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.form-head strong { font-size: 20px; letter-spacing: -.01em; }
.form-head span { font-size: 13px; color: var(--ink-3); text-align: right; }
.frow { display: grid; gap: 6px; margin-bottom: 16px; }
.frow label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.frow input, .frow select, .frow textarea {
    font: inherit; font-size: 16px; color: var(--ink); width: 100%;
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
    transition: border-color .15s;
}
.frow textarea { min-height: 96px; resize: vertical; }
.frow input:focus, .frow select:focus, .frow textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px var(--steel-l); }
.req { color: var(--red); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); margin: 4px 0 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--steel-d); }
.form .btn { width: 100%; justify-content: center; }
.thanks p { color: var(--ink-2); margin-top: 10px; }
.thanks .btn { margin-top: 18px; width: auto; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .hero .wrap, .band > .wrap, .fit .wrap, .end .wrap { grid-template-columns: 1fr; gap: 44px; }
    .band.flip .copy { order: 0; }
    .strip ul { grid-template-columns: 1fr 1fr; }
    .strip li:nth-child(3) { border-left: 0; }
    .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .grid, .grid.four { grid-template-columns: 1fr 1fr; }
    .band, .sec, .faq, .end { padding: 76px 0; }
}
@media (max-width: 620px) {
    .grid, .grid.four { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .strip ul { grid-template-columns: 1fr; }
    .strip li { border-left: 0; border-top: 1px solid var(--line); }
    .strip li:first-child { border-top: 0; }
    .day-list li { grid-template-columns: 38px 1fr; }
    .day-list .tag { display: none; }
    .bill { padding: 18px; }
    .bill-top { flex-direction: column; }
    .bill-top .no { text-align: left; }
    .form { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .beat { opacity: 1; } }

/* ── Preisstufen (seit 29.09.2026) ── */
.tarife { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tarif { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; background: #fff; }
.tarif h3 { font-size: 19px; letter-spacing: -.01em; }
.tarif-preis { margin-top: 14px; font-size: 44px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.tarif-preis span { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.tarif-unter { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.tarif ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 9px; flex: 1; }
.tarif li { padding-left: 24px; position: relative; font-size: 15px; color: var(--ink-2); }
.tarif li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--steel); }
.tarif .btn { justify-content: center; }
.tarif.dunkel { background: var(--ink); border-color: var(--ink); color: #fff; }
.tarif.dunkel li, .tarif.dunkel .tarif-unter, .tarif.dunkel .tarif-preis span { color: #C9D5E2; }
.tarif.dunkel li::before { color: var(--amber); }
.tarif-marke { position: absolute; top: -12px; left: 24px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--amber); color: var(--ink); }
@media (max-width: 960px) { .tarife { grid-template-columns: 1fr; } }
.pro-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--steel-l); color: var(--steel-d); }

/* Erklärvideo (selbst gehostet, kein YouTube-iframe, siehe VideoObject im Kopf) */
.video { padding: 88px 0 24px; text-align: center; }
.video h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.video-box { margin: 36px auto 0; max-width: 980px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -28px rgba(20,32,45,.45); }
.video-box video { display: block; width: 100%; height: 100%; }
.video-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
