/* Startseite Entwurf W (08.11.2026). Aufbau nach Trueform, Projekte und Hell-Dunkel-Übergang nach Push Refresh,
   Partikel-Logo nach Innomit, Handy-Klarheit nach Webnity und Framer. Farben werden beim Scrollen weich überblendet (w.js). */
:root {
  --bg: #ffffff; --fg: #0a0a0b; --fg-2: rgba(10, 10, 11, 0.62); --linie: rgba(10, 10, 11, 0.1); --karte: #f4f4f5;
  --font: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
/* Inhalte mittelbreit (zwischen 1280 und 1880), nur der Referenz-Streifen läuft über die volle Breite */
.rahmen { max-width: 1560px; margin: 0 auto; padding: 0 clamp(40px, 5.5vw, 96px); } /* etwas schmaler (Mischa, 08.11.): vorher 1640 / 4,5vw / 80 */

/* Navigation */
/* Glas wie bei Push Refresh: halb durchsichtig, Inhalt darunter verschwimmt; Linie erst nach dem ersten Scrollen */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 24%, transparent); -webkit-backdrop-filter: blur(7px) saturate(1.8); backdrop-filter: blur(7px) saturate(1.8); border-bottom: 1px solid transparent; transition: background-color 260ms ease, border-color 260ms ease; } /* durchsichtiger und weniger Blur (Mischa, 08.11.) */
.nav.gescrollt { border-bottom-color: color-mix(in srgb, var(--fg) 7%, transparent); } /* hellere, feinere Linie */
/* Farbwechsel in der Navigation weich statt schlagartig */
.nav-links a, .nav-burger { transition: color 260ms ease; }
.nav-cta { transition: background-color 260ms ease, color 260ms ease; }
.nav-in { max-width: 1560px; margin: 0 auto; padding: 16px clamp(40px, 5.5vw, 96px); display: flex; align-items: center; gap: 28px; }
.nav-logo img { height: 30px; width: auto; } /* größer auf Mischas Wunsch (08.11.), vorher 22 px */
.nav-logo { margin-right: 12px; }
/* Logos hell/dunkel überblenden statt umschalten */
.nav-logo { position: relative; display: inline-flex; }
.logo-hell, .logo-dunkel { transition: opacity 260ms ease; }
.logo-dunkel { position: absolute; left: 0; top: 0; opacity: 0; }
body.dunkel .logo-hell { opacity: 0; } body.dunkel .logo-dunkel { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 14px; color: var(--fg-2); }
/* Punkte der Navigation: beim Überfahren im Stil der Leistungs-Kästchen (leicht transparent, 4 px) */
.nav-links a, .nav-mega-knopf { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 4px; border: 1px solid transparent; color: var(--fg-2); text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.nav-mega-knopf { font: inherit; font-size: 14px; background: none; cursor: pointer; }
.nav-links a:hover, .nav-mega-knopf:hover, .nav-mega-knopf[aria-expanded="true"] { color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); border-color: color-mix(in srgb, var(--fg) 10%, transparent); }
.nav-pfeil { width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 200ms ease, margin 200ms ease; }
.nav-mega-knopf[aria-expanded="true"] .nav-pfeil { transform: rotate(-135deg); margin-top: 3px; }
.nav-cta { margin-left: auto; height: 36px; padding: 0 16px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; background: var(--fg); color: var(--bg); }
/* „Menü“ als Wort statt Strich-Icon, wie bei Push Refresh; sichtbar, sobald die Links ausgeblendet sind */
.nav-burger { display: none; height: 40px; padding: 0 2px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--fg); cursor: pointer; }

.abschnitt { position: relative; }

/* 1 Hero */
.hero { padding: 96px 0 0; } /* unten keine Luft: die Bildleiste stößt direkt an den dunklen Abschnitt, wie bei Push Refresh */ /* ohne Kreis: mehr Luft oben, ruhig wie Trueform */
.hero-raster { display: block; }
/* Google-Zeile: G und Sterne in Anthrazit, statt bunter Marke und gelber Sterne */
.g-zeile { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--fg-2); }
.g-logo { width: 17px; height: 17px; fill: var(--fg); opacity: 0.86; }
.g-sterne { display: inline-flex; gap: 2px; }
.g-sterne svg { width: 15px; height: 15px; fill: var(--fg); opacity: 0.86; }
.hero h1 { margin-top: 22px; font-weight: 500; font-size: clamp(40px, 22px + 3.3vw, 66px); line-height: 1.02; letter-spacing: -0.038em; text-wrap: balance; } /* Größe wie vorher (Mischa, 08.11.), nur zweizeilig */
/* Desktop: genau zwei Zeilen „Webseiten, die Kunden gewinnen / und Abläufe automatisieren.“ (Mischa, 08.11.) */
.br-desktop { display: none; }
@media (min-width: 720px) { .br-desktop { display: inline; } .hero h1 { white-space: nowrap; text-wrap: nowrap; } }
@media (min-width: 720px) { .hero h1 { font-size: min(6.1vw, 22px + 3.3vw, 66px); } }
.unter { margin-top: 24px; max-width: 38em; font-size: clamp(17px, 15px + 0.35vw, 20px); line-height: 1.5; font-weight: 480; color: var(--fg-2); text-wrap: balance; } /* größer und etwas kräftiger, damit der Satz neben der H1 trägt */
.knoepfe { display: flex; gap: 10px; margin-top: 30px; }
.kn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 8px; font-size: 15px; font-weight: 500; transition: background-color 160ms ease, color 160ms ease; }
.kn-voll { background: var(--fg); color: var(--bg); }
.kn-rand { border: 1px solid var(--fg); color: var(--fg); }
.kn-rand:hover { background: var(--fg); color: var(--bg); }
/* Formsprache seit 08.11.: eckig, leicht gerundet (Knöpfe 8, Pfeil-Kasten 4, Boxen 8, Projektkarten 4, Foto 8; Kontaktleiste vorerst rund) */
/* „Projekt anfragen“: Kasten mit Pfeil, monochrom (nach Push Refresh, ohne deren Grün) */
.kn-pfeil { gap: 12px; padding-right: 6px; }
.pfeil { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 4px; background: var(--bg); transition: background-color 260ms ease; } /* Monochrom (Option A, Mischa 08.11.): Kasten in der Gegenfarbe des Knopfs; 4 px passend zu 8 px außen */
.pfeil svg { width: 17px; height: 17px; fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease, stroke 260ms ease; }
.kn-pfeil:hover .pfeil svg { transform: translateX(2px); }
.nav-cta.kn-pfeil { gap: 10px; padding-right: 4px; }
.nav-cta .pfeil { width: 28px; height: 28px; }
.nav-cta .pfeil svg { width: 14px; height: 14px; }
.partikel-feld { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
/* Zeile zum Ablauf im Kreis, sitzt in der Lücke bei 6 Uhr (nur Desktop, w.js setzt .mit-ablauf) */
.ablauf-text { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); display: none; margin: 0; white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--fg-2); }
.mit-ablauf .ablauf-text { display: flex; }
.partikel-feld canvas { width: 100%; height: 100%; }

/* Logo-Karussell direkt unter dem Hero (nach Trueform), ohne Satz und ohne Linie; Logos laufen durch, Ränder blenden aus */
.logos { display: flex; align-items: center; gap: 48px; margin-top: 48px; } /* Linie darüber entfernt (Mischa, 08.11.) */
.logos p { flex: none; font-size: 15px; font-weight: 640; } /* dicker auf Mischas Wunsch (08.11.) */
.logos-zeile { flex: 1; min-width: 0; overflow: hidden; padding: 8px 0; /* Luft oben/unten, sonst schneidet der Ausschnitt größere, versetzte Logos an */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 86%, transparent); }
/* drei gleiche Sätze, Abstand als Rand statt gap, damit -33,33 % genau einen Satz weiterschiebt */
.logos-zeile ul { display: flex; align-items: center; width: max-content; --lh: 34px; animation: band 50s linear infinite; } /* Logos größer auf Mischas Wunsch (08.11.), erst 22, dann 30 px */
.logos-zeile li { flex: none; margin-right: 88px; }
.logos-zeile:hover ul { animation-play-state: paused; }
body.dunkel .logos-zeile img { filter: none; opacity: 0.45; }
.logos-zeile img { height: calc(var(--lh) * var(--f)); width: auto; max-width: none; filter: brightness(0); opacity: 0.36; transform: translateY(calc(var(--lh) * var(--f) * var(--dy))); }

/* 2 Projekte */
/* Harte Kante oben: solange der Hero gilt, trägt der dunkle Abschnitt seine eigenen Farben (w.js setzt eigen-dunkel) */
.eigen-dunkel { --bg: rgb(11, 11, 12); --fg: rgb(245, 245, 246); --fg-2: rgba(245, 245, 246, 0.62); --linie: rgba(245, 245, 246, 0.1); --karte: rgb(28, 28, 31); background: var(--bg); color: var(--fg); }
.projekte { padding: 120px 0 170px; } /* unten mehr Luft, damit die Projekte noch ganz dunkel stehen, bevor der Übergang beginnt */
/* Statement wie Push Refresh: zwei Absätze gleicher Größe, breit, ruhige Zeilenhöhe */
.statement { max-width: 27em; font-size: clamp(23px, 14px + 2.1vw, 46px); line-height: 1.34; letter-spacing: -0.022em; font-weight: 400; }
.statement p { text-wrap: pretty; }
/* Wort für Wort heller beim Scrollen wie Push Refresh (w.js legt .wort-Spans an) */
.statement .wort { opacity: 0.26; transition: opacity 120ms linear; } /* kein einzelnes Wort in der letzten Zeile */
.statement p + p { margin-top: 0.75em; }
.nw { white-space: nowrap; }
.kopfzeile { display: flex; align-items: baseline; justify-content: space-between; margin-top: 96px; padding-top: 30px; margin-bottom: 40px; border-top: 1px solid var(--linie); } /* wie Push Refresh: Linie oben, Titel links, Link rechts */
.kopfzeile h2 { font-size: 16px; font-weight: 600; }
.link-pfeil { font-size: 14px; color: var(--fg-2); }
.link-pfeil:hover { color: var(--fg); }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.kachel { position: relative; aspect-ratio: 16 / 10.5; border-radius: 6px; overflow: hidden; background: #1a1a1d; }
.kachel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 600ms ease; }
.kachel:hover img { transform: scale(1.025); }
.kachel::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.72)); }
.k-info { position: absolute; z-index: 1; left: 22px; bottom: 18px; color: #fff; }
.k-info b { display: block; font-size: 17px; font-weight: 500; }
.k-info small { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.72); }

/* 3 System */
.system { padding: 130px 0 170px; }
.system-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.system h2 { font-weight: 500; font-size: clamp(32px, 20px + 2vw, 50px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin-top: 26px; max-width: 30em; font-size: 19px; line-height: 1.55; color: var(--fg-2); }
.system .knoepfe { margin-top: 32px; }
.lead-2 { margin-top: 16px; }
.schluss { margin-top: 22px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.team { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #d9dde3; }
.team img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: #fff; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.google { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 8px; border: 1px solid var(--linie); font-size: 14px; }
.google svg { width: 18px; height: 18px; }
.google b { font-weight: 600; }
.google .sterne { color: #F5A623; letter-spacing: 1px; }
.g-text { color: var(--fg-2); font-size: 13px; }

.platz { padding: 160px 0 220px; }

/* Kontaktleiste nach Trueform */
.kontakt {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 8px; padding: 9px 9px 9px 24px; border-radius: 999px; transition: padding 380ms cubic-bezier(.3, .7, .2, 1); /* Kontaktleiste bleibt vorerst rund (Mischa, 08.11.) */
  background: #111113; color: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* Griff: klappt die Leiste ein und aus (w.js); Trefferfläche größer als die sichtbare Linie */
.kontakt-griff { position: absolute; left: 50%; top: -9px; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(140, 140, 150, 0.5); transform: translateX(-50%); cursor: pointer; transition: background-color 160ms ease; }
.kontakt-griff::before { content: ""; position: absolute; inset: -9px -14px; }
.kontakt-griff:hover { background: rgba(140, 140, 150, 0.9); }
.kontakt-text { max-width: 220px; margin-right: 14px; overflow: hidden; white-space: nowrap; line-height: 1.2; transition: max-width 380ms cubic-bezier(.3, .7, .2, 1), margin 380ms cubic-bezier(.3, .7, .2, 1), opacity 200ms ease; }
.kontakt.zu { padding-left: 9px; }
.kontakt.zu .kontakt-text { max-width: 0; margin-right: 0; opacity: 0; }
.kontakt-text b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.kontakt-text small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.rund { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 160ms ease; }
.rund:hover { transform: scale(1.06); }
.rund svg { width: 21px; height: 21px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rund-chat { background: #2F6BFF; } .rund-chat svg { stroke: #fff; }
.rund-wa { background: #3a3a3f; } .rund-wa svg { width: 20px; height: 20px; fill: #fff; stroke: none; }
/* Erklär-Blase über jedem Kreis beim Überfahren (nur mit Maus) bzw. bei Tastaturfokus */
.rund[data-tipp]::after { content: attr(data-tipp); position: absolute; left: 50%; bottom: calc(100% + 14px); padding: 7px 11px; border-radius: 6px; background: #111113; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08); opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.rund[data-tipp]::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 9px); width: 10px; height: 10px; background: #111113; transform: translate(-50%, 4px) rotate(45deg); opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
@media (hover: hover) {
  .rund[data-tipp]:hover::after { opacity: 1; transform: translate(-50%, 0); }
  .rund[data-tipp]:hover::before { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }
}
.rund[data-tipp]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.rund[data-tipp]:focus-visible::before { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }
.rund-mail { background: #fff; } .rund-mail svg { stroke: #111113; }

/* Tablet */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .mega { display: none; } /* ohne Navigationspunkte kein Mega-Menü; sonst belegt das versteckte Panel Breite */
  .nav-burger { display: block; }
  .logos-zeile li { margin-right: 60px; }
}
/* Handy */
@media (max-width: 719.98px) {
  .rahmen, .nav-in { padding-left: 16px; padding-right: 16px; }
  .nav-logo img { height: 27px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .hero { padding: 26px 0 0; } /* unten keine Luft, Leiste stößt an den dunklen Abschnitt */
  /* Handy: erst Text, dann die Bildleiste */
  .hero { display: flex; flex-direction: column; }
  .hero-raster { display: contents; }
  .hero-text { order: 1; padding: 0 16px; }
  .leiste { order: 2; }
  .g-zeile { font-size: 13px; gap: 8px; }
  .hero h1 { font-size: 40px; margin-top: 16px; }
  .unter { font-size: 17px; }
  /* Handy wie Push Refresh: Knopf nur so breit wie nötig, „Unsere Projekte“ ganz dezent als graue Schrift direkt darunter */
  .knoepfe { flex-direction: column; align-items: flex-start; gap: 14px; }
  .kn { height: 50px; }
  .kn-rand { height: auto; padding: 4px 2px; border: 0; font-size: 14px; color: var(--fg-2); }
  .kn-rand:hover { background: none; color: var(--fg); }
  .logos { flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; } /* Satz mittig wie bei Trueform */
  .logos p { text-align: center; }
  .logos-zeile { width: 100%; }
  .logos-zeile ul { --lh: 27px; animation-duration: 36s; }
  .logos-zeile li { margin-right: 48px; }
  .projekte { padding: 80px 0 160px; }
  .kopfzeile { margin-top: 72px; margin-bottom: 24px; padding-top: 22px; }
  .kacheln { grid-template-columns: 1fr; gap: 12px; }
  .system { padding: 90px 0 130px; }
  .system-raster { grid-template-columns: 1fr; gap: 40px; }
  .lead, .schluss { font-size: 17px; }
  .kontakt { left: 12px; right: 12px; transform: none; bottom: 12px; padding: 8px 8px 8px 18px; }
  .kontakt-text { margin-right: auto; }
  .kontakt.zu { left: auto; } /* eingeklappt rechts, nur die Kreise */
  .kontakt-text b { font-size: 14px; } .kontakt-text small { font-size: 12px; }
  .rund { width: 42px; height: 42px; }
}
@keyframes band { to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) { .logos-zeile ul { animation: none; } }

/* Vier Boxen nach Framer (Solutions/Designers): ein Rahmen, dünne Trennlinien, Line-Icon, weißer Titel, grauer Text */
.boxen { margin-top: 80px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; }
.boxen li { display: flex; flex-direction: column; padding: 30px 30px 30px; border-left: 1px solid var(--linie); }
/* kleines Leistungs-Kästchen unten links in jeder Box (wie bei den Projekten, 4 px, halbdurchsichtig) */
.boxen p { padding-bottom: 24px; }
.box-tag { align-self: flex-start; margin-top: auto; height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 4px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }
.boxen li:first-child { border-left: 0; }
.box-icon { display: block; width: 20px; height: 20px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.boxen h3 { margin-top: 28px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.boxen p { margin-top: 4px; font-size: 17px; line-height: 1.42; color: var(--fg-2); text-wrap: pretty; }

/* Projekte: drei Reihen untereinander, je große Kachel (Laptop/Tablet, 60 %) und kleine Kachel (Handy, 40 %), Seiten im Wechsel */
.projekt-raster { display: flex; flex-direction: column; gap: 104px; } /* klare Trennung zwischen Projekten, innen nur 12 px */
.projekt-reihe { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; color: #fff; }
.pj:nth-child(even) .projekt-reihe { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.pj:nth-child(even) .pk-handy { order: -1; }
.pk { position: relative; }
.pk-gross { aspect-ratio: 762 / 540; }
.pk-bild { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; background: var(--karte); }
.pk-bild img, .pk-bild video { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
.projekt-reihe:hover .pk-bild img, .projekt-reihe:hover .pk-bild video { transform: scale(1.03); }
/* Textblock unter jedem Projekt: links Name und zwei Sätze, rechts die Leistungen als halbdurchsichtige Kästchen (4 px, weniger rund als die Knöpfe) */
.pj-text { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.pj-text h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.pj-text p { margin-top: 8px; max-width: 34em; font-size: 17px; line-height: 1.5; color: var(--fg-2); }
.pj-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 8px; padding-top: 2px; }
.pj-tags li { height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 4px; font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }

/* ganzes Projekt ist ein Link; auf Geräten ohne Maus zeigt ein weißer Pfeil-Kasten neben dem Namen, dass man tippen kann (wie der Pfeil im CTA) */
.pj-link { display: block; color: inherit; text-decoration: none; }
.pj-pfeil { display: none; }
@media (hover: none), (max-width: 719.98px) {
  .pj-text h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .pj-pfeil { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--fg); }
  .pj-pfeil svg { width: 15px; height: 15px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .projekt-reihe { transition: transform 160ms ease; }
  .pj-link:active .projekt-reihe { transform: scale(0.985); }
}

/* „Ansehen“-Kreis: folgt der Maus über den Projektbildern (w.js), nur bei Geräten mit Maus */
.ansehen { position: fixed; left: 0; top: 0; z-index: 30; width: 0; height: 0; pointer-events: none; }
.ansehen span { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 500; color: #fff; background: rgba(22, 22, 24, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: scale(0); transition: transform 260ms cubic-bezier(.2, .8, .2, 1); }
.ansehen.an span { transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .projekt-reihe { cursor: none; } }
@media (max-width: 1080px) {
  .boxen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boxen li:nth-child(odd) { border-left: 0; }
  .boxen li:nth-child(n+3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 719.98px) {
  .boxen { margin-top: 44px; grid-template-columns: 1fr; }
  .boxen li { border-left: 0; padding: 24px 22px 28px; }
  .boxen li + li { border-top: 1px solid var(--linie); }
  .boxen h3 { margin-top: 20px; }
  /* Handy: Reihen bleiben zweigeteilt (1,55 : 1), Textblock darunter einspaltig, Kästchen kleiner */
  .projekt-raster { gap: 64px; }
  .projekt-reihe, .pj:nth-child(even) .projekt-reihe { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 8px; }
  .pj:nth-child(even) .pk-handy { order: 0; }
  .pk-gross { aspect-ratio: 1 / 1.08; }
  .pj-text { grid-template-columns: 1fr; margin-top: 16px; }
  .pj-text h3 { font-size: 19px; }
  .pj-text p { font-size: 15.5px; }
  .pj-tags { justify-content: flex-start; gap: 6px; }
  .pj-tags li { height: 26px; padding: 0 9px; font-size: 12.5px; }
}


/* Ablauf unter den Boxen (nach Mischas Skizze): monochrome Linien-Oberflächen, Ecken 8/4, Signalblau nur für Besucher und neue Anfrage */
.ablauf { position: relative; margin-top: 72px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.ablauf-linie, .ablauf-partikel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ablauf-linie { overflow: visible; }
.ablauf-linie line { stroke-width: 1.5; stroke-linecap: round; fill: none; }
.ablauf-linie .spur { stroke: color-mix(in srgb, var(--fg) 26%, transparent); stroke-dasharray: 1 6; }
.ablauf-linie .weg { stroke: color-mix(in srgb, var(--fg) 55%, transparent); }
.ablauf-partikel { z-index: 2; }
.cp { position: relative; z-index: 1; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cp-flaeche { height: 150px; display: flex; align-items: center; justify-content: center; }
.cp-karte { position: relative; border: 1px solid var(--linie); border-radius: 8px; background: var(--bg); transition: border-color 400ms ease, background-color 400ms ease; }
.cp.aktiv .cp-karte { border-color: color-mix(in srgb, var(--fg) 42%, transparent); background: color-mix(in srgb, var(--fg) 4%, var(--bg)); }
.cp.fertig .cp-karte { border-color: color-mix(in srgb, var(--fg) 20%, transparent); }
.cp-titel { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color 400ms ease; }
.cp.aktiv .cp-titel, .cp.fertig .cp-titel { color: var(--fg); }
.cp-unter { margin-top: 2px; font-size: 12.5px; color: color-mix(in srgb, var(--fg) 40%, transparent); }
.cp-leiste { position: absolute; top: 9px; left: 10px; display: flex; gap: 4px; }
.cp-leiste i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 18%, transparent); }

/* Besucher */
.cp-besucher .cp-karte { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.cp-besucher svg { width: 24px; height: 24px; fill: none; stroke: var(--fg-2); stroke-width: 1.5; stroke-linecap: round; transition: stroke 400ms ease; }
.cp-besucher.aktiv svg, .cp-besucher.fertig svg { stroke: var(--fg); }

/* Webseite: Zeiger fährt auf den Knopf, Knopf füllt sich */
.cp-web .cp-karte { width: 168px; height: 118px; padding: 28px 14px 0; text-align: left; overflow: hidden; }
.w-zeile { display: block; height: 5px; width: 82%; margin-top: 7px; border-radius: 2px; background: color-mix(in srgb, var(--fg) 14%, transparent); }
.w-gross { height: 9px; width: 64%; margin-top: 0; background: color-mix(in srgb, var(--fg) 30%, transparent); }
.w-kurz { width: 52%; }
.w-knopf { display: block; width: 58px; height: 16px; margin-top: 13px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); transition: background-color 250ms ease; }
.w-zeiger { position: absolute; left: 128px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: #8DB8FF; opacity: 0; transition: transform 800ms cubic-bezier(.3, .7, .2, 1), opacity 300ms ease; }
.cp-web.aktiv .w-zeiger { opacity: 1; transform: translate(-84px, 62px); }
.cp-web.aktiv .w-knopf { background: var(--fg); transition-delay: 850ms; }
.cp-web.fertig .w-knopf { background: var(--fg); }

/* Formular: Felder füllen sich, eine Auswahl wird getroffen, danach erscheint die passende Zusatzfrage */
.cp-form .cp-karte { width: 168px; height: 118px; padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.f-feld { position: relative; display: block; height: 17px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.f-feld b { position: absolute; left: 7px; top: 6px; height: 4px; width: 0; border-radius: 2px; background: color-mix(in srgb, var(--fg) 60%, transparent); transition: width 450ms ease; }
.f-wahl { display: flex; gap: 5px; }
.f-wahl i { flex: 1; height: 17px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); transition: background-color 250ms ease, border-color 250ms ease; }
.f-extra { opacity: 0; transform: translateY(4px); transition: opacity 350ms ease, transform 350ms ease; }
.f-knopf { display: block; width: 46px; height: 14px; margin-top: 1px; border-radius: 4px; background: color-mix(in srgb, var(--fg) 22%, transparent); transition: background-color 250ms ease; }
.cp-form.aktiv .f-feld:first-child b, .cp-form.fertig .f-feld:first-child b { width: 58%; }
.cp-form.aktiv .f-feld:first-child b { transition-delay: 150ms; }
.cp-form.aktiv .f-wahl i:nth-child(2), .cp-form.fertig .f-wahl i:nth-child(2) { background: var(--fg); border-color: var(--fg); }
.cp-form.aktiv .f-wahl i:nth-child(2) { transition-delay: 650ms; }
.cp-form.aktiv .f-extra, .cp-form.fertig .f-extra { opacity: 1; transform: none; }
.cp-form.aktiv .f-extra { transition-delay: 950ms; }
.cp-form.aktiv .f-extra b, .cp-form.fertig .f-extra b { width: 44%; }
.cp-form.aktiv .f-extra b { transition-delay: 1250ms; }
.cp-form.aktiv .f-knopf, .cp-form.fertig .f-knopf { background: var(--fg); }
.cp-form.aktiv .f-knopf { transition-delay: 1650ms; }

/* Lead: neue Anfrage meldet sich im Signalblau */
.cp-lead .cp-karte { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 14px; }
.l-punkt { position: relative; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 25%, transparent); transition: background-color 300ms ease; }
.l-punkt::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #3A86FF; opacity: 0; }
.cp-lead.aktiv .l-punkt, .cp-lead.fertig .l-punkt { background: #3A86FF; }
.cp-lead.aktiv .l-punkt::after { animation: lead-ring 1.1s ease-out 2; }
@keyframes lead-ring { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(1.8); } }
.l-text { font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--fg-2); transition: color 300ms ease; }
.cp-lead.aktiv .l-text, .cp-lead.fertig .l-text { color: var(--fg); }

/* Dashboard: Punkte haken sich nacheinander ab */
.cp-dash .cp-karte { padding: 30px 18px 16px 16px; text-align: left; }
.d-liste li { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 12.5px; line-height: 1.25; white-space: nowrap; color: color-mix(in srgb, var(--fg) 36%, transparent); transition: color 300ms ease; }
.d-liste svg { width: 14px; height: 14px; flex: none; fill: none; stroke: color-mix(in srgb, var(--fg) 22%, transparent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 300ms ease; }
.d-liste .d-mehr { padding-left: 23px; }
.cp-dash.aktiv .d-liste li, .cp-dash.fertig .d-liste li { color: var(--fg); }
.cp-dash.aktiv .d-liste svg, .cp-dash.fertig .d-liste svg { stroke: var(--fg); }
.cp-dash.aktiv .d-liste .d-mehr, .cp-dash.fertig .d-liste .d-mehr { color: var(--fg-2); }
.cp-dash.aktiv .d-liste li:nth-child(1), .cp-dash.aktiv .d-liste li:nth-child(1) svg { transition-delay: 300ms; }
.cp-dash.aktiv .d-liste li:nth-child(2), .cp-dash.aktiv .d-liste li:nth-child(2) svg { transition-delay: 1000ms; }
.cp-dash.aktiv .d-liste li:nth-child(3), .cp-dash.aktiv .d-liste li:nth-child(3) svg { transition-delay: 1700ms; }
.cp-dash.aktiv .d-liste li:nth-child(4) { transition-delay: 2400ms; }

/* Boxen leuchten mit, solange der Besucher an ihrem Checkpoint ist */
.boxen li { transition: background-color 500ms ease; }
.boxen li .box-icon { transition: stroke 500ms ease; }
.boxen li.an { background: color-mix(in srgb, var(--fg) 5%, transparent); }
.boxen li.an .box-icon { stroke: #8DB8FF; }

/* Unter 1180 px senkrecht: Checkpoints untereinander, Linie läuft durch die Mitte */
@media (max-width: 1179.98px) {
  .ablauf { flex-direction: column; align-items: center; gap: 46px; margin-top: 56px; }
  .cp-flaeche { height: auto; }
}


/* Bildleiste unter dem Hero nach Push Refresh: 6 Quadrate, Spur 150 % breit (Handy 300 %), wandert 1:1 mit dem Scrollen (w.js), Kacheln blenden beim Laden nacheinander ein */
.leiste { margin-top: 96px; overflow: hidden; }
.leiste-spur { display: flex; width: 125%; transition: transform 100ms ease-out; will-change: transform; }
.kachel-q { flex: 0 0 calc(100% / 5); aspect-ratio: 1; overflow: hidden; background: var(--karte); opacity: 0; transform: translateY(24px); animation: kachel-ein 800ms cubic-bezier(.2, .7, .2, 1) forwards; }
.kachel-q:nth-child(2) { animation-delay: 90ms; } .kachel-q:nth-child(3) { animation-delay: 180ms; } .kachel-q:nth-child(4) { animation-delay: 270ms; }
.kachel-q:nth-child(5) { animation-delay: 360ms; } .kachel-q:nth-child(6) { animation-delay: 450ms; }
.kachel-q img, .kachel-q video { display: block; width: 100%; height: 100%; object-fit: cover; }
.kachel-q + .kachel-q { margin-left: -1px; } /* Kacheln 1px überlappen: sonst helle Haarlinie zwischen dunklen Kacheln (Subpixel beim Verschieben, Mischa 09.11.) */
@keyframes kachel-ein { to { opacity: 1; transform: none; } }
@media (max-width: 719.98px) { .leiste { margin-top: 56px; } .leiste-spur { width: 250%; } }
/* Ruckeln am Handy behoben (Mischa 10.11.): Die Leiste läuft jetzt als Scroll-Animation direkt im Browser (ohne Skript, ohne Übergang).
   Weg = Überstand der Spur: Desktop 25 % der Breite (Spur 125 %), Handy 150 % (Spur 250 %). Ältere Browser: w.js setzt die Position 1:1. */
.leiste-spur { transition: none; }
@supports (animation-timeline: scroll()) {
  .leiste-spur { animation: leiste-lauf linear both; animation-timeline: scroll(root block); animation-range: 0 25vw; }
  @keyframes leiste-lauf { to { transform: translateX(-20%); } }
  @media (prefers-reduced-motion: reduce) { .leiste-spur { animation: none; } }
  @media (max-width: 719.98px) { .leiste-spur { animation-name: leiste-lauf-handy; animation-range: 0 150vw; } @keyframes leiste-lauf-handy { to { transform: translateX(-60%); } } }
}
@media (prefers-reduced-motion: reduce) { .kachel-q { animation: none; opacity: 1; transform: none; } .leiste-spur { transition: none; } }

/* Handy: Fließtexte nach dem Hero (Boxen, Projekte) gleich groß wie die Projekttexte, einen Ticken dünner und heller (Mischa, 08.11.) */
@media (max-width: 719.98px) {
  .boxen p, .pj-text p { font-size: 15.5px; line-height: 1.5; font-weight: 370; color: color-mix(in srgb, var(--fg) 76%, transparent); }
}


/* Kernexpertise (nach Push Refresh): Überschrift mittig, drei Karten mit Nummer, Pfeil, Partikelfeld, Titel und Satz */
.kern { padding: 150px 0 140px; }
.kern-kopf { margin: 0; text-align: center; font-weight: 500; font-size: clamp(36px, 20px + 2.6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
.kern-kopf span { color: var(--fg-2); }
.kern-raster { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kern-karte { display: flex; flex-direction: column; min-height: 520px; padding: 26px 26px 30px; border-radius: 4px; background: var(--karte); color: var(--fg); text-decoration: none; }
.kern-oben { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.kern-pfeil { width: 18px; height: 18px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; transition: opacity 200ms ease, transform 200ms ease; }
.kern-karte:hover .kern-pfeil { opacity: 1; transform: translateX(3px); }
.kern-feld { position: relative; flex: 1; min-height: 280px; margin: 12px -12px 18px; }
.kern-feld canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.kern-karte h3 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.kern-karte p { margin-top: 6px; max-width: 30em; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
@media (max-width: 1080px) { .kern-karte { min-height: 460px; padding: 22px 20px 24px; } .kern-feld { min-height: 240px; } }
@media (max-width: 719.98px) {
  .kern { padding: 96px 0 90px; }
  .kern-raster { margin-top: 44px; grid-template-columns: 1fr; gap: 8px; }
  .kern-karte { min-height: 420px; }
  .kern-karte p { font-size: 15.5px; font-weight: 370; }
}


/* Weitere Leistungen unter der Kernexpertise: leichte Tabelle. Titel links über der Linie, Kategorien als hellgraue Reiter (grauer Text), Punkte schwarz mit feinen Trennlinien */
.lt { margin-top: 88px; }
.lt-titel { margin: 0 0 18px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lt-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 8px; padding-top: 22px; border-top: 1px solid var(--linie); }
.lt-kopf { margin: 0; height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 4px; background: var(--karte); font-size: 13px; font-weight: 500; color: var(--fg-2); }
.lt-spalte ul { margin: 6px 0 0; padding: 0; list-style: none; }
.lt-spalte li { border-bottom: 1px solid var(--linie); }
.lt-spalte a { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 14px; font-size: 15.5px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--fg); text-decoration: none; transition: background-color 160ms ease; }
.lt-spalte a:hover { background: color-mix(in srgb, var(--fg) 3%, transparent); }
.lt-spalte svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--fg-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1080px) { .lt-spalte a { padding: 13px 10px; font-size: 14.5px; gap: 9px; } .lt-kopf { padding: 0 10px; } }
@media (max-width: 719.98px) {
  .lt { margin-top: 64px; }
  .lt-raster { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; }
  .lt-spalte ul { margin-top: 2px; }
  .lt-spalte a { min-height: 50px; padding: 13px 12px; font-size: 15px; }
  .lt-kopf { padding: 0 12px; height: 36px; }
}


/* FAQ „Gut zu wissen“ nach Trueform: links Titel und Knöpfe (bleiben stehen), rechts Fragen zum Aufklappen */
.faq { padding: 150px 0 160px; }
.faq-raster { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.faq-links { position: sticky; top: 110px; }
.faq-links h2 { margin: 0; font-weight: 500; font-size: clamp(38px, 22px + 2.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; }
.faq-links p { margin-top: 18px; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--fg-2); }
.faq-links .knoepfe { margin-top: 28px; }
.faq-liste { display: flex; flex-direction: column; gap: 10px; }
.faq-punkt { border-radius: 8px; background: var(--karte); border: 1px solid var(--linie); }
.faq-punkt summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; cursor: pointer; }
.faq-punkt summary::-webkit-details-marker { display: none; }
.faq-zeichen { position: relative; flex: none; width: 14px; height: 14px; }
.faq-zeichen::before, .faq-zeichen::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; border-radius: 1px; background: var(--fg); transition: transform 220ms ease; }
.faq-zeichen::after { transform: rotate(90deg); }
.faq-punkt[open] .faq-zeichen::after { transform: rotate(0deg); }
.faq-punkt p { margin: -4px 0 0; padding: 0 20px 20px; max-width: 46em; font-size: 15.5px; line-height: 1.55; color: var(--fg-2); }
.faq-punkt summary:hover { color: color-mix(in srgb, var(--fg) 82%, transparent); }

/* Footer nach Framer: sechs Linkspalten, Firmenzeile, Leiste mit Logo, Sprache, Social, Google, Recht; großes Wortzeichen */
.fuss { padding: 110px 0 0; overflow: hidden; }
.fuss-spalten { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
.fuss-spalten h4 { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--fg); }
.fuss-spalten ul { margin: 0; padding: 0; list-style: none; }
.fuss-spalten a { display: inline-block; padding: 4px 0; font-size: 14px; line-height: 1.45; color: var(--fg-2); text-decoration: none; transition: color 160ms ease; }
.fuss-spalten a:hover, .fuss-recht a:hover, .fuss-sozial a:hover, .fuss-google:hover { color: var(--fg); }
/* Raster: Links oben über die ganze Breite, darunter links Name/Ort, rechts die E-Mail groß, dann die Leiste */
.fuss > .rahmen { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.fuss-spalten, .fuss-leiste { grid-column: 1 / -1; }
.fuss-nap { margin: 64px 0 0; font-size: 13px; color: var(--fg-2); }
.fuss-mail { margin-top: 64px; font-size: clamp(32px, 22px + 1.4vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; color: var(--fg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: transparent; transition: text-decoration-color 200ms ease; }
.fuss-mail:hover { text-decoration-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.fuss-leiste { margin-top: 18px; padding: 22px 0; border-top: 1px solid var(--linie); display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; font-size: 13px; color: var(--fg-2); }
.fuss-logo img { height: 24px; width: auto; display: block; }
.sprache { position: relative; }
.sprache summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--fg); font-weight: 500; }
.sprache summary::-webkit-details-marker { display: none; }
.sprache summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sprache-pfeil { width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.sprache ul { position: absolute; left: -10px; bottom: calc(100% + 10px); z-index: 5; min-width: 150px; margin: 0; padding: 6px; list-style: none; border-radius: 8px; background: var(--karte); border: 1px solid var(--linie); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
.sprache li a { display: block; padding: 8px 10px; border-radius: 4px; font-size: 14px; color: var(--fg-2); text-decoration: none; }
.sprache li a:hover, .sprache li a[aria-current] { color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.fuss-sozial { display: flex; gap: 14px; }
.fuss-sozial a { color: var(--fg-2); display: grid; }
.fuss-sozial svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fuss-google { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); text-decoration: none; }
.fuss-g { width: 14px; height: 14px; fill: currentColor; }
.fuss-sterne { letter-spacing: 1px; color: var(--fg); font-size: 12px; }
.fuss-recht { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss-recht a { color: var(--fg-2); text-decoration: none; }
.fuss-wort { margin: 8px 0 -0.21em; text-align: center; font-weight: 600; font-size: 19vw; line-height: 1; letter-spacing: -0.06em; white-space: nowrap; color: color-mix(in srgb, var(--fg) 7%, transparent); user-select: none; pointer-events: none; }
@media (max-width: 1080px) {
  .faq-raster { grid-template-columns: 1fr; gap: 44px; }
  .faq-links { position: static; }
  .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719.98px) {
  .faq { padding: 96px 0 100px; }
  .faq-links .knoepfe { flex-direction: row; flex-wrap: wrap; }
  .faq-punkt summary { padding: 17px 16px; font-size: 15px; }
  .faq-punkt p { padding: 0 16px 18px; font-size: 15px; font-weight: 370; color: color-mix(in srgb, var(--fg) 76%, transparent); }
  .fuss { padding-top: 36px; } /* E-Mail sitzt in der bisherigen Lücke nach den Fragen, statt sie zu vergrößern */
  /* Handy: E-Mail ganz oben im Footer, direkt nach den Fragen */
  .fuss > .rahmen { display: flex; flex-direction: column; align-items: stretch; }
  .fuss-mail { order: -1; align-self: flex-start; margin: 0 0 52px; font-size: min(32px, 8.4vw); }
  .fuss-nap { margin-top: 56px; }
  .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .fuss-leiste { gap: 18px 24px; }
  .fuss-recht { margin-left: 0; width: 100%; }
  .fuss-cookie { display: none; } /* am Handy nicht im Footer, Cookie-Einstellungen kommen unter Datenschutz (Mischa, 08.11.) */
}


/* Blog: Magazin-Aufbau. Links ein großer Beitrag, rechts drei kleine mit Vorschaubild; Titelbilder als gepunktete Linien auf var(--karte) */
.blog { padding: 30px 0 150px; } /* dunkel wie der KI-Assistent davor, Trennung über die Linie im Kopf */
.bl-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 48px; border-top: 1px solid var(--linie); }
.bl-kopf h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 20px + 2vw, 50px); line-height: 1.05; letter-spacing: -0.035em; }
.bl-kopf p { margin-top: 10px; font-size: 17px; color: var(--fg-2); }
.bl-alle { flex: none; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 18px; border-radius: 8px; border: 1px solid var(--linie); font-size: 15px; font-weight: 500; color: var(--fg); text-decoration: none; transition: border-color 160ms ease; }
.bl-alle:hover { border-color: var(--fg); }
.bl-alle .pfeil { background: var(--fg); }
.bl-alle .pfeil svg { stroke: var(--bg); }
.bl-raster { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
.bl-karte a { display: block; color: var(--fg); text-decoration: none; }
.bl-cover { position: relative; display: block; border-radius: 4px; overflow: hidden; background: var(--karte); }
.bl-gross .bl-cover { aspect-ratio: 16 / 10; }
.bl-bild { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6% 10%; fill: none; stroke: var(--fg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 7; opacity: 0.55; transition: opacity 300ms ease; }
.bl-bild .bl-fein, .bl-bild .bl-fein-kreis { stroke-width: 2; stroke-dasharray: 0 5.5; opacity: 0.7; }
.bl-bild .bl-punkt { fill: var(--fg); stroke: none; }
.bl-karte a:hover .bl-bild { opacity: 0.9; }
.bl-karte a:hover .bl-bild path, .bl-karte a:hover .bl-bild rect, .bl-karte a:hover .bl-bild circle:not(.bl-punkt) { animation: bl-punkte 1.1s linear infinite; }
@keyframes bl-punkte { to { stroke-dashoffset: -14; } }
.bl-text { display: block; }
.bl-gross .bl-text { padding-top: 22px; }
.bl-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-2); }
.bl-kat { height: 26px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 4px; font-weight: 500; color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 9%, transparent); }
.bl-karte h3 { margin: 12px 0 0; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty; transition: color 160ms ease; }
.bl-gross h3 { font-size: clamp(22px, 14px + 1vw, 28px); line-height: 1.2; letter-spacing: -0.025em; }
.bl-karte p { margin-top: 10px; max-width: 36em; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.bl-karte a:hover h3 { color: color-mix(in srgb, var(--fg) 70%, transparent); }
.bl-liste { display: flex; flex-direction: column; }
.bl-liste .bl-karte + .bl-karte { border-top: 1px solid var(--linie); }
.bl-liste .bl-karte a { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 20px; align-items: center; padding: 18px 0; }
.bl-liste .bl-karte:first-child a { padding-top: 0; }
.bl-liste .bl-cover { aspect-ratio: 4 / 3; }
.bl-liste .bl-bild { padding: 3% 2%; stroke-width: 3.4; opacity: 0.7; } /* kleine Titelbilder kräftiger, sonst wirken die Punkte zu blass */
@media (max-width: 1080px) { .bl-raster { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 719.98px) {
  .blog { padding: 20px 0 96px; }
  .bl-kopf { flex-direction: column; align-items: flex-start; padding-top: 36px; }
  .bl-kopf p { font-size: 15.5px; }
  .bl-raster { margin-top: 32px; gap: 28px; }
  .bl-liste .bl-karte a { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .bl-liste .bl-karte h3 { font-size: 16px; }
  .bl-liste .bl-meta { font-size: 12px; } .bl-liste .bl-kat { height: 22px; padding: 0 7px; }
  .bl-karte p { font-size: 15.5px; font-weight: 370; }
}


/* KI-Assistent: links Partikel-Bot und Überschrift, rechts Chat mit Verlauf oben, Vorschlägen und Eingabe unten */
.bot { padding: 140px 0 120px; }
.bot-raster { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: stretch; }
.bot-links { display: flex; flex-direction: column; }
.bot-gesicht { width: min(300px, 64vw); aspect-ratio: 1; margin-left: -18px; color: var(--fg); }
.bot-gesicht canvas { width: 100%; height: 100%; display: block; }
.bot-links h2 { margin: 26px 0 0; max-width: 13em; font-weight: 500; font-size: clamp(30px, 18px + 1.9vw, 46px); line-height: 1.08; letter-spacing: -0.035em; }
.bot-hinweis { margin-top: 16px; max-width: 30em; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.bot-chat { display: flex; flex-direction: column; min-height: 560px; padding: 18px; border-radius: 8px; border: 1px solid var(--linie); background: color-mix(in srgb, var(--fg) 3%, transparent); }
.bot-verlauf { flex: 1; display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 4px 14px; scrollbar-width: thin; }
.ch { max-width: 82%; padding: 12px 14px; border-radius: 8px; font-size: 15px; line-height: 1.5; animation: ch-ein 260ms cubic-bezier(.2, .7, .2, 1); }
.ch-bot { align-self: flex-start; background: var(--karte); color: var(--fg); border-top-left-radius: 3px; }
.ch-ich { align-self: flex-end; background: var(--fg); color: var(--bg); border-top-right-radius: 3px; }
@keyframes ch-ein { from { opacity: 0; transform: translateY(6px); } }
.ch-tippt { display: inline-flex; gap: 5px; padding: 15px 16px; }
.ch-tippt i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-2); animation: ch-punkt 1s ease-in-out infinite; }
.ch-tippt i:nth-child(2) { animation-delay: 0.15s; } .ch-tippt i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ch-punkt { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.bot-vorschlaege { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.bot-vorschlaege button { height: 32px; padding: 0 11px; border-radius: 4px; border: 1px solid var(--linie); background: transparent; color: var(--fg-2); font: inherit; font-size: 13px; cursor: pointer; transition: color 160ms ease, border-color 160ms ease; }
.bot-vorschlaege button:hover { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.bot-eingabe { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 16px; border-radius: 8px; background: var(--karte); border: 1px solid var(--linie); transition: border-color 160ms ease; }
.bot-eingabe:focus-within { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.bot-eingabe input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--fg); font: inherit; font-size: 16px; /* 16px: darunter zoomt iOS beim Tippen hinein (Mischa 10.11.) */ }
.bot-eingabe input::placeholder { color: var(--fg-2); }
.bot-senden { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 4px; background: var(--fg); cursor: pointer; transition: opacity 160ms ease; }
.bot-senden svg { width: 18px; height: 18px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bot-eingabe.wartet .bot-senden { opacity: 0.4; pointer-events: none; }
@media (max-width: 1080px) { .bot-raster { grid-template-columns: 1fr; gap: 40px; } .bot-gesicht { width: min(240px, 60vw); } }
@media (max-width: 719.98px) {
  .bot { padding: 90px 0 90px; }
  .bot-gesicht { width: 190px; margin-left: -12px; }
  .bot-links h2 { margin-top: 16px; }
  .bot-chat { min-height: 480px; padding: 12px; }
  .bot-verlauf { max-height: 340px; }
  .ch { max-width: 88%; font-size: 14.5px; }
}


/* Unter den Projekten: Knopf mittig, darunter „So arbeiten wir“ als großer, zentrierter Text mit unterstrichenen Links (wie das Zitat bei Push Refresh) */
.pj-mehr { margin-top: 64px; display: flex; justify-content: center; }
.arbeit { margin: 150px auto 0; max-width: 980px; text-align: center; }
.arbeit-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.arbeit-text { margin-top: 26px; font-size: clamp(21px, 13px + 1.15vw, 30px); font-weight: 500; line-height: 1.42; letter-spacing: -0.018em; text-wrap: balance; }
.arbeit-text a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--fg) 55%, transparent); transition: text-decoration-color 160ms ease, color 160ms ease; }
.arbeit-text a:hover { text-decoration-color: var(--fg); color: color-mix(in srgb, var(--fg) 80%, transparent); }
@media (max-width: 719.98px) { .pj-mehr { margin-top: 48px; } .arbeit { margin-top: 96px; text-align: left; } .arbeit-text { text-wrap: pretty; } }


/* Bot, zweite Fassung: Partikelstrom-Leinwand über dem Abschnitt, hervorgehobene erste Frage, Blasen setzen sich aus Partikeln zusammen */
.bot-gesicht { width: min(340px, 70vw); }
.bot-flug { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.ch { transition: opacity 500ms ease, transform 500ms ease, filter 500ms ease; }
.ch.kommt { opacity: 0; transform: translateY(4px) scale(0.97); filter: blur(6px); animation: none; }
.ch-erste { max-width: 92%; padding: 16px 18px; font-size: clamp(18px, 14px + 0.4vw, 21px); font-weight: 500; line-height: 1.35; border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); }
.ch-label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--fg-2); }
.ch-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.bot-vorschlaege { min-height: 32px; }
.bot-vorschlaege button { animation: chip-ein 320ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes chip-ein { from { opacity: 0; transform: translateY(5px); } }
@media (max-width: 719.98px) { .bot-gesicht { width: 230px; } }

/* Kundenlogos unter den vier Boxen: weiße Logos im dunklen Abschnitt, Endlos-Karussell wie früher im Hero */
.logos-band { margin-top: 88px; } /* oben etwas mehr Luft, unten über der Projektzeile etwas weniger (Mischa) */
.projekte .logos-zeile img { filter: none; opacity: 0.5; }
@media (max-width: 719.98px) { .logos-band { margin-top: 48px; } }

/* Handy: Überschrift und Hinweis über dem Bot, alles mittig (Mischa, 08.11.) */
@media (max-width: 719.98px) {
  .bot-links { align-items: center; text-align: center; }
  .bot-links h2 { order: 1; margin: 0 auto; max-width: 15em; }
  .bot-hinweis { order: 2; margin: 12px auto 0; }
  .bot-gesicht { order: 3; margin: 18px auto 0; }
}


/* Sie sprechen direkt mit uns: Text links, zwei Personen-Karten rechts (schwarz-weiß, farbig beim Überfahren, leichte Neigung per w.js) */
.team-raster { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.team-text h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 20px + 2vw, 50px); line-height: 1.05; letter-spacing: -0.035em; }
.team-claim { margin-top: 22px; max-width: 22em; font-size: clamp(20px, 14px + 0.7vw, 25px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.team-bio { margin-top: 18px; max-width: 34em; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.team-text .knoepfe { margin-top: 30px; }
.team-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.person { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--karte); transition: transform 300ms cubic-bezier(.2, .7, .2, 1), box-shadow 300ms ease; will-change: transform; }
.person:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.person-foto { aspect-ratio: 4 / 4.6; overflow: hidden; background: #d9dde3; }
.person-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 500ms ease, transform 600ms cubic-bezier(.2, .7, .2, 1); }
.person:hover .person-foto img { filter: none; transform: scale(1.03); }
.person-info { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.person-info h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.person-rolle { margin-top: 2px; font-size: 14px; color: var(--fg-2); }
.person-punkte { margin: 14px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 9px; }
.person-punkte li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.4; }
.person-punkte svg { width: 17px; height: 17px; flex: none; margin-top: 1px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.person-kontakt { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.person-kontakt a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--linie); color: var(--fg); transition: background-color 160ms ease, color 160ms ease; }
.person-kontakt a:hover { background: var(--fg); color: var(--bg); }
.person-kontakt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* So läuft ein Projekt ab: fünf Karten, Partikel formen sich nacheinander zu Icons (gleiche Technik wie Kernexpertise) */
.schritte { padding: 30px 0 130px; }
.ablauf-schritte { padding-top: 48px; border-top: 1px solid var(--linie); }
.schritte-titel { margin: 0; text-align: center; font-size: clamp(26px, 16px + 1.3vw, 38px); font-weight: 600; letter-spacing: -0.03em; }
.schritte-raster { margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
/* ohne Box: kein Hintergrund, Icon zuerst, dann Nummer, Titel, Text; gepunktete Linie zum nächsten Icon */
.kern-karte.schritt-karte { min-height: 0; padding: 0; background: none; border-radius: 0; text-align: center; align-items: center; }
.schritt-karte .kern-oben { order: 2; justify-content: center; margin-top: 4px; }
.schritt-karte .kern-feld { order: 1; position: relative; overflow: visible; align-self: stretch; }
.schritt-karte h4 { order: 3; margin-top: 8px !important; }
.schritt-karte p { order: 4; max-width: 17em; }
.schritt-karte:not(:last-child) .kern-feld::after { content: ""; position: absolute; top: 50%; left: calc(50% + 66px); width: calc(100% - 132px + 28px); height: 2px; background-image: radial-gradient(circle, color-mix(in srgb, var(--fg) 45%, transparent) 1px, transparent 1.4px); background-size: 8px 2px; background-repeat: repeat-x; }
.schritt-karte .kern-feld { min-height: 150px; flex: none; height: 150px; margin: 0; }
.schritt-karte h4 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.schritt-karte p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
@media (max-width: 1180px) { .schritte-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; } .schritt-karte:nth-child(3) .kern-feld::after { display: none; } }
@media (max-width: 1080px) { .team-raster { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 719.98px) {
  /* Handy: Personen-Karten zum Wischen, die zweite schaut am Rand hervor (Mischa, 08.11.) */
  .team-karten { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; scrollbar-width: none; }
  .team-karten::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 82%; scroll-snap-align: start; }
  .team-bio { font-size: 15.5px; font-weight: 370; }
  .schritte { padding: 20px 0 96px; }
  .ablauf-schritte { padding-top: 36px; }
  /* Handy: Zeitstrahl senkrecht, Icon links, Text rechts, Punkte-Linie zwischen den Icons */
  .schritte-raster { margin-top: 36px; grid-template-columns: 1fr; gap: 0; }
  .kern-karte.schritt-karte { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; text-align: left; align-items: start; padding-bottom: 28px; }
  .schritt-karte .kern-feld { grid-row: 1 / span 3; height: 92px; min-height: 92px; }
  .schritt-karte .kern-oben, .schritt-karte h4, .schritt-karte p { grid-column: 2; justify-content: flex-start; }
  .schritt-karte .kern-oben { margin-top: 10px; }
  .schritt-karte h4 { margin-top: 2px !important; }
  .schritt-karte:not(:last-child) .kern-feld::after, .schritt-karte:nth-child(3) .kern-feld::after { display: block; top: calc(100% + 4px); left: 50%; width: 2px; height: calc(100% - 64px + 28px); background-image: radial-gradient(circle, color-mix(in srgb, var(--fg) 45%, transparent) 1px, transparent 1.4px); background-size: 2px 8px; background-repeat: repeat-y; }
}


/* Kleiner Knopf nur unter Schritt 01 „Anfrage“ (Mischa, 08.11.), Größe wie in der Navigation */
.schritt-kn { order: 5; margin-top: 16px; height: 38px; padding: 0 4px 0 14px; gap: 10px; font-size: 14px; }
.schritt-kn .pfeil { width: 30px; height: 30px; }
.schritt-kn .pfeil svg { width: 15px; height: 15px; }
@media (max-width: 719.98px) { .schritt-kn { grid-column: 2; justify-self: start; margin-top: 12px; } }

/* „Alle Beiträge“ ohne Pfeil: Pfeile nur bei Projekt-Anfrage-Knöpfen (Mischa, 08.11.) */
.bl-alle-kn { flex: none; }


/* Mega-Menü „Leistungen“: Panel unter der Navigation, fast deckend, oben drei Karten mit Partikel-Icons, unten weitere Leistungen in vier Spalten */
.nav.mega-auf { background: var(--bg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 19; background: var(--bg); border-bottom: 1px solid var(--linie); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, 0.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms; }
.mega.offen { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
/* Glas-Schleier über der übrigen Seite, solange das Mega-Menü offen ist (Mischa, 08.11.): leicht abgedunkelt und weichgezeichnet, Klick darauf schließt */
.schleier { position: fixed; inset: 0; z-index: 19; background: color-mix(in srgb, var(--bg) 22%, rgba(0, 0, 0, 0.14)); -webkit-backdrop-filter: blur(9px) saturate(1.15); backdrop-filter: blur(9px) saturate(1.15); opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s linear 240ms; }
.schleier.an { opacity: 1; visibility: visible; transition: opacity 240ms ease, visibility 0s; }
@media (max-width: 1080px) { .schleier { display: none; } }
@media (prefers-reduced-motion: reduce) { .schleier, .schleier.an { transition: none; } }
.mega-in { max-width: 1560px; margin: 0 auto; padding: 22px clamp(40px, 5.5vw, 96px) 30px; }
/* vier gleich breite Spalten oben und unten, damit jede Leistungsgruppe genau unter einer Box steht */
.mega-karten, .mega-weitere { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 12px; } /* Fotokarte breiter als die drei Kernkarten */
.mega-karte { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--karte); color: var(--fg); text-decoration: none; transition: background-color 160ms ease; }
.mega-karte:hover { background: color-mix(in srgb, var(--fg) 8%, var(--bg)); }
.mega-bild { display: block; height: 90px; } /* Icon links, unten bündig, dicht über der Überschrift (kern.js data-links) */
.mega-bild canvas { display: block; width: 100%; height: 100%; color: var(--fg); }
.mega-txt { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 16px; }
.mega-txt b { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.mega-txt b, .mega-txt > span { text-wrap: pretty; } /* keine einzelnen Wörter in der letzten Zeile */
.mega-txt > span { font-size: 13.5px; line-height: 1.4; color: var(--fg-2); }
.mega-weitere { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linie); }
.mega-spalte { padding: 0 8px 0 16px; } /* Text bündig mit den Kartentiteln darüber */
.mega-kat { margin: 0 0 6px; font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.mega-spalte ul { margin: 0; padding: 0; list-style: none; }
.mega-spalte a { display: flex; align-items: center; gap: 10px; margin: 0 -8px; padding: 7px 8px; border-radius: 4px; font-size: 14.5px; font-weight: 500; color: var(--fg); text-decoration: none; transition: background-color 160ms ease; }
.mega-spalte a:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.mega-spalte svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--fg-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Fotokarte im Mega-Menü: Foto in Farbe, Verlauf von unten (dunkel) nach oben (unsichtbar), Satz unten links, Pfeil-Kästchen zeigt „klickbar“ */
.mega-foto { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 18px; border-radius: 8px; overflow: hidden; background: #1a1a1d; color: #fff; text-decoration: none; isolation: isolate; }
.mega-foto img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 700ms cubic-bezier(.2, .7, .2, 1); }
.mega-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 8, 9, 0.9) 0%, rgba(8, 8, 9, 0.6) 28%, rgba(8, 8, 9, 0.18) 55%, rgba(8, 8, 9, 0) 75%); }
.mega-foto:hover img { transform: scale(1.04); }
.mega-foto-txt { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.mega-foto-pfeil { flex: none; width: 32px; height: 32px; border-radius: 4px; background: #fff; display: grid; place-items: center; transition: transform 220ms ease; }
.mega-foto-pfeil svg { width: 16px; height: 16px; fill: none; stroke: #0a0a0b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mega-foto:hover .mega-foto-pfeil { transform: translateX(3px); }
/* schmale Laptops: Fotokarte etwas weniger breit, Leistungsnamen einen Hauch kleiner, damit sie einzeilig bleiben */
@media (max-width: 1280px) { .mega-karten, .mega-weitere { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); } .mega-spalte { padding-right: 0; } .mega-spalte a { font-size: 14px; gap: 8px; } }

/* Handy-Menü (≤ 1080 px): Vollbild unter der Navigation, Farben folgen dem Hell-Dunkel-Übergang (Root-Variablen) */
.menue { --rand: clamp(40px, 5.5vw, 96px); display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 19; height: calc(100vh - var(--nav-h, 72px)); height: calc(100dvh - var(--nav-h, 72px)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 0s linear 220ms; }
.menue.offen { opacity: 1; visibility: visible; transition: opacity 220ms ease, visibility 0s; }
.nav.menue-auf { background: var(--bg); border-bottom-color: var(--linie); }
html.menue-offen { overflow: hidden; }
.menue-in { padding: 4px var(--rand) 104px; } /* unten Platz für die Kontaktleiste */
/* Punkte erscheinen kurz nacheinander */
.menue-in > * { opacity: 0; transform: translateY(10px); transition: opacity 260ms ease, transform 360ms cubic-bezier(.2, .7, .2, 1); }
.menue.offen .menue-in > * { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 40ms); }
.menue-punkt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 66px; padding: 0; border: 0; border-bottom: 1px solid var(--linie); background: none; font: inherit; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--fg); text-align: left; text-decoration: none; cursor: pointer; }
.menue-gruppe { border-bottom: 1px solid var(--linie); }
.menue-gruppe > .menue-punkt { border-bottom: 0; }
.menue-pfeil { flex: none; width: 10px; height: 10px; margin: -5px 4px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 240ms ease, margin 240ms ease; }
[aria-expanded="true"] > .menue-pfeil { transform: rotate(-135deg); margin-top: 4px; }
/* Aufklappen über die Zeilenhöhe des Rasters (0fr → 1fr), damit die Höhe weich mitläuft */
.menue-klapp { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms cubic-bezier(.3, .7, .2, 1); }
[aria-expanded="true"] + .menue-klapp { grid-template-rows: 1fr; }
.menue-klapp-in { min-height: 0; overflow: hidden; }
.menue-klapp-leistungen { margin: 0 calc(-1 * var(--rand)); } /* Karten laufen bis an den Bildschirmrand */
.menue-klapp-leistungen > .menue-klapp-in { padding-bottom: 20px; }
/* Kernkarten zum Wischen: die nächste Karte schaut an, damit klar ist, dass es weitergeht */
.menue-karten { display: flex; gap: 10px; overflow-x: auto; padding: 2px var(--rand) 0; scroll-padding: 0 var(--rand); scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.menue-karten::-webkit-scrollbar { display: none; }
.menue-karte { flex: 0 0 min(258px, 70vw); scroll-snap-align: start; }
.menue-weitere-knopf { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 2 * var(--rand)); height: 48px; margin: 12px var(--rand) 0; padding: 0 16px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); background: color-mix(in srgb, var(--fg) 5%, transparent); font: inherit; font-size: 15px; font-weight: 500; color: var(--fg); cursor: pointer; }
.menue-weitere-knopf .menue-pfeil { width: 7px; height: 7px; border-width: 1.5px; margin-top: -3px; }
.menue-weitere-knopf[aria-expanded="true"] .menue-pfeil { margin-top: 3px; }
.menue-weitere { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px var(--rand) 4px; }
.menue .mega-spalte { padding: 0 0 0 8px; }
.menue .mega-spalte a { margin-right: 0; padding: 10px 8px; font-size: 15px; }
@media (hover: none) { .menue .mega-spalte a:hover, .menue .mega-karte:hover { background: var(--karte); } .menue .mega-spalte a:hover { background: none; } } /* kein hängender Hover nach dem Tippen */
.menue-foto { min-height: 172px; margin-top: 28px; }
@media (min-width: 560px) { .menue-weitere { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; } .menue-punkt { font-size: 32px; min-height: 74px; } }
@media (max-width: 1080px) { .menue { display: block; } }
@media (max-width: 719.98px) { .menue { --rand: 16px; } }
@media (prefers-reduced-motion: reduce) { .menue-in > *, .menue-klapp, .menue-pfeil { transition: none; } .menue-in > * { transform: none; } }


/* ===== Tablet-Feinschliff (Mischa 09.11.) ===== */
/* Balken unter Wischreihen (wischleiste.js): Farbe folgt dem Abschnitt, auf Dunkel weiß, auf Hell schwarz */
.wisch-leiste { position: relative; height: 3px; margin-top: 16px; border-radius: 2px; background: color-mix(in srgb, var(--fg) 12%, transparent); overflow: hidden; }
.wisch-leiste[hidden] { display: none; }
.wisch-leiste span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--fg); }
/* Projekte: ohne Maus bzw. am Tablet Titel mit Pfeil ganz rechts, darunter Text, darunter die Pills */
@media (hover: none), (max-width: 1080px) {
  .pj-text { grid-template-columns: 1fr; }
  .pj-tags { justify-content: flex-start; margin-top: 4px; }
}
@media (min-width: 720px) and (max-width: 1080px) {
  /* Kernexpertise: drei Karten zum Wischen, die dritte schaut hervor */
  .kern-raster { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * clamp(40px, 5.5vw, 96px)); margin-right: calc(-1 * clamp(40px, 5.5vw, 96px)); padding: 0 clamp(40px, 5.5vw, 96px); scroll-padding: 0 clamp(40px, 5.5vw, 96px); scrollbar-width: none; }
  .kern-raster::-webkit-scrollbar { display: none; }
  .kern-raster > .kern-karte { flex: 0 0 44%; scroll-snap-align: start; }
  /* Weitere Leistungen: zwei mal zwei statt vier enge Spalten */
  .lt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  /* KI-Assistent mittig */
  .bot-links { align-items: center; text-align: center; }
  .bot-links h2 { margin-left: auto; margin-right: auto; }
  .bot-links p { margin-left: auto; margin-right: auto; }
  .bot-gesicht { margin-left: auto; margin-right: auto; }
}
/* So läuft ein Projekt ab, Tablet: 3 oben, 2 unten mittig */
@media (min-width: 720px) and (max-width: 1180px) {
  .schritte-raster { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 56px; }
  .schritte-raster > .schritt-karte { grid-column: span 2; }
  .schritte-raster > .schritt-karte:nth-child(4) { grid-column: 2 / span 2; }
}
/* Menü am Tablet (Mischa 09.11.): Kernkarten größer, Balken darunter, Foto höher */
.menue .wisch-leiste { margin: 14px var(--rand) 0; }
@media (min-width: 720px) and (max-width: 1080px) {
  .menue-karte { flex: 0 0 42%; }
  .menue .mega-bild { height: 150px; }
  .menue .mega-txt { gap: 5px; padding: 16px 20px 22px; }
  .menue .mega-txt b { font-size: 18px; }
  .menue .mega-txt > span { font-size: 15px; }
  .menue-foto { min-height: 340px; padding: 24px; }
  .menue-foto .mega-foto-txt { font-size: 24px; }
}

/* Footer-Wortzeichen: beim ersten Hineinscrollen läuft einmal ein Lichtstreifen von links nach rechts durch die Buchstaben (Mischa 09.11.) */
.fuss-wort { background-image: linear-gradient(100deg, transparent 0%, color-mix(in srgb, var(--fg) 55%, transparent) 50%, transparent 100%), linear-gradient(color-mix(in srgb, var(--fg) 7%, transparent), color-mix(in srgb, var(--fg) 7%, transparent));
  background-size: 28% 100%, 100% 100%; background-repeat: no-repeat; background-position: -40% 0, 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.fuss-wort.leuchtet { animation: wort-licht 2200ms cubic-bezier(.45, .05, .35, 1) 1 both; }
@keyframes wort-licht { from { background-position: -40% 0, 0 0; } to { background-position: 140% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .fuss-wort.leuchtet { animation: none; } }
/* Schräges Band „Coming soon“ über der rechten oberen Ecke (Mischa 09.11., Control Sicherheit) */
.pk-bald { position: absolute; z-index: 2; top: 30px; right: -62px; width: 250px; padding: 10px 0; transform: rotate(45deg); background: #fff; color: #0a0a0b; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); pointer-events: none; }
@media (max-width: 719.98px) { .pk-bald { top: 20px; right: -70px; padding: 7px 0; font-size: 11px; } }
/* Footer und dunkle Abschnitte mit harter Kante sind fest schwarz (Mischa 09.11.): sonst stehen sie beim Hineinscrollen
   kurz in den hellen Farben, bis w.js umschaltet, und springen dann schlagartig um */
.fuss, [data-ton="dunkel"][data-hart] { --bg: rgb(11, 11, 12); --fg: rgb(245, 245, 246); --fg-2: rgba(245, 245, 246, 0.62); --linie: rgba(245, 245, 246, 0.1); --karte: rgb(28, 28, 31); background: var(--bg); color: var(--fg); }
.fuss { position: relative; z-index: 2; }
/* Echte Projektbilder als Blog-Titelbild, auch auf der Startseite (Mischa 09.11.) */
.bl-foto img, .bl-foto video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Blogbilder auf der Startseite in Grau, sonst zu viel Farbe an der Stelle (Mischa 10.11.) */
.bl-raster .bl-foto img, .bl-raster .bl-foto video { filter: grayscale(1); }
/* KI-Assistent als Fenster aus der Kontaktpille (bot-fenster.js, Mischa 10.11.): große Sprechblase über der Pille,
   oben der bewegte Partikel-Kopf, darunter der Chat. Immer dunkel, egal welcher Abschnitt dahinter liegt. */
.bot-fenster { --bg: rgb(11, 11, 12); --fg: rgb(245, 245, 246); --fg-2: rgba(245, 245, 246, 0.62); --linie: rgba(245, 245, 246, 0.12); --karte: rgb(28, 28, 31);
  position: fixed; z-index: 45; left: 50%; bottom: 96px; width: min(440px, calc(100vw - 32px)); height: min(640px, calc(100svh - 130px));
  display: flex; flex-direction: column; padding: 14px 16px 14px; border-radius: 20px; background: #0e0e10; color: var(--fg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .07);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px) scale(.97); transform-origin: 70% 100%;
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 360ms; }
.bot-fenster.offen { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity 260ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1), visibility 0s; }
/* Sprechblasen-Spitze zum Chat-Knopf */
.bot-fenster::after { content: ""; position: absolute; left: calc(50% + 62px); bottom: -9px; width: 18px; height: 18px; background: #0e0e10; transform: rotate(45deg); border-radius: 0 0 4px 0; box-shadow: inset -1px -1px 0 rgba(255, 255, 255, .07); }
.bot-fenster .bot-flug { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.bf-kopf { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 0 10px; }
.bot-fenster .bot-gesicht { width: 150px; margin: -6px 0 0; color: var(--fg); }
.bf-titel b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.bf-titel small { display: block; margin-top: 2px; font-size: 13px; color: var(--fg-2); }
.bf-zu { position: absolute; top: 2px; right: 0; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--karte); color: var(--fg); cursor: pointer; transition: transform 200ms ease; }
.bf-zu:hover { transform: rotate(90deg); }
.bf-zu svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.bf-chat { flex: 1; min-height: 0; padding: 0; border: 0; background: none; }
.bot-fenster .bot-verlauf { max-height: none; flex: 1; min-height: 0; }
.bot-fenster .ch-erste { font-size: 17px; }
.bf-hinweis { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; text-align: center; color: var(--fg-2); }
.rund-chat[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(47, 107, 255, .35); }
@media (max-width: 719.98px) {
  /* Handy: Blatt fast über die volle Breite, Kopf klein neben dem Titel */
  .bot-fenster { left: 10px; right: 10px; width: auto; bottom: 80px; height: min(72svh, 600px); padding: 12px 12px 10px; border-radius: 18px; transform: translateY(16px) scale(.98); transform-origin: 80% 100%; }
  .bot-fenster.offen { transform: none; }
  .bot-fenster::after { left: auto; right: 74px; }
  .bf-kopf { flex-direction: row; align-items: center; gap: 10px; text-align: left; padding: 0 44px 8px 0; }
  .bot-fenster .bot-gesicht { flex: none; width: 58px; margin: 0; }
  .bf-titel b { font-size: 15.5px; }
  .bf-titel small { font-size: 12px; }
  .bf-zu { top: 50%; margin-top: -21px; }
  .bot-fenster .ch-erste { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .bot-fenster, .bot-fenster.offen { transition: none; } }
/* Footer (Mischa 10.11.): weniger Abstand zwischen Rechtszeile und Wortzeichen. Am Handy Platz unter dem Wortzeichen,
   damit die Kontaktpille ganz unten unter „web-clusive“ landet; © am Handy weg, damit AGB in die Zeile passt */
.fuss-leiste { padding-bottom: 12px; }
.fuss-wort { margin-top: -0.05em; }
@media (max-width: 719.98px) {
  .fuss { padding-bottom: 96px; }
  .fuss-wort { margin-bottom: 0; }
  .fuss-recht > span:first-child { display: none; }
  .fuss-recht { flex-wrap: nowrap; gap: 8px 18px; }
}
.bot-fenster .bot-gesicht { order: 0; }
/* Glas-Hintergrund hinter dem KI-Chat, gleiche Wirkung wie beim Menü (Mischa 10.11., Test). Über Seite und Navigation, unter Pille und Chat */
.bf-schleier { position: fixed; inset: 0; z-index: 39; background: color-mix(in srgb, var(--bg) 22%, rgba(0, 0, 0, 0.14)); -webkit-backdrop-filter: blur(9px) saturate(1.15); backdrop-filter: blur(9px) saturate(1.15); opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s linear 240ms; }
.bf-schleier.an { opacity: 1; visibility: visible; transition: opacity 240ms ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .bf-schleier, .bf-schleier.an { transition: none; } }

/* KI-Assistent (Mischa 10.11.): Projektkarte und Zusammenfassung im Chat */
.ch-projekt { align-self: flex-start; display: block; max-width: 82%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--linie); color: var(--fg); text-decoration: none; transition: border-color 160ms ease; }
.ch-projekt:hover { border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.ch-projekt small { display: block; font-size: 12px; color: var(--fg-2); }
.ch-projekt b { display: block; margin-top: 2px; font-weight: 500; }
.ch-projekt b::after { content: " →"; }
.ch-karte { align-self: stretch; max-width: none; border: 1px solid var(--linie); background: var(--karte); }
.ch-karte small { display: block; font-size: 12px; color: var(--fg-2); }
.ch-karte .ck-text { margin: 6px 0 0; }
.ch-karte dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 12px 0 0; font-size: 14px; }
.ch-karte dt { color: var(--fg-2); } .ch-karte dd { margin: 0; overflow-wrap: anywhere; }
.ck-knoepfe { display: flex; gap: 8px; margin-top: 14px; }
.ck-knoepfe button { height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--linie); background: transparent; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.ck-knoepfe .ck-senden { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 500; }
.ck-knoepfe button:disabled { opacity: 0.5; cursor: default; }
.ch-karte.ck-fertig { opacity: 0.75; }
.ch-bot a, .bot-hinweis a, .bf-hinweis a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Projekt-Badges mobil in einer Zeile, seitlich wischbar statt Umbruch (Mischa 10.11.) */
@media (max-width: 719.98px) {
  .pj-tags { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -16px; padding-right: 16px; }
  .pj-tags::-webkit-scrollbar { display: none; }
  .pj-tags li { flex: none; }
}
