/* ═══════════════════════════════════════════════════════════════════════════
   GrowTracker Website - gemeinsames Designsystem für alle öffentlichen Seiten
   Breite und Raster wie zenkner-technology.de (Container 1680px, fließender Rand)
   Wird nach css/styles.css geladen und überschreibt dessen Layout-Regeln.
   ═══════════════════════════════════════════════════════════════════════════ */

:root,
html[data-theme="dark"] {
  --gt-bg: #060a08;
  --gt-bg-subtle: #0a100d;
  --gt-surface: #0d1511;
  --gt-surface-2: #121c17;
  --gt-border: rgba(148, 190, 160, 0.12);
  --gt-border-strong: rgba(148, 190, 160, 0.22);
  --gt-text: #e8f0ea;
  --gt-text-2: #b3c2b8;
  --gt-muted: #7d8f83;
  --gt-accent: #15803d;
  --gt-accent-2: #0F4D0F;
  --gt-accent-ink: #ffffff;
  --gt-accent-fill: #0F4D0F;
  --gt-accent-fill-2: #15803d;
  --gt-accent-soft: rgba(15, 77, 15, 0.28);
  --gt-accent-line: rgba(21, 128, 61, 0.4);
  --gt-warn: #f5b942;
  --gt-danger: #f87171;
  --gt-info: #60a5fa;
  --gt-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --gt-header-bg: rgba(6, 10, 8, 0.78);

  --gt-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gt-font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --gt-font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gt-container: 1680px;
  --gt-gutter: clamp(20px, 3.2vw, 48px);
  --gt-section: clamp(72px, 9vw, 136px);
  --gt-radius: 10px;
  --gt-radius-lg: 16px;
  --gt-header-h: 72px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --gt-bg: #f7faf8;
  --gt-bg-subtle: #eef4f0;
  --gt-surface: #ffffff;
  --gt-surface-2: #f2f7f4;
  --gt-border: rgba(20, 60, 35, 0.1);
  --gt-border-strong: rgba(20, 60, 35, 0.2);
  --gt-text: #0c1a12;
  --gt-text-2: #34483c;
  --gt-muted: #5f7367;
  --gt-accent: #15803d;
  --gt-accent-2: #0F4D0F;
  --gt-accent-ink: #ffffff;
  --gt-accent-fill: #0F4D0F;
  --gt-accent-fill-2: #15803d;
  --gt-accent-soft: rgba(15, 77, 15, 0.08);
  --gt-accent-line: rgba(15, 77, 15, 0.3);
  --gt-warn: #b7791f;
  --gt-danger: #dc2626;
  --gt-info: #2563eb;
  --gt-shadow: 0 30px 70px -35px rgba(15, 50, 30, 0.35);
  --gt-header-bg: rgba(247, 250, 248, 0.85);
  color-scheme: light;
}

/* ── Basis ──────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gt-header-h) + 16px); }

body.gt-site {
  margin: 0;
  background: var(--gt-bg);
  color: var(--gt-text);
  font-family: var(--gt-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.gt-site * { box-sizing: border-box; }
body.gt-site img { max-width: 100%; }
body.gt-site a { color: inherit; }
body.gt-site ::selection { background: var(--gt-accent-fill); color: var(--gt-accent-ink); }

:where(.gt-site) :is(h1, h2, h3, h4) {
  font-family: var(--gt-font-head);
  color: var(--gt-text);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}
:where(.gt-site) p { margin: 0; }

.gt-container {
  width: 100%;
  max-width: var(--gt-container);
  margin-inline: auto;
  padding-inline: var(--gt-gutter);
}
.gt-container--narrow { max-width: 1040px; }

.gt-section { padding-block: var(--gt-section); position: relative; }
.gt-section + .gt-section { border-top: 1px solid var(--gt-border); }
.gt-section--tight { padding-block: clamp(48px, 6vw, 88px); }
.gt-section--subtle { background: var(--gt-bg-subtle); }

.gt-skip {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gt-accent-fill); color: var(--gt-accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.gt-skip:focus { top: 12px; }

/* ── Typo-Bausteine ─────────────────────────────────────────────────────── */
.gt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--gt-font-mono);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gt-accent);
  margin-bottom: 18px;
}
.gt-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

.gt-h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.gt-h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.gt-h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.gt-lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--gt-text-2); max-width: 62ch; }
.gt-muted { color: var(--gt-muted); }
.gt-accent { color: var(--gt-accent); }

/* Abschnittskopf: Titel links, Einleitung rechts (wie zenkner-technology.de) */
.gt-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.gt-head .gt-lead { justify-self: end; }
.gt-head--stack { grid-template-columns: 1fr; align-items: start; }
.gt-head--stack .gt-lead { justify-self: start; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.gt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--gt-radius);
  border: 1px solid var(--gt-border-strong);
  background: transparent; color: var(--gt-text);
  font: 600 0.95rem/1 var(--gt-font);
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.gt-btn:hover { border-color: var(--gt-accent-line); color: var(--gt-accent); }
.gt-btn:focus-visible { outline: 2px solid var(--gt-accent); outline-offset: 3px; }
.gt-btn--primary { background: var(--gt-accent-fill); border-color: var(--gt-accent-fill); color: var(--gt-accent-ink); }
.gt-btn--primary:hover { background: var(--gt-accent-fill-2); border-color: var(--gt-accent-fill-2); color: var(--gt-accent-ink); transform: translateY(-1px); }
.gt-btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.86rem; }
.gt-btn svg { flex: none; }

.gt-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gt-accent); font-weight: 600; text-decoration: none;
}
.gt-link::after { content: '→'; transition: transform .2s; }
.gt-link:hover::after { transform: translateX(4px); }

.gt-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--gt-border-strong);
  font-size: 0.8rem; font-weight: 500; color: var(--gt-text-2);
  background: transparent;
}
.gt-chip--accent { color: var(--gt-accent); border-color: var(--gt-accent-line); background: var(--gt-accent-soft); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.gt-header {
  position: sticky; top: 0; z-index: 500;
  height: var(--gt-header-h);
  background: var(--gt-header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.gt-header.scrolled { border-bottom-color: var(--gt-border); }
.gt-header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.gt-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex: none;
  font-family: var(--gt-font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em;
}
.gt-brand img { width: 34px; height: 34px; object-fit: contain; }
.gt-brand .b-grow { color: var(--gt-accent); }
.gt-brand .b-tracker { color: var(--gt-text); }

.gt-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gt-nav a {
  position: relative;
  padding: 8px 12px; border-radius: 8px;
  color: var(--gt-text-2); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.gt-nav a:hover { color: var(--gt-text); background: var(--gt-accent-soft); }
.gt-nav a.is-active { color: var(--gt-text); }
.gt-nav a.is-active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--gt-accent);
}
.gt-nav .gt-ext::after { content: '↗'; margin-left: 4px; font-size: 0.75em; opacity: .6; }

.gt-header .header-actions { display: flex; align-items: center; gap: 8px; flex: none; height: 40px; }
.gt-header .gt-header-cta { height: 40px; min-height: 0; }
.gt-icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--gt-border-strong);
  background: transparent; color: var(--gt-text-2); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.gt-icon-btn:hover { color: var(--gt-accent); border-color: var(--gt-accent-line); }
.gt-icon-btn svg { width: 18px; height: 18px; }
html[data-theme="dark"] .gt-icon-btn .icon-sun,
html[data-theme="light"] .gt-icon-btn .icon-moon { display: none; }
.gt-menu-btn { display: none; }

/* Sprachumschalter aus i18n.js an das neue Design angleichen */
.gt-header .gt-lang-btn {
  height: 40px; border-radius: 10px;
  border: 1px solid var(--gt-border-strong);
  background: transparent; color: var(--gt-text-2);
}
.gt-header .gt-lang-dropdown { background: var(--gt-surface); border-color: var(--gt-border-strong); }

@media (max-width: 1180px) {
  .gt-menu-btn { display: inline-grid; }
  .gt-header .gt-header-cta { display: none; }
  .gt-nav {
    position: fixed; inset: var(--gt-header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gt-gutter) 24px;
    background: var(--gt-bg);
    border-bottom: 1px solid var(--gt-border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    max-height: calc(100vh - var(--gt-header-h)); overflow-y: auto;
  }
  .gt-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .gt-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--gt-border); font-size: 1.02rem; }
  .gt-nav a.is-active::after { display: none; }
  .gt-nav a.is-active { color: var(--gt-accent); }
  .gt-header .header-actions { margin-left: auto; }
}

/* ── Seitenkopf für Unterseiten ─────────────────────────────────────────── */
.gt-page-hero {
  padding-block: clamp(64px, 8vw, 120px) clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--gt-border);
  position: relative; overflow: hidden;
}
.gt-page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 0%, var(--gt-accent-soft), transparent 70%),
    linear-gradient(var(--gt-border) 1px, transparent 1px) 0 0 / 100% 64px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  opacity: .9;
}
.gt-page-hero > * { position: relative; }
.gt-page-hero .gt-head { margin-bottom: 0; }
.gt-page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.gt-crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.82rem; color: var(--gt-muted); margin-bottom: 28px;
}
.gt-crumbs a { color: var(--gt-muted); text-decoration: none; }
.gt-crumbs a:hover { color: var(--gt-accent); }
.gt-crumbs span[aria-hidden] { opacity: .5; }

/* ── Startseite: Hero ───────────────────────────────────────────────────── */
.gt-hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 96px) clamp(56px, 7vw, 104px);
  overflow: hidden;
}
.gt-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 480px at 78% 35%, var(--gt-accent-soft), transparent 70%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.gt-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: center;
}
.gt-hero h1 { font-size: clamp(2.9rem, 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.035em; }
.gt-hero .gt-lead { margin-top: 28px; }

.gt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; }
.gt-store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 12px; border: 1px solid var(--gt-border-strong);
  background: var(--gt-surface); color: var(--gt-text); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.gt-store:hover { border-color: var(--gt-accent-line); transform: translateY(-1px); }
.gt-store--primary { background: var(--gt-text); color: var(--gt-bg); border-color: var(--gt-text); }
.gt-store--primary:hover { border-color: var(--gt-text); }
.gt-store--primary small, .gt-store--primary strong { color: var(--gt-bg); }
.gt-store small, .gt-store strong { font-family: var(--gt-font); }
.gt-store small { display: block; font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.gt-store strong { display: block; font-size: 1.02rem; line-height: 1.2; }
.gt-version {
  font-family: var(--gt-font-mono); font-size: 0.78rem; color: var(--gt-muted);
  padding-left: 8px;
}
.gt-hero-note { margin-top: 20px; font-size: 0.88rem; color: var(--gt-muted); max-width: 60ch; }

.gt-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--gt-border);
}
.gt-stat { padding: 22px 20px 0 0; }
.gt-stat + .gt-stat { padding-left: 20px; border-left: 1px solid var(--gt-border); }
.gt-stat-val {
  font-family: var(--gt-font-head); font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem); letter-spacing: -0.03em; color: var(--gt-text);
  font-variant-numeric: tabular-nums;
}
.gt-stat-lbl { font-size: 0.82rem; color: var(--gt-muted); margin-top: 4px; }

/* Handy mit Erklärung */
.gt-phone-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.gt-phone {
  position: relative;
  width: 100%;
}
.gt-phone::after {
  content: ''; position: absolute; inset: -60px; z-index: -1;
  background: radial-gradient(closest-side, var(--gt-accent-soft), transparent);
  filter: blur(10px);
}
.gt-phone img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  transition: opacity .25s ease;
}

.gt-explain { min-width: 0; }
.gt-explain-count {
  font-family: var(--gt-font-mono); font-size: 0.8rem; color: var(--gt-muted);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.gt-explain-count strong { color: var(--gt-accent); font-weight: 600; }
.gt-explain-bar { flex: 1; height: 2px; background: var(--gt-border); border-radius: 2px; overflow: hidden; }
.gt-explain-bar i { display: block; height: 100%; width: 0; background: var(--gt-accent); }
.gt-explain-bar i.is-running { animation: gtBar var(--gt-slide-ms, 5000ms) linear forwards; }
@keyframes gtBar { from { width: 0; } to { width: 100%; } }
.gt-explain h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); transition: opacity .25s; }
.gt-explain p { margin-top: 12px; color: var(--gt-text-2); min-height: 4.8em; transition: opacity .25s; }
.gt-explain.is-swapping h3, .gt-explain.is-swapping p { opacity: 0; }
.gt-explain-nav { display: flex; gap: 8px; margin-top: 24px; }
.gt-feature-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px;
  max-height: 232px; overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.gt-feature-list button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  padding: 7px 0; font-size: 0.86rem; color: var(--gt-muted);
  border-bottom: 1px solid var(--gt-border);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s;
}
.gt-feature-list button:hover { color: var(--gt-text); }
.gt-feature-list button.is-active { color: var(--gt-accent); }
.gt-feature-list button:focus-visible { outline: 2px solid var(--gt-accent); outline-offset: 2px; }

/* ── Nummerierte Zeilen (statt Kachel-Raster) ───────────────────────────── */
.gt-rows { border-top: 1px solid var(--gt-border); }
.gt-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 16px 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gt-border);
  align-items: baseline;
  transition: background .25s;
}
.gt-row:hover { background: linear-gradient(90deg, var(--gt-accent-soft), transparent 60%); }
.gt-row-num { font-family: var(--gt-font-mono); font-size: 0.85rem; color: var(--gt-accent); }
.gt-row h3 { font-size: clamp(1.25rem, 1.8vw, 1.7rem); }
.gt-row p { color: var(--gt-text-2); }
.gt-row .gt-row-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Zweispalter mit Liste */
.gt-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.gt-split--sticky > :first-child { position: sticky; top: calc(var(--gt-header-h) + 32px); }
.gt-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.gt-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--gt-text-2); }
.gt-checks li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gt-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--gt-accent-line);
}

/* Modul-Liste (CSC) */
.gt-modules {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gt-border); border-left: 1px solid var(--gt-border);
}
.gt-module {
  padding: 28px 24px 30px;
  border-right: 1px solid var(--gt-border); border-bottom: 1px solid var(--gt-border);
  transition: background .25s;
}
.gt-module:hover { background: var(--gt-accent-soft); }
.gt-module-icon { width: 22px; height: 22px; color: var(--gt-accent); margin-bottom: 18px; }
.gt-module h4 { font-size: 1.05rem; margin-bottom: 6px; }
.gt-module p { font-size: 0.9rem; color: var(--gt-muted); }

/* Ablauf in Schritten */
.gt-flow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); margin-top: clamp(48px, 5vw, 72px); }
.gt-flow h4 { font-size: 1.1rem; margin-bottom: 18px; }
.gt-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.gt-steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--gt-border); color: var(--gt-text-2);
}
.gt-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--gt-font-mono); font-size: 0.82rem; color: var(--gt-accent); padding-top: 3px; }

.gt-note {
  margin-top: 40px; padding: 16px 18px;
  border-left: 2px solid var(--gt-warn);
  background: color-mix(in srgb, var(--gt-warn) 7%, transparent);
  font-size: 0.86rem; color: var(--gt-text-2);
}

/* Handbuch-Band */
.gt-band {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px); align-items: center;
  padding: clamp(36px, 4vw, 64px);
  border: 1px solid var(--gt-border); border-radius: var(--gt-radius-lg);
  background:
    radial-gradient(500px 260px at 100% 100%, var(--gt-accent-soft), transparent 70%),
    var(--gt-surface);
}
.gt-doc {
  justify-self: center;
  width: min(260px, 100%); aspect-ratio: 1 / 1.35;
  border-radius: 10px; padding: 26px 22px;
  background: #f8faf9; color: #0c1a12;
  box-shadow: var(--gt-shadow);
  transform: rotate(3deg);
  display: flex; flex-direction: column; gap: 10px;
}
.gt-doc img { width: 34px; height: 34px; }
.gt-doc i { display: block; height: 8px; border-radius: 4px; background: #dbe5df; }
.gt-doc i:nth-of-type(1) { width: 70%; background: #0F4D0F; height: 10px; }
.gt-doc i:nth-of-type(3) { width: 85%; }
.gt-doc i:nth-of-type(4) { width: 55%; }
.gt-doc span { margin-top: auto; font: 600 0.62rem var(--gt-font-mono); letter-spacing: .12em; text-transform: uppercase; color: #5f7367; }

/* ── CSC-Partner auf der Startseite ─────────────────────────────────────── */
.gt-partner-list { border-top: 1px solid var(--gt-border); }
.gt-partner {
  display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--gt-border);
  text-decoration: none; color: inherit;
  transition: background .2s;
}
.gt-partner:hover { background: linear-gradient(90deg, var(--gt-accent-soft), transparent 70%); }
.gt-partner-logo {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
  display: grid; place-items: center; font: 700 1.3rem var(--gt-font-head); color: #04130a;
  border: 1px solid var(--gt-border);
}
.gt-partner-name { font: 700 1.15rem var(--gt-font-head); }
.gt-partner-loc { font-size: 0.86rem; color: var(--gt-muted); margin-top: 2px; }
.gt-partner-stats { display: flex; gap: 24px; font-size: 0.82rem; color: var(--gt-muted); }
.gt-partner-stats strong { display: block; font: 700 1.05rem var(--gt-font-head); color: var(--gt-text); }
.gt-empty { padding: 32px 0; color: var(--gt-muted); border-bottom: 1px solid var(--gt-border); }

/* ── Preise ─────────────────────────────────────────────────────────────── */
.gt-plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border: 1px solid var(--gt-border); border-radius: var(--gt-radius-lg); overflow: hidden;
}
.gt-plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; background: var(--gt-surface);
}
.gt-plan + .gt-plan { border-left: 1px solid var(--gt-border); }
.gt-plan.is-featured { background: linear-gradient(180deg, var(--gt-accent-soft), var(--gt-surface) 60%); }
.gt-plan.is-featured::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gt-accent); }
.gt-plan-badge { position: absolute; top: 20px; right: 20px; }
.gt-plan h3 { font-size: 1.4rem; }
.gt-plan-desc { color: var(--gt-muted); font-size: 0.9rem; margin-top: 4px; }
.gt-plan-price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.gt-plan-price strong { font: 700 2.6rem var(--gt-font-head); letter-spacing: -0.03em; }
.gt-plan-price span { color: var(--gt-muted); }
.gt-plan-note { font-size: 0.8rem; color: var(--gt-muted); }
.gt-plan ul { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.gt-plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.92rem; color: var(--gt-text-2); }
.gt-plan li::before { content: '✓'; color: var(--gt-accent); font-weight: 700; }
.gt-plan-meta { font-size: 0.8rem; color: var(--gt-muted); margin-bottom: 16px; }
.gt-plan .gt-btn { width: 100%; }

.gt-table-wrap { overflow-x: auto; border: 1px solid var(--gt-border); border-radius: var(--gt-radius-lg); }
.gt-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.gt-table th, .gt-table td { padding: 12px 18px; border-bottom: 1px solid var(--gt-border); text-align: left; }
.gt-table thead th { font: 700 0.95rem var(--gt-font-head); background: var(--gt-surface-2); position: sticky; top: 0; }
.gt-table td.is-center, .gt-table th.is-center { text-align: center; }
.gt-table tr.is-group td { background: var(--gt-bg-subtle); font-family: var(--gt-font-mono); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gt-accent); }
.gt-table tbody tr:not(.is-group):hover td { background: var(--gt-accent-soft); }
.gt-yes { color: var(--gt-accent); font-weight: 700; }
.gt-no { color: var(--gt-muted); }

/* ── Changelog als Zeitleiste ───────────────────────────────────────────── */
.gt-release {
  display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
}
.gt-release-side { position: sticky; top: calc(var(--gt-header-h) + 32px); align-self: start; }
.gt-release-version { font: 700 clamp(3rem, 5vw, 4.6rem) var(--gt-font-head); letter-spacing: -0.04em; line-height: 1; color: var(--gt-text); }
.gt-release-date { font-family: var(--gt-font-mono); color: var(--gt-muted); font-size: 0.85rem; margin-top: 12px; }
.gt-release-plats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.gt-release-body { border-left: 1px solid var(--gt-border); padding-left: clamp(24px, 3vw, 48px); }
.gt-release-group + .gt-release-group { margin-top: 40px; }
.gt-release-group-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--gt-font-mono); font-size: 0.74rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 8px;
}
.gt-release-group-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.gt-release-group--feature .gt-release-group-title { color: var(--gt-accent); }
.gt-release-group--change .gt-release-group-title { color: var(--gt-info); }
.gt-release-group--bug .gt-release-group-title { color: var(--gt-warn); }
.gt-release-entry { position: relative; padding: 20px 0; border-bottom: 1px solid var(--gt-border); }
.gt-release-entry::before {
  content: ''; position: absolute; left: calc(-1 * clamp(24px, 3vw, 48px) - 4px); top: 29px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gt-border-strong);
}
.gt-release-entry h4 { font-size: 1.1rem; }
.gt-release-entry .gt-release-plats { margin-top: 8px; }
.gt-release-entry ul { margin: 12px 0 0; padding-left: 18px; color: var(--gt-text-2); display: grid; gap: 6px; font-size: 0.94rem; }
.gt-release-entry li::marker { color: var(--gt-accent); }
.gt-release-more { margin-top: 28px; }
.gt-release.is-collapsed .gt-release-body { max-height: 720px; overflow: hidden; mask-image: linear-gradient(to bottom, #000 75%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.gt-faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.gt-faq-cats button {
  all: unset; cursor: pointer;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gt-border-strong);
  font-size: 0.85rem; color: var(--gt-text-2);
}
.gt-faq-cats button.is-active { color: var(--gt-accent-ink); background: var(--gt-accent-fill); border-color: var(--gt-accent-fill); }
.gt-faq-cats button:focus-visible { outline: 2px solid var(--gt-accent); outline-offset: 2px; }
.gt-faq { border-top: 1px solid var(--gt-border); }
.gt-faq-item { border-bottom: 1px solid var(--gt-border); }
.gt-faq-item[hidden] { display: none; }
.gt-faq-q {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 1fr 28px; gap: 24px; align-items: center;
  padding: 24px 0;
  font: 600 clamp(1.02rem, 1.3vw, 1.18rem)/1.4 var(--gt-font-head); color: var(--gt-text);
}
.gt-faq-q:hover { color: var(--gt-accent); }
.gt-faq-q:focus-visible { outline: 2px solid var(--gt-accent); outline-offset: 4px; }
.gt-faq-icon {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gt-border-strong);
  position: relative; transition: transform .3s, background .3s, border-color .3s;
}
.gt-faq-icon::before, .gt-faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%);
}
.gt-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.gt-faq-item.open .gt-faq-icon { background: var(--gt-accent-fill); border-color: var(--gt-accent-fill); color: var(--gt-accent-ink); }
.gt-faq-item.open .gt-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.gt-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.gt-faq-item.open .gt-faq-a { grid-template-rows: 1fr; }
.gt-faq-a > div { overflow: hidden; }
.gt-faq-a .gt-faq-body { padding: 0 52px 26px 0; color: var(--gt-text-2); max-width: 78ch; }
.gt-faq-a .gt-faq-body a { color: var(--gt-accent); }
.gt-faq-a .gt-faq-body p + p { margin-top: 10px; }

/* ── Abschluss-Band ─────────────────────────────────────────────────────── */
.gt-cta {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px;
  padding-block: clamp(56px, 7vw, 104px);
}
.gt-cta h2 { max-width: 22ch; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.gt-footer { border-top: 1px solid var(--gt-border); background: var(--gt-bg-subtle); }
.gt-footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px; padding-block: 72px 56px;
}
.gt-footer-brand p { margin-top: 18px; color: var(--gt-muted); font-size: 0.92rem; max-width: 42ch; }
.gt-footer-brand p a { color: var(--gt-accent); text-decoration: none; }
.gt-footer h4 { font-family: var(--gt-font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gt-muted); margin-bottom: 16px; }
.gt-footer nav { display: grid; gap: 10px; }
.gt-footer nav a { color: var(--gt-text-2); text-decoration: none; font-size: 0.92rem; width: fit-content; }
.gt-footer nav a:hover { color: var(--gt-accent); }
.gt-social { display: flex; gap: 8px; margin-top: 22px; }
.gt-social a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gt-border-strong);
  display: grid; place-items: center; transition: border-color .2s;
}
.gt-social a:hover { border-color: var(--gt-accent-line); }
.gt-social img { width: 18px; height: 18px; object-fit: contain; }
.gt-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 22px; border-top: 1px solid var(--gt-border);
  font-size: 0.82rem; color: var(--gt-muted);
}
.gt-footer-bottom a { color: var(--gt-muted); }

/* ── Inhalte: Rechtstexte & Fließtext ───────────────────────────────────── */
.gt-prose { max-width: 78ch; color: var(--gt-text-2); font-size: 1rem; }
.gt-prose h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 48px 0 14px; color: var(--gt-text); }
.gt-prose h3 { font-size: 1.15rem; margin: 32px 0 10px; color: var(--gt-text); }
.gt-prose p, .gt-prose ul, .gt-prose ol { margin: 0 0 14px; }
.gt-prose ul, .gt-prose ol { padding-left: 20px; }
.gt-prose li { margin-bottom: 6px; }
.gt-prose a { color: var(--gt-accent); }
.gt-prose strong { color: var(--gt-text); }
.gt-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.gt-prose th, .gt-prose td { border-bottom: 1px solid var(--gt-border); padding: 10px 8px; text-align: left; vertical-align: top; }
.gt-prose > :first-child { margin-top: 0; }

.gt-legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.gt-toc { position: sticky; top: calc(var(--gt-header-h) + 32px); align-self: start; display: grid; gap: 4px; font-size: 0.88rem; }
.gt-toc a { color: var(--gt-muted); text-decoration: none; padding: 6px 0 6px 14px; border-left: 1px solid var(--gt-border); }
.gt-toc a:hover, .gt-toc a.is-active { color: var(--gt-accent); border-left-color: var(--gt-accent); }

/* ── Formulare & Panels (für Unterseiten mit Formularen) ────────────────── */
.gt-panel {
  border: 1px solid var(--gt-border); border-radius: var(--gt-radius-lg);
  background: var(--gt-surface); padding: clamp(24px, 3vw, 40px);
}
.gt-field { display: grid; gap: 6px; }
.gt-field label { font-size: 0.82rem; font-weight: 600; color: var(--gt-text-2); }
.gt-input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border-radius: var(--gt-radius); border: 1px solid var(--gt-border-strong);
  background: var(--gt-bg); color: var(--gt-text); font: inherit;
}
.gt-input:focus { outline: none; border-color: var(--gt-accent); box-shadow: 0 0 0 3px var(--gt-accent-soft); }

/* ── Scroll-Fortschritt & Reveal ────────────────────────────────────────── */
.gt-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gt-accent); z-index: 600; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="100"] { transition-delay: .1s; }
[data-reveal-delay="200"] { transition-delay: .2s; }
[data-reveal-delay="300"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .gt-explain-bar i.is-running { animation: none; width: 100%; }
}

/* ── Responsiv ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .gt-hero-grid { grid-template-columns: 1fr; }
  .gt-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gt-footer-grid { grid-template-columns: 1fr 1fr; }
  .gt-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .gt-head, .gt-split, .gt-band, .gt-release, .gt-flow, .gt-legal { grid-template-columns: 1fr; }
  .gt-head .gt-lead { justify-self: start; }
  .gt-split--sticky > :first-child, .gt-release-side, .gt-toc { position: static; }
  .gt-row { grid-template-columns: 48px 1fr; }
  .gt-row p { grid-column: 2; }
  .gt-stats { grid-template-columns: repeat(2, 1fr); }
  .gt-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .gt-stat:nth-child(n+3) { border-top: 1px solid var(--gt-border); }
  .gt-plan + .gt-plan { border-left: 0; border-top: 1px solid var(--gt-border); }
  .gt-release-body { border-left: 0; padding-left: 0; }
  .gt-release-entry::before { display: none; }
  .gt-partner { grid-template-columns: 48px 1fr; }
  .gt-partner-stats, .gt-partner .gt-link { grid-column: 2; }
  .gt-toc { display: none; }
}
@media (max-width: 640px) {
  .gt-phone-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gt-phone { max-width: 250px; }
  .gt-explain-nav { justify-content: center; }
  .gt-feature-list { display: none; }
  .gt-modules { grid-template-columns: 1fr; }
  .gt-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gt-faq-a .gt-faq-body { padding-right: 0; }
  .gt-store { width: 100%; }
}

/* ── Rechtstexte (Impressum, Datenschutz, AGB) ──────────────────────────────
   Die Inhalte kommen aus dem CMS (legal-content.js) und nutzen diese Klassen. */
.gt-legal-page { padding-bottom: var(--gt-section); }
.gt-legal-page .container { max-width: none; margin: 0; padding: 0 !important; }
.gt-legal-page .impressum-hero {
  display: flex; align-items: center; gap: 24px;
  padding: clamp(56px, 7vw, 104px) 0 clamp(36px, 4vw, 56px);
  margin: 0 0 clamp(36px, 4vw, 56px);
  background: none; border-radius: 0;
  border-bottom: 1px solid var(--gt-border);
}
.gt-legal-page .impressum-hero img { height: 64px; width: 64px; object-fit: contain; flex: none; }
.gt-legal-page .impressum-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem) !important; margin: 0 0 10px !important; }
.gt-legal-page .impressum-note { color: var(--gt-muted); font-size: .92rem; margin-top: 6px; max-width: 80ch; }
.gt-legal-page .impressum-grid {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px); align-items: start;
}
.gt-legal-page .contact-card {
  position: sticky; top: calc(var(--gt-header-h) + 32px);
  background: var(--gt-surface); border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius-lg); padding: 24px;
}
.gt-legal-page .contact-card h4 { font-family: var(--gt-font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gt-accent); margin-bottom: 14px; }
.gt-legal-page .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .92rem; color: var(--gt-text-2); }
.gt-legal-page .contact-list strong { color: var(--gt-text); }
.gt-legal-page .contact-card a, .gt-legal-page .legal-section a { color: var(--gt-accent); }
.gt-legal-page .legal-section {
  background: none; border: 0; border-radius: 0;
  padding: 28px 0; margin: 0 !important;
  border-bottom: 1px solid var(--gt-border);
  color: var(--gt-text-2); max-width: 82ch;
}
.gt-legal-page .legal-section:first-child { padding-top: 0; }
.gt-legal-page .legal-section h2, .gt-legal-page .legal-section h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); color: var(--gt-text); margin: 0 0 12px; }
.gt-legal-page .legal-section h4 { font-size: 1.02rem; color: var(--gt-text); margin: 18px 0 8px; }
.gt-legal-page .legal-section p, .gt-legal-page .legal-section ul, .gt-legal-page .legal-section ol { margin: 0 0 10px; }
.gt-legal-page .legal-section ul, .gt-legal-page .legal-section ol { padding-left: 20px; }
.gt-legal-page .legal-section li { margin-bottom: 6px; }
.gt-legal-page .legal-section strong { color: var(--gt-text); }
.gt-legal-page .legal-section table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 12px 0; }
.gt-legal-page .legal-section th, .gt-legal-page .legal-section td { padding: 10px 8px; border-bottom: 1px solid var(--gt-border); text-align: left; vertical-align: top; }
@media (max-width: 900px) {
  .gt-legal-page .impressum-grid { grid-template-columns: 1fr; }
  .gt-legal-page .contact-card { position: static; }
}

/* Hero: wechselndes Wort */
.gt-rotate { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.gt-rotate.is-out { opacity: 0; transform: translateY(0.25em); }
@media (prefers-reduced-motion: reduce) { .gt-rotate { transition: none; } }
