/*
 * VantixOps — Startseite (25.10.2026, Superdesign-Variante V2 „Produkt-Akten“).
 *
 * Lädt NACH unterseiten-system.css und kaufseite.css: Held, Akte-Karte,
 * Überschriften, Pointe und Abschluss kommen von dort. Hier steht nur, was es
 * auf keiner Unterseite gibt — alles unter `.startseite`, Präfix `start-`.
 *
 * Rhythmus: Graphit (Held, Akten) → Papier (Erleben) → Graphit (Warum) →
 * Papier (Büro) → Graphit (Abschluss). Auf Papier gilt Lime nur als dunkles
 * #607800 in großen Überschriften; kleine Schrift und Links #4f6300.
 */

/* Sprungziele nicht unter den festen Kopf schieben */
.startseite [id] { scroll-margin-top: 96px; }

/* ── Zweispaltiger Einstieg (Rubrik + Überschrift | Text) ─────────────── */
.startseite .start-zweispalt {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 96px); align-items: end;
}
.startseite .start-zweispalt h2 { margin: 0; }
/* Software nach Maß: Überschrift und Text oben bündig (Besucher R6: „unten links / oben rechts, wirkt unfertig“) */
.startseite .start-nachmass .start-zweispalt { align-items: start; }
.startseite .start-zweispalt > p,
.startseite .start-zweispalt > div > p { margin: 0; max-width: 58ch; color: var(--kp-leise); font-size: 1.06rem; }

/* ── Produkt-Akten ────────────────────────────────────────────────────── */
.startseite .start-akte {
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--kp-linie);
}
/* Erste Akte schließt direkt an den Held an — keine Doppellinie */
.startseite #loesungen > .start-akte:first-child { border-top: 0; }
.startseite .start-akte__raster {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
.startseite .start-akte--gespiegelt .start-akte__text { order: 2; }
.startseite .start-akte__text h2 { margin: 0 0 22px; }
.startseite .start-akte__text > p { max-width: 58ch; margin: 0 0 16px; font-size: 1.06rem; }
.startseite .start-akte__kosten {
  display: grid; gap: 0; max-width: 58ch; margin: 4px 0 0;
  border-top: 1px solid var(--kp-linie);
}
.startseite .start-akte__kosten > div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--kp-linie);
}
.startseite .start-akte__kosten dt {
  color: var(--vx-lime); font-family: var(--vx-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px;
}
.startseite .start-akte__kosten dd { margin: 0; color: var(--kp-text); font-size: 0.98rem; line-height: 1.5; }

.startseite .start-akte__bild { margin: 22px 0 6px; }
.startseite .start-akte__bild img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--kp-linie); border-radius: 8px; background: var(--kp-obsidian);
}
/* Hochformat (Handy-Bildschirme): oben anschneiden und weich auslaufen lassen —
   eine harte Kante mitten in einer Kachel wirkte im Besuchertest R4 „abgeschnitten“. */
.startseite .start-akte__bild--hoch img {
  max-height: 480px; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  border-bottom-color: transparent;
}
.startseite .start-akte__bild figcaption {
  margin-top: 10px; color: #a8b0ac; font-family: var(--vx-mono);
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Wege: ein Hauptlink, ein Nebenlink */
.startseite .start-wege {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 26px 0 0;
}
.startseite .start-wege a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; text-underline-offset: 6px;
}
.startseite .start-wege .vx-icon-link { color: var(--vx-lime); text-decoration: none; }
.startseite .start-wege .vx-icon-link:hover { color: var(--kp-text); text-decoration: underline; }
.startseite .start-wege__neben {
  color: var(--kp-text); text-decoration: underline;
  text-decoration-color: var(--kp-leise); font-weight: 600 !important;
}
.startseite .start-wege__neben:hover { color: var(--vx-lime); text-decoration-color: var(--vx-lime); }
.startseite .start-wege a:focus-visible { outline: 2px solid var(--vx-lime); outline-offset: 4px; border-radius: 2px; }

/* ── Software nach Maß ────────────────────────────────────────────────── */
.startseite .start-nachmass { border-top: 1px solid var(--kp-linie); }
.startseite .start-nachmass strong { color: var(--kp-text); }

/* ── Papierflächen: Farben für hellen Grund ───────────────────────────
   🔴 Nur an die eigenen Abschnitte gebunden, NICHT an `.vx-papier`: Der
   Abschluss (teile/unterseiten-cta.php) ist selbst `vx-papier` mit dunkler
   Box darin — eine `.vx-papier a`-Regel färbte dort den Zweitlink dunkel auf
   Graphit (gesehen im ersten Bildschirmfoto 25.10.2026). */
.startseite :is(.start-erleben, .start-buero) .vx-augenbraue { color: #4f6300; }
.startseite :is(.start-erleben, .start-buero) .kauf-pointe { color: var(--vx-lime-dunkel); }
.startseite :is(.start-erleben, .start-buero) :is(p, li) { color: var(--vx-schrift); }
.startseite :is(.start-erleben, .start-buero) a:not(.start-knopf, .start-demo) {
  color: #4f6300; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.startseite :is(.start-erleben, .start-buero) a:not(.start-knopf, .start-demo):hover { color: var(--vx-graphit); text-decoration-thickness: 3px; }
.startseite :is(.start-erleben, .start-buero) a:focus-visible { outline: 2px solid var(--vx-graphit); outline-offset: 4px; }
.startseite .start-buero .start-zweispalt > p { color: var(--vx-schrift-leise); }

/* ── Selbst ausprobieren ──────────────────────────────────────────────── */
.startseite .start-erleben h2 { margin: 0 0 18px; }
.startseite .start-erleben__vorspann { max-width: 62ch; margin: 0; font-size: 1.06rem; }
.startseite .start-erleben__demos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px); margin-top: clamp(32px, 4vw, 52px);
}
.startseite a.start-demo {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 18px; border: 1px solid var(--kp-linie-hell); border-radius: 10px;
  background: var(--vx-papier-klar); color: var(--vx-schrift); text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.startseite a.start-demo:hover {
  transform: translateY(-3px); border-color: var(--vx-graphit);
  box-shadow: 0 16px 32px -22px rgba(18, 21, 23, 0.55);
}
.startseite .start-demo img {
  display: block; width: 112px; height: auto; border-radius: 6px; border: 1px solid var(--kp-linie-hell);
}
.startseite .start-demo__text { display: grid; gap: 8px; }
.startseite .start-demo__titel {
  font-family: var(--vx-mono); font-weight: 800; font-size: 1.02rem;
  text-decoration: underline; text-decoration-color: var(--vx-lime-dunkel); text-underline-offset: 5px;
}
.startseite .start-demo:hover .start-demo__titel { text-decoration-thickness: 3px; }
.startseite .start-demo__info { color: var(--vx-schrift-leise); font-size: 0.96rem; line-height: 1.5; }

.startseite .start-erleben__muster {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--kp-linie-hell);
}
.startseite .start-erleben__muster p { margin: 0; font-weight: 600; }
.startseite .start-erleben__muster ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.startseite .start-erleben__muster a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Warum VantixOps ──────────────────────────────────────────────────── */
.startseite .start-warum h2 { margin: 0; }
.startseite .start-belege {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(32px, 4vw, 52px) 0 0; border-top: 1px solid var(--kp-linie);
}
.startseite .start-belege > div {
  padding: 26px 24px 26px 0; border-right: 1px solid var(--kp-linie);
}
.startseite .start-belege > div + div { padding-left: 24px; }
.startseite .start-belege > div:last-child { border-right: 0; }
.startseite .start-belege dt {
  color: var(--kp-text); font-family: var(--vx-mono); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.04em; line-height: 1.1;
}
.startseite .start-belege dd { margin: 12px 0 0; color: var(--kp-leise); font-size: 0.98rem; line-height: 1.55; }
.startseite .start-belege dd a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--vx-lime); font-weight: 700; text-underline-offset: 5px;
}
.startseite .start-belege dd a:hover { color: var(--kp-text); text-decoration-thickness: 2px; }
.startseite .start-belege dd a:focus-visible { outline: 2px solid var(--vx-lime); outline-offset: 3px; }

.startseite .start-person {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 26px; align-items: center;
  margin-top: clamp(36px, 5vw, 60px); padding: 24px; max-width: 760px;
  border: 1px solid var(--kp-linie); border-radius: 10px; background: var(--kp-panel);
}
.startseite .start-person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.startseite .start-person__satz { margin: 0; font-size: 1.12rem; line-height: 1.5; color: var(--kp-text); }
.startseite .start-person__name { margin: 8px 0 4px; color: var(--kp-leise); font-size: 0.92rem; }
.startseite .start-person a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vx-lime); font-weight: 700; text-decoration: none; }
.startseite .start-person a:hover { color: var(--kp-text); text-decoration: underline; text-underline-offset: 5px; }
.startseite .start-person a:focus-visible { outline: 2px solid var(--vx-lime); outline-offset: 3px; }

/* ── Büroautomatisierung (dazu buchbar) — bewusst OHNE Zeitlinie ───────── */
.startseite .start-buero__routinen {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px); margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none;
}
.startseite .start-buero__routinen li {
  padding-top: 18px; border-top: 3px solid var(--vx-graphit); line-height: 1.55;
}
.startseite .start-buero__routinen strong {
  display: block; margin-bottom: 8px; font-family: var(--vx-mono); font-size: 1.02rem; color: var(--vx-graphit);
}
.startseite .start-buero__beleg {
  max-width: 70ch; margin: 34px 0 0; padding: 16px 18px;
  border-left: 3px solid var(--vx-lime-dunkel); background: var(--vx-papier-klar);
}
.startseite .start-buero__wege {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px;
}
.startseite .start-buero__preis { color: var(--vx-schrift-leise); font-size: 0.98rem; }
/* Beide Nebenlinks bleiben beisammen, statt dass einer allein in die nächste Zeile rutscht (Besucher R8) */
.startseite .start-buero__mehr { display: inline-flex; flex-wrap: wrap; gap: 4px 26px; }
.startseite .start-buero__wege .start-wege__neben { display: inline-flex; align-items: center; min-height: 44px; }

/* Ein Knopfstil für die ganze Startseite. Der Held (teile/unterseiten-hero.php)
   schreibt `studio-knopf` / `studio-hero__aktionen`; gestaltet sind die bisher nur
   in studio-system.css, die hier nicht lädt — gleiche Werte, eigener Geltungsbereich. */
.startseite .studio-hero__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.startseite .vx-seitenhero__beleganker { margin-top: 22px; }
.startseite :is(.start-knopf, .studio-knopf) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 26px; border-radius: 999px; background: var(--vx-lime); color: var(--vx-graphit);
  font-family: var(--vx-mono); font-weight: 800; font-size: 1rem; text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(183, 240, 0, 0.9);
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.startseite :is(.start-knopf, .studio-knopf):hover { filter: brightness(1.06); transform: translateY(-2px); }
.startseite .studio-knopf:focus-visible { outline: 3px solid var(--kp-text); outline-offset: 3px; }
.startseite .start-knopf:focus-visible { outline: 3px solid var(--vx-graphit); outline-offset: 3px; }
.startseite .studio-knopf--zweit {
  background: transparent; color: var(--kp-text); border: 2px solid var(--kp-linie); box-shadow: none;
}
.startseite .studio-knopf--zweit:hover { border-color: var(--vx-lime); color: var(--vx-lime); filter: none; }

/* ── Bewegung nur, wenn erwünscht ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .startseite a.start-demo,
  .startseite :is(.start-knopf, .studio-knopf) { transition: none; }
  .startseite a.start-demo:hover,
  .startseite :is(.start-knopf, .studio-knopf):hover { transform: none; }
}

/* ── Tablet ───────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .startseite .start-akte__raster { grid-template-columns: 1fr; }
  .startseite .start-akte--gespiegelt .start-akte__text { order: 0; }
  .startseite .start-akte__karte { max-width: 620px; }
  .startseite .start-belege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .startseite .start-belege > div:nth-child(2) { border-right: 0; }
  .startseite .start-belege > div:nth-child(3) { padding-left: 0; }
  .startseite .start-belege > div:nth-child(n+3) { border-top: 1px solid var(--kp-linie); }
}

/* ── Handy ────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .startseite .start-zweispalt { grid-template-columns: 1fr; gap: 18px; }
  .startseite .start-akte__kosten > div { grid-template-columns: 1fr; gap: 2px; }
  /* Handy: Text und Karte nannten dieselben drei Punkte doppelt (Besucher R7) — Karte zeigt nur Bild und Preis */
  .startseite .start-akte__punkte { display: none; }
  .startseite .start-erleben__demos { grid-template-columns: 1fr; }
  .startseite a.start-demo { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .startseite .start-demo img { width: 84px; }
  .startseite .start-belege { grid-template-columns: 1fr; }
  .startseite .start-belege > div,
  .startseite .start-belege > div + div { padding: 22px 0; border-right: 0; }
  .startseite .start-belege > div + div { border-top: 1px solid var(--kp-linie); }
  .startseite .start-person { grid-template-columns: 1fr; }
  .startseite .start-person img { width: 88px; height: 88px; }
  .startseite .start-buero__routinen { grid-template-columns: 1fr; }
  .startseite :is(.start-knopf, .studio-knopf) { width: 100%; }
}

/* Kurzer Weg zum gemeinsamen Kompetenznachweis, innerhalb der vorhandenen Belege. */
.startseite .start-kompetenz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--vx-lime);
  background: var(--vx-graphit-hell);
  color: var(--vx-papier);
  text-decoration: none;
}
.startseite .start-kompetenz__inhalt { display: grid; gap: 6px; min-width: 0; }
.startseite .start-kompetenz strong { font-size: 1.25rem; line-height: 1.25; color: var(--vx-lime); }
.startseite .start-kompetenz__inhalt > span { color: #a8b0ac; font-size: .94rem; line-height: 1.55; }
.startseite .start-kompetenz__link { flex-shrink: 0; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.startseite .start-kompetenz:hover .start-kompetenz__link,
.startseite .start-kompetenz:focus-visible .start-kompetenz__link { color: var(--vx-lime); text-decoration-thickness: 3px; }
.startseite .start-kompetenz:focus-visible { outline: 2px solid var(--vx-lime); outline-offset: 5px; }
@media (max-width: 760px) {
  .startseite .start-kompetenz { align-items: flex-start; flex-direction: column; padding: 20px; }
  .startseite .start-kompetenz__link { flex-shrink: 1; }
}
