/* ==========================================================================
   ReviewsBuster
   Hell, ruhig, sachlich. Alles mit Kennung oder Zeitstempel steht in
   Monospace — das hält die Oberfläche nahbar, ohne beliebig zu werden.
   Schriften ausschließlich aus dem System-Stack: kein externes Font-CDN,
   weil dessen Einbindung personenbezogene Daten überträgt.
   Inline-Styles sind durch die Content-Security-Policy blockiert und sollen
   es bleiben. Punktuelle Abstände laufen über die Hilfsklassen am Ende.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --bg-tint:   #f6f9ff;
  --bg-soft:   #f1f5fb;
  --surface:   #ffffff;
  --line:      #e3eaf3;
  --line-soft: #eef3f9;

  --text:      #101a2b;
  --text-body: #4a5b72;
  --text-dim:  #6b7c94;
  --text-faint:#94a3b6;

  --blue:      #2563eb;
  --blue-dark: #1a4fd0;
  --blue-soft: #e8f0ff;

  --sig-open:   #64748b;
  --sig-work:   #b45309;
  --sig-work-bg:#fdf3e3;
  --sig-done:   #0f8a5f;
  --sig-done-bg:#e6f6ef;
  --sig-back:   #c2410c;
  --sig-back-bg:#fdeee6;
  --sig-stop:   #7c6f8a;
  --sig-stop-bg:#f2f0f6;

  --radius:      10px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 26, 43, .05);
  --shadow:    0 4px 16px rgba(16, 26, 43, .06);
  --shadow-lg: 0 18px 48px rgba(16, 26, 43, .10);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --shell: 1200px;
}

/* -- Grundlagen ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.022em;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: 1.5rem; }
.narrow { max-width: 48rem; }

.ref, .stamp, time, .num {
  font-family: var(--mono);
  font-size: .8em;
  letter-spacing: .02em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.ref { color: var(--blue); }

.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: .3rem .8rem; border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.lede  { font-size: 1.12rem; color: var(--text-body); max-width: 58ch; }
.muted { color: var(--text-dim); font-size: .93rem; }

/* -- Bedienelemente ------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.3rem;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--bg-soft); color: var(--text);
  font: inherit; font-size: .94rem; font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn:hover  { text-decoration: none; background: #e6ecf6; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn--solid { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--blue-dark); box-shadow: var(--shadow); }

.btn--quiet { background: transparent; border-color: var(--line); color: var(--text-body); }
.btn--quiet:hover { background: var(--bg-soft); border-color: #d3dfee; }

.btn--lg { padding: .9rem 1.65rem; font-size: 1rem; }

/* -- Formulare ----------------------------------------------------------- */

.field { display: block; margin-bottom: 1.15rem; }
.field > span {
  display: block; font-size: .86rem; font-weight: 500;
  color: var(--text); margin-bottom: .4rem;
}
.field .hint {
  display: block; font-size: .8rem; color: var(--text-faint);
  font-weight: 400; margin-top: .35rem;
}
.field > span .hint { display: inline; margin: 0; }

input[type=text], input[type=email], input[type=password], input[type=url],
input[type=search], input[type=tel], select, textarea {
  width: 100%;
  padding: .68rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text);
  font: inherit; font-size: .96rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }

.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.check {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-tint);
  font-size: .9rem; line-height: 1.55; cursor: pointer;
}
.check input { margin-top: .25rem; accent-color: var(--blue); flex-shrink: 0; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -- Status -------------------------------------------------------------- */

.status {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .65rem; border-radius: var(--radius-pill);
  font-size: .76rem; font-weight: 500; white-space: nowrap;
  background: var(--bg-soft); color: var(--sig-open);
}
.status::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }

.status--draft, .status--assessed, .status--customer_input { background: var(--bg-soft);      color: var(--sig-open); }
.status--ready, .status--approved, .status--submitted       { background: var(--sig-work-bg); color: var(--sig-work); }
.status--removed                                            { background: var(--sig-done-bg); color: var(--sig-done); }
.status--reappeared                                         { background: var(--sig-back-bg); color: var(--sig-back); }
.status--rejected, .status--closed                          { background: var(--sig-stop-bg); color: var(--sig-stop); }

.stars { font-family: var(--mono); color: #e0a020; letter-spacing: .08em; font-size: .9rem; }
.stars .off { color: #d8e0ea; }

/* -- Meldungen ----------------------------------------------------------- */

.notices { position: fixed; top: 1rem; right: 1rem; z-index: 50; display: grid; gap: .5rem; max-width: 24rem; }
.notice {
  padding: .8rem 1rem; border-radius: var(--radius);
  border-left: 3px solid var(--sig-open);
  background: var(--surface); box-shadow: var(--shadow-lg);
  font-size: .9rem; color: var(--text);
}
.notice--success { border-left-color: var(--sig-done); }
.notice--error   { border-left-color: var(--sig-back); }
.notice--info    { border-left-color: var(--blue); }

.alert {
  padding: .9rem 1.1rem;
  border: 1px solid var(--line); border-left-width: 3px;
  border-radius: var(--radius); background: var(--bg-tint);
  font-size: .92rem; margin-bottom: 1.35rem;
}
.alert--error { border-left-color: var(--sig-back); background: var(--sig-back-bg); }
.alert--note  { border-left-color: var(--blue);     background: var(--blue-soft); }

/* ==========================================================================
   Öffentliche Seiten
   ========================================================================== */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 1rem; }
.topbar nav { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; }
.topbar nav a { color: var(--text-body); }
.topbar nav a:hover { color: var(--blue); text-decoration: none; }

.brand { display: flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--text); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.brand .mark {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 8px;
  background: var(--blue); color: #fff;
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--line-soft);
}
.hero .shell { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .hero .shell { grid-template-columns: 1.02fr .98fr; } }

.badge-ok {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border-radius: var(--radius-pill);
  background: var(--sig-done-bg); color: var(--sig-done);
  font-size: .82rem; font-weight: 500; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.1rem; font-size: .88rem; color: var(--text-dim); }
.hero-facts span { display: flex; align-items: center; gap: .45rem; }
.hero-facts .tick { color: var(--sig-done); font-style: normal; font-weight: 600; }

/* Signature: die Fallakte */
.dossier {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
}
.dossier-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.25rem;
  border-bottom: 1px solid var(--line-soft); background: var(--bg-tint);
}
.dossier-body { padding: 1.25rem; }

.quote {
  margin: 0 0 1.1rem; padding: .95rem 1.1rem;
  border-left: 3px solid var(--line);
  background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem; color: var(--text-body); line-height: 1.6;
}
.quote cite {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .5rem; font-style: normal;
  color: var(--text); font-size: .88rem; font-weight: 500;
}

.verdict { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.verdict-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.verdict-line strong { color: var(--text); font-size: .92rem; font-weight: 600; }
.verdict p { font-size: .88rem; color: var(--text-body); margin: 0; line-height: 1.6; }

.rail { display: grid; margin-top: 1.25rem; }
.rail-step {
  display: grid; grid-template-columns: 1.1rem 1fr auto; gap: .75rem;
  align-items: start; padding-bottom: .9rem; position: relative;
}
.rail-step:not(:last-child)::before {
  content: ""; position: absolute; left: .49rem; top: 1.05rem; bottom: 0;
  width: 2px; background: var(--line);
}
.rail-dot {
  width: .65rem; height: .65rem; margin-top: .42rem; margin-left: .21rem;
  border-radius: 50%; background: #cfdaea; z-index: 1;
  box-shadow: 0 0 0 3px var(--surface);
}
.rail-step.is-done .rail-dot { background: var(--sig-done); }
.rail-step.is-now  .rail-dot { background: var(--blue); }
.rail-label { font-size: .88rem; color: var(--text-body); }
.rail-step:not(.is-done):not(.is-now) .rail-label { color: var(--text-faint); }

/* Kennzahlenband */
.band { border-bottom: 1px solid var(--line-soft); padding: 2rem 0; }
.band .shell { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: center; }
.band .claim { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.band .stat { text-align: center; }
.band .stat b { display: block; font-size: 1.7rem; font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.band .stat span { font-size: .82rem; color: var(--text-dim); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 62ch; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; color: var(--text-body); }

.steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 680px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
}
.step .n {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue);
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
}
.step h3 { margin: .9rem 0 .5rem; }
.step p  { font-size: .9rem; color: var(--text-body); margin: 0; }

.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tier {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; background: var(--surface);
  box-shadow: var(--shadow-sm); position: relative;
}
.tier.is-featured { border-color: var(--blue); box-shadow: var(--shadow); }
.tier.is-featured::after {
  content: "Häufigste Staffel";
  position: absolute; top: -.7rem; left: 1.4rem;
  background: var(--blue); color: #fff;
  font-size: .68rem; font-weight: 600; letter-spacing: .03em;
  padding: .2rem .6rem; border-radius: var(--radius-pill);
}
.tier .qty   { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.tier .price { font-size: 2.2rem; font-weight: 600; color: var(--text); letter-spacing: -.03em; margin: .55rem 0 .2rem; }
.tier .per   { font-size: .85rem; color: var(--text-dim); }

.prose { max-width: 62ch; }
.prose h3 { margin-bottom: .6rem; }
.prose h3 + p { color: var(--text-body); font-size: .96rem; }
.prose > * + h3 { margin-top: 2.1rem; }

.footer { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line-soft); color: var(--text-faint); font-size: .87rem; }
.footer .shell { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: space-between; }
.footer a { color: var(--text-dim); }

/* -- Anmeldung ----------------------------------------------------------- */

.page-auth {
  display: grid; place-items: center; min-height: 100vh; padding: 2rem 1.25rem;
  background: linear-gradient(180deg, var(--bg-tint), var(--bg) 60%);
}
.auth-card {
  width: 100%; max-width: 24.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-lg);
  padding: 2.25rem 2rem;
}
.auth-card .brand { margin-bottom: 1.9rem; }
.auth-card h1 { font-size: 1.55rem; font-weight: 600; margin-bottom: .4rem; }
.auth-card > p { color: var(--text-dim); font-size: .92rem; margin-bottom: 1.75rem; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.auth-foot {
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line-soft);
  font-size: .87rem; display: flex; justify-content: space-between; gap: 1rem;
}

/* -- Fehlerseite --------------------------------------------------------- */

.page-error { display: grid; place-items: center; min-height: 100vh; padding: 2rem; text-align: center; }
.error-card { max-width: 30rem; }
.error-code { font-family: var(--mono); font-size: 3.5rem; color: var(--blue); margin: 0 0 .5rem; line-height: 1; }
.error-card .btn { margin-top: 1.5rem; }

/* ==========================================================================
   Arbeitsbereich
   ========================================================================== */

.app { display: grid; grid-template-columns: 1fr; min-height: 100vh; background: var(--bg-tint); }
@media (min-width: 900px) { .app { grid-template-columns: 15.5rem 1fr; } }

.side {
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 1.5rem 1.1rem; display: flex; flex-direction: column; gap: 1.75rem;
}
.side nav { display: grid; gap: .2rem; }
.side nav a { padding: .55rem .75rem; border-radius: 8px; color: var(--text-body); font-size: .92rem; }
.side nav a:hover { background: var(--bg-soft); text-decoration: none; }
.side nav a[aria-current=page] { background: var(--blue-soft); color: var(--blue); font-weight: 500; }
.side .who { margin-top: auto; padding-top: 1.15rem; border-top: 1px solid var(--line-soft); font-size: .88rem; }
.side .who b { display: block; color: var(--text); }
.side .who .role { font-size: .71rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.side .who form { margin-top: .85rem; }
.side .who button { width: 100%; justify-content: center; }

.work { padding: 2.25rem 1.75rem 4rem; min-width: 0; }
.work > header { margin-bottom: 2rem; }
.work > header h1 { font-size: 1.8rem; font-weight: 600; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); margin-bottom: 1.75rem; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 1.2rem 1.25rem; box-shadow: var(--shadow-sm);
}
.card .k { font-size: .73rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-faint); }
.card .v { font-size: 2rem; font-weight: 600; color: var(--text); letter-spacing: -.03em; line-height: 1.15; margin: .45rem 0 .2rem; }
.card .n { font-size: .82rem; color: var(--text-dim); }
.card.is-accent { border-color: var(--sig-done); background: var(--sig-done-bg); }
.card.is-accent .v, .card.is-accent .k { color: var(--sig-done); }

.panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); margin-bottom: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.panel > header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line-soft);
}
.panel > header h2 { font-size: 1.02rem; }
.panel .body { padding: 1.25rem; }
.panel .body p { color: var(--text-body); }

.rows { display: grid; }
.rows > * {
  display: grid; gap: .35rem 1rem; align-items: center;
  padding: .9rem 1.25rem; border-bottom: 1px solid var(--line-soft);
  color: inherit; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .rows > * { grid-template-columns: 1fr auto auto; } }
.rows > *:last-child { border-bottom: 0; }
.rows a:hover { background: var(--bg-tint); text-decoration: none; }
.rows .main b { display: block; color: var(--text); font-size: .94rem; font-weight: 500; }
.rows .main small {
  display: block; color: var(--text-faint); font-size: .84rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch;
}

.empty { padding: 2.75rem 1.25rem; text-align: center; color: var(--text-faint); font-size: .9rem; }
.empty b { display: block; color: var(--text-body); margin-bottom: .35rem; font-weight: 500; }

/* -- Hilfsklassen statt Inline-Styles ------------------------------------ */

.stack-sm { margin-top: .65rem; }
.stack    { margin-top: 1.25rem; }
.stack-lg { margin-top: 2.5rem; }
.tight    { margin: 0; }

/* -- Bewegung ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Ausbau: Verläufe, Symbolkacheln, Faltbereiche, Abschlussband
   ========================================================================== */

/* Weiche Flächenverläufe. Bewusst sparsam: zwei Töne, kein Farbverlauf
   quer durchs Spektrum — sonst wirkt die Seite unruhig statt ruhig. */
.grad-top    { background: linear-gradient(180deg, #eef4ff 0%, #f7faff 45%, var(--bg) 100%); }
.grad-soft   { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%); }
.grad-reverse{ background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }

/* Symbolkachel */
.tile {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  flex-shrink: 0;
}
.tile svg { width: 1.25rem; height: 1.25rem; }
.tile--done { background: var(--sig-done-bg); color: var(--sig-done); }
.tile--sm { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
.tile--sm svg { width: 1.05rem; height: 1.05rem; }

/* Schrittkarten mit geisterhafter Nummer */
.step { position: relative; overflow: hidden; }
.step .ghost {
  position: absolute; top: .9rem; right: 1.1rem;
  font-size: 2.1rem; font-weight: 700;
  color: var(--line-soft); letter-spacing: -.03em; line-height: 1;
  user-select: none; pointer-events: none;
}
.step:hover { border-color: #d3e0f5; box-shadow: var(--shadow); }
.step { transition: border-color .15s ease, box-shadow .15s ease; }

/* Zweispaltiger Abschnitt: Text links, Beleg rechts */
.split { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; } }
.split--flip > :first-child { order: 2; }
@media (max-width: 939px) { .split--flip > :first-child { order: 0; } }

/* Merkmalsliste mit Symbol */
.features { display: grid; gap: 1.4rem; margin-top: 2rem; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature b { display: block; color: var(--text); font-size: .96rem; font-weight: 600; margin-bottom: .15rem; }
.feature p { margin: 0; font-size: .89rem; color: var(--text-dim); }

/* Befundkarte */
.finding {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
}
.finding-head {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line-soft);
}
.finding-head .who b { display: block; color: var(--text); font-size: .93rem; font-weight: 600; }
.finding-head .who span { font-size: .8rem; color: var(--text-faint); font-family: var(--mono); }
.finding-head .status { margin-left: auto; }
.finding-body { padding: 1.25rem; }

.score { display: flex; align-items: baseline; gap: .6rem; margin: 1.1rem 0 .35rem; }
.score b { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.score.is-low b { color: var(--sig-stop); }
.score span { font-size: .82rem; color: var(--text-faint); }

.checklist { display: grid; gap: .6rem; margin-top: 1.1rem; }
.checklist li {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start;
  padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-tint); list-style: none;
}
.checklist { padding: 0; margin-block: 1.1rem 0; }
.checklist b { display: block; color: var(--text); font-size: .87rem; font-weight: 600; }
.checklist small { color: var(--text-dim); font-size: .82rem; }
.checklist .ic { color: var(--sig-done); line-height: 1; margin-top: .1rem; }
.checklist .ic--stop { color: var(--sig-stop); }
.checklist svg { width: 1rem; height: 1rem; display: block; }

/* Preiskarte, breit */
.plan {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 780px) { .plan { grid-template-columns: 1fr 1fr; } }
.plan .kicker { color: var(--blue); font-size: .86rem; font-weight: 600; }
.plan .amount { display: flex; align-items: baseline; gap: .5rem; margin: .6rem 0 .4rem; }
.plan .amount b { font-size: 3rem; font-weight: 500; color: var(--text); letter-spacing: -.04em; line-height: 1; }
.plan .amount span { font-size: .86rem; color: var(--text-faint); }
.plan .basis { font-size: .87rem; color: var(--text-dim); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; align-content: start; }
.plan li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: .9rem; }
.plan li .ic { color: var(--sig-done); margin-top: .15rem; }
.plan li svg { width: 1rem; height: 1rem; display: block; }
.plan .foot { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); text-align: center; }

/* Faltbereich für Fragen — ohne JavaScript */
.faq { display: grid; max-width: 52rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .25rem; cursor: pointer; list-style: none;
  color: var(--text); font-size: 1rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--blue); font-size: 1.35rem; font-weight: 400;
  line-height: 1; flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 .25rem 1.35rem; color: var(--text-body); font-size: .95rem; max-width: 68ch; }
.faq .answer p + p { margin-top: .8rem; }

/* Abschlussband */
.cta-band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cta-inner {
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 88% 12%, #2f6fe0 0%, rgba(47,111,224,0) 58%),
    linear-gradient(135deg, #10294f 0%, #143567 55%, #17407c 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
}
.cta-inner .brand { justify-content: center; margin-bottom: 1.25rem; }
.cta-inner .brand b { color: #fff; }
.cta-inner .brand .mark { background: rgba(255,255,255,.16); }
.cta-inner h2 { color: #fff; margin-bottom: .75rem; }
.cta-inner p { color: rgba(255,255,255,.72); font-size: .96rem; max-width: 46ch; margin-inline: auto; }
.cta-inner .btn {
  margin-top: 1.75rem; background: #fff; color: #10294f; font-weight: 600;
}
.cta-inner .btn:hover { background: #eaf1ff; }

/* Erweiterter Fuß */
.footer .brand b { font-size: 1.05rem; }
.footer .tagline { max-width: 34ch; color: var(--text-faint); font-size: .84rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Portfolio-Vorschau im Hero */
.gauge { display: grid; place-items: center; margin: 1.25rem 0 1.5rem; }
.gauge svg { width: 8.5rem; height: 8.5rem; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--line-soft); stroke-width: 10; }
.gauge .fill  { fill: none; stroke: var(--sig-done); stroke-width: 10; stroke-linecap: round; }
.gauge .value {
  position: absolute; font-size: 1.75rem; font-weight: 600;
  color: var(--text); letter-spacing: -.03em;
}
.gauge-wrap { position: relative; display: grid; place-items: center; }

.bars { display: grid; gap: .85rem; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; }
.bar-row .label { font-size: .82rem; color: var(--text-dim); }
.bar-row .track { height: .4rem; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 999px; background: var(--sig-done); }
.bar-row .pct { font-family: var(--mono); font-size: .76rem; color: var(--text-faint); }

/* Schwebende Hinweiskarte */
.float-note {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem .85rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
  font-size: .8rem;
}
.float-note b { display: block; color: var(--text); font-weight: 600; }
.float-note span { color: var(--text-faint); }

/* Hilfsklassen */
.center { text-align: center; }
.flow > * + * { margin-top: 1rem; }

/* Balkenbreiten als Klassen — Inline-Styles bleiben durch die CSP gesperrt */
.w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; }
.w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; }
.w-90 { width: 90%; } .w-100 { width: 100%; }

/* Ablaufseite */
.timeline { display: grid; gap: 0; max-width: 46rem; margin-inline: auto; }
.tl-item {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.35rem;
  padding-bottom: 2.25rem; position: relative;
}
.tl-item:not(:last-child)::before {
  content: ""; position: absolute; left: 1.29rem; top: 3rem; bottom: .35rem;
  width: 2px; background: var(--line);
}
.tl-item h3 { margin-bottom: .45rem; }
.tl-item p { color: var(--text-body); font-size: .95rem; margin: 0; }
.tl-item .detail {
  margin-top: .9rem; padding: .9rem 1.1rem;
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-tint); font-size: .88rem; color: var(--text-dim);
}

/* ==========================================================================
   Korrekturen und Feinschliff
   ========================================================================== */

/* --- Symbolgrößen ------------------------------------------------------- */
/* Inline-SVG ohne width/height dehnt sich auf die Containergröße aus. Das
   hat Badges und Buttons aufgeblasen. Symbole richten sich ab hier nach der
   Schriftgröße ihres Umfelds. */
svg { display: inline-block; vertical-align: middle; }
.btn svg,
.badge-ok svg,
.hero-facts svg,
.plan li svg,
.checklist svg,
.faq summary svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.badge-ok { line-height: 1.35; }
.badge-ok svg { color: var(--sig-done); }

/* --- Spezifität in der Kopfzeile ---------------------------------------- */
/* `.topbar nav a` (0,1,2) schlug `.btn--solid` (0,1,0) und färbte die
   Schrift dunkel — der Button war auf Blau nicht lesbar. */
.topbar nav a.btn        { color: var(--text); }
.topbar nav a.btn:hover  { color: var(--text); text-decoration: none; }
.topbar nav a.btn--solid,
.topbar nav a.btn--solid:hover { color: #fff; }
.cta-inner a.btn, .cta-inner a.btn:hover { color: #10294f; }

/* --- Wortmarke ---------------------------------------------------------- */
.brand img.logo { height: 2rem; width: auto; display: block; }
.brand img.mark-img { height: 2.1rem; width: 2.1rem; display: block; }
.topbar .brand img.logo { height: 2.1rem; }
.footer .brand img.logo { height: 1.9rem; }
.auth-card .brand img.logo { height: 2.2rem; }
.brand--stack { flex-direction: column; gap: .35rem; align-items: flex-start; }

/* --- Ringanzeige -------------------------------------------------------- */
/* Vorher trug ein Element gleichzeitig .gauge und .value und hat sich
   dadurch selbst als Grid ausgelegt. */
.gauge { position: relative; display: grid; place-items: center; margin: 1.35rem 0 1.7rem; }
.gauge svg { width: 9rem; height: 9rem; transform: rotate(-90deg); }
.gauge-value {
  position: absolute; display: flex; align-items: baseline; gap: .08rem;
  font-size: 1.9rem; font-weight: 600; color: var(--text); letter-spacing: -.03em;
}
.gauge-value small { font-size: .95rem; font-weight: 500; color: var(--text-faint); }
.gauge-wrap { position: static; display: block; }

/* --- Balkenzeilen ------------------------------------------------------- */
.bar-row { grid-template-columns: 1fr; gap: .4rem; }
.bar-row .head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bar-row .label { color: var(--text); font-weight: 500; }

/* --- Mehr Kontrast ------------------------------------------------------ */
/* Die Seite war flächig zu hell: zu wenig Trennung zwischen Abschnitten und
   zu wenig Farbe außerhalb der Buttons. */
:root {
  --text-body: #41536b;
  --text-dim:  #5d6f88;
  --line:      #dbe4f0;
}

.section + .section { border-top: 1px solid var(--line-soft); }
.section--tint, .grad-soft, .grad-reverse { border-top: 1px solid var(--line-soft); }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 40%;
  height: 70vh; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(37,99,235,.10), rgba(37,99,235,0) 70%);
}
.hero .shell { position: relative; }
.hero h1 { max-width: 15ch; }

.dossier, .finding { border-color: #d3e0f2; }
.dossier-head { background: linear-gradient(180deg, #f2f7ff, #eaf1fd); }
.finding-head { background: linear-gradient(180deg, #f2f7ff, #fbfdff); }

.band { background: var(--bg-tint); border-block: 1px solid var(--line); }
.band .stat b { color: var(--blue); }

.step .n { box-shadow: inset 0 0 0 1px rgba(37,99,235,.14); }
.step .ghost { color: #e6edf8; }

.tier.is-featured { background: linear-gradient(180deg, #f4f8ff, var(--surface)); }

.card { border-color: #dde6f3; }
.panel { border-color: #dde6f3; }
.panel > header { background: linear-gradient(180deg, #f7fafe, var(--surface)); }

/* Akzentstreifen für Panels mit Handlungsbedarf */
.panel--attention { border-left: 3px solid var(--sig-work); }
.panel--good      { border-left: 3px solid var(--sig-done); }

/* --- Maßhalten ---------------------------------------------------------- */
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.hero-actions .btn { min-width: 0; }
.btn { line-height: 1.25; }
.checklist li { align-items: center; }

/* --- Tastaturführung ---------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --- Restliche Feinheiten ------------------------------------------------ */

.prose.center { margin-inline: auto; }

/* Kopfzeile auf schmalen Geräten: Nebenpunkte weichen, Handlung bleibt */
@media (max-width: 860px) {
  .topbar .shell { height: 4rem; }
  .topbar nav { gap: 1rem; }
  .topbar nav a:not(.btn) { display: none; }
  .topbar nav a[href="/anmelden"] { display: inline-flex; }
  .brand img.logo, .topbar .brand img.logo { height: 1.75rem; }
}
@media (max-width: 520px) {
  .btn--lg { padding: .8rem 1.2rem; font-size: .95rem; }
  .hero-actions { gap: .6rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .band .shell { text-align: center; }
  .work { padding: 1.5rem 1.1rem 3rem; }
  .side { padding: 1.1rem; }
}

/* Fußbereich: dreispaltig ab Tablet */
@media (min-width: 780px) {
  .footer .shell { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
  .footer nav { justify-content: flex-end; }
}

/* Zeilen im Arbeitsbereich: Sterne nicht umbrechen */
.rows .main b .stars { margin-left: .4rem; white-space: nowrap; }

/* Panels mit Handlungsbedarf hervorheben */
.panel--attention > header { background: linear-gradient(180deg, var(--sig-work-bg), var(--surface)); }
.panel--good > header      { background: linear-gradient(180deg, var(--sig-done-bg), var(--surface)); }

/* Karte im Hero nicht zu breit werden lassen */
@media (min-width: 940px) { .hero .dossier { max-width: 30rem; margin-left: auto; } }

/* Auswahlfelder bekommen einen eigenen Pfeil, sonst wirken sie unfertig */
select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

/* ==========================================================================
   Navigation mit Klappmenü, kräftigere Unterseiten
   ========================================================================== */

/* --- Logo etwas größer --------------------------------------------------- */
.brand img.logo,
.topbar .brand img.logo { height: 2.5rem; }
.footer .brand img.logo { height: 2.2rem; }
.auth-card .brand img.logo { height: 2.6rem; }
.side .brand img.logo { height: 2.2rem; }
.topbar .shell { height: 5rem; }

/* --- Klappmenü ----------------------------------------------------------- */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  cursor: pointer; padding: 0;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle .bars { display: grid; gap: 4px; width: 1.15rem; }
.nav-toggle .bars i {
  display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded=true] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded=true] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded=true] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .topbar .shell { height: 4.5rem; }
  .brand img.logo, .topbar .brand img.logo { height: 2.15rem; }
  .nav-toggle { display: inline-flex; }

  /* Alle Punkte wandern ins Klappmenü, auch Anmelden und der Handlungsknopf.
     Zwei getrennte Bedienorte auf schmalem Raum sind eine Fehlerquelle. */
  .topbar nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; gap: .25rem;
    padding: .85rem 1.5rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-height .22s ease, opacity .18s ease;
  }
  .topbar nav.is-open { max-height: 26rem; opacity: 1; visibility: visible; }
  .topbar nav a {
    padding: .8rem .25rem; font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .topbar nav a:not(.btn) { display: block; }
  .topbar nav a.btn { margin-top: .85rem; justify-content: center; border-bottom: 0; }
}
@media (min-width: 901px) { .topbar nav { max-height: none; opacity: 1; visibility: visible; } }

/* --- Unterseiten: mehr Gewicht ------------------------------------------ */

/* Zweispaltiger Seitenkopf mit Beiwerk rechts */
.page-split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .page-split { grid-template-columns: 1.35fr .65fr; gap: 3rem; } }

/* Inhaltskarte — hebt Formulare und Text aus dem Weißraum */
.sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.sheet + .sheet { margin-top: 1.5rem; }
.sheet > h2:first-child, .sheet > h3:first-child { margin-bottom: .85rem; }

/* Beiwerk-Spalte */
.aside-card {
  background: linear-gradient(180deg, #f4f8ff, var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
}
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card h3 { font-size: 1rem; margin-bottom: .9rem; }
.aside-card ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .75rem; }
.aside-card li { font-size: .89rem; color: var(--text-body); }
.aside-card li b { color: var(--text); display: block; font-weight: 600; }
.aside-card ol::marker { color: var(--blue); }
.aside-card .hint-box {
  margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft);
  font-size: .85rem; color: var(--text-dim);
}

/* Kartengitter für Erläuterungen */
.notes { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(2, 1fr); } }
.note {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.note h3 { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.note p { font-size: .92rem; margin: 0; }
.note p + p { margin-top: .7rem; }

/* Fragen als Karten statt nackter Liste */
.faq { gap: .85rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq details[open] { border-color: #c8daf6; box-shadow: var(--shadow); }
.faq summary { padding: 1.2rem 1.35rem; }
.faq .answer { padding: 0 1.35rem 1.35rem; }

/* Abschlusskasten am Seitenende */
.endnote {
  display: grid; gap: 1.25rem; align-items: center;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, #eef4ff, #f7fbff);
  border: 1px solid #d8e5fa; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
@media (min-width: 780px) { .endnote { grid-template-columns: 1fr auto; } }
.endnote h3 { margin-bottom: .4rem; }
.endnote p { margin: 0; font-size: .93rem; }

.notice { transition: opacity .3s ease, transform .3s ease; }
.notice.is-leaving { opacity: 0; transform: translateX(.75rem); }

/* Reiter im Arbeitsbereich */
.tabs {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-bottom: 1.5rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.tabs a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .85rem; border-radius: var(--radius);
  color: var(--text-body); font-size: .9rem;
}
.tabs a:hover { background: var(--bg-soft); text-decoration: none; }
.tabs a[aria-current=page] { background: var(--blue-soft); color: var(--blue); font-weight: 500; }
.tabs .pill {
  font-family: var(--mono); font-size: .72rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .05rem .45rem; color: var(--text-faint);
}
.tabs a[aria-current=page] .pill { border-color: #c3d8fa; color: var(--blue); }

/* Fallakte: Seitenspalte im Arbeitsbereich schmaler */
.work .page-split { gap: 1.5rem; }
@media (min-width: 1100px) { .work .page-split { grid-template-columns: 1fr 20rem; } }
@media (max-width: 1099px) { .work .page-split { grid-template-columns: 1fr; } }
.work .aside-card .rail { margin-top: 0; }
.work .aside-card .rail-dot { box-shadow: 0 0 0 3px #f7fafe; }

/* Nur-Lese-Textfelder im Meldepaket sichtbar von Eingabefeldern abheben */
textarea[readonly] {
  background: var(--bg-tint);
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.6;
  color: var(--text-body);
}
textarea[readonly]:focus { border-color: var(--line); box-shadow: none; }

/* Zeilen mit eingebettetem Formular (Rechnungslauf) */
.rows form { margin: 0; }
.rows form button { white-space: nowrap; }

/* Längere Seitenleiste im Betreiberbereich */
.side nav { gap: .1rem; }

/* Antwortvorschläge */
.reply {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-tint); padding: 1.1rem 1.2rem;
}
.reply + .reply { margin-top: 1rem; }
.reply-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .45rem; }
.reply-head b { color: var(--text); font-size: .95rem; }
.reply .field { margin-bottom: .8rem; }
.reply textarea[readonly] {
  font-family: var(--sans); font-size: .92rem; background: var(--surface);
}
.reply form { margin: 0; }

/* Bezahlzeile in der Abrechnung */
.pay-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  padding: .75rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-tint);
}
.pay-row .muted { font-size: .85rem; margin-right: .3rem; }
.pay-row form { margin: 0; }
.pay-row .btn { padding: .5rem 1rem; font-size: .88rem; }

/* Nur-Lese-Felder mit Adressen */
input[readonly] { background: var(--bg-soft); font-family: var(--mono); font-size: .85rem; }

/* Kundenprofil */
.aside-card hr.soft {
  border: 0; border-top: 1px solid var(--line-soft); margin: 1.1rem 0;
}
.aside-card hr.soft:last-of-type { display: none; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card p + form { margin-top: .6rem; }

/* Statusseite */
.status-summary {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 760px) { .status-summary { grid-template-columns: auto 1fr; } }
.status-summary .cards { margin-bottom: 0; }
.status-summary .gauge { margin: 0 auto; }
.status-summary .gauge svg { width: 10rem; height: 10rem; }
.status-summary .gauge-value { font-size: 2.2rem; }
