/* mieterverwaltung.org · gemeinsame Basis aller öffentlichen Seiten im Stil von praxtakt.de.
   Tokens, Reset, Kopfleiste, Buttons, Markierung, Fußzeile.
   Startseite: basis.css + start.css. Unterseiten: basis.css + seite.css.
   Keine Webfonts (Systemschrift), kein Tracking, kein Build. */
:root {
    --ink:    #14202D;
    --ink-2:  #3D4B5C;
    --ink-3:  #66758A;
    --paper:  #FFFFFF;
    --soft:   #F2F5F8;
    --line:   #DCE3EA;
    --steel:  #4A7396;
    --steel-d:#2C5373;
    --steel-l:#E4EDF4;
    --amber:  #F0B84A;
    --red:    #C4453A;
    --green:  #1E7A4C;
    --radius: 14px;
    --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--ink); background: var(--paper);
    font-size: 17px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--steel-d); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.small { font-size: 13px; color: var(--ink-3); }
/* ── Navigation ── */
nav.top {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) { nav.top { background: rgba(255,255,255,.8); backdrop-filter: saturate(1.6) blur(14px); } }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; }
.logo b { color: var(--steel); font-weight: 800; }
.logo svg { width: 26px; height: 24px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; font-size: 15px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-ink { color: #fff; }
@media (max-width: 980px) { .nav-links li.opt { display: none; } }
@media (max-width: 720px) { .nav-links li:not(:last-child) { display: none; } }
@media (max-width: 420px) {
    nav.top .wrap { gap: 10px; }
    .logo { font-size: 16px; gap: 7px; } .logo svg { width: 22px; height: 20px; }
    .nav-links .btn-small { padding: 9px 11px; font-size: 13px; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
    padding: 16px 24px; border-radius: 12px; border: 2px solid transparent;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 0 -2px var(--steel); }
.btn-ink:hover { box-shadow: 0 8px 0 -2px var(--steel); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-small { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn .arr { transition: transform .15s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

mark { background: linear-gradient(transparent 60%, var(--amber) 60%, var(--amber) 90%, transparent 90%); color: inherit; padding: 0 4px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
/* ── Footer ── */
footer { padding: 64px 0 40px; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fgrid p { margin-top: 12px; max-width: 320px; color: var(--ink-2); }
.fgrid h3 { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.fgrid ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
.legal-row { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.legal-row ul { list-style: none; display: flex; gap: 22px; }


@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
