:root {
  --sand: #f6f1e9;
  --sand-2: #efe7da;
  --card: #fcfaf5;
  --paper: #fffdf8;
  --line: #ddd0be;
  --aubergine: #3d1d47;
  --aubergine-deep: #2b1233;
  --aubergine-soft: #6f4d78;
  --gold: #d4ae6a;
  --gold-bright: #f5d88a;
  --gold-deep: #8e6f2f;
  --ink: #3d2b4a;
  --muted: #75667c;
  --error: #8f3f3f;
  --success: #396557;
  --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; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.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); }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px clamp(20px, 5vw, 64px);
  background: var(--aubergine-deep);
  border-bottom: 1px solid rgba(212, 174, 106, 0.55);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f0dfc0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.brand img { width: 46px; height: 46px; }
.back-link {
  color: rgba(240, 223, 192, 0.82);
  font-size: 14px;
  text-underline-offset: 4px;
}
.back-link:hover { color: var(--gold-bright); }

.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(88px, 10vw, 136px) 20px clamp(116px, 14vw, 184px);
  color: #f0dfc0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 110%, rgba(212, 174, 106, 0.18), transparent 44%),
    linear-gradient(90deg, rgba(212, 174, 106, 0.05), transparent 30% 70%, rgba(212, 174, 106, 0.05)),
    var(--aubergine-deep);
}
.intro::before,
.intro::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: "";
}
.intro::before {
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(43, 18, 51, 0.98) 0 20%, rgba(43, 18, 51, 0.88) 40%, rgba(43, 18, 51, 0.22) 67%, transparent 80%);
}
.intro::after {
  inset: 20% 5%;
  border-top: 1px solid rgba(245, 216, 138, 0.08);
  border-bottom: 1px solid rgba(245, 216, 138, 0.08);
  border-radius: 50%;
}
.hero-radix {
  position: absolute;
  z-index: 0;
  stroke: var(--gold-bright);
  stroke-width: 1;
  pointer-events: none;
}
.hero-radix-left { top: -230px; left: -330px; width: 720px; height: 720px; opacity: 0.38; }
.hero-radix-right { right: -130px; bottom: -100px; width: 420px; height: 420px; opacity: 0.24; }
.hero-chart-grid { stroke: var(--gold-bright); stroke-width: 1; }
.hero-chart-grid .hero-chart-axis { stroke-width: 1.6; }
.hero-chart-grid .hero-house-lines { stroke-dasharray: 3 6; opacity: 0.78; }
.hero-chart-signs,
.hero-chart-planets {
  fill: var(--gold-bright);
  stroke: none;
  font-family: "Segoe UI Symbol", serif;
  text-anchor: middle;
}
.hero-chart-signs { font-size: 23px; }
.hero-chart-planets { font-size: 24px; }
.hero-chart-aspects { stroke: var(--gold-bright); stroke-width: 1.15; opacity: 0.72; }
.hero-sparkles {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}
.hero-sparkles span { position: absolute; color: var(--gold-bright); font-size: 10px; opacity: 0.56; animation: hero-twinkle 4.8s ease-in-out infinite; }
.hero-sparkles span:nth-child(1) { top: 12%; left: 31%; }
.hero-sparkles span:nth-child(2) { top: 21%; left: 38%; animation-delay: -1.1s; }
.hero-sparkles span:nth-child(3) { top: 17%; right: 33%; animation-delay: -2.3s; }
.hero-sparkles span:nth-child(4) { top: 30%; right: 26%; animation-delay: -3.5s; }
.hero-sparkles span:nth-child(5) { top: 68%; left: 28%; animation-delay: -0.7s; }
.hero-sparkles span:nth-child(6) { top: 76%; left: 37%; animation-delay: -1.8s; }
.hero-sparkles span:nth-child(7) { top: 72%; right: 37%; animation-delay: -2.9s; }
.hero-sparkles span:nth-child(8) { top: 64%; right: 29%; animation-delay: -4s; }
.hero-sparkles span:nth-child(9) { top: 40%; left: 22%; animation-delay: -1.4s; }
.hero-sparkles span:nth-child(10) { top: 52%; left: 34%; animation-delay: -3.1s; }
.hero-sparkles span:nth-child(11) { top: 44%; right: 22%; animation-delay: -0.4s; }
.hero-sparkles span:nth-child(12) { top: 55%; right: 34%; animation-delay: -2.1s; }
.hero-sparkles span:nth-child(13) { top: 9%; left: 48%; animation-delay: -3.8s; }
.hero-sparkles span:nth-child(14) { top: 83%; left: 48%; animation-delay: -1.6s; }
.hero-sparkles span:nth-child(15) { top: 25%; right: 44%; animation-delay: -2.7s; }
.hero-sparkles span:nth-child(16) { top: 69%; left: 44%; animation-delay: -4.3s; }
@keyframes hero-twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.78); } 50% { opacity: 0.9; transform: scale(1.18); } }
.hero-star-orbit {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(245, 216, 138, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero-star-orbit span { position: absolute; color: var(--gold-bright); font-size: 13px; text-shadow: 0 0 8px rgba(245, 216, 138, 0.65); }
.hero-star-orbit span:nth-child(1) { top: -10px; left: 24%; }
.hero-star-orbit span:nth-child(2) { top: 17%; right: -7px; }
.hero-star-orbit span:nth-child(3) { bottom: -9px; right: 30%; }
.hero-star-orbit span:nth-child(4) { bottom: 20%; left: -7px; }
.hero-star-orbit span:nth-child(5) { top: 4%; right: 27%; }
.hero-star-orbit span:nth-child(6) { right: 13%; bottom: 4%; }
.hero-star-orbit span:nth-child(7) { bottom: 8%; left: 15%; }
.hero-star-orbit span:nth-child(8) { top: 38%; left: -6px; }
.hero-star-orbit-one { width: min(900px, 82vw); height: 390px; margin: -195px 0 0 max(-450px, -41vw); animation: hero-orbit 34s linear infinite; }
.hero-star-orbit-two { width: min(690px, 66vw); height: 290px; margin: -145px 0 0 max(-345px, -33vw); animation: hero-orbit-reverse 26s linear infinite; }
@keyframes hero-orbit { to { transform: rotate(360deg); } }
@keyframes hero-orbit-reverse { to { transform: rotate(-360deg); } }
.intro-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.eyebrow,
.step-label {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.intro .eyebrow { color: var(--gold-bright); }
.intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 500;
  line-height: 1.02;
}
.intro h1 em { color: var(--gold-bright); font-weight: 400; }
.intro-copy {
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(240, 223, 192, 0.8);
  font-size: clamp(16px, 2vw, 19px);
}

.calculator-section { padding: 0 0 clamp(72px, 9vw, 112px); }
.page-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: -72px auto 0;
}
.form-panel,
.method-card,
.chart-card,
.key-positions,
.data-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-panel { padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); }
.section-heading h2,
.method-card h2,
.results-heading h2 {
  margin: 0;
  color: var(--aubergine);
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
}
.section-heading > p:last-child { margin: 12px 0 30px; color: var(--muted); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  margin: 0 0 7px;
  color: var(--aubergine);
  font-size: 14px;
  font-weight: 700;
}
.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; }
.time-asterisk { margin-left: 2px; color: var(--error); font-size: 12px; }
.time-caution { margin: -8px 0 22px; color: var(--muted); font-size: 12px; }
.time-caution sup { color: var(--error); font-weight: 700; }
.place-search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.field-status { min-height: 25px; margin: 9px 0 0; color: var(--success); font-size: 13px; }
.field-status.is-error { color: var(--error); }
.place-results { display: grid; gap: 8px; margin-top: 8px; }
.place-option {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.place-option:hover,
.place-option:focus-visible { border-color: var(--aubergine); background: #f8f1e7; outline: 0; }
.place-option.is-selected { border-color: var(--success); box-shadow: inset 4px 0 0 var(--success); }

.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:disabled { cursor: wait; opacity: 0.62; transform: none; }
.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); text-decoration: underline; text-underline-offset: 4px; }
.calculate-button { width: 100%; }

.method-card {
  align-self: start;
  padding: 32px;
  color: #f0dfc0;
  background: var(--aubergine);
  border-color: rgba(212, 174, 106, 0.55);
  box-shadow: var(--shadow);
}
.method-card .step-label { color: var(--gold-bright); }
.method-card h2 { color: #f0dfc0; font-size: 32px; }
.method-card ul { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.method-card li { position: relative; padding-left: 24px; color: rgba(240, 223, 192, 0.88); font-size: 14px; }
.method-card li::before { position: absolute; left: 0; color: var(--gold-bright); content: "✦"; }
.method-note { margin: 0; padding-top: 18px; border-top: 1px solid rgba(240, 223, 192, 0.18); color: rgba(240, 223, 192, 0.64); font-size: 12px; }

.loading-section { padding: 72px 20px; text-align: center; }
.loading-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border: 2px solid var(--line);
  border-top-color: var(--aubergine);
  border-radius: 50%;
  animation: rotate 900ms linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

.results-section { padding: clamp(64px, 8vw, 104px) 0; background: var(--sand-2); border-top: 1px solid var(--line); }
.results-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.results-heading h2:focus { outline: 0; }
.result-name { margin: 7px 0 0; color: var(--aubergine); font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.2; }
.result-name-note { max-width: 660px; margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.results-heading #result-meta { margin: 9px 0 0; color: var(--muted); }
.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: 350px; margin: 0; color: var(--muted); font-size: 10px; text-align: right; }
.chart-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.75fr); gap: 24px; }
.chart-card { padding: clamp(14px, 3vw, 28px); background: var(--paper); }
#chart-container { max-width: 760px; margin: 0 auto; }
#chart-container svg { display: block; width: 100%; height: auto; }
.radix-svg text { font-family: var(--sans); user-select: none; }
.chart-background { fill: #fffdf8; }
.zodiac-segment { stroke: none; }
.wheel-ring { stroke: #bfae98; stroke-width: 1; vector-effect: non-scaling-stroke; }
.zodiac-glyph { font-family: "Segoe UI Symbol", serif !important; font-size: 25px; font-weight: 600; }
.degree-tick { stroke: #c9bba9; stroke-width: 0.7; vector-effect: non-scaling-stroke; }
.degree-tick.major { stroke: #9f8d78; stroke-width: 1; }
.house-line { stroke: #cabdab; stroke-width: 0.8; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.house-line.axis { stroke: #a37c3d; stroke-width: 1.6; stroke-dasharray: none; }
.house-number { fill: #8d7b93; font-family: var(--mono) !important; font-size: 11px; }
.axis-label { fill: #8e6f2f; font-family: var(--mono) !important; font-size: 12px; font-weight: 700; }
.aspect-connection { cursor: pointer; outline: none; transition: opacity 160ms ease; }
.aspect-hit { stroke: transparent; stroke-width: 14; pointer-events: stroke; }
.aspect-line { stroke-width: 1.7; opacity: 0.82; pointer-events: none; vector-effect: non-scaling-stroke; }
.aspect-line.harmonic { stroke: #287da1; }
.aspect-line.tense { stroke: #c54b35; }
.aspect-line.neutral { stroke: #9b7100; }
.aspect-connection:hover .aspect-line,
.aspect-connection:focus-visible .aspect-line { opacity: 1; stroke-width: 2.7; }
.aspect-connection.is-dimmed { opacity: 0.07; }
.aspect-connection.is-related .aspect-line { opacity: 1; stroke-width: 2.8; }
.planet-connector { stroke: #958499; stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.planet-disc { fill: #fffdf8; stroke: #c3af91; stroke-width: 1; vector-effect: non-scaling-stroke; }
.planet-glyph { fill: #3d1d47; font-family: "Segoe UI Symbol", serif !important; font-size: 21px; font-weight: 600; }
.planet-marker { transition: opacity 160ms ease; }
.planet-marker.is-interactive { cursor: pointer; outline: none; }
.planet-marker.is-interactive:hover .planet-disc,
.planet-marker.is-interactive:focus-visible .planet-disc { stroke: #8e6f2f; stroke-width: 2.2; }
.planet-marker.is-dimmed { opacity: 0.16; }
.planet-marker.is-related .planet-disc { stroke: #8e6f2f; stroke-width: 2; }
.planet-marker.is-selected .planet-disc { fill: #f5d88a; stroke: #3d1d47; stroke-width: 2.5; }
.retrograde-mark { fill: #8f3f3f; font-family: var(--mono) !important; font-size: 8px; font-weight: 700; }
.wheel-center { fill: #f6f1e9; stroke: #d4ae6a; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wheel-center-control { cursor: pointer; outline: none; }
.wheel-center-control:hover .wheel-center,
.wheel-center-control:focus-visible .wheel-center { stroke: #8e6f2f; stroke-width: 2; }
.center-title { fill: #3d1d47; font-family: var(--display) !important; font-size: 18px; font-weight: 600; }
.center-title.is-long { font-size: 14px; }
.center-subtitle { fill: #75667c; font-family: var(--mono) !important; font-size: 9px; letter-spacing: 0.04em; }
.center-hint { fill: #9a7a49; font-family: var(--sans) !important; font-size: 8px; }
.aspect-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.aspect-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-tipp { margin: 12px auto 0; max-width: 560px; text-align: center; color: var(--muted); font-size: 12px; }
.legend-line { width: 24px; height: 2px; }
.legend-line.harmonic { background: #287da1; }
.legend-line.tense { background: #c54b35; }
.legend-line.neutral { background: #9b7100; }

.key-positions { padding: 28px; background: var(--aubergine); border-color: rgba(212, 174, 106, 0.55); }
.key-positions .step-label { color: var(--gold-bright); }
.key-positions h3,
.data-card h3 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.key-positions h3 { color: #f0dfc0; }
#big-three { display: grid; gap: 10px; margin-top: 22px; }
.big-three-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(240, 223, 192, 0.14); }
.big-three-row:last-child { border-bottom: 0; }
.big-three-glyph { color: var(--gold-bright); font-family: "Segoe UI Symbol", serif; font-size: 28px; line-height: 1; }
.big-three-name { display: block; color: rgba(240, 223, 192, 0.6); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.big-three-position { color: #f0dfc0; font-weight: 600; }
.chart-facts { display: grid; gap: 8px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(240, 223, 192, 0.18); }
.chart-facts div { display: flex; justify-content: space-between; gap: 12px; }
.chart-facts dt { color: rgba(240, 223, 192, 0.56); font-size: 12px; }
.chart-facts dd { margin: 0; color: rgba(240, 223, 192, 0.9); font-size: 12px; text-align: right; }

.data-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; margin-top: 24px; }
.data-card { padding: clamp(22px, 4vw, 34px); background: var(--card); }
.card-heading { margin-bottom: 20px; }
.data-card h3 { color: var(--aubergine); }
.table-scroll { overflow-x: auto; border:2px solid var(--aubergine); border-radius:12px; background:var(--card); }
@media screen{
.table-scroll.kann-scrollen::before{content:"seitlich verschiebbar \2192"; position:sticky; left:0; display:block; background:var(--aubergine); color:var(--gold-bright); font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-align:right; padding:5px 12px;}
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e8ded0; text-align: left; white-space: nowrap; }
th { color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
td { font-size: 14px; }
.object-cell { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.object-glyph { width: 24px; color: var(--aubergine); font-family: "Segoe UI Symbol", serif; font-size: 20px; text-align: center; }
.retrograde { color: var(--error); font-size: 10px; font-weight: 700; text-transform: uppercase; }

.axis-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.axis-item { padding: 14px; background: var(--sand); border-left: 3px solid var(--gold); }
.axis-key { display: block; color: var(--gold-deep); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.axis-position { display: block; margin-top: 3px; color: var(--aubergine); font-weight: 700; }
.house-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.house-item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.house-number { display: block; color: var(--gold-deep); font-family: var(--mono); font-size: 10px; }
.house-position { display: block; font-size: 13px; font-weight: 600; text-align: right; }
.aspect-meanings { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.aspect-meanings h4 { margin: 0 0 14px; color: var(--aubergine); font-family: var(--display); font-size: 20px; font-weight: 600; }
.aspect-meanings dl { display: grid; gap: 6px; margin: 0; }
.aspect-meanings dl div { display: grid; grid-template-columns: minmax(145px, 0.8fr) 1.2fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid #e8ded0; }
.aspect-meanings dt { color: var(--aubergine); font-size: 12px; font-weight: 700; }
.aspect-meanings dt span { display: inline-block; width: 22px; color: var(--gold-deep); font-family: "Segoe UI Symbol", serif; font-size: 16px; text-align: center; }
.aspect-meanings dd { margin: 0; color: var(--muted); font-size: 12px; }
.aspects-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.aspect-row { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; background: var(--sand); border-left: 3px solid var(--gold-deep); font-size: 13px; }
.aspect-row.harmonic { border-left-color: #287da1; }
.aspect-row.tense { border-left-color: #c54b35; }
.aspect-name { color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; text-transform: uppercase; }
.aspect-orb { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.empty-message { color: var(--muted); font-size: 14px; }
.signatures-card { grid-column: 1 / -1; }
.signature-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.signature-layout h4 { margin: 0 0 16px; color: var(--aubergine); font-family: var(--display); font-size: 21px; font-weight: 600; }
.signature-list { display: grid; gap: 13px; }
.signature-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
.signature-label { color: var(--ink); font-size: 13px; font-weight: 600; }
.signature-count { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.signature-bar { position: relative; display: block; overflow: hidden; height: 8px; background: var(--sand-2); border-radius: 999px; }
.signature-bar::after { position: absolute; inset: 0 auto 0 0; width: var(--signature-value); background: var(--gold); border-radius: inherit; content: ""; }
.signature-bar.fire::after { background: #c96f49; }
.signature-bar.earth::after { background: #718454; }
.signature-bar.air::after { background: #b89c3f; }
.signature-bar.water::after { background: #4f8997; }
.signature-bar.cardinal::after { background: #7b4f86; }
.signature-bar.fixed::after { background: #a47338; }
.signature-bar.mutable::after { background: #527b70; }
.einordnung-card { margin-top: clamp(22px, 4vw, 34px); }
.einordnung-vorwort { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.einordnung-zeile { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e8ded0; }
.einordnung-zeile:last-child { border-bottom: 0; padding-bottom: 4px; }
.einordnung-glyph { color: var(--gold-deep); font-family: "Segoe UI Symbol", serif; font-size: 26px; line-height: 1.2; text-align: center; }
.einordnung-rolle { display: block; color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.einordnung-stellung { display: block; margin: 2px 0 5px; color: var(--aubergine); font-weight: 600; }
.einordnung-satz { margin: 0; max-width: 62ch; }
@media (max-width: 560px) {
  .einordnung-zeile { grid-template-columns: 34px 1fr; gap: 11px; }
  .einordnung-glyph { font-size: 21px; }
}

.calculation-note { max-width: 840px; margin: 28px auto 0; color: var(--muted); font-size: 11px; text-align: center; }
.print-footer { display: none; }

footer { padding: 46px 20px; color: rgba(240, 223, 192, 0.78); text-align: center; background: var(--aubergine-deep); }
footer img { display: block; width: 70px; height: 70px; margin: 0 auto 10px; }
.footer-line { margin: 0 0 18px; color: var(--gold-bright); font-family: var(--display); font-size: 20px; }
footer nav { display: flex; justify-content: center; gap: 22px; font-size: 13px; }
footer a { text-underline-offset: 3px; }
.footer-rights { margin: 12px 0 0; color: rgba(240, 223, 192, 0.64); font-size: 11px; }
/* Kurs-Hinweis unter dem Ergebnis: siehe Kommentar im Markup. */
.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; }

.osm-credit { margin: 4px 0 0; color: rgba(240, 223, 192, 0.5); font-size: 10px; }
.ki-credit { margin: 4px 0 0; color: rgba(240, 223, 192, 0.5); font-size: 10px; }

@media (max-width: 880px) {
  .page-wrap,
  .chart-layout,
  .data-grid { grid-template-columns: 1fr; }
  .method-card { max-width: none; }
  .results-heading { align-items: start; flex-direction: column; }
  .result-actions { align-items: flex-start; }
  .result-buttons { justify-content: flex-start; }
  .print-help { text-align: left; }
  .hero-radix-left { top: -205px; left: -345px; width: 640px; height: 640px; opacity: 0.3; }
  .hero-radix-right { right: -150px; bottom: -70px; width: 350px; height: 350px; opacity: 0.2; }
}

@media (max-width: 600px) {
  .site-header { min-height: 64px; padding-inline: 16px; }
  .brand { font-size: 23px; }
  .brand img { width: 40px; height: 40px; }
  .back-link { font-size: 12px; }
  .page-wrap,
  .results-wrap { width: min(100% - 24px, 1180px); }
  .form-panel,
  .method-card,
  .key-positions,
  .data-card { padding: 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .place-search-row { grid-template-columns: 1fr; }
  .place-search-row .button { width: 100%; }
  .chart-card { padding: 6px; }
  .axis-list { grid-template-columns: 1fr; }
  .intro { min-height: 480px; }
  .hero-star-orbit-two { display: none; }
  .hero-star-orbit-one { width: 540px; height: 250px; margin: -125px 0 0 -270px; opacity: 0.6; }
  .hero-radix-left { top: -165px; left: -285px; width: 520px; height: 520px; }
  .hero-radix-right { right: -125px; bottom: -45px; width: 280px; height: 280px; }
  .house-list { grid-template-columns: 1fr; }
  .aspect-meanings dl div { grid-template-columns: 1fr; gap: 2px; }
  .signature-layout { grid-template-columns: 1fr; gap: 28px; }
  .aspect-row { grid-template-columns: 1fr auto 1fr; }
  .aspect-orb { grid-column: 1 / -1; text-align: center; }
  .result-actions { width: 100%; }
  .result-actions .button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  @page { margin: 12mm 12mm 19mm; }
  body { color: #111; background: #fff; font-size: 11pt; }
  .site-header, .intro, .calculator-section, .result-actions, footer, .aspect-legend, .chart-tipp, .kurs-hinweis { display: none !important; }
  .results-section { padding: 0; background: #fff; border: 0; }
  .results-wrap { width: 100%; }
  .chart-layout { grid-template-columns: 1.5fr 0.7fr; gap: 12px; }
  .data-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chart-card, .key-positions, .data-card { break-inside: avoid; box-shadow: none; }
  .key-positions { color: #111; background: #fff; border-color: #999; }
  .key-positions h3, .big-three-position, .chart-facts dd { color: #111; }
  .key-positions .step-label, .big-three-glyph { color: #6a4a12; }
  .big-three-name, .chart-facts dt { color: #555; }
  .result-name-note { color: #555; }
  .print-footer { position: fixed; right: 0; bottom: -10mm; left: 0; display: block; margin: 0; padding-top: 3mm; color: #555; border-top: 1px solid #bbb; font-size: 8pt; text-align: center; }
}
