/* Seite zur ATR-Strategie. Gleiche Farb- und Schriftwelt wie stil.css,
   aber auf eine lange, ruhige Leseseite ausgelegt. */

:root {
  --tief:        #0B1220;
  --weich:       #0E1628;
  --karte:       #11192E;
  --karte-hell:  #172338;
  --linie:       #1B2740;
  --linie-stark: #2A3A5C;

  --text:        #F5F7FA;
  --text-2:      #B9C2D1;
  --text-3:      #98A2B4;
  --text-4:      #7C879B;

  --akzent:      #FFFFFF;
  --akzent-haar: rgba(255,255,255,0.20);

  --serif: 'Source Serif 4', 'Iowan Old Style', Charter, Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --rand: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--tief);
  color: var(--text-2);
  font: 400 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.raster { width: 100%; max-width: var(--rand); margin: 0 auto; padding: 0 32px; }
.raster.schmal { max-width: 760px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.014em;
  margin: 0;
}
h2 { font-size: 26px; line-height: 1.24; margin-bottom: 12px; }
h3 { font-size: 19px; line-height: 1.3; }
h4 { font-size: 15.5px; }
p { margin: 0 0 13px; }
strong { color: var(--text); font-weight: 500; }

.augenbraue {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
}
.tick { width: 5px; height: 5px; border-radius: 50%; background: var(--akzent); display: inline-block; flex-shrink: 0; }

.fuehrung { font: 400 18px/1.6 var(--serif); color: var(--text); max-width: 62ch; }

/* ---------- Kopf ---------- */

.hinweisleiste {
  background: var(--weich);
  border-bottom: 1px solid var(--linie);
  font: 400 12.5px/1.5 var(--sans);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 11px 24px;
  text-align: center;
}

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
  transform: translateZ(0);
}
.kopf-innen {
  max-width: var(--rand); margin: 0 auto; padding: 0 32px;
  height: 58px; display: flex; align-items: center; gap: 20px;
}
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.marke-zeichen {
  width: 32px; height: 32px;
  border: 1px solid var(--linie-stark); border-radius: 3px;
  display: grid; place-items: center; color: var(--text);
}
.marke-text { display: flex; flex-direction: column; line-height: 1.2; }
.marke-text strong { font: 500 15px/1.2 var(--sans); color: var(--text); }
.marke-text em {
  font: 400 11.5px/1.4 var(--sans); font-style: normal;
  color: var(--text-4);
}
.kopf-rechts { margin-left: auto; display: flex; gap: 10px; }

/* ---------- Knöpfe ---------- */

.knopf, .knopf-geist {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 14px/1 var(--sans);
  text-decoration: none;
  padding: 13px 24px; border-radius: 4px;
  transition: background .16s, color .16s, border-color .16s;
  white-space: nowrap;
}
.knopf { background: var(--akzent); color: var(--tief); border: 1px solid var(--akzent); }
.knopf:hover { background: #E4E8EF; border-color: #E4E8EF; }
.knopf-geist { background: transparent; color: var(--text); border: 1px solid var(--akzent-haar); }
.knopf-geist:hover { border-color: var(--akzent); }
.kopf-rechts .knopf, .kopf-rechts .knopf-geist { padding: 10px 17px; font-size: 13px; }
.knopfreihe { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 0; }
.knopfreihe.mitte { justify-content: center; }

/* ---------- Einstieg ---------- */

.hero { position: relative; overflow: hidden; background: var(--tief); }
.hero-bild { position: absolute; inset: 0; }
.hero-bild img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
  filter: saturate(0.95) contrast(1.06) brightness(0.86);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,18,32,0.34) 0%, rgba(11,18,32,0.52) 58%, var(--tief) 100%),
    linear-gradient(90deg, rgba(11,18,32,0.88) 0%, rgba(11,18,32,0.42) 56%, rgba(11,18,32,0.08) 100%);
  pointer-events: none;
}
.hero-innen { position: relative; z-index: 2; padding-top: 62px; padding-bottom: 66px; }

h1 {
  text-shadow: 0 2px 22px rgba(0,0,0,0.75);
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.hero-satz {
  font: 400 clamp(17px, 1.7vw, 20px)/1.58 var(--serif);
  color: var(--text);
  text-shadow: 0 1px 14px rgba(0,0,0,0.7);
  max-width: 54ch;
  margin: 0 0 30px;
}

.hero-fakten { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-fakten span {
  display: flex; flex-direction: column; gap: 3px;
  font: 400 12.5px/1.3 var(--sans);
  color: var(--text-3);
}
.hero-fakten strong {
  font: 400 27px/1 var(--serif);
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 68px 0; border-bottom: 1px solid var(--linie); }
.abschnitt.dunkler { background: var(--weich); }
.abschnitt-kopf { max-width: 68ch; margin-bottom: 44px; }

/* ---------- Setup-Familien ---------- */

.familien { display: grid; gap: 26px; }

.familie {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  background: var(--karte);
  border: 1px solid var(--linie-stark);
  border-radius: 6px;
  overflow: hidden;
}
.familie:nth-child(even) .familie-text { order: -1; padding: 30px 0 30px 32px; }
.familie:nth-child(even) figure { margin-left: 0; }

.familie figure { margin: 0; height: 100%; min-height: 230px; position: relative; }
.familie figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}
.familie-text { padding: 30px 32px 30px 0; }
.familie:nth-child(even) .familie-text { padding: 30px 0 30px 32px; }

.nummer {
  display: block;
  font: 400 13px/1 var(--sans);
  color: var(--text-4);
  letter-spacing: 0.1em;
  margin-bottom: 9px;
}
.familie-text h3 { margin-bottom: 11px; }
.familie-text p { font-size: 14.5px; }
.lernst {
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--linie);
  font-size: 13.5px;
  color: var(--text-3);
}

/* ---------- Bausteine ---------- */

.bausteine {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
  border-radius: 6px;
  overflow: hidden;
}
.baustein { background: var(--tief); padding: 26px 24px; }
.baustein h3 { font-size: 17px; margin-bottom: 9px; }
.baustein p { font-size: 14px; color: var(--text-3); margin: 0; }
.abschnitt.dunkler .baustein { background: var(--weich); }

.breitbild {
  margin: 34px 0 0;
  border: 1px solid var(--linie-stark);
  border-radius: 6px;
  overflow: hidden;
  background: var(--karte);
}
.breitbild img { width: 100%; height: auto; filter: saturate(0.9) contrast(1.03); }
.breitbild figcaption {
  font-size: 13.5px;
  color: var(--text-4);
  padding: 13px 18px 15px;
  border-top: 1px solid var(--linie);
}

/* ---------- Ablauf ---------- */

.ablauf { list-style: none; counter-reset: schritt; margin: 30px 0 0; padding: 0; }
.ablauf li {
  counter-increment: schritt;
  position: relative;
  padding: 0 0 22px 52px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--linie);
  font-size: 14.5px;
  color: var(--text-3);
}
.ablauf li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ablauf li::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font: 400 15px/1 var(--serif);
  color: var(--text-4);
  border: 1px solid var(--linie-stark);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.ablauf strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 4px; font-size: 15.5px; }

/* ---------- Quellen ---------- */

.quellen { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.quelle {
  display: flex; flex-direction: column;
  background: var(--karte);
  border: 1px solid var(--linie-stark);
  border-radius: 6px;
  padding: 24px 24px 26px;
  text-decoration: none;
  transition: border-color .18s, background .18s;
}
.quelle:hover { border-color: var(--akzent-haar); background: var(--karte-hell); }
.quelle-kopf {
  font: 500 11.5px/1 var(--sans);
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 12px;
}
.quelle-titel { font: 400 18px/1.32 var(--serif); color: var(--text); margin-bottom: 6px; }
.quelle-meta { font-size: 13px; color: var(--text-4); margin-bottom: 13px; }
.quelle-text { font-size: 14px; color: var(--text-3); }
.quelle::after {
  content: 'Studie öffnen';
  margin-top: 16px;
  font: 500 13px/1 var(--sans);
  color: var(--text-2);
  border-bottom: 1px solid var(--akzent-haar);
  padding-bottom: 5px;
  align-self: flex-start;
}
.quelle:hover::after { color: var(--text); border-color: var(--akzent); }

.quellen-fuss {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--text-4);
  max-width: 76ch;
}
.quellen-fuss em { color: var(--text-3); }

/* ---------- Ehrlicher Rahmen ---------- */

.ehrlich { margin-top: 26px; }
.ehrlich p {
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--karte);
  border-left: 2px solid var(--linie-stark);
  border-radius: 0 4px 4px 0;
  font-size: 14.5px;
}

/* ---------- Abschluss und Fuß ---------- */

.abschluss { padding: 76px 0; text-align: center; border-bottom: 1px solid var(--linie); }
.abschluss-innen { max-width: 720px; }
.abschluss h2 { font-size: 30px; line-height: 1.2; margin-bottom: 12px; }
.abschluss p { color: var(--text-3); font-size: 16.5px; }

/* ---------- Kauf ---------- */

.hero-klein {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--text-4);
}
.hero-klein a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--akzent-haar); }
.hero-klein a:hover { color: var(--text); border-color: var(--akzent); }

.kauf-karte {
  margin: 34px auto 0;
  max-width: 480px;
  text-align: left;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 28px 28px 24px;
}
.kauf-oben {
  display: flex; align-items: center; gap: 8px;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4);
  margin: 0 0 14px;
}
.kauf-preis {
  font: 400 46px/1 var(--serif);
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 18px;
}
.kauf-preis span { font-size: 22px; color: var(--text-3); }
.kauf-liste { list-style: none; margin: 0 0 22px; padding: 0; }
.kauf-liste li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 9px;
}
.kauf-liste li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--linie-stark);
}
.kauf-knopf { display: block; text-align: center; padding: 14px 20px; font-size: 14.5px; }
.kauf-klein {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--text-4);
}
.kauf-klein a { color: var(--text-3); }

@media (max-width: 640px) {
  .kauf-karte { padding: 24px 20px 20px; }
  .kauf-preis { font-size: 40px; }
}

.fuss { padding: 52px 0 0; background: var(--weich); }
.fuss-raster {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px; padding-bottom: 46px;
}
.fuss-spalte { display: flex; flex-direction: column; gap: 10px; }
.fuss-spalte h4 {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-4);
  margin-bottom: 7px;
}
.fuss-spalte a { font-size: 14.5px; color: var(--text-3); text-decoration: none; width: fit-content; transition: color .16s; }
.fuss-spalte a:hover { color: var(--text); }
.fuss-marke { margin-bottom: 5px; }
.fuss-klein { font-size: 13.5px; color: var(--text-4); line-height: 1.6; margin: 0; }

.risiko { border-top: 1px solid var(--linie); padding-top: 22px; padding-bottom: 38px; }
.risiko p { font-size: 13.5px; line-height: 1.72; color: var(--text-4); max-width: 96ch; margin: 0; }
.risiko strong { color: var(--text-3); font-weight: 500; }

/* ---------- Schmalere Schirme ---------- */

@media (max-width: 900px) {
  .familie, .familie:nth-child(even) { grid-template-columns: 1fr; gap: 0; }
  .familie figure { min-height: 210px; }
  .familie-text,
  .familie:nth-child(even) .familie-text { order: 0; padding: 24px 24px 26px; }
  .fuss-raster { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-innen { padding-top: 56px; padding-bottom: 58px; }
}

@media (max-width: 640px) {
  .raster, .kopf-innen { padding-left: 20px; padding-right: 20px; }
  .abschnitt { padding: 48px 0; }
  .abschluss { padding: 56px 0; }
  h2 { font-size: 23px; }
  .abschluss h2 { font-size: 25px; }
  .fuss-raster { grid-template-columns: 1fr; }
  .hero-fakten { gap: 22px 28px; }
  .marke-text em { display: none; }
  .kopf-rechts .knopf-geist { display: none; }
  .hinweisleiste { font-size: 11.5px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* Tippflächen auf Mobilgeräten, gemessen bei 320 bis 430 px */
@media (max-width: 860px) {
  .fuss-spalte a, .hero-klein a, .kauf-klein a {
    display: inline-flex; align-items: center; min-height: 40px;
  }
  .knopf, .knopf-geist { min-height: 44px; }
}

/* Inter bringt tabellarische Ziffern mit. Ohne diese Zeile bleiben sie
   ungenutzt und Zahlen unterschiedlicher Breite verschieben das Satzbild. */
body, input, button, select, textarea {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv05" 1;
}

/* Verweis auf die Belege, neben den beiden Hauptknoepfen. Bewusst anders
   gehalten als diese: er verkauft nicht, er belegt. */
.knopf-beleg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px 13px 14px;
  border: 1px solid rgba(79,141,247,0.4);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(37,99,235,0.15) 0%, rgba(13,20,38,0.6) 70%);
  font: 500 14px/1 var(--sans);
  color: #CFE0FF;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .16s, color .16s, box-shadow .16s;
}
.knopf-beleg-zahl {
  display: grid;
  place-items: center;
  /* Fester Kreis von 22 px schnitt laengere Inhalte ab - "ATR" stand dort
     zweizeilig und halb verdeckt. Mit Mindestbreite und Innenabstand bleibt
     eine Zahl rund, laengerer Text wird zur Pille. */
  min-width: 22px; height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(79,141,247,0.9);
  color: #06101F;
  font: 700 12px/1 var(--sans);
  white-space: nowrap;
}
.knopf-beleg:hover {
  border-color: rgba(127,180,255,0.75);
  color: #EAF2FF;
  box-shadow: 0 3px 16px rgba(37,99,235,0.24);
}
.knopf-beleg:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 3px; }

/* Betonung des Sprungziels */
.ziel-betont { border-radius: 8px; animation: zielBetont 1.9s cubic-bezier(.22,.61,.36,1); }
@keyframes zielBetont {
  0%   { box-shadow: 0 0 0 0 rgba(79,141,247,0); }
  12%  { box-shadow: 0 0 0 2px rgba(79,141,247,0.8), 0 0 26px 4px rgba(79,141,247,0.22); }
  62%  { box-shadow: 0 0 0 2px rgba(79,141,247,0.62), 0 0 22px 3px rgba(79,141,247,0.16); }
  100% { box-shadow: 0 0 0 0 rgba(79,141,247,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ziel-betont { animation: none; box-shadow: 0 0 0 2px rgba(79,141,247,0.6); }
}

/* ---------- Praxisbeispiele ---------- */
.praxis-schau { margin-top: 26px; }
.praxis-buehne {
  position: relative;
  aspect-ratio: 1400 / 820;
  background: #060B14;
  border: 1px solid var(--linie, #1B2740);
  border-radius: 6px;
  overflow: hidden;
}
.praxis-buehne:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 3px; }
.praxis-folie {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.praxis-folie.is-active { opacity: 1; pointer-events: auto; }
.praxis-folie img { width: 100%; height: 100%; object-fit: contain; display: block; }
.praxis-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(6,11,20,0.72);
  color: #E8EDF5;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: background .16s, border-color .16s;
}
.praxis-nav:hover { background: rgba(6,11,20,0.92); border-color: rgba(255,255,255,0.45); }
.praxis-nav:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 2px; }
.praxis-zurueck { left: 12px; }
.praxis-vor { right: 12px; }
.praxis-zaehler {
  margin: 10px 0 0;
  font: 500 12px/1 var(--mono, ui-monospace, Menlo, monospace);
  color: var(--text-3, #98A2B4);
  text-align: right;
}
/* ---------- Fallbeispiele auf dem Handy ----------
   Gemessen 05.10.2026 bei 390 px: Das Bild war 348 x 203 px, und die beiden
   Pfeile lagen mitten darauf. Auf einem Orderflow-Screenshot mit Heatmap und
   Footprint erkennt man so nichts.
   Jetzt: Bild nutzt die volle Breite, die Bedienung liegt darunter statt
   darueber. Das Seitenverhaeltnis bleibt unveraendert - die Aufnahmen werden
   nicht beschnitten. */
@media (max-width: 700px) {
  .praxis-schau {
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .praxis-buehne {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  /* Die Pfeile sassen auf halber Hoehe mitten im Chart. An den unteren Rand
     gesetzt verdecken sie nur noch die Zeitachse, nicht mehr das Geschehen.
     Tippflaeche bleibt bei 48 px. */
  .praxis-nav {
    top: auto;
    bottom: 10px;
    transform: none;
    width: 48px; height: 48px;
    font-size: 19px;
    background: rgba(6,11,20,0.88);
    border-color: rgba(255,255,255,0.3);
  }
  .praxis-zurueck { left: 10px; }
  .praxis-vor { right: 10px; }

  .praxis-zaehler {
    text-align: center;
    font-size: 13px;
    margin: 12px 20px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .praxis-folie { transition: none; }
}

.praxis-hinweis {
  margin: 0;
  font: 400 12.5px/1.5 var(--sans);
  color: var(--text-3, #98A2B4);
}

/* Verweis auf die Aufnahmen. Gleiche Form wie der Beleg-Knopf, anderer Farbton,
   damit die beiden nebeneinander unterscheidbar bleiben. */
.knopf-praxis {
  border-color: rgba(46,210,110,0.4);
  background: linear-gradient(120deg, rgba(46,210,110,0.14) 0%, rgba(13,20,38,0.6) 70%);
  color: #CFF3DE;
}
.knopf-praxis .knopf-beleg-zahl { background: rgba(46,210,110,0.9); color: #04180C; }
.knopf-praxis:hover {
  border-color: rgba(96,230,150,0.75);
  color: #E8FBF0;
  box-shadow: 0 3px 16px rgba(46,210,110,0.22);
}
.knopf-praxis:focus-visible { outline: 2px solid #5FE39A; outline-offset: 3px; }

/* Auf sehr schmalen Geraeten (320 px, iPhone SE erster Bauart) ragte die
   Knopfgruppe im Kopf einen Pixel ueber den Rand und loeste dadurch
   waagerechtes Scrollen der ganzen Seite aus. Weniger Innenabstand loest das,
   ohne die Trefferflaeche unter das brauchbare Mass zu druecken. */
@media (max-width: 340px) {
  .kopf-rechts { gap: 6px; }
  .kopf-rechts .knopf, .kopf-rechts .knopf-geist { padding: 10px 12px; font-size: 12.5px; }
}


/* Quellenzeile unter einem Themenblock. Die Nachweise stehen direkt beim
   jeweiligen Ereignis statt gesammelt am Seitenende, damit der Bezug sichtbar
   bleibt. */
.quelle-zeile {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(120,140,180,.16);
  font-size: .86rem;
  line-height: 1.55;
  opacity: .82;
}
.quelle-zeile a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.quelle-zeile a:hover { opacity: 1; }


/* ---------- Kachelraster der Paketseite ----------
   Jeder Bereich ist eine anklickbare Kachel mit Hintergrundbild, wie die
   Bloecke auf der Startseite. Der Klick fuehrt in die Detailseite. */
.paket-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 38px;
}
.paket-kachel {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #0B1220;
  border: 1px solid rgba(120,140,180,.16);
  transition: border-color .2s ease, transform .2s ease;
}
.paket-kachel:hover, .paket-kachel:focus-visible {
  border-color: rgba(120,160,230,.55);
  transform: translateY(-2px);
}
.paket-kachel > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) brightness(0.52);
}
.paket-kachel-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 9px; padding: 24px 22px; z-index: 2;
  overflow: hidden;
}
/* Ohne diesen Verlauf steht heller Text auf hellen Chartstellen und ist
   stellenweise unlesbar. Das Abdunkeln des Bildes allein reicht nicht. */
.paket-kachel-text::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(6,10,20,.96) 0%, rgba(6,10,20,.90) 38%,
    rgba(6,10,20,.62) 68%, rgba(6,10,20,.30) 100%);
}
.paket-kachel-oben {
  font: 600 12px/1.2 var(--sans, sans-serif);
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(190,206,236,.9);
}
.paket-kachel-titel {
  font: 400 25px/1.2 var(--serif, Georgia, serif);
  color: #fff; margin: 0;
}
.paket-kachel-text p {
  margin: 0; font-size: .93rem; line-height: 1.5;
  color: rgba(226,233,247,.88);
}
.paket-kachel-knopf {
  align-self: flex-start; margin-top: 6px;
  background: rgba(255,255,255,.94); color: #0B1220;
  padding: 9px 16px; border-radius: 7px;
  font: 600 13px/1 var(--sans, sans-serif);
}
@media (max-width: 640px) {
  .paket-raster { grid-template-columns: 1fr; gap: 16px; }
  .paket-kachel { min-height: 320px; }
  .paket-kachel-titel { font-size: 22px; }
  .paket-kachel-text { padding: 20px 18px; }
  .paket-kachel-text p { font-size: .89rem; }
}


/* Der Beleg-Knopf schnitt bei laengerem Text ab, weil font/1 keinen Umbruch
   zulaesst. Jetzt zweizeilig statt beschnitten. Merker: knopf-beleg-umbruch */
.knopf-beleg {
  align-items: center;
  line-height: 1.3;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}
.knopf-beleg-zahl { flex: 0 0 auto; }
@media (max-width: 640px) {
  .knopf-beleg { width: 100%; }
}


/* Fusszeilen-Navigation und Quellenzeilen als umbrechende Flex-Reihen.
   Vorher lagen die Links als Inline-Elemente in einem Block: sobald einer
   zweizeilig wurde (etwa "ADX und Demand Index" auf 390px), ueberlagerte seine
   Umhuellende die Nachbarlinks. Mit flex-wrap und gap behaelt jeder Link seine
   eigene Zeile und einen definierten Abstand. */
.fuss-innen nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
}
.fuss-innen nav a { white-space: nowrap; }

.quelle-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.quelle-zeile a { display: inline-block; }
@media (max-width: 640px) {
  .fuss-innen nav { gap: 9px 14px; }
  .fuss-innen nav a { white-space: normal; }
}


/* Bei 320 Pixel Breite (also 400 Prozent Zoom) ragten die Quellenangaben und
   lange Knopftexte aus dem Raster. Ursache waren der Listeneinzug und
   nicht umbrechbare langer Titel. WCAG 1.4.10 verlangt Umbruch bis 320px. */
@media (max-width: 420px) {
  .quellen { padding-left: 0; list-style-position: inside; }
  .quellen li { padding-left: 0; margin-left: 0; }
  .quellen a, .quellen span { overflow-wrap: anywhere; hyphens: auto; }
  .knopf, .knopf-geist, .knopf-beleg {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .knopfreihe { flex-wrap: wrap; }
  .quelle-zeile a { overflow-wrap: anywhere; }
}

/* ---------- Tippziele auf dem Handy ----------
   Gemessen 2026-10-03 auf allen 13 Seiten: Fuss- und Navigationslinks waren
   18 bis 24 px hoch. Apple und Google empfehlen uebereinstimmend 44 px.
   Gilt bewusst NUR fuer eigenstaendige Bedienelemente - Links im Fliesstext
   bleiben unberuehrt, sonst zerreisst der Textfluss. */
@media (max-width: 760px) {
  .fuss-innen nav a,
  .fuss-innen > a,
  footer nav a,
  footer .socials a,
  .wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Nachtrag 2026-10-03: Diese drei Fussvarianten fehlten oben.
     Gemessen auf /atr-strategie, /impressum und /ausbildung. */
  .fuss-spalte a,
  .legal-footer-links a,
  footer .grid a,
  .praxis-nav {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ---------- Abstaende auf dem Handy ----------
   Gemessen 05.10.2026: 68 px oben und unten je Abschnitt ergaben auf einem
   390 px breiten Schirm Luecken von rund 95 px zwischen zwei Textbloecken.
   Auf dem Rechner tragen solche Abstaende, auf dem Handy wirken sie wie ein
   Loch. 40 px halten die Gliederung, ohne zu reissen. */
@media (max-width: 700px) {
  .abschnitt { padding: 40px 0; }
  .abschnitt-kopf { margin-bottom: 26px; }
}

/* ---------- Bild vergroessern ----------
   Chart-Aufnahmen sind auf dem Handy rund 228 px hoch, darin ist die Heatmap
   nicht lesbar. Tippen oeffnet sie formatfuellend. */
.ist-zoombar { cursor: zoom-in; }
.ist-zoombar:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 3px; }

.bildzoom {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  gap: 14px;
  padding: 24px;
  background: rgba(4, 8, 16, 0.94);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.bildzoom.ist-offen { opacity: 1; visibility: visible; }
.bildzoom img {
  max-width: 100%; max-height: calc(100vh - 110px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}
.bildzoom-text {
  margin: 0; max-width: 60ch; text-align: center;
  font-size: 13px; line-height: 1.5; color: #98A2B4;
}
.bildzoom-zu {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 50%;
  background: rgba(10,16,28,0.9);
  color: #E8EDF5; font-size: 19px; line-height: 1;
  cursor: pointer;
}
.bildzoom-zu:hover { background: rgba(20,28,44,0.95); border-color: rgba(255,255,255,0.45); }
.bildzoom-zu:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 2px; }

/* Hintergrund nicht mitscrollen, solange das Bild offen ist */
body.bildzoom-offen { overflow: hidden; }

@media (max-width: 700px) {
  .bildzoom { padding: 12px; }
  .bildzoom img { max-height: calc(100vh - 130px); }
  .bildzoom-zu { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bildzoom { transition: none; }
}
