/* Daka Media – Terminal Homepage */
:root {
  /* Logo-Gelb */
  --accent: #D9D03A;
  --accent-bright: #E8E241;
  --accent-dim: #8a841f;
  --accent-ink: #1a1802;

  /* Warmes Anthrazit aus Angebots-Layout */
  --bg: #3d3c3a;
  --bg-2: #333230;
  --bg-3: #2a2927;
  --bg-card: #403f3c;
  --bg-elev: #47464300;

  --ink: #f5f3ee;
  --ink-2: #c8c5bd;
  --ink-3: #8b887f;
  --ink-4: #5c5a54;
  --line: #555350;
  --line-2: #6a6862;
  --line-dim: #46443f;

  --sans: 'Rubik', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --serif: 'Lora', Georgia, serif;
}

/* ============ TWEAKABLE: DENSITY ============ */
body[data-density="compact"] .section { padding-top: 60px; padding-bottom: 60px; }
body[data-density="airy"] .section { padding-top: 140px; padding-bottom: 140px; }
body[data-density="compact"] .hero { padding-top: 100px; padding-bottom: 60px; }
body[data-density="airy"] .hero { padding-top: 180px; padding-bottom: 120px; }

/* ============ TWEAKABLE: NAV STYLE ============ */
body[data-nav-style="solid"] .nav {
  background: var(--bg-3);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  /* clip ist robuster als hidden — verhindert horizontal-scroll
     auch dann, wenn ein Kind position:sticky/fixed nutzt. */
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Globale no-overflow Sicherung: jedes Section-Wurzel-Element
   darf seine Kinder nicht horizontal über den Viewport schieben. */
.hero, .section, .contact, .servers-section, .foot, .nav,
.about-hero, .team-leads, .crew-grid, .testi-grid,
.services-grid, .saas, .blog, .partners, .pricing,
.foot-grid {
  min-width: 0;
}
/* Pre/Code-Blöcke (Hero-Terminal-ASCII, Service-Cards-ASCII) sollen
   intern scrollen statt die Page zu sprengen. */
.term-body pre, .service pre, .ascii, pre.ascii {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}
/* Live-Server-Tabelle: scrollt intern auf Mobile */
.servers { max-width: 100%; }
.servers table { width: 100%; }
.servers-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Client-Logos-Marquee bleibt nowrap, darf aber den Container nicht sprengen */
.clients-marquee { max-width: 100%; overflow: hidden; }
/* Bilder generell nie über Container hinaus */
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 40px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-dim);
  font-size: 12px;
  transition: padding .25s ease, background .25s;
}
.nav.nav-small {
  padding: 10px 40px;
  background: color-mix(in srgb, var(--bg-3) 92%, transparent);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  text-decoration: none;
}
.nav-brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: var(--accent);
}
.nav-brand .mark svg { display: block; }
.nav-brand .txt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1;
}
.nav-brand .txt b { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.nav-brand .txt em { font-style: normal; color: var(--ink-2); font-weight: 400; }
.nav-brand .txt .slash { color: var(--ink-4); font-weight: 400; }

/* Footer brand */
.foot-brand .brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  line-height: 1;
}
.foot-brand .brand-row .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--accent);
}
.foot-brand .brand-row .mark svg { display: block; }
.foot-brand .brand-row .txt {
  font-family: var(--sans);
  font-size: 22px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
  line-height: 1;
}
.nav-links { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a .hash { color: var(--ink-4); transition: color .15s; }
/* Aktiver Abschnitt: die Raute leuchtet mit und eine feine Linie sitzt
   darunter. Der CTA-Button ist ausgenommen — der ist ohnehin gefuellt. */
.nav-links a.is-active { color: var(--accent); }
.nav-links a.is-active .hash { color: var(--accent); }
.nav-links a.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* Burger */
.nav-burger {
  display: none;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--line);
  border-radius: 4px; padding: 0; cursor: pointer; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 1px;
  transition: transform .3s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 96%, black);
  opacity: 0; pointer-events: none; transition: opacity .3s;
  padding: 100px 32px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu ul li { border-bottom: 1px dashed var(--line-dim); }
.mobile-menu ul a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 0; color: var(--ink); text-decoration: none;
  font-family: var(--serif); font-size: 32px; font-weight: 500;
  font-style: italic; letter-spacing: -0.01em;
}
.mobile-menu ul a .n {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  font-style: normal; font-weight: 500; letter-spacing: 0.04em;
}
.mobile-menu ul a:hover, .mobile-menu ul a:focus { color: var(--accent); }
.mobile-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-top: 24px; border-top: 1px solid var(--line-dim);
}

/* Shared pulse dot */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ============ WRAP ============ */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* ============ HERO pinned with zoom ============ */
.hero-pin-wrap {
  position: relative;
  min-height: 100vh;
}
.hero {
  padding: 140px 40px 80px;
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  position: relative;
  min-height: calc(100vh - 60px);
  align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--line-dim) 1px, transparent 1px),
    linear-gradient(var(--line-dim) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}

.term {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 560px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; }
.term-dots i:nth-child(1) { background: #E5484D; }
.term-dots i:nth-child(2) { background: #E8B93A; }
.term-dots i:nth-child(3) { background: var(--accent); }
.term-title { flex: 1; text-align: center; font-size: 11px; color: var(--ink-3); }
.term-tabs { display: flex; gap: 6px; font-size: 11px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.term-tabs::-webkit-scrollbar { display: none; }
.term-tab { flex: 0 0 auto; white-space: nowrap; }
/* Tabs deutlich als klickbare Reiter kennzeichnen (vorher wirkten sie wie
   reiner Text — Reviewer war nicht klar, dass es Menüpunkte sind). */
.term-tab {
  color: var(--ink-3);
  cursor: pointer;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px 4px 0 0;
  border-bottom: none;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  position: relative;
  transition: color .15s, background .15s, border-color .15s;
}
.term-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: var(--line-2); }
.term-tab.active {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
/* aktiver Reiter „sitzt“ optisch auf der Bar-Kante auf */
.term-tab.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent);
}

.term-body { padding: 24px 28px; flex: 1; font-size: 13.5px; line-height: 1.7; overflow: hidden; }
.term-body p { margin: 0 0 2px; }
.term-body .ps { color: var(--accent); margin-right: 10px; }
.term-body .cmd { color: var(--ink); }
.term-body .out { color: var(--ink-2); padding-left: 22px; }
.term-body .out.dim { color: var(--ink-3); }
.term-body .green { color: var(--accent); }
.term-body .yellow { color: #E8B93A; }
.term-body .dim { color: var(--ink-4); }
.term-body .ascii {
  color: var(--accent);
  font-size: 10px; line-height: 1.1;
  white-space: pre;
  margin: 0 0 14px;
}
.term-cursor {
  display: inline-block; width: 9px; height: 16px;
  background: var(--accent); vertical-align: -3px; margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-side {
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.hero-eyebrow {
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.hero-title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.hero-title em {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; color: var(--accent);
}
.hero-lede {
  font-family: var(--sans);
  font-size: 16px; color: var(--ink-2);
  line-height: 1.6; max-width: 460px;
}

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-stat {
  position: relative;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg-3) 40%, transparent);
  overflow: hidden;
}
.hero-stat .k { font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-stat .v { font-family: var(--sans); font-weight: 600; font-size: 32px; color: var(--ink); letter-spacing: -0.02em; margin-top: 4px; line-height: 1; }
.hero-stat .v .u { font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.hero-stat .t { font-size: 10px; color: var(--accent); margin-top: 6px; letter-spacing: 0.04em; }

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 6px;
  font-family: var(--mono); font-size: 13px;
  text-decoration: none; border: 1px solid transparent;
  transition: all .15s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============ LIVE SERVERS (sticky ticker) ============ */
.servers-section {
  max-width: 1440px; margin: 40px auto; padding: 0 40px;
}
.servers {
  border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
  background: var(--bg-3);
}
.servers-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.servers-head b { color: var(--accent); font-weight: 500; }
.servers-head .meta { color: var(--ink-3); font-size: 11px; }
.servers table { width: 100%; border-collapse: collapse; font-size: 12px; }
.servers th, .servers td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--line-dim); }
.servers tr:last-child td { border-bottom: none; }
.servers th { color: var(--ink-4); font-weight: 400; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.servers td.host { color: var(--ink); font-weight: 500; }
.servers td.ok { color: var(--accent); }
.bar-mini { display: inline-flex; gap: 2px; align-items: center; }
.bar-mini i { display: inline-block; width: 3px; height: 14px; background: var(--accent); }
.bar-mini i.lo { background: var(--line-2); height: 8px; }

/* ============ SECTION CHROME ============ */
.section {
  max-width: 1440px; margin: 0 auto;
  /* 80px wirkten zwischen Hosting, Module und About gequetscht — die
     Sektionen standen faktisch nur 160px auseinander. */
  padding: 116px 40px;
}
.shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 48px;
  gap: 24px;
}
.shead .l { display: flex; align-items: baseline; gap: 14px; }
.shead .hash { color: var(--accent); font-size: 18px; }
.shead h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em; margin: 0; color: var(--ink);
  line-height: 1;
}
.shead h2 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.shead .r { color: var(--ink-3); font-size: 11px; letter-spacing: 0.06em; text-align: right; }
.shead .r b { color: var(--ink); font-weight: 500; }

/* ============ ANIMATED BORDER CARD ============ */
.trace-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: background .3s;
}
.trace-card.no-bg { background: transparent; }
.trace-card::before,
.trace-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 8px; pointer-events: none;
}
/* Subtle static border */
.trace-card::before {
  border: 1px solid var(--line);
}
/* Animated yellow trace — draws around the card perimeter */
.trace-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
  z-index: 2;
}
.trace-svg rect {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 50%, transparent));
  opacity: 0;
  transition: opacity .2s;
}
.trace-card.active .trace-svg rect {
  opacity: 1;
  animation: trace-draw 1.6s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes trace-draw {
  0%   { stroke-dashoffset: var(--perim, 2000); }
  100% { stroke-dashoffset: 0; }
}
.trace-card.active {
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-card));
}

/* ============ SERVICES (horizontal scroll) ============
   Two layout modes:
   - Mobile/Tablet (default): track scrolls touch-natively via overflow-x.
   - Desktop with .is-pinned (set by JS): vertical scroll is translated to
     horizontal track movement via sticky-pin + transform.
*/
.services-section { position: relative; }

.services-pin {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 80px;     /* room for progress bar */
}
.services-pin::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--line-dim) 1px, transparent 1px);
  background-size: 80px 100%;
  opacity: 0.3;
  pointer-events: none;
}
.services-track {
  display: flex;
  gap: 24px;
  padding: 0 40px;
  will-change: transform;
}
.services-intro {
  flex: 0 0 480px;
  display: flex; flex-direction: column; justify-content: center;
  padding-right: 40px;
}
.services-intro .eyebrow {
  font-size: 11px; color: var(--accent); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.services-intro .eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.services-intro h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(40px, 4vw, 56px); line-height: 1;
  letter-spacing: -0.025em; margin: 0 0 24px; color: var(--ink);
}
.services-intro h2 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.services-intro p { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; max-width: 400px; }
.services-intro .scroll-hint {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  align-self: flex-start;
}
.services-intro .scroll-hint .arrow { color: var(--accent); font-size: 16px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateX(6px); } }

/* Persistenter Seitwärts-Hinweis: rechte Kante fadet aus. Signalisiert
   „hier geht es seitlich weiter“ — sichtbar unabhängig von der Scroll-Position,
   auch wenn man per Menü-Anker (#leistungen) mitten reinspringt und die
   Intro-Karte mit dem Text-Hinweis gar nicht sieht. Rein passiv, kollidiert
   mit nichts. Auf Desktop (gepinnt) sitzt der Fade an der Stage-Kante. */
.services-section::after {
  content: '';
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}
.services-pin .service { flex: 0 0 420px; min-height: 520px; align-self: stretch; padding-top: 56px; position: relative; }
.services-pin .service.featured { flex: 0 0 420px; min-height: 520px; }
.services-pin .service.speed { flex: 0 0 560px; min-height: 520px; align-self: stretch; }
.services-pin .service .num {
  position: absolute; top: 22px; left: 28px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent);
}
.services-pin .service h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.015em; }
.services-pin .service.featured h3 { font-size: 26px; font-weight: 700; }
.services-pin .service ul { margin: 14px 0 auto; }
.service li a { color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line-2); transition: color .15s, border-color .15s; }
.service li a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Static glowing accent border, inset 3px from the card edge */
.services-pin .service { overflow: visible; }
.services-pin .service::before {
  content: '';
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid var(--accent);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--accent) 35%, transparent),
    inset 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent);
}
/* alternating subtle backgrounds for symmetry */
.services-pin .service:nth-of-type(odd) {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg-card)), var(--bg-card));
  border-color: color-mix(in srgb, var(--accent) 18%, var(--line));
}
.services-pin .service:nth-of-type(even) {
  background: var(--bg-card);
  border-color: var(--line);
}

/* Horizontal progress bar */
.scroll-progress {
  position: absolute;
  bottom: 40px; left: 40px; right: 40px;
  height: 1px; background: var(--line);
  z-index: 3;
  opacity: 0;            /* hidden until JS enables pin mode */
  transition: opacity .25s;
}
.scroll-progress i {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width .05s linear;
}
.scroll-progress::before {
  content: 'SERVICES';
  position: absolute; left: 0; top: -20px;
  font-size: 10px; color: var(--ink-3); letter-spacing: 0.1em;
}
.scroll-progress::after {
  content: attr(data-pct) '%';
  position: absolute; right: 0; top: -20px;
  font-size: 10px; color: var(--accent); letter-spacing: 0.1em; font-family: var(--mono);
}

/* === Desktop pin mode === */
.services-section.is-pinned {
  /* total scrollable height = viewport + horizontal travel; set inline by JS */
  position: relative;
}
.services-section.is-pinned .services-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}
.services-section.is-pinned .services-track {
  /* JS controls transform; no native scroll */
  transform: translate3d(0, 0, 0);
}
.services-section.is-pinned .scroll-progress { opacity: 1; }

/* Die Sektions-Ueberschrift bleibt waehrend des gesamten seitlichen Durchlaufs
   stehen — sonst weiss man beim Blaettern nicht mehr, in welcher Sektion man
   ist. Sie klebt unter der fixen Nav, die Karten-Buehne beginnt darunter.
   --nav-h und --shead-h misst das JS, damit die Rechnung auch bei
   umbrechender Ueberschrift oder geschrumpfter Nav stimmt. */
.services-section.is-pinned .shead {
  position: sticky;
  top: var(--nav-h, 0px);
  z-index: 4;
  background: var(--bg);
  margin-bottom: 0;
  padding-top: 26px;      /* Luft ueber der Ueberschrift */
  padding-bottom: 20px;
}
.services-section.is-pinned .services-pin {
  top: calc(var(--nav-h, 0px) + var(--shead-h, 0px));
  height: calc(100vh - var(--nav-h, 0px) - var(--shead-h, 0px));
}
/* Auf Mobile ist 100vh die Hoehe MIT eingeblendeter Adressleiste — die Buehne
   wuerde beim Ein-/Ausblenden der Leiste springen. svh ist die kleine, stabile
   Variante. Fallback bleibt das 100vh darueber. */
@supports (height: 100svh) {
  .services-section.is-pinned .services-pin {
    height: calc(100svh - var(--nav-h, 0px) - var(--shead-h, 0px));
  }
}

@media (max-width: 1023px) {
  /* Bis 2026-08-12 stand hier ein "Force mobile mode" mit !important, das den
     Pin-Modus auf Mobile hart abgeschaltet hat. Der native Seitwärts-Scroll,
     der stattdessen greifen sollte, war zwar technisch vorhanden — nur gewann
     bei einer vertikalen Wischbewegung immer die Seite, sodass man an den
     Karten vorbeigescrollt ist, ohne sie je zu sehen.
     Jetzt gilt auch hier der scroll-getriebene Pin (siehe theme.daka.js):
     man scrollt weiter nach unten, die Karten wandern seitwärts. Damit gibt es
     keinen verschachtelten Scroll-Container mehr und keinen Gestenkonflikt.
     Die folgenden Regeln bleiben als Fallback für prefers-reduced-motion und
     für den Fall, dass das JS nicht läuft. */

  /* --- Touch-Swipe-Fallback: eine Karte pro Wisch, mit Snap --- */
  .services-pin {
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    overscroll-behavior-x: contain;
  }
  .services-track { padding: 0 20px; }
  .services-track > * { scroll-snap-align: start; }
  .services-intro {
    flex: 0 0 78vw;
    min-width: 240px;
    padding-right: 24px;
  }
  .services-pin .service,
  .services-pin .service.featured,
  .services-pin .service.speed {
    flex: 0 0 82vw;
    max-width: 380px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-section.is-pinned { height: auto !important; }
  .services-section.is-pinned .services-pin {
    position: relative;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 80px;
  }
  .services-section.is-pinned .services-track { transform: none !important; }
  .services-section.is-pinned .scroll-progress { opacity: 0; }
  .services-intro .scroll-hint .arrow { animation: none; }
}

/* ============ HERO zoom out ============ */
.hero-zoom-wrap { position: relative; }
.services {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.service {
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer; min-height: 260px;
}
.service .num { color: var(--accent); font-size: 11px; letter-spacing: 0.06em; }
.service .tag { position: absolute; top: 18px; right: 20px; font-size: 11px; color: var(--ink-2); letter-spacing: 0.06em; }
/* Flagship-Tag als deutlich sichtbares Accent-Badge (war vorher kaum lesbar) */
.services-pin .service.featured .tag {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.service h3 { font-family: var(--sans); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.service p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.service ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; gap: 6px; }
.service li { font-size: 12px; color: var(--ink-2); padding-left: 16px; position: relative; }
.service li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 2px; }

.service.featured {
  grid-row: 1 / span 2;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--bg-card)), var(--bg-card));
  min-height: 540px;
}
/* in horizontal services-pin row: keep h3 sizes equal — featured override only applies to grid layout */
.services:not(.services-track) .service.featured h3 { font-size: 32px; font-weight: 700; }
.service.featured .illust {
  font-family: var(--mono); font-size: 10px; line-height: 1.2;
  color: var(--accent); white-space: pre; margin: auto 0 8px;
  opacity: 0.7;
}

/* ============ PRICING ============ */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.plan {
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 420px;
  position: relative;
}
.plan.feat { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, var(--bg-card)), var(--bg-card)); }
.plan.feat .tag { color: var(--accent); font-weight: 600; }
/* //empfohlen als Badge aus dem Fluss nehmen, damit alle Karten oben
   bündig starten (sonst schob das Flag den Inhalt der feat-Karte nach unten). */
.plan .plan-flag {
  position: absolute;
  top: 18px; right: 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.plan .pname { font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.plan .ptitle { font-family: var(--sans); font-weight: 700; font-size: 32px; color: var(--ink); letter-spacing: -0.02em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin: 8px 0; }
.plan .price .v { font-family: var(--sans); font-weight: 600; font-size: 42px; color: var(--ink); line-height: 1; }
.plan .price .u { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { font-size: 13px; color: var(--ink-2); padding-left: 20px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.plan li strong { color: var(--ink); font-weight: 500; }
.plan .pcta {
  margin-top: auto; padding: 12px 16px;
  border: 1px solid var(--line-2); border-radius: 4px;
  text-align: center; color: var(--ink); text-decoration: none;
  font-size: 12px; display: flex; justify-content: space-between; align-items: center;
  transition: all .15s;
}
.plan .pcta:hover { border-color: var(--accent); color: var(--accent); }
.plan.feat .pcta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 500; }
.plan.feat .pcta:hover { background: var(--accent-bright); color: var(--accent-ink); }

/* Pricing notes row */
.pricing-notes {
  border: 1px dashed var(--line);
  padding: 18px 24px;
  border-radius: 6px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  font-size: 12px; color: var(--ink-3);
}
.pricing-notes b { color: var(--accent); font-weight: 500; }

/* ============ SPEED METER (Performance WOW in Services) ============ */
.service.speed { background: linear-gradient(180deg, var(--bg-2), color-mix(in srgb, var(--accent) 4%, var(--bg-2))); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
/* in horizontal pinned row, neutralize variant-specific backgrounds so alternating scheme wins */
.services-pin .service.speed,
.services-pin .service.featured {
  background: var(--bg-card);
  border-color: var(--line);
}
.services-pin .service.featured:nth-of-type(odd),
.services-pin .service.speed:nth-of-type(odd) {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg-card)), var(--bg-card));
  border-color: color-mix(in srgb, var(--accent) 18%, var(--line));
}
.speedmeter {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 18px 14px;
  margin: 8px 0 4px;
  background: var(--bg-3);
  border: 1px solid var(--line-dim);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.speedmeter::before {
  content: '// rehost24 · ttfb benchmark';
  position: absolute; top: 8px; right: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em;
  color: var(--ink-4);
}
.sm-row {
  display: grid;
  grid-template-columns: 130px 1fr 60px;
  align-items: center;
  gap: 12px;
}
.sm-label { display: flex; flex-direction: column; gap: 3px; }
.sm-tag { font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); letter-spacing: 0.06em; }
.sm-headline { font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--ink); letter-spacing: -0.01em; }
.sm-headline.sm-dim { color: var(--ink-3); font-weight: 400; }
.sm-track {
  position: relative;
  height: 32px;
  background: color-mix(in srgb, #000 30%, transparent);
  border-radius: 3px;
  overflow: hidden;
}
.sm-track::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, transparent 0 24%, color-mix(in srgb, var(--ink) 6%, transparent) 24% 25%, transparent 25% 49%, color-mix(in srgb, var(--ink) 6%, transparent) 49% 50%, transparent 50% 74%, color-mix(in srgb, var(--ink) 6%, transparent) 74% 75%, transparent 75% 100%);
  pointer-events: none;
}
.sm-fill {
  height: 100%;
  width: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px;
  font-family: var(--mono); font-weight: 600;
  font-size: 13px; color: var(--accent-ink);
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; z-index: 1;
}
.sm-fill-fast {
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff 0%));
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.sm-fill-slow {
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ink-3) 50%, transparent) 0 6px, color-mix(in srgb, var(--ink-3) 30%, transparent) 6px 12px);
  color: var(--ink-2);
}
.speedmeter.go .sm-fill-fast { width: 21%; }   /* 142ms / 680ms benchmark */
.speedmeter.go .sm-fill-slow { width: 100%; transition-delay: 0.3s; }
.sm-num i { font-style: normal; opacity: 0.7; margin-left: 2px; font-size: 11px; }
.sm-stat { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.08em; text-align: right; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; }
.sm-stat-dim { color: var(--ink-3); }

/* (i) TTFB-Erklärung — reiner CSS-Tooltip, funktioniert per Hover (Desktop)
   und Tap/Focus (Mobile). data-tip liefert den Text. */
.sm-info {
  appearance: none; -webkit-appearance: none;
  width: 14px; height: 14px; padding: 0; margin: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  font-family: var(--mono); font-size: 9px; line-height: 1; font-style: italic; font-weight: 700;
  cursor: help;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  flex: 0 0 auto;
  transition: background .15s, color .15s;
}
.sm-info:hover, .sm-info:focus-visible { background: var(--accent); color: var(--accent-ink); outline: none; }
.sm-info::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: -6px;
  width: max-content; max-width: 240px;
  padding: 9px 11px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  color: var(--ink-2);
  font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 400;
  letter-spacing: 0; line-height: 1.5; text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 10;
  pointer-events: none;
}
/* kleiner Pfeil unten am Tooltip */
.sm-info::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  right: 3px;
  border: 5px solid transparent;
  border-top-color: var(--line-2);
  opacity: 0; visibility: hidden;
  transition: opacity .15s, visibility .15s;
  z-index: 11;
}
.sm-info:hover::after, .sm-info:focus-visible::after,
.sm-info:hover::before, .sm-info:focus-visible::before {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sm-foot {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed var(--line-dim);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.02em;
}
.sm-burst {
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.005em;
  animation: sm-burst-pulse 2.4s ease-in-out infinite;
}
@keyframes sm-burst-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ============ end speed meter ============ */
.saas {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.saas-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 180px;
  gap: 32px;
  align-items: center;
  padding: 32px 24px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s, background .2s;
  position: relative;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.saas-row h3 .ext { color: var(--accent); font-weight: 400; font-size: 0.7em; margin-left: 6px; vertical-align: 2px; }
.saas-row:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); padding-left: 36px; }
.saas-row .glyph {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px; font-size: 24px;
  background: var(--bg-3);
  color: var(--accent);
  font-family: var(--mono);
}
.saas-row h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 22px; color: var(--ink); margin: 0;
  letter-spacing: -0.01em;
}
.saas-row .meta { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.saas-row p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.saas-row .r { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.saas-row .price { font-family: var(--sans); font-weight: 600; font-size: 20px; color: var(--ink); }
.saas-row .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--accent); letter-spacing: 0.04em;
}
.saas-row .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* ============ ABOUT / TEAM ============ */
.about-hero {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: start; margin-bottom: 60px;
}
.about-hero .text { font-family: var(--sans); font-size: 22px; line-height: 1.5; color: var(--ink-2); }
.about-hero .text em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.about-hero .text strong { color: var(--ink); font-weight: 500; }

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.metric {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-3) 50%, transparent);
}
.metric .k { font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.metric .v {
  font-family: var(--sans); font-weight: 600;
  font-size: 72px; color: var(--ink);
  letter-spacing: -0.035em; line-height: 1;
  margin-top: 14px;
}
.metric .v .u { font-family: var(--mono); font-weight: 400; font-size: 20px; color: var(--accent); margin-left: 4px; }
.metric .sub { font-size: 11px; color: var(--ink-3); margin-top: 8px; letter-spacing: 0.04em; }

/* Team members strip */
.team {
  margin-top: 60px;
  padding: 32px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.team-label {
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: baseline; gap: 10px;
}
.team-label b { color: var(--ink); font-weight: 500; font-size: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.team-mem {
  border: 1px solid var(--line);
  border-radius: 6px; padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 120px;
  background: var(--bg-3);
  transition: all .2s;
  position: relative;
}
.team-mem:hover { border-color: var(--accent); transform: translateY(-2px); }
.team-mem .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--accent-ink);
  font-family: var(--sans); font-weight: 600; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.team-mem .mem-name { font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--ink); }
.team-mem .mem-role { font-size: 10px; color: var(--ink-3); margin-top: auto; }
.team-mem.lead .avatar { box-shadow: 0 0 0 2px var(--accent-ink), 0 0 0 3px var(--accent); }

/* Partners */
.partners {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.partner {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none; color: inherit;
  transition: all .2s;
  position: relative; overflow: hidden;
  background: var(--bg-3);
}
.partner:hover { border-color: var(--accent); }
.partner .pglyph {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 6px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-family: var(--mono); font-size: 32px;
  line-height: 1;
  border: 1px solid var(--line);
}
.partner .pname { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.partner .purl { font-size: 11px; color: var(--accent); letter-spacing: 0.04em; margin-top: 2px; }
.partner .pdesc { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-top: 10px; }
.partner .parrow { margin-left: auto; color: var(--ink-3); transition: all .15s; font-size: 16px; }
.partner:hover .parrow { color: var(--accent); transform: translate(3px, -3px); }

/* ============ TESTIMONIALS — asymmetric ============ */
.testi {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.testi-main {
  grid-row: 1 / 3;
  padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--bg-card)), var(--bg-card));
  min-height: 400px;
}
.testi-main .qmark {
  font-family: var(--serif); font-size: 90px; line-height: 0.6;
  color: var(--accent); margin: 0;
}
.testi-main p {
  font-family: var(--sans); font-weight: 500;
  font-size: 24px; line-height: 1.4; color: var(--ink); margin: 0;
  letter-spacing: -0.01em;
}
.testi-main p em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.testi-main .who {
  margin-top: auto; font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em;
}
.testi-main .who b { color: var(--ink); font-weight: 500; font-family: var(--sans); font-size: 14px; letter-spacing: -0.01em; display: block; margin-bottom: 2px; }
.testi-side {
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.testi-side p { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink); margin: 0; }
.testi-side .who { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; margin-top: auto; }
.testi-side .who b { color: var(--accent); font-weight: 500; }
.testi-side .stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; }

/* Testimonial grid — Hosttest reviews */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.testi-card {
  padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  grid-column: span 1;
}
.testi-card.is-big {
  grid-column: span 2;
  align-self: start;             /* only as tall as its content */
  padding: 34px 34px 28px;
  gap: 20px;                     /* Sterne / Zitat / Meta klarer trennen */
  min-height: 0;
}
.testi-card.is-big .testi-card-q {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.testi-card.is-big .testi-card-meta {
  margin-top: 22px;              /* sit just below the quote, not flushed to floor */
  padding-top: 16px;
}
/* Das Anfuehrungszeichen haengt LINKS AUSSERHALB des Textblocks.
   Vorher stand es als Inline-Element im Textfluss: mit line-height:0 sass es
   ueber der ersten Zeile (Kollision mit den Sternen) und schob deren Anfang
   um seine Breite nach rechts — die erste Zeile begann dadurch eingerueckt,
   alle folgenden buendig. Absolut positioniert stimmt die Kante ueberall. */
.testi-card.is-big .testi-card-q { position: relative; }
.testi-card-qmark {
  position: absolute;
  left: -0.52em;
  top: -0.1em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4em;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 62%, transparent);
  pointer-events: none;
  user-select: none;
}
.testi-card-stars { color: var(--accent); font-size: 17px; letter-spacing: 3px; line-height: 1; }
.testi-card-q {
  font-family: var(--sans);
  font-size: 14px; line-height: 1.55;
  color: var(--ink); margin: 0;
  letter-spacing: -0.005em;
}
.testi-card-meta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.testi-card-name {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.02em;
}
.testi-card-name b {
  color: var(--ink); font-weight: 500; font-family: var(--sans);
  font-size: 13px; letter-spacing: -0.01em;
}
.testi-card-site { color: var(--ink-3); }
.testi-card-foot {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-3); letter-spacing: 0.04em;
  display: flex; flex-wrap: wrap; gap: 10px;
  text-transform: lowercase;
}
.testi-card-foot .testi-card-src { color: var(--accent); }

.testi-actions {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 6px 2px;
}
.testi-more {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 22px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 16px;
  transition: border-color .15s, color .15s, background .15s;
}
.testi-more:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.testi-more .tm-count { color: var(--accent); font-size: 11px; letter-spacing: 0.06em; text-transform: lowercase; }
.testi-more.is-done { color: var(--ink-3); }
.testi-source-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  padding-bottom: 2px;
}
.testi-source-link:hover { border-bottom-color: var(--accent); }

/* Client logo marquee */
.clients {
  margin-top: 40px;
  padding: 32px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  overflow: hidden;
  position: relative;
}
.clients-label {
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px; padding: 0 40px;
  display: flex; align-items: baseline; gap: 10px;
}
.clients-label b { color: var(--ink); font-weight: 500; font-size: 14px; }
.clients-track {
  display: flex; gap: 60px;
  animation: marquee 40s linear infinite;
  width: max-content;
  padding: 0 40px;
}
.client-logo {
  font-family: var(--sans); font-weight: 500; font-size: 18px;
  color: var(--ink-3); white-space: nowrap;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: color .2s, opacity .2s;
}
.client-logo:hover { color: var(--accent); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ BLOG ============ */
.blog {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.post {
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  min-height: 240px;
  cursor: pointer;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
/* Hover: statt einer flaechigen gelben Toenung faehrt die DAKA-Bildmarke als
   grosse Form von unten rechts herein — dieselbe Geometrie wie im Logo und im
   wandernden Hintergrund, nur als Farbflaeche. Das SVG steckt als data-URI im
   CSS, damit kein zusaetzlicher Request noetig ist. */
.post::after {
  content: '';
  position: absolute;
  right: -34px; bottom: -48px;
  width: 172px; height: 149px;
  z-index: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30.85 26.72'%3E%3Cpath fill='%23D9D03A' fill-opacity='.13' d='M15.43 0L0 26.71L30.85 26.72Z'/%3E%3Cpath fill='%23D9D03A' fill-opacity='.2' d='M0 26.71L15.43 0L8.43 20.9Z'/%3E%3Cpath fill='%23D9D03A' fill-opacity='.08' d='M8.43 20.9L0 26.71L30.85 26.72Z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transform: translate(26px, 26px) rotate(-16deg) scale(.78);
  transition: opacity .38s ease, transform .5s cubic-bezier(.22,.61,.36,1);
}
.post > * { position: relative; z-index: 1; }
.post:hover::after,
.post:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}
.post:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.4);
}
.post:hover h3 { color: var(--accent); }
.post .rm { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.post:hover .rm { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .post::after { transition: opacity .2s; transform: none; }
  .post:hover { transform: none; }
  .post:hover .rm { transform: none; }
}
.post .date { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }
.post .date b { color: var(--accent); font-weight: 500; margin-right: 6px; }
.post h3 {
  font-family: var(--sans); font-weight: 600; font-size: 18px;
  color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -0.01em;
}
.post p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.post .rm { margin-top: auto; font-size: 11px; color: var(--accent); letter-spacing: 0.04em; }

.blog-foot { text-align: center; margin-top: 32px; }
.blog-foot a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--accent); text-decoration: none;
  padding: 12px 20px; border: 1px dashed var(--line);
  border-radius: 4px; transition: all .15s;
}
.blog-foot a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ============ CONTACT ============ */
.contact {
  max-width: 1440px; margin: 100px auto 0;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(48px, 5vw, 72px); line-height: 1;
  letter-spacing: -0.03em; margin: 0 0 30px;
  color: var(--ink);
}
.contact-left h2 em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.contact-left .blurb { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-bottom: 32px; max-width: 400px; }
.contact-info {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px;
  border: 1px dashed var(--line);
  border-radius: 6px; padding: 4px;
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-radius: 4px;
  transition: background .15s;
}
.info-row:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.info-row .k { color: var(--ink-3); font-size: 11px; letter-spacing: 0.06em; }
.info-row .v { color: var(--ink); }
.info-row .v.accent { color: var(--accent); }

/* Form */
.form {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.form-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--ink-3);
}
.form-bar .dots { display: flex; gap: 6px; }
.form-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.form-bar .title { margin-left: 8px; flex: 1; }
.form-bar .title b { color: var(--ink); font-weight: 500; }
.form-body { padding: 28px; }
.form-row {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
}
.form-row:last-of-type { border-bottom: none; }
.form-row .flabel {
  font-size: 12px; color: var(--ink-3);
  display: flex; gap: 8px;
}
.form-row .flabel::before { content: '$'; color: var(--accent); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; background: transparent; border: none;
  color: var(--ink); font-family: var(--mono); font-size: 14px;
  padding: 6px 0; outline: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-bottom-color: var(--accent);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--ink-4); }
.form-row textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.form-row .checks {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.form-check {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 11px; color: var(--ink-2);
  cursor: pointer; transition: all .15s; user-select: none;
}
.form-check input { display: none; }
.form-check.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 500; }

.form-submit {
  margin-top: 18px; padding: 16px 24px;
  background: var(--accent); color: var(--accent-ink);
  border: none; border-radius: 6px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  transition: all .15s;
}
.form-submit:hover { background: var(--accent-bright); }
.form-foot { padding: 14px 28px; background: var(--bg-2); font-size: 11px; color: var(--ink-4); display: flex; justify-content: space-between; }
.form-foot span.dim { color: var(--ink-4); }
.form-foot .ok { color: var(--accent); }

/* ============ FOOTER ============ */
.foot {
  margin-top: 120px;
  padding: 64px 40px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.foot-inner { max-width: 1440px; margin: 0 auto; }
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dim);
}
.foot-brand .brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; line-height: 1; }
.foot-brand .brand-row .mark { color: var(--accent); display: flex; }
.foot-brand .brand-row .txt { font-family: var(--sans); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.foot-brand .desc { font-size: 13px; color: var(--ink-2); line-height: 1.65; max-width: 320px; margin: 0 0 18px; }
.foot-status {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-2); font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.04em;
  padding: 7px 12px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 3px;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--ink-3); margin-bottom: 6px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.foot-col a, .foot-col span {
  color: var(--ink-2); text-decoration: none;
  font-size: 13px; line-height: 1.5;
  transition: color .15s;
}
.foot-col a:hover { color: var(--accent); }
.foot-col .foot-meta { color: var(--ink-3); font-size: 12.5px; }

.foot-bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 11.5px; color: var(--ink-4);
}
.foot-bottom .copy { letter-spacing: 0.02em; }
.foot-bottom .brands a { color: var(--ink-3); text-decoration: none; transition: color .15s; }
.foot-bottom .brands a:hover { color: var(--accent); }

/* =============================================
   REHOST24 BRAND SECTION
============================================= */
.rehost-section { position: relative; }
.rehost-brand {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding: 8px 0 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
  position: relative;
}
.rehost-eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.08em; margin-bottom: 18px;
}
.rehost-logo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-family: var(--sans);
}
.rehost-logo .triangle {
  color: var(--accent); font-size: 20px; line-height: 1;
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent);
}
.rehost-wordmark {
  font-family: var(--sans); font-weight: 500; font-size: 28px;
  letter-spacing: -0.02em; color: var(--ink);
}
.rehost-wordmark b { font-weight: 700; color: var(--accent); }
.rehost-logo-img { display: block; height: 36px; width: auto; }
.rehost-h {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 24px;
}
.rehost-h em {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-weight: 400;
}
.rehost-lede {
  color: var(--ink-2); line-height: 1.65;
  font-size: 16px; max-width: 48ch;
  margin: 0 0 28px;
}
.rehost-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); text-decoration: none;
  font-family: var(--mono); font-size: 14px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  transition: background .15s;
}
.rehost-link:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.rehost-link span { transition: transform .2s; }
.rehost-link:hover span { transform: translate(3px, -3px); }

.rehost-stack-head {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.rehost-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 32px;
}
.stack-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
  border: 1px solid var(--line-dim);
  border-radius: 4px;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.stack-item:hover { border-color: var(--accent); color: var(--ink); }
.stack-item .si-mark {
  color: var(--accent); font-size: 16px; line-height: 1;
  width: 22px; text-align: center;
}
.rehost-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px dashed var(--line);
  padding-top: 20px;
}
.rfact {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 20px;
}
.rfact + .rfact { border-left: 1px dashed var(--line); padding-left: 20px; }
.rfact b {
  font-family: var(--serif); font-weight: 500;
  font-size: 28px; font-style: italic; color: var(--accent);
  line-height: 1;
}
.rfact span {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* Pricing switcher */
.pricing-switcher {
  display: inline-flex;
  padding: 4px;
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 0 0 32px;
  font-family: var(--mono);
}
.pricing-switcher button {
  background: transparent; border: 0; cursor: pointer;
  padding: 10px 20px; border-radius: 3px;
  color: var(--ink-3); font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.02em;
  transition: color .15s, background .15s;
}
.pricing-switcher button:hover { color: var(--ink); }
.pricing-switcher button.on {
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500;
}

/* =============================================
   TEAM — New layout (leads + crew)
============================================= */
.team-new {
  margin-top: 56px;
  padding: 40px 0 0;
  border-top: 1px dashed var(--line);
}
.team-left {
  max-width: 640px;
  margin-bottom: 40px;
}
.team-eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.team-title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 20px;
}
.team-lede {
  color: var(--ink-2); line-height: 1.65; font-size: 16px;
  max-width: 56ch; margin: 0;
}
.team-lede em { color: var(--accent); font-style: italic; }

.team-leads {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 56px;
}
.lead-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 24px;
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: start;
}
.lead-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.lead-avatar.round { border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.lead-avatar.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-3));
  color: var(--ink-3);
}
.lead-body { display: flex; flex-direction: column; gap: 8px; }
.lead-role {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.08em;
}
.lead-name {
  font-family: var(--sans); font-weight: 700;
  font-size: 24px; color: var(--ink); line-height: 1.1;
  letter-spacing: -0.015em;
}
.lead-bio {
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  margin-top: 4px;
}
.lead-stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.lead-stack span {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line-dim);
  border-radius: 3px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.crew-label {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
.crew-label b { color: var(--ink); font-weight: 500; }
.crew-label .dashed {
  flex: 1; height: 1px;
  background-image: linear-gradient(to right, var(--line) 50%, transparent 50%);
  background-size: 8px 1px;
}

.crew-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.crew-card {
  padding: 20px 16px;
  background: color-mix(in srgb, var(--bg-card) 40%, transparent);
  border: 1px solid var(--line-dim);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.crew-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.crew-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.crew-role {
  font-family: var(--sans); font-weight: 500;
  font-size: 15px; color: var(--ink);
}
.crew-skill {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); line-height: 1.5;
}
.crew-years {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-4); margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line-dim);
}
.crew-years b { color: var(--accent); font-weight: 600; }

/* Partners section (standalone now) */
.partners-sec { padding-top: 40px; }

/* Brand img filter (logo SVG has no CSS rules, so it might not render yellow) */
.logo-img {
  height: 24px;
  width: auto;
  /* the SVG has no fills; if it's all black, invert to white */
  filter: invert(1) sepia(1) saturate(3) hue-rotate(10deg);
}

/* ============ UTILITIES ============ */
.reveal { opacity: 0; transform: translateY(20px); }

/* Number count-up base */
.num-animate { display: inline-block; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .service.featured { grid-row: auto; min-height: 340px; }
  .pricing, .blog, .metrics { grid-template-columns: 1fr; }
  .saas-row { grid-template-columns: 64px 1fr; gap: 20px; }
  .saas-row > *:nth-child(3), .saas-row > *:nth-child(4) { grid-column: 1 / -1; }
  /* .about-hero hatte bis 2026-08-12 GAR KEINE Mobile-Regel und blieb bis
     hinunter zu 320px bei "1fr 1.4fr" + 60px gap — auf einem 350px breiten
     Viewport blieben dem Text 169px, also ~3 Wörter pro Zeile. */
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .testi { grid-template-columns: 1fr; }
  .testi-main { grid-row: auto; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card.is-big { grid-column: span 2; grid-row: auto; }
  .contact { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .foot-top .foot-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .rehost-brand { grid-template-columns: 1fr; gap: 48px; padding: 40px 0; }
  .rehost-stack { grid-template-columns: 1fr 1fr; }
  .team-leads { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .wrap, .hero, .section { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 14px 20px; }
  .hero { padding: 110px 20px 60px; }
  .hero-title { font-size: clamp(40px, 12vw, 64px); }
  /* form: stack label above input, label smaller, input dominant */
  .form-body { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; }
  .form-row .flabel { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
  .form-row input, .form-row textarea, .form-row select { font-size: 16px; padding: 8px 0; }
  .form-foot { padding: 12px 20px; flex-direction: column; gap: 4px; align-items: flex-start; }
  .form-note { margin: 0 20px 18px; }   /* mit .form-body/.form-foot auf 20px */
  .foot { padding: 48px 20px 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .crew-grid { grid-template-columns: 1fr 1fr; }
  .lead-card { grid-template-columns: 80px 1fr; gap: 16px; padding: 18px; }
  .lead-avatar { width: 80px; height: 80px; }
  .lead-name { font-size: 20px; }
  .rehost-brand { padding: 32px 0; gap: 36px; }
  .rehost-stack { grid-template-columns: 1fr; gap: 8px; }
  .rehost-facts { grid-template-columns: 1fr; gap: 16px; }
  .rfact + .rfact { border-left: 0; border-top: 1px dashed var(--line); padding-left: 0; padding-top: 16px; }
  .pricing-switcher { width: 100%; }
  .pricing-switcher button { flex: 1; padding: 12px 8px; font-size: 12px; }
  /* minmax(0,1fr) statt 1fr: "1fr" ist minmax(AUTO,1fr) und kann nicht unter
     min-content schrumpfen. Die Kennzahl wird per JS hochgezaehlt — sobald die
     fertige Zahl bei 72px dasteht, sprengt ihre min-content-Breite die Spalte
     (gemessen: aus 167/167 wurden 300/145, die zweite Karte stand 91px ueber
     dem Rand). Das passiert erst NACH dem Hochzaehlen, deshalb faellt es bei
     einer Messung direkt nach dem Laden nicht auf. */
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-width: 0; padding: 20px; }
  .metric .v { font-size: 40px; letter-spacing: -0.03em; }
  .about-hero { gap: 22px; margin-bottom: 40px; }
  .about-hero .text { font-size: 18px; line-height: 1.55; }
  /* Fortschrittsbalken des Pin-Bereichs an die schmalere Seitenluft anpassen */
  .scroll-progress { left: 20px; right: 20px; bottom: 28px; }
  .team-leads { gap: 16px; }
  .testi { gap: 16px; }
  .testi-main { padding: 28px 22px; }
  .testi-grid { grid-template-columns: 1fr; gap: 12px; }
  .testi-card { min-height: 0; padding: 20px; }
  .testi-card.is-big { grid-column: 1 / -1; padding: 24px; min-height: 0; }
  .testi-card.is-big .testi-card-q { font-size: 16px; }
  .shead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .shead .r { text-align: left; }
  .mobile-menu ul a { font-size: 26px; padding: 16px 0; }
}

/* E-Mail-Spamschutz: Platzhalter erbt den Look des umgebenden Links/Texts.
   Der per JS erzeugte <a> bekommt dieselbe Optik. */
.eml { cursor: text; }
a.eml, .foot-col a.eml { text-decoration: none; }

/* Kontaktformular: Status-/Bestätigungshinweis — an das dunkle Terminal-Theme
   angepasst (vorher generisches Web-Grün, das aus dem Look fiel). */
.form-note {
  /* Die Notiz sitzt als Geschwister zwischen .form-body (28px Innenabstand)
     und .form-foot (14px/28px). Seitlich deshalb 28px, damit sie mit Feldern,
     Button und Fusszeile auf einer Kante steht — vorher 18px, also mit keinem
     der beiden buendig. Unten stand 0: die Box stiess direkt an die Fusszeile
     und wirkte angeschnitten. Oben liefert die Body-Polsterung bereits 28px. */
  margin: 0 28px 24px;
  padding: 12px 14px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  display: flex; align-items: flex-start; gap: 8px;
}
.form-note::before {
  content: '✓';
  font-weight: 700;
  color: var(--accent);
  flex: 0 0 auto;
}
.form-note.err {
  color: #ff6b72;
  background: color-mix(in srgb, #ff6b72 10%, var(--bg-2));
  border-color: color-mix(in srgb, #ff6b72 35%, transparent);
}
.form-note.err::before { content: '✕'; color: #ff6b72; }
