/* agentur-net · Bildschirm-CSS. Reihenfolge: variables.css, agentur-net.css, print.css (media="print") */
/* SCAG · Design C «Ring»
   Farbstil der aktuellen sinkacom.de: Cremeweiß, Limonengelb als Aktion, Grau für Kontakt, dunkler Footer.
   Layout: helle, weiche Flächen, große leichte Typo, 3D-Objekte aus dem Logo-Ring, scrollgesteuerte Effekte. */
:root {
  --navy: #051b31;
  --ink: #051b31;
  --text: #31364b;
  --muted: #595a6d;
  --bg: #ffffff;
  --cream: #fdfdf3;
  --grey: #dfdde2;
  --line: #e6e4dc;
  --card: #f6f5ea;
  --lime: #e1df31;
  --lime-d: #c8d219;
  --blue: #007bb0;
  --sky: #009ee3;
  --mist: #a4d7de;
  --foot: #051b31;
  --foot-t: #d7dce3;
  --f: "Montserrat", "Segoe UI", Arial, sans-serif;
  --r-l: 32px;
  --r-m: 20px;
  --r-s: 12px;
  --fs-d: clamp(2.6rem, 1.3rem + 4.6vw, 5.8rem);
  --fs-1: clamp(2.2rem, 1.3rem + 3vw, 4rem);
  --fs-2: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  --fs-3: clamp(1.2rem, 1.05rem + .6vw, 1.55rem);
  --max: 1240px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #f3f4ef;
  --text: #d5dae2;
  --muted: #a4abb8;
  --bg: #06121f;
  --cream: #0b1a2c;
  --grey: #13253b;
  --line: #1e324b;
  --card: #102238;
  --blue: #45b7e8;
  --foot: #020a13;
  color-scheme: dark;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 var(--f);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background .4s, color .4s
}

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

a {
  color: inherit
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f);
  text-wrap: balance
}

p {
  margin: 0
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px var(--navy)
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px))
}

.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

.brand {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: none
}

.brand--wide {
  width: 118px;
  height: 25px
}

.k-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--lime);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 999px
}

.k-skip:focus {
  top: 12px
}

.demo {
  background: #020d18;
  color: #c9ced8;
  font-size: 12px;
  letter-spacing: .08em
}

.demo .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap
}

.demo b {
  color: #fff;
  font-weight: 600
}

.demo nav {
  display: flex;
  gap: 4px
}

.demo nav a {
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 999px
}

.demo nav a[aria-current] {
  background: var(--lime);
  color: #051b31
}

/* Header wie heute: Logo, Suche, Navi darunter. Wird beim Scrollen kompakt. */
.k-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease)
}

.k-header.is-hidden {
  transform: translateY(-100%)
}

.k-top {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  transition: min-height .3s
}

.k-header.is-compact .k-top {
  min-height: 60px
}

.k-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 13px
}

.k-logo img {
  height: 40px;
  width: auto;
  transition: height .3s
}

.k-header.is-compact .k-logo img {
  height: 32px
}

.k-nav {
  flex: 1
}

.k-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center
}

.k-nav__btn {
  font: 500 15px var(--f);
  color: var(--ink);
  background: none;
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s
}

.k-nav__btn .ico {
  width: 14px;
  height: 14px;
  transition: transform .25s
}

.k-nav__btn:hover, .k-nav__btn[aria-expanded=true] {
  background: var(--card)
}

.k-nav__btn[aria-expanded=true] .ico {
  transform: rotate(180deg)
}

.k-nav__btn.is-active {
  box-shadow: inset 0 -3px 0 var(--lime)
}

.k-tools {
  display: flex;
  align-items: center;
  gap: 8px
}

.k-sbox {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 0 6px 0 16px;
  height: 44px;
  color: var(--muted);
  font: 400 14px var(--f);
  cursor: pointer;
  min-width: 190px;
  justify-content: space-between
}

.k-sbox:hover {
  border-color: var(--ink);
  color: var(--ink)
}

.k-ib {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px
}

.k-ib:hover {
  background: var(--card)
}

.k-hlink {
  font: 500 15px var(--f);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px
}

.k-hlink:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 3px
}

.k-burger {
  display: none
}

.k-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--lime);
  transform-origin: left;
  transform: scaleX(var(--p, 0))
}

/* Dropdown als weiche Karte */
.k-drop {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  width: min(980px, calc(100vw - 32px));
  transform: translate(-50%, -6px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: 0 40px 80px -40px rgba(5, 27, 49, .35);
  padding: 28px;
  display: grid;
  grid-template-columns:1fr 1.8fr;
  gap: 28px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s
}

.k-drop.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity .2s, transform .3s var(--ease)
}

.k-drop__intro {
  background: var(--cream);
  border-radius: var(--r-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.k-drop__intro img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: -8px 0 0 -8px
}

.k-drop__t {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2
}

.k-drop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 6px
}

.k-drop li a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-s);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s
}

.k-drop li a:hover {
  background: var(--card)
}

.k-drop li small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px
}

.k-mob {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg);
  padding: 20px max(20px, env(safe-area-inset-left, 0px));
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s, visibility 0s .25s
}

.k-mob.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .25s
}

.k-mob__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px
}

.k-mob details {
  border-bottom: 1px solid var(--line)
}

.k-mob summary {
  list-style: none;
  padding: 16px 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer
}

.k-mob summary::-webkit-details-marker {
  display: none
}

.k-mob ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0
}

.k-mob li a {
  display: block;
  padding: 8px 0;
  text-decoration: none
}

/* Buttons: Limonengelb wie auf der heutigen Seite, rund, magnetisch */
.k-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 15px var(--f);
  text-decoration: none;
  background: var(--lime);
  color: #051b31;
  border: 0;
  padding: 15px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .25s var(--ease), box-shadow .25s;
  will-change: transform
}

.k-btn .ar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #051b31;
  color: var(--lime);
  transition: transform .3s var(--ease)
}

.k-btn .ar .ico {
  width: 15px;
  height: 15px
}

.k-btn:hover {
  background: var(--lime-d);
  box-shadow: 0 14px 30px -14px rgba(5, 27, 49, .5)
}

.k-btn:hover .ar {
  transform: rotate(-45deg)
}

.k-btn--navy {
  background: var(--navy);
  color: #fff
}

.k-btn--navy .ar {
  background: var(--lime);
  color: #051b31
}

.k-btn--navy:hover {
  background: #0c2c4c
}

:root[data-theme="dark"] .k-btn--navy {
  background: #fff;
  color: #051b31
}

:root[data-theme="dark"] .k-btn--navy .ar {
  background: #051b31;
  color: var(--lime)
}

.k-quiet {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--muted) 40%, transparent);
  text-underline-offset: 5px
}

.k-quiet:hover {
  color: var(--ink);
  text-decoration-color: var(--lime)
}

.k-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(var(--lime), var(--lime)) 0 100%/100% 3px no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s var(--ease)
}

.k-link:hover {
  background-size: 100% 100%;
  color: var(--body-link-invers-hover-color);
}

.k-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center
}

/* Hero */
.k-hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--r-l) var(--r-l)
}

.k-hero__in {
  display: grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: center;
  padding-block: clamp(56px, 7vw, 110px) clamp(64px, 8vw, 120px)
}

.k-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13px;
  color: var(--muted)
}

.k-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: .5
}

.k-crumbs a {
  text-decoration: none
}

.k-crumbs a:hover {
  color: var(--ink);
  text-decoration: underline
}

.k-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px
}

.k-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 30%, transparent)
}

.k-hero h1 {
  font-size: var(--fs-d);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.035em
}

.k-hero--page h1 {
  font-size: var(--fs-1)
}

.k-hero h1 b {
  font-weight: 700
}

.k-mark {
  position: relative;
  white-space: nowrap;
  font-weight: 700
}

.k-mark::after {
  content: "";
  position: absolute;
  left: -.08em;
  right: -.08em;
  bottom: .08em;
  height: .28em;
  background: var(--lime);
  z-index: -1;
  border-radius: 4px;
  transform-origin: left;
  animation: mark 1s .5s var(--ease) both
}

.k-hero h1, .k-h2 {
  position: relative;
  z-index: 0
}

@keyframes mark {
  from {
    transform: scaleX(0)
  }
  to {
    transform: scaleX(1)
  }
}

.k-hero .k-lead {
  margin-top: 26px
}

.k-hero .k-actions {
  margin-top: 34px
}

.k-lead {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 56ch
}

.k-hero__art {
  position: relative;
  aspect-ratio: 1;
  max-width: 100%
}

.k-hero__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0px));
  transition: transform .1s linear
}

.k-blob {
  position: absolute;
  border-radius: 42% 58% 63% 37%/45% 41% 59% 55%;
  filter: blur(2px);
  animation: morph 14s ease-in-out infinite alternate;
  z-index: 0
}

.k-blob--a {
  width: 62%;
  height: 62%;
  left: 8%;
  top: 12%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--lime) 55%, transparent), transparent 70%)
}

.k-blob--b {
  width: 48%;
  height: 48%;
  right: 0;
  bottom: 6%;
  background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--sky) 35%, transparent), transparent 70%);
  animation-duration: 18s
}

@keyframes morph {
  0% {
    border-radius: 42% 58% 63% 37%/45% 41% 59% 55%;
    transform: translate(0, 0) rotate(0)
  }
  100% {
    border-radius: 61% 39% 35% 65%/56% 62% 38% 44%;
    transform: translate(4%, -3%) rotate(25deg)
  }
}

.k-chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px
}

.k-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px
}

.k-chip .brand {
  width: 16px;
  height: 16px
}

.k-chip .brand--wide {
  width: 70px;
  height: 15px
}

/* Sektionen */
.k-sec {
  padding-block: clamp(80px, 9vw, 140px)
}

.k-sec--cream {
  background: var(--cream)
}

.k-sec--grey {
  background: var(--grey)
}

.k-sec--round {
  border-radius: var(--r-l);
  margin-inline: clamp(0px, 1.5vw, 20px)
}

.k-head {
  display: grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px 60px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px)
}

.k-head--solo {
  grid-template-columns:minmax(0, 1fr)
}

.k-h2 {
  font-size: var(--fs-2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.025em
}

.k-h2 b {
  font-weight: 700
}

.k-head p {
  max-width: 52ch
}

.k-h3 {
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 1.3
}

/* Scroll-Text: Wörter füllen sich beim Scrollen */
.k-reveal {
  font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.9rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink)
}

.k-reveal .w {
  opacity: var(--o, 1);
  transition: opacity .15s linear
}

.js-reveal .k-reveal .w {
  --o: .16
}

.k-reveal b {
  font-weight: 700
}

/* Gestapelte Karten (sticky) */
.k-stack {
  display: grid;
  gap: 28px
}

.k-card {
  position: sticky;
  top: calc(var(--hh, 140px) + var(--i) * 18px);
  background: var(--card);
  border-radius: var(--r-l);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 32px;
  align-items: center;
  min-height: 380px;
  box-shadow: 0 -1px 0 var(--line), 0 30px 60px -45px rgba(5, 27, 49, .4);
  transform-origin: center top;
  transform: scale(var(--s, 1));
  transition: transform .1s linear
}

.k-sec--cream .k-card {
  background: var(--bg)
}

.k-card__n {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 12px
}

.k-card h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em
}

.k-card p {
  margin-top: 16px;
  max-width: 52ch
}

.k-card .k-tags {
  margin-top: 20px
}

.k-card .k-link {
  margin-top: 26px
}

.k-card img {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  aspect-ratio: 1;
  object-fit: contain
}

.k-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.k-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink)
}

/* Branchen: Segment-Steuerung + Panel */
.k-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
  position: relative;
  margin-bottom: 28px
}

.k-seg button {
  position: relative;
  z-index: 1;
  font: 600 14px var(--f);
  color: var(--muted);
  background: none;
  border: 0;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s
}

.k-seg button[aria-selected=true] {
  color: #051b31
}

.k-seg__pill {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  height: calc(100% - 12px);
  background: var(--lime);
  border-radius: 999px;
  transition: transform .4s var(--ease)
}

.k-tabpanel {
  display: grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--bg);
  border-radius: var(--r-l);
  padding: clamp(28px, 4vw, 56px)
}

.k-tabpanel img {
  max-width: 360px;
  width: 100%;
  justify-self: center;
  aspect-ratio: 1;
  object-fit: contain
}

.k-tabpanel h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15
}

.k-tabpanel p {
  margin-top: 14px
}

.k-tabpanel ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px
}

.k-tabpanel li {
  display: flex;
  gap: 10px;
  align-items: baseline
}

.k-tabpanel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
  transform: translateY(-2px)
}

.k-tabpanel .k-link {
  margin-top: 24px
}

.k-tabpanel.is-swap {
  animation: swap .5s var(--ease)
}

@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(14px)
  }
  to {
    opacity: 1;
    transform: none
  }
}

/* Laufband */
.k-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding-block: 10px
}

.k-marquee__t {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: mq 34s linear infinite
}

.k-marquee:hover .k-marquee__t {
  animation-play-state: paused
}

.k-marquee__t > * {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none
}

.k-marquee .brand {
  width: 36px;
  height: 36px
}

.k-marquee .brand--wide {
  width: 160px;
  height: 34px
}

@keyframes mq {
  to {
    transform: translateX(-50%)
  }
}

.k-mq-ctrl {
  margin-top: 14px;
  font: 500 13px var(--f);
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px
}

/* Referenzen */
.k-cases {
  display: grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0
}

.k-case {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border-radius: var(--r-m);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s;
  position: relative;
  overflow: hidden
}

.k-sec--cream .k-case {
  background: var(--bg)
}

.k-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(5, 27, 49, .45)
}

.k-case__img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: -8px 0 8px -8px;
  transition: transform .5s var(--ease)
}

.k-case:hover .k-case__img {
  transform: rotate(-12deg) scale(1.08)
}

.k-case__c {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.k-case h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 8px;
  flex: 1
}

.k-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px
}

.k-techs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line)
}

.k-techs .brand {
  width: 15px;
  height: 15px
}

.k-techs .brand--wide {
  width: 66px;
  height: 14px
}

.k-filter {
  margin-bottom: 30px
}

.k-count {
  font-size: 14px;
  color: var(--muted);
  margin: -14px 0 24px
}

/* Ablauf mit Fortschrittslinie */
.k-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  counter-reset: s
}

.k-steps::before, .k-steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 4px;
  border-radius: 4px;
  background: var(--line)
}

.k-steps::after {
  background: var(--lime);
  transform-origin: left;
  transform: scaleX(var(--sp, 0))
}

.k-steps li {
  position: relative;
  z-index: 1;
  counter-increment: s
}

.k-steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  transition: background .3s, border-color .3s
}

.k-steps li.is-on::before {
  background: var(--lime);
  border-color: var(--lime);
  color: #051b31
}

.k-steps h3 {
  font-size: 1.2rem;
  font-weight: 600
}

.k-steps p {
  margin-top: 8px;
  font-size: 15px
}

/* Zitat */
.k-quote {
  display: grid;
  grid-template-columns:auto minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--card);
  border-radius: var(--r-l);
  padding: clamp(28px, 5vw, 64px)
}

.k-quote__m {
  font-size: 7rem;
  line-height: .7;
  font-weight: 800;
  color: var(--lime);
  -webkit-text-stroke: 2px var(--navy)
}

:root[data-theme="dark"] .k-quote__m {
  -webkit-text-stroke: 0
}

.k-quote blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink)
}

.k-quote figcaption {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px
}

.k-quote figcaption span:first-child {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px dashed var(--muted);
  display: grid;
  place-items: center;
  font-size: 9px;
  text-align: center;
  line-height: 1.2
}

/* Logo-Plätze */
.k-slots {
  display: grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px
}

.k-slots div {
  aspect-ratio: 5/2;
  max-width: 100%;
  border: 1px dashed color-mix(in srgb, var(--muted) 50%, transparent);
  border-radius: var(--r-s);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  padding: 8px
}

/* FAQ */
.k-acc {
  display: grid;
  gap: 10px
}

.k-acc details {
  background: var(--card);
  border-radius: var(--r-m);
  padding: 0 24px
}

.k-sec--cream .k-acc details {
  background: var(--bg)
}

.k-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  font-weight: 600;
  color: var(--ink)
}

.k-acc summary::-webkit-details-marker {
  display: none
}

.k-acc summary .pl {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: #051b31;
  flex: none;
  transition: transform .3s var(--ease)
}

.k-acc details[open] summary .pl {
  transform: rotate(45deg)
}

.k-acc .body {
  padding: 0 0 24px;
  max-width: 70ch
}

/* Info-Karten */
.k-tiles {
  display: grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap: 20px
}

.k-tile {
  background: var(--card);
  border-radius: var(--r-m);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease)
}

.k-sec--cream .k-tile {
  background: var(--bg)
}

a.k-tile:hover {
  transform: translateY(-4px)
}

.k-tile img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: -10px 0 0 -10px
}

.k-tile h3 {
  font-size: 1.3rem;
  font-weight: 600
}

.k-tile .k-link {
  margin-top: auto;
  align-self: flex-start
}

.k-tiles--3 {
  grid-template-columns:repeat(3, minmax(0, 1fr))
}

.k-split {
  display: grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start
}

.k-split p + p {
  margin-top: 16px
}

/* Kontakt: grau wie heute */
.k-contact {
  background: var(--grey);
  border-radius: var(--r-l) var(--r-l) 0 0;
  padding-block: clamp(80px, 9vw, 130px)
}

.k-contact__in {
  display: grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px
}

.k-contact h2 {
  font-size: var(--fs-2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.025em
}

.k-contact h2 b {
  font-weight: 700
}

.k-contact p {
  margin-top: 16px
}

.k-addr {
  margin-top: 28px;
  font-style: normal;
  display: grid;
  gap: 2px;
  color: var(--ink)
}

.k-addr a {
  text-decoration: none
}

.k-addr a:hover {
  text-decoration: underline
}

.k-termin {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  background: var(--bg);
  border-radius: var(--r-m);
  padding: 16px 20px;
  font-size: 15px
}

.k-termin .ico {
  color: var(--ink)
}

.k-form {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 18px 20px;
  background: var(--bg);
  border-radius: var(--r-l);
  padding: clamp(24px, 3vw, 40px)
}

.k-form .full {
  grid-column: 1/-1
}

.k-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px
}

.k-field .req {
  color: #c0392b
}

.k-in {
  width: 100%;
  font: 400 16px var(--f);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s
}

.k-in:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 55%, transparent)
}

textarea.k-in {
  min-height: 130px;
  resize: vertical
}

.k-field.is-error .k-in {
  border-color: #c0392b;
  background: color-mix(in srgb, #c0392b 6%, var(--bg))
}

.k-help {
  display: none;
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px
}

.k-field.is-error .k-help {
  display: block
}

.k-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px
}

.k-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  margin-top: 3px
}

.k-msg {
  font-size: 14px;
  min-height: 1.4em
}

/* Weiter */
.k-next {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 16px
}

.k-next a {
  display: block;
  padding: 30px;
  border-radius: var(--r-m);
  background: var(--card);
  text-decoration: none;
  transition: background .25s
}

.k-next a:hover {
  background: var(--lime);
  color: #051b31
}

.k-next a:hover span {
  color: #051b31
}

.k-next a:last-child {
  text-align: right
}

.k-next small {
  display: block;
  font-size: 13px;
  color: var(--muted)
}

.k-next span {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 4px
}

.k-jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.k-jobs a {
  display: grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px 30px;
  background: var(--card);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: transform .3s var(--ease)
}

.k-jobs a:hover {
  transform: translateX(6px)
}

.k-jobs b {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink)
}

.k-meta {
  font-size: 13px;
  color: var(--muted)
}

/* Tabellen, Styleguide */
.g-scroll {
  overflow-x: auto;
  border-radius: var(--r-m)
}

.g-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 620px;
  background: var(--bg)
}

.g-table th, .g-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

.g-table th {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.g-code {
  background: #051b31;
  color: #dfe6ec;
  padding: 26px;
  border-radius: var(--r-m);
  overflow-x: auto;
  font: 13px/1.7 ui-monospace, Menlo, Consolas, monospace
}

.g-sw {
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px
}

.g-sw > div {
  background: var(--bg);
  border-radius: var(--r-m);
  overflow: hidden;
  font-size: 13px;
  padding-bottom: 14px;
  border: 1px solid var(--line)
}

.g-sw i {
  display: block;
  height: 96px;
  margin-bottom: 10px
}

.g-sw b, .g-sw code, .g-sw span {
  display: block;
  padding: 0 14px
}

.g-sw b {
  color: var(--ink)
}

.g-type > div {
  display: grid;
  grid-template-columns:200px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: baseline
}

.g-type small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5
}

.g-obj {
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px
}

.g-obj figure {
  margin: 0;
  background: var(--bg);
  border-radius: var(--r-m);
  padding: 18px;
  border: 1px solid var(--line)
}

.g-obj img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain
}

.g-obj figcaption {
  font-size: 14px;
  margin-top: 8px
}

.g-obj figcaption b {
  display: block;
  color: var(--ink)
}

/* 404, Suche */
.k-404 {
  font-size: clamp(6rem, 3rem + 12vw, 13rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.06em;
  color: var(--ink)
}

.k-404 span {
  display: inline-block;
  width: .8em;
  height: .8em;
  vertical-align: -.02em
}

.k-404 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spin 18s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.k-isearch {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  max-width: 560px;
  flex-wrap: wrap
}

.k-isearch .k-in {
  flex: 1;
  min-width: 200px;
  border-radius: 999px;
  padding-inline: 20px
}

.k-search {
  border: 0;
  padding: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: 80vh;
  margin: 12vh auto auto;
  border-radius: var(--r-l);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 50px 100px -40px rgba(5, 27, 49, .6)
}

.k-search::backdrop {
  background: rgba(5, 27, 49, .45);
  backdrop-filter: blur(6px)
}

.k-search__in {
  padding: 22px
}

.k-search form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px
}

.k-search input {
  flex: 1;
  font: 400 1.4rem var(--f);
  color: var(--ink);
  background: none;
  border: 0;
  padding: 8px 0
}

.k-search input:focus {
  outline: none
}

.k-search__st {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 6px
}

.k-search ol {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 50vh;
  overflow: auto
}

.k-search ol a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-s);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink)
}

.k-search ol a:hover, .k-search ol a:focus {
  background: var(--card)
}

.k-search ol small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted)
}

.k-kbd {
  font: 600 11px var(--f);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--muted)
}

/* Footer: dunkel wie heute, in Navy */
.k-footer {
  background: var(--foot);
  color: var(--foot-t);
  padding-block: 80px 30px
}

.k-footer h2 {
  color: #fff;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15
}

.k-footer h2 b {
  font-weight: 700;
  color: var(--lime)
}

.k-footer h3 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a4abb8;
  margin: 0 0 14px
}

.k-footer__top {
  display: grid;
  grid-template-columns:minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px
}

.k-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px
}

.k-footer a {
  text-decoration: none;
  color: #fff
}

.k-footer a:hover {
  color: var(--lime)
}

.k-footer address {
  font-style: normal;
  margin-top: 22px;
  line-height: 1.8
}

.k-social {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px
}

.k-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08)
}

.k-social a:hover {
  background: var(--lime);
  color: #051b31
}

.k-social .brand {
  width: 18px;
  height: 18px
}

.k-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px
}

.k-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px
}

.k-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-s);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em
}

.k-partner .brand--wide {
  width: 100px;
  height: 21px
}

.k-totop {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: #051b31;
  border: 0;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: grid;
  place-items: center
}

.k-totop.is-on {
  opacity: 1;
  pointer-events: auto
}

.k-totop svg {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg)
}

.k-totop circle {
  fill: none;
  stroke: #051b31;
  stroke-width: 2.5;
  stroke-dasharray: 138;
  stroke-dashoffset: calc(138 - 138 * var(--p, 0))
}

/* Einblenden */
.k-up {
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.k-up.is-armed {
  opacity: .001;
  transform: translateY(30px)
}

.k-up.is-armed.is-in {
  opacity: 1;
  transform: none
}

::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .45s
}

html.hc {
  --muted: #31364b;
  --line: #8b8a95
}

html.hc .k-reveal .w {
  --o: 1 !important
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }

  .k-card {
    transform: none !important
  }

  .k-reveal .w {
    --o: 1 !important
  }

  .k-marquee__t {
    flex-wrap: wrap;
    width: auto
  }
}

@media (max-width: 1120px) {
  .k-nav, .k-hlink {
    display: none
  }

  .k-burger {
    display: inline-grid
  }

  .k-tools {
    margin-left: auto
  }

  .k-sbox {
    min-width: 0
  }

  .k-sbox span:first-child {
    display: none
  }

  .k-drop {
    display: none
  }
}

@media (max-width: 900px) {
  .k-hero__in, .k-head, .k-card, .k-tabpanel, .k-split, .k-contact__in, .k-footer__top {
    grid-template-columns:minmax(0, 1fr)
  }

  .k-hero__art {
    max-width: 380px;
    margin: 0 auto
  }

  .k-card {
    position: relative;
    top: auto;
    transform: none !important;
    min-height: 0
  }

  .k-card img, .k-tabpanel img {
    max-width: 220px;
    grid-row: 1
  }

  .k-cases, .k-tiles--3 {
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)
  }

  .k-steps {
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)
  }

  .k-steps::before, .k-steps::after {
    display: none
  }

  .g-type > div {
    grid-template-columns:minmax(0, 1fr);
    gap: 6px
  }

  .k-quote {
    grid-template-columns:minmax(0, 1fr)
  }
}

@media (max-width: 600px) {
  .k-cases, .k-tiles, .k-tiles--3, .k-steps, .k-form, .k-next {
    grid-template-columns:minmax(0, 1fr)
  }

  .k-next a:last-child {
    text-align: left
  }

  .k-logo span {
    display: none
  }

  .k-seg {
    border-radius: var(--r-m)
  }
}

/* Feinschliff */
.k-nav__btn {
  white-space: nowrap;
  font-size: 14.5px;
  padding: 10px 11px
}

@media (max-width: 1380px) {
  .k-sbox {
    min-width: 0;
    padding: 0 12px
  }

  .k-sbox span:first-child {
    display: none
  }
}

@media (min-width: 901px) {
  .k-hero__in {
    grid-template-columns:minmax(0, 1.35fr) minmax(0, .65fr)
  }
}

:root {
  --fs-d: clamp(2.5rem, 1.4rem + 3.6vw, 4.9rem)
}

.k-card {
  min-height: 0;
  align-items: center
}

.k-card img {
  max-width: 280px
}

img {
  height: auto
}

.k-logo span {
  display: none
}

.k-tabpanel img {
  max-width: 280px
}

.k-tabpanel {
  min-height: 420px
}

.k-logo, .k-tools {
  flex: none
}

h1, h2, h3, .k-h2 {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word
}

@media (max-width: 600px) {
  .k-card h3 {
    font-size: 1.5rem
  }

  .k-card {
    padding: 24px
  }
}

/* Runde 2: ruhiger */
.k-blob {
  animation: none;
  filter: none;
  border-radius: 50%
}

.k-blob--a {
  width: 86%;
  height: 86%;
  left: 7%;
  top: 7%;
  background: radial-gradient(circle, color-mix(in srgb, var(--grey) 70%, transparent) 0%, color-mix(in srgb, var(--grey) 25%, transparent) 60%, transparent 71%)
}

.k-blob--b {
  display: none
}

.k-case:hover .k-case__img {
  transform: translateY(-4px)
}

.k-card img {
  max-width: 300px
}

/* Runde 3: Icons statt 3D-Objekte */
.k-ic {
  display: inline-grid;
  place-items: center;
  flex: none;
  position: relative;
  color: #051b31;
  background: var(--lime);
  border-radius: 50%;
  width: 56px;
  height: 56px
}

.k-ic svg {
  width: 58%;
  height: 58%;
  fill: currentColor;
  position: relative;
  z-index: 1
}

.k-ic--xs {
  width: 30px;
  height: 30px
}

.k-ic--ring {
  background: transparent;
  color: var(--ink);
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 100%
}

.k-ic--ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: clamp(10px, 1.6vw, 22px) solid var(--ink);
  border-right-color: var(--lime);
  transform: rotate(calc(-30deg + var(--rot, 0deg)))
}

.k-ic--ring::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: var(--cream)
}

.k-ic--ring svg {
  width: 44%;
  height: 44%;
  z-index: 2
}

.k-hero__art .k-ic--ring {
  position: absolute;
  inset: 8%;
  width: auto;
  transform: translateY(var(--ty, 0px))
}

.k-hero__art .k-blob--a {
  inset: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0
}

.k-card .k-ic, .k-tabpanel .k-ic {
  width: min(230px, 100%);
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
  background: transparent;
  color: var(--ink)
}

.k-card .k-ic::before, .k-tabpanel .k-ic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 14px solid var(--ink);
  border-right-color: var(--lime);
  transform: rotate(-30deg)
}

.k-card .k-ic svg, .k-tabpanel .k-ic svg {
  width: 42%;
  height: 42%
}

.k-case .k-ic {
  margin-bottom: 14px
}

.k-tile .k-ic {
  margin-bottom: 6px
}

.k-drop__intro .k-ic {
  width: 52px;
  height: 52px
}

.g-obj .k-ic--ring {
  width: 140px;
  margin: 6px auto 12px;
  display: grid
}

.g-obj .k-ic--ring::after {
  background: var(--bg)
}

.g-obj figcaption code {
  font-size: 12px;
  color: var(--muted)
}

.k-404 span .k-ic {
  width: 100%;
  height: 100%
}

.k-404 span .k-ic::before {
  border-width: .09em
}

.k-404 span .k-ic::after {
  background: var(--cream)
}

.k-404 span {
  position: relative;
  display: inline-block
}

.k-404 .k-ic--ring::before {
  animation: spin 14s linear infinite
}

.k-sec--cream .k-card .k-ic::after, .k-card .k-ic::after {
  display: none
}

@media (max-width: 900px) {
  .k-card .k-ic, .k-tabpanel .k-ic {
    width: 140px
  }
}

/* Runde Sitemap: Header-Kontakt, Ansatz, Filter, Footer 5 Spalten */
.k-hcontact {
  width: 40px
}

@media (max-width: 700px) {
  .k-hcontact {
    display: none
  }
}

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

.k-pfl > li {
  background: var(--bg);
  border-radius: var(--r-m);
  padding: clamp(26px, 3vw, 40px)
}

.k-pfl__k {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px
}

.k-pfl__k .ico {
  width: 18px;
  height: 18px
}

.k-pfl h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px
}

.k-pfl ul {
  margin: 12px 0 0;
  padding-left: 1.1em;
  display: grid;
  gap: 6px
}

.k-pfl__sol {
  background: var(--lime) !important;
  color: #051b31
}

.k-pfl__sol .k-pfl__k {
  color: #051b31
}

.k-pfl__sol ul {
  list-style: none;
  padding: 0
}

.k-pfl__sol li {
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid rgba(5, 27, 49, .2)
}

.k-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 28px
}

.k-fgroup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px
}

.k-fgroup__l {
  font-size: 13px;
  font-weight: 700;
  min-width: 100px
}

.k-filters .k-seg {
  margin-bottom: 0
}

.k-seg button[aria-pressed=true] {
  color: #051b31
}

.k-footer__top {
  grid-template-columns:minmax(0, 1fr)
}

.k-footer__cols {
  display: grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .12)
}

.k-fpartners a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700
}

.k-fpartners .brand {
  width: 20px;
  height: 20px;
  fill: currentColor
}

.k-fpartners .brand--wide {
  width: 96px;
  height: 20px
}

@media (max-width: 1100px) {
  .k-footer__cols {
    grid-template-columns:repeat(3, minmax(0, 1fr))
  }
}

@media (max-width: 900px) {
  .k-pfl {
    grid-template-columns:minmax(0, 1fr)
  }

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

@media (max-width: 520px) {
  .k-footer__cols {
    grid-template-columns:minmax(0, 1fr)
  }
}

/* Runde AGENTS.md: nur transform und opacity animieren */
.k-top {
  transition: none
}

.k-logo img {
  transition: transform .3s var(--ease);
  transform-origin: left center
}

.k-header.is-compact .k-logo img {
  height: 40px;
  transform: scale(.8)
}

/* Web Interface Guidelines (AGENTS.md): gemeinsame Basis für alle Designs */
a, button, summary, label, select, [role=button], [role=tab] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: color-mix(in srgb, currentColor 12%, transparent)
}

[id] {
  scroll-margin-top: 110px
}

[data-count-out], [data-count], .sc-count, time, a[href^="tel:"] {
  font-variant-numeric: tabular-nums
}

a[href^="tel:"] {
  white-space: nowrap
}

.ag-spin {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ag-spin .7s linear infinite;
  vertical-align: -.15em
}

@keyframes ag-spin {
  to {
    transform: rotate(360deg)
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-spin {
    animation: none;
    border-right-color: currentColor;
    opacity: .55
  }
}

.is-anim-paused, .is-anim-paused * {
  animation-play-state: paused !important
}

.ag-pause {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: inherit
}

/* Headlines: höchstens 60 px, keine Silbentrennung, kein Umbruch mitten im Wort */
h1, h2, h3, .c-h2, .k-h2, .sc-hl, .g-h1, .g-h2 {
  -webkit-hyphens: manual !important;
  hyphens: manual !important;
  overflow-wrap: normal !important;
  word-break: normal !important
}

h1, .sc-hl--display, .x-h1, .a1-h1 {
  font-size: clamp(2rem, 1rem + 3.1vw, 3.75rem) !important;
  line-height: 1.08 !important
}

/* =========================================================
   Inhaltselemente (ce-*) · gemeinsam für SinkaCom Design B und Agentur.net
   Gleiches Markup in beiden Websites (TYPO3-Standardelemente, EXT:form, News, Paginierung).
   Gestaltung nur über die Variablen --ce-*. Jede Website setzt sie in ihrer CSS-Datei.
   ========================================================= */
:root {
  --ce-ink: #051b31;
  --ce-text: #2c3446;
  --ce-muted: #5b6274;
  --ce-line: #d9cfbd;
  --ce-surface: #fff;
  --ce-alt: #ebe3d3;
  --ce-dark: #051b31;
  --ce-on-dark: #fff;
  --ce-accent: #e1df31;
  --ce-accent-ink: #051b31;
  --ce-link: #051b31;
  --ce-focus: #00679a;
  --ce-radius: 0px;
  --ce-radius-sm: 0px;
  --ce-field: #fffdf9;
  --ce-info: #00679a;
  --ce-ok: #1e7a46;
  --ce-warn: #8a5a00;
  --ce-err: #b3261e;
  --ce-fs-body: 17px;
  --ce-fs-small: 14px;
  --ce-h1: 3.75rem;
  --ce-h2: 2.75rem;
  --ce-h3: 1.875rem;
  --ce-h4: 1.5rem;
  --ce-h5: 1.375rem;
  --ce-h6: 1.25rem;
  --ce-w-h: 300;
  --ce-w-b: 800;
}

@media (max-width: 1024px) {
  :root {
    --ce-fs-body: 16px;
    --ce-h1: 2.5rem;
    --ce-h2: 1.875rem;
    --ce-h3: 1.625rem;
    --ce-h4: 1.5rem;
    --ce-h5: 1.375rem;
    --ce-h6: 1.25rem
  }
}

@media (max-width: 760px) {
  :root {
    --ce-h1: 2rem;
    --ce-h2: 1.75rem;
    --ce-h3: 1.5rem;
    --ce-h4: 1.375rem;
    --ce-h5: 1.25rem;
    --ce-h6: 1.25rem
  }
}

/* ---------- Überschriften und Fließtext (RTE-Ausgabe: .ce-prose) ---------- */
.ce-h1, .ce-h2, .ce-h3, .ce-h4, .ce-h5, .ce-h6, .ce-prose h2, .ce-prose h3, .ce-prose h4, .ce-prose h5, .ce-prose h6 {
  color: var(--ce-ink);
  margin: 0 0 .5em;
  font-family: inherit;
  hyphens: manual;
  overflow-wrap: normal
}

.ce-h1 {
  font-size: var(--ce-h1);
  font-weight: var(--ce-w-h);
  line-height: 1.05;
  letter-spacing: -.03em
}

.ce-h2, .ce-prose h2 {
  font-size: var(--ce-h2);
  font-weight: var(--ce-w-h);
  line-height: 1.1;
  letter-spacing: -.02em
}

.ce-h1 b, .ce-h2 b, .ce-prose h2 b {
  font-weight: var(--ce-w-b)
}

.ce-h3, .ce-prose h3 {
  font-size: var(--ce-h3);
  font-weight: 600;
  line-height: 1.2
}

.ce-h4, .ce-prose h4 {
  font-size: var(--ce-h4);
  font-weight: 700;
  line-height: 1.25
}

.ce-h5, .ce-prose h5 {
  font-size: var(--ce-h5);
  font-weight: 700;
  line-height: 1.3
}

.ce-h6, .ce-prose h6 {
  font-size: var(--ce-h6);
  font-weight: 600;
  line-height: 1.3
}

.ce-prose {
  color: var(--ce-text);
  font-size: var(--ce-fs-body);
  line-height: 1.7;
  max-width: 72ch
}

.ce-prose > * + * {
  margin-top: 1em
}

.ce-prose > h2, .ce-prose > h3 {
  margin-top: 1.6em
}

.ce-prose p {
  margin: 0
}

.ce-lead {
  font-size: clamp(1rem, .95rem + .35vw, 1.25rem);
  line-height: 1.6;
  color: var(--ce-ink);
  font-weight: 400;
  margin: 0
}

.ce-small, .ce-prose small {
  font-size: var(--ce-fs-small);
  color: var(--ce-muted)
}

.ce-prose a, .ce-link {
  color: var(--ce-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, var(--ce-link) 55%, transparent)
}

.ce-prose a:hover, .ce-link:hover {
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor
}

.ce-prose strong, .ce-prose b {
  font-weight: 700;
  color: var(--ce-ink)
}

.ce-prose abbr[title] {
  text-decoration: underline dotted
}

.ce-prose mark {
  background: color-mix(in srgb, var(--ce-accent) 55%, transparent);
  color: inherit;
  padding: 0 .15em
}

/* ---------- Listen ---------- */
.ce-prose ul, .ce-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45em
}

.ce-prose ul > li, .ce-ul > li {
  position: relative;
  padding-left: 1.4em
}

.ce-prose ul > li::before, .ce-ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5em;
  height: .5em;
  background: var(--ce-accent);
  border-radius: var(--ce-radius-sm)
}

.ce-prose ul ul > li::before, .ce-ul ul > li::before {
  background: transparent;
  border: 1.5px solid var(--ce-ink)
}

.ce-prose ol, .ce-ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ce;
  display: grid;
  gap: .45em
}

.ce-prose ol > li, .ce-ol > li {
  counter-increment: ce;
  position: relative;
  padding-left: 2.1em
}

.ce-prose ol > li::before, .ce-ol > li::before {
  content: counter(ce);
  position: absolute;
  left: 0;
  top: .05em;
  min-width: 1.5em;
  height: 1.5em;
  display: grid;
  place-items: center;
  font-size: .8em;
  font-weight: 800;
  color: var(--ce-accent-ink);
  background: var(--ce-accent);
  border-radius: var(--ce-radius-sm)
}

.ce-prose li ul, .ce-prose li ol, .ce-ul ul {
  margin-top: .45em
}

.ce-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6em
}

.ce-checks li {
  display: grid;
  grid-template-columns:1.4em minmax(0, 1fr);
  gap: .6em
}

.ce-checks li::before {
  content: "";
  width: 1.25em;
  height: 1.25em;
  margin-top: .2em;
  border-radius: 50%;
  background: var(--ce-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat
}

.ce-checks--on-red li::before {
  filter: invert(1)
}

.ce-linklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ce-line)
}

.ce-linklist a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ce-line);
  color: var(--ce-ink);
  font-weight: 600;
  text-decoration: none
}

.ce-linklist a::after {
  content: "→";
  transition: transform .2s
}

.ce-linklist a:hover::after {
  transform: translateX(4px)
}

.ce-dl {
  display: grid;
  grid-template-columns:minmax(120px, max-content) minmax(0, 1fr);
  gap: 8px 24px;
  margin: 0
}

.ce-dl dt {
  font-weight: 700;
  color: var(--ce-ink)
}

.ce-dl dd {
  margin: 0
}

/* ---------- Zitat ---------- */
.ce-quote {
  margin: 0;
  padding: 0 0 0 clamp(18px, 2.5vw, 32px);
  border-left: 4px solid var(--ce-accent);
  max-width: 60ch
}

.ce-quote p {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.75rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ce-ink)
}

.ce-quote footer, .ce-quote figcaption {
  margin-top: 12px;
  font-size: var(--ce-fs-small);
  color: var(--ce-muted)
}

/* ---------- Tabellen ---------- */
.ce-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ce-line);
  border-radius: var(--ce-radius);
  background: var(--ce-surface)
}

.ce-table-wrap:focus-visible {
  outline: 3px solid var(--ce-focus);
  outline-offset: 2px
}

.ce-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ce-text);
  font-variant-numeric: tabular-nums
}

.ce-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ce-ink);
  border-bottom: 1px solid var(--ce-line)
}

.ce-table th, .ce-table td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ce-line)
}

.ce-table thead th {
  background: var(--ce-dark);
  color: var(--ce-on-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap
}

.ce-table tbody th {
  font-weight: 700;
  color: var(--ce-ink)
}

.ce-table tbody tr:last-child > * {
  border-bottom: 0
}

.ce-table--zebra tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--ce-alt) 55%, transparent)
}

.ce-table--compact th, .ce-table--compact td {
  padding: 8px 12px
}

.ce-table .num {
  text-align: right;
  white-space: nowrap
}

.ce-table tfoot td, .ce-table tfoot th {
  font-weight: 700;
  color: var(--ce-ink);
  border-top: 2px solid var(--ce-ink)
}

.ce-table--light thead th {
  background: transparent;
  color: var(--ce-ink);
  border-bottom: 2px solid var(--ce-ink)
}

.ce-table-note {
  font-size: var(--ce-fs-small);
  color: var(--ce-muted);
  margin: 8px 0 0
}

@media (max-width: 760px) {
  .ce-table {
    font-size: 14px
  }

  .ce-table th, .ce-table td {
    padding: 10px 12px
  }

  .ce-table-wrap--sticky .ce-table tbody th, .ce-table-wrap--sticky .ce-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--ce-surface);
    box-shadow: 1px 0 0 var(--ce-line)
  }

  .ce-table-wrap--sticky .ce-table thead th:first-child {
    background: var(--ce-dark)
  }

  /* Gestapelt: jede Zeile als Karte, Spaltenname aus data-label */
  .ce-table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0)
  }

  .ce-table--stack tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--ce-line)
  }

  .ce-table--stack tbody tr:last-child {
    border-bottom: 0
  }

  .ce-table--stack th, .ce-table--stack td {
    display: grid;
    grid-template-columns:minmax(110px, 40%) minmax(0, 1fr);
    gap: 12px;
    border: 0;
    padding: 6px 14px
  }

  .ce-table--stack td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--ce-ink)
  }

  .ce-table--stack .num {
    text-align: left
  }
}

/* ---------- Rahmen (frame_class im jweiland-Sitepackage) ---------- */
.ce-frame {
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--ce-radius)
}

.ce-frame--alt {
  background: var(--ce-alt)
}

.ce-frame--box {
  background: var(--ce-surface);
  box-shadow: 0 1px 0 var(--ce-line), 0 18px 40px -28px rgba(0, 0, 0, .35)
}

.ce-frame--dark {
  background: var(--ce-dark);
  color: var(--ce-on-dark)
}

.ce-frame--dark :is(h2,h3,h4,.ce-h3,.ce-h4) {
  color: var(--ce-on-dark)
}

.ce-frame--line {
  border-left: 4px solid var(--ce-accent);
  border-radius: 0;
  padding-block: 4px
}

.ce-frame--indent {
  margin-left: clamp(0px, 8vw, 120px)
}

/* ---------- Ausklappbar ---------- */
.ce-acc {
  border-top: 1px solid var(--ce-line)
}

.ce-acc details {
  border-bottom: 1px solid var(--ce-line)
}

.ce-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ce-ink)
}

.ce-acc summary::-webkit-details-marker {
  display: none
}

.ce-acc summary::after {
  content: "+";
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1;
  transition: transform .2s
}

.ce-acc details[open] summary::after {
  transform: rotate(45deg)
}

.ce-acc .ce-acc__b {
  padding: 0 0 20px;
  max-width: 72ch
}

/* ---------- Reiter ---------- */
.ce-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--ce-line);
  margin-bottom: 24px
}

.ce-tabs__list [role=tab] {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ce-muted);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 16px;
  cursor: pointer
}

.ce-tabs__list [role=tab][aria-selected=true] {
  color: var(--ce-ink);
  border-bottom-color: var(--ce-accent)
}

.ce-tabs__list [role=tab]:focus-visible {
  outline: 3px solid var(--ce-focus);
  outline-offset: -3px
}

.ce-tabs [role=tabpanel][hidden] {
  display: none
}

@media (max-width: 760px) {
  .ce-tabs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none
  }

  .ce-tabs__list [role=tab] {
    white-space: nowrap
  }
}

/* ---------- Karten ---------- */
.ce-cards {
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px
}

.ce-card {
  display: flex;
  flex-direction: column;
  background: var(--ce-surface);
  border-radius: var(--ce-radius);
  overflow: hidden;
  color: var(--ce-text);
  text-decoration: none;
  border: 1px solid var(--ce-line);
  transition: transform .25s, box-shadow .25s
}

.ce-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .4)
}

.ce-card__img {
  aspect-ratio: 16/9;
  background: var(--ce-alt) center/cover
}

.ce-card__b {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.ce-card__k {
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-muted);
  margin: 0
}

.ce-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ce-ink);
  line-height: 1.3
}

.ce-card p {
  margin: 0;
  font-size: 15px
}

.ce-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--ce-ink)
}

.ce-card--dark {
  background: var(--ce-dark);
  color: var(--ce-on-dark);
  border-color: transparent
}

.ce-card--dark h3, .ce-card--dark .ce-card__more {
  color: var(--ce-on-dark)
}

.ce-card--dark .ce-card__k {
  color: color-mix(in srgb, var(--ce-on-dark) 75%, transparent)
}

/* ---------- Text und Bild ---------- */
.ce-media {
  display: grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center
}

.ce-media--right > .ce-figs {
  order: 2
}

.ce-fig {
  margin: 0
}

.ce-fig__img {
  aspect-ratio: 4/3;
  background: var(--ce-alt) center/cover;
  border-radius: var(--ce-radius)
}

.ce-fig figcaption {
  margin-top: 10px;
  font-size: var(--ce-fs-small);
  color: var(--ce-muted)
}

@media (max-width: 760px) {
  .ce-media {
    grid-template-columns:minmax(0, 1fr)
  }

  .ce-media--right > .ce-figs {
    order: 0
  }
}

/* ---------- Downloads ---------- */
.ce-files {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ce-line)
}

.ce-files a {
  display: grid;
  grid-template-columns:44px minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--ce-line);
  color: var(--ce-ink);
  text-decoration: none
}

.ce-files__ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ce-alt);
  border-radius: var(--ce-radius-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em
}

.ce-files b {
  font-weight: 600
}

.ce-files small {
  display: block;
  color: var(--ce-muted);
  font-size: 13px
}

.ce-files__dl {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em
}

/* ---------- Hinweise ---------- */
.ce-note {
  --c: var(--ce-info);
  display: grid;
  grid-template-columns:28px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 20px;
  border-left: 4px solid var(--c);
  background: color-mix(in srgb, var(--c) 8%, var(--ce-surface));
  border-radius: var(--ce-radius-sm);
  color: var(--ce-text)
}

.ce-note::before {
  content: "i";
  grid-row: span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px
}

.ce-note b {
  color: var(--ce-ink)
}

.ce-note p {
  margin: 0
}

.ce-note--ok {
  --c: var(--ce-ok)
}

.ce-note--ok::before {
  content: "✓"
}

.ce-note--warn {
  --c: var(--ce-warn)
}

.ce-note--warn::before {
  content: "!"
}

.ce-note--err {
  --c: var(--ce-err)
}

.ce-note--err::before {
  content: "×"
}

/* ---------- Formular (EXT:form) ---------- */
.ce-form {
  display: grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap: 18px 20px
}

.ce-form .full {
  grid-column: 1/-1
}

.ce-field {
  display: grid;
  gap: 6px;
  align-content: start
}

.ce-field > label, .ce-fs > legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ce-ink)
}

.ce-req {
  color: var(--ce-err)
}

.ce-in {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--ce-ink) 35%, var(--ce-line));
  border-radius: var(--ce-radius-sm);
  background: var(--ce-field);
  color: var(--ce-ink);
  font: inherit;
  font-size: 16px
}

.ce-in::placeholder {
  color: color-mix(in srgb, var(--ce-muted) 85%, transparent)
}

.ce-in:hover {
  border-color: var(--ce-ink)
}

.ce-in:focus {
  outline: 3px solid color-mix(in srgb, var(--ce-focus) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--ce-ink)
}

.ce-in:disabled {
  opacity: .55;
  cursor: not-allowed
}

textarea.ce-in {
  min-height: 130px;
  resize: vertical
}

select.ce-in {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px
}

.ce-help {
  font-size: 13px;
  color: var(--ce-muted)
}

.ce-field.is-error .ce-in {
  border-color: var(--ce-err);
  border-width: 2px
}

.ce-field.is-error .ce-help {
  color: var(--ce-err);
  font-weight: 600
}

.ce-fs {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0
}

.ce-fs > legend {
  padding: 0;
  margin-bottom: 10px
}

.ce-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
  cursor: pointer;
  font-size: 15px
}

.ce-choice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--ce-dark)
}

.ce-choices--row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px
}

.ce-file {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1.5px dashed color-mix(in srgb, var(--ce-ink) 35%, var(--ce-line));
  border-radius: var(--ce-radius-sm);
  background: var(--ce-field)
}

.ce-file input {
  font: inherit;
  font-size: 14px
}

@media (max-width: 760px) {
  .ce-form {
    grid-template-columns:minmax(0, 1fr)
  }
}

/* ---------- Brotkrumen ---------- */
.ce-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--ce-muted)
}

.ce-crumbs li + li::before {
  content: "/";
  margin-right: 6px
}

.ce-crumbs a {
  color: var(--ce-ink)
}

.ce-crumbs [aria-current] {
  font-weight: 600
}

/* ---------- Paginierung ---------- */
.ce-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0
}

.ce-pager a, .ce-pager span {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ce-line);
  border-radius: var(--ce-radius-sm);
  background: var(--ce-surface);
  color: var(--ce-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px
}

.ce-pager a:hover {
  border-color: var(--ce-ink)
}

.ce-pager [aria-current=page] {
  background: var(--ce-dark);
  color: var(--ce-on-dark);
  border-color: var(--ce-dark)
}

.ce-pager .ce-pager__gap {
  border: 0;
  background: none;
  min-width: 24px;
  padding: 0
}

.ce-pager .is-disabled {
  opacity: .4;
  pointer-events: none
}

.ce-pager__info {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ce-muted)
}

@media (max-width: 760px) {
  .ce-pager .ce-pager__far {
    display: none
  }
}

/* ---------- News-Liste ---------- */
.ce-news {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ce-line)
}

.ce-news a {
  display: grid;
  grid-template-columns:140px minmax(0, 1fr);
  gap: 6px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ce-line);
  color: var(--ce-text);
  text-decoration: none
}

.ce-news time, .ce-news__cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-muted)
}

.ce-news h3 {
  grid-column: 2;
  margin: 0;
  font-size: 1.25rem;
  color: var(--ce-ink)
}

.ce-news p {
  grid-column: 2;
  margin: 0;
  font-size: 15px
}

.ce-news a:hover h3 {
  text-decoration: underline;
  text-underline-offset: .2em
}

@media (max-width: 760px) {
  .ce-news a {
    grid-template-columns:minmax(0, 1fr)
  }

  .ce-news h3, .ce-news p {
    grid-column: 1
  }
}

.ce-news__empty {
  color: var(--ce-muted)
}

.ce-article__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 48px)
}

.ce-article__head .ce-h1, .ce-article__head .ce-lead {
  margin: 0
}

.ce-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-muted)
}

.ce-article__head + .ce-fig, .ce-fig + .ce-prose {
  margin-top: clamp(24px, 3vw, 40px)
}

.ce-article__rel {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px)
}

.ce-article__rel > .ce-h3 {
  margin: 0
}

.ce-article__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--ce-line)
}

.ce-article__nav a {
  color: var(--ce-ink);
  font-weight: 600;
  text-decoration: none
}

.ce-article__nav a:hover {
  text-decoration: underline;
  text-underline-offset: .2em
}

.ce-article__prev::before {
  content: "← "
}

.ce-article__next {
  grid-column: 2;
  text-align: right
}

.ce-article__next::after {
  content: " →"
}

.ce-article__back {
  margin: clamp(32px, 4vw, 48px) 0 0
}

@media (max-width: 760px) {
  .ce-article__nav {
    grid-template-columns: minmax(0, 1fr)
  }

  .ce-article__next {
    grid-column: 1;
    text-align: left
  }
}

/* ---------- Video mit Zustimmung (Klaro) ---------- */
.ce-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ce-dark);
  color: var(--ce-on-dark);
  border-radius: var(--ce-radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px
}

.ce-embed p {
  max-width: 46ch;
  margin: 0 0 14px;
  font-size: 15px
}

/* ---------- Dokumentation im Styleguide ---------- */
.sg-toc {
  columns: 3 220px;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0
}

.sg-toc li {
  break-inside: avoid;
  padding: 4px 0
}

.sg-toc a {
  color: var(--ce-ink);
  font-weight: 600
}

.sg-demo {
  border: 1px dashed var(--ce-line);
  border-radius: var(--ce-radius);
  padding: clamp(18px, 3vw, 32px);
  background: var(--ce-surface)
}

.sg-demo--alt {
  background: var(--ce-alt)
}

.sg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center
}

.sg-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 18px
}

.sg-spec th, .sg-spec td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--ce-line);
  vertical-align: top
}

.sg-spec th {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ce-muted)
}

.sg-spec code, .sg-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px
}

.sg-hint {
  font-size: 14px;
  color: var(--ce-muted);
  margin: 10px 0 0
}

.sg-weights {
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px
}

.sg-weights div {
  padding: 14px;
  border: 1px solid var(--ce-line);
  border-radius: var(--ce-radius-sm);
  background: var(--ce-surface)
}

.sg-weights span {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ce-ink)
}

.sg-weights small {
  font-size: 12px;
  color: var(--ce-muted)
}

.sg-scroll {
  overflow-x: auto
}

.sg-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ce-ink);
  margin: 36px 0 14px
}

.sg-sub:first-child {
  margin-top: 0
}

.sg-code {
  background: var(--ce-dark);
  color: var(--ce-on-dark);
  padding: 20px;
  border-radius: var(--ce-radius);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 0
}

@media print {
  .ce-table-wrap {
    overflow: visible;
    border: 0
  }

  .ce-table thead th {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 1pt solid #000
  }

  .ce-table th, .ce-table td {
    padding: 1.5mm 2mm;
    border-bottom: .5pt solid #999
  }

  .ce-card, .ce-note, .ce-files a, .ce-news a {
    break-inside: avoid
  }

  .ce-tabs [role=tabpanel][hidden] {
    display: block !important
  }

  .ce-tabs__list, .ce-embed, .ce-pager {
    display: none !important
  }

  .ce-frame--dark {
    background: #fff !important;
    color: #000 !important;
    border: .6pt solid #000
  }
}

/* ===== Agentur.net · Farben aus der CI-Palette, Basis Design C ===== */
:root {
  --navy: #051b31;
  --ink: #051b31;
  --text: #3a3a3a;
  --muted: #545254;
  --bg: #ffffff;
  --cream: #ece9ea;
  --grey: #dfdde2;
  --line: #d9d4d5;
  --card: #ece9ea;
  --stone: #d7d7cf;
  --lime: #f2141b;
  --lime-d: #b30e15;
  --red: #f2141b;
  --red-d: #d11018;
  --blue: #007bb0;
  --sky: #007bb0;
  --mist: #d7d7cf;
  --foot: #051b31;
  --foot-t: #d9d4d5;
}

/* Rote Flächen mit Schrift: dunkleres Rot und weiße Schrift (WCAG AA) */
.k-btn {
  background: var(--red-d);
  color: #fff
}

.k-btn:hover {
  background: var(--lime-d)
}

.k-btn .ar {
  background: #fff;
  color: var(--red-d)
}

.k-btn--navy {
  background: var(--navy);
  color: #fff
}

.k-btn--navy .ar {
  background: var(--red);
  color: #fff
}

.k-btn--white {
  background: #fff;
  color: var(--navy)
}

.k-btn--white:hover {
  background: var(--cream)
}

.k-btn--white .ar {
  background: var(--red-d);
  color: #fff
}

.k-btn--s {
  padding: 10px 18px;
  font-size: 14px
}

.k-skip, .demo nav a[aria-current], .k-steps li.is-on::before, .k-acc summary .pl, .k-next a:hover, .k-social a:hover, .k-totop {
  background: var(--red-d);
  color: #fff
}

.k-ic {
  background: var(--red);
  color: #fff
}

.k-seg__pill {
  background: var(--red-d)
}

.k-seg button[aria-selected=true] {
  color: #fff
}

.k-footer a:hover {
  color: #fff;
  text-decoration: underline
}

.k-card:nth-child(3n) {
  background: var(--stone)
}

.k-blob--a {
  background: radial-gradient(circle at 30% 30%, rgba(242, 20, 27, .18), transparent 70%)
}

.k-in:focus {
  box-shadow: 0 0 0 4px rgba(0, 123, 176, .25)
}

:focus-visible {
  outline-color: var(--blue)
}

/* Wortmarke (Platzhalter bis zur Logo-Datei) */
.a-logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--navy);
  white-space: nowrap
}

.a-logo b {
  color: var(--red-d);
  font-weight: 700
}

.k-footer .a-logo, .k-mob .a-logo {
  color: inherit
}

/* Navigation ohne Dropdowns */
.a-nav .k-nav__btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center
}

.a-nav .k-nav__btn[aria-current] {
  box-shadow: inset 0 -3px 0 var(--red)
}

.a-mobnav {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line)
}

.a-mobnav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink)
}

/* Bausteine */
.a-for {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted)
}

.a-for a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg)
}

.a-for a:hover {
  border-color: var(--ink)
}

.a-split {
  display: grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px 64px;
  align-items: start
}

.a-split .k-tiles {
  margin-top: 16px
}

.a-cta {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(56px, 7vw, 96px)
}

.a-cta__in {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between
}

.a-cta h2 {
  font-size: var(--fs-2);
  font-weight: 300;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0
}

.a-cta h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  margin-top: 18px;
  border-radius: 2px
}

.a-areas {
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 20px
}

.a-area {
  background: var(--bg);
  scroll-margin-top: 120px
}

.a-area ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 15px
}

.a-area li {
  display: flex;
  gap: 10px
}

.a-area li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  margin-top: 8px
}

.a-foot {
  grid-template-columns:minmax(0, 1.4fr) repeat(3, minmax(0, 1fr))
}

.a-partner {
  max-width: 30ch
}

.a-open {
  display: grid;
  gap: 10px;
  padding-left: 1.1em
}

@media (max-width: 1500px) {
  .k-sbox span:first-child {
    display: none
  }

  .k-sbox {
    min-width: 0
  }
}

@media (max-width: 1000px) {
  .k-nav {
    display: none
  }

  .k-burger {
    display: inline-grid
  }

  .a-split {
    grid-template-columns:minmax(0, 1fr)
  }
}

@media (max-width: 760px) {
  .k-tools .k-btn--s, .k-tools a.k-ib {
    display: none
  }
}

.k-logo span.a-logo {
  display: inline;
  letter-spacing: -.02em;
  font-size: 22px
}

.k-mob .a-logo {
  display: inline
}

.k-footer .k-addr {
  color: var(--foot-t)
}

.k-footer .k-addr b {
  color: #fff
}

@media (max-width: 900px) {
  .a-foot {
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }

  .a-foot > div:first-child {
    grid-column: 1/-1
  }
}

@media (max-width: 520px) {
  .a-foot {
    grid-template-columns:minmax(0, 1fr)
  }
}

.k-footer .a-partner a {
  text-decoration: underline;
  text-underline-offset: 3px
}

/* ===== Runde 07.11.2026: Rot, Weiß, Steingrau, Anthrazit · weniger Rot · mehr Dunkel ===== */
:root {
  --navy: #3a3a3a;
  --ink: #3a3a3a;
  --text: #3a3a3a;
  --muted: #545254;
  --bg: #ffffff;
  --cream: #ece9ea;
  --grey: #d7d7cf;
  --stone: #d7d7cf;
  --line: #d9d4d5;
  --card: #ece9ea;
  --foot: #3a3a3a;
  --foot-t: #d9d4d5;
  --anth: #3a3a3a;
  --anth-d: #2b2b2b; /* Anthrazit dunkel: abgeleitet, nur für die Testvariante */
}

/* Rot nur noch für: Haupt-Button, Logo-Punkt, kurzer Strich im Aktionsband */
.k-skip, .demo nav a[aria-current], .k-steps li.is-on::before, .k-acc summary .pl, .k-next a:hover, .k-social a:hover, .k-totop {
  background: var(--anth);
  color: #fff
}

.k-seg__pill {
  background: var(--anth)
}

.a-nav .k-nav__btn[aria-current] {
  box-shadow: inset 0 -3px 0 var(--anth)
}

.a-area li::before {
  background: var(--anth);
  border-radius: 2px;
  width: 7px;
  height: 7px
}

.k-mark::after {
  background: var(--stone)
}

.k-btn--navy .ar {
  background: #fff;
  color: var(--anth)
}

.k-blob--a {
  background: radial-gradient(circle at 30% 30%, rgba(58, 58, 58, .10), transparent 70%)
}

/* Mehr Dunkel an einzelnen Stellen: Aktionsband, Über-uns-Sektion, Footer */
.a-cta {
  background: var(--anth)
}

.k-footer {
  background: var(--anth)
}

.a-dark {
  background: var(--anth);
  color: #ece9ea
}

.a-dark .k-h2, .a-dark h2, .a-dark h3, .a-dark .k-h3 {
  color: #fff
}

.a-dark .k-head p, .a-dark p {
  color: #e3dfe0
}

.a-dark .k-tile {
  background: rgba(255, 255, 255, .06);
  color: #fff
}

.a-dark .k-reveal {
  color: #fff
}

.a-dark .k-reveal .w {
  --o: 1
}

/* Testvariante: Anthrazit mit rot-weißen Überschriften (wie Präsentationsvorlagen) */
html.v-anth .k-hero {
  background: var(--anth-d);
  color: #fff
}

html.v-anth .k-hero h1, html.v-anth .k-hero .k-lead, html.v-anth .k-hero .k-eyebrow, html.v-anth .k-hero .k-crumbs, html.v-anth .k-hero .k-crumbs a {
  color: #fff
}

html.v-anth .k-hero h1 b, html.v-anth .k-hero h1 .k-mark {
  color: var(--red)
}

html.v-anth .k-hero .k-mark::after {
  display: none
}

html.v-anth .k-hero .k-ic--ring {
  color: #fff
}

html.v-anth .k-hero .k-ic--ring::before {
  border-color: #fff;
  border-right-color: var(--red)
}

html.v-anth .k-hero .k-ic--ring::after {
  background: var(--anth-d)
}

html.v-anth .k-hero .k-quiet {
  color: #fff
}

html.v-anth .k-hero .a-for a {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4)
}

html.v-anth .k-hero .k-chip {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4)
}

html.v-anth .k-sec--grey {
  background: var(--anth-d);
  color: #ece9ea
}

html.v-anth .k-sec--grey .k-h2 {
  color: #fff
}

html.v-anth .k-sec--grey .k-h2 b {
  color: var(--red)
}

html.v-anth .k-sec--grey .k-head p, html.v-anth .k-sec--grey p, html.v-anth .k-sec--grey li {
  color: #e3dfe0
}

html.v-anth .k-sec--grey .k-seg {
  background: rgba(255, 255, 255, .08)
}

html.v-anth .k-sec--grey .k-seg button {
  color: #fff
}

html.v-anth .k-sec--grey .k-tabpanel h3 {
  color: #fff
}

html.v-anth .k-sec--grey .k-ic {
  color: #fff
}

html.v-anth .k-sec--grey .k-ic::before {
  border-color: #fff;
  border-right-color: var(--red)
}

html.v-anth .k-sec--grey .k-link {
  color: #fff
}

.a-variant {
  display: inline-flex;
  gap: 4px;
  align-items: center
}

.a-variant button {
  font: inherit;
  font-size: 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer
}

.a-variant button[aria-pressed=true] {
  background: #fff;
  color: var(--anth)
}

.k-footer h2 b {
  color: #fff
}

html.v-anth .k-sec--grey .k-tabpanel {
  background: rgba(255, 255, 255, .07)
}

html.v-anth .k-sec--grey .k-tabpanel li::before {
  background: #fff
}

html.v-anth .k-sec--grey .k-tabpanel .k-ic {
  color: #fff
}

/* ===== Runde 2, 07.11.2026 =====
   Text nur Anthrazit. Flächen: Rosegrau und Hellgrau mit 70 % Deckung. Boxen mit Rundung weiß. Icons wieder rot. */
:root {
  --hg70: #f2f0f0; /* Hellgrau #ece9ea mit 70 % Deckung auf Weiß */
  --rose: #d9d4d5; /* Rosegrau: Flächenfarbe */
  --bg: var(--hg70);
  --cream: var(--rose);
  --grey: var(--rose);
  --card: #fff;
  --ink: #3a3a3a;
  --text: #3a3a3a;
  --muted: #3a3a3a;
  --line: #cfc9ca;
}

body {
  background: var(--hg70)
}

.k-hero, .k-sec--cream, .k-sec--grey, .k-contact {
  background: var(--rose)
}

.k-header:not(.is-solid) {
  background: transparent
}

/* Boxen mit Rundung bleiben weiß, damit sie sich absetzen */
.k-card, .k-card:nth-child(3n), .k-sec--cream .k-card, .k-tile, .k-sec--cream .k-tile, .k-tabpanel, .k-acc details, .k-sec--cream .k-acc details, .k-case, .k-sec--cream .k-case, .a-area, .k-seg, .k-form .k-in, .a-for a {
  background: #fff
}

.k-tags span {
  background: var(--hg70)
}

/* Leistungen auf der Startseite: ohne graue Fläche und Rundung, Abstand zur Bühne */
#leistungen.k-sec--round {
  background: transparent;
  border-radius: 0;
  margin-inline: 0
}

/* Icons wieder rot: Kreis Rot, Symbol Weiß. Ringe Anthrazit mit rotem Segment */
.k-ic {
  background: var(--red);
  color: #fff;
  box-shadow: none
}

.k-ic--ring, .k-card .k-ic, .k-tabpanel .k-ic {
  background: transparent;
  color: var(--anth)
}

.k-ic--ring::before, .k-card .k-ic::before, .k-tabpanel .k-ic::before {
  border-color: var(--anth);
  border-right-color: var(--red)
}

.k-hero .k-ic--ring::after {
  background: var(--rose)
}

.a-dark .k-ic {
  background: var(--red);
  color: #fff;
  box-shadow: none
}

.k-blob--a {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), transparent 70%)
}

.k-blob--b {
  background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .35), transparent 70%)
}

/* Markierung unter dem Schlusswort der H1: Weiß auf Rosegrau */
.k-mark::after {
  background: #fff
}

/* Schrift nur Anthrazit */
.k-eyebrow, .k-meta, .k-help, .k-crumbs, .k-crumbs a, .k-link, .k-quiet, .k-card__n, .k-lead, .a-for, .k-addr, .k-tile p, .k-head p {
  color: var(--anth)
}

.a-area li::before {
  background: var(--red);
  border-radius: 50%;
  width: 7px;
  height: 7px
}

/* Linien auf Hellgrau sichtbar halten */
.k-acc {
  border-color: var(--line)
}

/* Schriftgrößen Tablet und Mobil: Fließtext 16 px, H2 bis H6 zwischen 30 und 20 px */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%
}

@media (max-width: 1024px) {
  :root {
    --fs-2: 30px;
    --fs-3: 22px
  }

  body {
    font-size: 16px;
    line-height: 1.65
  }

  .k-lead {
    font-size: 16px
  }

  .k-h2, .k-contact h2, .a-cta h2, main h2 {
    font-size: 30px;
    line-height: 1.12
  }

  .k-card h3 {
    font-size: 26px
  }

  main h3, .k-h3, .k-tile h3, .k-tabpanel h3 {
    font-size: 22px
  }

  .k-reveal {
    font-size: 24px
  }

  .k-acc summary {
    font-size: 16px
  }

  .k-eyebrow {
    font-size: 13px
  }

  .k-tags span {
    font-size: 12px
  }
}

@media (max-width: 760px) {
  .k-h2, .k-contact h2, .a-cta h2, main h2 {
    font-size: 28px
  }

  .k-card h3 {
    font-size: 24px
  }

  main h3, .k-h3, .k-tile h3, .k-tabpanel h3 {
    font-size: 20px
  }

  .k-reveal {
    font-size: 22px
  }

  .k-sec {
    padding-block: clamp(64px, 16vw, 96px)
  }
}

/* Inhaltselemente (ce-*) mit den Farben von Agentur.net */
:root {
  --ce-ink: #3a3a3a;
  --ce-text: #3a3a3a;
  --ce-muted: #3a3a3a;
  --ce-line: #cfc9ca;
  --ce-surface: #ffffff;
  --ce-alt: #d9d4d5;
  --ce-dark: #3a3a3a;
  --ce-on-dark: #ffffff;
  --ce-accent: #d11018;
  --ce-accent-ink: #ffffff;
  --ce-link: #3a3a3a;
  --ce-focus: #007bb0;
  --ce-radius: 16px;
  --ce-radius-sm: 8px;
  --ce-field: #ffffff;
  --ce-w-b: 700;
}

.ce-checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.ce-prose ul > li::before, .ce-ul > li::before {
  border-radius: 50%
}

.ce-pager a, .ce-pager span, .ce-in {
  border-radius: 999px
}

textarea.ce-in {
  border-radius: 16px
}

.ce-pager a, .ce-pager span {
  min-width: 44px
}

.k-form {
  background: #fff
}

/* ===== Korrekturen 10.11.2026 ===== */
/* Steingrau #d7d7cf gilt nicht mehr (Seitenstruktur 09.11.2026). Neutrale Töne: Rosegrau und Linien. */
:root {
  --grey: #d9d4d5;
  --stone: #cfc9ca;
  --mist: #cfc9ca
}

/* Reste aus der Basis ohne Agentur.net-Farbe */
.k-totop circle {
  stroke: currentColor
}

.k-next a:hover span {
  color: #fff
}

.k-btn--navy:hover {
  background: var(--anth-d)
}

.k-seg button[aria-pressed=true] {
  color: #fff
}

.k-pfl__sol, .k-pfl__sol .k-pfl__k {
  color: #fff
}

.g-code {
  background: var(--anth)
}

:root[data-theme="dark"] .k-btn--navy {
  color: var(--anth)
}

:root[data-theme="dark"] .k-btn--navy .ar {
  background: var(--anth);
  color: #fff
}

/* Styleguide: Icon-Kacheln. .sg-weights span überschrieb .k-ic (Anzeige, Farbe, Zentrierung). */
.sg-weights .k-ic {
  display: inline-grid;
  place-items: center;
  font-size: inherit;
  line-height: 1;
  color: #fff;
  background: var(--red)
}

.sg-weights div {
  min-width: 0
}

.sg-weights small {
  overflow-wrap: anywhere;
  min-width: 0
}

.ce-el + .ce-el {
  margin-top: clamp(32px, 4vw, 56px)
}

.ce-el > header + *, .ce-el > .ce-h2 + * {
  margin-top: 20px
}

.ce-space-before-small {
  margin-top: 16px !important
}

.ce-space-before-medium {
  margin-top: 48px !important
}

.ce-space-before-large {
  margin-top: 96px !important
}

.ce-space-after-small {
  margin-bottom: 16px
}

.ce-space-after-medium {
  margin-bottom: 48px
}

.ce-space-after-large {
  margin-bottom: 96px
}

.ce-acc {
  border-top: 0
}

.ce-acc details {
  background: #fff;
  border-bottom: 0;
  border-radius: var(--r-m);
  padding: 0 24px
}

.ce-acc details + details {
  margin-top: 10px
}

.ce-acc summary {
  padding: 22px 0;
  font-size: 16px;
  color: var(--anth)
}

.ce-acc summary::after {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--anth);
  color: #fff;
  font-size: 22px;
  transition: transform .3s var(--ease)
}

.ce-acc .ce-acc__b {
  padding: 0 0 24px;
  max-width: 70ch
}

.ce-acc .ce-acc__b > .ce-prose, .ce-acc .ce-acc__b > div {
  max-width: none
}

.ce-el--acc + .ce-el--acc {
  margin-top: 10px
}

.ce-cols {
  display: grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px)
}

.ce-cols__col > .ce-el + .ce-el {
  margin-top: 32px
}

@media (max-width: 760px) {
  .ce-cols {
    grid-template-columns:minmax(0, 1fr)
  }
}

.ce-prose > :first-child {
  margin-top: 0
}

.ce-prose a.k-btn {
  text-decoration: none
}

.ce-prose a.k-btn {
  color: #fff
}

.ce-prose a.k-btn--white {
  color: var(--anth)
}

a.k-btn:not(.k-btn--s):not(:has(.ar, > i))::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23d11018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat;
  transition: transform .3s var(--ease)
}

a.k-btn:not(.k-btn--s):not(:has(.ar, > i)):hover::after {
  transform: rotate(-45deg)
}

a.k-btn--white:not(:has(.ar))::after {
  background-color: var(--red-d);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.ce-prose p:has(> a.k-btn), .k-lead p:has(> a.k-btn) {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center
}

.k-lead p:has(> a.k-btn) {
  margin-top: 34px
}

/* Dunkle Sektion: Buttons hell, Überschrift mit rotem Strich wie im Aktionsband (.a-cta) */
.a-dark .k-btn, .a-dark .ce-prose a.k-btn {
  background: #fff;
  color: var(--anth)
}

.a-dark .k-btn:hover, .a-dark .ce-prose a.k-btn:hover {
  background: var(--cream)
}

.a-dark a.k-btn:not(.k-btn--s):not(:has(.ar, > i))::after {
  background-color: var(--red-d);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.a-dark .ce-prose h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  margin-top: 18px;
  border-radius: 2px
}

.ce-prose a.k-btn--white:hover {
  background: var(--cream)
}

/* Textlink k-quiet im Fließtext: Unterstreichung wie in der Vorlage, beim Hover rot */
.ce-prose a.k-quiet {
  color: var(--anth);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--anth) 40%, transparent)
}

.ce-prose a.k-quiet:hover {
  color: var(--anth);
  text-decoration-color: var(--lime)
}

/* Formular-Button: Pfeil kommt als leeres <i> aus Form/Navigation */
.k-btn > i:empty {
  display: inline-grid;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23d11018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat;
  transition: transform .3s var(--ease)
}

.k-btn:hover > i:empty {
  transform: rotate(-45deg)
}

/* Karten (Content Block «Karten»): Anzahl pro Zeile, Abstand und Fläche aus dem Backend */
.ce-cards--1 {
  grid-template-columns:minmax(0, 1fr)
}

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

.ce-cards--3 {
  grid-template-columns:repeat(3, minmax(0, 1fr))
}

.ce-cards--4 {
  grid-template-columns:repeat(4, minmax(0, 1fr))
}

@media (max-width: 900px) {
  .ce-cards--3, .ce-cards--4 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }
}

@media (max-width: 600px) {
  .ce-cards--2, .ce-cards--3, .ce-cards--4 {
    grid-template-columns:minmax(0, 1fr)
  }
}

.ce-cards--gap-28 {
  gap: 28px
}

.ce-cards--gap-48 {
  gap: 48px
}

.ce-cards--plain > .ce-card {
  background: transparent
}

.ce-cards--block > .ce-card {
  background: var(--rose);
  border-color: transparent
}

.k-sec--grey .ce-cards--block > .ce-card {
  background: #fff
}

.k-tiles--1 {
  grid-template-columns:minmax(0, 1fr)
}

.k-tiles--4 {
  grid-template-columns:repeat(4, minmax(0, 1fr))
}

@media (max-width: 1024px) {
  .k-tiles--4 {
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)
  }
}

@media (max-width: 760px) {
  .k-tiles--4 {
    grid-template-columns:minmax(0, 1fr)
  }
}

.a-dark .ce-prose strong, .a-dark .ce-prose b, .a-dark .ce-prose a:not(.k-btn) {
  color: inherit
}

.a-dark .k-tile p {
  color: #e3dfe0
}

.a-dark .k-tile .k-link {
  color: #fff
}

.a-dark .ce-card {
  background: rgba(255, 255, 255, .06);
  border-color: transparent;
  color: #e3dfe0
}

.a-dark .ce-card h3, .a-dark .ce-card .ce-card__more {
  color: #fff
}

.k-tabpanel[hidden] {
  display: none
}

.ce-prose.k-reveal-box {
  max-width: none
}

.k-reveal-box > .k-reveal {
  margin: 0;
  font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.9rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink)
}

.k-reveal-box > .k-reveal + .k-reveal {
  margin-top: .6em
}

.k-reveal-box > .k-reveal strong, .k-reveal-box > .k-reveal b {
  font-weight: 700;
  color: inherit
}

.a-dark .k-reveal-box > .k-reveal {
  color: #fff
}

@media (max-width: 1024px) {
  .k-reveal-box > .k-reveal {
    font-size: 24px
  }
}

@media (max-width: 760px) {
  .k-reveal-box > .k-reveal {
    font-size: 22px
  }
}

.a-dark .ce-el > header > h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  margin-top: 18px;
  border-radius: 2px
}

.ce-form-hint--bottom {
  display: none
}

#k-view > .k-sec--grey:last-child {
  border-radius: var(--r-l) var(--r-l) 0 0;
  margin-inline: 0;
  padding-block: clamp(80px, 9vw, 130px)
}

.ce-linklist--sub {
  border-top: 0;
  padding-left: clamp(16px, 3vw, 32px)
}

.ce-linklist--sub a {
  font-weight: 500
}

.ce-prose a:not([class*="k-"]), .ce-link {
  text-decoration-line: none
}

.ce-prose a:not([class*="k-"]):hover, .ce-link:hover {
  text-decoration-line: underline
}

.g-table td.g-sub {
  padding-left: 36px
}

.g-table a {
  font-weight: 600;
  text-decoration: none
}

.g-table a:hover {
  text-decoration: underline
}

.k-lead p:has(> .k-chip), .ce-prose p:has(> .k-chip) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px
}

.k-chip strong, .k-chip b {
  font-weight: inherit
}

p:has(> a.k-for) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  font-size: 14px;
  color: var(--anth)
}

a.k-for {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none
}

a.k-for:hover {
  border-color: var(--anth)
}

a.k-for strong, a.k-for b {
  font-weight: inherit
}

.ce-prose a.k-link, .k-lead a.k-link {
  color: var(--anth);
  text-decoration: none
}

.a-dark .ce-prose a.k-link {
  color: #fff
}

.ce-prose p:has(> a.k-link), .k-lead p:has(> a.k-link) {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center
}

.k-isearch > div {
  display: none
}
