/* Schriften lokal gehostet (wie style.css der Website), kein Abruf bei Google */
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:200 800; font-stretch:100%; font-display:swap;
  src:url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Bricolage Grotesque'; font-style:normal; font-weight:200 800; font-stretch:100%; font-display:swap;
  src:url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:100 900; font-display:swap;
  src:url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===========================================================
   Calendar Butler — cb-dashboard.css
   Gemeinsames Stylesheet für dashboard-user.php und dashboard-admin.php.
   Design-System der neuen Website (style.css): eckig, keine Schatten,
   Struktur über dünne Linien. Weiß + Orange = Lösung, Navy = Problem/Wartezustand.
   =========================================================== */


:root {
  --ink: #1A1A18;
  --ink-deep: #0E0E0C;
  --orange: #ff912b;
  --orange-deep: #ff912b;      /* einheitlicher Markenton für alle orangen Elemente */
  --orange-hover: #d97615;     /* nur für Hover-Zustände */
  --orange-100: #fff1e2;
  --orange-300: #ffcf99;
  --pigeon: #A9AFAA;
  --pigeon-deep: #5F655F;
  --pigeon-100: #ECEDEA;
  --navy: #144e73;
  --navy-100: #e6eef3;
  --off-white: #F7F6F3;
  --white: #FFFFFF;
  --graphite: #2A2A28;
  --red: #b3342f;
  --red-100: #fbeceb;

  --max-width: 1160px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --line: 1px solid #dfe1dd;
  --line-soft: 1px solid #e6e7e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--pigeon-deep); }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; line-height: 1; color: var(--orange-deep); font-weight: 600; margin: 0 0 18px; }

/* ---------- top bar ---------- */
.dash-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid #e6e7e3; }
.dash-nav__inner { display: flex; align-items: center; gap: 16px; max-width: var(--max-width); margin: 0 auto; padding: 16px 24px; }
.dash-nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.dash-nav__brand img { width: 34px; height: 34px; object-fit: contain; }
.dash-nav__section { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pigeon-deep); padding-left: 16px; border-left: var(--line-soft); }
.dash-nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.dash-nav__who { font-size: 0.9rem; color: var(--graphite); text-align: right; line-height: 1.25; }
.dash-nav__who small { display: block; color: var(--pigeon-deep); font-size: 0.75rem; }

/* ---------- demo banner ---------- */
.demo-banner { background: var(--white); border-bottom: 1px solid #e6e7e3; font-size: 0.84rem; color: var(--pigeon-deep); }
.demo-banner .container::before { content: ''; width: 8px; height: 8px; background: var(--orange); flex-shrink: 0; }
.demo-banner .container { padding-top: 9px; padding-bottom: 9px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.demo-banner strong { color: var(--orange-deep); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-size: 0.92rem; font-weight: 600; line-height: 1.2; border-radius: 0; border: 1px solid transparent; cursor: pointer; background: none; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; white-space: nowrap; }
.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--danger { border-color: var(--red); color: var(--red); }
.btn--danger:hover { background: var(--red); color: var(--white); }
.btn--sm { padding: 8px 14px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:focus-visible, .input:focus-visible, .chip-btn:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid #c9ccc7; color: var(--ink); cursor: pointer; font-size: 1rem; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.icon-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.icon-btn--danger:hover { background: var(--red); border-color: var(--red); }

/* ---------- head ---------- */
.dash-head { padding: 56px 0 8px; }
.dash-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.01em; }
.dash-head h1 { margin: 0; }
.dash-head h1 .o-accent { color: var(--orange); }
.dash-head p:not(.eyebrow) { margin: 10px 0 0; color: var(--pigeon-deep); max-width: 62ch; }

/* ---------- cards ---------- */
.card { background: var(--white); border: var(--line); padding: 32px; position: relative; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.card__head h3 { margin: 0; font-size: 1.25rem; }
.card__hint { color: var(--pigeon-deep); font-size: 0.92rem; margin: 0 0 18px; max-width: 62ch; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .grid-2 { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); } }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stack > * + * { margin-top: 24px; }
.stack > .card + .card { margin-top: 24px; }

.kv { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 18px; }
.kv dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--pigeon-deep); margin-top: 14px; }
.kv dt:first-child { margin-top: 0; }
.kv dd { margin: 3px 0 0; font-size: 1.02rem; color: var(--ink); font-weight: 500; }

/* ---------- savings hero (user) ---------- */
.hero-stat { background: var(--white); border: 2px solid var(--orange); margin-top: 32px; display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-stat { grid-template-columns: 1.4fr 1fr; } }
.hero-stat__main { padding: 40px 40px 36px; }
.hero-stat__recap { color: var(--ink); opacity: 0.85; margin: 0 0 6px; }
.hero-stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 9vw, 4.6rem); line-height: 1.02; color: var(--orange-deep); margin: 0; }
.hero-stat__caption { margin: 10px 0 0; color: var(--ink); opacity: 0.85; }
.hero-stat__caption strong { color: var(--ink); }
.hero-stat__side { border-top: 1px solid var(--orange-300); display: grid; grid-template-columns: 1fr 1fr; background: var(--off-white); }
@media (min-width: 900px) { .hero-stat__side { border-top: 0; border-left: 1px solid var(--orange-300); } }
.stat { padding: 24px 28px; border-bottom: 1px solid #e6e7e3; }
.stat:nth-child(odd) { border-right: 1px solid #e6e7e3; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--pigeon-deep); }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); line-height: 1.2; margin-top: 4px; }
.stat__sub { font-size: 0.78rem; color: var(--pigeon-deep); }

/* ---------- forms ---------- */
.input { width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--white); border: 1px solid #c9ccc7; border-radius: 0; outline: none; transition: border-color 0.15s ease; }
.input:focus { border-color: var(--orange); }
.input--readonly { background: var(--off-white); border-color: #c9ccc7; color: var(--pigeon-deep); cursor: default; }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input.is-error { border-color: var(--red); background: var(--red-100); }
.field-error { color: var(--red); font-size: 0.8rem; margin-top: 5px; display: none; }
.field-error.is-visible { display: block; }
.label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--pigeon-deep); margin: 16px 0 6px; }
.label:first-child { margin-top: 0; }
.copy-row { display: flex; gap: 12px; }
.copy-row .input { flex: 1; font-family: var(--font-body); color: var(--ink); }
.inline-form { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 720px) { .inline-form { grid-template-columns: 3fr 2fr auto; } }
.hint { font-size: 0.82rem; color: var(--pigeon-deep); margin: 8px 0 0; }
.hint code, code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.85em; background: var(--off-white); padding: 1px 5px; border: var(--line-soft); }

/* ---------- chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid #c9ccc7; color: var(--pigeon-deep); background: var(--white); line-height: 1.5; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.chip--ok { color: var(--orange-deep); border-color: var(--orange); background: var(--orange-100); }
.chip--wait { color: var(--navy); border-color: var(--navy); background: var(--navy-100); }
.chip--bad { color: var(--red); border-color: var(--red); background: var(--red-100); }
.chip--off { color: var(--pigeon-deep); border-color: var(--pigeon); background: var(--pigeon-100); }

.tick { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--pigeon); color: var(--pigeon); }
.tick--yes { color: var(--white); background: var(--orange); border-color: var(--orange); }

/* ---------- calendar list (user) ---------- */
.section-label { display: flex; align-items: center; gap: 10px; margin: 24px 0 10px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); }
.section-label:first-of-type { margin-top: 4px; }
.section-label .count { color: var(--pigeon-deep); font-weight: 500; }
.cal-list { display: flex; flex-direction: column; border-top: 1px solid #e6e7e3; }
.cal-row { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; padding: 18px 0; border-bottom: 1px solid #e6e7e3; }
@media (min-width: 720px) { .cal-row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) auto; gap: 18px; } }
.cal-row__mail { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cal-row__sub { color: var(--pigeon-deep); font-size: 0.92rem; overflow-wrap: anywhere; }
.cal-row__sub small { display: block; font-size: 0.78rem; }
.cal-row__actions { display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
@media (min-width: 720px) { .cal-row__actions { justify-content: flex-end; } }
.cal-row--pending .cal-row__mail::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--navy); margin-right: 10px; vertical-align: 1px; }
.cal-row--verified .cal-row__mail::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--orange); margin-right: 10px; vertical-align: 1px; }
.empty { padding: 28px; text-align: center; border: 1px dashed #c9ccc7; color: var(--pigeon-deep); }

/* ---------- KPI (admin) ---------- */
.kpi-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--white); border: var(--line); padding: 24px 26px; }
.kpi__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--pigeon-deep); }
.kpi__value { font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; line-height: 1.1; color: var(--ink); margin: 8px 0 2px; }
.kpi__value small { font-size: 1rem; font-weight: 500; color: var(--pigeon); }
.kpi__sub { font-size: 0.82rem; color: var(--pigeon-deep); }
.bar { height: 4px; background: #eceeea; margin-top: 14px; }
.bar > i { display: block; height: 100%; background: var(--orange); }

/* ---------- team table (admin) ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar .input { max-width: 300px; }
.toolbar__spacer { flex: 1; }
.toolbar__count { font-size: 0.85rem; color: var(--pigeon-deep); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip-btn { padding: 6px 14px; font-size: 0.82rem; font-weight: 600; background: var(--white); color: var(--graphite); border: 1px solid #c9ccc7; cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip-btn .n { opacity: 0.6; font-weight: 500; margin-left: 4px; }
.table-wrap { overflow-x: auto; background: var(--white); border: var(--line); }
table.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--pigeon-deep); padding: 14px 16px; border-bottom: 1px solid #e6e7e3; background: var(--off-white); white-space: nowrap; }
.table th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.72rem; color: var(--pigeon); }
.table td { padding: 16px 16px; border-bottom: var(--line-soft); vertical-align: middle; font-size: 0.92rem; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--off-white); }
.table tr.is-selected td { background: var(--orange-100); }
.table tr.is-inactive td { color: var(--pigeon-deep); }
.table tr.is-inactive .cell-name strong { color: var(--pigeon-deep); text-decoration: line-through; }
.table .col-check { width: 44px; }
.table .col-status { text-align: center; width: 92px; }
.table input[type=checkbox], .modal input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--orange); cursor: pointer; }
.cell-name strong { display: block; color: var(--ink); font-weight: 600; }
.cell-mail small { display: block; color: var(--pigeon-deep); font-size: 0.8rem; }
.cell-date { color: var(--pigeon-deep); font-size: 0.85rem; white-space: nowrap; }
.table-empty { padding: 32px; text-align: center; color: var(--pigeon-deep); display: none; }
.report-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.report-custom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 14px; }
.report-custom .btn { grid-column: 1 / -1; }
.report-custom .input { height: 42px; padding: 0 8px; min-width: 0; font-size: 0.82rem; }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,26,24,0.55); z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.modal-overlay.is-open { display: flex; }
.modal { width: 100%; max-width: 480px; background: var(--white); border: 1px solid #dfe1dd; padding: 36px; }
.modal--wide { max-width: 640px; }
.modal h3 { font-size: 1.35rem; margin-bottom: 10px; }
.modal p { color: var(--pigeon-deep); font-size: 0.92rem; }
.modal__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.modal__divider { margin: 22px 0 6px; padding-top: 18px; border-top: var(--line-soft); font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.modal__center { text-align: center; }
.modal__center .modal__actions { justify-content: center; }
.status-line { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- toast ---------- */
.toast-stack { position: fixed; top: 76px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 40px)); }
.toast { background: var(--white); border: 1px solid #dfe1dd; border-left: 5px solid var(--orange); padding: 12px 16px; font-size: 0.9rem; color: var(--ink); animation: toast-in 0.25s ease-out; }
.toast--error { border-left-color: var(--red); }
.toast--info { border-left-color: var(--navy); }
@keyframes toast-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- footer ---------- */

@media (max-width: 640px) {
  .dash-nav__section, .dash-nav__who { display: none; }
  .card { padding: 22px 18px; }
  .hero-stat__main { padding: 24px 20px; }
  h1 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.btn-stack { display: grid; gap: 10px; }

/* ---------- refinement: white / modern ---------- */
.section-title { font-size: 1.3rem; margin: 56px 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--orange); }
.card h3 { position: relative; }
.grid-3 .card { padding: 30px; }
.btn--outline { border-color: #c9ccc7; }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); }
.section-title { margin-top: 24px; }
.dash-head + .dash-head { padding-top: 40px; }
.table-wrap { max-height: 680px; overflow: auto; }
.table th { position: sticky; top: 0; z-index: 2; }

/* ---------- footer (identisch zur Website) ---------- */
.footer { background: var(--white); color: var(--graphite); border-top: 1.5px solid rgba(26,26,24,0.15); padding: 48px 0 24px; font-size: 0.85rem; margin-top: 88px; }
.footer__inner { display: flex; flex-direction: column; gap: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer nav a:hover, .footer .legal a:hover { color: var(--orange-deep); }
.footer .legal { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.76rem; }
.footer .copyright { margin-top: 24px; font-size: 0.74rem; opacity: 0.5; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.footer__brand img { height: 28px; width: 28px; }
.footer__tagline { margin-top: 14px; max-width: 38ch; opacity: 0.7; }
@media (min-width: 800px) { .footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer .mt-40 { margin-top: 40px !important; }

/* ---------- Sprachumschalter (wie Website-Navigation) ---------- */
.nav__langs { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.nav__flag { position: relative; display: block; width: 24px; height: 16px; border-radius: 2px; overflow: hidden; opacity: 0.7; filter: saturate(0.6); transition: opacity 0.15s; }
.nav__flag svg { display: block; width: 100%; height: 100%; }
.nav__flag::after { content: ""; position: absolute; inset: 0; background: rgba(247,246,243,0.22); }
a.nav__flag:hover { opacity: 1; }
.nav__flag--current { opacity: 0.95; overflow: visible; outline: 1.5px solid rgba(26,26,24,0.28); outline-offset: 2px; }
.nav__flag--current svg { border-radius: 2px; }
.nav__flag--current::after { display: none; }

/* ---------- User-Dashboard: Ersparnis + Kennzahlen in der rechten Spalte (Mockup) ---------- */
.savings { background: var(--white); border: 2px solid var(--orange); }
.savings .hero-stat__main { padding: 32px 28px 28px; }
.savings .hero-stat__value { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.05; margin: 6px 0 14px; }
.savings .hero-stat__recap, .savings .hero-stat__caption { font-size: 0.95rem; }
.stats-box { background: var(--white); border: 2px solid var(--orange); border-top-width: 1px; }
.stats-box .hero-stat__side { display: grid; grid-template-columns: 1fr 1fr; border: 0; background: none; }
.stats-box .stat { padding: 20px 22px; }
.stats-box .stat__value { font-size: 1.3rem; }
.stats-box .stat { padding: 20px 20px; }
.stack > .savings + .stats-box { margin-top: 12px; }
.stats-box { border-top-width: 2px; }
@media (min-width: 900px) { .stats-box .hero-stat__side { border-left: 0; } }

/* ---------- Einheitliche Schriftgrößen ----------
   Fließtext = --fs-text (alles außer Überschriften, großen Zahlen, Buttons, Labels).
   Labels (Großbuchstaben) = --fs-label. */
:root { --fs-text: 0.95rem; --fs-label: 0.75rem; }
.card__hint, .hint, .hero-stat__recap, .hero-stat__caption, .cal-row__mail, .cal-row__sub, .cal-row__sub small,
.stat__sub, .kv dd, .kpi__sub, .table td, .cell-mail small, .cell-date, .modal p, .empty, .demo-banner,
.dash-nav__who, .dash-nav__who small, .toolbar__count, .field-error, .hint code, code, .table th small, .kpi__value small.kpi__unit { font-size: var(--fs-text); }
.dash-nav__who small, .cal-row__sub small, .cell-mail small, .table th small { font-size: var(--fs-text); }
.eyebrow, .label, .kv dt, .stat__label, .kpi__label, .section-label, .section-label .count, .dash-nav__section,
.chip, .table th { font-size: var(--fs-label); }
.input { font-size: var(--fs-text); }
.dash-head p:not(.eyebrow) { font-size: var(--fs-text); }

/* ---------- Ersparnis-Box: Text, Kennzahlen und Gesamtersparnis in EINER Box ---------- */
.savings__stats { display: grid; grid-template-columns: 1fr 1fr; }
.savings__stats .stat, .savings__stats .stat:nth-child(odd) { padding: 20px 28px; border: 0; }
.savings__total { padding: 20px 28px; border-top: 1px solid #e6e7e3; }
.savings__total .stat__value { font-size: 1.3rem; margin-top: 4px; line-height: 1.2; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.stats-box { display: none; }
.savings__title { margin: 0 0 14px; }
.savings__stats .stat__value { margin: 0 0 2px; } .savings__stats .stat__sub { font-size: var(--fs-text); color: var(--graphite); }
.savings .stat__value, .savings__total .stat__value { font-size: 1.3rem; line-height: 1.2; margin: 0 0 2px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.savings__stats .stat, .savings__stats .stat:nth-child(odd) { padding: 20px 8px 20px 28px; }
.savings__stats { grid-template-columns: 1.4fr 1fr; }
.savings__title { font-size: 1.25rem; font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

/* ---------- Kalenderliste: E-Mail und Betreff untereinander ---------- */
.cal-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; row-gap: 2px; align-items: center; }
@media (min-width: 720px) { .cal-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; } }
.cal-row__mail, .cal-row__sub { grid-column: 1; }
.cal-row__actions { grid-column: 2; grid-row: 1 / span 2; justify-content: flex-end; align-self: center; }
.btn--outline[data-fsync]:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.cal-row__sub { padding-left: 18px; }

/* ---------- Name fliegt ein (wie auf der Website) ---------- */
.o-accent { color: var(--orange); display: inline-block; animation: o-fly-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) backwards; animation-delay: 0.45s; }
@keyframes o-fly-in {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Admin: Abo-Details (1/3) + Auswertung (2/3) ---------- */
.grid-13 { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .grid-13 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.kv--grid { display: grid; grid-template-columns: auto 1fr; gap: 22px 20px; margin: 0; }
.kv--grid > div { min-width: 0; }
.kv--grid dt { margin-top: 0; }
.kv--grid .kv__action { align-self: end; }
.report-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.report-row__range { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; min-width: 0; }
.report-row__range .input { height: 36px; padding: 0 8px; min-width: 0; font-size: 0.82rem; flex: 1 1 0; }

/* ---------- Admin-Boxen oben: gemeinsame Zeilen (Subgrid), Texte stehen auf einer Höhe ---------- */
@media (min-width: 900px) {
  .grid-13 { grid-template-rows: auto auto; row-gap: 0; }
  .grid-13 > .card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 20px; align-content: start; }
  .grid-13 .card__head { margin: 0; align-self: start; }
  .grid-13 .kv--grid { grid-row: 1 / span 2; grid-template-rows: subgrid; row-gap: 20px; margin: 0; }
  .grid-13 .kv--grid > div { align-self: start; }
  .grid-13 .kv--grid .kv__action { align-self: end; }
  .grid-13 .report__hint { grid-row: 2; margin: 0; align-self: start; }
  .grid-13 .report__row { grid-row: 1; align-self: center; }
  .grid-13 .report__dl { grid-row: 2; margin: 0; align-self: center; }
}
@media (min-width: 900px) {
  .grid-13 .kv--grid .kv__action { align-self: center; }
  .grid-13 .report__hint { align-self: center; }
}

/* Adjust seats + Download: identical outline buttons, orange on hover */
.btn--outline[data-open="modal-adjust"]:hover,
.btn--outline.report__dl:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* uniform control height: small buttons = report date inputs */
.btn--sm { height: 36px; padding-top: 0; padding-bottom: 0; }

/* ALL buttons: clear by default (white, thin border), orange on hover */
.btn--primary, .btn--outline, .btn--danger {
  background: var(--white); color: var(--ink); border-color: #c9ccc7;
}
.btn--primary:hover:not(:disabled), .btn--outline:hover:not(:disabled), .btn--danger:hover:not(:disabled),
.icon-btn:hover:not(:disabled), .icon-btn--danger:hover:not(:disabled), .chip-btn:hover:not(:disabled) {
  background: var(--orange); border-color: var(--orange); color: var(--white);
}
.chip-btn.is-active:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip-btn.is-active { background: var(--white); color: var(--ink); border-color: var(--ink); }
.chip-btn.is-active:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
