/* Schriften lokal eingebunden (keine Verbindung zu Google, DSGVO-freundlich). Lizenz: SIL OFL, siehe fonts/ */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/newsreader-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* Farben der Marke (aus Logo 05 und Design V1) */
:root {
  --navy: #0F2235;
  --navy-dark: #0A1826;
  --paper: #F7F6F2;
  --ink: #14202B;
  --brass: #C9A36A;
  --brass-dark: #8A6A3B;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-dark); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }

a { color: var(--brass-dark); }
a:hover { color: #5E4626; }
summary { cursor: pointer; }

/* hidden muss auch gegen display:flex im style-Attribut gewinnen */
[hidden] { display: none !important; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* Rechner: Auswahl des Steuersatzes */
.satz {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  min-height: 44px;
  min-width: 68px;
  padding: 0 16px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid #6B7F96;
  background: transparent;
  color: var(--paper);
}
.satz[aria-pressed="true"] {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--navy);
}

/* Formular */
#lead-form input:user-invalid { border-color: #9F1D1D; }
#form-submit[disabled] { opacity: 0.7; cursor: wait; }
#form-success:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
