/* E-Rechnung 2027 - Concept-BR. Nachbau der Onepage-Seite /e-rechnung-2027 (Stand 12.11.2026). */

/* ---------- Schriften (selbst gehostet, OFL) ---------- */
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-latin-wght-normal.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: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-latin-ext-wght-normal.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: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin-wght-normal.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: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin-ext-wght-normal.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: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin-wght-italic.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: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin-ext-wght-italic.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;
}

/* ---------- Farben und Grundwerte ---------- */
:root {
  --schwarz: #1d1d1b;
  --tief: #000000;
  --rot: #e63323;
  --rot-dunkel: #c42a1c;
  --grau: #888886;
  --grau-text: #55554f;
  --grau-hell: #f0f0ee;
  --grau-linie: #d6d6d2;
  --grau-auf-dunkel: #c4c4c2;
  --weiss: #ffffff;
  --titel: "Mulish", "Segoe UI", Arial, sans-serif;
  --fliess: "Lora", Georgia, "Times New Roman", serif;
  --rand: 32px;
  --breite: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--schwarz);
  font-family: var(--fliess);
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--titel);
  font-weight: 800;
  margin: 0;
  hyphens: manual;
}
h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: 20px; line-height: 1.3; }

p { margin: 0; }
.nw { white-space: nowrap; }
a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
}

.wrap {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand);
}
.spalte { max-width: 820px; }

.text p + p { margin-top: 1em; }

.kicker {
  font-family: var(--titel);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--grau);
  margin-bottom: 14px;
}

.hinweis {
  font-size: 16px;
  color: var(--grau);
}

/* ---------- Knopf (wie /bvv: Mulish 800, Ecken 4 px) ---------- */
.knopf {
  display: inline-block;
  font-family: var(--titel);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--weiss);
  background: var(--rot);
  border: 0;
  border-radius: 4px;
  padding: 18px 32px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.knopf:hover { background: var(--rot-dunkel); transform: translateY(-1px); }
.knopf:active { transform: none; }
.knopf[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.aktion { margin: 32px 0 12px; }

/* ---------- Kopf ---------- */
.kopf { padding: 28px 0; }
.logo { width: 275px; height: auto; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 80px; }
.hero .text { margin-top: 8px; }

/* ---------- Schwarzer Kasten ---------- */
.kasten {
  background: var(--schwarz);
  color: var(--weiss);
  padding: 64px 0;
}
.kasten h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; }
.text-kursiv {
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 90px 0; }
.abschnitt-grau { background: var(--grau-hell); }

.raster { display: grid; gap: 48px; align-items: start; }
.raster-13-11 { grid-template-columns: 13fr 11fr; }
.raster-15-9 { grid-template-columns: 15fr 9fr; }
.raster-12-12 { grid-template-columns: 1fr 1fr; }

/* 01: Vergleich */
.vergleich {
  background: var(--grau-hell);
  border-radius: 8px;
  padding: 32px;
}
.vergleich h3 { font-size: 20px; margin-bottom: 12px; }
.vergleich ul + h3 { margin-top: 28px; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { position: relative; padding-left: 30px; }
.liste li + li { margin-top: 8px; }
.liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.liste-ja li::before,
.liste-haken li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 11a1 1 0 0 1-.7-.3l-3-3a1 1 0 0 1 1.4-1.4l2.2 2.2L10.2.4a1 1 0 0 1 1.6 1.2l-7 9A1 1 0 0 1 4 11Z' fill='%231d1d1b'/%3E%3C/svg%3E");
  background-size: 14px 14px;
}
.liste-nein li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' stroke='%23e63323' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px 12px;
}

/* 02 und 04: Karten */
.karten {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.karte {
  background: var(--weiss);
  border-radius: 4px;
  padding: 30px;
}
.karte-datum {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 8px;
}
.karten-schritte .karte {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.karten-schritte h3 { font-size: clamp(21px, 2.2vw, 24px); margin-bottom: 6px; }
.nummer {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: var(--titel);
  font-weight: 800;
  font-size: 19px;
}

/* 03: Lösungen */
.loesungen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.loesung {
  background: var(--grau-hell);
  border-radius: 4px;
  padding: 30px;
}
.loesung-art {
  font-family: var(--titel);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--rot);
  margin-bottom: 10px;
}
.loesung h3 { margin-bottom: 14px; }

/* 04: Person */
.person { margin: 0; }
.person img { border-radius: 4px; margin-bottom: 20px; }
.person h3 { font-size: 24px; margin-bottom: 4px; }
.person p { font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; margin-top: 8px; }
.faq details {
  background: var(--grau-hell);
  border-radius: 4px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 24px 64px 24px 28px;
  font-family: var(--titel);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -8px;
  border-right: 2.5px solid var(--schwarz);
  border-bottom: 2.5px solid var(--schwarz);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 28px 26px; }
.quelle { font-size: 16px; margin-top: 28px; }

/* ---------- Termin ---------- */
.termin {
  background: var(--tief);
  color: var(--weiss);
  padding: 100px 0;
  scroll-margin-top: 0;
}
.termin .kicker { color: var(--grau-auf-dunkel); }
.termin .text { margin-bottom: 28px; }
.liste-haken li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 11a1 1 0 0 1-.7-.3l-3-3a1 1 0 0 1 1.4-1.4l2.2 2.2L10.2.4a1 1 0 0 1 1.6 1.2l-7 9A1 1 0 0 1 4 11Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Anfrage-Karte */
.anfrage {
  background: var(--weiss);
  color: var(--schwarz);
  border-radius: 4px;
  padding: 32px;
  font-family: var(--titel);
  font-size: 16px;
  line-height: 1.45;
}
.anfrage-meldung { font-weight: 600; }
.anfrage-meldung a { color: var(--rot-dunkel); }

.schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.schritt + .schritt { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--grau-linie); }
.schritt-titel {
  /* float: Die Legende sitzt sonst auf der Trennlinie des fieldset. */
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 19px;
}
.schritt-titel + * { clear: both; }
.schritt-titel span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--schwarz);
  color: var(--weiss);
  font-size: 14px;
}

.woche {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.woche-titel { text-align: center; font-weight: 700; }
.woche-knopf {
  width: 40px;
  height: 40px;
  border: 1px solid var(--grau-linie);
  border-radius: 4px;
  background: var(--weiss);
  color: var(--schwarz);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.woche-knopf:disabled { opacity: 0.35; cursor: default; }

.tage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.tag,
.zeit {
  font-family: var(--titel);
  border: 1px solid var(--grau-linie);
  border-radius: 4px;
  background: var(--weiss);
  color: var(--schwarz);
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.tag {
  display: grid;
  gap: 2px;
  padding: 10px 4px;
  text-align: center;
}
.tag-wt { font-size: 13px; font-weight: 700; color: var(--grau-text); text-transform: uppercase; letter-spacing: 0.06em; }
.tag-datum { font-size: 17px; font-weight: 800; }
.tag:hover:not(:disabled),
.zeit:hover { border-color: var(--schwarz); }
.tag:disabled {
  cursor: default;
  color: #b0b0ac;
  background: var(--grau-hell);
  border-color: var(--grau-hell);
}
.tag:disabled .tag-wt { color: #b0b0ac; }
.tag[aria-pressed="true"],
.zeit[aria-pressed="true"] {
  background: var(--schwarz);
  border-color: var(--schwarz);
  color: var(--weiss);
}
.tag[aria-pressed="true"] .tag-wt { color: var(--grau-auf-dunkel); }

.zeiten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.zeit {
  padding: 10px 4px;
  font-size: 16px;
  font-weight: 700;
}
.zeiten-leer { grid-column: 1 / -1; color: var(--grau-text); }

.auswahl { margin-top: 16px; font-weight: 700; min-height: 1.45em; }

.feld {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
.feld + .feld { margin-top: 14px; }
.optional { font-weight: 500; color: var(--grau-text); }
.feld input,
.feld textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-family: var(--titel);
  font-size: 16px;
  font-weight: 500;
  color: var(--schwarz);
  background: var(--weiss);
  border: 1px solid #b9b9b4;
  border-radius: 4px;
}
.feld textarea { resize: vertical; min-height: 84px; }
.feld input[aria-invalid="true"],
.feld textarea[aria-invalid="true"] { border-color: var(--rot); box-shadow: 0 0 0 1px var(--rot); }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.anfrage-info {
  margin: 20px 0 16px;
  padding: 12px 14px;
  background: var(--grau-hell);
  border-radius: 4px;
  font-size: 15px;
}
.knopf-breit { width: 100%; }
.fehler {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--rot);
  background: #fdecea;
  font-weight: 600;
}
.datenschutz {
  margin-top: 14px;
  font-size: 13px;
  color: var(--grau-text);
}
.datenschutz a { color: var(--grau-text); }

.anfrage-danke h3 { font-size: 24px; margin-bottom: 12px; }
.anfrage-danke:focus { outline: none; }

/* ---------- Fuß ---------- */
.fuss {
  padding: 50px 0;
  text-align: center;
  font-size: 16px;
}
.fuss nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 14px;
}
.fuss a { text-decoration: none; border-bottom: 1px solid currentColor; }
.fuss a:hover { color: var(--rot); }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 900px) {
  .raster-13-11,
  .raster-15-9,
  .raster-12-12 { grid-template-columns: 1fr; }
  .loesungen { grid-template-columns: 1fr; }
  .person { max-width: 360px; }
}

@media (max-width: 640px) {
  :root { --rand: 20px; }
  body { font-size: 17px; }
  .kopf { padding: 20px 0; }
  .logo { width: 220px; }
  .hero { padding: 20px 0 64px; }
  .kasten { padding: 52px 0; }
  .text-kursiv { font-size: 18px; }
  .abschnitt { padding: 64px 0; }
  .termin { padding: 64px 0; }
  .raster { gap: 36px; }
  .karte,
  .loesung,
  .vergleich { padding: 24px; }
  .karten-schritte .karte { grid-template-columns: 40px 1fr; gap: 16px; }
  .nummer { width: 40px; height: 40px; font-size: 17px; }
  .faq summary { padding: 20px 52px 20px 20px; }
  .faq summary::after { right: 22px; }
  .faq details p { padding: 0 20px 22px; }
  .knopf { width: 100%; padding: 17px 20px; }
  .anfrage { padding: 22px 18px; margin: 0 -4px; }
  .zeiten { grid-template-columns: repeat(3, 1fr); }
  .tage { gap: 6px; }
  .tag-datum { font-size: 15px; }
}
