/* geckIT Startseite, Entwurf E: nur noch die Abschnitte der Startseite.
   Tokens, Grundstile, Knöpfe, Ablauf, Aufruf, Fragen und Kontaktformular stehen in
   /assets/basis/basis.css und werden vorher geladen. */

/* Tokens, Grundstile, Knöpfe: stehen seit 13.11.2026 in /assets/basis/basis.css */

/* Abschnitte im Wechsel: Automatisierung, Leistungen, Über mich und Fragen liegen auf
   einer leichten Mint-Fläche über die ganze Breite, die übrigen auf dem Grund der Seite.
   Abschnitt vor und nach einer Fläche bekommen Luft bis zur Kante. */

main > .processes,
main > .services-stage,
main > .me,
main > .faq {
  padding-block: calc(var(--section) * 0.8);
  background: #ebf4ef;
}

main > section:has(+ .processes, + .services-stage, + .me, + .faq) {
  padding-bottom: calc(var(--section) * 0.55);
}

main > :is(.processes, .services-stage, .me, .faq) + section {
  padding-top: calc(var(--section) * 0.8);
}

/* Einstieg --------------------------------------------------------- */

.hero {
  /* die Navbar schwebt fest oben (16 px Abstand + 68 px Höhe) */
  padding-top: 104px;
}

@media (max-width: 639px) {
  .hero {
    padding-top: 86px;
  }
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 420px);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(12px, 1.4vw, 16px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-copy {
  /* Text liegt über der Bildfläche, falls ein Wort bei vergrößerten Abständen hineinragt */
  position: relative;
  z-index: 1;
  /* die H1 richtet ihre Schriftgröße an der Breite dieser Spalte aus (cqi) */
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 64px) 0 clamp(28px, 4.5vw, 64px) clamp(16px, 4vw, 56px);
}

.hero h1 {
  /* nie breiter als die Textspalte: „Digitalisierung und“ ist 8,22-mal so breit wie die
     Schriftgröße. Die erste Zeile rechnet die Spaltenbreite für Browser ohne
     Container-Einheiten aus der Fensterbreite, die zweite misst sie direkt. */
  font-size: min(clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem), calc((62vw - 140px) / 8.4), 77px);
  font-size: min(clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem), 11.9cqi);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

/* „aus Detmold“ steht kleiner in einer eigenen Zeile unter den beiden Schlagwörtern */

.hero h1 .h1-ort {
  display: block;
  margin-top: 0.22em;
  font-size: 0.62em;
}

/* Schlagwörter der H1 als Aurora-Text: ein Verlauf aus Grün, Smaragd, Petrol und
   Tiefgrün wandert langsam durch die Buchstaben. Jeder Ton hat auf Weiß mindestens 4:1.
   Nach Aurora Text von Magic UI (MIT, Copyright (c) Magic UI), als reines CSS neu
   geschrieben; die Wörter bleiben normaler Text der H1. */

.hero h1 .hl {
  color: var(--green);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hl {
    /* etwas Rand, sonst schneidet Safari die Kanten der Buchstaben ab */
    margin-inline: -0.04em;
    padding-inline: 0.04em;
    background-image: linear-gradient(100deg, #007856, #008f68, #0a7e94, #004b34, #007856);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero h1 .hl::selection {
    -webkit-text-fill-color: var(--ink);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .hl {
    animation: aurora 14s ease-in-out infinite alternate;
  }

  /* das zweite Wort läuft versetzt, damit beide nie gleich aussehen */
  .hero h1 .hl ~ .hl {
    animation-delay: -5s;
  }

  /* außerhalb des Bildes steht der Verlauf still (Klasse setzt main.js) */
  .is-aus-sicht .hl {
    animation-play-state: paused;
  }
}

@keyframes aurora {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

/* erzwungene Farben und Druck: einfarbig, sonst bliebe der Text unsichtbar */

@media (forced-colors: active), print {
  .hero h1 .hl {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

.hero-lead {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.5;
  text-wrap: balance;
}

.hero-text {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Bildfläche: oben die Szene mit GecKI, darunter die Karte mit Foto und Name */

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* oben, rechts und unten gleich viel Luft zum Kartenrand */
  margin: clamp(8px, 2vw, 32px) clamp(8px, 2vw, 32px) clamp(8px, 2vw, 32px) 0;
  aspect-ratio: 4 / 5;
  padding: clamp(10px, 1vw, 14px);
  border-radius: calc(var(--r-xl) - 10px);
  background: var(--tint);
}

.hero-person {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 16px);
  margin: 0;
  padding: 10px 14px 10px 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: 0 8px 24px -14px oklch(20% 0.02 170 / 0.3);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.hero-person img {
  flex: none;
  width: clamp(64px, 7.4vw, 104px);
  aspect-ratio: 1;
  border-radius: 10px;
}

.hero-person figcaption {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hero-person span {
  color: var(--ink-3);
  font-size: 0.875rem;
  text-wrap: balance;
  hyphens: auto;
}

.hero-scene {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
}

/* Technologien ----------------------------------------------------- */

.tech {
  padding-top: clamp(56px, 7vw, 88px);
}

.tech-title {
  margin-bottom: 24px;
  color: var(--ink-3);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tech-list li {
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

/* Logo vor jedem Eintrag: Marken aus Simple Icons (CC0), Technologien ohne Logo dort
   als Icon aus Phosphor (MIT). Beides liegt in /assets/start/tech-logos.svg. */

.tech-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tech-icon {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  fill: currentColor;
}

.tech-icon + .tech-icon {
  margin-left: -3px;
}

.ti-shopify {
  color: #7AB55C;
}

.ti-graphql {
  color: #E10098;
}

.ti-html5 {
  color: #E34F26;
}

.ti-css {
  color: #663399;
}

.ti-tailwind {
  color: #06B6D4;
}

.ti-javascript {
  color: #F7DF1E;
}

.ti-typescript {
  color: #3178C6;
}

.ti-nodejs {
  color: #5FA04E;
}

.ti-astro {
  color: #BC52EE;
}

.ti-vue {
  color: #4FC08D;
}

.ti-nextjs {
  color: #000000;
}

.ti-webcomponents {
  color: #29ABE2;
}

.ti-php {
  color: #777BB4;
}

.ti-python {
  color: #3776AB;
}

.ti-fastapi {
  color: #009688;
}

.ti-postgresql {
  color: #4169E1;
}

.ti-supabase {
  color: #3FCF8E;
}

.ti-sqlite {
  color: #003B57;
}

.ti-n8n {
  color: #EA4B71;
}

.ti-claude {
  color: #D97757;
}

.ti-ollama {
  color: #000000;
}

.ti-linux {
  color: #FCC624;
}

.ti-docker {
  color: #2496ED;
}

.ti-proxmox {
  color: #E57000;
}

.ti-oauth {
  color: #0F1613;
}

.ti-pgvector {
  color: #4169E1;
}

.ti-openai {
  color: #0F1613;
}

.ti-rag {
  color: #007856;
}

.ti-m365 {
  color: #0078D4;
}

.ti-windows {
  color: #0078D4;
}

.ti-powershell {
  color: #5391FE;
}

/* Eintrag, dessen Logo in der Kugel gerade vorn steht */

.tech-list li.is-aktiv {
  border-color: var(--tint-strong);
  background: var(--tint);
  color: var(--green-ink);
}

/* Logo-Kugel: die Technologien der Liste als drehbare Kugel aus Logos.
   Nach Icon Cloud von Magic UI (MIT, Copyright (c) Magic UI), für statisches HTML neu
   geschrieben. Ohne JavaScript entfällt sie, die Liste steht dann mittig wie zuvor. */

.tech-wolke {
  display: none;
}

.js .tech-wolke {
  position: relative;
  display: block;
  width: min(66vw, 250px);
  margin: 0 auto 12px;
}

.tech-kugel {
  --logo: 36px;
  position: relative;
  aspect-ratio: 1;
  cursor: grab;
  /* senkrechtes Wischen scrollt weiter die Seite, waagerechtes dreht die Kugel */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.tech-kugel.is-gezogen {
  cursor: grabbing;
}

.tech-kugel::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: var(--tint);
}

.tech-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--logo);
  height: var(--logo);
  margin: calc(var(--logo) / -2) 0 0 calc(var(--logo) / -2);
  color: var(--ink);
  cursor: pointer;
  will-change: transform, opacity;
  transition: color 0.3s var(--ease);
}

.tech-logo svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  pointer-events: none;
}

.tech-logo.is-aktiv {
  color: var(--green);
}

/* Variante mit Markenfarben: data-farben="marke" an .tech-wolke */

.tech-wolke[data-farben="marke"] .tech-kugel::before {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tech-wolke[data-farben="marke"] .tech-logo,
.tech-wolke[data-farben="marke"] .tech-logo.is-aktiv {
  color: var(--marke, var(--ink));
}

.tech-name {
  height: 1.5em;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

/* Anhalten: klein und leise unten links, in der Zeile mit dem Namen */

.tech-pause {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  opacity: 0.45;
  cursor: pointer;
  transition:
    opacity 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.tech-pause:hover,
.tech-pause:focus-visible {
  background: var(--tint);
  opacity: 1;
}

.tech-pause[hidden] {
  display: none;
}

/* zwei Balken für „anhalten“, ein Dreieck für „weiterdrehen“ */

.tech-pause::before {
  content: "";
  width: 8px;
  height: 10px;
  border-inline: 2px solid var(--ink-2);
}

.tech-pause[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-block: 5px solid transparent;
  border-right: 0;
  border-left: 8px solid var(--ink-2);
}

@media (max-width: 860px) {
  .tech-pause {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow-card);
    opacity: 0.8;
  }
}

@media (min-width: 861px) {
  .js .tech-shell {
    display: grid;
    grid-template-columns: clamp(220px, 23vw, 300px) minmax(0, 1fr);
    grid-template-rows: 1fr auto 1fr;
    grid-template-areas:
      "wolke titel"
      "wolke liste"
      "wolke mehr";
    column-gap: clamp(32px, 5vw, 72px);
  }

  .js .tech-wolke {
    grid-area: wolke;
    width: 100%;
    margin: 0;
  }

  .js .tech-kugel {
    --logo: 42px;
  }

  .js .tech-title {
    grid-area: titel;
    align-self: end;
    color: var(--ink);
    margin-bottom: 16px;
    font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-align: left;
  }

  .js .tech-rail {
    grid-area: liste;
  }

  .js .tech-list {
    justify-content: flex-start;
    max-width: none;
    margin: 0;
  }

  .js .tech-more {
    grid-area: mehr;
    text-align: left;
  }
}

/* Prozesse und KI ------------------------------------------------- */

.flow {
  padding-top: 16px;
}

.flow-card {
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.flow-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 80px);
  align-items: end;
}

.flow-head h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
}

.flow-head p {
  color: var(--ink-2);
  font-size: 1.125rem;
}

/* Ablauf als Leitung: ein Punkt läuft von links nach rechts durch */

.pipeline {
  --node: 60px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.pipeline::before,
.pipeline::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
}

.pipeline::before {
  background: var(--tint-strong);
}

.pipeline::after {
  right: auto;
  width: 64px;
  background: var(--green);
  animation: pipe-run 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes pipe-run {
  0% {
    left: 10%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: calc(90% - 64px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline::after {
    display: none;
  }
}

.pipeline li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.pipe-node {
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: 1px solid var(--tint-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
  font-size: 1.5rem;
}

.pipe-node-end {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.pipe-label {
  max-width: 16ch;
  font-size: 0.9688rem;
  font-weight: 550;
  line-height: 1.35;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.capabilities li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.cap-icon {
  grid-row: span 2;
  color: var(--green);
  font-size: 1.375rem;
  line-height: 1;
  padding-top: 2px;
}

.capabilities h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.capabilities p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.5;
}

/* Ausgangslage: dunkles Band, Heute gegen Danach ------------------- */

.problems-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--dark);
  color: var(--on-dark);
}

.problems-head {
  align-self: start;
  position: sticky;
  top: 112px;
}

.problems-head h2 {
  color: var(--on-dark);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
}

.problems-head > p {
  margin-top: 18px;
  color: var(--on-dark-2);
  font-size: 1.0625rem;
}

.problems-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--on-dark-2);
  font-size: 0.9688rem;
}

.problems-person img {
  border-radius: 50%;
  border: 2px solid var(--dark-2);
}

.problems-head .btn {
  margin-top: 28px;
}

.problems-card :focus-visible {
  outline-color: var(--on-dark);
}

.fix-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fix-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  padding: 26px 0;
  border-top: 1px solid #ffffff1f;
}

.fix-list li:last-child {
  border-bottom: 1px solid #ffffff1f;
}

.fix-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.fix-before .fix-label {
  color: #f0a58a;
}

.fix-after .fix-label {
  color: #6fd4ab;
}

.fix-before p {
  color: var(--on-dark-2);
  line-height: 1.5;
}

.fix-after p {
  color: var(--on-dark);
  font-weight: 500;
  line-height: 1.5;
}

.fix-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-2);
  color: #6fd4ab;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.fix-list li:hover .fix-arrow {
  background: var(--green);
  color: #ffffff;
}

/* Leistungen ------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.service::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.service:hover::after,
.service:focus-within::after {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--green);
  font-size: 1.375rem;
}

.service h3 {
  margin-top: 24px;
  font-size: 1.3125rem;
  letter-spacing: -0.02em;
}

.service p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 1rem;
}

.service-link {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 550;
  font-size: 0.9688rem;
  text-decoration: none;
}

.service-link::before {
  content: "";
  position: absolute;
  inset: 0;
}

.service-link:hover {
  text-decoration: underline;
}

/* Ergebnisse ------------------------------------------------------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.case-visual {
  position: relative;
  min-height: 520px;
  background: var(--tint);
  overflow: hidden;
}

.device-browser {
  position: absolute;
  left: 8%;
  top: 12%;
  width: 96%;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.device-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.device-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.device-phone {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: 24%;
  max-width: 170px;
  padding: 6px;
  border-radius: 26px;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}

.device-phone img {
  border-radius: 20px;
}

.case-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 56px);
}

.case-client {
  color: var(--ink-3);
  font-size: 0.9375rem;
  font-weight: 500;
}

.case-big {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.case-number {
  color: var(--green);
  font-size: clamp(3.5rem, 2.4rem + 4vw, 5.75rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.case-label {
  font-size: 1.3125rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.case-metrics {
  display: grid;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.case-metrics div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.case-metrics dt {
  color: var(--ink-2);
}

.case-metrics dd {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.case-text {
  margin-top: 24px;
  color: var(--ink-2);
}

.case-source {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.case-panel .btn {
  align-self: flex-start;
  margin-top: 28px;
}

.case-small {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 16px;
  padding: 16px clamp(16px, 3vw, 40px) 16px 16px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.case-small img {
  border-radius: calc(var(--r-xl) - 12px);
  border: 1px solid var(--line);
}

.case-small h3 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.case-small p:not(.case-client) {
  margin-top: 12px;
  color: var(--ink-2);
}

.case-small .text-link {
  margin-top: 20px;
}

/* Zählwerk: Kennzahlen der Fallkarte rollen einmal auf ihren Wert ---- */

/* Nach CountUp (Modus „roll“) von React Bits (MIT + Commons Clause,
   Copyright (c) 2026 David Haz), für statisches HTML neu geschrieben.
   Das Skript baut diese Teile erst, wenn die Kennzahl ins Bild kommt, und setzt
   nach dem Lauf wieder den Text aus dem HTML ein. */

.zw-rolle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

/* Maßtext: die ganze Zahl unsichtbar in der Zeile. Er hält Breite, Zeilenhöhe
   und Grundlinie, deshalb verschiebt der Umbau nichts. */

.zw-mass {
  visibility: hidden;
}

/* Blende: ein Fenster je Ziffer und je festem Stück, so hoch wie die Zeile.
   Linke Kante und Breite setzt das Skript an die Zeichenkanten des Maßtextes. */

.zw-blende {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

/* Band: jede Zeile beginnt genau am Maßtext, im Fenster steht davon nur das
   eigene Zeichen. Die unterste Zeile ist der Wert und steht ohne transform da. */

.zw-band {
  position: absolute;
  bottom: 0;
  text-align: left;
}

.zw-band span {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .zw-rollt {
    /* jede Ziffer startet 80 ms nach der vorigen und zeigt bis dahin schon ihren Wert */
    animation: zw-rollen 1.2s var(--ease) calc(var(--zw-i) * 80ms);
  }

  @keyframes zw-rollen {
    from {
      /* zehn Zeilen tiefer: im Fenster steht die oberste, dieselbe Ziffer wie am Ende */
      transform: translateY(calc(100% * 10 / 11));
    }
  }
}

/* Über mich -------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
}

.about-copy p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.about-copy .text-link {
  margin-top: 24px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.about-facts div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.fact-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--green);
}

.about-facts dt {
  color: var(--ink-3);
  font-size: 0.875rem;
}

.about-facts dd {
  margin: 2px 0 0;
  font-weight: 550;
  line-height: 1.45;
}

.about-facts dd a {
  color: var(--ink);
}

/* Ablauf, Aufruf, Fragen: stehen seit 13.11.2026 in /assets/basis/basis.css */

/* Aufruf: Nordlicht in der dunklen Karte ---------------------------- */

/* Hinter Foto und Frage liegen drei weiche Lichtflächen, zwei in Smaragd (#008f68,
   zusammen höchstens 30 %) und eine in Petrol (#0a7e94, höchstens 20 %). Sie hängen als
   ::before und ::after an der Karte und wandern langsam. Die Spalte mit Knopf und
   Telefonnummer bleibt auf dem reinen Dunkel, der Knopf hat dazu nur 3,35:1.
   An der hellsten Stelle (30 % Smaragd unter 20 % Petrol) hat der Fließtext 5,6:1.
   Nach Aurora von React Bits (MIT + Commons Clause, Copyright (c) 2026 David Haz),
   für statisches HTML neu geschrieben: aus dem WebGL-Shader stammen nur der weiche
   Abfall der Lichter und das Anhalten außerhalb des Bildes. */

.cta-card {
  /* Breite der Lichtzone ab dem linken Rand: 60 % der Karte. Bei vergrößerter Schrift
     wird der Knopf breiter (17.5rem), dann endet die Zone entsprechend früher. */
  --licht: min(60%, 100% - 17.5rem - clamp(28px, 4vw, 56px));
  /* Glockenform: Die Deckkraft fällt vom Kern bis zum Rand der Fläche weich auf null */
  --smaragd:
    rgb(0 143 104 / 0.3), rgb(0 143 104 / 0.292) 15%, rgb(0 143 104 / 0.251) 30%,
    rgb(0 143 104 / 0.15) 50%, rgb(0 143 104 / 0.049) 70%, rgb(0 143 104 / 0.008) 85%,
    rgb(0 143 104 / 0);
  --smaragd-zart:
    rgb(0 143 104 / 0.2), rgb(0 143 104 / 0.195) 15%, rgb(0 143 104 / 0.167) 30%,
    rgb(0 143 104 / 0.1) 50%, rgb(0 143 104 / 0.033) 70%, rgb(0 143 104 / 0.005) 85%,
    rgb(0 143 104 / 0);
  --petrol:
    rgb(10 126 148 / 0.2), rgb(10 126 148 / 0.195) 15%, rgb(10 126 148 / 0.167) 30%,
    rgb(10 126 148 / 0.1) 50%, rgb(10 126 148 / 0.033) 70%, rgb(10 126 148 / 0.005) 85%,
    rgb(10 126 148 / 0);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  /* Drehpunkt am rechten Rand der Fläche: Drehen und Vergrößern wachsen nach links,
     nie zur Knopfspalte hin */
  transform-origin: 100% 50%;
}

/* Smaragd: große Fläche von oben links, daran ein schwächerer Ausläufer nach rechts
   unten. Wo sich beide überlagern, bleiben sie zusammen unter 30 %. */

.cta-card::before {
  --ziel: translate(14%, 6%) rotate(-5deg) scale(1.1);
  top: -80%;
  left: calc(var(--licht) * -0.11);
  width: calc(var(--licht) * 0.93);
  height: 200%;
  background:
    radial-gradient(closest-side, var(--smaragd)) 0 0 / 80% 100% no-repeat,
    radial-gradient(closest-side, var(--smaragd-zart)) 100% 100% / 58% 55% no-repeat;
}

/* Petrol: steigt rechts daneben vom unteren Rand auf und zieht dem Smaragd entgegen */

.cta-card::after {
  --ziel: translate(-26%, -10%) rotate(6deg) scale(1.1);
  top: 27%;
  left: calc(var(--licht) * 0.33);
  width: calc(var(--licht) * 0.64);
  height: 142%;
  background: radial-gradient(closest-side, var(--petrol));
}

/* Handy: Die Lichter liegen oben hinter Foto und Überschrift und enden rund 20 px über
   dem Knopf (Innenabstand der Karte plus 7rem für Knopf, Telefonzeile und Luft). Der
   Drehpunkt sitzt unten in der Mitte, damit nichts nach unten wächst. */

@media (max-width: 860px) {
  .cta-card::before,
  .cta-card::after {
    bottom: calc(clamp(28px, 4vw, 56px) + 7rem);
    height: auto;
    transform-origin: 50% 100%;
  }

  .cta-card::before {
    --ziel: translate(10%, -5%) rotate(-3deg) scale(1.08);
    top: -36%;
    left: -37%;
    width: 160%;
  }

  .cta-card::after {
    --ziel: translate(-22%, -12%) rotate(-4deg) scale(1.12);
    top: 4%;
    left: 36%;
    width: 107%;
  }
}

/* Die Lichter wandern nur, wenn Bewegung erwünscht ist. Sonst bleibt das Standbild. */

@media (prefers-reduced-motion: no-preference) {
  .cta-card::before {
    animation: nordlicht 19s ease-in-out infinite alternate;
  }

  .cta-card::after {
    animation: nordlicht 23s ease-in-out infinite alternate;
  }

  /* außerhalb des Bildes stehen die Lichter still (Klasse setzt main.js) */
  .cta-card.is-aus-sicht::before,
  .cta-card.is-aus-sicht::after {
    animation-play-state: paused;
  }
}

/* Jede Fläche wandert aus ihrer Ruhelage zu ihrem eigenen Ziel und zurück */

@keyframes nordlicht {
  to {
    transform: var(--ziel);
  }
}


/* Ablauf: Leitung durch die Schritte --------------------------------
   Nur Startseite: Diese Datei lädt allein index.html. Die Grundregeln für .process-grid,
   .step und .step-icon bleiben in /assets/basis/basis.css und gelten weiter für Preise
   und die Leistungsseiten; dort ändert sich nichts. */

/* Eigene Ebene: Kartenflächen unten, darüber die Linie, ganz oben Ziffern und Icons */

.process .process-grid {
  position: relative;
  isolation: isolate;
}

.process .step,
.process .step-icon {
  z-index: 2;
}

.process .step {
  position: relative;
}

/* Desktop: 2 px starke Linie von der Mitte der ersten Ziffer bis in die Mitte des
   Website-Icons der letzten Karte. 48 px = Kartenrand bis Ziffernmitte, 49 px =
   Ziffernmitte minus halbe Linie, 54 px = rechter Rand bis Icon-Mitte (16 + 76 / 2). */

@media (min-width: 861px) {
  .process .process-grid::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 49px;
    left: 48px;
    right: 54px;
    height: 2px;
    background: var(--line-strong);
    pointer-events: none;
  }
}

/* Einspaltig: kurzer Steg vom Rand der oberen Karte bis zur Ziffer der nächsten
   (16 px Lücke plus 30 px Innenabstand der Karte) */

@media (max-width: 860px) {
  .process .process-grid li + li::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 47px;
    width: 2px;
    height: 46px;
    background: var(--line-strong);
  }
}

/* Mit JavaScript starten die Ziffern als Ring und füllen sich, sobald main.js der Karte
   is-an gibt. Ohne JavaScript und bei reduzierter Bewegung bleiben sie gefüllt. */

@media (prefers-reduced-motion: no-preference) {
  .js .process .step {
    background: var(--surface);
    box-shadow: inset 0 0 0 2px var(--green);
    color: var(--green);
    transition: color 0.3s var(--ease) var(--warte, 0s);
  }

  /* die grüne Füllung wächst aus der Mitte, bewegt werden nur opacity und transform */
  .js .process .step::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    transform: scale(0.4);
    transition:
      opacity 0.3s var(--ease) var(--warte, 0s),
      transform 0.5s var(--ease) var(--warte, 0s);
  }

  .js .process li.is-an .step {
    color: oklch(99% 0 0);
  }

  .js .process li.is-an .step::before {
    opacity: 1;
    transform: none;
  }
}

/* Desktop: Ein Lichtstück läuft einmal durch die Linie, die Ziffern füllen sich, wenn es
   bei ihnen ankommt (0 s, 0,9 s, 1,8 s). Danach steht alles still.
   Nach AnimatedBeam von Magic UI (MIT-Lizenz, Copyright (c) Magic UI), für statisches HTML
   neu geschrieben: Der wandernde Verlauf ist hier ein Hintergrundbild der Linie. */

@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .js .process li:nth-child(2) {
    --warte: 0.9s;
  }

  .js .process li:nth-child(3) {
    --warte: 1.8s;
  }

  /* 140 px breit, parkt links außerhalb der Linie */
  .js .process .process-grid::before {
    background-image: linear-gradient(90deg, transparent, var(--green) 45%, var(--tint-strong) 85%, transparent);
    background-repeat: no-repeat;
    background-position: -160px 0;
    background-size: 140px 100%;
  }

  .js .process .process-grid.is-lauf::before {
    animation: ablauf-licht 3s linear;
  }

  /* Kommt das Licht am Website-Icon an, hebt es sich kurz */
  .js .process .process-grid.is-lauf li:last-child .step-icon {
    animation: ablauf-ankunft 0.6s var(--ease) 2.55s;
  }
}

/* Die Spitze des Lichts startet verdeckt hinter Ziffer 1, erreicht den Rand von Ziffer 2
   nach 0,9 s (30 %) und den von Ziffer 3 nach 1,8 s (60 %) und taucht bis 3 s im
   Website-Icon ab. Die Ziffernmitten liegen bei einem und zwei Dritteln von
   (Rasterbreite + 16 px) ab Linienanfang; die Prozentwerte rechnen auf Linienlänge
   minus 140 px Lichtbreite, die px-Werte gleichen den Unterschied aus. */

@keyframes ablauf-licht {
  0% {
    background-position-x: -160px;
  }
  30% {
    background-position-x: calc(33.333% - 74px);
  }
  60% {
    background-position-x: calc(66.667% + 12px);
    animation-timing-function: ease-out;
  }
  100% {
    background-position-x: calc(100% + 140px);
  }
}

@keyframes ablauf-ankunft {
  40% {
    transform: translateY(-4px) scale(1.06);
  }
}

/* Kontakt ---------------------------------------------------------- */

.contact {
  padding-bottom: var(--section);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
}

.contact-copy > p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.contact-person img {
  border-radius: 50%;
}

.contact-person p {
  display: grid;
  line-height: 1.4;
}

.contact-person span {
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
}

.contact-direct a:hover {
  color: var(--green-ink);
  text-decoration: underline;
}

.contact-direct .icon {
  color: var(--green);
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.topic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.topic legend {
  margin-bottom: 10px;
  padding: 0;
  font-weight: 550;
  font-size: 0.9375rem;
}

.topic label {
  position: relative;
}

.topic input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.topic span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9688rem;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.topic input:checked + span {
  border-color: var(--green);
  background: var(--tint);
  color: var(--green-ink);
  font-weight: 550;
}

.topic input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field label {
  font-weight: 550;
  font-size: 0.9375rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  caret-color: var(--green);
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 132px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  background: var(--surface);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: oklch(55% 0.17 28);
}

/* Fuß: steckt seit 13.11.2026 in /shared/geckit-footer.js (look="schlicht") */

/* Responsiv -------------------------------------------------------- */

@media (max-width: 1080px) {
  .capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px 12px 8px;
  }

  .hero h1 {
    font-size: min(clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem), calc((100vw - 88px) / 8.4));
    font-size: min(clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem), 11.9cqi);
    /* einspaltig fängt keine Bildfläche ein zu breites Wort auf (vergrößerte Textabstände) */
    overflow-wrap: break-word;
  }

  .hero-visual {
    margin: 0;
    aspect-ratio: auto;
  }

  .hero-scene {
    flex: none;
    width: min(100%, 250px);
    height: auto;
    margin-inline: auto;
  }

  /* Tablet: Karte und Szene nebeneinander, sonst steht die Szene verloren im Feld */
  @media (min-width: 640px) {
    .hero-visual {
      flex-direction: row;
      align-items: center;
      gap: 20px;
      padding: 14px 24px 14px 14px;
    }

    .hero-person {
      flex: 1;
    }

    .hero-scene {
      width: 230px;
      margin: 0;
    }
  }

  .flow-head,
  .problems-card {
    grid-template-columns: 1fr;
  }

  .problems-head {
    position: static;
  }

  .pipeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pipeline::before {
    top: 10px;
    bottom: 10px;
    left: calc(var(--node) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
  }

  .pipeline::after {
    display: none;
  }

  .pipeline li {
    grid-template-columns: var(--node) 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .pipe-label {
    max-width: none;
  }

  .capabilities {
    grid-template-columns: 1fr;
  }

  .fix-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fix-arrow {
    transform: rotate(90deg);
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .case-small {
    grid-template-columns: 1fr;
    padding: 12px 12px 28px;
  }

  .case-small > div {
    padding-inline: 12px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .case-visual {
    aspect-ratio: 4 / 3;
  }

  .device-phone {
    width: 30%;
  }
}

.tech-more {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.9375rem;
  text-align: center;
}

/* 3D-Objekte und eigene Icons --------------------------------------- */

.service-art {
  width: 132px;
  height: 132px;
  margin: -14px 0 -6px -10px;
  transition: transform 0.45s var(--ease);
}

.service:hover .service-art {
  transform: translateY(-4px) rotate(-2deg);
}

.pipeline {
  --node: 88px;
}

.pipe-node,
.pipe-node-end {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.pipe-node-end {
  border-color: var(--green);
}

.pipe-img {
  width: 64px;
  height: 64px;
}

img.cap-icon {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-top: -4px;
}

img.fact-icon {
  width: 48px;
  height: 48px;
  background: none;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .service:hover .service-art {
    transform: none;
  }
}

/* Leistungen als Bühne (Desktop: Reiter links, Bühne rechts; Handy: Akkordeon) */

.svc {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  grid-template-rows: repeat(5, auto) 1fr;
  column-gap: 12px;
  row-gap: 6px;
  padding: 12px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.svc-item {
  display: contents;
}

.svc-tab {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.svc-item:first-child .svc-tab {
  margin-top: 8px;
}

.svc-tab img {
  width: 52px;
  height: 52px;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.svc-tab-text strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

.svc-tab-text small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.svc-chevron {
  display: none;
  margin-left: auto;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}

.svc-tab:hover {
  background: var(--bg);
}

.svc-tab[aria-expanded="true"] {
  border-color: var(--tint-strong);
  background: var(--tint);
}

.svc-tab[aria-expanded="true"] img {
  transform: scale(1.08) rotate(-4deg);
}

.svc-panel {
  grid-column: 2;
  grid-row: 1 / -1;
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: 560px;
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: calc(var(--r-xl) - 8px);
  background: var(--bg);
}

.svc-panel.is-open {
  display: grid;
  animation: svc-rein 0.55s var(--ease) both;
}

@keyframes svc-rein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.svc-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.svc-disc {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tint-strong);
}

.svc-object {
  position: relative;
  width: 88%;
  animation: schweben 6s ease-in-out infinite;
}

@keyframes schweben {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.svc-copy h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  letter-spacing: -0.035em;
}

.svc-copy p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.svc-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.svc-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.svc-copy li .icon {
  margin-top: 0.22em;
  color: var(--green);
}

.svc-copy .btn {
  margin-top: 28px;
}

/* Leistungen am Desktop: Reiter als Karten, die aktive Karte hell mit Schatten. Mit
   JavaScript liegen alle Bühnen übereinander und blenden ineinander über; ein Balken in der
   aktiven Karte zeigt, wann der Selbstlauf weiterschaltet (Klassen setzt main.js).
   Ohne JavaScript stehen alle Leistungen offen untereinander. */

.svc {
  --svc-dauer: 7s;
}

@media (min-width: 861px) {
  .svc {
    row-gap: 8px;
  }

  .svc-tab {
    position: relative;
    padding: 14px 16px 18px;
    background: var(--bg);
    transition:
      background-color 0.25s var(--ease),
      border-color 0.25s var(--ease),
      box-shadow 0.25s var(--ease);
  }

  .svc-tab:hover {
    background: var(--tint);
  }

  .js .svc-tab[aria-expanded="true"] {
    border-color: var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-lift);
  }

  /* alle Bühnen in derselben Zelle: die Höhe richtet sich nach der längsten, nichts springt */
  .js .svc-panel {
    position: relative;
    display: grid;
    visibility: hidden;
    opacity: 0;
  }

  .js .svc-panel.is-open {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    animation: none;
  }

  /* verdeckte Bühnen schweben nicht mit */
  .js .svc-panel:not(.is-open) .svc-object {
    animation-play-state: paused;
  }

  /* Restzeit bis zum nächsten Reiter */
  .svc-lauf {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--tint-strong);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }

  .svc-lauf > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
  }

  .svc.is-auto .svc-tab[aria-expanded="true"] .svc-lauf {
    opacity: 1;
  }

  /* Knopf zum Anhalten (WCAG 2.2.2), leise unter den Reitern */
  .svc-pause {
    grid-column: 1;
    grid-row: 6;
    align-self: end;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 4px 4px;
    padding: 6px 12px 6px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-3);
    font: inherit;
    font-size: 0.8125rem;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition:
      background-color 0.2s var(--ease),
      color 0.2s var(--ease);
  }

  .svc-pause:hover {
    background: var(--bg);
    color: var(--ink);
  }

  .svc-pause:focus-visible {
    border-radius: 999px;
  }

  /* Zeichen: zwei Striche für Anhalten, Dreieck für Fortsetzen */
  .svc-pause-zeichen {
    flex: none;
    width: 9px;
    height: 10px;
    border-inline: 3px solid currentColor;
  }

  .svc:not(.is-auto) .svc-pause-zeichen {
    border: 0;
    background: currentColor;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
}

/* Handy: Akkordeon ohne Selbstlauf. Der leere Balken darf im Flex-Reiter keine
   zusätzliche Lücke erzeugen, sonst rückt der Pfeil 14 px nach innen. */
@media (max-width: 860px) {
  .svc-pause,
  .svc-lauf {
    display: none;
  }
}

@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  /* die neue Bühne legt sich über die alte, die alte verschwindet erst danach */
  .js .svc-panel {
    transition:
      opacity 0s linear 0.45s,
      visibility 0s linear 0.45s;
  }

  .js .svc-panel.is-open {
    transition: opacity 0.45s var(--ease);
  }

  .js .svc-panel.is-open .svc-visual {
    animation: svc-objekt 0.7s var(--ease) backwards;
  }

  .js .svc-panel.is-open .svc-copy > *:not(ul),
  .js .svc-panel.is-open .svc-copy li {
    animation: svc-zeile 0.5s var(--ease) backwards;
  }

  .js .svc-panel.is-open .svc-copy > p {
    animation-delay: 60ms;
  }

  .js .svc-panel.is-open .svc-copy li:nth-child(1) {
    animation-delay: 140ms;
  }

  .js .svc-panel.is-open .svc-copy li:nth-child(2) {
    animation-delay: 200ms;
  }

  .js .svc-panel.is-open .svc-copy li:nth-child(3) {
    animation-delay: 260ms;
  }

  .js .svc-panel.is-open .svc-copy > .btn {
    animation-delay: 320ms;
  }

  .svc.is-auto .svc-tab[aria-expanded="true"] .svc-lauf > span {
    animation: svc-lauf var(--svc-dauer) linear forwards;
  }

  .svc.is-auto.is-halt .svc-tab[aria-expanded="true"] .svc-lauf > span {
    animation-play-state: paused;
  }
}

@keyframes svc-objekt {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
}

@keyframes svc-zeile {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes svc-lauf {
  to {
    transform: scaleX(1);
  }
}

/* Ohne JavaScript: alle Leistungen offen, am Desktop Karte links und Text rechts */
:root:not(.js) .svc-panel {
  display: block;
}

:root:not(.js) .svc-chevron {
  display: none;
}

:root:not(.js) .svc-tab {
  cursor: default;
}

@media (min-width: 861px) {
  :root:not(.js) .svc {
    grid-template-rows: none;
  }

  :root:not(.js) .svc-tab {
    align-self: start;
  }

  :root:not(.js) .svc-tab[aria-expanded="true"] {
    border-color: transparent;
    background: var(--bg);
  }

  :root:not(.js) .svc-tab[aria-expanded="true"] img {
    transform: none;
  }

  :root:not(.js) .svc-panel {
    grid-row: auto;
    min-height: 0;
    padding: 16px 24px 20px;
    animation: none;
  }

  :root:not(.js) .svc-visual,
  :root:not(.js) .svc-copy h3 {
    display: none;
  }

  :root:not(.js) .svc-copy p {
    margin-top: 0;
  }

  :root:not(.js) .svc-copy .btn {
    margin-top: 18px;
  }
}

/* Prozesse optimieren: Bereichswahl und Katalog */

.seg-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.seg {
  position: relative;
  display: inline-flex;
  gap: 2px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  scrollbar-width: none;
}

.seg::-webkit-scrollbar {
  display: none;
}

.seg-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease);
}

.seg-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9688rem;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.seg-btn:hover {
  color: var(--ink);
}

.seg-btn[aria-pressed="true"] {
  /* eigene Fläche, damit Kontrastprüfungen den Knopf richtig messen;
     sie erscheint erst, wenn die gleitende Markierung angekommen ist */
  background: var(--ink);
  color: var(--on-dark);
  transition:
    color 0.3s var(--ease),
    background-color 0s linear 0.45s;
}

.seg-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.seg-btn[aria-pressed="true"] .seg-count {
  background: #ffffff26;
  color: var(--on-dark);
}

.seg-btn:focus-visible {
  outline-offset: -2px;
}

.cat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.cat-card[hidden] {
  display: none;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.cat-card.is-in {
  animation: kat-rein 0.5s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes kat-rein {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.cat-img {
  width: 84px;
  height: 84px;
  margin: -6px 0 10px -8px;
  transition: transform 0.45s var(--ease);
}

.cat-card:hover .cat-img {
  transform: translateY(-5px) rotate(-4deg);
}

.cat-area {
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 550;
}

.cat-card h3 {
  margin-top: 4px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.cat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  pointer-events: none;
}

.cat-chevron {
  display: none;
  margin-left: auto;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}

.cat-text {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.5;
}

/* Über mich, kompakt */

.me-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.me-avatar {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--tint);
}

.me-intro h2 {
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
}

.me-intro p {
  margin-top: 14px;
  color: var(--ink-2);
}

.me-intro .text-link {
  margin-top: 18px;
}

.me-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.me-facts div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
}

.me-facts div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.me-facts div:nth-child(even) {
  padding-left: 20px;
}

.me-icon {
  grid-row: span 2;
  width: 48px;
  height: 48px;
}

/* Icon steht im <dt> (gültiges <dl>); contents legt es wie bisher in die erste Spalte */
.me-facts dt {
  display: contents;
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 550;
}

.me-facts dd {
  margin: 2px 0 0;
  font-size: 0.9688rem;
  font-weight: 550;
  line-height: 1.45;
}

.me-facts dd a {
  color: var(--ink);
}

/* Kontaktformular (kf-*): stehen seit 13.11.2026 in /assets/basis/basis.css */

/* Responsiv für die neuen Blöcke */

@media (max-width: 1080px) {
  .cat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .svc {
    display: block;
    padding: 6px 14px;
  }

  .svc-item {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .svc-item:last-child {
    border-bottom: 0;
  }

  .svc-tab,
  .svc-item:first-child .svc-tab {
    margin: 0;
    padding: 14px 4px;
    border: 0;
    border-radius: 0;
  }

  .svc-tab:hover,
  .svc-tab[aria-expanded="true"] {
    background: none;
  }

  .svc-chevron {
    display: block;
  }

  .svc-tab[aria-expanded="true"] .svc-chevron {
    transform: rotate(180deg);
  }

  .svc-panel {
    min-height: 0;
    padding: 4px 4px 22px;
    background: none;
  }

  .svc-panel.is-open {
    display: block;
  }

  .svc-visual,
  .svc-copy h3 {
    display: none;
  }

  .svc-copy p {
    margin-top: 0;
  }

  .me-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .seg {
    gap: 0;
    padding: 4px;
  }

  .seg-thumb {
    top: 4px;
    bottom: 4px;
  }

  .seg-btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9375rem;
  }

  .seg-count {
    display: none;
  }

  .cat {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 16px;
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .cat-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 12px 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .cat-card:last-child {
    border-bottom: 0;
  }

  .cat-card:hover {
    transform: none;
    box-shadow: none;
  }

  .cat-img {
    width: 48px;
    height: 48px;
    margin: 0;
    align-self: start;
  }

  .cat-area {
    display: none;
  }

  .cat-card h3 {
    margin: 0;
    font-size: 1rem;
  }

  .cat-toggle {
    min-height: 48px;
    pointer-events: auto;
    cursor: pointer;
  }

  .cat-chevron {
    display: block;
  }

  .cat-toggle[aria-expanded="true"] .cat-chevron {
    transform: rotate(180deg);
  }

  .cat-text {
    display: none;
    margin: 2px 0 6px;
  }

  .cat-toggle[aria-expanded="true"] + .cat-text,
  .cat-card.is-open .cat-text {
    display: block;
  }

  .me-facts {
    grid-template-columns: 1fr;
  }

  .me-facts div:nth-child(odd) {
    border-right: 0;
  }

  .me-facts div:nth-child(even) {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-object {
    animation: none;
  }
}

/* Technologien auf dem Handy: höchstens drei Reihen, der Rest per Pfeil */

.tech-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px auto 0;
  padding: 4px 4px 4px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.tech-toggle[hidden],
.tech-more[hidden] {
  display: none;
}

.tech-toggle-pfeil {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--green);
  transition:
    background-color 0.2s var(--ease),
    transform 0.3s var(--ease);
}

.tech-toggle:hover {
  color: var(--ink);
}

.tech-toggle:hover .tech-toggle-pfeil {
  background: var(--tint-strong);
  transform: translateY(2px);
}

.tech-toggle[aria-expanded="true"] .tech-toggle-pfeil {
  transform: rotate(180deg);
}

.tech-list li[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .tech {
    padding-top: 48px;
  }

  .tech-title {
    margin-bottom: 14px;
  }

  .tech-list {
    gap: 6px;
  }

  .tech-list li {
    padding: 4px 10px 4px 8px;
    font-size: 0.8125rem;
  }

  .tech-more {
    margin-top: 10px;
    font-size: 0.875rem;
  }
}

/* Ablauf-Icons: stehen seit 13.11.2026 in /assets/basis/basis.css */

/* Prozesse optimieren: Einleitung, Mehr-Knopf, Bereichswahl über zwei Zeilen */

.cat-intro {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 550;
}

.seg-thumb {
  top: 0;
  bottom: auto;
  height: 0;
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    height 0.45s var(--ease);
}

.cat-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.cat-more-wrap[hidden] {
  display: none;
}

.cat-more .icon {
  transition: transform 0.3s var(--ease);
}

.cat-more:hover .icon {
  transform: translateY(2px);
}

.cat-more.is-open .icon,
.cat-more.is-open:hover .icon {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .seg-wrap {
    display: block;
  }

  .seg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-radius: 22px;
  }

  .seg-btn {
    justify-content: center;
    padding: 0 8px;
  }

  .cat-more-wrap {
    margin-top: 18px;
  }

  .cat-more {
    width: 100%;
  }
}

/* Was ich automatisiere: Ring. Gilt nur, wenn das Skript den Ring zuschaltet
   (Klasse .ring-an am Abschnitt); ohne JavaScript bleibt das Raster. Lage, Deckkraft
   und Unschärfe der Karten setzt das Skript (samt perspective() aus --ring-tiefe),
   hier stehen Maße und Aussehen. */

.ring-buehne {
  --ring-karte: 272px;
  --ring-hoehe: calc((var(--ring-karte) - 20px) * 0.75 + 102px);
  --ring-winkel: 24;
  --ring-tiefe: 1600px;
  --ring-sicht: 2;
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: grab;
}

.ring-buehne.ring-zieht {
  cursor: grabbing;
}

/* Den Fokus zeigt die mittlere Karte, nicht die ganze Bühne */
.ring-buehne:focus-visible {
  outline: none;
}

.ring-buehne:focus-visible .ring-mitte {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.processes.ring-an .cat {
  position: relative;
  display: block;
  /* oben 28 px, unten 56 px Luft für Schatten und Fokusrahmen */
  height: calc(var(--ring-hoehe) + 84px);
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.processes.ring-an .cat-card {
  position: absolute;
  top: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: var(--ring-karte);
  height: var(--ring-hoehe);
  margin-left: calc(var(--ring-karte) / -2);
  padding: 10px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  backface-visibility: hidden;
  transition: box-shadow 0.35s var(--ease);
  cursor: pointer;
}

.processes.ring-an .cat-card[hidden] {
  display: none;
}

.processes.ring-an .cat-card.ring-mitte {
  box-shadow: var(--shadow-lift);
  cursor: inherit;
}

.processes.ring-an .cat-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--tint);
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.processes.ring-an .cat-card:hover .cat-img {
  transform: none;
}

.processes.ring-an .cat-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 4px;
  text-align: center;
}

.processes.ring-an .cat-area,
.processes.ring-an .cat-text,
.processes.ring-an .cat-chevron {
  display: none;
}

.processes.ring-an .cat-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.processes.ring-an .cat-toggle {
  display: block;
  min-height: 0;
  text-align: center;
  pointer-events: none;
  cursor: inherit;
}

/* Text zur mittleren Karte */

.ring-info {
  max-width: 600px;
  min-height: 7rem;
  margin: 0 auto;
  text-align: center;
}

.ring-bereich {
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 550;
}

.ring-titel {
  margin-top: 4px;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ring-text {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.5;
}

/* Pfeile und Zähler */

.ring-steuerung {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.ring-pfeil {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    transform 0.2s var(--ease);
}

.ring-pfeil:hover {
  border-color: var(--ink-3);
}

.ring-pfeil:active {
  transform: scale(0.94);
}

.ring-pfeil img.ui-icon {
  width: 24px;
  height: 24px;
  vertical-align: 0;
}

.ring-zurueck img.ui-icon {
  transform: scaleX(-1);
}

.ring-zaehler {
  min-width: 4.5em;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

@media (max-width: 1080px) {
  .ring-buehne {
    --ring-karte: 248px;
  }
}

@media (max-width: 640px) {
  .ring-buehne {
    --ring-karte: min(60vw, 228px);
    --ring-winkel: 32;
    --ring-tiefe: 900px;
    --ring-sicht: 1;
  }

  .processes.ring-an .cat-img {
    padding: 18px;
  }

  .processes.ring-an .cat-card h3 {
    font-size: 1rem;
  }

  .ring-info {
    min-height: 11.5rem;
    margin-top: 20px;
  }

  .ring-titel {
    font-size: 1.25rem;
  }

  /* Pfeile rücken in die Luft unter der Karte; über der Bühne, damit Tippen sie trifft */
  .ring-steuerung {
    position: relative;
    z-index: 60;
    margin-top: -36px;
  }

  .ring-pfeil {
    width: 48px;
    height: 48px;
  }

  /* Ohne JavaScript klappt keine Karte auf, also steht jeder Text offen da */
  html:not(.js) .cat-text {
    display: block;
  }

  html:not(.js) .cat-chevron {
    display: none;
  }
}

/* Sehr schmale Handys: höchstens 2.3rem, darunter passt sich die Zeile
   „Digitalisierung und“ der Spalte an */

@media (max-width: 400px) {
  .hero h1 {
    font-size: min(2.3rem, calc((100vw - 88px) / 8.4));
    font-size: min(2.3rem, 11.9cqi);
  }
}

/* 3D-Bedien-Icons aus der Bibliothek (grün, für helle Flächen).
   Die Grundregel steht auch in /assets/basis/basis.css; hier bleibt sie bewusst am
   Ende stehen, weil sie gleich starke Regeln wie „.svc-tab img“ überschreiben muss. */

img.ui-icon {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  vertical-align: -0.2em;
}

.svc-copy li img.ui-icon {
  width: 1.3em;
  height: 1.3em;
  margin-top: 0.12em;
}

.faq-list summary img.ui-icon {
  width: 1.15em;
  height: 1.15em;
}
