/* Numerologie-Rechner: Website-Palette (wie Astro-Calculator und Website-Seiten). */
:root {
  --sand: #f6f1e9;
  --sand-2: #efe7da;
  --card: #fcfaf5;
  --paper: #fffdf8;
  --line: #ddd0be;
  --aubergine: #3d1d47;
  --aubergine-deep: #2b1233;
  --aubergine-mid: #54285f;
  --gold: #d4ae6a;
  --gold-bright: #f5d88a;
  --gold-deep: #8e6f2f;
  --cream: #f0dfc0;
  --ink: #3d2b4a;
  --muted: #75667c;
  --error: #8f3f3f;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-sm: 8px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(43, 18, 51, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  padding: 10px 14px; background: var(--gold-bright); color: var(--aubergine-deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* ===== Header / Menue (geteilter Baustein) ===== */
.header { position: sticky; top: 0; z-index: 100; background: var(--aubergine); border-bottom: 2px solid var(--gold); }
.header .bar { display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(20px, 5vw, 48px); }
.header a { text-decoration: none; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; }
.logo .name { font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--cream); line-height: 1; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right a { font-size: 14.5px; color: rgba(240, 223, 192, 0.9); }
.nav-right a:hover { color: var(--gold-bright); }
.burger { display: flex; flex-direction: column; gap: 5px; padding: 6px; background: transparent; border: 0; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.menu { max-height: 0; overflow: hidden; background: var(--aubergine-deep); transition: max-height 0.3s ease; }
.menu.open { max-height: min(1160px, calc(100vh - 70px)); overflow-y: auto; }
.menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; }
.menu a { padding: 12px 0; border-bottom: 1px solid rgba(240, 223, 192, 0.12); color: rgba(240, 223, 192, 0.9); font-size: 15.5px; }
.menu a:hover { color: var(--gold-bright); }
.menu-gruppe { padding: 12px 0; border-bottom: 1px solid rgba(240, 223, 192, 0.12); color: rgba(240, 223, 192, 0.9); font-size: 15.5px; cursor: pointer; }
.menu-gruppe:hover { color: var(--gold-bright); }
.menu-gruppe::after { content: " \25B8\FE0E"; color: var(--gold); }
.menu-gruppe.offen::after { content: " \25BE\FE0E"; color: var(--gold); }

/* ===== Intro ===== */
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  padding: clamp(80px, 10vw, 128px) 20px clamp(112px, 13vw, 168px);
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(circle at 50% 110%, rgba(212, 174, 106, 0.18), transparent 46%),
    var(--aubergine-deep);
}
/* dunkelt die Mitte ab, damit Überschrift und Einleitung vor den Zahlen lesbar bleiben (wie beim Astro-Calculator) */
.intro::before {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; content: "";
  background: radial-gradient(ellipse at center, rgba(43, 18, 51, 0.97) 0 18%, rgba(43, 18, 51, 0.85) 36%, rgba(43, 18, 51, 0.2) 62%, transparent 78%);
}
.intro-inner { position: relative; z-index: 2; }

/* Hero-Grafik: goldene Zahlen leuchten auf und verlöschen (Julas Vorschlag 11.10.).
   Position, Größe, Takt und Helligkeit je Zahl hier; Ziffer und Schrift wechselt js/hero.js
   nach jedem Durchlauf, solange die Zahl unsichtbar ist. */
/* über der Abdunklung (z-index 1), damit sie leuchten; Abstand zum Text halten die Stellen unten */
.hero-zahlen { position: absolute; inset: 0; z-index: 1; pointer-events: none; --faktor: 1; }
.hero-zahlen span {
  position: absolute;
  font-size: calc(var(--g) * var(--faktor));
  line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 0 3px rgba(255, 238, 190, 0.85), 0 0 calc(var(--g) * 0.3) rgba(245, 216, 138, 0.75),
    0 0 calc(var(--g) * 0.6) rgba(212, 174, 106, 0.35);
  opacity: 0;
  animation: zahl-leuchten 10s ease-in-out infinite;
}
.hero-zahlen span:nth-child(3n) { color: #ecc979; }
@keyframes zahl-leuchten {
  0%, 100% { opacity: 0; transform: scale(0.88); }
  35%, 65% { opacity: var(--hell); transform: scale(1); }
}
.hero-zahlen span:nth-child(1)  { top: 9%;  left: 5%;  --g: 92px;  --hell: 0.7; animation-duration: 11s; animation-delay: -2s; }
.hero-zahlen span:nth-child(2)  { top: 60%; left: 3%;  --g: 54px;  --hell: 0.86;  animation-duration: 9s;  animation-delay: -6s; }
.hero-zahlen span:nth-child(3)  { top: 33%; left: 16%; --g: 26px;  --hell: 1; animation-duration: 7s;  animation-delay: -1s; }
.hero-zahlen span:nth-child(4)  { top: 76%; left: 14%; --g: 72px;  --hell: 0.7; animation-duration: 12s; animation-delay: -8s; }
.hero-zahlen span:nth-child(5)  { top: 17%; left: 25%; --g: 18px;  --hell: 1;  animation-duration: 8s;  animation-delay: -4s; }
.hero-zahlen span:nth-child(6)  { top: 69%; left: 26%; --g: 30px;  --hell: 0.92;  animation-duration: 10s; animation-delay: -3s; }
.hero-zahlen span:nth-child(7)  { top: 6%;  left: 39%; --g: 22px;  --hell: 0.9; animation-duration: 9s;  animation-delay: -7s; }
.hero-zahlen span:nth-child(8)  { top: 86%; left: 43%; --g: 20px;  --hell: 0.9; animation-duration: 8s;  animation-delay: -2.5s; }
.hero-zahlen span:nth-child(9)  { top: 8%;  left: 61%; --g: 34px;  --hell: 0.86;  animation-duration: 11s; animation-delay: -5s; }
.hero-zahlen span:nth-child(10) { top: 84%; left: 57%; --g: 26px;  --hell: 0.9; animation-duration: 9s;  animation-delay: -9s; }
.hero-zahlen span:nth-child(11) { top: 22%; left: 74%; --g: 20px;  --hell: 1; animation-duration: 7s;  animation-delay: -3.5s; }
.hero-zahlen span:nth-child(12) { top: 66%; left: 71%; --g: 40px;  --hell: 0.9; animation-duration: 10s; animation-delay: -1.5s; }
.hero-zahlen span:nth-child(13) { top: 11%; left: 83%; --g: 76px;  --hell: 0.7; animation-duration: 13s; animation-delay: -6.5s; }
.hero-zahlen span:nth-child(14) { top: 45%; left: 90%; --g: 32px;  --hell: 0.92; animation-duration: 8s;  animation-delay: -5.5s; }
.hero-zahlen span:nth-child(15) { top: 72%; left: 86%; --g: 110px; --hell: 0.62; animation-duration: 12s; animation-delay: -10s; }
.hero-zahlen span:nth-child(16) { top: 34%; left: 6%;  --g: 120px; --hell: 0.58;  animation-duration: 14s; animation-delay: -11s; }
.hero-zahlen span:nth-child(17) { top: 52%; left: 80%; --g: 18px;  --hell: 1; animation-duration: 7s;  animation-delay: -2s; }
.hero-zahlen span:nth-child(18) { top: 29%; left: 95%; --g: 22px;  --hell: 0.92;  animation-duration: 9s;  animation-delay: -4.5s; }
/* sechs Schriften; die drei Zierschriften laden nur die Ziffern 0 bis 9 (Google Fonts, Parameter text=) */
.z-cormorant { font-family: var(--display); font-weight: 500; }
.z-playfair  { font-family: "Playfair Display", var(--display); font-style: italic; }
.z-cinzel    { font-family: "Cinzel", var(--display); }
.z-italiana  { font-family: "Italiana", var(--display); }
.z-mono      { font-family: var(--mono); font-weight: 400; }
.z-sans      { font-family: var(--sans); font-weight: 400; }
.eyebrow { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); }
.intro h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 7vw, 68px); font-weight: 500; line-height: 1.05; }
.intro-copy { max-width: 560px; margin: 20px auto 0; color: rgba(240, 223, 192, 0.8); font-size: clamp(16px, 2vw, 19px); }

/* ===== Formular ===== */
.rechner-section { padding: 0 20px clamp(64px, 8vw, 96px); }
.form-panel {
  position: relative; z-index: 2;
  width: min(640px, 100%);
  margin: -64px auto 0;
  padding: clamp(24px, 5vw, 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-label { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.section-heading { margin-bottom: 26px; }
.section-heading h2, .results-heading h2 {
  margin: 0; color: var(--aubergine); font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px); font-weight: 500; line-height: 1.1;
}
.field { margin-bottom: 22px; }
.field label { display: block; margin: 0 0 7px; color: var(--aubergine); font-size: 14px; font-weight: 700; }
.label-zusatz { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  color: var(--ink); background: var(--paper);
  border: 1px solid #cfc0ad; border-radius: var(--radius-sm); outline: 0;
}
.field input:hover { border-color: var(--gold-deep); }
.field input:focus-visible { border-color: var(--aubergine); box-shadow: 0 0 0 3px rgba(61, 29, 71, 0.16); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.privacy-note {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  margin: 4px 0 24px; padding: 14px 16px;
  color: var(--muted); background: var(--sand-2);
  border-left: 3px solid var(--gold); font-size: 12px;
}
.privacy-note svg { width: 21px; fill: none; stroke: var(--gold-deep); stroke-width: 1.7; }
.privacy-note p { margin: 0; }
.form-error {
  margin: 0 0 16px; padding: 12px 14px; color: var(--error);
  background: #f8eaea; border: 1px solid #e4c2c2; border-radius: var(--radius-sm); font-size: 14px;
}

.button {
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.button-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px;
  color: #f7e9cf; background: var(--aubergine); box-shadow: 0 8px 22px rgba(61, 29, 71, 0.22);
}
.button-primary:hover { background: var(--aubergine-deep); box-shadow: 0 10px 26px rgba(61, 29, 71, 0.28); }
.button-secondary { color: var(--aubergine); background: transparent; border-color: var(--aubergine); }
.button-secondary:hover { color: #f7e9cf; background: var(--aubergine); }
.button-text { padding-inline: 8px; color: var(--aubergine); background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.calculate-button { width: 100%; }

/* ===== Ergebnis ===== */
.results-section { padding: clamp(48px, 7vw, 88px) 0; background: var(--sand-2); border-top: 1px solid var(--line); }
.results-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.results-heading h2:focus { outline: 0; }
.result-meta { margin: 9px 0 0; color: var(--muted); font-size: 14.5px; }
/* Drucken / PDF wie beim Astro-Calculator */
.result-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; }
.result-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.print-help { max-width: 300px; margin: 0; color: var(--muted); font-size: 10px; text-align: right; }
.print-footer { display: none; }

/* fuenf Zeilen als vertikale Liste, bewusst kein Kachel-Raster */
.zeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.zeile {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: clamp(14px, 3vw, 24px); align-items: start;
  padding: clamp(16px, 3vw, 24px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.zeile-zahl {
  display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  color: var(--gold-bright); font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1;
  background: radial-gradient(120% 120% at 30% 20%, var(--aubergine-mid), var(--aubergine) 65%, var(--aubergine-deep));
  border: 2px solid var(--gold);
}
.zeile-zahl.ist-lang { font-size: 36px; }
.zeile-label { margin: 0 0 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.zeile h3 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(22px, 3vw, 27px); font-weight: 600; line-height: 1.15; color: var(--aubergine); }
.zeile-satz { margin: 0 0 10px; }
.zeile-rechenweg { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }

/* Neun-Jahres-Kreis */
.zyklus { margin-top: clamp(32px, 5vw, 52px); padding: clamp(20px, 4vw, 32px); text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.zyklus h3 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; color: var(--aubergine); }
.zyklus-text { max-width: 52ch; margin: 0 auto 18px; color: var(--muted); font-size: 14.5px; }
#zyklus-kreis { max-width: 380px; margin: 0 auto; }
.zyklus-svg { display: block; width: 100%; height: auto; }
.zyklus-segment path { fill: var(--sand-2); stroke: var(--line); stroke-width: 1.5; }
.zyklus-segment.ist-folgejahr path { fill: #f6e9cc; stroke: var(--gold-deep); stroke-width: 2.5; stroke-dasharray: 7 5; }
.zyklus-segment.ist-aktuell path { fill: var(--gold); stroke: var(--gold-deep); stroke-width: 2.5; }
.zyklus-zahl { fill: var(--aubergine); font-family: var(--display); font-size: 40px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.zyklus-segment.ist-aktuell .zyklus-zahl { fill: var(--aubergine-deep); }
.zyklus-mitte-klein { fill: var(--muted); font-family: var(--mono); font-size: 14px; text-anchor: middle; }
.zyklus-mitte-gross { fill: var(--aubergine); font-family: var(--display); font-size: 64px; font-weight: 600; text-anchor: middle; }
.zyklus-legende { list-style: none; margin: 22px auto 0; padding: 0; max-width: 520px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: left; }
.zyklus-legende li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legende-zahl { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--aubergine); background: var(--sand-2); }
.zyklus-legende li.ist-aktuell { background: var(--gold); border-color: var(--gold-deep); font-weight: 700; color: var(--aubergine-deep); }
.zyklus-legende li.ist-aktuell .legende-zahl { background: var(--aubergine); color: var(--gold-bright); }
.zyklus-legende li.ist-folgejahr { border: 1.5px dashed var(--gold-deep); background: #f6e9cc; }

.hinweis { max-width: 62ch; margin: clamp(24px, 4vw, 36px) auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.hinweis a { color: var(--gold-deep); text-underline-offset: 3px; }

.kurs-hinweis { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.kurs-hinweis h3 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(22px, 3vw, 27px); color: var(--aubergine); }
.kurs-hinweis p { margin: 0 auto 16px; max-width: 56ch; color: var(--muted); }
.kurs-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 0; }
.kurs-links .button { display: inline-flex; align-items: center; text-decoration: none; }

/* ===== Footer ===== */
footer { background: var(--aubergine-deep); color: rgba(240, 223, 192, 0.8); padding: 40px 0 32px; text-align: center; }
footer img.f-logo { width: 80px; height: 80px; margin: 0 auto 8px; }
footer a { text-decoration: none; }
.f-tag { font-family: var(--display); font-style: italic; font-size: clamp(18px, 2.4vw, 22px); color: var(--gold-bright); max-width: 44ch; margin: 0 auto 6px; }
.f-social { display: flex; gap: 20px; justify-content: center; margin: 22px 0 18px; }
.f-social a { color: var(--cream); display: inline-flex; }
.f-social a:hover { color: var(--gold-bright); }
.f-social svg { width: 24px; height: 24px; }
.f-legal { font-size: 13px; margin: 0 0 12px; }
.f-legal a { color: rgba(240, 223, 192, 0.75); }
.f-legal a:hover { color: var(--gold-bright); }
.f-copy { font-size: 13.5px; color: rgba(240, 223, 192, 0.65); }
.f-ki { font-size: 11.5px; color: rgba(240, 223, 192, 0.5); max-width: 64ch; margin: 10px auto 0; }

@media (max-width: 520px) {
  .zeile { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .zeile-zahl { width: 60px; height: 60px; font-size: 34px; }
  .zeile-zahl.ist-lang { font-size: 28px; }
  .zyklus-legende { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .zyklus-legende li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; font-size: 12.5px; }
  .results-heading { flex-direction: column; align-items: flex-start; }
  .result-actions { align-items: flex-start; }
  .result-buttons { justify-content: flex-start; }
  .print-help { text-align: left; }
}
@media (max-width: 1000px) {
  /* auf dem Tablet reichen Überschrift und Einleitung bis hierher (geprüft auch mit „33“) */
  .hero-zahlen span:nth-child(11) { top: 14%; left: 88%; }
  .hero-zahlen span:nth-child(3)  { top: 10%; left: 12%; }
  .hero-zahlen span:nth-child(16) { left: 2%; --g: 84px; }
}
@media (max-width: 600px) {
  .intro { min-height: 400px; }
  .hero-zahlen { --faktor: 0.62; }
  /* auf dem Handy weniger Zahlen, die kleinen nah an der Mitte fallen weg */
  .hero-zahlen span:nth-child(5), .hero-zahlen span:nth-child(6), .hero-zahlen span:nth-child(7),
  .hero-zahlen span:nth-child(8), .hero-zahlen span:nth-child(10), .hero-zahlen span:nth-child(17) { display: none; }
  /* der Text nimmt hier die volle Breite ein: Zahlen nur im Streifen über der Überschrift
     (oberes Polster, 80 px) und im Streifen zwischen Einleitung und Formular (unteres Polster;
     das Formular überdeckt davon die untersten 64 px). In Pixeln, damit es auch passt,
     wenn die Einleitung auf schmalen Geräten in drei Zeilen umbricht. */
  .intro { padding-bottom: 156px; }
  .hero-zahlen span:nth-child(1)  { top: 10px; left: 3%; }
  .hero-zahlen span:nth-child(18) { top: 36px; left: 24%; }
  .hero-zahlen span:nth-child(11) { top: 14px; left: 40%; }
  .hero-zahlen span:nth-child(9)  { top: 40px; left: 58%; }
  .hero-zahlen span:nth-child(13) { top: 8px;  left: 79%; }
  .hero-zahlen span:nth-child(3)  { top: 50px; left: 92%; }
  .hero-zahlen span:nth-child(16) { top: auto; bottom: 64px;  left: 2%; }
  .hero-zahlen span:nth-child(2)  { top: auto; bottom: 100px; left: 22%; }
  .hero-zahlen span:nth-child(4)  { top: auto; bottom: 66px;  left: 34%; }
  .hero-zahlen span:nth-child(14) { top: auto; bottom: 112px; left: 50%; }
  .hero-zahlen span:nth-child(12) { top: auto; bottom: 80px;  left: 62%; }
  .hero-zahlen span:nth-child(15) { top: auto; bottom: 64px;  left: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu, .button { transition: none; }
  .hero-zahlen span { animation: none; opacity: calc(var(--hell) * 0.7); }
}

/* Drucken / PDF: nur das Ergebnis, schwarz auf weiß lesbar, auch wenn der Browser
   keine Hintergrundfarben druckt (Vorgabe in Chrome und Firefox) */
@media print {
  @page { margin: 12mm 12mm 19mm; }
  body { color: #111; background: #fff; font-size: 11pt; }
  .skip-link, .header, .intro, .rechner-section, .result-actions, footer, .kurs-hinweis { display: none !important; }
  .results-section { padding: 0; background: #fff; border: 0; }
  .results-wrap { width: 100%; }
  .results-heading { margin-bottom: 14px; }
  .results-heading h2 { color: #3d1d47; }
  .result-meta { color: #555; }
  .zeilen { gap: 8px; }
  .zeile { padding: 10px 14px; background: #fff; border-color: #bbb; break-inside: avoid; }
  .zeile-zahl { color: #3d1d47; background: #fff; border-color: #8e6f2f; }
  .zeile h3 { color: #3d1d47; }
  .zeile-label { color: #6a4a12; }
  .zeile-rechenweg { color: #555; }
  .zyklus { margin-top: 16px; padding: 12px; background: #fff; border-color: #bbb; break-inside: avoid; }
  .zyklus-text, .hinweis { color: #555; }
  #zyklus-kreis { max-width: 250px; }
  .zyklus-legende li { background: #fff; }
  .hinweis a { color: #6a4a12; }
  /* Schlusszeile im Fluss, nicht position: fixed mit negativem bottom: Chrome zeichnet nicht in den
     Seitenrand, die Zeile rutschte so auf die nächste Seite oben über den Inhalt (gefunden 11.10.2026) */
  .print-footer { display: block; margin: 8mm 0 0; padding-top: 3mm; color: #555; border-top: 1px solid #bbb; font-size: 8pt; text-align: center; break-inside: avoid; }
}
