/* inside.rebecca-fischer.de – Gestaltung nach dem Erscheinungsbild von Rebecca Fischer */

@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/lato-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/lato-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2"); }

:root {
  --green-900: #2B4020;
  --green-800: #3F5A2E;
  --green-600: #6E8558;
  --sage: #93A584;
  --sage-100: #E8EDDF;
  --sage-50: #EEF2E7;
  --bg: #F5F6F0;
  --line: #E1E6D8;
  --line-strong: #C9D2BC;
  --text: #2E3329;
  --muted: #5D6656;
  --ochre-bg: #F6EBDD;
  --ochre-text: #6B4515;
  --red-bg: #F8E3E1;
  --red-text: #8A2A20;
  --coaching: #4F6B35;
  --mediation: #8A5A1C;
  --training: #2F6970;
  --workshop: #7E4A66;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 Lato, system-ui, sans-serif; }
a { color: var(--green-800); }
a:hover { color: var(--green-900); }
h1, h2, h3 { font-family: Montserrat, Lato, sans-serif; color: var(--green-800); line-height: 1.25; }
h1 { font-size: 28px; font-weight: 600; margin: 0; }
h2 { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
p { margin: 0 0 12px; }
.script { font-family: Caveat, cursive; font-size: 24px; color: var(--green-600); line-height: 1.2; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Testumgebung */
.test-banner { background: #7E4A66; color: #fff; text-align: center; font-weight: 700; padding: 8px 16px; letter-spacing: .03em; }

/* Anmeldeseiten */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; gap: 20px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.auth-card.wide { max-width: 560px; }
.auth-logo { display: block; width: 220px; height: auto; margin: 0 auto 8px; }
.auth-foot { font-family: Caveat, cursive; font-size: 22px; color: var(--green-600); text-align: center; }

/* App-Rahmen */
.app { min-height: 100vh; display: flex; flex-wrap: wrap; }
.sidebar { flex: 1 1 240px; max-width: 100%; background: #fff; border-right: 1px solid var(--line); padding: 28px 20px; display: flex; flex-direction: column; gap: 24px; }
.sidebar img { width: 190px; height: auto; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: block; padding: 11px 14px; border-radius: 10px; color: #4A5243; font-weight: 700; text-decoration: none; }
.nav a:hover { background: var(--sage-50); color: var(--green-900); }
.nav a[aria-current="page"] { background: var(--sage-100); color: var(--green-900); }
.nav .nav-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 14px 4px; }
.nav .soon { color: #6B7266; font-weight: 400; padding: 11px 14px; }
.sidebar-foot { margin-top: auto; font-size: 13px; color: var(--muted); }
.main { flex: 999 1 560px; min-width: 0; padding: 36px 40px 56px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
@media (max-width: 700px) {
  .main { padding: 24px 16px 40px; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; gap: 12px; }
  .sidebar img { width: 140px; }
  .nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .nav a { padding: 10px 12px; background: var(--sage-50); }
  .nav .soon, .nav .nav-label { display: none; }
  .sidebar-foot { margin-top: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .sidebar-foot > * { margin-top: 0 !important; }
  .auth-card { padding: 24px 20px; }
}

/* Bausteine */
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.alert { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.alert-info { background: var(--sage-50); color: #3F4A37; }
.alert-warn { background: var(--ochre-bg); color: var(--ochre-text); }
.alert-error { background: var(--red-bg); color: var(--red-text); }
.alert ul { margin: 0; padding-left: 18px; }

label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=password] {
  width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  font: inherit; background: #FBFCF9; color: var(--text);
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
input.code-input { font-size: 24px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 10px;
  font: 700 15px Lato, sans-serif; cursor: pointer; text-decoration: none; border: 1px solid var(--green-800); background: var(--green-800); color: #fff; }
.btn:hover { background: var(--green-900); color: #fff; }
.btn-secondary { background: #fff; color: var(--green-800); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--sage-50); color: var(--green-900); }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; color: var(--green-800); font: inherit; text-decoration: underline; cursor: pointer; }

.qr { display: flex; justify-content: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qr svg { width: 220px; height: 220px; }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: .05em; word-break: break-all; background: var(--sage-50); padding: 10px 12px; border-radius: 8px; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.codes li { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 18px; padding: 10px; text-align: center; background: var(--sage-50); border-radius: 8px; }
.steps { padding-left: 20px; margin: 0 0 16px; }
.steps li { margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-top: 1px solid #EEF1E8; vertical-align: top; }
th { color: var(--muted); font-weight: 700; border-top: 0; }
.table-wrap { overflow-x: auto; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge-ok { background: #E3EEDB; color: #2F4A1E; }
.badge-warn { background: var(--ochre-bg); color: var(--ochre-text); }
.badge-bad { background: var(--red-bg); color: var(--red-text); }

.stat { font-family: Montserrat, sans-serif; font-size: 28px; font-weight: 700; color: var(--green-800); }
.changelog-type { display: inline-block; min-width: 76px; }

@media print {
  .sidebar, .no-print, .test-banner { display: none !important; }
  body { background: #fff; }
  .main { padding: 0; }
  .card { border: 0; }
}

/* Hilfsklassen (keine Inline-Styles wegen Content-Security-Policy) */
.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-20 { margin-bottom: 20px; }
.narrow { max-width: 640px; }
.details { margin: 12px 0 20px; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 16px 0 0; min-height: 44px; }
.radio input { width: 18px; height: 18px; accent-color: var(--green-800); }
pre.secret { white-space: pre-wrap; font-size: 12px; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--sage-50); padding: 1px 5px; border-radius: 4px; }
