/*
 * Firmenwebsite microapp.gmbh
 * Schriften liegen in static/fonts (Barlow, SIL Open Font License, siehe OFL.txt).
 * Nichts wird von fremden Servern geladen.
 */

@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #141414;
  --text-grau: #4A4A4A;
  --papier: #F4F4F2;
  --linie: #E3E3E3;
  --rot: #E30613;
  --rot-dunkel: #B8050F;
  --stein: #DCD9D2;
  --stein-hell: #CFCCC4;
  --label-hell: #BDBDBD;
  --schrift: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--schwarz);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--schwarz);
}

a:hover {
  color: var(--rot-dunkel);
}

:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
}

mark {
  background: #FFF0A8;
  color: inherit;
  padding: 0 2px;
}

main:focus {
  outline: none;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nobr {
  display: inline-block;
}

/* Sprungmarke für Tastatur und Screenreader */
.sprung {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--schwarz);
  color: #FFFFFF;
  font-weight: 700;
}

.sprung:focus {
  left: 8px;
  color: #FFFFFF;
}

/* ---------- Kopf ---------- */

.kopf {
  border-bottom: 1px solid var(--linie);
}

.kopf-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.logo img {
  width: auto;
  height: 32px;
}

.hauptmenue {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.hauptmenue a {
  display: inline-block;
  padding: 10px 2px;
  text-decoration: none;
}

.hauptmenue a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--rot);
}

/* ---------- Typografie ---------- */

.kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.titel {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.titel-2 {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.05;
}

.titel-3 {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
}

.lead {
  margin: 0;
  max-width: 640px;
  font-size: 19px;
  color: var(--text-grau);
}

.klein {
  margin: 0;
  font-size: 15px;
  color: var(--text-grau);
}

.liste {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---------- Knöpfe und Links ---------- */

.knopfzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--schwarz);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}

.knopf:hover {
  background: #000000;
  color: #FFFFFF;
}

.textlink {
  display: inline-block;
  padding: 12px 0;
  font-weight: 600;
}

/* ---------- Abschnitte ---------- */

.band {
  background: var(--papier);
}

.band-dunkel {
  background: var(--schwarz);
  color: #FFFFFF;
}

.band-dunkel a,
.band-dunkel a:hover {
  color: #FFFFFF;
}

.band-dunkel a:hover {
  text-decoration: underline;
}

.abschnitt {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.abschnitt-kopf {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}

/* ---------- Startseite ---------- */

.start-held {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
  text-align: center;
}

.start-held .lead {
  margin-top: 14px;
}

.start-hinweis {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--text-grau);
}

.schirm {
  position: relative;
  width: 100%;
  max-width: 524px;
  margin-top: 36px;
}

.schirm svg {
  width: 100%;
  height: auto;
}

.schirm a {
  cursor: pointer;
}

.schirm .flaeche {
  stroke: var(--schwarz);
  stroke-width: 2.5;
  stroke-linejoin: round;
  transition: fill 0.15s ease, filter 0.15s ease;
}

.schirm .z-it .flaeche { fill: var(--schwarz); }
.schirm .z-bh .flaeche { fill: var(--rot); }
.schirm .z-bu .flaeche { fill: #FFFFFF; }

.schirm .z-it:hover .flaeche,
.schirm .z-it:focus-visible .flaeche { fill: #3A3A3A; }

.schirm .z-bh:hover .flaeche,
.schirm .z-bh:focus-visible .flaeche { filter: brightness(0.85); }

.schirm .z-bu:hover .flaeche,
.schirm .z-bu:focus-visible .flaeche { fill: #ECEBE7; }

.schirm a:focus-visible {
  outline: none;
}

.schirm a:focus-visible .flaeche {
  stroke-width: 6;
}

.schirm a:hover .schirm-titel,
.schirm a:focus-visible .schirm-titel {
  text-decoration: underline;
}

.schirm-titel {
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 36px;
}

.schirm-unter {
  font-family: var(--schrift);
  font-weight: 600;
  font-size: 18px;
}

.schirm .z-it text,
.schirm .z-bh text { fill: #FFFFFF; }
.schirm .z-bu text { fill: var(--schwarz); }

.rippen {
  fill: none;
  stroke: var(--schwarz);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.spitze {
  fill: var(--schwarz);
}

.nabe {
  fill: #FFFFFF;
  stroke: var(--schwarz);
  stroke-width: 2.5;
}

.schirm-zeichen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16%;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Kleiner Schirm im Kopf der Unterseiten */
.held {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px 64px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.held-text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.held-text .knopfzeile {
  margin-top: 8px;
}

.held-bild {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  max-width: 100%;
}

.schirm-klein {
  width: 100%;
  height: auto;
}

.schirm-klein .flaeche,
.schirm-klein .rippen,
.schirm-klein .nabe {
  stroke: var(--schwarz);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.schirm-klein .z-it { fill: var(--schwarz); }
.schirm-klein .z-bh { fill: var(--rot); }
.schirm-klein .z-bu { fill: #FFFFFF; }
.schirm-klein .z-aus { fill: var(--stein); }

/* ---------- Karten auf der Startseite ---------- */

.karten {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 64px;
  margin-bottom: 80px;
}

.karte > p {
  margin: 0;
}

.karte {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: 16px;
  background: var(--papier);
}

.karte-kopf {
  display: flex;
  align-items: center;
  gap: 12px;
}

.karte .knopfzeile {
  margin-top: auto;
  padding-top: 10px;
}

.karte .titel-2 {
  font-size: 34px;
}

/* Kleiner Schirm in Karten und Kacheln */
.mini-schirm {
  flex: none;
  width: 36px;
  height: 36px;
}

.mini-schirm path,
.mini-schirm circle {
  stroke: var(--schwarz);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.mini-schirm .umriss { fill: var(--stein-hell); }
.mini-schirm .naht { fill: none; }
.mini-schirm .nabe { fill: #FFFFFF; }
.mini-schirm .z-it { fill: var(--schwarz); }
.mini-schirm .z-bh { fill: var(--rot); }
.mini-schirm .z-bu { fill: #FFFFFF; }

/* ---------- Kacheln, Schritte, Themen ---------- */

.kacheln {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.kachel {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--linie);
}

.kachel p {
  margin: 0;
}

.schritte {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.schritte li {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schritte p {
  margin: 0;
}

.schritt-nr {
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--rot);
}

.schritte-dunkel .schritt-nr {
  font-size: 48px;
  color: var(--schwarz);
}

.schritte-dunkel .titel-3 {
  font-size: 26px;
}

.themen {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.themen h3 {
  margin: 0;
}

.chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  font-weight: 600;
}

.chips-papier li {
  background: var(--papier);
}

/* ---------- Was wir mitbringen ---------- */

.fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.fakt {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 3px solid var(--schwarz);
}

.fakt p {
  margin: 0;
}

.fakt .fakt-gross {
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
}

.zertifikate {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.zertifikate li {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--linie);
}

.zert-code {
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
}

.zert-name {
  font-size: 15px;
  color: var(--text-grau);
}

/* ---------- Buchhaltung: wer macht was ---------- */

.aufgaben {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.aufgabe {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: 16px;
}

.aufgabe-wir {
  background: var(--rot);
  color: #FFFFFF;
}

.aufgabe-stb {
  background: var(--papier);
}

.aufgabe .titel-3 {
  font-size: 30px;
}

.hinweis-kasten {
  margin: 0;
  padding: 20px 28px;
  border-radius: 16px;
  border: 1px solid var(--linie);
}

/* ---------- Kontaktband ---------- */

.kontakt-band {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.kontakt-band .titel-2 {
  flex: 1 1 300px;
}

.kontakt-liste {
  flex: 2 1 520px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.kontakt-eintrag {
  flex: 1 1 200px;
  min-width: 0;
}

.kontakt-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--label-hell);
}

.kontakt-wert {
  display: inline-block;
  margin: 0;
  padding: 8px 0;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.kontakt-anschrift {
  font-size: 18px;
  font-weight: 400;
}

/* ---------- Kontaktseite ---------- */

.kontakt-kacheln {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 72px;
}

.kontakt-kachel {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--linie);
}

.kontakt-kachel .kicker {
  font-size: 14px;
}

.kachel-icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--schwarz);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.kachel-wert {
  display: inline-block;
  margin: 0;
  padding: 4px 0;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.kachel-wert:hover {
  text-decoration: underline;
}

.kachel-anschrift {
  font-size: 19px;
  font-weight: 400;
}

/* ---------- Kontaktformular ---------- */

.formular-bereich {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 64px;
  padding-top: 72px;
}

.formular-kopf {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formular-spalte {
  flex: 2 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formular {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feldzeile {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feld {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feldzeile .feld {
  flex: 1 1 240px;
}

.feld label {
  font-weight: 600;
}

.feld .optional {
  font-weight: 400;
  color: var(--text-grau);
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #8A8A8A;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--schwarz);
  font: inherit;
}

.feld textarea {
  min-height: 180px;
  resize: vertical;
}

.feld [aria-invalid="true"] {
  border: 2px solid var(--rot-dunkel);
}

.feld-fehler {
  margin: 0;
  color: var(--rot-dunkel);
  font-size: 15px;
  font-weight: 600;
}

.feld-schmal {
  max-width: 360px;
}

.feld-hinweis {
  margin: 0;
  font-size: 15px;
  color: var(--text-grau);
}

.formular-fehler {
  padding: 20px 24px;
  border: 2px solid var(--rot-dunkel);
  border-radius: 12px;
  background: #FFF5F5;
}

.formular-fehler h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.formular-fehler p,
.formular-fehler ul {
  margin: 0;
}

.formular-fehler ul {
  padding-left: 20px;
}

.formular-fehler a {
  color: var(--rot-dunkel);
}

.formular-danke {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 16px;
  background: var(--papier);
}

.formular-danke p {
  margin: 0;
}

.formular .knopf {
  align-self: flex-start;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.formular-hinweis {
  margin: 0;
  font-size: 15px;
  color: var(--text-grau);
}

/* Verstecktes Feld gegen Bots */
.falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.impressum {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 64px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.impressum-kopf {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impressum-kopf p {
  margin: 0;
}

.impressum-kopf .impressum-anschrift {
  margin-top: 16px;
  font-size: 19px;
}

.impressum-liste {
  flex: 2 1 520px;
  min-width: 0;
  margin: 0;
}

.impressum-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  padding: 12px 0;
  border-top: 1px solid var(--linie);
}

.impressum-zeile:last-child {
  border-bottom: 1px solid var(--linie);
}

.impressum-zeile dt {
  flex: 0 0 200px;
  font-weight: 700;
}

.impressum-zeile dd {
  flex: 1 1 240px;
  margin: 0;
}

/* ---------- Datenschutz ---------- */

.text-seite {
  padding-top: 64px;
  padding-bottom: 80px;
}

.text-spalte {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  line-height: 1.6;
}

.text-abschnitt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-abschnitt p {
  margin: 0;
}

.text-abschnitt h2 {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
}

.widerspruch {
  padding: 28px;
  border-radius: 16px;
  background: var(--papier);
}

/* ---------- Fuß ---------- */

.fuss {
  border-top: 1px solid var(--linie);
}

.fuss-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 15px;
  color: var(--text-grau);
}

.fuss-innen p {
  margin: 0;
  padding: 12px 0;
}

.fuss-innen nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

.fuss-innen a {
  display: inline-block;
  padding: 12px 0;
}

.fuss-innen a[aria-current="page"] {
  font-weight: 700;
}

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 600px) {
  .abschnitt {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .karte,
  .aufgabe {
    padding: 24px;
  }

  .held {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .held-bild {
    width: 120px;
  }

  .kontakt-kachel {
    padding: 24px;
  }

  .start-held {
    padding-top: 40px;
  }

  .impressum-zeile dt {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schirm .flaeche {
    transition: none;
  }
}
