/* dk "SEO nach Klicks", styled after the main website: white and misty blue-gray, Roboto, dark outlines, red accent. */

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --dunkel: #232323;
  --text: #333333;
  --grau: #5f5f5f;
  --titel: #6b6b6b;
  --titel-auf-grau: #454545;
  --blaugrau: #a2adb3;
  --flaeche: #f5f7f8;
  --weiss: #ffffff;
  --linie: #d8dde0;
  --balken: #66737b;
  --rot: #e1201d;
  --rot-tief: #a81412;
  --rot-hell: #ff6b66;
  --gruen: #2d7048;
  --gruen-hell: #e6f2ea;
  --ocker: #8a5d00;
  --ocker-hell: #fbf3e0;
  --rot-blass: #fff7f7;
  --nebel: #e9eef2;
  --schatten: 0 .6rem 2rem rgba(35, 35, 35, .13);
  --radius: 4px;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --karte: clamp(1.1rem, 3.5vw, 2.5rem);
  --luft: clamp(3.5rem, 8vw, 6.5rem);
  --schrift: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--schrift);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--dunkel);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.028em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.125rem); line-height: 1.12; letter-spacing: -.018em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; margin-bottom: 1rem; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; }
strong { font-weight: 700; color: var(--dunkel); }
a { color: var(--rot); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 3px; }
.fuss :focus-visible { outline-color: var(--weiss); }
main:focus { outline: none; }

.rahmen { width: min(100%, 76rem); margin-inline: auto; padding-inline: var(--rand); }
.rahmen-schmal { width: min(100%, 48rem); margin-inline: auto; padding-inline: var(--rand); }

.sprunglink {
  position: absolute;
  left: .75rem;
  top: -5rem;
  z-index: 10;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  background: var(--dunkel);
  color: var(--weiss);
  font-weight: 700;
}
.sprunglink:focus { top: .75rem; outline-color: var(--rot); }

/* Header */
.kopf { position: relative; z-index: 2; background: var(--weiss); box-shadow: 0 1px 8px rgba(0, 0, 0, .12); }
.kopf-hinweis {
  margin: 0;
  padding: .35rem var(--rand);
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  color: var(--grau);
  font-size: .8125rem;
  line-height: 1.4;
  text-align: center;
}
.kopf-leiste { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-block: .8rem; }
.marke { display: flex; flex-direction: column; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; color: #111111; line-height: 1.25; text-decoration: none; }
.marke-name { font-size: 1.125rem; font-weight: 700; white-space: nowrap; }
/* Narrow screens show only "dk"; the rest stays readable for screen readers. */
.marke-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.marke-zusatz { color: var(--grau); font-size: .75rem; white-space: nowrap; }
.kopf-nav { margin-left: auto; }
.kopf-nav ul { display: flex; gap: 1.5rem; }
.kopf-nav li:not(.nav-preise) { display: none; }
.kopf-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--grau); font-weight: 500; text-decoration: none; }
.kopf-nav a:hover { color: var(--dunkel); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; }

/* Buttons: outlined by default, the purchase button is filled. */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 3rem;
  padding: .7rem 1.6rem;
  border: 2px solid var(--dunkel);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--dunkel);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.knopf:hover { background: var(--dunkel); color: var(--weiss); text-decoration: underline; text-decoration-thickness: 1px; }
.knopf[data-kauf] { background: var(--dunkel); color: var(--weiss); box-shadow: 0 .3rem .9rem rgba(35, 35, 35, .22); }
.knopf[data-kauf]:hover { background: var(--rot-tief); border-color: var(--rot-tief); }
.knopf[data-kauf]::after { content: "\2192" / ""; }
.knopf-klein { flex: none; min-height: 2.75rem; padding: .45rem .9rem; font-size: .9375rem; }
.knopf-gross { min-height: 3.75rem; padding: 1rem 2.75rem; font-size: 1.25rem; }
.textlink { display: inline-block; padding-block: .6rem; color: var(--dunkel); font-weight: 500; text-decoration-color: var(--rot-tief); text-decoration-thickness: 2px; }

.augenbraue {
  margin-bottom: .6rem;
  color: var(--grau);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
}
.b2b {
  display: inline-block;
  margin: 0;
  padding: .4rem .8rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: .875rem;
  line-height: 1.4;
}

/* Hero: the pier photo behind a white veil. The veil never drops below 70 % where text can sit. */
.hero {
  --schleier: rgba(255, 255, 255, .7);
  background:
    linear-gradient(var(--schleier) 0 30rem, var(--nebel) 40rem) 0 0 no-repeat,
    url("/assets/hero-960.jpg") 28% 0 / auto 40rem no-repeat,
    var(--nebel);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 40.0625rem) {
  .hero {
    background:
      linear-gradient(var(--schleier) 0 30rem, var(--nebel) 40rem) 0 0 no-repeat,
      url("/assets/hero-1920.jpg") 40% 0 / auto 40rem no-repeat,
      var(--nebel);
  }
}
.hero-raster { display: grid; gap: 3rem; }
.hero-raster > * { min-width: 0; }
.hero-text { text-align: center; }
.hero .augenbraue { color: var(--dunkel); }
.hero h1 { margin-bottom: 0; }
.hero h1 em { font-style: normal; }
.hero-vorspann { max-width: 36rem; margin: 1.4rem auto 2rem; font-size: clamp(1.125rem, 1.6vw, 1.25rem); }
.aktion { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.75rem; margin-bottom: 1.5rem; }
.hero-kleingedrucktes { max-width: 32rem; margin-inline: auto; font-size: .9375rem; }
.hero .b2b { color: var(--dunkel); }

/* The example statement */
.beleg {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 27rem;
  padding: 1.75rem clamp(1.1rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: var(--schatten);
}
.beleg-marke { display: inline-block; margin-bottom: .9rem; padding: .2rem .6rem; border-left: 3px solid var(--rot); background: var(--flaeche); color: var(--dunkel); font-size: .8125rem; font-weight: 700; }
.beleg h2 { font-size: 1.5rem; letter-spacing: -.01em; }
.beleg-zeilen > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .42rem; border-bottom: 1px solid var(--linie); }
.beleg-zeilen dd { color: var(--dunkel); font-weight: 500; white-space: nowrap; }
.beleg-zeilen .beleg-summe { border-bottom: 2px solid var(--dunkel); color: var(--dunkel); font-weight: 700; }
.beleg-zeilen .beleg-gesamt { align-items: baseline; border: 0; padding-top: .9rem; color: var(--dunkel); font-weight: 700; }
.beleg-gesamt dd { font-size: 2.25rem; font-weight: 700; line-height: 1; }
.beleg-fuss { margin: 1.1rem 0 0; font-size: .875rem; color: var(--grau); }

/* Sections alternate between white and misty blue-gray. */
.abschnitt { padding-block: var(--luft); }
.abschnitt-grau { background: var(--blaugrau); color: var(--dunkel); }
.abschnitt-kopf { max-width: 50rem; margin: 0 auto 3rem; text-align: center; }
.abschnitt-kopf h2 { color: var(--titel); }
.abschnitt-kopf p:last-child { margin-bottom: 0; }
.abschnitt-grau .abschnitt-kopf h2 { color: var(--titel-auf-grau); }
.abschnitt-grau .augenbraue { color: var(--dunkel); }

/* Benefits: columns with the outlined square of the main site */
.posten { display: grid; gap: 3rem 2rem; text-align: center; }
.posten li { min-width: 0; }
.posten li::before { content: ""; display: block; width: 2.75rem; height: 2.75rem; margin: 0 auto 1.25rem; border: 5px solid var(--titel); }
.posten-marke { margin: 0 0 .5rem; color: var(--dunkel); font-size: 2rem; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.posten h3 { margin-bottom: .5rem; color: var(--grau); font-size: 1.1875rem; }
.posten p:last-child { max-width: 22rem; margin: 0 auto; color: var(--grau); }

/* Process: two clearly separated phases */
.ablauf { display: grid; gap: 1.75rem; }
.phase { min-width: 0; padding: var(--karte); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.phase-sofort { border-top: 6px solid var(--dunkel); }
.phase-mitwirkung { border: 2px dashed var(--dunkel); }
.phase h3 { margin-bottom: 1.5rem; text-align: center; }
.schritte { counter-reset: schritt; }
.schritte li { counter-increment: schritt; position: relative; min-height: 3.5rem; padding: 0 0 1.4rem 3.5rem; }
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--dunkel);
  color: var(--weiss);
  font-weight: 700;
}
.phase-mitwirkung .schritte li::before { background: var(--weiss); color: var(--dunkel); border: 2px solid var(--dunkel); }
.schritte li:not(:last-child)::after { content: ""; position: absolute; left: 1.0625rem; top: 2.25rem; bottom: 0; border-left: 2px solid var(--dunkel); }
.phase-mitwirkung .schritte li:not(:last-child)::after { border-left-style: dashed; }
.schritte li:last-child { padding-bottom: 0; }
.schritte strong { display: block; line-height: 1.35; padding-top: .35rem; }
.schritte span { display: block; color: var(--grau); font-size: .9375rem; }
.wichtig { max-width: 52rem; margin: 2rem auto 0; padding: 1.1rem 1.4rem; border-left: 6px solid var(--rot); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); font-size: 1.125rem; }

/* Changes: three levels */
.stufen { display: grid; gap: 1.5rem; }
.stufe { min-width: 0; padding: var(--karte) clamp(1.1rem, 2.5vw, 1.75rem); border-top: 6px solid var(--gruen); border-radius: var(--radius); background: var(--flaeche); text-align: center; }
.stufe-pruefung { border-top-color: var(--ocker); }
.stufe-nie { border-top: 6px dashed var(--rot-tief); }
.stufe h3 { margin-bottom: 1.25rem; font-size: 1.25rem; }
.stufe-nie h3 { color: var(--rot-tief); }
.stufe ul { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: .6rem; }
.stufe li { padding: .4rem .85rem; border: 2px solid transparent; border-radius: var(--radius); color: var(--dunkel); font-weight: 500; line-height: 1.35; }
.stufe-frei li { border-color: var(--gruen); background: var(--weiss); }
.stufe-pruefung li { border-color: var(--ocker); background: #fdf0cc; }
.stufe-nie li { border: 2px dashed var(--rot-tief); color: var(--rot-tief); }
.absicherung { margin-top: 3.5rem; }
.absicherung h3 { text-align: center; }
.absicherung ul { display: grid; column-gap: 2.5rem; max-width: 60rem; margin-inline: auto; }
.absicherung li { position: relative; padding: .75rem 0 .75rem 1.75rem; border-bottom: 1px solid var(--linie); }
.absicherung li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .8rem; height: .4rem; border-left: 3px solid var(--dunkel); border-bottom: 3px solid var(--dunkel); transform: rotate(-45deg); }

/* Prices: white cards on blue-gray */
.preise .rahmen { max-width: 66rem; }
.formel, .konditionen, .limit, .abrechnung, .kaufblock { margin-bottom: 1.75rem; padding: var(--karte); border-radius: var(--radius); background: var(--weiss); color: var(--text); box-shadow: var(--schatten); }
.formel { display: grid; justify-items: center; gap: .5rem; text-align: center; }
.formel p { margin: 0; }
.formel-zahl { display: block; color: var(--dunkel); font-size: clamp(3.25rem, 13vw, 6.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.formel-text { display: block; max-width: 22rem; margin: .6rem auto 0; font-size: 1.125rem; }
.formel-plus { color: var(--titel); font-size: 3.5rem; font-weight: 300; line-height: 1; }
.formel-signal .formel-zahl { color: var(--rot); }
.konditionen { padding-block: .5rem; }
.konditionen li { display: grid; gap: .1rem 1.5rem; padding-block: .9rem; border-bottom: 1px solid var(--linie); }
.konditionen li:last-child { border-bottom: 0; }
.konditionen span { color: var(--grau); }
.limit > h3, .abrechnung > h3 { text-align: center; }
.limit > p { max-width: 46rem; margin-inline: auto; }
.limit-skala {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: .25rem;
  margin: 1.75rem auto 0;
  font-size: .8125rem;
  line-height: 1.3;
}
.limit-skala span { padding-top: .6rem; border-top: .9rem solid var(--dunkel); }
.limit-skala span:nth-child(2) { border-top-color: var(--balken); }
.limit-skala span:last-child { border-top-color: transparent; border-left: 4px solid var(--rot-tief); padding-left: .6rem; color: var(--rot-tief); font-weight: 700; }
.regel > div { display: grid; gap: .3rem 1.5rem; padding-block: 1rem; border-top: 1px solid var(--linie); }
.regel dt { color: var(--dunkel); font-weight: 700; }
.regel-hinweis { display: block; margin-top: .35rem; color: var(--grau); font-size: .9375rem; }
.abrechnung .regel > div:last-child { padding-bottom: 0; }
.kaufblock { display: grid; gap: 2rem; margin: 0; border: 2px solid var(--dunkel); }
.kaufblock > * { min-width: 0; }
.kaufblock li { position: relative; padding: 0 0 .7rem 1.4rem; }
.kaufblock li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; border: 2px solid var(--dunkel); }
.kaufblock-aktion { display: grid; align-content: center; gap: .9rem; text-align: center; }
.kaufblock-aktion p { margin: 0; color: var(--grau); font-size: .9375rem; }

/* Examples */
.beispiel-raster { display: grid; gap: 1.75rem; }
.beispiel-raster > * { min-width: 0; }
.betraege { width: 100%; border-collapse: collapse; align-self: start; }
.betraege caption { padding-bottom: .9rem; text-align: left; color: var(--dunkel); font-weight: 500; }
.betraege th, .betraege td { padding: .85rem .4rem; border-bottom: 1px solid var(--linie); text-align: right; vertical-align: top; }
.betraege th:first-child { text-align: left; }
.betraege thead th { border-bottom: 2px solid var(--dunkel); color: var(--dunkel); font-size: .875rem; vertical-align: bottom; }
.betraege tbody th { color: var(--dunkel); font-weight: 700; }
.betraege td:last-child { color: var(--dunkel); font-weight: 700; }
.gedeckelt { background: #fdecec; }
.marke-limit { display: block; color: var(--rot-tief); font-size: .8125rem; font-weight: 700; line-height: 1.3; }
.mindestkosten { align-self: start; padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--flaeche); box-shadow: var(--schatten); text-align: center; }
.mindestkosten p:last-child { margin: 0; color: var(--grau); }
.mindest-zahl { margin-bottom: .5rem; color: var(--dunkel); font-size: clamp(2.5rem, 4.6vw, 3.25rem); font-weight: 700; line-height: 1.05; }
.mindest-zahl span { color: var(--grau); font-size: 1.25rem; }
.faelle-titel { margin-top: 4rem; text-align: center; }
.faelle { display: grid; gap: 1.5rem; }
.fall { display: grid; align-content: start; gap: 1.5rem; padding: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.fall > * { min-width: 0; }
.fall p { margin: 0; color: var(--grau); }
.balkenliste li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin-bottom: .75rem; font-size: .9375rem; line-height: 1.35; }
.balken-wert { color: var(--dunkel); font-weight: 700; }
.balken { grid-column: 1 / -1; display: block; width: 100%; height: .65rem; }
.balken-spur { fill: var(--nebel); }
.balken-referenz .balken-fuellung { fill: var(--balken); }
.balken-klicks .balken-fuellung { fill: var(--dunkel); }
.fall-ergebnis { align-self: start; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--flaeche); }
.fall-ergebnis > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .25rem; }
.fall-ergebnis dd { color: var(--dunkel); font-weight: 700; white-space: nowrap; }

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details { margin-bottom: .75rem; border-radius: var(--radius); background: var(--weiss); color: var(--text); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.1rem 3.75rem 1.1rem 1.25rem;
  border-radius: var(--radius);
  color: var(--dunkel);
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+" / "";
  position: absolute;
  right: 1rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 2px solid var(--dunkel);
  border-radius: var(--radius);
  font-size: 1.35rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212" / ""; background: var(--dunkel); color: var(--weiss); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.faq details > div { padding: 0 1.25rem .5rem; }
.faq-anfrage { margin: 1.5rem 0 0; text-align: center; }

/* Closing call */
.abschluss { padding-block: var(--luft); text-align: center; }
.abschluss-raster { display: grid; gap: 2rem; justify-items: center; }
.abschluss h2 { color: var(--titel); }
.abschluss p { max-width: 36rem; margin: 0 auto; font-size: 1.1875rem; }

/* Sub pages: a white sheet on blue-gray */
body.unterseite { display: flex; flex-direction: column; min-height: 100vh; }
.unterseite main { flex: 1 0 auto; padding: clamp(1.5rem, 5vw, 4rem) clamp(.6rem, 3vw, 2rem); background: var(--blaugrau); }
.blatt { padding-block: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.unterseite h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); }
.gross { font-size: 1.25rem; }
.blatt .b2b { margin-bottom: 2rem; }
.blatt > p:last-child { margin-bottom: 0; }
.rechtstext h2 { margin-top: 2.25rem; font-size: 1.35rem; letter-spacing: 0; }
.rechtstext ul { margin-bottom: 1rem; }
.rechtstext li { padding-block: .3rem; border-bottom: 1px solid var(--linie); }
.entwurf { padding: .8rem 1rem; border: 2px dashed var(--rot-tief); border-radius: var(--radius); color: var(--rot-tief); }
.entwurf strong { color: inherit; }
mark { padding: .1rem .3rem; background: #fdf0cc; color: var(--dunkel); }

/* Application pages: purchase, login, customer area */
.testbetrieb { margin: 0; padding: .45rem var(--rand); background: #fdf0cc; border-top: 1px solid #e9d08a; color: var(--dunkel); font-size: .875rem; font-weight: 500; text-align: center; }
.testhinweis { padding: .75rem 1rem; border-left: 6px solid var(--ocker); border-radius: var(--radius); background: #fdf0cc; color: var(--dunkel); }
.abmelden { margin: 0; }
.abmelden .knopf { cursor: pointer; font: inherit; font-weight: 700; }
.app .blatt { padding-inline: var(--karte); }
.app .blatt h2 { margin-top: 2.25rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.app .blatt h2:first-child { margin-top: 0; }
.klein { color: var(--grau); font-size: .9375rem; }
.formular fieldset { min-width: 0; margin: 0 0 1.75rem; padding: 0; border: 0; }
.formular legend { margin-bottom: .75rem; padding: 0; color: var(--dunkel); font-size: 1.25rem; font-weight: 500; }
.feld { display: grid; gap: .3rem; margin-bottom: 1.1rem; }
.feld label, .feld-fest > span:first-child { color: var(--dunkel); font-weight: 700; }
.feld input:not([type="checkbox"]) {
  width: 100%;
  min-height: 3rem;
  padding: .6rem .8rem;
  border: 2px solid var(--balken);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--dunkel);
  font: inherit;
}
.feld input:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 2px; border-color: var(--dunkel); }
.feld-hinweis { margin: 0; color: var(--grau); font-size: .9375rem; line-height: 1.45; }
.feld-meldung { order: 0; margin: 0; color: var(--rot-tief); font-weight: 700; }
.feld-fehler input:not([type="checkbox"]) { border-color: var(--rot-tief); border-width: 3px; }
.feld-fehler { padding-left: .9rem; border-left: 4px solid var(--rot-tief); }
.feld-haken { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; }
.feld-haken .feld-meldung { grid-column: 1 / -1; }
.feld-haken input { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--dunkel); }
.feld-haken label { font-weight: 400; color: var(--text); }
.feld-fest { display: grid; gap: .2rem; margin-bottom: 1.1rem; }
.feldgruppe { display: grid; gap: 0 1rem; }
.fehlerliste { margin-bottom: 2rem; padding: 1rem 1.25rem; border: 3px solid var(--rot-tief); border-radius: var(--radius); }
.fehlerliste:focus { outline: 3px solid var(--dunkel); outline-offset: 3px; }
.fehlerliste h2 { margin: 0 0 .5rem; color: var(--rot-tief); font-size: 1.25rem; }
.fehlerliste li { padding-block: .2rem; }
.fehlerliste a { color: var(--rot-tief); font-weight: 500; }
.formular-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin: 1.5rem 0 1rem; }
.formular-aktion form { margin: 0; }
button.knopf { cursor: pointer; font: inherit; font-weight: 700; }
.knopf-signal { background: var(--dunkel); color: var(--weiss); }
.knopf-signal:hover { background: var(--rot-tief); border-color: var(--rot-tief); }
.knopf-warnung { border-color: var(--rot-tief); color: var(--rot-tief); }
.knopf-warnung:hover { background: var(--rot-tief); color: var(--weiss); }
.angaben > div { display: grid; gap: .1rem 1.5rem; padding-block: .6rem; border-bottom: 1px solid var(--linie); }
.angaben dt { color: var(--grau); }
.angaben dd { color: var(--dunkel); font-weight: 500; overflow-wrap: anywhere; }
.preisliste { margin-bottom: 1rem; }
.preisliste tbody th { font-weight: 500; }
.liste li { position: relative; padding: .35rem 0 .35rem 1.4rem; }
.liste li::before { content: ""; position: absolute; left: 0; top: .9em; width: .55rem; height: .55rem; border: 2px solid var(--dunkel); }
.wert-kopieren { display: block; padding: .7rem .9rem; border: 2px dashed var(--balken); border-radius: var(--radius); background: var(--flaeche); color: var(--dunkel); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9375rem; overflow-wrap: anywhere; user-select: all; }
.meldung-ok { padding: .75rem 1rem; border-left: 6px solid var(--gruen); border-radius: var(--radius); background: var(--gruen-hell); color: var(--dunkel); }
.meldung-fehler { padding: .75rem 1rem; border-left: 6px solid var(--rot-tief); border-radius: var(--radius); background: #fdecec; color: var(--dunkel); }

/* Customer area */
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.konto-navi { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 2rem; }
.konto-navi a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--dunkel); font-weight: 500; }
.vertrag { margin-bottom: 1.75rem; padding: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.vertrag h3 { margin-bottom: .25rem; overflow-wrap: anywhere; }
.vertrag-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; margin-bottom: 1rem; }
.etikett { display: inline-block; padding: .15rem .6rem; border: 2px solid currentColor; border-radius: var(--radius); color: var(--titel-auf-grau); font-size: .875rem; font-weight: 700; }
.etikett-aktiv { color: var(--gruen); }
.etikett-gekuendigt { color: var(--rot-tief); }
.etikett-wartet { color: var(--ocker); }
.schrittfolge { counter-reset: schritt; margin: 0 0 1.25rem; }
.schrittfolge li { counter-increment: schritt; position: relative; padding: .35rem 0 .7rem 2.75rem; min-height: 2.5rem; }
.schrittfolge li::before { content: counter(schritt); position: absolute; left: 0; top: .2rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 2px solid var(--balken); border-radius: 50%; color: var(--grau); font-weight: 700; }
.schrittfolge .erledigt::before { content: "\2713" / ""; border-color: var(--gruen); background: var(--gruen); color: var(--weiss); }
.schrittfolge .aktuell::before { border-color: var(--dunkel); background: var(--dunkel); color: var(--weiss); }
.schrittfolge strong { display: block; }
.schrittfolge span { display: block; color: var(--grau); font-size: .9375rem; }
.naechster { padding: .9rem 1.1rem; border-left: 6px solid var(--dunkel); border-radius: var(--radius); background: var(--flaeche); }
.leer { color: var(--grau); font-style: italic; }
.tabelle-rahmen { position: relative; overflow-x: auto; }
.tabelle-rahmen:focus-visible { outline: 3px solid var(--dunkel); }
.belege .nummer { white-space: nowrap; }
.link-ziel, .brotkrumen a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.angaben + p, .angaben + .formular-aktion, .angaben + form { margin-top: 1.5rem; }
.belege .beleg-pdf { padding-block: .4rem; }
@media (max-width: 39.99rem) {
  .belege thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .belege, .belege caption, .belege tbody, .belege tr { display: block; width: 100%; }
  .belege tr { padding-block: .6rem; border-bottom: 1px solid var(--linie); }
  .belege th, .belege td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border: 0; text-align: right; }
  .belege [data-label]::before { content: attr(data-label); color: var(--grau); font-weight: 400; text-align: left; }
  .belege .beleg-pdf { justify-content: flex-end; padding-top: .5rem; }
}
/* -05: billing tab of the agency */
.abrechnungen .text { text-align: left; }
.abrechnungen td, .abrechnungen th { vertical-align: top; }
.abrechnungen .monat { white-space: nowrap; }
.vertrag-zelle a { overflow-wrap: anywhere; }
.abrechnung-firma { display: block; color: var(--grau); }
.etikett-abrechnung-abgerechnet { color: var(--gruen); }
.etikett-abrechnung-wartet { color: var(--ocker); }
.etikett-abrechnung-gehalten { color: var(--rot-tief); }
@media (max-width: 39.99rem) {
  .abrechnungen .text { text-align: right; }
  .vertrag-zelle { min-width: 0; }
}
.freigaben { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.freigabe { display: grid; gap: .6rem; justify-items: start; max-width: 32rem; margin-top: 1rem; }
.freigaben .freigabe { margin-top: 0; padding: .9rem 1rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.freigabe p { margin: 0; }
.bestaetigung { display: flex; gap: .6rem; align-items: flex-start; min-height: 2.75rem; }
.bestaetigung input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; }
.zeitleiste li { display: grid; gap: .1rem; padding-block: .6rem; border-bottom: 1px solid var(--linie); }
.zeitleiste time { color: var(--grau); font-size: .875rem; }
.dokumente li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-block: .6rem; border-bottom: 1px solid var(--linie); }

textarea, select { font: inherit; }
.feld textarea, .feld select {
  width: 100%;
  min-height: 3rem;
  padding: .6rem .8rem;
  border: 2px solid var(--balken);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--dunkel);
}
.feld textarea { resize: vertical; line-height: 1.5; }
.feld textarea:focus-visible, .feld select:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 2px; border-color: var(--dunkel); }
.feld-fehler textarea, .feld-fehler select { border-color: var(--rot-tief); border-width: 3px; }
/* Honeypot of the request form: off screen, not announced */
.feld-fang { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }

/* Agency area: wide sheet for lists and cards */
.kopf-bereich { margin: 0 0 0 auto; color: var(--dunkel); font-weight: 700; }
.agentur .agentur-blatt { width: min(100%, 76rem); padding-inline: var(--karte); }
.agentur h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); overflow-wrap: anywhere; }
.hinweis-kunde { padding: .75rem 1rem; border-left: 6px solid var(--balken); border-radius: var(--radius); background: var(--flaeche); color: var(--dunkel); }
.hinweis-kunde a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.verlauf li { margin-bottom: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--linie); border-left-width: 6px; border-radius: var(--radius); }
.nachricht-ein { border-left-color: var(--balken); background: var(--weiss); }
.nachricht-aus { border-left-color: var(--dunkel); background: var(--flaeche); }
.nachricht-kopf { margin-bottom: .5rem; color: var(--grau); font-size: .9375rem; }
.nachricht-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--dunkel); }
.marke-hinweis { color: var(--dunkel); font-weight: 700; }
.etiketten { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.etikett-status-neu, .etikett-status-entwurf, .etikett-status-manuell { color: var(--ocker); }
.etikett-status-versand_unklar, .etikett-dringend { color: var(--rot-tief); }
.etikett-status-gesendet, .etikett-status-erledigt { color: var(--gruen); }
.vorgang-raster { display: grid; gap: 2rem; }
.vorgang-haupt, .vorgang-seite { min-width: 0; }
.vorgang-seite { align-self: start; padding: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); }
.vorgang-seite .angaben > div { grid-template-columns: 1fr; }
.vorgang-seite form { margin-top: 1rem; }
.mail-vorschau { margin-bottom: 1.25rem; padding: 1rem 1.1rem; border: 2px dashed var(--balken); border-radius: var(--radius); background: var(--weiss); color: var(--dunkel); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9375rem; }
.warnung { margin-block: 1rem; padding: .75rem 1rem; border-left: 6px solid var(--ocker); border-radius: var(--radius); background: var(--ocker-hell); color: var(--dunkel); }
.warnung h3 { margin-bottom: .25rem; font-size: 1rem; }
.warnung ul { padding-left: 1.2rem; list-style: disc; }
.karte-schritt { margin-bottom: 1.75rem; padding: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.karte-schritt > form + form { margin-top: .75rem; }
.aktionen { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.aktionen form { margin: 0; }
@media (min-width: 64rem) {
  .vorgang-raster { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); }
}
/* Agency overview: tabs, filter, lists and task cards */
.reiter { margin: 0 0 1.75rem; border-bottom: 2px solid var(--linie); }
.reiter ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.reiter a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding-block: .35rem; border-bottom: 4px solid transparent; margin-bottom: -2px; color: var(--grau); font-weight: 500; text-decoration: none; }
.reiter a:hover { color: var(--dunkel); text-decoration: underline; }
.reiter a[aria-current="page"] { border-bottom-color: var(--dunkel); color: var(--dunkel); font-weight: 700; }
.zaehler { display: inline-grid; place-items: center; min-width: 1.75rem; padding: 0 .4rem; border-radius: 1rem; background: var(--nebel); color: var(--dunkel); font-size: .875rem; font-weight: 700; }
.reiter a[aria-current="page"] .zaehler { background: var(--dunkel); color: var(--weiss); }
.filter { display: grid; gap: 0 1rem; align-items: end; margin-bottom: 1.25rem; }
.filter .feld { margin-bottom: .75rem; }
.filter .knopf { margin-bottom: .75rem; }
.karten { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.karte { min-width: 0; padding: 1.1rem 1.25rem; border: 1px solid var(--linie); border-left: 6px solid var(--balken); border-radius: var(--radius); background: var(--weiss); }
.karte-dringend { border-left-color: var(--rot-tief); background: var(--rot-blass); }
.karte h3 { margin-bottom: .35rem; font-size: 1.125rem; overflow-wrap: anywhere; }
.karte h3 a { color: var(--dunkel); }
.karte p { overflow-wrap: anywhere; }
.erledigen { margin-top: .75rem; }
.erledigen summary { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--dunkel); font-weight: 700; cursor: pointer; }
.erledigen summary::before { content: "\25B8" / ""; margin-right: .5rem; }
.erledigen[open] summary::before { content: "\25BE" / ""; }
.erledigen summary:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 2px; }
.erledigen[open] > form { margin-top: .5rem; padding: 1rem; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); }
.eintraege { margin-bottom: 2rem; border-top: 1px solid var(--linie); }
.eintraege > li { padding-block: .85rem; border-bottom: 1px solid var(--linie); }
.eintraege .etiketten { margin-bottom: .35rem; }
.eintrag-titel { margin-bottom: .35rem; font-weight: 700; overflow-wrap: anywhere; }
.eintrag-titel a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--dunkel); }
.eintrag-angaben { color: var(--grau); font-size: .9375rem; overflow-wrap: anywhere; }
.vertragsliste li { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; padding-block: .2rem; overflow-wrap: anywhere; }
.mehrzeilig { white-space: pre-wrap; overflow-wrap: anywhere; }
.vorschlag { margin-bottom: 1.5rem; padding: 1rem 1.1rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.vorschlag h3 { margin-bottom: .5rem; }
.etikett-zustand-einrichtung, .etikett-bestellung-ausstehend, .etikett-bestellung-offen, .etikett-vorschlag-offen, .etikett-analyse-offen, .etikett-analyse-laeuft { color: var(--ocker); }
.etikett-zustand-aktiv, .etikett-bestellung-bezahlt, .etikett-vorschlag-freigegeben, .etikett-vorschlag-umgesetzt, .etikett-analyse-fertig, .etikett-sichtbar { color: var(--gruen); }
.etikett-zustand-gekuendigt, .etikett-zustand-beendet, .etikett-bestellung-konflikt, .etikett-bestellung-fehlgeschlagen, .etikett-vorschlag-abgelehnt, .etikett-analyse-fehler { color: var(--rot-tief); }
.etikett-intern, .etikett-vorschlag-ersetzt, .etikett-analyse-abgebrochen { color: var(--titel-auf-grau); border-style: dashed; }
.agentur .vertrag h2 { margin-bottom: 0; overflow-wrap: anywhere; }
.agentur .vertrag h3 { margin-top: 1.5rem; }
@media (min-width: 48rem) {
  .filter { grid-template-columns: 14rem minmax(0, 1fr) auto; }
  .karten { grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); align-items: start; }
}

/* Footer */
.fuss { padding-block: 2.5rem; background: var(--dunkel); color: #d6d6d6; font-size: .9375rem; text-align: center; }
.fuss-raster { display: grid; justify-items: center; gap: .5rem; }
.fuss p { margin: 0; }
.fuss-marke { color: var(--weiss); font-size: 1.125rem; font-weight: 500; }
.fuss ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.fuss a { display: inline-flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--rot-hell); }

@media (max-width: 23.5rem) {
  .hero h1 { font-size: 2.125rem; }
  .knopf-klein { gap: .4em; padding-inline: .65rem; }
  .betraege { font-size: .875rem; }
  .betraege th, .betraege td { padding-inline: .25rem; }
}

@media (min-width: 34rem) {
  .marke-lang { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .marke-name { font-size: 1rem; }
}

@media (min-width: 40rem) {
  .feldgruppe { grid-template-columns: 8rem 1fr; }
  .angaben > div { grid-template-columns: 14rem 1fr; }
  .posten { grid-template-columns: 1fr 1fr; }
  .konditionen li { grid-template-columns: 1fr 1fr; }
  .regel > div { grid-template-columns: 10rem 1fr; }
  .faq .regel > div { grid-template-columns: 1fr; }
  .absicherung ul { grid-template-columns: 1fr 1fr; }
  .fall { grid-template-columns: 1fr 1fr; }
  .fall > div { grid-column: 1 / -1; }
}

@media (min-width: 48rem) {
  .kopf-nav li:not(.nav-preise) { display: list-item; }
  .kopf-leiste { gap: 1.5rem; }
  .ablauf { grid-template-columns: 1fr 1fr; }
  .formel { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); align-items: start; gap: 1.5rem; }
  .formel-plus { padding-top: 1rem; }
  .formel-zahl { font-size: clamp(3.25rem, 8.2vw, 6.5rem); }
  .kaufblock { grid-template-columns: 3fr 2fr; }
}

@media (min-width: 64rem) {
  /* Wide screens: photo across the hero, headline on the right as on the main site. */
  .hero {
    background:
      linear-gradient(var(--schleier), var(--schleier)),
      url("/assets/hero-1920.jpg") center / cover no-repeat,
      var(--nebel);
  }
  .hero-raster { grid-template-columns: 25rem minmax(0, 1fr); gap: 3.5rem; align-items: center; }
  .hero-text { grid-column: 2; grid-row: 1; }
  .beleg { grid-column: 1; grid-row: 1; }
  .posten { grid-template-columns: repeat(4, 1fr); }
  .stufen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .beispiel-raster { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; }
  .fall { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(13.5rem, 3fr); gap: 2rem; }
  .fall > div { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .knopf { transition: background-color .15s ease, transform .15s ease; }
  .knopf:hover { transform: translateY(-2px); }
  .beleg-zeilen > div { animation: zeile .45s ease both; }
  .beleg-zeilen > div:nth-child(2) { animation-delay: .08s; }
  .beleg-zeilen > div:nth-child(3) { animation-delay: .16s; }
  .beleg-zeilen > div:nth-child(4) { animation-delay: .24s; }
  .beleg-zeilen > div:nth-child(5) { animation-delay: .32s; }
  .beleg-zeilen > div:nth-child(6) { animation-delay: .4s; }
  .beleg-zeilen > div:nth-child(7) { animation-delay: .48s; }
  .beleg-zeilen > div:nth-child(8) { animation-delay: .56s; }
  @keyframes zeile { from { transform: translateY(.4rem); opacity: .25; } }
}

/* Agency: buttons never wider than their column, the header link stays on one line */
.agentur .knopf { max-width: 100%; }
.kopf-konto a { white-space: nowrap; }
