/* Platform7 — Section styles */

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: var(--fg);
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.hero__photo { display: none; }
.hero__canvas-wrap {
  position: absolute;
  inset: 0;
  opacity: 1;
}
.hero__canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px var(--pad-x) 60px;
  z-index: 2;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__top > span:first-child {
  max-width: min(72ch, 100%);
}
.hero__title {
  font-size: clamp(56px, 10vw, 168px);
  margin: auto 0 0;
  max-width: 16ch;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  margin: 28px 0 36px;
  max-width: 56ch;
  font-size: clamp(17px, 1.7vw, 22px);
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  text-decoration: none;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}
.hero__scroll-dot {
  animation: scroll-dot 1.8s ease-in-out infinite;
}

/* ── About ─────────────────────────────────────────────── */
.about__title {
  font-size: clamp(40px, 6vw, 96px);
  margin: 24px 0 32px;
  max-width: 22ch;
}
.about__title em { font-style: italic; color: var(--accent); }
.about__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about__layout { grid-template-columns: 1fr; gap: 40px; } }
.about__col { display: flex; flex-direction: column; gap: 20px; }
.about__col .lead { margin: 0; }
.about__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-soft);
}
.about__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}
.about__media-cap {
  position: absolute;
  bottom: 14px; left: 14px;
  background: oklch(0.14 0.008 70 / 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: oklch(0.96 0.012 85);
  padding: 6px 10px;
  border-radius: 4px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
@media (max-width: 900px) { .about__stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .about__stats { grid-template-columns: 1fr; gap: 24px; } }
.stat__n { font-size: clamp(48px, 6vw, 88px); line-height: 1; }
.stat__label {
  margin-top: 12px;
  color: var(--fg-mute);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Kundenhistorie — bewusst leise: kleine graue Namen, Punkt-getrennt */
.about__clients {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.about__clients-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  margin-bottom: 18px;
}
.about__clients-list {
  margin: 0;
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--fg-mute);
  opacity: 0.75;
}
.about__clients-list span { white-space: nowrap; }
.about__clients-list span:not(:last-child)::after {
  content: "·";
  margin: 0 0.7em;
  opacity: 0.45;
}
.about__clients-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--fg-mute);
  opacity: 0.7;
}

.contact__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-mute);
  max-width: 44ch;
}

/* Cluster: optionaler Link (z. B. auf Referenzseiten) */
.cluster__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--fg);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.cluster__link:hover { color: var(--accent); }
.cluster__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

/* ── Referenzen (webdesign.php) ─────────────────────────────── */
.refhero { padding-top: clamp(140px, 20vh, 220px); padding-bottom: 24px; }
.refhero__title {
  font-size: clamp(44px, 7vw, 104px);
  margin: 24px 0 32px;
}
.refhero .lead { max-width: 62ch; }

/* Durchflug: gepinnte Fullscreen-Sektion, fly-refs.js steuert die Transforms */
.flyref { position: relative; }
.flyref__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: oklch(0.13 0.008 70);
}
.flyref__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
.flyref__slide:first-child { opacity: 1; visibility: visible; }
.flyref__visual {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  transform-origin: 50% 42%;
}
.flyref__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.flyref__chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: oklch(0.14 0.008 70 / 0.65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.flyref__chrome i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: oklch(0.96 0.012 85 / 0.25);
}
.flyref__chrome span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: oklch(0.96 0.012 85 / 0.7);
}
.flyref__info {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 92vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 56px 44px;
  background: oklch(0.14 0.008 70 / 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-left: 1px solid oklch(0.96 0.012 85 / 0.12);
  color: oklch(0.96 0.012 85);
  will-change: transform, opacity;
  z-index: 3;
}
.flyref__info-t { font-size: clamp(26px, 2.8vw, 40px); margin: 0; }
.flyref__info-d {
  margin: 0;
  color: oklch(0.96 0.012 85 / 0.75);
  font-size: 15px;
  line-height: 1.7;
}
.flyref__link {
  align-self: flex-start;
  color: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.flyref__link:hover { color: var(--accent); }
.flyref__hud {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px var(--pad-x);
  z-index: 5;
  color: oklch(0.96 0.012 85 / 0.8);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.flyref__track {
  flex: 1;
  height: 2px;
  background: oklch(0.96 0.012 85 / 0.15);
}
.flyref__fill {
  height: 100%;
  width: 0;
  background: var(--accent);
}
.flyref__hint { text-transform: uppercase; font-size: 10px; opacity: 0.7; }
@media (max-width: 760px) {
  .flyref__info {
    top: auto; left: 0; right: 0; bottom: 0;
    width: auto;
    max-height: 52vh;
    overflow-y: auto;
    justify-content: flex-start;
    padding: 26px 22px 60px;
    border-left: 0;
    border-top: 1px solid oklch(0.96 0.012 85 / 0.12);
  }
  .flyref__info-t { font-size: 24px; }
}

/* Statischer Fallback: ohne JS (no-js) oder bei reduzierter Bewegung */
.no-js .flyref,
.flyref--static { height: auto !important; }
.no-js .flyref__pin,
.flyref--static .flyref__pin {
  position: static;
  height: auto;
  overflow: visible;
}
.no-js .flyref__slide,
.flyref--static .flyref__slide {
  position: relative;
  inset: auto;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 48px var(--pad-x);
  max-width: 1400px;
  margin: 0 auto;
}
.no-js .flyref__visual,
.flyref--static .flyref__visual {
  position: relative;
  inset: auto;
  border: 1px solid oklch(0.96 0.012 85 / 0.15);
  border-radius: 10px;
  overflow: hidden;
}
.no-js .flyref__visual img,
.flyref--static .flyref__visual img {
  position: static;
  height: auto;
  padding-top: 38px;
}
.no-js .flyref__info,
.flyref--static .flyref__info {
  position: static;
  width: auto;
  border-left: 0;
  padding: 26px 0 0;
  background: transparent;
  opacity: 1 !important;
  transform: none !important;
}
.no-js .flyref__hud,
.flyref--static .flyref__hud { display: none; }

/* SEO-/Standort-Block + CTA */
.refseo { padding-top: 40px; padding-bottom: 0; }
.refseo__inner {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.refseo .lead { max-width: 68ch; margin-top: 18px; }
.refcta { text-align: left; }
.refcta__inner .display { font-size: clamp(36px, 5.4vw, 76px); margin-bottom: 28px; }


/* ── Advantages ────────────────────────────────────────── */
.adv__head { margin-bottom: 80px; max-width: 1000px; }
.adv__title {
  font-size: clamp(40px, 5.6vw, 88px);
  margin: 24px 0 0;
}
.adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .adv__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .adv__grid { grid-template-columns: 1fr; } }
.adv__card {
  background: var(--bg);
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
  transition: background 0.3s;
}
.adv__card:hover { background: var(--bg-soft); }
.adv__card:hover .adv__media img { transform: scale(1.04); }
.adv__media {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 8px;
}
.adv__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.6s ease;
}
.adv__num, .adv__t, .adv__d { padding: 0 32px; }
.adv__num { padding-top: 8px; }
.adv__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.adv__t {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.adv__d {
  margin: 0;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ── Branchen ──────────────────────────────────────────── */
.branchen__head { max-width: 900px; margin-bottom: 80px; }
.branchen__head h2 {
  font-size: clamp(40px, 6vw, 96px);
  margin: 24px 0 32px;
}
.branchen__head em { font-style: italic; color: var(--accent); }
.branchen__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.branche {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform 0.4s ease, background 0.3s;
}
.branche:hover { transform: translateY(-4px); background: var(--bg-soft); }
@media (max-width: 800px) { .branche { grid-template-columns: 1fr; } }
.branche__visual {
  position: relative;
  min-height: 360px;
  background: var(--bg-soft);
  color: var(--fg);
  overflow: hidden;
}
.branche__visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 0.8s ease;
}
.branche:hover .branche__visual img { transform: scale(1.05); }
.branche__visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 50%);
}
.branche__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.branche__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.branche__t {
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0;
}
.branche__d {
  margin: 0;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.55;
  max-width: 50ch;
}
.branche__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.branche__list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
}
.branche__cta {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.branche__cta .arrow { transition: transform 0.2s; }
.branche__cta:hover .arrow { transform: translateX(4px); }

/* ── Cluster ───────────────────────────────────────────── */
.cluster__head { max-width: 1000px; margin-bottom: 80px; }
.cluster__head h2 {
  font-size: clamp(40px, 6vw, 96px);
  margin: 24px 0 0;
}
.cluster__head em { font-style: italic; color: var(--accent); }
.cluster__list {
  display: flex;
  flex-direction: column;
}
.cluster__row {
  display: grid;
  grid-template-columns: 200px 1fr 1.3fr;
  gap: 60px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.cluster__row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .cluster__row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
}
.cluster__n {
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  color: var(--accent);
}
.cluster__tag { color: var(--fg-mute); margin-top: 8px; }
.cluster__t {
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0 0 16px;
}
.cluster__body {
  margin: 0;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.55;
  max-width: 48ch;
}
.cluster__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cluster__points li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  color: var(--fg);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
}
.cluster__points .bullet {
  color: var(--accent);
  font-size: 8px;
}

/* ── Lego ──────────────────────────────────────────────── */
.lego__head { max-width: 1000px; margin-bottom: 60px; }
.lego__head h2 {
  font-size: clamp(40px, 6vw, 96px);
  margin: 24px 0 32px;
}
.lego__head em { font-style: italic; color: var(--accent); }
.lego__board {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 40px;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .lego__board { grid-template-columns: 1fr; padding: 24px; }
}
.lego__grid {
  display: grid;
  gap: 8px;
  position: relative;
}
.lego__cell {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 4px;
}
.lego__brick {
  position: relative;
  background: var(--fg);
  color: var(--bg);
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease;
  overflow: hidden;
}
.lego__brick:hover { transform: scale(0.985); }
.lego__brick-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.lego__brick-label {
  font-family: var(--font-display);
  line-height: 1.05;
}
.lego__palette-h { margin-bottom: 16px; }
.lego__palette-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lego__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.lego__pill:hover { border-color: var(--fg-soft); }
.lego__pill.is-active {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.lego__pill-size {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.5;
  min-width: 28px;
}
.lego__pill-state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

/* ── Funnel ────────────────────────────────────────────── */
.funnel { background: var(--bg-soft); }
.funnel__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.funnel__head h2 {
  font-size: clamp(36px, 5.2vw, 76px);
  margin: 24px 0 24px;
}
.funnel__head .lead { margin: 0 auto; }
.funnel__panel {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 40px 40px;
  box-shadow: 0 24px 60px -30px oklch(0 0 0 / 0.2);
}
.funnel__bar {
  height: 2px;
  background: var(--bg-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.funnel__bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(.2,.6,.2,1);
}
.funnel__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-mute);
  margin-bottom: 32px;
}
.funnel__step { animation: funnel-in 0.4s cubic-bezier(.2,.6,.2,1); }
@keyframes funnel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.funnel__q {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 28px;
}
.funnel__opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.funnel__opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.funnel__opt:hover {
  border-color: var(--fg);
  background: var(--bg-soft);
}
.funnel__opt.is-sel {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.funnel__opt-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}
.funnel__opt-body { display: flex; flex-direction: column; gap: 4px; }
.funnel__opt-label {
  font-size: 16px;
  font-weight: 500;
}
.funnel__opt-hint {
  font-size: 13px;
  color: var(--fg-mute);
}
.funnel__opt-arrow {
  color: var(--fg-mute);
  transition: color 0.2s, transform 0.2s;
}
.funnel__opt:hover .funnel__opt-arrow {
  color: var(--accent);
  transform: translateX(4px);
}
.funnel__back {
  margin-top: 24px;
  background: transparent;
  border: 0;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.funnel__back:hover { color: var(--fg); }
.funnel__result-tag { color: var(--accent); margin-bottom: 12px; }
.funnel__result-body {
  margin: 0 0 24px;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.55;
}
.funnel__result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .funnel__result-grid { grid-template-columns: 1fr; } }
.funnel__chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 6px;
  font-size: 14px;
}
.funnel__chip-i {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.funnel__result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Kontaktformular in der Ergebnisansicht (Template in index.php, Logik funnel.js) */
.funnel__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.funnel__form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.funnel__form-intro {
  margin: -6px 0 4px;
  font-size: 14px;
  color: var(--fg-mute);
}
.funnel__form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px) { .funnel__form-grid { grid-template-columns: 1fr; } }
.funnel__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.funnel__input,
.funnel__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.2s;
}
.funnel__textarea { resize: vertical; }
.funnel__input:focus,
.funnel__textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}
/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld
   (bewusst kein display:none) */
.funnel__hp { position: absolute; left: -9999px; }
.funnel__form-privacy {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--fg-mute);
}
.funnel__form-privacy a {
  color: inherit;
  text-decoration: underline;
}
.funnel__form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.funnel__form-msg {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--fg);
}
.funnel__form-msg a { text-decoration: underline; }
.funnel__form-success {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 8px;
}
.funnel__form-success p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--fg-soft);
}
.funnel__form-success a { text-decoration: underline; }

/* ── Case Study ────────────────────────────────────────── */
.case__head { max-width: 900px; margin-bottom: 80px; }
.case__head h2 {
  font-size: clamp(40px, 6vw, 96px);
  margin: 24px 0 0;
}
.case__head em { font-style: italic; color: var(--accent); }
.case__body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .case__body { grid-template-columns: 1fr; gap: 40px; } }
.case__photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
  color: var(--fg);
}
.case__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05);
}
.case__caption {
  margin-top: 16px;
  color: var(--fg-mute);
  font-size: 11px;
}
.case__quote {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.case__story {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}
.case__story strong { color: var(--fg); font-weight: 600; }
.case__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 600px) { .case__metrics { grid-template-columns: 1fr; gap: 16px; } }
.metric__n { font-size: clamp(32px, 3.6vw, 48px); line-height: 1; color: var(--accent); }
.metric__l {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-mute);
}
.case__cta {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.case__cta:hover .arrow { transform: translateX(4px); }
.case__cta .arrow { transition: transform 0.2s; }

/* ── Flow ──────────────────────────────────────────────── */
.flow__head { max-width: 1000px; margin-bottom: 60px; }
.flow__head h2 {
  font-size: clamp(40px, 6vw, 96px);
  margin: 24px 0 0;
}
.flow__list {
  display: flex;
  flex-direction: column;
}
.flow__row {
  display: grid;
  grid-template-columns: 100px minmax(220px, 1fr) 1.4fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.3s;
}
.flow__row:last-child { border-bottom: 1px solid var(--line); }
.flow__row:hover { padding-left: 12px; }
@media (max-width: 800px) {
  .flow__row { grid-template-columns: 60px 1fr; gap: 16px; }
  .flow__d { grid-column: 1 / -1; padding-left: 76px; }
}
.flow__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.flow__t {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.01em;
}
.flow__d {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
}

/* ── Contact ───────────────────────────────────────────── */
.contact { padding-top: 0; padding-bottom: 0; }
.contact__marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 100px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -0.01em;
}
.contact__track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}
.contact__track span { padding-right: 24px; color: var(--fg); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.contact__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 100px;
}
@media (max-width: 900px) { .contact__body { grid-template-columns: 1fr; gap: 40px; } }
.contact__person {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__photo {
  width: 220px;
  aspect-ratio: 1;
  background: var(--bg-soft);
  border-radius: 50%;
  overflow: hidden;
  color: var(--accent);
}
.contact__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.contact__name {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-top: 8px;
}
.contact__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.contact__quote { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.contact__quote p {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.contact__details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-soft);
}
@media (max-width: 720px) { .contact__details { grid-template-columns: 1fr; gap: 24px; } }
.contact__details > div { display: flex; flex-direction: column; gap: 6px; }
.contact__details .eyebrow { margin-bottom: 8px; }
.contact__details a, .contact__details p {
  margin: 0;
  color: var(--fg);
  text-decoration: none;
  line-height: 1.5;
}
.contact__details a:hover { color: var(--accent); }
.contact__logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  align-self: flex-start;
}
[data-theme="dark"] .contact__logo {
  filter: invert(1) hue-rotate(180deg);
}

/* ── KI-Story (ki-assistent.php) ───────────────────────── */
.kishero { padding-top: clamp(140px, 20vh, 220px); padding-bottom: 24px; }
.kishero__title {
  font-size: clamp(36px, 4.8vw, 76px);
  margin: 0 0 28px;
  max-width: 24ch;
}
.kishero .lead { max-width: 62ch; }
.kishero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.kis__head { max-width: 900px; margin-bottom: clamp(40px, 6vh, 72px); }
.kis__head h2 {
  font-size: clamp(30px, 3.8vw, 58px);
  margin: 18px 0 22px;
}
.kis__head .lead { max-width: 68ch; }

/* sanft abgesetzte Kapitel (2 & 7) */
.kis--soft { background: var(--bg-soft); }

/* große Zwischen-Statements */
.kis-punch {
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.12;
  max-width: 26ch;
  margin: clamp(40px, 6vh, 64px) 0 0;
}

/* Kapitel 1 — zwei Problem-Karten */
.kis-problems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.kis-problem {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--bg-elev);
}
.kis-problem__tag { margin-bottom: 16px; color: var(--accent); }
[data-theme="light"] .kis-problem__tag { color: var(--fg-mute); }
.kis-problem__t { font-size: clamp(22px, 2.2vw, 32px); margin: 0 0 14px; }
.kis-problem__d { margin: 0; line-height: 1.6; color: var(--fg-soft); }

/* Kapitel 2 — drei Kanäle */
.kis-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.kis-channel {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.kis-channel__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  margin-bottom: 14px;
}
.kis-channel__t {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.kis-channel__d { margin: 0; line-height: 1.6; color: var(--fg-soft); font-size: 15px; }

/* Kapitel 3 & 4 — Service | Vertrieb nebeneinander */
.kis-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.kis-col { display: flex; flex-direction: column; gap: 18px; }
.kis-col__t { font-size: clamp(24px, 2.4vw, 36px); margin: 6px 0 0; }
.kis-col__d { margin: 0; line-height: 1.65; color: var(--fg-soft); }
.kis-list {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kis-list li {
  display: flex;
  gap: 12px;
  line-height: 1.55;
  font-size: 15px;
  color: var(--fg);
}
.kis-list .bullet { color: var(--accent); font-size: 8px; line-height: 2.6; flex-shrink: 0; }
.kis-col__bonus {
  margin: 6px 0 0;
  padding: 18px 22px;
  border-left: 2px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 14px 14px 0;
  line-height: 1.6;
  color: var(--fg-soft);
  font-size: 15px;
}
.kis--soft .kis-col__bonus,
.kis-dsgvo .kis-col__bonus { background: var(--bg-elev); }

/* Beratungsfelder (beratung.php): Liste + Fazit unterhalb des kis__head */
.ber__body {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Kapitel 5 — DSGVO, dunkel abgesetzt (Vertrauens-Herzstück) */
.kis-dsgvo {
  background: oklch(0.18 0.008 70);
  color: oklch(0.96 0.012 85);
  --fg: oklch(0.96 0.012 85);
  --fg-soft: oklch(0.78 0.012 80);
  --fg-mute: oklch(0.62 0.012 75);
  --line: oklch(0.96 0.012 85 / 0.14);
  --bg-elev: oklch(0.22 0.009 70);
  --bg-soft: oklch(0.26 0.01 70);
}
.kis-dsgvo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.kis-dsgvo__item {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 36px);
  background: var(--bg-elev);
}
.kis-dsgvo__t {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.kis-dsgvo__d { margin: 0; line-height: 1.6; color: var(--fg-soft); font-size: 15px; }
.kis-dsgvo__cta { margin-top: 36px; }

/* Kapitel 6 — CRM-Flows (Wenn → Dann) */
.kis-flows { display: flex; flex-direction: column; }
.kis-flow {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) auto 2fr;
  gap: clamp(14px, 2.5vw, 32px);
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.kis-flow:last-child { border-bottom: 1px solid var(--line); }
.kis-flow__wenn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(17px, 1.6vw, 21px);
}
.kis-flow__arrow { color: var(--accent); font-size: 18px; }
.kis-flow__dann { line-height: 1.55; color: var(--fg-soft); font-size: 15px; }
.kis-flows__note { margin-top: 36px; }

/* Kapitel 7 — Fazit */
.kis-fazit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: clamp(36px, 5vh, 56px);
}
.kis-fazit__item { border-top: 1px solid var(--line); padding-top: 18px; }
.kis-fazit__t { margin-bottom: 12px; }
.kis-fazit__d { margin: 0; line-height: 1.6; color: var(--fg-soft); font-size: 15px; }

/* Abschluss-CTA — Lead-Absatz zwischen Headline und Button */
.kis-cta__lead { margin: 0 0 8px; }
.refcta__inner .kis-cta__lead + .btn { margin-top: 12px; }
.contact__note a { color: inherit; }

@media (max-width: 900px) {
  .kis-problems,
  .kis-duo,
  .kis-dsgvo__grid { grid-template-columns: 1fr; }
  .kis-channels { grid-template-columns: 1fr; gap: 20px; }
  .kis-fazit { grid-template-columns: 1fr 1fr; }
  .kis-flow { grid-template-columns: 1fr; gap: 8px; }
  .kis-flow__arrow { display: none; }
}
@media (max-width: 560px) {
  .kis-fazit { grid-template-columns: 1fr; }
}

/* ── Rechtstexte (impressum.php / datenschutz.php) ─────── */
.legal { padding-top: clamp(130px, 16vh, 190px); }
.legal__inner { max-width: 76ch; }
.legal__title {
  font-size: clamp(34px, 4.2vw, 60px);
  margin: 16px 0 40px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 48px 0 12px;
}
.legal p,
.legal li,
.legal address {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-soft);
}
.legal p { margin: 0 0 16px; }
.legal address { font-style: normal; margin: 0 0 16px; }
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal a:hover { color: var(--accent); }
