/*
 * KOTOBA — Landing Page (kotoba-app.de)
 *
 * Standalone CSS auf Bootstrap 5. Übernimmt die Manga-Identität der App:
 * Tusche auf Papier, Zinnoberrot (朱) als einziger Akzent, harte Rahmen
 * statt runder Karten, Halbton als Textur. Kein Tailwind.
 *
 * Farbtokens spiegeln src/styles/tokens.css — bewusst dupliziert, weil die
 * Landingpage ohne App-Bundle ausgeliefert wird und die Tokens dort nicht
 * verfügbar sind. Wer die App-Palette anpasst, zieht diese Datei mit.
 */

/*
 * Dark-first: die Basiswerte sind die dunkle Palette. Wer im Betriebssystem
 * explizit Light will, bekommt sie über die Media Query zurück. Ohne Aussage
 * (kein `prefers-color-scheme`) bleibt es dunkel — die App-Ästhetik ist
 * Tusche auf schwarzem Papier, hier folgt die Verkaufsseite dem gleichen
 * Bild statt sich an eine Systemeinstellung zu hängen.
 */
:root {
  color-scheme: dark light;

  /* Manga-Palette (Dark) — Tusche auf tiefem Papier. Standard. */
  --paper: #0b0b0f;
  --paper-2: #12121a;
  --paper-3: #1a1a24;
  --ink: #ececf1;
  --ink-2: #d2d2dc;
  --muted: #9a9aa8;
  --line: rgba(236, 236, 241, 0.14);
  --line-strong: rgba(236, 236, 241, 0.32);
  --accent: #e0533a; /* 朱 — Zinnoberrot, im Dunkel etwas gelupft */
  --accent-2: #c9351b;
  --accent-ink: #0b0b0f;
  --screentone: rgba(236, 236, 241, 0.06);

  /* Type — Systemschriften wie in der App: keine externe Abhängigkeit,
     schnelle Anzeige, keine Datenschutz-Debatte um Google Fonts. */
  --font-sans:
    system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Inter', sans-serif;
  --font-jp:
    'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', 'Songti SC',
    'STSong', serif;

  /* Rhythm */
  --radius-panel: 4px;
  --shadow-panel: 0 1px 0 rgba(236, 236, 241, 0.06);
}

@media (prefers-color-scheme: light) {
  :root {
    --paper: #f6f1e7;
    --paper-2: #fbf7ee;
    --paper-3: #efe6d1;
    --ink: #16161a;
    --ink-2: #2b2b33;
    --muted: #6a6a75;
    --line: rgba(22, 22, 26, 0.14);
    --line-strong: rgba(22, 22, 26, 0.32);
    --accent: #c9351b;
    --accent-2: #a31f17;
    --accent-ink: #ffffff;
    --screentone: rgba(22, 22, 26, 0.06);
    --shadow-panel: 0 1px 0 rgba(22, 22, 26, 0.06);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
 * Bootstrap-Reset überschreiben, wo es einen echten Look kostet:
 * Bootstrap-Buttons sind rund und blau, wir zeichnen sie mit Ink-Linie
 * und Zinnoberrot, ohne Bootstraps utility-Overrides einzeln zu jagen.
 */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------
   Speicherhinweis (kein Cookie-Banner — siehe HTML)

   Sitzt fest oben, über dem Sticky-Header. Wenn er sichtbar ist, schiebt
   er sich vor die Navbar; nach dem "Verstanden"-Klick wird `hidden`
   gesetzt und er ist samt Platz weg (kein CSS-Layout-Trick, ein echter
   DOM-Zustand).
   -------------------------------------------------------------------- */
#kt-storage-notice {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: color-mix(in srgb, var(--paper-2) 96%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
}
.kt-storage-notice-body {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.kt-storage-notice-body p {
  flex: 1;
  min-width: 15rem;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.45;
}
.kt-storage-notice-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#kt-storage-notice-ok {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}
@media (max-width: 575.98px) {
  .kt-storage-notice-body p {
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------
   Navbar (sticky top)
   -------------------------------------------------------------------- */
.kt-navbar {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

.kt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink) !important;
}
.kt-brand:hover {
  text-decoration: none;
  color: var(--ink) !important;
}
.kt-brand-glyph {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}
.kt-brand-glyph.small {
  font-size: 0.9em;
}
/* Shishi-Logo im Header: konstante Größe, unabhängig vom SVG-Aspekt.
   Die SVG von /public/sensei hat ein weites viewBox — ohne fixe Höhe
   würde sie sich mit dem Header aufblähen. */
.kt-brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.kt-brand-word {
  font-size: 0.95rem;
}

.kt-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
}
.kt-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* --------------------------------------------------------------------
   Buttons — Ink + Zinnoberrot statt Bootstraps Blau
   -------------------------------------------------------------------- */
.kt-btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-panel);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.55rem 1.15rem;
  transition:
    transform 0.08s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 2px 0 var(--accent-2);
}
.kt-btn-primary:hover,
.kt-btn-primary:focus {
  background: var(--accent-2);
  color: var(--accent-ink);
  border-color: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--accent-2);
}
.kt-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--accent-2);
}

.kt-btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-panel);
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.kt-btn-outline:hover,
.kt-btn-outline:focus {
  background: var(--ink);
  color: var(--paper);
}

.kt-btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: none;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
}
.kt-btn-ghost:hover {
  color: var(--accent);
  background: transparent;
}

/* --------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------- */
.kt-eyebrow {
  font-family: var(--font-jp);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}
.kt-h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.kt-h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}
.kt-accent {
  color: var(--accent);
  /* Sumi-Unterlinie: schwerer als eine gewöhnliche Unterstreichung */
  background: linear-gradient(transparent 78%, var(--accent) 78%, var(--accent) 90%, transparent 90%);
  padding: 0 0.05em;
}
.kt-lead {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 40rem;
  margin: 0 0 1rem;
}
.kt-section-lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 44rem;
  margin: 0 0 0.5rem;
}
.kt-note {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44rem;
}
.kt-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------
   Sektionsraster
   -------------------------------------------------------------------- */
.kt-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}
.kt-section-alt {
  background: var(--paper-2);
}
.kt-hero-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.kt-hero-meta li {
  white-space: nowrap;
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.kt-hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.kt-hero::before {
  /* Sumi-Ecken: zwei feine Zierlinien oben rechts, damit die
     leere Ecke des Heros nicht wie ein Rand aussieht, sondern
     wie das obere Panel eines Manga-Kapitels. */
  content: '';
  position: absolute;
  top: 3rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  opacity: 0.5;
  pointer-events: none;
}

/* --------------------------------------------------------------------
   Panel + SpeechBubble (Manga-Primitives)
   -------------------------------------------------------------------- */
.kt-panel {
  position: relative;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  padding: 1.5rem;
  box-shadow: 6px 6px 0 var(--ink);
}
.screentone {
  background-image:
    radial-gradient(var(--screentone) 1px, transparent 1.4px);
  background-size: 6px 6px;
  background-position: 0 0;
}
.kt-panel-tag {
  position: absolute;
  top: -0.75rem;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-jp);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  z-index: 1;
}
.kt-hero-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem 1.25rem;
}
.kt-hero-panel img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}
.kt-bubble {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-jp);
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  font-size: 0.95rem;
  max-width: 90%;
  margin: 0;
}
.kt-bubble::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top: 0;
  border-bottom: 12px solid var(--ink);
}
.kt-bubble::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: 0;
  border-bottom: 10px solid var(--paper);
}

/* --------------------------------------------------------------------
   Feature-Karten (Warum KOTOBA)
   -------------------------------------------------------------------- */
.kt-feature-card {
  background: var(--paper-2);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-panel);
  padding: 1.5rem 1.4rem;
  height: 100%;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.kt-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--ink);
}
.kt-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.35rem;
  border-radius: var(--radius-panel);
  margin-bottom: 1rem;
  line-height: 1;
}
.kt-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.kt-feature-card p {
  color: var(--ink-2);
  margin: 0;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------
   Vergleich Anki vs. KOTOBA
   -------------------------------------------------------------------- */
.kt-compare {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  margin: 0;
}
.kt-compare th,
.kt-compare td {
  padding: 0.85rem 1rem;
  border-color: var(--line);
  vertical-align: top;
  color: var(--ink-2);
}
.kt-compare thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  border-bottom: none;
  vertical-align: middle;
}
.kt-compare tbody th {
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 600;
  width: 30%;
}
.kt-compare .kt-col-anki {
  color: var(--muted);
}
.kt-compare .kt-col-kotoba {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 6%, var(--paper));
  border-left: 2px solid var(--accent);
  font-weight: 500;
}
.kt-compare thead .kt-col-kotoba {
  background: var(--accent);
  color: var(--accent-ink);
  border-left: none;
}
.kt-compare thead .kt-col-kotoba .kt-brand-glyph {
  color: var(--accent-ink);
  margin-right: 0.35rem;
}

/* --------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------- */
.kt-price {
  position: relative;
  background: var(--paper-2);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-panel);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kt-price-free {
  background: var(--paper);
  border-color: var(--ink);
  border-width: 2px;
}
.kt-price-featured {
  background: var(--paper);
  border: 2px solid var(--accent);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-4px);
}
.kt-ribbon {
  position: absolute;
  top: -0.85rem;
  right: 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}
.kt-price-tag {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.35rem;
}
.kt-price-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.kt-price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line-strong);
}
.kt-amount {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.kt-per {
  color: var(--muted);
  font-size: 0.9rem;
}
.kt-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  flex: 1;
}
.kt-price-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.kt-price-list li:last-child {
  border-bottom: none;
}
.kt-price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------
   Hero — Store-Zeile ("Auch als App — iOS · Android")
   -------------------------------------------------------------------- */
.kt-hero-storeline {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.kt-hero-storelink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
  transition: color 0.15s ease, background 0.15s ease;
}
.kt-hero-storelink:hover {
  color: var(--accent);
  text-decoration: none;
}
/* Highlight des passenden Stores in der Hero-Zeile: ein dezenter
   Zinnoberrot-Punkt links, sobald wir wissen, worauf die Person surft. */
:root[data-platform='ios'] .kt-hero-storelink[data-store='ios'],
:root[data-platform='android'] .kt-hero-storelink[data-store='android'] {
  color: var(--accent);
}

/* --------------------------------------------------------------------
   App-Sektion — Store-Badges
   -------------------------------------------------------------------- */
.kt-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.5rem 0 1.25rem;
}
.kt-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 12rem;
  padding: 0.75rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  box-shadow: 4px 4px 0 var(--accent-2);
}
.kt-store-badge:hover,
.kt-store-badge:focus {
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--accent-2);
}
.kt-store-badge:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 0 var(--accent-2);
}
.kt-store-icon {
  flex: 0 0 auto;
}
.kt-store-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.kt-store-pre {
  font-size: 0.7rem;
  opacity: 0.75;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kt-store-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/*
 * Plattform-Hervorhebung.
 *
 * Auf iOS/Android wird der jeweils passende Badge größer und mit einem
 * Zinnoberrot-Rahmen versehen; der andere bleibt sichtbar (schmaler und
 * gedämpft), damit man auch für Partner/Familie den anderen Store öffnen
 * kann. Auf Desktop (`data-platform="desktop"` oder gar keins) bleiben
 * beide gleichwertig.
 */
:root[data-platform='ios'] .kt-store-ios,
:root[data-platform='android'] .kt-store-android {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-2px);
}
:root[data-platform='ios'] .kt-store-ios:hover,
:root[data-platform='android'] .kt-store-android:hover {
  color: var(--accent-ink);
  background: var(--accent-2);
  transform: translateY(-4px);
}
:root[data-platform='ios'] .kt-store-android,
:root[data-platform='android'] .kt-store-ios {
  opacity: 0.5;
}
:root[data-platform='ios'] .kt-store-android:hover,
:root[data-platform='android'] .kt-store-ios:hover {
  opacity: 1;
}

.kt-stores-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
  max-width: 30rem;
}

/* --------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------- */
.kt-contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
}
.kt-contact-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.kt-contact-label {
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  min-width: 4rem;
}

.kt-contact-panel {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  padding: 1.75rem 1.5rem;
  box-shadow: 6px 6px 0 var(--ink);
}
.kt-contact-panel .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.kt-contact-panel .form-control,
.kt-contact-panel .form-select {
  background: var(--paper-2);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-panel);
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kt-contact-panel .form-control::placeholder {
  color: var(--muted);
  opacity: 1;
}
.kt-contact-panel .form-control:focus,
.kt-contact-panel .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  outline: none;
}
.kt-hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
}

/* Honigtopf gegen Formular-Bots. Nicht `display: none` — manche Bots
   überspringen genau das und füllen nur sichtbare Felder aus. Aus dem
   Blickfeld schieben wirkt zuverlässiger. */
.kt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Rückmeldung nach dem Absenden. Leer, bis etwas zu sagen ist — und
   `role="status"` im Markup, damit ein Screenreader es vorliest, ohne
   dass der Fokus springt. */
.kt-contact-status {
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
  text-align: center;
}
.kt-contact-status:empty {
  display: none;
}
.kt-contact-status[data-tone='ok'] {
  color: var(--accent);
}
.kt-contact-status[data-tone='error'] {
  color: #e5484d;
}

/* --------------------------------------------------------------------
   Abschluss-CTA
   -------------------------------------------------------------------- */
.kt-cta {
  padding: 5rem 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.kt-cta .kt-h2 {
  color: var(--paper);
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.kt-footer {
  padding: 2rem 0;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.kt-footer a {
  color: var(--muted);
}
.kt-footer a:hover {
  color: var(--accent);
}
.kt-footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------
   Kleinere Bildschirme
   -------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .kt-navbar .kt-nav {
    display: none !important;
  }
  .kt-navbar .kt-btn-ghost {
    display: none;
  }
  .kt-hero {
    padding: 3rem 0 3.5rem;
  }
  .kt-hero::before {
    display: none;
  }
  .kt-section {
    padding: 3.5rem 0;
  }
  .kt-hero-panel {
    margin-top: 2rem;
  }
  .kt-price-featured {
    transform: none;
  }
  .kt-cta {
    padding: 3rem 0;
  }
}

/*
 * Reduced motion: die Hover-Sprünge auf Feature-Karten und Buttons
 * werden weich gemacht statt entfernt — es sind keine dauerhaften
 * Animationen, sondern Zustandswechsel. Der geneigte Kopf reicht.
 */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
  }
}
