/**
 * heizkonto.de — verbindliche Design-Werte
 *
 * Die Farben stammen aus den Logodateien, Pixel für Pixel ausgelesen, nicht
 * nach Augenmaß nachgebaut. Wer sie ändert, ändert die Marke.
 *
 * Bewusst hell: heizkonto spricht private Vermieter an, nicht Techniker.
 * (hesio ist dunkel — das sind verschiedene Marken für verschiedene Leute und
 * darf sich nicht angleichen.)
 */

/* Latin-Extended zuerst, damit Umlaute nicht still auf eine Ersatzschrift
   fallen — ein Fehler, der genau so schon einmal passiert ist. */
@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;
}

:root {
  /* Marke */
  --hk-orange:      #E75D2D;
  --hk-orange-dk:   #CC4D20;   /* Hover, gedrückt */
  --hk-orange-lt:   #FDF0EA;   /* Flächen, Hinweise */
  --hk-navy:        #132B4E;
  --hk-navy-lt:     #27446D;
  --hk-navy-dk:     #0C1C34;

  /* Text und Flächen */
  --hk-text:        #1B2735;
  --hk-text-dim:    #5B6A7D;
  --hk-text-faint:  #8A97A7;
  --hk-line:        #E2E7ED;
  --hk-bg:          #FFFFFF;
  --hk-bg-soft:     #F6F8FA;

  /* Zustände */
  --hk-ok:          #1F7A4D;
  --hk-warn:        #B5611A;
  --hk-error:       #C0392B;

  --hk-radius:      10px;
  --hk-radius-lg:   16px;
  --hk-schatten:    0 1px 2px rgba(19,43,78,.06), 0 8px 24px rgba(19,43,78,.06);
  --hk-breite:      1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Der Kopf bleibt beim Scrollen stehen. Ohne diesen Abstand springt eine
     Sprungmarke die Überschrift genau unter den Kopf. */
  scroll-padding-top: 86px;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--hk-text);
  background: var(--hk-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.17; letter-spacing: -.021em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p  { margin: 0; }

a { color: var(--hk-orange); text-decoration: none; }
a:hover { color: var(--hk-orange-dk); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.hk-bahn { width: 100%; max-width: var(--hk-breite); margin-inline: auto; padding-inline: 22px; }

/* Sichtbarer Fokus. Wer mit der Tastatur bedient, soll nicht raten müssen. */
:focus-visible { outline: 3px solid var(--hk-orange); outline-offset: 2px; border-radius: 4px; }

/* Für Bildschirmleser sichtbar, optisch nicht */
.hk-nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
