/* =========================================================
   Bambushalle Dashboard – Stylesheet
   ========================================================= */

:root {
  --bg:         #f6f3ec;
  --bg-panel:   #ffffff;
  --ink:        #2b2a26;
  --ink-soft:   #5a564d;
  --ink-mute:   #8a867c;
  --line:       #e4dfd2;
  --accent:     #8b6f47;   /* warmes Bambus-Braun */
  --accent-2:   #465b4c;   /* tiefes Moosgrün */
  --accent-3:   #a23b3b;   /* Peitschen-Rot */
  --gold:       #b08b4a;
  --shadow:     0 2px 10px rgba(40,35,25,0.07);
  --shadow-lg:  0 8px 30px rgba(40,35,25,0.15);
  --radius:     8px;
  --font-serif: "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --font-sans:  -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow);
}
header.site-header .brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}
header.site-header .brand a.brand-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
header.site-header .brand a.brand-link:hover {
  color: var(--accent);
  text-decoration: none;
}
header.site-header .brand small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
header.site-header nav a {
  margin-left: 1.2rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: none;
}
header.site-header nav a:hover,
header.site-header nav a.active {
  color: var(--accent);
}

/* ---------- Layout containers ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 2rem; }

.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}
.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 0.6rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero .subtitle {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* ---------- Topic cards (index) ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.topic-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
  display: block;
  color: var(--ink);
  position: relative;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--ink);
}
.topic-card .icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
  display: block;
  /* verhindert, daß Browser Farb-Emojis rendern —
     die Symbole bleiben in der braunen Akzentfarbe */
  font-variant-emoji: text;
}
.topic-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: var(--accent-2);
  font-weight: 600;
}
.topic-card .subtitle-small {
  color: var(--ink-mute);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  font-style: italic;
}
.topic-card .desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}
.topic-card .status-badge {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.topic-card .status-badge.ready   { background: #e4f0dc; color: #3a6128; }
.topic-card .status-badge.stub    { background: #f5eadb; color: #8a6a2b; }
.topic-card .status-badge.planned { background: #ecebf3; color: #5a5577; }
.topic-card.planned { opacity: 0.78; pointer-events: none; cursor: default; }
.topic-card.planned:hover { transform: none; box-shadow: var(--shadow); }

/* ---------- Tai Chi page ---------- */
.teil-section { margin-top: 3rem; }
.teil-header {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1.6rem;
}
.teil-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
  color: var(--accent-2);
}
.teil-header .teil-subtitle {
  color: var(--ink-mute);
  font-style: italic;
  font-size: 1rem;
}
.teil-header .leitidee {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 780px;
}

/* Stations grid */
.stationen-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.station-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.station-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.station-card .nr {
  font-size: 0.75rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
}
.station-card h4 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.08rem;
  color: var(--accent-2);
  font-weight: 600;
}
.station-card .bedeutung {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}
.station-card .meta {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
  line-height: 1.6;
}
.station-card .meta span {
  display: inline-block;
  margin-right: 0.8rem;
}
.station-card .meta .label { color: var(--accent); font-weight: 600; }

/* Qualitäten list */
.qualitaeten {
  margin-top: 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.qualitaeten h3 {
  margin-top: 0;
  color: var(--accent-2);
  font-size: 1.1rem;
}
.qualitaeten ul { margin: 0.5rem 0 0 1.1rem; padding: 0; }
.qualitaeten li { margin: 0.3rem 0; color: var(--ink-soft); font-size: 0.93rem; }
.qualitaeten li strong { color: var(--ink); }
.qualitaeten-quelle {
  margin: 0.2rem 0 0.9rem;
  padding: 0.4rem 0.7rem;
  border-left: 3px solid var(--gold);
  background: #fbf8f1;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.qualitaeten-quelle a {
  color: var(--accent);
  font-weight: 600;
}
.qualitaeten li a.quelle-inline {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.qualitaeten li a.quelle-inline:hover {
  text-decoration: underline;
}

.placeholder-note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: #fff8e8;
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-radius: 4px;
}

/* ---------- Raster Tabelle ---------- */
.raster-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  margin-top: 1rem;
}
.raster-table th {
  background: var(--accent-2);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.raster-table td {
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.raster-table tr:first-child td { border-top: none; }

/* 12-Zeilen-Raster (mit Uhr + Sternzeichen) */
.raster-table.raster-12 td.raster-uhr {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
  width: 4.5rem;
  white-space: nowrap;
}
.raster-table.raster-12 td.raster-zeichen {
  color: var(--accent-2);
  font-weight: 600;
  width: 10rem;
  white-space: nowrap;
}

/* ---------- 12-Uhr der Bilder ---------- */
.uhr-section { }
.bilder-uhr-clock {
  position: relative;
  width: min(620px, 90vw);
  aspect-ratio: 1 / 1;
  margin: 1.5rem auto 1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fbf8f0 0%, #efe9db 70%, #e4dfd2 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.bilder-uhr-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-serif);
  color: var(--accent-2);
  width: 35%;
}
.bilder-uhr-center-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bilder-uhr-center-sub {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.2rem;
}
.bilder-uhr-pos {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 115px;
  min-height: 90px;
  padding: 0.5rem 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-family: var(--font-sans);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bilder-uhr-pos:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.bilder-uhr-pos.leer {
  opacity: 0.7;
  border-style: dashed;
}
.bilder-uhr-pos .uhr-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.bilder-uhr-pos .uhr-zeichen {
  font-size: 0.78rem;
  color: var(--ink);
  margin-top: 0.2rem;
  font-weight: 600;
}
.bilder-uhr-pos .uhr-bild {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
  line-height: 1.2;
}

.bilder-uhr-pos .uhr-bild-nr {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}
.bilder-uhr-pos .uhr-yoga {
  font-size: 0.62rem;
  color: var(--accent-2);
  margin-top: 0.15rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bilder-uhr-pos.hat-yoga {
  border-color: var(--accent-2);
}

/* SVG-Overlay mit Yoga-Achse und Diagonalen */
.bilder-uhr-clock svg.uhr-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.bilder-uhr-clock svg.uhr-overlay line.yoga-axis {
  stroke: #6e3a8b;
  stroke-width: 0.5;
  stroke-dasharray: 1.2 1.2;
  opacity: 0.65;
}
.bilder-uhr-clock svg.uhr-overlay line.yoga-axis.offenbarung {
  stroke: #e8d057;
  stroke-width: 0.6;
  stroke-dasharray: 0.6 0.6;
  opacity: 0.85;
}
.bilder-uhr-clock svg.uhr-overlay line.uhr-diagonale {
  stroke: #b7312a;
  stroke-width: 0.35;
  stroke-dasharray: 2 1.4;
  opacity: 0.55;
}
.bilder-uhr-clock svg.uhr-overlay line.uhr-diagonale.sw-no {
  stroke: #3f6e92;
}

.bilder-uhr-table { margin-top: 1rem; }
.bilder-uhr-table tr.has-station { cursor: pointer; }
.bilder-uhr-table tr.has-station:hover td { background: var(--bg); }

/* Die 108 Bilder — Gesamtübersicht in drei Gruppen */
.bilder108-section .bilder108-group {
  margin: 1.2rem 0;
}
.bilder108-heading {
  font-family: var(--font-serif);
  color: var(--accent-2);
  margin: 0 0 0.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
}
.bilder108-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.35rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}
.bilder108-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.15rem 0;
}
.bilder108-item .bild-nr {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
  min-width: 2.4rem;
  text-align: right;
}
.bilder108-item .bild-name { color: var(--ink); flex: 1; }
.bilder108-item .bild-richtung {
  font-size: 0.7rem;
  color: var(--ink-mute);
  background: #f0e9d9;
  border-radius: 6px;
  padding: 0.05rem 0.35rem;
}

/* Sternzeichen als Hervorhebung auf Stationskarten */
.station-card .sternzeichen-chip {
  background: #f0e9d9;
  border: 1px solid var(--line);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  color: var(--accent-2);
  font-weight: 600;
}
.modal .fact-grid > div.hervorgehoben {
  background: #f5efdc;
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
}

/* ---------- Modal (station detail / quotes) ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,18,12,0.55);
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem;
}
.modal-backdrop.active { display: flex; }
.modal {
  background: var(--bg-panel);
  border-radius: var(--radius);
  width: 100%;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.8rem;
  position: relative;
  margin: auto;
}
.modal .close {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--ink-mute);
  cursor: pointer;
  line-height: 1;
}
.modal .close:hover { color: var(--accent-3); }
.modal h2 {
  margin: 0 0 0.4rem;
  color: var(--accent-2);
  font-size: 1.5rem;
  padding-right: 2rem;
}
.modal .station-nr {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.modal .fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.4rem;
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.9rem;
}
.modal .fact-grid div { padding: 0.15rem 0; }
.modal .fact-grid .label {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  display: block;
}
.modal .ausfuehrlich {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0.8rem 0 1.2rem;
}

.zitate-list h3 {
  color: var(--accent-2);
  font-size: 1.05rem;
  margin: 1.4rem 0 0.6rem;
}
.zitat {
  border-left: 3px solid var(--gold);
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.9rem;
  background: #fbf8f1;
  border-radius: 4px;
}
.zitat .zitat-text {
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.zitat .zitat-quelle {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
}
.zitat .zitat-quelle a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- PDF Viewer page ---------- */
.pdf-viewer-wrap {
  max-width: 100%;
  padding: 1rem 2rem 2rem;
}
.pdf-viewer-wrap .back {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pdf-viewer-wrap .back:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
}
.pdf-viewer-wrap .back.secondary {
  color: var(--ink-soft);
}
.pdf-back-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  align-items: center;
}
.pdf-viewer-wrap iframe {
  width: 100%;
  height: calc(100vh - 180px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
.pdf-meta {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

/* ---------- Library page ---------- */
.library-filter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 1rem 0 1.4rem;
}
.library-filter button {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 0.55rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.25;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.15s;
}
.library-filter button:hover,
.library-filter button.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}
.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.9rem;
}
.book-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-item h4 {
  margin: 0 0 0.4rem;
  color: var(--accent-2);
  font-size: 1rem;
}
.book-item .book-desc {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}
.book-item .book-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.book-item .book-actions a {
  flex: 1 1 0;
  min-width: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  transition: all 0.15s;
}
.book-item .book-actions a:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  text-decoration: none;
}
.book-item .book-actions a.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.book-item .book-actions a.secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Footer ---------- */
footer.site-footer {
  margin-top: 4rem;
  padding: 2rem;
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
}

/* ---------- Yoga-Achse · zweispaltige senkrechte Anordnung ---------- */
.yoga-achse {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}
.yoga-zeile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: stretch;
  position: relative;
  padding-left: 0.6rem;
  border-left: 4px solid var(--row-color, var(--gold));
}
.yoga-zeile.offenbarung {
  padding: 0.4rem 0 0.4rem 0.6rem;
  background: linear-gradient(90deg, rgba(232,208,87,0.10), transparent 60%);
  border-radius: 6px;
}
.yoga-zelle {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8rem 1rem;
  min-height: 100%;
}
.yoga-zelle.stufe {
  border-top: 3px solid var(--row-color, var(--gold));
}
.yoga-zelle.vertiefung {
  border-top: 3px dashed var(--row-color, var(--gold));
  background: var(--bg-soft);
}
.yoga-zelle .zelle-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.yoga-zelle .stufe-nr {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(63,110,146,0.10);
}
.yoga-zelle .stufe-name {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.yoga-zelle .zelle-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.yoga-zelle .zelle-body .label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 0.4rem;
}
.yoga-zelle .chakra,
.yoga-zelle .koerperort {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink);
}
.yoga-zelle .bedeutung {
  margin-top: 0.3rem;
  font-style: italic;
  color: var(--ink-soft);
}
.yoga-zelle .zelle-fuss {
  margin-top: 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--accent-2);
}
.yoga-zelle .zelle-fuss .label {
  color: var(--ink-mute);
  font-size: 0.7rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  header.site-header { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  header.site-header nav { display: flex; flex-wrap: wrap; }
  header.site-header nav a { margin-left: 0; margin-right: 0.9rem; }
  main { padding: 1.2rem; }
  .hero h1 { font-size: 2rem; }
  .modal { padding: 1.2rem; }
  .modal .fact-grid { grid-template-columns: 1fr; }
  .bilder-uhr-clock { width: 96vw; }
  .bilder-uhr-pos { width: 88px; min-height: 74px; padding: 0.35rem 0.28rem; }
  .bilder-uhr-pos .uhr-zeichen { font-size: 0.68rem; }
  .bilder-uhr-pos .uhr-bild { font-size: 0.62rem; }
  .bilder-uhr-pos .uhr-bild-nr { font-size: 0.62rem; }
  .bilder-uhr-pos .uhr-yoga { font-size: 0.55rem; }
  .bilder-uhr-center-title { font-size: 0.88rem; }
  .bilder-uhr-center-sub { font-size: 0.66rem; }
  .bilder108-grid { grid-template-columns: 1fr; }
  .yoga-zeile { grid-template-columns: 1fr; }
  .vertiefungen-tabelle { font-size: 0.82rem; }
  .vertiefungen-tabelle th,
  .vertiefungen-tabelle td { padding: 0.4rem 0.5rem; }
  .lebensweisen-list { grid-template-columns: 1fr; }
}

/* ================================================================
 * Yoga · Synoptische Tabelle + Lebensweisen
 * ================================================================ */
.vertiefungstabelle {
  margin-top: 1.2rem;
  overflow-x: auto;
}
.vertiefungen-tabelle {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ddd);
  border-radius: 0.5rem;
  overflow: hidden;
}
.vertiefungen-tabelle thead th {
  background: var(--accent-soft, #f1ece0);
  color: var(--ink, #222);
  font-weight: 600;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 2px solid var(--border, #ccc);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.vertiefungen-tabelle tbody td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-soft, #eee);
  vertical-align: top;
  line-height: 1.45;
}
.vertiefungen-tabelle tbody tr:last-child td { border-bottom: none; }
.vertiefungen-tabelle tbody tr:hover { background: rgba(0,0,0,0.02); }
.vertiefungen-tabelle tr.offenbarung-row td {
  background: linear-gradient(90deg, rgba(232,208,87,0.10), transparent);
  font-style: italic;
}
.vertiefungen-tabelle .stufe-nr-badge {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  text-align: center;
  border-radius: 50%;
  background: var(--accent, #b7312a);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.vertiefungen-tabelle .affirmation-cell {
  font-style: italic;
  color: var(--ink-soft, #555);
  max-width: 22rem;
}
.vertiefungen-tabelle .fest-zelle {
  font-size: 0.78rem;
  color: var(--ink-soft, #666);
  margin-top: 0.15rem;
}

.lebensweisen-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.lebensweise-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #ddd);
  border-left: 4px solid var(--accent, #b7312a);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.lebensweise-card .lw-kopf {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.2rem;
}
.lebensweise-card .lw-roman {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent, #b7312a);
  min-width: 2.2rem;
  text-align: center;
  letter-spacing: 0.04em;
}
.lebensweise-card .lw-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #222);
}
.lebensweise-card .lw-stufe {
  font-size: 0.78rem;
  color: var(--ink-soft, #666);
  font-style: italic;
}
.lebensweise-card .lw-thema,
.lebensweise-card .lw-gebot,
.lebensweise-card .lw-weise {
  font-size: 0.88rem;
  line-height: 1.5;
}
.lebensweise-card .label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft, #888);
  margin-right: 0.35rem;
  font-weight: 600;
}
.lebensweise-card .lw-affirmation {
  background: var(--accent-soft, #f1ece0);
  padding: 0.55rem 0.75rem;
  border-radius: 0.35rem;
  font-style: italic;
  color: var(--ink, #222);
  font-size: 0.92rem;
  line-height: 1.45;
}
.lebensweise-card .lw-bedeutung {
  font-size: 0.83rem;
  color: var(--ink-soft, #555);
  line-height: 1.5;
  padding-top: 0.2rem;
  border-top: 1px dashed var(--border-soft, #eee);
}

/* ================================================================
 * Die 7 Kicks einzeln — Modal-Section
 * ================================================================ */
.kicks-einzeln-list {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft, #eee);
}
.kicks-einzeln-list h3 {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  color: var(--ink, #222);
}
.kick-card {
  background: var(--surface-soft, #fafaf6);
  border: 1px solid var(--border-soft, #eee);
  border-left: 4px solid var(--accent, #3f6e92);
  border-radius: 0.45rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.8rem;
}
.kick-kopf {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.kick-kopf .kick-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent, #3f6e92);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.kick-kopf .kick-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink, #222);
  line-height: 1.3;
}
.kick-kopf .kick-ebene {
  font-size: 0.78rem;
  color: var(--ink-soft, #666);
  font-style: italic;
  margin-top: 0.15rem;
}
.kick-meta {
  font-size: 0.82rem;
  color: var(--ink-soft, #555);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.kick-meta .label {
  font-weight: 600;
  color: var(--ink-soft, #888);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.kick-bedeutung {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink, #222);
  margin-bottom: 0.55rem;
}
.kick-zitat {
  background: rgba(0,0,0,0.03);
  border-radius: 0.35rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.kick-zitat .zitat-text {
  font-style: italic;
  color: var(--ink, #222);
  margin-bottom: 0.3rem;
}
.kick-zitat .zitat-quelle a {
  font-size: 0.78rem;
  color: var(--accent, #3f6e92);
  text-decoration: none;
  border-bottom: 1px dotted;
}
.kick-zitat .zitat-quelle a:hover { text-decoration: underline; }


/* =========================================================
   Spirituelle Astrologie — Tierkreis, Tabelle, Detailkarten
   ========================================================= */

/* Tierkreis-Wheel als 4×3-Raster (Feuer / Erde / Luft / Wasser) */
.astro-wheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.4rem;
}
.astro-wheel-cell {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--zeichen-farbe, var(--accent));
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.astro-wheel-cell:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.astro-wheel-symbol {
  font-size: 1.8rem;
  color: var(--zeichen-farbe, var(--accent));
  line-height: 1;
  margin-bottom: 0.3rem;
}
.astro-wheel-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.astro-wheel-datum {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
}
.astro-wheel-aufgabe {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--zeichen-farbe, var(--accent));
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Synoptische Astrologie-Tabelle benutzt die vorhandene
   .vertiefungen-tabelle Stilbasis — keine Extra-Regeln nötig. */
.astro-tabelle { margin: 1rem 0 1.6rem; }

/* Detail-Karten je Sternzeichen */
.astro-zeichen-liste {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1rem 0;
}
.astro-zeichen-karte {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--zeichen-farbe, var(--accent));
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  scroll-margin-top: 80px;
}
.astro-zeichen-karte .zeichen-kopf {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.astro-zeichen-karte .zeichen-symbol {
  font-size: 2.6rem;
  color: var(--zeichen-farbe, var(--accent));
  line-height: 1;
  flex-shrink: 0;
}
.astro-zeichen-karte .zeichen-titel-block { flex: 1; }
.astro-zeichen-karte .zeichen-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.astro-zeichen-karte .zeichen-datum {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
  margin-top: 0.15rem;
}
.astro-zeichen-karte .zeichen-aufgabe-nr {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zeichen-farbe, var(--accent));
  background: rgba(0,0,0,0.03);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.astro-zeichen-karte .lbl {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.2rem;
}
.astro-zeichen-karte .val {
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.astro-zeichen-karte .val.epoche-thema {
  font-style: normal;
  color: var(--ink);
}

.astro-zeichen-karte .zeichen-aufgabe {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  background: rgba(0,0,0,0.025);
  border-radius: 6px;
}

.astro-zeichen-karte .zeichen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.astro-zeichen-karte .zeichen-grid > div {
  border-left: 2px solid var(--line);
  padding-left: 0.6rem;
}

.astro-zeichen-karte .zeichen-bedeutung p {
  margin: 0.4rem 0;
}
.astro-zeichen-karte .zeichen-bedeutung p.ausfuehrlich {
  color: var(--ink-soft);
}

.astro-zeichen-karte .zeichen-zitate {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
.astro-zeichen-karte .zitat {
  background: rgba(0,0,0,0.018);
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  margin-top: 0.55rem;
}
.astro-zeichen-karte .zitat .zitat-text {
  font-style: italic;
  color: var(--ink);
}
.astro-zeichen-karte .zitat .zitat-quelle {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}
.astro-zeichen-karte .zitat .zitat-quelle a {
  color: var(--zeichen-farbe, var(--accent));
  text-decoration: none;
  border-bottom: 1px dotted;
}
.astro-zeichen-karte .zitat .zitat-quelle a:hover {
  text-decoration: underline;
}

/* Verantwortliches Verhalten in schmalen Viewports */
@media (max-width: 800px) {
  .astro-wheel { grid-template-columns: repeat(2, 1fr); }
  .astro-zeichen-karte .zeichen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .astro-wheel { grid-template-columns: 1fr; }
  .astro-zeichen-karte .zeichen-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   Willkommens-Seite (index.html)
   ========================================================= */

.willkommen-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Bildtafel links — sticky beim Scrollen */
.willkommen-bild {
  position: sticky;
  top: 100px;
  padding-top: 2.5rem;
}
.willkommen-bild-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(20,30,22,0.30),
              0 2px 6px rgba(20,30,22,0.20);
  border: 1px solid #1f3528;
}

/* Textspalte rechts */
.willkommen-text {
  padding-top: 2.5rem;
  max-width: 700px;
  line-height: 1.75;
  color: var(--ink);
  font-size: 1.02rem;
}
.willkommen-text p {
  margin: 0 0 1.1rem;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.willkommen-titel {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--accent-2);
  margin: 0 0 1.4rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

/* Hervorgehobene Uhrzeit */
.willkommen-uhrzeit {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--accent-2);
  margin: 1.8rem 0 1.4rem;
  padding: 1rem 1rem 1.1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.willkommen-uhrzeit-untertitel {
  display: block;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 0.35rem;
  letter-spacing: 0;
}

/* Spruchblock */
.willkommen-spruch {
  margin: 1.6rem 0;
  padding: 1rem 1.3rem;
  background: rgba(70, 91, 76, 0.07);
  border-left: 3px solid var(--accent-2);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--accent-2);
  text-align: center;
  border-radius: 0 4px 4px 0;
}

/* Signatur */
.willkommen-signatur {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent);
  text-align: right;
  letter-spacing: 0.04em;
}

/* CTA-Button "Zu den Themen" */
.willkommen-cta-zeile {
  margin-top: 2.6rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.willkommen-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 2.2rem;
  background: var(--accent-2);
  color: #f6f3ec;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(70, 91, 76, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.willkommen-cta:hover {
  background: var(--accent);
  color: #f6f3ec;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(40, 35, 25, 0.20);
  text-decoration: none;
}
.willkommen-cta-pfeil {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.willkommen-cta:hover .willkommen-cta-pfeil {
  transform: translateX(4px);
}
.willkommen-cta-sekundaer {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.willkommen-cta-sekundaer:hover {
  background: var(--accent);
  color: #f6f3ec;
}
.willkommen-gaestebuch-hinweis {
  flex-basis: 100%;       /* eigene Zeile unter beiden Buttons */
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-mute);
  max-width: 50ch;
}

/* Auf dem Handy: CTAs untereinander statt nebeneinander */
@media (max-width: 720px) {
  .willkommen-cta-zeile { flex-direction: column; align-items: center; gap: 0.7rem; }
  .willkommen-cta { width: 100%; max-width: 22rem; justify-content: center; }
}

/* Responsiv: schmale Viewports — Bild oben, Text darunter */
@media (max-width: 900px) {
  .willkommen-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .willkommen-bild {
    position: static;
    padding-top: 1.5rem;
    max-width: 420px;
    margin: 0 auto;
  }
  .willkommen-text {
    padding-top: 0;
  }
  .willkommen-titel { font-size: 2rem; text-align: center; }
}
@media (max-width: 560px) {
  .willkommen-uhrzeit { font-size: 1.3rem; }
  .willkommen-spruch { font-size: 1.05rem; padding: 0.8rem 1rem; }
  .willkommen-cta { padding: 0.8rem 1.6rem; font-size: 1rem; }
}

/* =========================================================
   Die Weltenuhr (pages/weltenuhr.html)
   ========================================================= */

/* ---------- Umschalter ---------- */
.wu-toggle {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.wu-toggle button {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.wu-toggle button:hover { border-color: var(--accent); color: var(--accent); }
.wu-toggle button.active {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

/* ---------- Uhr / SVG ---------- */
.wu-uhr-wrap { max-width: 720px; margin: 0 auto; }
.wu-svg { width: 100%; height: auto; display: block; }
.wu-svg text {
  font-family: var(--font-serif);
  text-anchor: middle;
  dominant-baseline: middle;
  fill: var(--ink);
}
.wu-face   { fill: var(--bg-panel); stroke: var(--accent); stroke-width: 2.5; }
.wu-ring-fein { fill: none; stroke: var(--line); stroke-width: 1; }
.wu-tick   { stroke: var(--ink-mute); stroke-width: 1; }
.wu-tick.haupt { stroke: var(--ink-soft); stroke-width: 2.5; }
.wu-ziffer { font-size: 26px; fill: var(--ink-soft); }
.wu-ziffer.klein { font-size: 14px; fill: var(--ink-mute); font-family: var(--font-sans); }
.wu-ziffer.klein.fett { font-size: 17px; fill: var(--ink); font-weight: 700; }

/* 12h: Achsen + Knoten */
.wu-yoga-achse { stroke: var(--accent-2); stroke-width: 3; opacity: 0.7; }
.wu-yoga-achse.offenbarung { stroke: var(--gold); stroke-dasharray: 7 5; }
.wu-yoga-achse.erleuchtung {
  stroke: #d97b3a; stroke-width: 3.4; stroke-dasharray: 2 4;
  stroke-linecap: round; opacity: 0.95;
}
.wu-diagonale  { stroke: var(--accent-3); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0.6; }
.wu-zeichen-node { cursor: pointer; }
.wu-node-kreis  { fill: var(--bg); stroke-width: 2; transition: fill 0.15s; }
.wu-zeichen-node:hover .wu-node-kreis,
.wu-zeichen-node:focus .wu-node-kreis { fill: #fdf8ec; stroke-width: 3.5; }
.wu-node-symbol { font-size: 24px; }
.wu-node-name   { font-size: 11px; font-family: var(--font-sans); fill: var(--ink-soft); }
.wu-node-info   { font-size: 10.5px; font-family: var(--font-sans); fill: var(--ink-mute); font-style: italic; }
.wu-mitte-titel { font-size: 19px; fill: var(--accent-2); }
.wu-mitte-sub   { font-size: 12.5px; font-family: var(--font-sans); fill: var(--ink-mute); }

/* 24h: Ringe */
.wu-zeichen-seg { opacity: 0.82; stroke: #fff; stroke-width: 1.5; cursor: pointer; transition: opacity 0.15s; }
.wu-zeichen-seg:hover, .wu-zeichen-seg:focus { opacity: 1; }
.wu-seg-symbol  { font-size: 22px; fill: #fff; }
.wu-epoche-seg  { fill: var(--bg); stroke: var(--line); stroke-width: 1; cursor: pointer; }
.wu-epoche-seg:hover { fill: #fdf8ec; }
.wu-epoche-label { font-size: 11px; font-family: var(--font-sans); fill: var(--ink-soft); }
.wu-viertel-seg  { opacity: 0.85; stroke: #fff; stroke-width: 1; }
.wu-viertel-label { font-size: 11.5px; font-family: var(--font-sans); fill: #fff; letter-spacing: 0.04em; }
.wu-feuertag { fill: var(--gold); stroke: #fff; stroke-width: 1; cursor: help; }

/* Zeiger */
.wu-zeiger { stroke-linecap: round; }
.wu-zeiger.stunde  { stroke: var(--ink); stroke-width: 6; }
.wu-zeiger.minute  { stroke: var(--ink-soft); stroke-width: 3.5; }
.wu-zeiger.sekunde { stroke: var(--accent-3); stroke-width: 1.7; }
.wu-zeiger-nabe { fill: var(--ink); }

/* ---------- Lesehilfe ---------- */
.wu-legende {
  max-width: 720px;
  margin: 1.2rem auto 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  line-height: 1.55;
}
.wu-leg-gruen { color: var(--accent-2); font-weight: 600; }
.wu-leg-gold  { color: var(--gold); font-weight: 600; }
.wu-leg-rot   { color: var(--accent-3); font-weight: 600; }

/* ---------- Detailpanel ---------- */
.wu-detail {
  max-width: 760px;
  margin: 1.4rem auto 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.4rem 1.4rem;
}
.wu-detail-kopf {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-bottom: 2px solid var(--zf, var(--accent));
  padding-bottom: 0.7rem;
  margin-bottom: 0.9rem;
}
.wu-detail-symbol { font-size: 2.1rem; color: var(--zf, var(--accent)); }
.wu-detail-name   { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.wu-detail-datum  { font-size: 0.85rem; color: var(--ink-mute); font-family: var(--font-sans); }
.wu-detail-zu {
  margin-left: auto;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--ink-mute);
  cursor: pointer;
  line-height: 1;
}
.wu-detail-zu:hover { color: var(--accent-3); }
.wu-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.55rem 1.2rem;
  font-size: 0.95rem;
}
.wu-detail-grid .lbl {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 1px;
}
.wu-detail-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

/* ---------- Karten (Zeiger · Viertel · Korrelationen) ---------- */
.wu-karten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.wu-karte {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--kf, var(--accent));
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.wu-karte h4 { margin: 0 0 0.25rem; font-size: 1.02rem; color: var(--ink); }
.wu-karte-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.wu-karte p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Live-Prüfung ---------- */
.wu-pruefung {
  margin-top: 1.6rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.wu-pruefung h3 { margin: 0 0 0.7rem; font-size: 1.05rem; color: var(--accent-2); }
.wu-pruefung ul { list-style: none; margin: 0; padding: 0; }
.wu-pruefung li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}
.wu-pruefung li:first-child { border-top: none; }
.wu-pruefung li .zeichen { display: inline-block; width: 1.4rem; font-weight: 700; }
.wu-pruefung li.ok .zeichen { color: var(--accent-2); }
.wu-pruefung li.warn .zeichen { color: var(--accent-3); }
.wu-pruefung li .detail {
  color: var(--ink-mute);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  margin-left: 1.4rem;
  display: inline-block;
}

/* ---------- Synopse-Tabelle ---------- */
.wu-synopse td, .wu-synopse th { font-size: 0.88rem; }
.wu-synopse tbody tr:hover { background: #fdf8ec; }

@media (max-width: 640px) {
  .wu-detail-grid { grid-template-columns: 1fr 1fr; }
}

/* Reihen-Zeile in der Bibliothek */
.book-item .book-reihe {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: -0.2rem 0 0.5rem;
  opacity: 0.85;
}


/* =========================================================
 * MOBILE OPTIMIZATION · umfassend
 *   • Hamburger-Toggle für die Hauptnavigation
 *   • Reduzierte Paddings, größere Tap-Ziele
 *   • Spalten-Layouts kollabieren zu 1 Spalte
 *   • Tabellen scrollen horizontal
 *   • Modal-Dialog passt sich an
 * ========================================================= */

/* ---------- Nav-Toggle Button (nur Mobile sichtbar) ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.55rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  position: absolute;
  top: 0.85rem;
  right: 1rem;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--accent-2);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  /* Header in mobiler Form */
  header.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.85rem 1rem;
    position: relative;
  }
  header.site-header .brand {
    padding-right: 60px; /* Platz für Toggle */
    font-size: 1.15rem;
  }
  header.site-header .brand small { font-size: 0.7rem; }

  /* Nav klappt zu */
  header.site-header nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.28s ease, padding 0.28s ease;
  }
  header.site-header nav[data-mobile-state="open"] {
    max-height: 75vh;
    overflow-y: auto;
    padding-bottom: 0.4rem;
  }
  header.site-header nav a {
    margin: 0;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    width: 100%;
  }
  header.site-header nav a:last-child { border-bottom: none; }
  header.site-header nav a.active { color: var(--accent); font-weight: 600; }

  /* Main padding gestrafft */
  main { padding: 1rem; }

  /* Hero-Bereiche */
  .hero { padding: 1.5rem 0.3rem 1rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero .subtitle { font-size: 1rem; padding: 0 0.4rem; }

  /* tai-chi-intro (auf Themenseiten) */
  .tai-chi-intro h1 { font-size: 1.7rem; }
  .tai-chi-intro .subtitle { font-size: 0.95rem; }
  .tai-chi-intro .leitidee { font-size: 0.95rem; }

  /* Topic-Grid kollabiert */
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
  }
  .topic-card { padding: 1rem 1.1rem; }
  .topic-card h3 { font-size: 1.1rem; }
  .topic-card .icon { font-size: 1.7rem; }

  /* Stations-Liste (Tai Chi) — 1 Spalte */
  .stationen-liste { grid-template-columns: 1fr; gap: 0.8rem; }

  /* Astrologie-Wheel: 1 Spalte (statt 2 wie aktuell) */
  .astro-wheel { grid-template-columns: 1fr; gap: 10px; }
  .astro-wheel-cell { padding: 0.7rem 0.9rem; }
  .astro-wheel-symbol { font-size: 1.5rem; }

  /* Astrologie/Tantra/Ochsenbilder/Feiertage Detail-Karten */
  .astro-zeichen-karte {
    padding: 1rem 1.1rem;
    border-radius: 6px;
  }
  .astro-zeichen-karte .zeichen-kopf {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .astro-zeichen-karte .zeichen-symbol { font-size: 2rem; }
  .astro-zeichen-karte .zeichen-name { font-size: 1.15rem; }
  .astro-zeichen-karte .zeichen-aufgabe-nr {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
  }
  .astro-zeichen-karte .zeichen-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  /* Tabellen — horizontal scrollen lassen */
  .vertiefungen-tabelle,
  .raster-table,
  .wu-synopse {
    font-size: 0.78rem;
  }
  .astro-tabelle,
  #och-tabelle,
  #fei-tabelle,
  #tan-tabelle,
  #wu-tabelle {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .astro-tabelle table,
  #och-tabelle table,
  #fei-tabelle table,
  #tan-tabelle table,
  #wu-tabelle table {
    min-width: 600px;
  }

  /* Bibliothek-Filter: weniger min-width, kleinere Buttons */
  .library-filter {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }
  .library-filter button {
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
  }

  /* Bibliothek-Buchliste: 1 Spalte */
  .book-list { grid-template-columns: 1fr; gap: 0.7rem; }
  .book-item { padding: 0.85rem 1rem; }
  .book-item h4 { font-size: 0.98rem; }

  /* Buttons bleiben nebeneinander — kurze Texte „Ansehen" und „PDF öffnen"
     passen problemlos auch auf schmalen Handys. */
  .book-item .book-actions a {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Teil-Header */
  .teil-header h2 { font-size: 1.35rem; }
  .teil-header .teil-subtitle { font-size: 0.88rem; }

  /* Modal (Tai Chi Stationen) */
  .modal-backdrop { padding: 0.6rem; align-items: flex-start; }
  .modal {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    padding: 1rem 1.1rem;
    margin: 0;
  }
  .modal h2 { font-size: 1.3rem; }
  .modal .fact-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .kick-card, .lebensweise-card { padding: 0.8rem; }
  .kick-kopf .kick-nr {
    font-size: 1.4rem;
    min-width: 2rem;
  }

  /* Yoga-Synoptische Tabelle scrollbar */
  .vertiefungstabelle table { min-width: 600px; }

  /* Weltenuhr */
  .wu-uhr-wrap { width: 100%; max-width: 100vw; padding: 0 0.2rem; }
  .wu-uhr-wrap svg { width: 100%; height: auto; }
  .wu-legende { font-size: 0.85rem; padding: 0.7rem; }
  .wu-karten-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .wu-detail { padding: 1rem; }
  .wu-pruefung ul { padding-left: 0; }
  .wu-pruefung li { padding: 0.6rem 0.7rem; }

  /* Synopse-Tabelle (Weltenuhr) */
  .wu-synopse-wrap, #wu-tabelle {
    overflow-x: auto;
  }

  /* Willkommen-Seite — Bild-/Text-Verhältnis schon definiert (900px),
     hier noch Feintuning für sehr schmale Bildschirme */
  .willkommen-titel { font-size: 1.7rem; text-align: center; }
  .willkommen-text { padding-top: 0.5rem; font-size: 0.97rem; line-height: 1.7; }
  .willkommen-text p { text-align: left; hyphens: auto; }
  .willkommen-uhrzeit { font-size: 1.25rem; padding: 0.8rem; }
  .willkommen-uhrzeit-untertitel { font-size: 0.92rem; }
  .willkommen-spruch { font-size: 1rem; padding: 0.7rem 0.9rem; }
  .willkommen-signatur { font-size: 1.1rem; }
  .willkommen-cta { padding: 0.75rem 1.4rem; font-size: 0.98rem; }

  /* PDF Viewer */
  .pdf-viewer-wrap { padding: 0.5rem; }
  .pdf-viewer-wrap iframe { height: 70vh; }
  .pdf-meta { font-size: 0.9rem; padding: 0.5rem 0.8rem; }
  button.back, a.back { padding: 0.5rem 0.8rem; font-size: 0.85rem; }

  /* Zitate auf Detailkarten */
  .astro-zeichen-karte .zitat,
  .station-card .zitat,
  .zitat {
    padding: 0.6rem 0.75rem;
  }
  .astro-zeichen-karte .zitat .zitat-text,
  .zitat .zitat-text { font-size: 0.92rem; }

  /* Yoga-Achse */
  .yoga-zelle { padding: 0.7rem 0.85rem; }
  .yoga-zelle.stufe .stufe-name,
  .yoga-zelle.vertiefung .stufe-name { font-size: 1rem; }

  /* Lebensweisen Karten */
  .lebensweise-card { padding: 0.9rem 1rem; }
  .lebensweise-card .lw-name { font-size: 1.05rem; }
  .lebensweise-card .lw-roman { font-size: 1.7rem; }

  /* Footer */
  footer.site-footer { padding: 1.2rem; font-size: 0.8rem; }
}

/* Sehr schmale Bildschirme (< 420px) */
@media (max-width: 420px) {
  main { padding: 0.7rem; }
  .hero h1, .tai-chi-intro h1, .willkommen-titel { font-size: 1.5rem; }
  .topic-card { padding: 0.85rem; }
  .astro-zeichen-karte { padding: 0.85rem 0.9rem; }
  .astro-zeichen-karte .zeichen-grid { grid-template-columns: 1fr; }
  .astro-zeichen-karte .zeichen-kopf { gap: 0.4rem; }
  .astro-zeichen-karte .zeichen-aufgabe-nr {
    width: 100%;
    text-align: center;
    margin-top: 0.2rem;
  }
  .library-filter {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .library-filter button { font-size: 0.72rem; padding: 0.45rem 0.5rem; }
  /* Buttons stapeln sich schon ab 720px in einer Spalte — hier nichts mehr nötig. */
  .wu-legende { font-size: 0.78rem; }
}

/* =========================================================
 *  GÄSTEBUCH (pages/gaestebuch.html)
 * ========================================================= */
.gaestebuch-trenner {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.2rem 0 1.5rem;
}
.gaestebuch-einleitung {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  max-width: 70ch;
  margin: 0 auto;
}
.gaestebuch-einleitung p {
  margin: 0 0 0.9rem;
}
.gaestebuch-signatur {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-2);
  margin-top: 0.8rem !important;
}
.gaestebuch-emojis {
  font-size: 1.6rem;
  margin-top: 0.4rem !important;
  letter-spacing: 0.18rem;
}

/* ---------- Formular ---------- */
.gaestebuch-form {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.gaestebuch-form .form-row {
  margin-bottom: 1.1rem;
  display: block;
}
.gaestebuch-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.gaestebuch-form input[type="text"],
.gaestebuch-form input[type="email"],
.gaestebuch-form input[type="tel"],
.gaestebuch-form input[type="number"],
.gaestebuch-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-panel);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gaestebuch-form input:focus,
.gaestebuch-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(170, 135, 75, 0.18);
}
.gaestebuch-form textarea {
  resize: vertical;
  min-height: 6.5rem;
  font-family: var(--font-serif);
  line-height: 1.6;
}
.gaestebuch-form .form-hilfe {
  display: block;
  color: var(--ink-mute);
  font-size: 0.78rem;
  margin-top: 0.3rem;
  font-weight: 400;
}
.gaestebuch-form .form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.gaestebuch-form .form-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0.25rem 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
  transform: scale(1.2);
}
.gaestebuch-form .form-captcha {
  background: rgba(170, 135, 75, 0.08);
  padding: 0.95rem 1.1rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.gaestebuch-form .form-captcha label { margin-bottom: 0.5rem; }
.gaestebuch-form .form-submit button {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.gaestebuch-form .form-submit button:hover:not(:disabled) {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.gaestebuch-form .form-submit button:active:not(:disabled) {
  transform: translateY(1px);
}
.gaestebuch-form .form-submit button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-meldung {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.55;
  display: none;
}
.form-meldung.form-meldung-erfolg {
  display: block;
  background: #eaf3df;
  border-left: 3px solid #6b8f3b;
  color: #3b5e1a;
}
.form-meldung.form-meldung-fehler {
  display: block;
  background: #fae5d8;
  border-left: 3px solid #a23b3b;
  color: #6e2a2a;
}
.form-meldung a { color: inherit; text-decoration: underline; }

/* ---------- Bereits öffentliche Einträge ---------- */
.gaestebuch-eintrag {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
}
.gaestebuch-eintrag .ge-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}
.gaestebuch-eintrag .ge-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-2);
}
.gaestebuch-eintrag .ge-ort {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}
.gaestebuch-eintrag .ge-datum {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-left: auto;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}
.gaestebuch-eintrag .ge-text {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}
.gaestebuch-eintrag .ge-text p { margin: 0 0 0.6rem; }
.gaestebuch-eintrag .ge-text p:last-child { margin-bottom: 0; }

/* ---------- Sub-Navigation auf langen Themen-Seiten ---------- */
.page-subnav {
  position: sticky;
  top: 4.5rem;                       /* unter dem weißen Haupt-Menübalken */
  z-index: 5;                        /* niedriger als der Header (z-index 10) */
  background: rgba(245, 240, 224, 0.97);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 1rem;
  margin: 0 -1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
  justify-content: center;           /* zentriert */
  font-family: var(--font-sans);
  font-size: 0.86rem;
  backdrop-filter: blur(6px);
}
.page-subnav .subnav-label {
  color: var(--ink-mute);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.4rem;
}
.page-subnav a {
  color: var(--accent-2);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.page-subnav a:hover {
  background: rgba(170, 135, 75, 0.12);
  border-color: var(--accent);
  color: var(--accent-2);
  text-decoration: none;
}
.page-subnav a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(170, 135, 75, 0.25);
}
/* Sprungziele bekommen Abstand zur Sticky-Nav (Header + Sub-Nav) */
.teil-section,
section[id^="tc-"],
section[id^="teil-"] {
  scroll-margin-top: 9rem;
}
@media (max-width: 720px) {
  .page-subnav {
    top: 3.4rem;                     /* schmalerer Header auf dem Handy */
    font-size: 0.78rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.5rem 0.8rem;
  }
  .page-subnav .subnav-label { display: none; }
  .page-subnav a { padding: 0.3rem 0.6rem; }
  .teil-section,
  section[id^="tc-"],
  section[id^="teil-"] {
    scroll-margin-top: 7rem;
  }
}

/* ---------- Cusdis-Gästebuch ---------- */
.gaestebuch-felder-hinweis {
  background: rgba(170, 135, 75, 0.07);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  margin: 1rem 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
}
.gaestebuch-felder-hinweis strong {
  color: var(--accent-2);
}
.gaestebuch-felder-hinweis ul {
  margin: 0.4rem 0 0.6rem 1.2rem;
  padding: 0;
}
.gaestebuch-felder-hinweis ul li {
  margin: 0.25rem 0;
}
.gaestebuch-felder-hinweis p {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.gaestebuch-cusdis-wrap {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.gaestebuch-cusdis-wrap #cusdis_thread,
.gaestebuch-cusdis-wrap iframe {
  width: 100% !important;
  border: 0 !important;
  min-height: 600px;
  display: block;
}
/* Auf großen Bildschirmen darf die Box wachsen */
@media (min-width: 720px) {
  .gaestebuch-cusdis-wrap #cusdis_thread,
  .gaestebuch-cusdis-wrap iframe {
    min-height: 700px;
  }
}

/* ---------- Footer-Links (auf allen Seiten) ---------- */
.site-footer .footer-links {
  margin-top: 0.7rem;
  font-size: 0.85rem;
}
.site-footer .footer-links a {
  color: var(--ink-mute);
  text-decoration: none;
  margin: 0 0.25rem;
  transition: color 0.15s;
}
.site-footer .footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .gaestebuch-einleitung { font-size: 0.96rem; line-height: 1.65; }
  .gaestebuch-signatur { font-size: 1.1rem; }
  .gaestebuch-emojis { font-size: 1.35rem; }
  .gaestebuch-form input,
  .gaestebuch-form textarea { font-size: 0.96rem; }
  .gaestebuch-form .form-submit button { width: 100%; padding: 0.9rem 1rem; }
  .gaestebuch-eintrag .ge-datum {
    margin-left: 0;
    flex-basis: 100%;
    order: 99;
  }
}
