/* ==========================================================================
   DotLine GmbH – Website 2026 (Entwurf)
   Ein Stylesheet für alle Seiten. Jeder Themenbereich hat eine eigene
   Akzentfarbe, gesetzt über die Klasse am <body> (z. B. .t-zeit).
   ========================================================================== */

:root {
  /* Grundfarben */
  --ink: #111820;
  --ink-2: #33404d;
  --muted: #64707d;
  --line: #e1e6eb;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-dark: #0f141a;
  --bg-dark-2: #18202a;
  --on-dark: #eef2f6;
  --on-dark-muted: #a3afbc;

  /* Markenblau aus dem Logo */
  --brand: #1f3f9e;

  /* Themenfarben */
  --c-zeit: #f5c400;      /* Signalgelb – wie die Lichtschranken */
  --c-zeit-deep: #c79c00;
  --c-dev: #2459d6;       /* Entwicklung */
  --c-ctp: #6b43d6;       /* CTP – Violett wie der Laser */
  --c-3d: #ea6a2a;        /* 3D-Druck */
  --c-it: #0e8c80;        /* IT-Service */

  /* Akzent der aktuellen Seite (wird je Bereich überschrieben) */
  --accent: var(--brand);
  --accent-ink: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 8px 24px rgba(16, 24, 32, .06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 32, .06), 0 24px 48px rgba(16, 24, 32, .12);
  --wrap: 1200px;
  --header-h: 100px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.t-zeit { --accent: var(--c-zeit); --accent-ink: #111820; }
.t-dev  { --accent: var(--c-dev); }
.t-ctp  { --accent: var(--c-ctp); }
.t-3d   { --accent: var(--c-3d); }
.t-it   { --accent: var(--c-it); }

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: var(--on-dark); }
.section.dark p { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section.dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.section.dark .eyebrow, .hero .eyebrow { color: var(--on-dark-muted); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.badge {
  display: inline-block; padding: .2em .65em; border-radius: 999px;
  font-size: .75rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  background: var(--c-zeit); color: #111820;
}
.badge.outline { background: transparent; border: 1.5px solid currentColor; color: var(--muted); }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: block; flex: none; }
.logo img { height: 74px; width: auto; display: block; }
@media (max-width: 960px) { :root { --header-h: 80px; } .logo img { height: 58px; } }
@media (max-width: 400px) { .logo img { height: 50px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: .45em;
  padding: .62em 1em; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: 1.1rem; text-decoration: none; white-space: nowrap;
}
@media (min-width: 961px) and (max-width: 1180px) { .nav a { font-size: 1rem; padding: .5em .6em; } .nav { gap: 2px; } .logo img { height: 62px; } }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--muted)); flex: none; }
.nav a.nav-zeit { background: var(--c-zeit); color: #111820; }
.nav a.nav-zeit:hover { background: #ffd21f; }
.nav a.nav-zeit .dot { background: #111820; }
.nav .nav-contact { margin-left: 8px; border: 1.5px solid var(--line); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav a { padding: .85em 1em; font-size: 1.05rem; }
  .nav .nav-contact { margin: 8px 0 0; justify-content: center; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
}

/* --------------------------------------------------------------------------
   Hero (Startseite & Zeitmessung)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg-dark); color: var(--on-dark);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c-zeit) 30%, transparent), transparent 70%);
  opacity: .55;
}
.hero::after {
  /* feines Messraster im Hintergrund */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--c-zeit); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-muted); max-width: 40ch; margin-bottom: 1.8em; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { border-color: #fff; }
.hero-note { margin-top: 1.6em; font-size: .9rem; color: var(--on-dark-muted); display: flex; flex-wrap: wrap; gap: .4em 1.4em; }
.hero-note span::before { content: "✓"; color: var(--c-zeit); margin-right: .45em; font-weight: 800; }

.hero-visual { position: relative; min-height: 440px; }
.hero-visual .prod-main { position: absolute; right: 8%; bottom: 0; width: 58%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.hero-visual .prod-side { position: absolute; left: 4%; bottom: 4%; width: 38%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }

/* Messanzeige (Readout) */
.readout {
  position: absolute; left: 0; top: 4%; z-index: 2;
  background: rgba(10, 14, 18, .82); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 14px 16px; min-width: 230px;
  font-family: var(--mono); font-size: .82rem; color: var(--on-dark-muted);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.readout .row { display: flex; justify-content: space-between; gap: 18px; }
.readout .big { font-size: 2rem; color: #fff; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 4px 0; }
.readout .label { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.readout .pos { color: #ff8a7a; }
.readout .neg { color: #7ee2a8; }
.readout .live { display: inline-flex; align-items: center; gap: 6px; color: var(--c-zeit); }
.readout .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-zeit); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-visual .prod-main { width: 52%; right: 4%; }
  .hero-visual .prod-side { width: 34%; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 300px; }
  .readout { min-width: 0; font-size: .74rem; padding: 10px 12px; }
  .readout .big { font-size: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Seitenkopf der Bereichsseiten
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent);
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 52ch; }
.page-hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-media.contain img { object-fit: contain; background: #fff; padding: 24px; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* --------------------------------------------------------------------------
   Startseite: Unternehmens-Hero, drei Kernbereiche, ergänzende Leistungen
   -------------------------------------------------------------------------- */
.hero-home { padding-top: 6px; padding-bottom: clamp(120px, 14vw, 180px); }
.hero-home::before {
  /* drei Farbschimmer statt nur Gelb – alle Kernbereiche gleichrangig */
  right: auto; left: 0; top: 0; width: 100%; height: 100%; opacity: .5;
  background:
    radial-gradient(40% 70% at 70% 30%, color-mix(in srgb, var(--c-dev) 45%, transparent), transparent 70%),
    radial-gradient(35% 60% at 92% 80%, color-mix(in srgb, var(--c-ctp) 45%, transparent), transparent 70%),
    radial-gradient(30% 55% at 50% 95%, color-mix(in srgb, var(--c-zeit) 30%, transparent), transparent 70%);
}
.hero-home h1 { max-width: 16ch; }
.hero-home .lead { max-width: 52ch; }
.hero-home .eyebrow::before {
  width: 42px;
  background: linear-gradient(to right, var(--c-zeit) 0 33%, var(--c-dev) 33% 66%, var(--c-ctp) 66%);
}
.hero-home .btn-primary { background: #fff; color: var(--ink); }
.hero-home .btn-primary:hover { box-shadow: 0 6px 20px rgba(255,255,255,.25); }

/* Kernbereiche – überlappen den Hero */
.pillars-section { padding-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(-130px, -11vw, -90px); position: relative; z-index: 2; }
.pillar {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); border-top: 5px solid var(--pc);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-3px); }
.pillar-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-dark-2); }
.pillar-media img.pillar-cut {
  /* freigestelltes Produkt vor dem Hintergrundbild */
  position: absolute; right: 2%; bottom: -4%; width: auto; height: 96%; object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.55));
}
.pillar:hover .pillar-media img.pillar-cut { transform: scale(1.03) translateX(-1%); }
/* Wechselnde Fotos je Zielmarkt / Entwicklungsbereich */
.slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease, transform .5s ease; }
.slides img.is-active { opacity: 1; }
.slide-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: .3em .75em; border-radius: 999px;
  background: rgba(10,14,18,.72); color: #fff; font-size: .8rem; font-weight: 650; letter-spacing: .01em;
  border-left: 3px solid var(--pc); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: opacity .4s ease;
}
.slide-label.is-fading { opacity: 0; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pillar:hover .pillar-media img { transform: scale(1.04); }
.pillar-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.pillar .kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-ink); margin-bottom: .5em; }
.pillar h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .35em; }
.pillar h2 a { color: inherit; text-decoration: none; }
.pillar p { color: var(--ink-2); margin: 0 0 1em; }
.pillar-links { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-links a {
  display: inline-block; padding: .35em .8em; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none; background: color-mix(in srgb, var(--pc) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--pc) 30%, #fff);
}
.pillar-links a:hover { background: color-mix(in srgb, var(--pc) 22%, #fff); color: var(--ink); }
.pillar .more { margin-top: auto; font-weight: 700; color: var(--pc-ink); text-decoration: none; }
.pillar .more:hover .arrow { margin-left: .2em; }
.p-zeit { --pc: var(--c-zeit); --pc-ink: var(--c-zeit-deep); }
.p-dev  { --pc: var(--c-dev);  --pc-ink: var(--c-dev); }
.p-ctp  { --pc: var(--c-ctp);  --pc-ink: var(--c-ctp); }

/* Ergänzende Leistungen – zweite Ebene, kompakter */
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-tight .section-head { margin-bottom: 24px; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service {
  display: grid; grid-template-columns: 38% 1fr; align-items: stretch; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--sc); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.service img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.service > div { padding: 20px 22px; align-self: center; }
.service h3 { font-size: 1.25rem; margin-bottom: .3em; }
.service p { margin: 0 0 .7em; color: var(--muted); font-size: .95rem; }
.service .more { font-weight: 700; font-size: .9rem; color: var(--sc); }
.s-3d { --sc: var(--c-3d); }
.s-it { --sc: var(--c-it); }

@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .pillar-media { aspect-ratio: 16 / 8; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .service { grid-template-columns: 1fr; }
  .service img { aspect-ratio: 16 / 8; height: auto; min-height: 0; }
}

/* --------------------------------------------------------------------------
   Karten & Raster
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--ink);
}
.card .icon svg { width: 22px; height: 22px; }
.section.dark .card { background: var(--bg-dark-2); border-color: rgba(255,255,255,.08); box-shadow: none; }
.section.dark .card p { color: var(--on-dark-muted); }
.section.dark .card .icon { background: rgba(245,196,0,.14); color: var(--c-zeit); }

.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media .body { padding: 22px 24px 24px; }

/* Produktkarten Zeitmessung */
.product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.product .media { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f7f8fa, #e9edf1); display: grid; place-items: center; overflow: hidden; }
.product .media img { width: 100%; height: 100%; object-fit: cover; }
.product .media.contain img { object-fit: contain; padding: 18px; }
.product .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product .kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; }
.product ul { margin: .2em 0 1.2em; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.product li { padding-left: 1.4em; position: relative; margin-bottom: .35em; }
.product li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--c-zeit); }
.product .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product .price { font-weight: 800; font-size: 1.15rem; }
.product .price small { font-weight: 500; color: var(--muted); font-size: .8rem; display: block; }

/* Split: Text + Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img.framed { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 1.9em; margin-bottom: .6em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 1.2em; height: 1.2em; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, #fff);
}
.checklist li::after {
  content: ""; position: absolute; left: .42em; top: .5em; width: .35em; height: .6em;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.section.dark .checklist li::before { background: rgba(245,196,0,.2); }
.section.dark .checklist li::after { border-color: var(--c-zeit); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 22px 0; border-top: 3px solid var(--accent); }
.stat .value { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .label { color: var(--muted); font-size: .95rem; }
.section.dark .stat .label { color: var(--on-dark-muted); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   Zeitmessung: Unterseiten-Navigation (sticky)
   -------------------------------------------------------------------------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: .55em 1em; border-radius: 999px; font-size: 1rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav a.active { background: var(--accent); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 70%, #000); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }

/* Ablauf / Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-zeit); color: #111820; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Messprinzip-Grafik */
/* Prinzip: Bestzeit vs. Sollzeit */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.mode { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 2.5vw, 28px); display: flex; flex-direction: column; border-top: 5px solid var(--mc); }
.mode-best { --mc: var(--c-zeit); }
.mode-soll { --mc: var(--c-dev); }
.mode-tag { display: inline-block; padding: .3em .8em; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--mc); color: #111820; margin-bottom: .7em; }
.mode-soll .mode-tag { color: #fff; }
.mode h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: .35em; }
.mode-head p { color: var(--ink-2); margin: 0 0 1em; }
.mode svg { width: 100%; height: auto; display: block; margin: 4px 0 14px; }
.mode-list { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mode-list li { padding: .3em .75em; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.setup-title { font-size: 1.15rem; margin: 0 0 14px; color: var(--ink-2); }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(12px, 3vw, 28px); box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; display: block; }

/* Komponenten */
.components { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.component { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.component .media { background: linear-gradient(180deg, #f6f7f9, #e8ecf0); aspect-ratio: 1; display: grid; place-items: center; }
.component .media img { height: 88%; width: auto; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0,0,0,.15)); }
.component .media img.cover { width: 100%; height: 100%; object-fit: cover; filter: none; }
.component .body { padding: 16px 16px 20px; }
.component h3 { font-size: 1rem; margin-bottom: .25em; }
.component p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .components { grid-template-columns: 1fr 1fr; } }

/* Screenshot-Galerie (Software) */
.shots { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; background: #fff; }
.shots figcaption { font-size: .85rem; color: var(--on-dark-muted); margin-top: 8px; }
.shots .stack { display: grid; gap: 16px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button {
  font: inherit; font-size: .9rem; font-weight: 600; padding: .55em 1em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
}
.tabs button[aria-selected="true"] { background: var(--c-zeit); color: #111820; border-color: var(--c-zeit); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tab-panel.active > div { max-width: 820px; }
.tab-panel img { border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; }
.section.dark .tab-panel img { box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.tab-panel h3 { color: var(--ink); font-size: 1.4rem; }
.section.dark .tab-panel h3 { color: #fff; }
.section.dark .tabs button { border-color: rgba(255,255,255,.18); background: transparent; color: var(--on-dark); }
@media (max-width: 860px) { .tab-panel.active { grid-template-columns: 1fr; } }

/* App-Phones */
.phones { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phone {
  width: min(46%, 260px); border-radius: 30px; padding: 8px; background: #0b0f14;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.phone img { border-radius: 23px; width: 100%; }
.phone:nth-child(2) { margin-top: 48px; }

/* Preis-Tabelle */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.prices { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.prices th, table.prices td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.prices th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
table.prices td:last-child, table.prices th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.prices tr:last-child td { border-bottom: 0; }
table.prices .muted { color: var(--muted); font-size: .9rem; }

/* Vergleich Sets */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--c-zeit); box-shadow: 0 16px 40px rgba(199,156,0,.15); position: relative; }
.plan.featured .badge { position: absolute; top: -12px; left: 24px; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: .2em 0 .1em; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 650; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* --------------------------------------------------------------------------
   Gleichmäßigkeits-Trainer (interaktiv)
   -------------------------------------------------------------------------- */
.trainer {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.trainer-box {
  background: var(--bg-dark); color: var(--on-dark); border-radius: 20px; padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg); font-family: var(--mono);
}
.trainer-box .top { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .1em; }
.trainer-box .target select {
  font: inherit; background: var(--bg-dark-2); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 4px 6px;
}
.trainer-box .clock { font-size: clamp(2.8rem, 8vw, 4.4rem); font-weight: 700; color: #fff; letter-spacing: -.03em; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.trainer-box .clock.hidden-time { color: rgba(255,255,255,.18); }
.trainer-box .result { min-height: 3.2em; font-size: .95rem; color: var(--on-dark-muted); }
.trainer-box .result strong { color: #fff; }
.trainer-box .result .good { color: #7ee2a8; }
.trainer-box .result .bad { color: #ff8a7a; }
.trainer-box .gate {
  margin-top: 18px; width: 100%; padding: 18px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--c-zeit); color: #111820; font: inherit; font-family: var(--font); font-weight: 800; font-size: 1.1rem;
  transition: transform .08s ease;
}
.trainer-box .gate:active { transform: scale(.98); }
.trainer-box .history { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; min-height: 26px; }
.trainer-box .history span { font-size: .75rem; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.08); }
.trainer-box label.blind { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--on-dark-muted); margin-top: 12px; font-family: var(--font); cursor: pointer; }
@media (max-width: 860px) { .trainer { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Querverweis „Weitere Bereiche“ & CTA
   -------------------------------------------------------------------------- */
.xlinks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.xlink {
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.xlink::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--xc); }
.xlink:hover { transform: translateY(-2px); border-color: var(--xc); }
.xlink strong { font-size: 1rem; }
.xlink span { font-size: .85rem; color: var(--muted); }
.xlink[aria-current="page"] { opacity: .45; pointer-events: none; }
.x-zeit { --xc: var(--c-zeit); } .x-dev { --xc: var(--c-dev); } .x-ctp { --xc: var(--c-ctp); } .x-3d { --xc: var(--c-3d); } .x-it { --xc: var(--c-it); }
@media (max-width: 960px) { .xlinks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .xlinks { grid-template-columns: 1fr 1fr; } }

.cta {
  border-radius: 20px; padding: clamp(28px, 5vw, 56px); background: var(--bg-dark); color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--accent); opacity: .22; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); margin: 0; }
.cta .contact-lines { display: grid; gap: 10px; position: relative; z-index: 1; }
.cta .contact-lines a, .cta .contact-lines .contact-text { color: #fff; text-decoration: none; font-weight: 650; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.cta .contact-lines svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.cta .contact-lines a.addr { align-items: flex-start; line-height: 1.35; }
.cta .contact-lines a.addr svg { margin-top: 2px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Formular (Bestellung)
   -------------------------------------------------------------------------- */
.order-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 24px; margin: 0 0 20px; background: #fff; }
legend { font-weight: 750; padding: 0 8px; margin-left: -8px; }
.opt {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.opt:last-of-type { border-bottom: 0; }
.opt input { width: 20px; height: 20px; accent-color: var(--c-zeit-deep); }
.opt .t { font-weight: 600; }
.opt .d { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }
.opt .p { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.opt .qty { display: none; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; padding: .7em .85em; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--c-zeit-deep); outline: none; box-shadow: 0 0 0 3px rgba(245,196,0,.25); }
.field-row { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--c-zeit-deep); }
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary .card { padding: 24px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .95rem; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary .total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.3rem; margin-top: 8px; }
.summary .empty { color: var(--muted); font-size: .95rem; }
.note { font-size: .85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */
.wrap.legal > * { max-width: 800px; }
.wrap.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.wrap.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.wrap.legal p, .wrap.legal li { color: var(--ink-2); }
.wrap.legal address { font-style: normal; color: var(--ink-2); margin-bottom: 1em; }

/* Hinweis für Entwurfsinhalte, die noch geprüft werden müssen */
.todo {
  background: #fff7d6; border: 1px dashed #d9a800; color: #6a5200; border-radius: 8px;
  padding: .5em .8em; font-size: .85rem; margin: 1em 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { height: 34px; width: auto; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--fc); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Telefonnummern: am PC Klick = Nummer kopieren (Hinweis-Einblendung) */
.copy-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 12px);
  padding: .7em 1.1em; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Systeme: OptiSense Classic | DST (Training + Competition) */
.sys-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; align-items: stretch; }
.sys-dst { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; border-top: 5px solid var(--c-zeit); }
.sys-dst-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: center; }
.sys-dst-media { border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(160deg, #f7f8fa, #e9edf1); aspect-ratio: 4 / 3; }
.sys-dst-media img { width: 100%; height: 100%; object-fit: cover; }
.sys-dst .kicker, .sys-sub .kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; }
.sys-dst h3 { margin-bottom: .4em; }
.sys-dst ul { margin: 0 0 .8em; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.sys-dst li { padding-left: 1.4em; position: relative; margin-bottom: .35em; }
.sys-dst li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--c-zeit); }
.sys-dst-lead { margin: 4px 0 0; font-weight: 700; color: var(--ink); }
.sys-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sys-sub { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.sys-sub-media { border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 4; background: #fff; }
.sys-sub-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.sys-sub h4 { margin: 0 0 .3em; font-size: 1.1rem; }
.sys-sub p { margin: 0 0 .8em; font-size: .92rem; color: var(--ink-2); }
.btn-sm { padding: .45em 1em; font-size: .88rem; }
@media (max-width: 1080px) { .sys-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .sys-dst-head, .sys-subs { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sys-sub { grid-template-columns: 1fr; } .sys-sub-media { aspect-ratio: 16 / 9; } }

/* Produktseiten (aus der Zeitmessungs-Seite erzeugt) */
.focus-top { padding: 22px 0 0; }
.focus-top .crumbs { margin: 0; }
.focus-top + .section { padding-top: clamp(28px, 4vw, 48px); }


/* Technische Daten */
table.specs th { width: 28%; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); background: var(--bg-soft); font-weight: 650; }
table.specs td:last-child { text-align: left; white-space: normal; }
@media (max-width: 560px) { table.specs th, table.specs td { display: block; width: auto; } table.specs th { border-bottom: 0; padding-bottom: 4px; } table.specs td { padding-top: 0; } }

/* Screenshots zum Vergrößern */
img.zoomable { cursor: zoom-in; }
.zoom-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(8,12,16,.92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; opacity: 0; transition: opacity .2s ease; }
.zoom-overlay.show { opacity: 1; }
.zoom-overlay img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.zoom-overlay .zoom-close { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
.zoom-hint { font-size: .85rem; color: var(--muted); margin: -6px 0 0; }
.section.dark .zoom-hint { color: var(--on-dark-muted); }
.section.dark .tabs button[aria-selected="true"] { background: var(--c-zeit); color: #111820; border-color: var(--c-zeit); }

/* Angebot Miete / Lizenz / Zeitnahme-Dienstleistung */
.offer { margin-top: 32px; display: grid; grid-template-columns: 1.6fr auto; gap: 24px 40px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: color-mix(in srgb, var(--c-zeit) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c-zeit) 45%, #fff); }
.offer h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: .4em; }
.offer p { margin: 0; color: var(--ink-2); }
.offer-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.offer-actions .btn { justify-content: center; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer-actions { flex-direction: row; flex-wrap: wrap; } }

/* Bild mit überlappendem Produkt-Freisteller */
.media-stack { position: relative; padding: 0 28% 48% 0; }
.media-stack .overlap-cut { position: absolute; right: -8%; bottom: -5%; width: 86%; height: auto; filter: drop-shadow(0 22px 28px rgba(16,24,32,.35)); pointer-events: none; }
@media (max-width: 860px) { .media-stack { padding: 0 24% 50% 0; } .media-stack .overlap-cut { width: 84%; right: 0; bottom: -2%; } }

/* Einsatzbereiche (Zeitmessung) */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.market { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgba(16,24,32,.06), 0 6px 18px rgba(16,24,32,.06); }
.market img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; flex: none; }
.market h3 { font-size: 1.02rem; margin: 0 0 4px; }
.market p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.market-cta { margin-top: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; border-left: 4px solid var(--c-zeit); border-radius: 14px; padding: 22px 26px; }
.market-cta p { margin: 0; max-width: 640px; }
.market-cta .btn-row { margin: 0; }
@media (max-width: 960px) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .markets { grid-template-columns: 1fr; } .market img { width: 76px; height: 76px; } }

/* Seitentitel der Produktseiten: H1 im Stil der H2 */
h1.h1-as-h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; }

/* Sprachumschalter */
.site-header .logo { order: 0; }
.site-header .nav { order: 1; margin-left: auto; }
.lang-switch { order: 2; position: relative; flex: none; }
.site-header .nav-toggle { order: 3; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35em;
  padding: .5em .7em; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: .95rem; color: var(--ink-2); user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--bg-soft); color: var(--ink); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 2px;
  max-height: 70vh; overflow: auto;
}
.lang-menu a { padding: .5em .8em; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.lang-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.lang-menu a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 960px) {
  .site-header .wrap { gap: 10px; }
  .lang-switch { margin-left: auto; }
  .lang-switch summary { padding: .45em .6em; font-size: .9rem; }
  .lang-menu { position: fixed; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 6px); grid-template-columns: repeat(2, 1fr); }
}
.legal-note { width: 100%; margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 1181px) { .nav a { padding: .55em .6em; font-size: 1.02rem; } .nav { gap: 2px; } .site-header .wrap { gap: 12px; } }
@media (min-width: 961px) and (max-width: 1180px) { .site-header .wrap { gap: 10px; } .lang-switch summary { padding: .45em .55em; } .lang-switch summary span { display: none; } }
mark.ph { background: #fff1a8; color: #5a4600; padding: 0 .25em; border-radius: 3px; font-weight: 600; }
.lead-note { font-weight: 600; color: var(--ink-2); }

/* Bestellformular: Kundenart */
.kind-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .kind-opts { grid-template-columns: 1fr; } }
.kind-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.kind-opt input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--c-zeit-deep); flex: none; }
.kind-opt strong { display: block; }
.kind-opt small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.kind-opt:has(input:checked) { border-color: var(--c-zeit-deep); background: #fffbe6; }
form[data-kind="b2c"] .b2b-only, form[data-kind="b2b"] .b2c-only { display: none; }
form:not([data-kind]) .b2b-only { display: none; }
/* Widerrufsformular */
.withdraw-form { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 20px 24px; background: #fff; }
.withdraw-form ul { list-style: none; padding: 0; }
.withdraw-form li { padding: .35em 0; }
@media (min-width: 961px) and (max-width: 1180px) { .nav a { font-size: .9rem; padding: .45em .42em; gap: .3em; } .nav .dot { width: 8px; height: 8px; } .nav .nav-contact { margin-left: 4px; } .logo img { height: 52px; } }
