/* Kessler IT Solutions, Plugin "Kessler Startseite" 2.0.0
   Hell, große Grotesk (Mona Sans, lokal), der Monatsbericht als Blatt Papier.
   Farben aus der bisherigen Seite (Anthrazit und Tannengrün). Animiert wird nur transform und opacity.
   Ohne Scroll-Animationen im Browser oder bei "Bewegung reduzieren" steht alles fertig da. */

@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

/* ---------- Farben ---------- */
:root {
  color-scheme: light;
  --g: #F5F5F2;   /* Grund */
  --t: #1C1F1D;   /* Text */
  --t2: #5D625E;  /* Nebentext */
  --a: #2F6A4E;   /* Akzent, Links */
  --l: #DEDFD9;   /* Linien */
  --f: #FFFFFF;   /* Fläche, Blatt */
  --kb: #2F6A4E;  /* Knopf */
  --kt: #FFFFFF;
  --logo: #000000; /* Logo-Zeichen, im Dunkeln grau */
  --schatten: 28 31 29;
  --kopf-h: 5.25rem;
  --oben: 0px;
  --rand: clamp(1.25rem, 5vw, 4rem);
  --breite: 82.5rem;
  --weich: cubic-bezier(.16, .84, .3, 1);
}
.dunkel {
  --g: #202523; --t: #E9EDEA; --t2: #A9B1AC; --a: #7CC99B; --l: rgba(233, 237, 234, .16);
  --f: #2A302D; --kb: #5DBB85; --kt: #0F1A14; --schatten: 0 0 0; --logo: #A7A8AA;
  color-scheme: dark;
}
.weiss { --g: #FFFFFF; --f: #F5F5F2; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --g: #131614; --t: #E9EDEA; --t2: #9AA39D; --a: #7CC99B; --l: #2B312E;
  --f: #1B1F1D; --kb: #5DBB85; --kt: #0F1A14; --schatten: 0 0 0; --logo: #A7A8AA;
}
:root[data-theme="dark"] .dunkel { --g: #0D0F0E; --f: #171A18; --l: #252A27; }
:root[data-theme="dark"] .weiss { --g: #1B1F1D; --f: #131614; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; --g: #131614; --t: #E9EDEA; --t2: #9AA39D; --a: #7CC99B; --l: #2B312E; --f: #1B1F1D; --kb: #5DBB85; --kt: #0F1A14; --schatten: 0 0 0; --logo: #A7A8AA; }
  :root:not([data-theme]) .dunkel { --g: #0D0F0E; --f: #171A18; --l: #252A27; }
  :root:not([data-theme]) .weiss { --g: #1B1F1D; --f: #131614; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 1rem); }
body {
  margin: 0;
  background: var(--g);
  color: var(--t);
  font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 420;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 48em) { body { font-size: 1.125rem; } }
h1, h2, h3, h4 { margin: 0; font-weight: 760; letter-spacing: -.028em; line-height: 1.06; text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--t); color: var(--g); padding: .75rem 1rem; border-radius: 4px; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

main > section { background: var(--g); color: var(--t); }
.abschnitt { padding-block: clamp(5rem, 3.5rem + 7vw, 11rem); }
.abschnitt--eng { padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); }

/* Kleine Überschrift: ein Quadrat aus dem Logo, dann der Satz */
.kicker { display: flex; align-items: center; gap: .6em; font-size: 1rem; font-weight: 640; color: var(--a); margin-bottom: 1.1rem; letter-spacing: -.005em; }
.kicker::before { content: ""; width: .55em; height: .55em; background: currentColor; flex: none; }
h2 { font-size: clamp(2.125rem, 1.35rem + 3.1vw, 4.375rem); font-weight: 780; letter-spacing: -.038em; line-height: 1.02; max-width: 19ch; }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.5; max-width: 36em; letter-spacing: -.008em; }
.klein { font-size: .9375rem; color: var(--t2); margin-top: 1.25rem; max-width: 34em; }
.kopfzeile { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.hinweis { margin-top: 2.5rem; color: var(--t2); max-width: 46em; }
.pfeil-link { color: var(--a); font-weight: 640; text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid currentColor; }
.pfeil-link:hover { border-bottom-width: 3px; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .7rem 1.25rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 640; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--weich);
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }
.knopf--voll { background: var(--kb); color: var(--kt); }
.knopf--voll:hover { background: color-mix(in srgb, var(--kb) 88%, var(--t)); }
.knopf--rand { background: transparent; color: var(--t); border-color: color-mix(in srgb, var(--t) 28%, transparent); }
.knopf--rand:hover { border-color: var(--t); }
.knopf--gross { min-height: 3.25rem; padding: .9rem 1.6rem; font-size: 1.0625rem; }
.knopf--klein { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9375rem; }
.knopf--check { background: color-mix(in srgb, var(--a) 14%, transparent); color: var(--t); border-color: color-mix(in srgb, var(--a) 45%, transparent); }
.knopf--check svg { width: 1.05em; height: 1.05em; color: var(--a); stroke-width: 2; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: var(--oben); z-index: 50; background: var(--g); }
.admin-bar { --oben: 32px; }
@media (max-width: 782px) { .admin-bar { --oben: 46px; } }
@media (max-width: 600px) { .admin-bar { --oben: 0px; } }
.kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--l); }
.kopf__zeile { display: flex; align-items: center; gap: 1.5rem; height: var(--kopf-h); }
.logo { flex: none; display: block; padding-block: .25rem; }
.zeichen { display: block; width: auto; aspect-ratio: 623 / 593; fill: var(--logo); stroke: none; }
.logo .zeichen { height: 2.5rem; }
.menue { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.menue__haupt { display: flex; white-space: nowrap; gap: 1.6rem; font-weight: 560; font-size: 1rem; }
.menue__haupt a { text-decoration: none; padding-block: .4rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; }
.menue__haupt a:hover { background-size: 100% 1.5px; }
.menue__aktionen { display: flex; gap: .5rem; white-space: nowrap; }
.kopf__rechts { display: flex; align-items: center; gap: .5rem; }
.thema, .menue-knopf { font: inherit; color: var(--t); background: transparent; border: 1.5px solid var(--l); border-radius: 999px; cursor: pointer; }
.thema { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.thema svg { width: 1.15rem; height: 1.15rem; grid-area: 1 / 1; transition: transform .5s var(--weich), opacity .3s; }
.ic-sonne { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .ic-mond { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="dark"] .ic-sonne { opacity: 1; transform: none; }
.menue-knopf { display: none; align-items: center; gap: .55rem; height: 2.5rem; padding: 0 1rem; font-weight: 600; font-size: .9375rem; }
.menue-knopf__striche { width: 1rem; height: 10px; position: relative; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }

@media (max-width: 81.24em) {
  .menue-knopf { display: inline-flex; }
  .kopf__rechts { margin-left: auto; }
  .js .menue {
    position: fixed; left: 0; right: 0; top: calc(var(--kopf-h) + var(--oben)); bottom: 0;
    margin: 0; padding: 2rem var(--rand) 3rem; background: var(--g);
    flex-direction: column; align-items: stretch; gap: 2rem; overflow-y: auto;
    opacity: 0; transform: translateY(-.75rem); visibility: hidden;
    transition: opacity .3s, transform .4s var(--weich), visibility 0s .4s;
  }
  .js .kopf.offen .menue { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .4s var(--weich); }
  .menue__haupt { flex-direction: column; gap: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
  .menue__haupt a { display: block; padding-block: .75rem; border-bottom: 1px solid var(--l); background: none; }
  .menue__aktionen { flex-direction: column; gap: .75rem; }
  .menue__aktionen .knopf { width: 100%; min-height: 3rem; font-size: 1rem; }
  html:not(.js) .kopf__zeile { flex-wrap: wrap; height: auto; padding-block: 1rem; }
  html:not(.js) .menue { order: 3; width: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 1rem; }
  html:not(.js) .menue__haupt { font-size: 1.125rem; }
  html:not(.js) .menue-knopf { display: none; }
}
@media (max-width: 30em) { .logo .zeichen { height: 2.25rem; } :root { --kopf-h: 4.5rem; } }

/* ---------- Start ---------- */
.hero { padding-block: clamp(2.75rem, 1.5rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__titel { font-size: clamp(2.3rem, .9rem + 6.9vw, 7.75rem); font-weight: 820; letter-spacing: -.04em; line-height: .97; max-width: none; }
.zeile { display: block; }
.hero__titel .kicker { font-size: 1rem; font-weight: 640; letter-spacing: -.005em; line-height: 1.3; margin-bottom: clamp(1.1rem, .8rem + 1vw, 1.75rem); }
.hero__unten { display: grid; gap: 2rem; margin-top: clamp(2rem, 1rem + 3vw, 3.75rem); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 64em) {
  .hero__unten { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4rem; }
  .knoepfe { justify-content: flex-end; }
}
.fakten { display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--l); font-weight: 560; }
.fakten li, .enthalten li, .versprechen li { display: flex; gap: .55rem; align-items: flex-start; }
.fakten svg, .enthalten svg, .versprechen svg { width: 1.25em; height: 1.25em; flex: none; color: var(--a); stroke-width: 2.2; margin-top: .1em; }

/* ---------- Monatsbericht ---------- */
.bericht { padding-block: 1rem clamp(4rem, 3rem + 5vw, 8rem); }
.bericht__raster { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64em) { .bericht__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.bericht__raster > * { min-width: 0; }
.bericht__text h2 { max-width: 12ch; }
.bericht__text .lead { margin-top: 1.5rem; max-width: 24em; color: var(--t2); }
.bericht__tisch { width: 100%; perspective: 1700px; perspective-origin: 50% 0%; display: grid; justify-items: center; }
.blatt {
  width: min(100%, 33rem);
  aspect-ratio: 1 / 1.22;
  display: flex; flex-direction: column;
  background: var(--f);
  color: var(--t);
  border-radius: 6px;
  padding: clamp(1.25rem, .9rem + 1.6vw, 2.5rem);
  box-shadow: 0 1px 0 rgb(var(--schatten) / .05), 0 40px 70px -40px rgb(var(--schatten) / .45), 0 14px 28px -18px rgb(var(--schatten) / .25);
  transform-origin: 50% 85%;
  font-size: clamp(.875rem, .8rem + .3vw, 1rem);
}
.blatt__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--t); }
.blatt__kopf .zeichen { height: 2rem; }
.blatt__kopf div { display: grid; justify-items: end; gap: .3rem; }
.blatt__kopf strong { font-size: 1.15em; letter-spacing: -.015em; }
.blatt__marke { font-size: .8em; font-weight: 640; color: var(--a); border: 1.5px solid currentColor; border-radius: 999px; padding: .1em .65em; }
.blatt__tabelle { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.blatt__tabelle th, .blatt__tabelle td { padding: .95em 0; border-bottom: 1px solid var(--l); text-align: left; vertical-align: top; }
.blatt__tabelle th { font-weight: 640; }
.blatt__tabelle small { display: block; font-size: .85em; font-weight: 420; color: var(--t2); margin-top: .15em; }
.blatt__tabelle td { text-align: right; }
.blatt__wert { display: inline-flex; align-items: center; justify-content: flex-end; gap: .4em; font-weight: 600; color: var(--a); text-align: right; }
@media (min-width: 40em) { .blatt__wert { white-space: nowrap; } }
@media (max-width: 39.99em) { .blatt { aspect-ratio: auto; font-size: .8125rem; } .blatt__kopf .zeichen { height: 1.75rem; } .blatt__fuss { padding-top: 1.5rem; } }
.blatt__wert svg { width: 1.1em; height: 1.1em; stroke-width: 2.6; }
.blatt__fuss { margin-top: auto; padding-top: 1rem; font-size: .8em; color: var(--t2); }

/* ---------- Probleme (dunkel) ---------- */
.satz { padding-block: clamp(5rem, 3.5rem + 7vw, 10rem) 2rem; }
.satz__text { font-size: clamp(2.35rem, .9rem + 6.3vw, 7rem); font-weight: 820; letter-spacing: -.042em; line-height: .98; max-width: 13ch; }
.probleme__raster { display: grid; gap: 2.5rem; padding-block: 2rem clamp(5rem, 3.5rem + 7vw, 10rem); }
@media (min-width: 64em) { .probleme__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.probleme__raster .lead { color: var(--t2); }
.probleme__liste li { padding: 1.1rem 0 1.1rem 2.25rem; border-top: 1px solid var(--l); position: relative; font-size: 1.125rem; line-height: 1.45; }
.probleme__liste li:last-child { border-bottom: 1px solid var(--l); }
.probleme__liste li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .7rem; height: .7rem; border: 2px solid var(--a); }

/* ---------- Leistungen ---------- */
.kacheln { display: grid; gap: 1rem; }
@media (min-width: 40em) { .kacheln { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .kacheln { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.kachel {
  position: relative; background: var(--f); border: 1px solid var(--l); border-radius: 6px;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  display: flex; flex-direction: column;
  transition: transform .45s var(--weich);
}
.kachel::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--a); border-radius: 6px 6px 0 0; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--weich); }
.kachel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 30px 50px -30px rgb(var(--schatten) / .4); opacity: 0; transition: opacity .45s; pointer-events: none; }
@media (hover: hover) {
  .kachel:hover { transform: translateY(-6px); }
  .kachel:hover::before, .kachel:hover::after { transform: scaleX(1); opacity: 1; }
}
.kachel:focus-within::before { transform: scaleX(1); }
.kachel__icon svg { width: 2rem; height: 2rem; color: var(--a); stroke-width: 1.6; }
.kachel h3 { margin-top: 1.5rem; }
.kachel p { margin-top: .6rem; }
.kachel__stich { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .3rem; font-size: .9375rem; color: var(--t2); }
.kachel__stich li { padding-left: 1.1rem; position: relative; }
.kachel__stich li::before { content: ""; position: absolute; left: 0; top: .62em; width: .38rem; height: .38rem; background: var(--a); }

/* ---------- Betreuung (dunkel) ---------- */
.betreuung { display: grid; gap: 4rem; }
@media (min-width: 64em) { .betreuung { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 6rem; } }
.betreuung__text h2 { max-width: 15ch; }
.betreuung__text .lead { margin-top: 1.5rem; color: var(--t2); }
.enthalten { display: grid; gap: .8rem 2rem; margin-top: 2.5rem; }
@media (min-width: 40em) { .enthalten { grid-template-columns: 1fr 1fr; } }
.preis { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--l); color: var(--t2); font-size: .9375rem; }
.ablauf__titel { font-size: 1rem; font-weight: 640; color: var(--a); margin-bottom: 2rem; }
.ablauf__spur { position: relative; padding-left: 4rem; }
.ablauf__linie { position: absolute; left: 1.25rem; top: 1.25rem; bottom: 1.25rem; width: 2px; background: var(--l); }
.ablauf__linie::after { content: ""; position: absolute; inset: 0; background: var(--a); transform-origin: 50% 0; }
.ablauf__liste li { position: relative; padding-bottom: 2.75rem; }
.ablauf__liste li:last-child { padding-bottom: 0; }
.ablauf__nr { position: absolute; left: -4rem; top: -.2rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--g); border: 2px solid var(--a); color: var(--a); font-weight: 760; font-size: 1rem; }
.ablauf__liste h4 { font-size: 1.375rem; letter-spacing: -.02em; }
.ablauf__liste p { margin-top: .4rem; color: var(--t2); }

/* ---------- Branchen ---------- */
.branchen { border-top: 1px solid var(--l); }
.branche { position: relative; display: grid; gap: .5rem 3rem; padding: 1.75rem 0; border-bottom: 1px solid var(--l); }
@media (min-width: 56em) { .branche { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: baseline; padding: 2.25rem 0; } }
.branche h3 { font-size: clamp(1.625rem, 1.1rem + 2vw, 3rem); letter-spacing: -.035em; font-weight: 760; transition: transform .45s var(--weich); }
.branche p { color: var(--t2); max-width: 30em; }
.branche::before { content: ""; position: absolute; left: 0; top: 50%; width: .7rem; height: .7rem; margin-top: -.35rem; background: var(--a); transform: scale(0); transition: transform .45s var(--weich); }
@media (hover: hover) {
  .branche:hover h3 { transform: translateX(1.6rem); }
  .branche:hover::before { transform: scale(1); }
}

/* ---------- Über mich ---------- */
.ueber__kopf { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 64em) { .ueber__kopf { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; margin-top: clamp(4rem, 3rem + 4vw, 7rem); padding-top: 2.5rem; border-top: 1px solid var(--l); }
@media (min-width: 48em) { .zahlen { grid-template-columns: repeat(3, 1fr); column-gap: 3rem; } } /* Spalten wie bei .trio darunter */
.zahl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .2em; font-size: clamp(3rem, 2rem + 4vw, 5.75rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.zahl + p { margin-top: .75rem; color: var(--t2); max-width: 15em; }
.zahl__vor, .zahl__nach { font-size: .3em; font-weight: 640; letter-spacing: -.01em; color: var(--t2); }
.zaehler { display: inline-flex; }
.ziffer { display: inline-block; height: 1em; overflow: hidden; }
.ziffer > span { display: flex; flex-direction: column; transform: translateY(calc(var(--z) * -1em)); }
.ziffer i { font-style: normal; height: 1em; line-height: 1; }
.trio { display: grid; gap: 2rem; margin-top: clamp(4rem, 3rem + 4vw, 6rem); }
@media (min-width: 48em) { .trio { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.trio h3 { display: flex; align-items: center; gap: .6rem; }
.trio h3::before { content: ""; width: .6rem; height: .6rem; background: var(--a); }
.trio p { margin-top: .6rem; color: var(--t2); }

/* ---------- Kundenstimmen (dunkel) ---------- */
.stimmen { display: grid; gap: 1.25rem; }
@media (min-width: 56em) { .stimmen { grid-template-columns: repeat(3, 1fr); } }
.stimme { display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem; border-radius: 6px; background: var(--f); }
.sterne { color: var(--a); letter-spacing: .18em; font-size: 1rem; }
.stimme blockquote p { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.42; font-weight: 520; letter-spacing: -.012em; }
.stimme figcaption { margin-top: auto; color: var(--t2); font-weight: 600; }

/* ---------- IT-Check ---------- */
.zwei { display: grid; gap: 3rem; }
@media (min-width: 64em) { .zwei { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; } }
.zwei .lead { margin-top: 1.5rem; }
.check { position: relative; background: var(--f); border: 1px solid var(--l); border-radius: 6px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); overflow: hidden; }
.check__balken { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--l); }
.check__balken span { position: absolute; inset: 0; background: var(--a); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--weich); }
.check__fragen { display: grid; gap: 1.5rem; }
.check.aktiv .check__fragen li { display: none; }
.check.aktiv .check__fragen li.dran { display: block; animation: frage .45s var(--weich); }
@keyframes frage { from { opacity: 0; transform: translateX(1rem); } }
.check__nr { display: block; font-size: .9375rem; font-weight: 640; color: var(--a); margin-bottom: .75rem; }
.check__fragen h3 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); letter-spacing: -.025em; line-height: 1.2; }
.check__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; align-items: center; }
.check__knoepfe .knopf { min-width: 7rem; min-height: 3rem; }
.check__zurueck { margin-left: auto; font: inherit; font-size: .9375rem; color: var(--t2); background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: .5rem; }
.check__ergebnis { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; }
.ampel { display: grid; gap: .45rem; align-content: start; padding: .6rem; border-radius: 999px; background: var(--g); }
.ampel i { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--l); }
.check__ergebnis.rot .rot { background: #C2443D; }
.check__ergebnis.gelb .gelb { background: #D9A42E; }
.check__ergebnis.gruen .gruen { background: #3E8A62; }
.check__punkte { color: var(--t2); }
.check__punkte strong { font-size: 2.5rem; color: var(--t); letter-spacing: -.04em; }
.check__ergebnis h3 { margin-top: .5rem; font-size: 1.625rem; }
.check__ergebnis p { margin-top: .5rem; }
.check__offen { margin-top: 1rem; display: grid; gap: .35rem; font-size: .9375rem; color: var(--t2); }
.check__offen li { padding-left: 1.1rem; position: relative; }
.check__offen li::before { content: ""; position: absolute; left: 0; top: .6em; width: .4rem; height: .4rem; border: 1.5px solid currentColor; }
.check__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
html:not(.js) .check__fragen { list-style: decimal; padding-left: 1.25rem; }

/* ---------- Spam-Check ---------- */
.spam { display: grid; gap: 1.75rem; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: 6px; background: var(--f); border: 1px solid var(--l); }
@media (min-width: 64em) { .spam { grid-template-columns: auto minmax(0, 1fr) auto; gap: 3rem; align-items: center; } }
.spam__icon svg { width: 3.5rem; height: 3.5rem; color: var(--a); stroke-width: 1.4; }
.spam h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); max-width: 22ch; }
.spam .lead { margin-top: 1rem; font-size: 1.125rem; }
.spam__code { margin-top: 1rem; padding: .75rem 1rem; border-radius: 4px; background: color-mix(in srgb, var(--a) 12%, transparent); max-width: 36em; }
.spam__code a { color: var(--a); font-weight: 640; }
.spam__tipps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font-size: .9375rem; color: var(--t2); }
.spam__tipps li::before { content: "✕"; color: var(--a); font-weight: 700; margin-right: .45em; }

/* ---------- Fragen ---------- */
.faq { border-top: 1px solid var(--l); }
.faq details { border-bottom: 1px solid var(--l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); font-weight: 660; letter-spacing: -.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; width: 1.75rem; height: 1.75rem; position: relative; border-radius: 50%; border: 1.5px solid var(--l); transition: transform .4s var(--weich); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1.5px; margin: -.75px 0 0 -.35rem; background: currentColor; }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p { padding: 0 3rem 1.75rem 0; color: var(--t2); max-width: 40em; }

/* ---------- Kontakt (dunkel) ---------- */
.kontakt { display: grid; gap: 3.5rem; }
@media (min-width: 64em) { .kontakt { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6rem; } }
.kontakt__person { margin-top: 1.5rem; font-size: 1.125rem; color: var(--t2); }
.daten { display: grid; gap: 1.25rem; margin-top: 2rem; }
.daten dt { font-size: .9375rem; color: var(--t2); }
.daten dd { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 640; letter-spacing: -.02em; line-height: 1.35; overflow-wrap: anywhere; }
.daten dd a { text-decoration: none; }
.daten dd a:hover { text-decoration: underline; }
.daten__route { display: inline-block; margin-top: .35rem; font-size: 1rem; font-weight: 600; color: var(--a); text-decoration: underline !important; }
.versprechen { display: grid; gap: .6rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--l); }
.formular { display: grid; gap: 1.1rem; align-content: start; }
.formular__zwei { display: grid; gap: 1.1rem; }
@media (min-width: 36em) { .formular__zwei { grid-template-columns: 1fr 1fr; } }
.formular label { display: grid; gap: .4rem; font-size: .9375rem; font-weight: 600; }
.formular input, .formular select, .formular textarea {
  font: inherit; font-size: 1.0625rem; font-weight: 420; color: var(--t);
  background: var(--f); border: 1.5px solid var(--l); border-radius: 6px; padding: .8rem .9rem; width: 100%;
}
.formular textarea { resize: vertical; min-height: 8rem; }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--a); outline-offset: 1px; border-color: var(--a); }
.formular__ok { display: flex !important; grid-template-columns: none; gap: .75rem; align-items: flex-start; font-weight: 420 !important; color: var(--t2); }
.formular__ok input { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .15rem; accent-color: var(--a); }
.formular__ok a { color: var(--t); }
.formular .knopf { justify-self: start; margin-top: .5rem; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fuß ---------- */
.fuss { background: var(--g); color: var(--t2); padding-block: 3.5rem; border-top: 1px solid var(--l); font-size: .9375rem; }
.fuss__raster { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56em) { .fuss__raster { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.fuss .zeichen { height: 2.25rem; }
.fuss ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.fuss a { color: var(--t); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }

/* ---------- Fernwartung ---------- */
.fw { width: min(100% - 2rem, 34rem); border: 0; border-radius: 8px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--f); color: var(--t); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .5); }
.fw::backdrop { background: rgb(20 23 21 / .55); }
.fw[open] { animation: fw .4s var(--weich); }
@keyframes fw { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
.fw h2 { font-size: 1.75rem; max-width: none; }
.fw__zu { position: absolute; right: .75rem; top: .75rem; }
.fw__zu button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1.5px solid var(--l); background: transparent; color: var(--t); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.fw__schritte { counter-reset: s; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.fw__schritte li { counter-increment: s; display: grid; gap: .25rem; padding-left: 2.75rem; position: relative; }
.fw__schritte li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: var(--f); font-weight: 760; font-size: .9375rem; }
.fw__schritte span { color: var(--t2); }
.fw__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

/* =========================================================
   Bewegung: nur wenn erlaubt. Ohne Unterstützung steht alles fertig da.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Zahlen zählen hoch, sobald sie sichtbar sind (Klasse kommt per JavaScript, sonst steht die Zahl fertig da) */
  .zaehlen .zaehler:not(.los) .ziffer > span { transform: translateY(0); }
  .zaehlen .zaehler.los .ziffer > span { transition: transform 1.8s cubic-bezier(.22, .8, .16, 1); }
  .zaehlen .zaehler.los .ziffer:nth-child(2) > span { transition-duration: 2.1s; }
  .zaehlen .zaehler.los .ziffer:nth-child(3) > span { transition-duration: 2.3s; }
  .zaehlen .zaehler.los .ziffer:nth-child(4) > span { transition-duration: 2.5s; }
  .auf { animation: auf 1s var(--weich) both; animation-delay: calc(var(--d, 0) * 85ms + 80ms); }
  @keyframes auf { from { opacity: 0; transform: translateY(.55em); } }
  .hero__titel .zeile.auf { animation-duration: 1.15s; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Kopflinie erst beim Scrollen */
    .kopf::after { animation: einblenden linear both; animation-timeline: scroll(root); animation-range: 0 8rem; }
    @keyframes einblenden { from { opacity: 0; } }

    /* Monatsbericht: Blatt richtet sich auf und bleibt kurz stehen. Nur wo die Szene ganz auf
       den Bildschirm passt (breit und hoch genug), auf dem Handy steht das Blatt einfach da.
       Die Werte mit den Haken sind immer sichtbar. */
    @media (min-width: 64em) and (min-height: 46em) {
      .bericht { view-timeline: --bericht block; height: 170vh; padding: 0; }
      .bericht__buehne { position: sticky; top: calc(var(--kopf-h) + var(--oben)); height: calc(100vh - var(--kopf-h) - var(--oben)); display: flex; align-items: safe center; }
      .blatt { animation: aufrichten linear both; animation-timeline: --bericht; animation-range: entry 0% entry 100%; }
      .bericht__text { animation: einblenden linear both; animation-timeline: --bericht; animation-range: entry 55% entry 100%; }
    }
    @keyframes aufrichten {
      from { transform: translateY(14%) rotateX(64deg) scale(.86); }
      60% { transform: translateY(4%) rotateX(22deg) scale(.95); }
      to { transform: none; }
    }

    /* Ablauf: Linie füllt sich, Schritte rücken nach (Text bleibt immer voll lesbar) */
    .ablauf__spur { view-timeline: --ablauf block; }
    .ablauf__linie::after { animation: fuellen linear both; animation-timeline: --ablauf; animation-range: cover 25% cover 70%; }
    @keyframes fuellen { from { transform: scaleY(0); } }
    .ablauf__liste li { animation: schritt linear both; animation-timeline: --ablauf; animation-range: cover calc(22% + var(--i) * 12%) cover calc(30% + var(--i) * 12%); }
    @keyframes schritt { from { transform: translateX(.75rem); } }


    /* Leichte Parallaxe: die Zahlen bei „Über mich“ ziehen unterschiedlich schnell mit */
    .zahlen li { animation: parallaxe linear both; animation-timeline: view(); animation-range: cover; }
    .zahlen li:nth-child(1) { --p: 12px; } .zahlen li:nth-child(2) { --p: 30px; } .zahlen li:nth-child(3) { --p: 18px; }
    @keyframes parallaxe { from { transform: translateY(var(--p)); } to { transform: translateY(calc(var(--p) * -1)); } }

  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- Unterseiten ---------- */
.seitenkopf { padding-block: clamp(3rem, 2rem + 4vw, 6.5rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.seitenkopf__titel { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 6rem); font-weight: 820; letter-spacing: -.04em; line-height: .98; max-width: 16ch; overflow-wrap: break-word; hyphens: manual; }
.inhaltsseite .seitenkopf__titel { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem); }
.seitenkopf .lead { margin-top: 1.5rem; color: var(--t2); }
.abschnitt--oben { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

.sprungmarken ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.sprungmarken a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1.05rem; border: 1.5px solid var(--l); border-radius: 999px; text-decoration: none; font-weight: 560; font-size: .9375rem; }
.sprungmarken a:hover { border-color: var(--t); }

.leistungsliste { border-top: 1px solid var(--l); }
.leistung { display: grid; gap: 1.75rem 4rem; padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); border-bottom: 1px solid var(--l); scroll-margin-top: calc(var(--kopf-h) + var(--oben) + 1rem); }
@media (min-width: 64em) { .leistung { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
.leistung__icon svg { width: 2.25rem; height: 2.25rem; color: var(--a); stroke-width: 1.6; }
.leistung h2 { margin-top: 1.25rem; font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.25rem); }
.leistung .lead { margin-top: 1rem; color: var(--t2); }
.leistung .enthalten { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.leistung .enthalten li { padding-block: .8rem; border-bottom: 1px solid var(--l); }
.leistung .enthalten li:first-child { border-top: 1px solid var(--l); }
@media (min-width: 64em) { .leistung .enthalten { margin-top: 3.5rem; } }

.cta { display: grid; gap: 2rem 5rem; }
@media (min-width: 64em) { .cta { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.cta__rechts .lead { color: var(--t2); }
.cta__rechts .lead + .lead { margin-top: 1rem; }
.cta .knoepfe { margin-top: 2rem; }

.kundenraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: 1.75rem 1rem; }
.kundenraster a { display: block; text-decoration: none; }
.kundenlogo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.25rem; background: #FFFFFF; border: 1px solid var(--l); border-radius: 6px; transition: transform .45s var(--weich); }
.kundenlogo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.kundenname { display: block; margin-top: .65rem; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
@media (hover: hover) { .kundenraster a:hover .kundenlogo { transform: translateY(-4px); } }

/* Text aus WordPress: Rechtstexte, AGB, Kundenbereich */
.prose { padding-block: .5rem clamp(4rem, 3rem + 4vw, 7rem); }
.prose > * { max-width: 46rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); margin-top: 2.2em; max-width: 30ch; }
.prose h3 { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); margin-top: 1.8em; }
.prose h4 { font-size: 1.0625rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--a); }
.prose a { color: var(--a); text-decoration: underline; overflow-wrap: anywhere; }
.prose strong { font-weight: 660; }
.prose img { height: auto; border-radius: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.prose th, .prose td { padding: .65em .5em; border-bottom: 1px solid var(--l); text-align: left; vertical-align: top; }
.prose blockquote { border-left: 3px solid var(--a); padding-left: 1.1rem; color: var(--t2); }
.prose hr { border: 0; border-top: 1px solid var(--l); margin-block: 2.5rem; }
.prose label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; }
.prose input[type="text"], .prose input[type="email"], .prose input[type="password"], .prose input[type="tel"], .prose input[type="url"], .prose input[type="number"], .prose select, .prose textarea {
  font: inherit; font-size: 1.0625rem; color: var(--t); background: var(--f);
  border: 1.5px solid var(--l); border-radius: 6px; padding: .75rem .9rem; width: 100%; max-width: 30rem;
}
.prose input[type="checkbox"], .prose input[type="radio"] { accent-color: var(--a); width: 1.15rem; height: 1.15rem; vertical-align: -.15em; }
.prose input[type="submit"], .prose button, .prose .button, .prose .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.35rem;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--kb); color: var(--kt);
  font: inherit; font-weight: 640; font-size: 1rem; text-decoration: none; cursor: pointer;
}
/* Mit Elementor gebaute Seiten: eigener Inhalt in der Breite der Seite, bündig mit Kopf und Fuß */
.kst-inhalt-breit { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--rand) clamp(3rem, 2rem + 3vw, 5rem); }

/* ---------- Fremde Inhalte: Block-Editor, Elementor, Ultimate Member ----------
   Auf Inhaltsseiten (AGB, Kundenbereich, weitere WordPress-Seiten) bringen Elementor und
   Plugins eigene Schriften und Farben mit. Hier wird alles auf Schrift und Farben der Seite
   gezogen, damit Hell und Dunkel überall stimmen. Kopf und Fuß bleiben unberührt. */
.kst { --schrift: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
body.kst, body.kst[class*="elementor-kit-"] {
  --e-global-color-primary: var(--t); --e-global-color-secondary: var(--t);
  --e-global-color-text: var(--t); --e-global-color-accent: var(--a);
}
.kst .seitenkopf__titel { font-family: var(--schrift); color: var(--t); }
.kst-inhalt :is(h1, h2, h3, h4, h5, h6) { font-family: var(--schrift) !important; color: var(--t) !important; letter-spacing: -.022em; overflow-wrap: break-word; hyphens: auto; }
.kst-inhalt :is(p, li, td, th, dd, dt, label, strong, em, b, span, figcaption, blockquote, input, select, textarea):not([class*="icon"]):not([class*="fa-"]) { font-family: var(--schrift) !important; }
.kst-inhalt :is(p, li, td, th, dd, dt, label, strong, em, b, figcaption) { color: var(--t) !important; }
.kst-inhalt a, .kst-inhalt a :is(span, strong, em, b) { color: var(--a) !important; }
.kst-inhalt :is(table) { border-collapse: collapse; width: 100%; }
.kst-inhalt hr { border: 0; border-top: 1px solid var(--l); }
.kst-inhalt mark { background: transparent !important; color: inherit !important; }

/* Elementor: Flächen durchsichtig, Texte und Trenner in den Farben der Seite */
.kst-inhalt :is(.elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-widget-container, .e-con, .e-con-inner, .elementor-background-overlay) { background-color: transparent !important; background-image: none !important; }
.kst-inhalt [style*="background"] { background-color: transparent !important; }
.kst-inhalt :is(.elementor-heading-title, .elementor-image-box-title, .elementor-icon-box-title, .elementor-image-box-description, .elementor-icon-box-description, .elementor-widget-text-editor, .widget-image-caption) { color: var(--t) !important; font-family: var(--schrift) !important; }
.kst-inhalt :is(.elementor-image-box-description, .elementor-icon-box-description, .widget-image-caption) { color: var(--t2) !important; }
.kst-inhalt .elementor-divider-separator { border-color: var(--l) !important; }
.kst-inhalt-breit > .elementor { max-width: var(--breite); margin-inline: auto; }

/* Formularfelder (Ultimate Member, Kontaktformulare, Block-Editor) */
.kst-inhalt :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), textarea, select) {
  font-size: 1.0625rem !important; color: var(--t) !important; background: var(--f) !important;
  border: 1.5px solid var(--l) !important; border-radius: 6px !important; padding: .75rem .9rem !important;
  width: 100%; max-width: 100%; height: auto !important; line-height: 1.4 !important; box-shadow: none !important;
}
.kst-inhalt :is(input, textarea, select):focus-visible { outline: 3px solid var(--a) !important; outline-offset: 2px; border-color: var(--a) !important; }
.kst-inhalt input:is([type="checkbox"], [type="radio"]) { accent-color: var(--a); }

/* Knöpfe: grün und rund wie auf der restlichen Seite */
body.kst .kst-inhalt :is(a.um-button, input[type="submit"].um-button, .um a.um-button, .wp-block-button__link, a.elementor-button, a.button, button, input[type="submit"], input[type="button"]) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  background: var(--kb) !important; color: var(--kt) !important; border: 1.5px solid transparent !important;
  border-radius: 999px !important; padding: .7rem 1.35rem !important; box-shadow: none !important;
  font: 640 1rem/1.2 var(--schrift) !important; text-decoration: none !important; text-align: center; cursor: pointer;
  transition: background-color .2s ease;
}
body.kst .kst-inhalt :is(a.um-button, .wp-block-button__link, a.elementor-button, a.button) :is(span, strong, em) { color: var(--kt) !important; }
body.kst .kst-inhalt :is(a.um-button, input[type="submit"].um-button, .wp-block-button__link, a.elementor-button, a.button, button, input[type="submit"], input[type="button"]):hover { background: color-mix(in srgb, var(--kb) 88%, var(--t)) !important; }
body.kst .kst-inhalt :is(.um-button.um-alt, a.um-alt) { background: transparent !important; color: var(--t) !important; border-color: color-mix(in srgb, var(--t) 28%, transparent) !important; }

/* Ultimate Member: Anmeldung und Konto als ruhige Karte */
.kst-inhalt .um, .kst-inhalt .um * { color: var(--t); }
.kst-inhalt :is(.um-account-side, .um-account-main, .um-profile-body) { background: transparent !important; }
.kst-inhalt :is(.um-field-label label, .um-field-label) { font-weight: 600 !important; font-size: .9375rem !important; }
.kst-inhalt :is(.um-link-alt, .um-misc-ul li a, .um a.um-link) { color: var(--a) !important; }
.kst-login { display: grid; justify-items: center; gap: 1.25rem; padding-top: 0; }
.wrap.kst-login > * { max-width: none; }
.kst-login > * { width: 100%; max-width: 28rem !important; margin-inline: auto; }
.kst-login :is(.um, .um-form) { max-width: 28rem !important; width: 100% !important; margin: 0 auto !important; }
.kst-login > .um, .kst-login > .wp-block-group, .kst-login .um-account, .kst-login .um-login, .kst-login .um-profile {
  background: var(--f) !important; border: 1px solid var(--l) !important; border-radius: 8px !important;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem) !important;
  box-shadow: 0 30px 60px -40px rgb(var(--schatten) / .35);
}
.kst-login .um-misc-with-img { border-bottom: 1px solid var(--l) !important; padding-bottom: 1rem !important; margin-bottom: 1rem !important; }
.kst-login .um-misc-img img { border-radius: 50%; }
.kst-login :is(.um-misc-ul, ul) { list-style: none !important; padding: 0 !important; margin: 0 0 1.25rem !important; display: grid; gap: .25rem; justify-items: center; }
.kst-login :is(.wp-block-buttons, .um-col-alt, .um-center) { display: flex; justify-content: center !important; }
.kst-login .um-field { padding-top: 1rem !important; }

/* ---------- Cookie-Banner (Complianz) in den Farben der Seite ----------
   Complianz legt seine Farben als Variablen auf :root. Hier stehen sie direkt am Banner,
   damit sie gewinnen, egal in welcher Reihenfolge die Dateien laden. Hell und Dunkel
   folgen automatisch den Farben der Seite. Akzeptieren und Ablehnen sind gleich stark. */
body.kst .cmplz-cookiebanner, body.kst #cmplz-manage-consent .cmplz-manage-consent {
  --cmplz_banner_background_color: var(--f);
  --cmplz_banner_border_color: var(--l);
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_radius: 8px;
  --cmplz_text_color: var(--t);
  --cmplz_hyperlink_color: var(--t);
  --cmplz_category_header_always_active_color: var(--a);
  --cmplz_button_accept_background_color: var(--kb);
  --cmplz_button_accept_border_color: var(--kb);
  --cmplz_button_accept_text_color: var(--kt);
  --cmplz_button_deny_background_color: var(--kb);
  --cmplz_button_deny_border_color: var(--kb);
  --cmplz_button_deny_text_color: var(--kt);
  --cmplz_button_settings_background_color: transparent;
  --cmplz_button_settings_border_color: color-mix(in srgb, var(--t) 28%, transparent);
  --cmplz_button_settings_text_color: var(--t);
  --cmplz_button_border_radius: 999px;
  --cmplz_slider_active_color: var(--a);
  --cmplz_slider_inactive_color: var(--t2);
  --cmplz_slider_bullet_color: var(--f);
  font-family: var(--schrift);
}
body.kst .cmplz-cookiebanner, body.kst .cmplz-cookiebanner:hover { box-shadow: 0 24px 60px -24px rgb(var(--schatten) / .45); }
body.kst .cmplz-cookiebanner .cmplz-title { font-weight: 700; letter-spacing: -.01em; }
body.kst .cmplz-cookiebanner .cmplz-btn, body.kst #cmplz-manage-consent .cmplz-manage-consent { font-family: inherit; font-weight: 640; letter-spacing: -.005em; }
body.kst .cmplz-cookiebanner .cmplz-btn:is(.cmplz-accept, .cmplz-deny):hover {
  --cmplz_button_accept_background_color: color-mix(in srgb, var(--kb) 88%, var(--t));
  --cmplz_button_deny_background_color: color-mix(in srgb, var(--kb) 88%, var(--t));
}
body.kst .cmplz-cookiebanner .cmplz-btn:is(.cmplz-view-preferences, .cmplz-save-preferences, .cmplz-manage-options):hover { --cmplz_button_settings_border_color: var(--t); }
body.kst .cmplz-cookiebanner .cmplz-categories .cmplz-category { background-color: color-mix(in srgb, var(--t) 5%, transparent); border-radius: 6px; }
body.kst .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus + .cmplz-label::before { box-shadow: 0 0 0 2px var(--f), 0 0 0 4px var(--a); }
body.kst :is(.cmplz-cookiebanner, #cmplz-manage-consent) svg { fill: currentColor; stroke: none; }

/* Rückmeldung nach dem Absenden des Formulars */
.meldung { padding: .9rem 1.1rem; border-radius: 6px; border: 1.5px solid; font-weight: 560; line-height: 1.45; }
.meldung--ok { border-color: var(--a); background: color-mix(in srgb, var(--a) 14%, transparent); }
.meldung--fehler { border-color: #E07A68; background: color-mix(in srgb, #E07A68 16%, transparent); }

/* Drucken: nur der Inhalt, schwarz auf weiß */
@media print {
  .kopf, .fuss, .fw, .skip, .sprungmarken, .knoepfe, .formular, .check { display: none !important; }
  :root, .dunkel, .weiss { --g: #FFFFFF; --t: #000000; --t2: #333333; --a: #000000; --l: #BBBBBB; --f: #FFFFFF; --logo: #000000; }
  body { font-size: 11pt; }
  .abschnitt, .seitenkopf { padding-block: 1rem; }
  .bericht { height: auto !important; }
}
