/* ==========================================================================
   BuiltRated — Gestaltungssystem
   Planpapier, Tinte, ein Punkt Orange. Ruhig, genau, ohne Effekthascherei.
   ========================================================================== */

/* Schrift: assets/fonts.css wird separat und vor dieser Datei geladen. */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #F5F3EF;
  --paper-sunk: #ECE9E3;
  --sheet: #FCFBF9;
  --ink: #0B1F33;
  --ink-2: #3B4C5C;
  --ink-3: #6B7884;
  --rule: rgba(11, 31, 51, .12);
  --rule-strong: rgba(11, 31, 51, .24);
  --accent: #F49E1E;
  --accent-deep: #A65F00;
  --accent-wash: rgba(244, 158, 30, .14);
  --night: #0B1F33;
  --night-2: #10283F;
  --night-ink: #EEF1F4;
  --night-ink-2: #A7B4C1;
  --night-rule: rgba(238, 241, 244, .14);
  --danger: #B42318;
  --danger-wash: #FBEDEB;
  --ok: #1E6B48;

  --font: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Alte Variablennamen, damit Inline-Stile bestehender Seiten passen */
  --navy: var(--ink);
  --amber: var(--accent);
  --amber-dark: #E08A0B;
  --teal: var(--ink);
  --teal-dark: #000;
  --text: var(--ink);
  --text-mid: var(--ink-2);
  --text-muted: var(--ink-3);
  --border: var(--rule-strong);
  --stone: var(--paper-sunk);
  --r: var(--r-m);
  --space: var(--font);
  --manrope: var(--font);
}

/* ── Grundlage ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-wash); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap-x { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ── Typografie ─────────────────────────────────────────────────────────── */
.t-display {
  font-size: clamp(42px, 6.4vw, 88px);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.t-h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.t-h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
.t-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.t-body { color: var(--ink-2); text-wrap: pretty; }
.t-small { font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* ── Schaltflächen ──────────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px 0 24px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  transition: transform .35s var(--ease);
  flex: 0 0 auto;
}
.btn:hover .dot { transform: scale(1.6); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px 0 16px; font-size: 15px; gap: 10px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.br-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(245, 243, 239, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.br-nav.is-scrolled, .br-nav.is-solid, .br-nav.is-open {
  background: rgba(245, 243, 239, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--rule);
}
.br-nav__inner { display: flex; align-items: center; gap: 28px; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.br-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; padding: 8px 0; }
.br-logo svg { width: auto; overflow: hidden; flex: 0 0 auto; }
.br-logo__mono { height: 26px; }
.br-logo__word { height: 10px; }
.br-logo .lf { fill: currentColor; }
.br-logo .ld { fill: var(--accent); }
.br-nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.br-nav__links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.br-nav__links a:hover { color: var(--ink); background: rgba(11, 31, 51, .05); }
.br-nav__links a[aria-current="page"] { color: var(--ink); }
.br-nav__toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; border-radius: 50%;
  align-items: center; justify-content: center;
}
.br-nav__toggle span { position: relative; display: block; width: 20px; height: 1.5px; background: var(--ink); transition: background-color .2s; }
.br-nav__toggle span::before, .br-nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.br-nav__toggle span::before { top: -6px; }
.br-nav__toggle span::after { top: 6px; }
.br-nav.is-open .br-nav__toggle span { background: transparent; }
.br-nav.is-open .br-nav__toggle span::before { top: 0; transform: rotate(45deg); }
.br-nav.is-open .br-nav__toggle span::after { top: 0; transform: rotate(-45deg); }
.br-nav__sheet { display: none; }
.br-nav__mine { display: none; }

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .br-nav__links { display: none; }
  .br-nav__toggle { display: inline-flex; }
  .br-nav__cta { display: none; }
  .br-nav__mine { display: inline-flex; margin-left: auto; }
  .br-logo { margin-right: 0; gap: 9px; }
  .br-logo__mono { height: 22px; }
  .br-logo__word { height: 8.5px; }
  .br-nav__sheet {
    display: block; position: fixed; inset: var(--nav-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .br-nav__sheet { box-shadow: 0 24px 48px -24px rgba(11, 31, 51, .25); }
  .br-nav.is-open .br-nav__sheet { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .br-nav__sheet a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 56px; border-bottom: 1px solid var(--rule);
    font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); text-decoration: none;
  }
  .br-nav__sheet a svg { width: 18px; height: 18px; color: var(--ink-3); }
}
@media (max-width: 400px) { .br-nav__cta .label-long { display: none; } }
@media (min-width: 401px) { .br-nav__cta .label-short { display: none; } }

/* ── Fußzeile ───────────────────────────────────────────────────────────── */
.br-footer { background: var(--night); color: var(--night-ink-2); padding: 64px 0 40px; text-align: center; }
.br-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; list-style: none; padding-bottom: 32px; border-bottom: 1px solid var(--night-rule); }
.br-footer__nav a { color: var(--night-ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.br-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.br-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; list-style: none; padding-top: 24px; font-size: 14px; }
.br-footer__legal a { color: var(--night-ink-2); text-decoration: none; }
.br-footer__legal a:hover { color: var(--night-ink); }
.br-footer__copy { margin-top: 18px; font-size: 13px; color: rgba(167, 180, 193, .7); }

/* ── Logo-Auftakt (Startseite, nur beim ersten Besuch) ─────────────────── */
.br-intro { display: none; position: fixed; inset: 0; z-index: 500; align-items: center; justify-content: center; background: var(--paper); cursor: pointer; transition: opacity .6s var(--ease); }
.is-intro .br-intro, .br-intro.is-gone { display: flex; }
.br-intro.is-gone { opacity: 0; pointer-events: none; }
.br-intro__mark { position: relative; width: min(64vw, 460px); aspect-ratio: 866 / 363; overflow: hidden; transition: transform .6s var(--ease); }
.br-intro.is-gone .br-intro__mark { transform: scale(.98); }
.br-intro__mark > div { position: absolute; left: -21.94%; top: -122.6%; width: 144.8%; aspect-ratio: 1; }
.br-intro__mark svg { width: 100% !important; height: 100% !important; }
.br-intro [fill="rgb(255,255,255)"] { fill: var(--ink); }
.br-intro [stroke="rgb(255,255,255)"] { stroke: var(--ink); }
.is-intro body { overflow: hidden; }

/* Schlichte Fußzeile der Unterseiten (bestehendes <footer>-Markup) */
body.br footer:not(.br-footer) {
  border-top: 1px solid var(--rule); padding: 32px var(--gutter) 40px; text-align: center; background: transparent;
}
body.br footer:not(.br-footer) p { font-size: 14px; line-height: 1.9; color: var(--ink-3); }
body.br footer:not(.br-footer) a { color: var(--ink-2); text-decoration: none; }
body.br footer:not(.br-footer) a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Bewegung ───────────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Unterseiten: Formulare, Anmeldung, Rechtliches
   Gilt für Seiten mit <body class="br">. Bestehende Klassen bleiben.
   ========================================================================== */
body.br { padding-top: var(--nav-h); }

body.br .page-header {
  max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 32px;
  text-align: left; background: none; overflow: visible;
}
body.br .page-header::before { display: none; }
body.br .page-header .label { display: none; }
body.br .page-header h1 {
  font-size: clamp(36px, 5.2vw, 60px); font-weight: 560; letter-spacing: -.035em; line-height: 1.02;
  color: var(--ink); margin: 0 0 16px; text-wrap: balance;
}
body.br .page-header p { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.55; max-width: 34em; margin: 0; }

body.br .form-wrap {
  max-width: 760px; margin: 0 auto 96px; padding: clamp(28px, 4vw, 48px);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-l);
  box-shadow: 0 1px 0 rgba(11, 31, 51, .03), 0 24px 48px -32px rgba(11, 31, 51, .18);
  position: relative;
}
body.br.narrow .page-header, body.br.narrow .form-wrap { max-width: 520px; }
@media (max-width: 640px) {
  body.br .form-wrap { margin: 0 12px 72px; border-radius: var(--r-m); padding: 24px 18px 28px; }
  body.br .page-header { padding-bottom: 24px; }
}

body.br .form-section-title {
  font-size: 19px; font-weight: 600; letter-spacing: -.012em; color: var(--ink);
  text-transform: none; margin: 44px 0 20px; padding: 0 0 12px; border-bottom: 1px solid var(--rule);
}
body.br .form-section-title:first-child { margin-top: 0; }
body.br .form-section-hint { font-size: 14px; color: var(--ink-3); margin: -8px 0 16px; line-height: 1.55; }

body.br .form-group { margin-bottom: 20px; }
body.br .form-group > label, body.br .form-group label:not(.checkbox-item):not([for="p-consent"]):not([for="c-consent"]) {
  display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.005em;
}
body.br .req { color: var(--accent-deep); margin-left: 2px; }
body.br .opt { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
body.br .hint { font-size: 13.5px; color: var(--ink-3); margin-top: 7px; line-height: 1.5; }

body.br input[type=text], body.br input[type=email], body.br input[type=tel], body.br input[type=password],
body.br input[type=number], body.br input[type=date], body.br input[type=url], body.br select, body.br textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  font-size: 16px; line-height: 1.4; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--r-s);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
body.br input::placeholder, body.br textarea::placeholder { color: #9AA4AD; }
body.br input:hover, body.br select:hover, body.br textarea:hover { border-color: rgba(11, 31, 51, .4); }
body.br input:focus, body.br select:focus, body.br textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-wash); }
body.br textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
body.br select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230B1F33' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
body.br select:invalid, body.br select option[disabled] { color: #8A949D; }

body.br .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.br .form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 560px) { body.br .form-row, body.br .form-row-3 { grid-template-columns: 1fr; } }

body.br .checkboxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
body.br .checkbox-item {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--r-s);
  cursor: pointer; user-select: none; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
body.br .checkbox-item:hover { border-color: var(--ink); }
body.br .checkbox-item:has(input:checked) { border-color: var(--ink); background: rgba(11, 31, 51, .04); }
body.br .checkbox-item span { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.3; }
body.br input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; accent-color: var(--ink); cursor: pointer; }

body.br .upload-area {
  position: relative; padding: 28px 20px; text-align: center; cursor: pointer;
  border: 1px dashed var(--rule-strong); border-radius: var(--r-m); background: #fff;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
body.br .upload-area:hover, body.br .upload-area.drag { border-color: var(--ink); background: rgba(11, 31, 51, .02); }
body.br .upload-area input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
body.br .upload-icon { width: 40px; height: 40px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper-sunk); }
body.br .upload-icon svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.br .upload-area p { font-size: 15px; color: var(--ink-2); }
body.br .upload-area p strong { color: var(--ink); font-weight: 600; }
body.br .upload-area small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
body.br .file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body.br .file-tag { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; font-size: 14px; background: var(--paper-sunk); border-radius: 999px; }
body.br .file-tag .file-size { color: var(--ink-3); font-size: 13px; }
body.br .file-tag button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; font-size: 17px; line-height: 1; }
body.br .file-tag button:hover { background: rgba(11, 31, 51, .08); color: var(--ink); }
body.br .file-warning { flex-basis: 100%; padding: 10px 12px; font-size: 14px; color: var(--danger); background: var(--danger-wash); border-radius: var(--r-s); line-height: 1.5; }

body.br .error-msg { display: none; margin-bottom: 18px; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--danger); background: var(--danger-wash); border: 1px solid rgba(180, 35, 24, .2); border-radius: var(--r-s); }
body.br .error-msg.visible { display: block; }
body.br #form-error { color: var(--danger) !important; background: var(--danger-wash) !important; border-color: rgba(180, 35, 24, .2) !important; border-radius: var(--r-s) !important; }

/* Zustimmung */
body.br #p-consent-box, body.br #c-consent-box { margin: 8px 0 0 !important; padding: 14px 16px !important; background: #fff; border: 1px solid var(--rule) !important; border-radius: var(--r-s) !important; }
body.br #p-consent-box a, body.br #c-consent-box a { color: var(--ink); text-underline-offset: 3px; }

body.br .form-submit { margin-top: 28px; }
body.br .form-submit button, body.br .btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 0 24px;
  font-size: 17px; font-weight: 600; letter-spacing: -.005em;
  color: var(--paper); background: var(--ink); border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .25s var(--ease), transform .2s var(--ease);
}
body.br .form-submit button::before, body.br .btn-submit::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: transform .35s var(--ease);
}
body.br .form-submit button:hover, body.br .btn-submit:hover { background: #142D46; }
body.br .form-submit button:hover::before, body.br .btn-submit:hover::before { transform: scale(1.6); }
body.br .form-submit button:active, body.br .btn-submit:active { transform: translateY(1px); }
body.br .form-submit button:disabled, body.br .btn-submit:disabled { opacity: .55; cursor: progress; }
body.br .form-submit button.teal { background: var(--ink); color: var(--paper); }

body.br .btn-primary, body.br .btn-teal {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease);
}
body.br .btn-primary:hover, body.br .btn-teal:hover { background: #142D46; }

body.br .bottom-link { margin-top: 18px; text-align: center; font-size: 15px; color: var(--ink-3); }
body.br .bottom-link a, body.br .forgot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
body.br .bottom-link a:hover, body.br .forgot a:hover { text-decoration-color: var(--ink); }

/* Erfolgs- und Zustandsmeldungen */
body.br .success-msg { display: none; text-align: center; padding: 40px 8px 16px; }
body.br .success-icon, body.br .state-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--paper-sunk);
}
body.br .success-icon svg, body.br .state-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.br .state-icon.err { background: var(--danger-wash); }
body.br .state-icon.err svg { stroke: var(--danger); }
body.br .success-msg h2, body.br .state-msg h2 { font-size: 28px; font-weight: 560; letter-spacing: -.025em; margin-bottom: 10px; color: var(--ink); }
body.br .success-msg p, body.br .state-msg p { font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 400px; margin: 0 auto; }
body.br .state-msg { text-align: center; padding: 32px 8px 8px; }
body.br .state-msg a { display: inline-flex; margin-top: 22px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
body.br .success-msg a[href*="meine-anfragen"] { background: var(--ink) !important; border-radius: 999px !important; font-family: var(--font) !important; }

/* Anmeldung Bauherren (eigene Karte) */
body.br.card-page { display: flex; flex-direction: column; align-items: center; min-height: 100svh; }
body.br .card {
  width: calc(100% - 24px); max-width: 460px; margin: clamp(40px, 10vh, 120px) auto 64px; padding: clamp(28px, 5vw, 44px);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-l);
  box-shadow: 0 24px 48px -32px rgba(11, 31, 51, .2);
}
body.br .card h1 { font-size: 34px; font-weight: 560; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 10px; color: var(--ink); }
body.br .card > p { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin-bottom: 28px; }
body.br > a.logo { display: none; }
body.br .forgot { margin-top: 16px; text-align: center; font-size: 15px; }
body.br .divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; font-size: 14px; color: var(--ink-3); }
body.br .divider::before, body.br .divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
body.br .btn-new {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px;
  border: 1px solid var(--rule-strong); color: var(--ink); background: transparent; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: border-color .2s var(--ease);
}
body.br .btn-new:hover { border-color: var(--ink); }

/* Rechtliche Seiten */
body.br.legal .wrap { max-width: 720px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gutter) 96px; }
body.br.legal h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 560; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 16px; }
body.br.legal .subtitle { font-size: 15px; color: var(--ink-3); margin-bottom: 48px; }
body.br.legal h1 + h2 { margin-top: 48px; }
body.br.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--rule); }
body.br.legal h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
body.br.legal p, body.br.legal li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
body.br.legal p { margin-bottom: 12px; }
body.br.legal ul { margin: 0 0 14px 20px; }
body.br.legal li { margin-bottom: 4px; }
body.br.legal li::marker { color: var(--ink-3); }
body.br.legal .wrap a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
body.br.legal .box { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 20px 22px; margin: 16px 0 24px; }
body.br.legal .box p { margin: 0; }

/* Links im Seitenkopf (ältere Inline-Farben überschreiben) */
body.br .page-header a { color: var(--ink) !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
body.br .page-header a:hover { text-decoration-color: var(--ink); }
