/* tokens.css laedt layout.html als eigenes <link> (parallel, keine Import-Kette). */

/* --shadow / --shadow-lg kommen aus tokens.css (design_tokens.SHADOWS),
   hell und dunkel — hier nichts mehr ueberschreiben. */

/* ── Schriften: selbst gehostet (DSGVO, CSP font-src 'self') ───────────── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Inter-Regular.woff2") format("woff2"), url("fonts/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Inter-SemiBold.woff2") format("woff2"), url("fonts/Inter-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Inter-Bold.woff2") format("woff2"), url("fonts/Inter-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"), url("fonts/JetBrainsMono-Regular.ttf") format("truetype");
}

/* ── Basis ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg-root);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

section[id] {
  scroll-margin-top: 84px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
}

/* ── Typografie ────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 30px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 44px;
}

/* ── Header / Nav ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-root) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-primary);
}

/* Fuellfarbe per Klasse: die CSP (style-src 'self') verbietet style-Attribute. */
.brand-fill {
  fill: var(--text-primary);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--motion-fast) var(--motion-ease);
}

.site-nav a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.lang-toggle,
.nav-toggle {
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
}

.lang-toggle {
  min-width: 42px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}

/* Sprachwahl: <details> mit Links auf die Sprach-URLs */
.lang-menu {
  position: relative;
}

.lang-menu > summary {
  display: grid;
  place-items: center;
  list-style: none;
}

.lang-menu > summary::-webkit-details-marker {
  display: none;
}

.lang-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 150px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.lang-list a {
  display: block;
  padding: 8px 14px;
  color: var(--text-primary);
  font-size: 14px;
}

.lang-list a:hover,
.lang-list a:focus-visible {
  background: var(--bg-element);
  text-decoration: none;
}

.lang-list a[aria-current] {
  color: var(--accent);
  font-weight: 600;
}

.footer-legal-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 6px;
}

/* Selbst gehostetes Inter hat keine CJK-/Devanagari-Glyphen: Systemschriften dahinter. */
html:lang(zh) {
  --font-ui: "Inter", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

html:lang(hi) {
  --font-ui: "Inter", "Nirmala UI", "Noto Sans Devanagari", sans-serif;
}

.theme-toggle:hover,
.lang-toggle:hover,
.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--motion-base) var(--motion-ease), opacity var(--motion-base) var(--motion-ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--motion-fast) var(--motion-ease),
    border-color var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) var(--motion-ease),
    transform var(--motion-fast) var(--motion-ease),
    box-shadow var(--motion-fast) var(--motion-ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
}

.btn-ghost {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 14px 26px;
  font-size: 16px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  /* Drei Ebenen in EINER background-image-Liste (ein zweites background-image:
     wuerde die vorherige Deklaration komplett ersetzen, nicht ueberlagern):
     Raster (fest), Raster (fest), warmer Verlauf (animiert). */
  background-color: var(--bg-root);
  background-image:
    repeating-linear-gradient(0deg, rgba(var(--accent-rgb), 0.04) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 0 1px, transparent 1px 40px),
    linear-gradient(115deg, var(--accent-light) 0%, var(--bg-root) 38%, var(--bg-root) 62%, var(--accent-light) 100%);
  background-size: 40px 40px, 40px 40px, 260% 260%;
  background-position: 0 0, 0 0, 0% 50%;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    background-position: 0 0, 0 0, 0% 50%;
  }

  to {
    background-position: 0 0, 0 0, 100% 50%;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  animation: chip-in var(--motion-slow) var(--motion-ease) both;
  animation-delay: calc(var(--i, 0) * 80ms);
}

.trust-chip::before,
.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-visual {
  position: relative;
  min-width: 0;
  /* Eigener Stapelkontext: sonst landet der Glow (frueher z-index:-1) unter
     dem deckenden .hero-Hintergrund und ist komplett unsichtbar. */
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), transparent 65%);
  filter: blur(60px);
  opacity: 0.6;
}

.hero-visual > * {
  position: relative;
  z-index: 1;
}

.hero .window-frame,
.hero .window {
  animation: hero-rise var(--motion-slow) var(--motion-ease) both;
  animation-delay: 120ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Fensterrahmen um Screenshots. Zwei Markup-Varianten:
   .window bringt eine echte .window-bar mit .window-title mit;
   .window-frame zeigt den App-Screenshot ohne gemalte Leiste (sieht aus wie die echte App). */
.window-frame,
.window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  background: var(--sidebar-bg);
}

.window-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sidebar-text);
}

.window-frame img,
.window img {
  width: 100%;
  height: auto;
}

/* Hero-Mock: CSS-Platzhalter fuer ein Dokument, kein Screenshot (der
   Auftraggeber wollte hoechstens zwei App-Screenshots auf der Seite —
   der Hero zeigt daher wieder eine gezeichnete Vorschau, wie vor TP3). */
.mock-page {
  padding: 28px 26px 32px;
  display: grid;
  gap: 10px;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.mock-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.mock-line {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--bg-element);
}

.mock-line-name {
  width: 160px;
  height: 13px;
  background: var(--text-primary);
  opacity: 0.85;
  margin-bottom: 8px;
}

.mock-line-role {
  width: 110px;
  height: 9px;
  background: var(--text-muted);
}

.mock-line-wide {
  width: 100%;
}

.mock-line-short {
  width: 45%;
}

.mock-line-accent {
  background: var(--accent-light);
}

.mock-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ── Sektionen ─────────────────────────────────────────────────────────── */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-element);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Produkt-Tour ──────────────────────────────────────────────────────── */
.tour {
  margin-top: 8px;
}

.tour-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.tour-row + .tour-row {
  margin-top: 80px;
}

/* Gerade Zeilen: Text links, Bild rechts — Spaltentausch über direction.
   index.html setzt .tour-row-flip explizit; nth-child deckt Markup ohne die Klasse ab. */
.tour-row-flip,
.tour-row:nth-child(even of .tour-row) {
  direction: rtl;
}

.tour-row-flip > *,
.tour-row:nth-child(even of .tour-row) > * {
  direction: ltr;
}

.tour-row h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.tour-row p:not(.eyebrow) {
  color: var(--text-secondary);
  font-size: 17px;
}

.tour-row ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.tour-row li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
}

.tour-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.tour-media {
  min-width: 0;
}

/* ── Funktionen ────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}

.feature-card:hover {
  border-color: var(--accent);
  /* EINE Liste: eine zweite box-shadow-Deklaration wuerde die erste
     ersetzen statt sie zu ergaenzen (Tiefe + Glow zusammen). */
  box-shadow: var(--shadow-lg), 0 0 20px rgba(var(--accent-rgb), 0.2);
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ── Ablauf ────────────────────────────────────────────────────────────── */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color var(--motion-base) var(--motion-ease);
}

.step:hover {
  border-color: var(--accent);
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ── Preise ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}

.pricing-card:hover {
  border-color: var(--accent);
}

.pricing-featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.pricing-featured,
.window-frame {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
    linear-gradient(135deg, var(--accent), transparent 70%) border-box;
}

.badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--accent-light);
  color: var(--accent-light-text);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.price {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-spacing: -0.45em;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.price-meta {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 15px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.pricing-note {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Unlimited: breite Petrol-Karte unter den drei Paketen. index.html setzt sie
   als .pricing-wide NACH .pricing-grid (volle Breite als Block); grid-column
   greift, falls die Karte doch im Grid steht. */
.pricing-wide {
  grid-column: 1 / -1;
  margin-top: 22px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.pricing-wide :is(h3, .price) {
  color: var(--accent-text);
}

.pricing-wide :is(.price-meta, li) {
  color: color-mix(in srgb, var(--accent-text) 82%, transparent);
}

.pricing-wide ul {
  columns: 2;
  column-gap: 32px;
}

.pricing-wide li::before {
  background: color-mix(in srgb, var(--accent-text) 82%, transparent);
}

.pricing-wide .btn-primary {
  align-self: flex-start;
  background: var(--accent-text);
  color: var(--accent);
}

.pricing-wide .btn-primary:hover {
  background: var(--accent-light);
  color: var(--accent-light-text);
}

/* „So bekommst du Zugang": .get-access (Eyebrow + H3) mit ol.steps.steps-mini —
   dieselben .step-Karten wie im Ablauf, nur kompakter. */
.get-access {
  margin-top: 48px;
}

.get-access > h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}

.steps-mini,
.get-steps {
  gap: 14px;
}

:is(.steps-mini, .get-steps) .step {
  padding: 18px 20px;
  box-shadow: none;
}

:is(.steps-mini, .get-steps) .step-number {
  width: 28px;
  height: 28px;
  font-size: 12px;
  margin-bottom: 10px;
}

:is(.steps-mini, .get-steps) h3 {
  font-size: 16px;
}

:is(.steps-mini, .get-steps) p {
  font-size: 14px;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 20px;
  transition: border-color var(--motion-base) var(--motion-ease);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--accent);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Chevron: zeigt nach rechts, offen um 90° gedreht nach unten */
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  transition: transform var(--motion-base) var(--motion-ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 20px;
  color: var(--text-secondary);
}

/* ── Abschluss-CTA ─────────────────────────────────────────────────────── */
.cta-section {
  padding-bottom: 96px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--accent-text) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
}

.cta-box .eyebrow {
  color: color-mix(in srgb, var(--accent-text) 80%, transparent);
}

.cta-box h2 {
  color: var(--accent-text);
  margin-bottom: 12px;
}

.cta-box p {
  color: color-mix(in srgb, var(--accent-text) 85%, transparent);
  font-size: 17px;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-box .btn-primary {
  background: var(--accent-text);
  color: var(--accent);
}

.cta-box .btn-primary:hover {
  background: var(--accent-light);
  color: var(--accent-light-text);
}

.cta-box .btn-ghost {
  background: transparent;
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent-text) 45%, transparent);
}

.cta-box .btn-ghost:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-element);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 10px;
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 12px;
}

/* ── Rechtsseiten ──────────────────────────────────────────────────────── */
.legal-header {
  padding: 56px 0 0;
}

.legal-main {
  max-width: 720px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.legal-main h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 8px;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.legal-main h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.legal-main h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-main p,
.legal-main li {
  color: var(--text-primary);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.legal-main ul,
.legal-main ol {
  padding-left: 22px;
  margin: 12px 0;
}

.legal-main li {
  margin-bottom: 6px;
}

.legal-note {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 14px;
}

.legal-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 16px 0;
}

.legal-block p {
  margin-bottom: 10px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 28px;
}

/* ── Scroll-Reveal ─────────────────────────────────────────────────────── */
/* Animation statt Transition: eine Transition auf .reveal würde die
   Hover-Transitions der Karten überschreiben und den --i-Delay auch auf
   jeden Hover legen. fill-mode backwards zeigt während des Delays den
   from-Zustand; danach gelten wieder die normalen Regeln. */
.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
  animation: reveal-in var(--motion-slow) var(--motion-ease) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

/* Die skalierte Featured-Karte nur einblenden, damit scale(1.03) am
   Animationsende nicht springt. */
.pricing-featured.is-visible {
  animation-name: reveal-fade;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
  }
}

/* ── Reduced Motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero {
    animation: none;
  }

  .reveal {
    opacity: 1;
  }

  .hero-visual::before {
    filter: none;
    opacity: 0.2;
  }

  .btn-primary:hover,
  .btn-primary:focus-visible,
  .feature-card:hover {
    box-shadow: none;
  }
}

/* ── Breakpoints: 1440 / 960 / 720 ─────────────────────────────────────── */
@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 640px;
  }

  .tour-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tour-row-flip,
  .tour-row:nth-child(even of .tour-row) {
    direction: ltr;
  }

  .tour-row + .tour-row {
    margin-top: 64px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-featured {
    transform: none;
  }

  .pricing-wide ul {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Menue-Button schon unter 960 px: Marke + fuenf Nav-Links + Aktionen passen
   bei 820 px nicht in eine Zeile (horizontaler Ueberlauf im Layout-Check). */
@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 48px 0 44px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 48px 20px;
  }
}

/* ── Lifestyle-Bloecke (Foto + Text) ───────────────────────────────────── */
.outcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.outcome-photo,
.split-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.outcome-photo img,
.split-photo img img {
  display: block;
  width: 100%;
  height: auto;
}

.outcome-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.outcome-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Haken als Pseudo-Element: kein Icon-Font, keine zusaetzliche Datei. */
.outcome-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 64px;
}

.split-reverse .split-photo {
  order: 2;
}

.split-copy h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.split-copy p {
  color: var(--text-secondary);
}


/* ── Gebuehren je Modellstufe ──────────────────────────────────────────── */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}

.fee-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.fee-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.fee-model {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.fee-rows {
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.fee-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.fee-rows dt {
  color: var(--text-secondary);
  font-size: 15px;
}

.fee-rows dd {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.fee-note {
  margin: auto 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-sub {
  font-size: 22px;
  margin-bottom: 22px;
}

@media (max-width: 960px) {
  .outcome-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .split-reverse .split-photo {
    order: 0;
  }

  .fee-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Rabatt-Zeile auf der Paketkarte + Hinweis unter der Gebuehrentabelle */
.price-discount {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--success);
  background: var(--success-light);
  border-radius: var(--radius-md);
}

.pricing-wide .price-discount {
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent-text) 18%, transparent);
}

.fee-note-discount,
.fee-note-calls,
.fee-note-designs {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 720px;
}

.fee-note-discount {
  margin: -32px 0 12px;
}

.fee-note-designs {
  margin: 0 0 56px;
}

.fee-note-calls {
  margin: 0 0 12px;
}

/* Bonus-Guthaben auf der Paketkarte */
.price-bonus {
  display: inline-block;
  margin: 0 0 12px 8px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--signal-text);
  background: var(--signal-light);
  border-radius: var(--radius-md);
}

/* ── Anleitung (anleitung.html) ────────────────────────────────────────── */
.guide {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.guide-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
}

.guide-toc summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 0;
}

.guide-toc ol {
  list-style: none;
}

.guide-toc a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.guide-toc a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  text-decoration: none;
}

.guide-toc > details > ol > li > a {
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 8px;
}

.guide-toc ol ol a {
  padding-left: 26px;
  font-size: 13px;
}

.guide-content {
  min-width: 0;
  max-width: 760px;
}

.guide-content h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 6px;
}

.guide-lead {
  font-size: 18px;
  color: var(--text-secondary);
}

.guide-part,
.guide-section {
  scroll-margin-top: 88px;
}

.guide-part {
  margin-top: 64px;
}

.guide-section {
  margin-top: 44px;
}

.guide-content .guide-h {
  font-size: 24px;
  margin-bottom: 12px;
}

.guide-content h4 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 6px;
}

.guide-content p,
.guide-content li {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.guide-content p + p {
  margin-top: 12px;
}

.guide-content ul {
  padding-left: 22px;
  margin: 12px 0;
}

.guide-content li {
  margin-bottom: 6px;
}

.guide-steps {
  list-style: none;
  margin: 28px 0 40px;
}

.guide-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.guide-step h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.guide-step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-weight: 600;
}

.guide-costs {
  scroll-margin-top: 88px;
  padding: 24px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.guide-costs h3 {
  margin-bottom: 8px;
}

.guide-figure {
  margin: 24px 0;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

@media (min-width: 961px) {
  .guide-toc summary {
    display: none;
  }
}

@media (max-width: 960px) {
  .guide {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 28px;
  }

  .guide-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 16px 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }

  .guide-costs {
    padding: 20px 18px;
  }
}

/* ── Warum es Canderix gibt (index.html#warum) ─────────────────────────── */
.story-section {
  padding-top: 24px;
}

.story-card {
  padding: 40px 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-quote p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
}

.story-quote p + p {
  margin-top: 14px;
}

.story-signature {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.guide-story {
  margin-top: 10px;
  font-size: 15px;
}

@media (max-width: 720px) {
  .story-card {
    padding: 28px 20px;
  }

  .story-quote p {
    font-size: 16px;
  }
}

/* ── Unterseiten: Seitenkopf, Saeulen, Preis-Teaser, aktive Navigation ─── */
.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.page-head {
  padding: 64px 0 8px;
}

.page-head h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  max-width: 860px;
}

.page-head .lead {
  max-width: 720px;
  margin-bottom: 0;
}

.section-flush {
  padding-top: 40px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.pillar-card p {
  color: var(--text-secondary);
}

.pillar-link {
  margin-top: auto;
  font-weight: 600;
}

.teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.teaser h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}

.teaser p {
  color: var(--text-secondary);
}

.teaser-story {
  margin-top: 10px;
  font-size: 15px;
}

.faq-all {
  margin-top: 24px;
  font-weight: 600;
}

/* ── Datenschutz-Hinweis (layout.html, app.runtime.js) ─────────────────── */
.privacy-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(420px, calc(100% - 32px));
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.privacy-notice[hidden] {
  display: none;
}

.privacy-notice p {
  font-size: 14px;
  color: var(--text-secondary);
}

.privacy-notice .privacy-notice-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.privacy-notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 14px;
}

.privacy-notice-actions .btn {
  margin-left: auto;
}

@keyframes privacy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .privacy-notice {
    animation: privacy-in var(--motion-slow) var(--motion-ease);
  }
}

@media (max-width: 960px) {
  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .teaser {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-head {
    padding-top: 40px;
  }

  .privacy-notice {
    left: 0;
    bottom: 0;
    width: 100%;
    border-left: none;
    border-top: 3px solid var(--accent);
    border-radius: 0;
  }

  .teaser .btn {
    width: 100%;
  }
}

/* ── Motto "Qualitaet statt Quantitaet" ────────────────────────────────── */
.hero-motto {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 560px;
  margin: -14px 0 28px;
}

.pillars-note,
.page-head-note {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 720px;
}

.pillars-note {
  margin-top: 28px;
}

.page-head-note {
  margin-top: 12px;
}

.story-quote .story-motto,
.guide-motto,
.footer-motto {
  font-weight: 600;
  color: var(--accent);
}

.footer-motto {
  margin: 6px 0 4px;
  font-size: 14px;
}

/* ── Positionierung: kein Massenbewerbungs-Tool (docs/brand-guidelines.md §1) ── */
.hero-position {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 560px;
  margin: -14px 0 28px;
}

.contrast-band {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.contrast-line {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* Fuenf Workflow-Schritte: auf breiten Schirmen eine Reihe, sonst Umbruch. */
.steps-5 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.steps-5 .step {
  padding: 22px;
}

.note-box {
  margin: 40px 0 8px;
  padding: 24px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.note-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.note-box ul {
  padding-left: 20px;
  color: var(--text-secondary);
}

.note-box li + li {
  margin-top: 4px;
}

.note-box h4 {
  font-size: 15px;
  margin: 18px 0 6px;
}

.cmp-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 6px 18px;
  font-size: 15px;
}

.cmp-list dt {
  font-weight: 600;
}

.cmp-list dd {
  margin: 0;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .cmp-list {
    grid-template-columns: 1fr;
  }

  .cmp-list dd {
    margin-bottom: 8px;
  }
}

.note-box .pillar-link {
  display: inline-block;
  margin-top: 10px;
}

/* ── Hero mit echtem App-Bild statt Platzhalter (2026-09-22) ─────────────── */
.hero-shot {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Abgrenzungs-Band: Positionierung und Motto-Erklaerung unter dem Kernsatz */
.contrast-sub {
  max-width: 760px;
  margin: 10px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
}

/* Datenschutz-Hinweis auf dem Handy kompakt: verdeckt den Hero nicht */
@media (max-width: 600px) {
  .privacy-notice {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    padding: 12px 14px;
  }

  .privacy-notice .privacy-notice-title {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .privacy-notice p {
    font-size: 13px;
  }

  .privacy-notice-actions {
    margin-top: 8px;
    gap: 8px 12px;
  }

  .privacy-notice-actions .btn {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* ── Positionierung: Vorteile, Beleg, Vergleich, Beispielmappen ─────────── */
.section-tight {
  padding: 40px 0 8px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.adv-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

.adv-card h3 {
  font-size: 17px;
}

.adv-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.proof-card {
  margin: 0;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.proof-demo {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-row {
  padding: 12px 14px;
  border-left: 3px solid var(--success);
  background: var(--success-light);
}

.proof-row.proof-cut {
  border-left-color: var(--danger);
  background: var(--danger-light);
}

.proof-sentence {
  margin: 0 0 6px;
  color: var(--text-primary);
}

.proof-cut .proof-sentence {
  color: var(--text-secondary);
}

.proof-src {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.vs-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 15px;
}

.vs-table th,
.vs-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.vs-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-element);
}

.vs-table tbody th {
  font-weight: 600;
  width: 30%;
}

.vs-table .vs-us {
  background: var(--accent-light);
  color: var(--accent-light-text);
  font-weight: 600;
}

.vs-table thead .vs-us {
  color: var(--accent-light-text);
}

.vs-more {
  margin-top: 14px;
  font-weight: 600;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sample-card a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-weight: 600;
  transition: border-color var(--motion-fast) var(--motion-ease);
}

.sample-card a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.sample-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.samples-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .adv-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .vs-table {
    font-size: 13px;
  }

  .vs-table th,
  .vs-table td {
    padding: 10px 8px;
  }
}

/* ── Fuer Personaler ────────────────────────────────────────────────────── */
.hr-section {
  border-top: 1px solid var(--border);
}

.hr-points {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hr-points li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
}

.hr-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hr-motto {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.hr-short {
  padding: 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

.hr-short h2 {
  font-size: clamp(22px, 2.6vw, 28px);
}

.hr-short p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ── Artikel: Berufsseiten, Ratgeber, Anschreiben-Check ─────────────────── */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.article-body,
.article-aside,
.page-head {
  min-width: 0;
  overflow-wrap: break-word;
}

.article-body h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 40px 0 14px;
  scroll-margin-top: 84px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px 22px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-list-warn li::marker {
  color: var(--danger);
}

.article-dl dt {
  font-weight: 600;
  margin-top: 14px;
}

.article-dl dd {
  color: var(--text-secondary);
}

.beruf-example {
  padding: 20px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

.beruf-example-person {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.article-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.beruf-design {
  margin: 0;
}

/* Lebenslauf-Vorlagen: ein Beispiel links, Anpassen rechts; Berufe als Liste. */
.vorlagen-duo {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
}

.vorlagen-duo .guide-figure {
  margin-top: 0;
}

.vorlagen-duo figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.beruf-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px 32px;
}

.beruf-list a {
  font-weight: 600;
}

.beruf-list small {
  display: block;
  margin-top: 2px;
  color: var(--text-secondary);
}

@media (max-width: 820px) {
  .vorlagen-duo {
    grid-template-columns: 1fr;
  }
}

.beruf-design img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.beruf-design figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-toc {
  margin-bottom: 32px;
  padding: 18px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.article-toc ol {
  margin: 0 0 0 20px;
}

.article-cards {
  display: grid;
  gap: 18px;
}

.article-cards .h3 {
  font-size: 20px;
  margin: 0;
}

.sample-card small {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-privacy {
  padding: 10px 14px;
  border-left: 3px solid var(--success);
  background: var(--success-light);
  font-weight: 600;
}

.check-form {
  display: grid;
  gap: 12px;
}

.check-form label {
  font-weight: 600;
}

.check-form textarea {
  width: 100%;
  min-height: 260px;
  padding: 14px;
  font: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  resize: vertical;
}

.check-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.check-form .btn {
  justify-self: start;
}

.check-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.check-results:empty {
  display: none;
}

.check-card {
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
}

.check-card.check-warn {
  border-left-color: var(--warning);
}

.check-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.check-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.check-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.check-list {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-list summary {
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 960px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  .check-results {
    grid-template-columns: 1fr;
  }

  .check-form .btn {
    justify-self: stretch;
  }
}

/* ── Gebuehrentabelle Basic / Premium S-XL (preise.html) ────────────────── */
.fee-h3 {
  margin-bottom: 4px;
}

.fee-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-table {
  border: none;
}

.fee-table thead th {
  padding-top: 14px;
  padding-bottom: 14px;
}

.fee-table th,
.fee-table td {
  vertical-align: middle;
}

.fee-table tbody tr:hover {
  background: var(--bg-element);
}

.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td {
  border-bottom: none;
}

/* Stufenname als Pille; XL gefuellt, Basic neutral. */
.fee-table tbody th > span {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.fee-row-basic th > span {
  border-color: var(--border);
  color: var(--text-primary);
}

.fee-table tbody th small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-secondary);
}

.fee-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-primary);
}

.fee-disc {
  min-width: 140px;
}

.fee-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-light-text);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.fee-pill-none {
  background: var(--bg-element);
  color: var(--text-secondary);
}

/* Gebuehr im Verhaeltnis zu Basic: je kuerzer der Balken, desto guenstiger. */
.fee-bar {
  display: block;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fee-share), var(--bg-element) var(--fee-share));
}

.fee-row-best,
.fee-row-best:hover {
  background: var(--accent-light);
}

.fee-row-best th {
  box-shadow: inset 4px 0 0 var(--accent);
}

.fee-table tbody .fee-row-best th > span,
.fee-table .fee-row-best .fee-pill {
  background: var(--accent);
  color: var(--accent-text);
}

/* Handy: jede Stufe als Karte, Aufgabe und Aufruf nebeneinander. */
@media (max-width: 640px) {
  /* Kopfzeile bleibt als Spaltenlegende "Je Aufgabe | Je KI-Aufruf". */
  .fee-table thead {
    display: block;
  }

  .fee-table thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px;
    background: var(--bg-element);
  }

  .fee-table thead th {
    background: transparent;
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .fee-table thead th:first-child,
  .fee-table thead th:last-child {
    display: none;
  }

  .fee-row-best th {
    box-shadow: none;
  }

  .fee-table tbody tr.fee-row-best {
    box-shadow: inset 4px 0 0 var(--accent);
  }

  .fee-table,
  .fee-table tbody,
  .fee-table th,
  .fee-table td {
    display: block;
    width: 100%;
  }

  .fee-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }

  .fee-table tbody th,
  .fee-table tbody td {
    width: auto;
    border-bottom: none;
    padding: 0;
  }

  .fee-table tbody th,
  .fee-table .fee-disc {
    grid-column: 1 / -1;
  }
}

.fee-note-lifetime,
.fee-note-model {
  margin-top: 12px;
  color: var(--text-secondary);
}

.fee-note-lifetime {
  font-weight: 600;
  color: var(--text-primary);
}

.price-fees {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

/* Nur fuer Screenreader (Sprachwahl: sichtbar "DE", vorgelesen "Sprache waehlen DE") */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h2.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
}
