/* ==========================================================================
   Arcane Astro – Theme "Cosmos" (mystisch, leuchtend, animiert)
   Dunkel = Mitternacht mit violettem Nebel · Hell = Morgendämmerung mit Lavendel-Dunst
   Animationen respektieren "Bewegung reduzieren" und den Admin-Schalter.
   ========================================================================== */

@font-face { font-family: "Cinzel"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(../fonts/cinzel-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(../fonts/cinzel-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: italic; font-display: swap; font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-display: swap; font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-ext-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Farben ---------- */
:root, :root[data-theme="dark"] {
  --bg: #0b0718;
  --bg-2: #160f2e;
  --bg-3: #221846;
  --card: linear-gradient(160deg, rgba(58, 38, 112, .42), rgba(20, 12, 44, .62));
  --card-solid: #1a1236;
  --card-border: rgba(226, 182, 92, .28);
  --card-border-strong: rgba(240, 207, 128, .6);
  --text: #f3ecff;
  --muted: #b9add6;
  --gold: #e2b65c;
  --gold-2: #f6d98f;
  --gold-3: #fff1c1;
  --accent: #a77bff;
  --danger: #ff7a85;
  --ok: #6fe0b0;
  --shadow: 0 18px 60px rgba(4, 0, 20, .55);
  --glow: 0 0 22px rgba(226, 182, 92, .35);
  --glow-moon: #ffe9b0;
  --sparkle: #fff3cf;
  --card-top: #3a2470;
  --card-bottom: #170d33;
  --nebula-1: rgba(122, 64, 214, .55);
  --nebula-2: rgba(45, 72, 190, .45);
  --nebula-3: rgba(214, 120, 200, .28);
  --smoke-opacity: .16;
  --smoke-color: #e2d4ff;
  --stars-opacity: 1;
  --input-bg: rgba(10, 6, 26, .55);
  --moon-shadow: #2a2d45;
  --header-bg: rgba(11, 7, 24, .55);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f1e6;
  --bg-2: #efe6f6;
  --bg-3: #e6d9f3;
  --card: linear-gradient(160deg, rgba(255, 255, 255, .88), rgba(244, 236, 252, .82));
  --card-solid: #fffaf2;
  --card-border: rgba(156, 111, 34, .28);
  --card-border-strong: rgba(156, 111, 34, .6);
  --text: #2a1f45;
  --muted: #675b85;
  --gold: #a7761e;
  --gold-2: #8a5f12;
  --gold-3: #6e4a0b;
  --accent: #6f45d8;
  --shadow: 0 14px 40px rgba(90, 60, 140, .14);
  --glow: 0 0 18px rgba(167, 118, 30, .18);
  --glow-moon: #f5d78c;
  --sparkle: #b98b2e;
  --card-top: #fbf3e2;
  --card-bottom: #e9dcf5;
  --nebula-1: rgba(190, 160, 240, .45);
  --nebula-2: rgba(255, 210, 160, .45);
  --nebula-3: rgba(240, 180, 220, .35);
  --smoke-opacity: .32;
  --smoke-color: #9d82d6;
  --stars-opacity: 0;
  --input-bg: rgba(255, 255, 255, .8);
  --moon-shadow: #d9cfee;
  --header-bg: rgba(247, 241, 230, .72);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f7f1e6; --bg-2: #efe6f6; --bg-3: #e6d9f3;
    --card: linear-gradient(160deg, rgba(255,255,255,.88), rgba(244,236,252,.82)); --card-solid: #fffaf2;
    --card-border: rgba(156,111,34,.28); --card-border-strong: rgba(156,111,34,.6);
    --text: #2a1f45; --muted: #675b85; --gold: #a7761e; --gold-2: #8a5f12; --gold-3: #6e4a0b; --accent: #6f45d8;
    --shadow: 0 14px 40px rgba(90,60,140,.14); --glow: 0 0 18px rgba(167,118,30,.18); --glow-moon: #f5d78c; --sparkle: #b98b2e;
    --card-top: #fbf3e2; --card-bottom: #e9dcf5;
    --nebula-1: rgba(190,160,240,.45); --nebula-2: rgba(255,210,160,.45); --nebula-3: rgba(240,180,220,.35);
    --smoke-opacity: .32; --smoke-color: #9d82d6; --stars-opacity: 0; --input-bg: rgba(255,255,255,.8); --moon-shadow: #d9cfee; --header-bg: rgba(247,241,230,.72);
    color-scheme: light;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg); line-height: 1.6; min-height: 100vh;
  display: flex; flex-direction: column; overflow-x: hidden;
  font-family: "Cormorant", "Iowan Old Style", Palatino, Georgia, serif; font-size: 1.16rem;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold-3); }
h1, h2, h3 { font-family: "Cinzel", "Trajan Pro", Georgia, serif; font-weight: 500; line-height: 1.15; letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: .2em 0 .45em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.95rem); margin: 1.8em 0 .7em; }
h3 { font-size: 1.15rem; margin: .1em 0 .5em; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.gold { color: var(--gold); }
.container { width: min(1180px, 100% - 2rem); margin-inline: auto; position: relative; }
main { flex: 1; padding: 1.4rem 0 3.5rem; position: relative; z-index: 1; }
::selection { background: rgba(226, 182, 92, .35); }

.gold-text {
  background: linear-gradient(100deg, var(--gold-3), var(--gold) 40%, var(--gold-2) 60%, var(--gold-3));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s ease-in-out infinite;
}
.script { font-family: "Cormorant", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 0 1 120px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-title { text-align: center; margin: 2.6rem 0 .3rem; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 1.4rem; max-width: 620px; }

/* ---------- Himmel: Nebel, Sterne, Rauch ---------- */
.sky { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; transform: translateZ(0);
  background: radial-gradient(ellipse at 50% -20%, var(--bg-3), transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg) 55%); }
.nebula { position: absolute; border-radius: 50%; opacity: .9; will-change: transform; }
.nebula.n1 { width: 60vmax; height: 45vmax; left: -15vmax; top: -10vmax; background: radial-gradient(circle closest-side, var(--nebula-1), transparent); animation: drift-a 48s ease-in-out infinite alternate; }
.nebula.n2 { width: 55vmax; height: 40vmax; right: -18vmax; top: 20lvh; background: radial-gradient(circle closest-side, var(--nebula-2), transparent); animation: drift-b 60s ease-in-out infinite alternate; }
.nebula.n3 { width: 50vmax; height: 38vmax; left: 20vw; bottom: -20vmax; background: radial-gradient(circle closest-side, var(--nebula-3), transparent); animation: drift-a 70s ease-in-out infinite alternate-reverse; }
.stars { position: absolute; inset: -10%; opacity: var(--stars-opacity); background-repeat: repeat; }
.stars.s1 { background-image: url(../img/stars-1.svg); animation: twinkle 7s ease-in-out infinite; }
.stars.s2 { background-image: url(../img/stars-2.svg); animation: twinkle 5s ease-in-out infinite 1.5s; }
.stars.s3 { background-image: url(../img/stars-3.svg); animation: twinkle 3.6s ease-in-out infinite .7s; }
.smoke { position: absolute; width: 180%; height: 70%; background: var(--smoke-color); opacity: var(--smoke-opacity); will-change: transform;
  /* Rauch-Textur UND weicher Rand, damit keine Kanten sichtbar sind */
  -webkit-mask-image: url(../img/smoke.svg), radial-gradient(ellipse 50% 50% at 50% 50%, #000 35%, transparent 75%);
  -webkit-mask-size: cover, 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
  -webkit-mask-composite: source-in;
  mask-image: url(../img/smoke.svg), radial-gradient(ellipse 50% 50% at 50% 50%, #000 35%, transparent 75%);
  mask-size: cover, 100% 100%; mask-repeat: no-repeat; mask-position: center; mask-composite: intersect; }
.smoke-a { left: -40%; bottom: -12%; animation: smoke-a 70s linear infinite alternate; }
.smoke-b { right: -60%; top: 10%; opacity: calc(var(--smoke-opacity) * .7); transform: scaleX(-1); animation: smoke-b 95s linear infinite alternate; }

@keyframes drift-a { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-10vw, -5vh) scale(1.08); } }
@keyframes twinkle { 0%, 100% { opacity: calc(var(--stars-opacity) * 1); } 50% { opacity: calc(var(--stars-opacity) * .45); } }
@keyframes star-drift { to { background-position: 1100px 0; } }
@keyframes smoke-a { from { transform: translateX(0) scale(1); } to { transform: translateX(22%) scale(1.15); } }
@keyframes smoke-b { from { transform: scaleX(-1) translateX(0); } to { transform: scaleX(-1) translateX(-18%) translateY(-6%); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-border); }
.site-header .container { width: min(1320px, 100% - 2rem); display: flex; align-items: center; gap: 1.2rem; min-height: 72px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: "Cinzel", serif; font-size: 1.45rem; letter-spacing: .03em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .logo-mark { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(255, 220, 140, .45)); }
.brand b { font-weight: 500; }
.brand b span { color: var(--gold); }
.nav { display: flex; gap: clamp(.8rem, 1.4vw, 1.3rem); flex-wrap: wrap; margin-left: auto; align-items: center; font-family: "Cinzel", serif; font-size: .9rem; letter-spacing: .04em; }
.nav > a { color: var(--text); position: relative; padding: .3rem 0; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .3s; }
.nav > a:hover::after, .nav > a.active::after { transform: scaleX(1); }
.nav > a.active { color: var(--gold-2); }
.nav-tools { display: flex; gap: .5rem; align-items: center; }

.lang-menu { position: relative; font-family: "Cormorant", serif; }
.lang-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border: 1px solid var(--card-border); border-radius: 999px; color: var(--text); font-size: 1rem; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: "▾"; font-size: .75rem; color: var(--gold); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + .4rem); list-style: none; margin: 0; padding: .4rem; min-width: 170px; background: var(--card-solid); border: 1px solid var(--card-border-strong); border-radius: 14px; box-shadow: var(--shadow); max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain; z-index: 80; }
.lang-menu li a { display: flex; align-items: center; gap: .6rem; padding: .45rem .7rem; border-radius: 9px; color: var(--text); font-size: 1.05rem; }
.lang-menu li a:hover, .lang-menu li a[aria-current] { background: rgba(226, 182, 92, .16); color: var(--gold-2); }
.flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); flex: none; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; background: transparent; border: 1px solid var(--card-border); color: var(--gold-2); border-radius: 50%; cursor: pointer; font-size: 1.05rem; }
.theme-toggle:hover { box-shadow: var(--glow); }

/* ---------- Karten, Raster, Knöpfe ---------- */
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.35rem 1.5rem; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(6px); position: relative; }
.card.glow:hover { border-color: var(--card-border-strong); box-shadow: var(--shadow), var(--glow); }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .72rem 1.5rem; cursor: pointer; font: 600 1rem "Cinzel", serif; letter-spacing: .03em;
  color: #2a1a05; background: linear-gradient(135deg, #fff0bf, #e8bd62 45%, #c8913a); box-shadow: 0 6px 22px rgba(232, 189, 98, .35), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .2s, box-shadow .2s; }
.btn:hover { color: #2a1a05; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(232, 189, 98, .5), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.secondary { background: transparent; color: var(--gold-2); border: 1px solid var(--gold); box-shadow: none; }
.btn.secondary:hover { box-shadow: var(--glow); color: var(--gold-3); }
.btn.danger { background: var(--danger); color: #fff; box-shadow: none; }
.btn.small { padding: .35rem .9rem; font-size: .8rem; }
.inline { display: inline; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font: .78rem/1.4 system-ui, sans-serif; padding: .12rem .6rem; border-radius: 999px; border: 1px solid var(--card-border); color: var(--muted); }
.badge.warn { color: var(--danger); border-color: var(--danger); }
.badge.good { color: var(--ok); border-color: var(--ok); }
.badge.soon { color: var(--gold-2); border-color: var(--gold); background: rgba(226, 182, 92, .1); }

/* ---------- Startseite ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5rem; align-items: center; padding: 1.2rem 0 1rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: .1em 0 .35em; }
.hero h1 .script { display: block; font-size: 1.12em; }
.hero p.lead { font-size: 1.32rem; color: var(--muted); max-width: 540px; margin: 0 0 1.6rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-art { width: 100%; height: auto; overflow: visible; }
.ha-glyph { font: 22px "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; fill: var(--gold-2); }
.ha-wheel { transform-origin: 290px 265px; animation: spin 140s linear infinite; }
.ha-rays { transform-origin: 290px 265px; animation: spin 60s linear infinite reverse; }
.ha-moon-glow { transform-origin: 468px 108px; animation: pulse 6s ease-in-out infinite; }
.ha-candle-glow { animation: candle-glow 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ha-flame { animation: flicker 1.6s ease-in-out infinite; filter: drop-shadow(0 0 6px #ffb347); }
.ha-candle:nth-of-type(2n) .ha-flame { animation-duration: 1.25s; animation-delay: -.4s; }
.ha-sparkles path { animation: sparkle 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ha-shine { animation: shine 5s ease-in-out infinite; }
.ha-cards { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.ha-crystals { filter: drop-shadow(0 0 12px rgba(167, 123, 255, .55)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes candle-glow { 0%, 100% { opacity: .85; transform: scale(1); } 40% { opacity: 1; transform: scale(1.06); } 70% { opacity: .75; transform: scale(.97); } }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0); }
  20% { transform: scale(.94, 1.06) skewX(2deg); }
  40% { transform: scale(1.04, .95) skewX(-2deg); }
  60% { transform: scale(.97, 1.04) skewX(1deg); }
  80% { transform: scale(1.02, .98) skewX(-1deg); }
}
@keyframes sparkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes shine { 0%, 100% { opacity: .1; } 50% { opacity: .55; } }

.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; margin-top: .6rem; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.feature { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); padding: 1rem .95rem; min-width: 0; }
.feature > div { min-width: 0; }
.feature:hover { color: var(--text); transform: translateY(-2px); }
.feature { transition: transform .25s, border-color .25s, box-shadow .25s; }
.feature .icon { width: 38px; height: 38px; flex: none; color: var(--gold); filter: drop-shadow(0 0 6px rgba(226, 182, 92, .45)); }
.feature h3 { font-size: .86rem; margin: 0 0 .25rem; overflow-wrap: anywhere; hyphens: auto; }
.feature p { margin: 0; font-size: .98rem; color: var(--muted); line-height: 1.35; }
.feature .arrow { position: absolute; right: .8rem; bottom: .55rem; color: var(--gold); }

.zodiac-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem .4rem; }
@media (max-width: 1100px) { .zodiac-row { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 560px) { .zodiac-row { grid-template-columns: repeat(4, 1fr); } .zodiac-item .ring { width: 58px; height: 58px; font-size: 26px; } }
.zodiac-item { text-align: center; color: var(--text); display: block; }
.zodiac-item:hover { color: var(--text); }
.zodiac-item .ring { width: 68px; height: 68px; margin: 0 auto .45rem; border-radius: 50%; display: grid; place-items: center; font: 30px "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; color: var(--gold-2);
  border: 1.5px solid var(--gold); background: radial-gradient(circle at 50% 40%, rgba(226, 182, 92, .18), transparent 70%); box-shadow: inset 0 0 14px rgba(226, 182, 92, .25), 0 0 0 4px rgba(226, 182, 92, .06); transition: box-shadow .3s, transform .3s; }
.zodiac-item:hover .ring { transform: translateY(-3px); box-shadow: inset 0 0 18px rgba(226, 182, 92, .45), 0 0 22px rgba(226, 182, 92, .45); }
.zodiac-item .name { font-family: "Cinzel", serif; font-size: .92rem; display: block; }
.zodiac-item .dates { font-size: .82rem; color: var(--muted); }

.tarot-teaser { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: center; padding: 2rem; overflow: hidden; }
.kicker { font-family: "Cinzel", serif; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-size: .8rem; }
.tarot-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 190px)); gap: 1rem; justify-content: center; }
.tarot-card { aspect-ratio: 2 / 3; border-radius: 14px; padding: .9rem; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(226, 182, 92, .25), transparent 55%), linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 2px solid var(--gold); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .15), inset 0 0 0 6px rgba(226, 182, 92, .4), var(--shadow); transition: transform .35s; }
.tarot-card:hover { transform: translateY(-6px) rotate(-1deg); }
.tarot-card .icon { width: 58%; height: auto; margin: auto auto .6rem; color: var(--gold-2); filter: drop-shadow(0 0 10px rgba(255, 215, 130, .6)); }
.tarot-card h3 { font-size: 1rem; margin: 0; }
.tarot-card p { font-size: .9rem; margin: .2rem 0 .3rem; color: var(--muted); line-height: 1.25; }

.moon-today { display: flex; align-items: center; gap: 1.2rem; }
.moon-disc { width: 92px; height: 92px; flex: none; filter: drop-shadow(0 0 16px rgba(255, 225, 150, .45)); }
.big-number { font-size: 2rem; font-family: "Cinzel", serif; color: var(--gold-2); line-height: 1.2; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* Sternzeichen-Kacheln (Übersicht) */
.grid-signs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sign-tile { text-align: center; padding: 1.1rem .6rem; display: block; color: var(--text); transition: transform .25s, border-color .25s, box-shadow .25s; }
.sign-tile:hover { transform: translateY(-3px); border-color: var(--card-border-strong); box-shadow: var(--shadow), var(--glow); color: var(--text); }
.sign-tile .symbol { font: 2.2rem "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; color: var(--gold-2); display: block; line-height: 1.3; }
.sign-tile .name { font-family: "Cinzel", serif; font-size: 1.05rem; display: block; }
.sign-tile .dates { font-size: .85rem; color: var(--muted); }
.sign-hero { text-align: center; padding: .5rem 0 1rem; }
.sign-hero .ring { width: 120px; height: 120px; font-size: 56px; margin: 0 auto .4rem; }

/* ---------- Tabellen & Formulare ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
th, td { text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--card-border); vertical-align: top; }
th { color: var(--muted); font: 600 .8rem "Cinzel", serif; letter-spacing: .05em; }
td.sym { color: var(--gold-2); width: 2rem; font-size: 1.15rem; }
form .field { margin-bottom: 1rem; }
label { display: block; font-size: 1rem; color: var(--muted); margin-bottom: .3rem; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=url], input[type=month], select, textarea {
  width: 100%; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--card-border); background: var(--input-bg); color: var(--text); font: 1.05rem system-ui, -apple-system, "Segoe UI", sans-serif; }
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; box-shadow: var(--glow); }
.row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.check { display: flex; gap: .5rem; align-items: center; color: var(--text); }
.check input { width: auto; }
.alert { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1rem; border: 1px solid; font-family: system-ui, sans-serif; font-size: .95rem; }
.alert.error { border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.alert.success { border-color: var(--ok); color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.alert.info { border-color: var(--gold); color: var(--gold-2); background: rgba(226, 182, 92, .1); }
.error-text { color: var(--danger); font: .88rem system-ui, sans-serif; margin-top: .25rem; }

.autocomplete { position: relative; }
.autocomplete ul { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: .25rem 0 0; padding: .3rem; list-style: none; background: var(--card-solid); border: 1px solid var(--card-border-strong); border-radius: 12px; box-shadow: var(--shadow); max-height: 280px; overflow-y: auto; }
.autocomplete li { padding: .5rem .65rem; border-radius: 8px; cursor: pointer; font-family: system-ui, sans-serif; font-size: .95rem; }
.autocomplete li[aria-selected=true], .autocomplete li:hover { background: rgba(226, 182, 92, .18); }

.big3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; text-align: center; }
.big3 .card .symbol { font: 2.7rem "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; color: var(--gold-2); line-height: 1.2; text-shadow: 0 0 18px rgba(255, 215, 130, .55); }
.big3 .label { color: var(--muted); font: .78rem "Cinzel", serif; text-transform: uppercase; letter-spacing: .16em; }
.big3 .value { font-family: "Cinzel", serif; font-size: 1.35rem; }

/* Mondkalender */
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45rem; }
.calendar .day { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.calendar .dow { text-align: center; color: var(--muted); font: .8rem "Cinzel", serif; padding-bottom: .2rem; }
.calendar .day { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: .45rem; min-height: 102px; font: .8rem/1.35 system-ui, sans-serif; }
.calendar .day.empty { background: none; border: 0; }
.calendar .day.today { border-color: var(--gold); box-shadow: var(--glow); }
.calendar .day .num { font: 600 1rem "Cinzel", serif; }
.calendar .day .phase { font-size: 1.3rem; line-height: 1; }
.calendar .day .event { color: var(--gold-2); display: block; font-weight: 600; }
@media (max-width: 640px) { .calendar { gap: .25rem; } .calendar .day { min-height: 70px; font-size: .62rem; padding: .25rem; border-radius: 9px; } .calendar .day .ingress, .calendar .day .sign-name { display: none; } .calendar .day .num { font-size: .85rem; } .calendar .day .phase { font-size: 1rem; } .calendar .day .muted { font-size: .85rem; } }

/* ---------- Fußzeile ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--card-border); padding: 2rem 0 1.5rem; color: var(--muted); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .18)); }
.footer-top { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.footer-top .brand { font-size: 1.25rem; }
.footer-tagline { font-family: "Cinzel", serif; font-size: .82rem; letter-spacing: .1em; color: var(--gold); }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-family: "Cinzel", serif; font-size: .85rem; }
.footer-links a { color: var(--text); }
.social { display: flex; gap: .6rem; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--card-border); color: var(--gold-2); }
.social a:hover { box-shadow: var(--glow); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; font: .85rem/1.5 system-ui, sans-serif; }
.disclaimer { max-width: 640px; }

/* ---------- Admin & Installer ---------- */
.admin-nav { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.admin-nav a { padding: .4rem 1rem; border: 1px solid var(--card-border); border-radius: 999px; color: var(--text); font: .85rem "Cinzel", serif; }
.admin-nav a.active { border-color: var(--gold); color: var(--gold-2); box-shadow: var(--glow); }
.stat .big-number { display: block; }
fieldset { border: 1px solid var(--card-border); border-radius: 16px; padding: 1rem 1.2rem .2rem; margin: 0 0 1.2rem; background: var(--card); }
legend { color: var(--gold-2); padding: 0 .5rem; font-family: "Cinzel", serif; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--card-border); align-items: center; }
.admin-banner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.maint-flag { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; background: var(--card-solid); border: 1px solid var(--gold); color: var(--gold-2); padding: .4rem 1rem; border-radius: 999px; font: .85rem system-ui, sans-serif; box-shadow: var(--shadow); }
.install { max-width: 660px; margin: 2rem auto; }
.steps { display: flex; gap: .5rem; margin-bottom: 1.4rem; font: .85rem system-ui, sans-serif; }
.steps span { flex: 1; text-align: center; padding: .4rem; border-radius: 999px; border: 1px solid var(--card-border); color: var(--muted); }
.steps span.on { border-color: var(--gold); color: var(--gold-2); }

/* Wartungsseite */
.maintenance { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem 1rem; position: relative; z-index: 1; }
.maintenance .hero-art { max-width: 420px; margin: 0 auto; }
.maintenance h1 { margin-top: .4rem; }
.maintenance p { color: var(--text); opacity: .85; max-width: 520px; margin: 0 auto 1rem; font-size: 1.25rem; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .tarot-teaser { grid-template-columns: 1fr; text-align: center; padding: 1.4rem; }
}
@media (max-width: 720px) {
  .tarot-cards { gap: .5rem; }
  .maint-flag { left: auto; right: 10px; bottom: 10px; transform: none; font-size: .72rem; padding: .3rem .7rem; max-width: 60vw; }
}

/* ---------- Animationen aus ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body.no-anim *, body.no-anim *::before, body.no-anim *::after { animation: none !important; }

.moon-shadow { fill: var(--moon-shadow); }

/* ---------- Admin: Seitenleiste links ---------- */
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.6rem; align-items: stretch; min-height: calc(100vh - 13rem); }
.admin-side { display: flex; }
.admin-menu { flex: 1; background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: .6rem; backdrop-filter: blur(8px); }
.admin-menu > summary { display: none; }
.admin-menu nav { position: sticky; top: 5.6rem; display: flex; flex-direction: column; gap: .15rem; }
.admin-link { display: block; padding: .45rem .8rem .45rem 2.1rem; border-radius: 10px; color: var(--text); font-size: .95rem; border-left: 2px solid transparent; }
.admin-link.top { padding-left: .8rem; font: .9rem "Cinzel", serif; letter-spacing: .04em; }
.admin-link:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); text-decoration: none; }
.admin-link.active { color: var(--gold-2); border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.admin-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; padding: .5rem .8rem; border-radius: 10px; font: .9rem "Cinzel", serif; letter-spacing: .04em; color: var(--text); user-select: none; }
.admin-group > summary::-webkit-details-marker { display: none; }
.admin-group > summary::after { content: "›"; margin-left: auto; transition: transform .2s; color: var(--muted); }
.admin-group[open] > summary::after { transform: rotate(90deg); }
.admin-group > summary:hover { background: color-mix(in srgb, var(--gold) 8%, transparent); }
.admin-group .ico { width: 1.1rem; text-align: center; color: var(--gold); }
.admin-main { min-width: 0; }
.admin-main > h1:first-child { margin-top: 0; }
.meter { height: 6px; border-radius: 99px; background: var(--card-border); margin-top: .6rem; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.meter span.warn { background: linear-gradient(90deg, #d9822b, #e5484d); }
.model-compare summary { cursor: pointer; }
.model-select { font-size: .92rem; }
.model-custom { margin-top: .5rem; }
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-shell { min-height: 0; }
  .admin-menu nav { position: static; }
  .admin-menu > summary { display: block; cursor: pointer; list-style: none; font: .95rem "Cinzel", serif; padding: .4rem .6rem; color: var(--gold-2); }
  .admin-menu > summary::-webkit-details-marker { display: none; }
}

/* ---------- Tarot ---------- */
.page-hero { text-align: center; margin: 1rem 0 1.8rem; }
.page-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: .4rem auto 0; }
.chip { display: inline-block; padding: .15rem .7rem; margin: 0 .35rem .35rem 0; border: 1px solid var(--card-border); border-radius: 999px; font-size: .9rem; background: color-mix(in srgb, var(--gold) 8%, transparent); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* Karten: einfache 2D-Animation (3D-Drehungen flackern auf manchen Handys) */
.tcard { --delay: 0ms; width: 100%; aspect-ratio: 200 / 340; }
.tcard-inner { position: relative; width: 100%; height: 100%; }
.tcard-face { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 22px rgba(0, 0, 0, .45), 0 0 14px rgba(226, 182, 92, .18); }
.tcard-back { display: none; }
.tcard-face img, .tarot-svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.tcard.reversed .tcard-face { transform: rotate(180deg); }
.tcard.flip .tcard-inner { animation: tarot-reveal .9s ease-out var(--delay) both; }
@keyframes tarot-reveal { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tcard.flip .tcard-inner { animation: none; } }
.tc-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .4rem .55rem; text-align: center; font: 500 clamp(.62rem, 1.6vw, .85rem)/1.2 "Cinzel", serif; letter-spacing: .05em; color: #f6e7c1;
  background: linear-gradient(180deg, transparent, rgba(12, 6, 26, .88) 55%); text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.tc-num-badge { position: absolute; top: .45rem; left: 50%; transform: translateX(-50%); font: 500 .75rem "Cinzel", serif; color: #f6e7c1; background: rgba(12, 6, 26, .65); padding: .05rem .5rem; border-radius: 999px; }

.tarot-svg .tc-bg { fill: #1d1236; stroke: #e2b65c; stroke-width: 1.5; }
.tarot-svg .tc-bg.back { fill: #170d2c; }
.tarot-svg .tc-line { fill: none; stroke: #e2b65c; stroke-width: 1.4; }
.tarot-svg .tc-line.thin { stroke-width: .6; opacity: .7; }
.tarot-svg .tc-halo { fill: rgba(226, 182, 92, .07); stroke: rgba(226, 182, 92, .25); }
.tarot-svg .g { fill: none; stroke: #f0cf86; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tarot-svg .g.thin { stroke-width: 1; }
.tarot-svg .g.dash { stroke-dasharray: 3 4; }
.tarot-svg .gf { fill: #f0cf86; }
.tarot-svg text { font-family: "Cinzel", serif; text-anchor: middle; }
.tarot-svg .tc-num { fill: #f0cf86; font-size: 16px; letter-spacing: .1em; }
.tarot-svg .tc-name { fill: #f6e7c1; letter-spacing: .06em; }

.tarot-daily { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 2rem; align-items: center; padding: 2rem; }
.tarot-daily-card { display: block; }
.tarot-keywords { margin: .2rem 0 .6rem; }
.tarot-form { max-width: 820px; margin: 0 auto; }
.spread-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem; margin-bottom: 1.1rem; }
.spread-option input { position: absolute; opacity: 0; pointer-events: none; }
.spread-box { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1rem; border: 1px solid var(--card-border); border-radius: 14px; cursor: pointer; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.spread-box strong { font-family: "Cinzel", serif; }
.spread-option input:checked + .spread-box { border-color: var(--gold); box-shadow: var(--glow); transform: translateY(-2px); }
.spread-option input:focus-visible + .spread-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.spread-cards { display: flex; justify-content: center; gap: .35rem; margin-bottom: .3rem; }
.spread-cards i { width: 22px; height: 36px; border-radius: 4px; border: 1px solid var(--gold); background: linear-gradient(160deg, #2a1a4f, #140b28); box-shadow: 0 0 8px rgba(226, 182, 92, .25); }
.tarot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1.1rem; }
.tarot-grid-item { display: flex; flex-direction: column; gap: .4rem; text-align: center; color: var(--text); transition: transform .2s; }
.tarot-grid-item:hover { transform: translateY(-4px); text-decoration: none; }
.tarot-detail { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 2rem; align-items: start; }
.reading-cards { display: grid; gap: 1.6rem; justify-content: center; grid-template-columns: repeat(3, minmax(0, 220px)); margin-bottom: 1.6rem; }
.reading-cards.count-1 { grid-template-columns: minmax(0, 240px); }
.reading-card { margin: 0; text-align: center; }
.reading-card figcaption { margin-bottom: .6rem; }
.reading-card h3 { margin: .8rem 0 .3rem; font-size: 1.05rem; }
.reading-text { max-width: 820px; margin: 0 auto 1.2rem; }
@media (max-width: 760px) {
  .tarot-daily, .tarot-detail { grid-template-columns: 1fr; text-align: center; }
  .tarot-daily-card, .tarot-detail-card { width: 100%; max-width: 200px; margin: 0 auto; }
  .reading-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
  .reading-card .tarot-keywords { display: none; }
}
.checklist li > span { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Kopfzeile: Menü-Knopf fürs Handy ---------- */
.site-header .nav-tools { order: 3; }
.nav { order: 2; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--card-border); background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--gold-2); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1240px) {
  .site-header .container { flex-wrap: nowrap; min-height: 62px; gap: .6rem; }
  .brand { font-size: 1.15rem; min-width: 0; margin-right: auto; }
  .brand b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand .logo-mark { width: 36px; height: 36px; flex: none; }
  .nav-tools { gap: .4rem; }
  .js .nav-burger { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav-open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card-solid); border: 1px solid var(--card-border); border-radius: 0 0 18px 18px; padding: .4rem 1rem 1rem; box-shadow: var(--shadow); z-index: 60; font-size: 1rem; }
  .js .nav-open .nav { flex-wrap: nowrap; max-height: calc(100dvh - 64px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .js .nav-open .nav > a { padding: .85rem .4rem; border-bottom: 1px solid var(--card-border); }
  .js .nav-open .nav > a:last-child { border-bottom: 0; }
  .js .nav-open .nav > a::after { display: none; }
  html:not(.js) .site-header .container { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; justify-content: center; font-size: .82rem; }
}
@media (max-width: 420px) {
  .brand b { font-size: 1rem; }
  .lang-menu .lang-code { display: none; }
  .theme-toggle, .nav-burger { width: 38px; height: 38px; }
  .lang-menu summary { padding: .3rem .5rem; }
}

/* ---------- Admin auf dem Handy ---------- */
@media (max-width: 860px) {
  .admin-menu { padding: .3rem; }
  .admin-menu:not([open]) { border-radius: 999px; }
  .admin-main h1 { font-size: 1.7rem; }
  .admin-main .card { padding: 1rem; }
  .admin-main .row { grid-template-columns: 1fr; }
  .admin-main table { font-size: .85rem; }
  .admin-banner { flex-direction: column; align-items: stretch; }
  .admin-banner .btn { width: 100%; justify-content: center; }
  .model-select { font-size: .8rem; }
}

/* ---------- Bilder ---------- */
.suit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.suit-tile { text-align: center; color: var(--text); padding: .8rem .8rem 1rem; transition: transform .2s, box-shadow .2s; }
.suit-tile:hover { transform: translateY(-4px); box-shadow: var(--glow); text-decoration: none; }
.suit-tile img, .suit-head img { width: 100%; height: auto; border-radius: 12px; display: block; border: 1px solid var(--card-border); }
.suit-tile h3 { margin: .7rem 0 .2rem; }
.suit-head { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; align-items: center; margin: 2.6rem 0 1.2rem; scroll-margin-top: 90px; }
.suit-head h2 { margin: 0 0 .3rem; }
.suit-head p { margin: 0; }
.suit-head:not(:has(img)) { grid-template-columns: 1fr; }
@media (max-width: 600px) { .suit-head { grid-template-columns: 72px 1fr; } }

/* ---------- Startseite: Hero mit Bild ---------- */
.hero-visual { position: relative; width: 100vw; margin-left: calc(50% - 50vw); min-height: clamp(440px, 40vw, 560px); display: flex; align-items: center; overflow: hidden; margin-top: -1.4rem; }
.hero-bg { position: absolute; top: 0; right: 0; height: 100%; width: 68%; object-fit: cover; object-position: 38% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 92%, transparent 100%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 92%, transparent 100%), linear-gradient(180deg, #000 78%, transparent 100%); mask-composite: intersect; }
.hero-text { position: relative; z-index: 1; width: min(1180px, 100% - 2rem); margin-inline: auto; padding: 2.5rem 0 5rem; }
.hero-text > * { max-width: 560px; }
.hero-text > .actions { max-width: 680px; }
.hero-text h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.05; margin: .5rem 0 1rem; }
.hero-text .lead { font-size: 1.2rem; color: var(--text); opacity: .9; }
.hero-text .actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.features-lift { position: relative; z-index: 2; margin-top: -3.2rem; }
.tarot-card.with-img { padding: 0 0 .9rem; justify-content: flex-start; }
.tarot-card.with-img img { width: 100%; height: auto; aspect-ratio: 334 / 188; object-fit: cover; display: block; margin-bottom: auto; border-bottom: 1px solid var(--card-border); }
.tarot-card.with-img h3 { margin-top: .9rem; }
.tarot-card.with-img h3, .tarot-card.with-img p { padding: 0 .8rem; }
[data-theme="light"] .hero-text .lead { color: var(--text); }
@media (max-width: 900px) {
  .hero-visual { flex-direction: column; min-height: 0; margin-top: -1.4rem; }
  .hero-bg { position: relative; width: 100%; height: 300px; object-position: 46% center;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-text { text-align: center; padding: 0 0 2rem; margin-top: -2.5rem; }
  .hero-text > * { margin-inline: auto; }
  .hero-text .actions { justify-content: center; }
  .features-lift { margin-top: 0; }
}
html, body { overflow-x: clip; }
/* Handy: kein Weichzeichner hinter Kästen – spart Rechenleistung und verhindert Flackern */
@media (max-width: 900px) {
  .card, .admin-menu { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Admin: Kartenbilder */
.img-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; margin-bottom: 1.4rem; }
.img-admin-item { padding: .6rem; display: flex; flex-direction: column; gap: .6rem; scroll-margin-top: 90px; }
.img-admin-actions { display: flex; flex-direction: column; gap: .35rem; align-items: stretch; }
.img-admin-actions .btn, .img-admin-actions form, .img-admin-actions label { width: 100%; justify-content: center; margin: 0; }
.img-admin-actions .badge { justify-content: center; }

/* Deutung wird geladen */
.interpret-live { display: flex; align-items: center; gap: 1rem; padding: .6rem 0; }
.interpret-live .orb { width: 42px; height: 42px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d0, #e2b65c 45%, #7a4fd0 100%); box-shadow: 0 0 22px rgba(226, 182, 92, .6); animation: orb-pulse 1.6s ease-in-out infinite; }
@keyframes orb-pulse { 0%, 100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
.reveal-text { animation: tarot-reveal .8s ease-out both; }

/* ---------- Shop ---------- */
.shop-balance { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 900px; margin: 0 auto 1.4rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.shop-option input { position: absolute; opacity: 0; pointer-events: none; }
.shop-box { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; height: 100%; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.shop-option input:checked + .shop-box { border-color: var(--gold); box-shadow: var(--glow); transform: translateY(-3px); }
.shop-option input:focus-visible + .shop-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.shop-option input:disabled + .shop-box { opacity: .5; cursor: not-allowed; }
.shop-box.vip { background: linear-gradient(160deg, rgba(226, 182, 92, .16), rgba(120, 70, 200, .18)); }
.shop-flag { position: absolute; top: .7rem; right: .7rem; }
.shop-icon { font-size: 1.8rem; color: var(--gold-2); text-shadow: 0 0 14px rgba(255, 215, 130, .7); }
.shop-title { font-family: "Cinzel", serif; font-size: 1.15rem; }
.shop-price { font-family: "Cinzel", serif; font-size: 1.6rem; color: var(--gold-2); }
.shop-checkout { max-width: 1000px; margin: 1.2rem auto 0; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.shop-checkout .check { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.4; }
.shop-checkout .check input { margin-top: .25rem; flex: none; }

/* ---------- Kaffeesatz ---------- */
.coffee-steps { padding-left: 1.2rem; }
.coffee-steps li { margin-bottom: .5rem; }
.coffee-drop { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.4rem 1rem; border: 1.5px dashed var(--gold); border-radius: 16px; cursor: pointer; text-align: center; margin-bottom: 1rem; background: color-mix(in srgb, var(--gold) 6%, transparent); }
.coffee-drop:hover { box-shadow: var(--glow); }
.coffee-drop input { max-width: 100%; }
.coffee-drop-text { font-family: "Cinzel", serif; }
.coffee-previews { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.coffee-previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--card-border); }
/* Foto aufnehmen oder hochladen */
.photo-picker { border: 1.5px dashed var(--gold); border-radius: 16px; padding: 1.1rem 1rem; text-align: center; margin-bottom: 1rem; background: color-mix(in srgb, var(--gold) 6%, transparent); }
.pp-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pp-capture { display: none; }
.pp-buttons { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.pp-buttons .btn { margin: 0; cursor: pointer; }
.pp-hint { margin: .7rem 0 0; } .pp-hint:empty { display: none; }
.photo-picker .coffee-previews { margin-top: .8rem; } .photo-picker .coffee-previews:empty { display: none; }
.pp-thumb { position: relative; display: inline-block; }
.pp-remove { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--card-border); background: var(--bg, #120c24); color: var(--text, #fff); cursor: pointer; font-size: 1rem; line-height: 1; }
.pp-cam { border: 1px solid var(--card-border); border-radius: 18px; padding: .8rem; background: #0c0818; color: #fff; width: min(720px, 96vw); }
.pp-cam::backdrop { background: rgba(5, 3, 14, .82); }
.pp-cam video { width: 100%; max-height: 70vh; border-radius: 12px; background: #000; display: block; }
.pp-cam-bar { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: .8rem; }
.pp-cam-bar .btn { margin: 0; }
.pp-stage { position: relative; }
.pp-cam video.mirror { transform: scaleX(-1); }
.pp-stage { overflow: hidden; border-radius: 12px; }
.pp-guide { position: absolute; inset: 5% 8%; width: 84%; height: 90%; pointer-events: none; overflow: visible; color: #f3d27a; transition: color .25s; }
.pp-guide.flip { transform: scaleX(-1); }
.pp-guide-dim { fill: rgba(6, 4, 16, .5); }
.pp-guide-line, .pp-guide-glow { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pp-guide-line { stroke-width: 2.5; }
.pp-guide-glow { stroke-width: 9; opacity: .28; filter: blur(3px); }
.pp-guide-palm { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .55; vector-effect: non-scaling-stroke; }
.pp-cam.pp-ready .pp-guide { color: #5cf2b0; }
.pp-cam.pp-ready .pp-guide-dim { fill: rgba(6, 4, 16, .3); }
.pp-tip { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); margin: 0; padding: .45rem .9rem; border-radius: 999px; background: rgba(12, 8, 24, .82); color: #ffd98a; font-size: .95rem; text-align: center; width: max-content; max-width: 92%; border: 1px solid rgba(243, 210, 122, .5); }
.pp-tip:empty { display: none; }
.pp-tip.ok { color: #5cf2b0; border-color: rgba(92, 242, 176, .6); }
[data-pp-snap].ready { box-shadow: 0 0 0 3px rgba(92, 242, 176, .55), 0 0 22px rgba(92, 242, 176, .45); }
@media (pointer: coarse), (max-width: 640px) {
  .pp-cam.pp-guided { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: .5rem; border-radius: 0; border: 0; }
  .pp-cam.pp-guided[open] { display: flex; flex-direction: column; }
  .pp-cam.pp-guided .pp-stage { flex: 1; min-height: 0; }
  .pp-cam.pp-guided video { width: 100%; height: 100%; max-height: none; object-fit: cover; }
  .pp-cam.pp-guided .pp-guide { inset: 4% 5%; width: 90%; height: 86%; }
  .pp-cam.pp-guided .pp-cam-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .5rem; }
  .pp-cam.pp-guided .pp-cam-bar [data-pp-snap] { grid-column: 1 / -1; }
  .pp-cam.pp-guided .pp-cam-bar [data-pp-flip][hidden] + [data-pp-close] { grid-column: 1 / -1; }
  .pp-cam.pp-guided .pp-cam-bar .btn { padding: .6rem .5rem; font-size: .8rem; white-space: nowrap; justify-content: center; }
}

/* ---------- Hauptmenü mit Untermenüs ---------- */
.nav-group { position: relative; }
.nav-top { background: none; border: 0; color: var(--text); font: inherit; letter-spacing: inherit; cursor: pointer; padding: .3rem 0; display: inline-flex; align-items: center; gap: .3rem; }
.nav-top .caret { font-size: .7em; color: var(--gold); transition: transform .2s; }
.nav-group.active > .nav-top { color: var(--gold-2); }
.nav-sub { display: none; position: absolute; top: 100%; left: -1rem; min-width: 230px; flex-direction: column; padding: .4rem; margin-top: .3rem; background: var(--card-solid); border: 1px solid var(--card-border-strong); border-radius: 14px; box-shadow: var(--shadow); z-index: 70; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.nav-sub a { padding: .55rem .8rem; border-radius: 10px; color: var(--text); white-space: nowrap; }
.nav-sub a:hover, .nav-sub a.active { background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold-2); text-decoration: none; }
@media (min-width: 1241px) {
  .nav-group:hover > .nav-sub, .nav-group:focus-within > .nav-sub, .nav-group.open > .nav-sub { display: flex; }
  .nav-group:hover .caret, .nav-group.open .caret { transform: rotate(180deg); }
}
@media (max-width: 1240px) {
  .js .nav-open .nav .nav-group { border-bottom: 1px solid var(--card-border); padding: .3rem 0; }
  .js .nav-open .nav .nav-top { width: 100%; justify-content: space-between; padding: .7rem .4rem; color: var(--gold); font-size: .88rem; letter-spacing: .12em; cursor: pointer; }
  .js .nav-open .nav .nav-top .caret { display: inline-block; transition: transform .2s; }
  .js .nav-open .nav .nav-group.open .caret { transform: rotate(180deg); }
  /* Handy: Gruppen sind zugeklappt, ein Tipp klappt sie auf */
  .js .nav-open .nav .nav-sub { display: none; }
  .js .nav-open .nav .nav-group.open > .nav-sub { display: flex; position: static; box-shadow: none; border: 0; background: none; padding: 0 0 .3rem .6rem; margin: 0; min-width: 0; }
  .js .nav-open .nav .nav-sub a { padding: .55rem .4rem; font-size: .92rem; }
  .js .nav-open .nav { font-size: .95rem; }
}
.newsletter-box { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.6rem; align-items: center; margin-top: 2.4rem; padding: 1.8rem; }
.newsletter-form .check { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .8rem; }
@media (max-width: 860px) { .newsletter-box { grid-template-columns: 1fr; } }

/* ---------- Handy: ruhiger Hintergrund ohne teure Effekte (verhindert Flackern beim Scrollen) ---------- */
@media (max-width: 900px), (hover: none) {
  .nebula, .smoke { animation: none !important; will-change: auto; }
  .stars.s2, .stars.s3 { animation: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--card-solid); }
  .nebula.n1 { width: 110vw; height: 90vw; left: -40vw; top: -30vw; }
  .nebula.n2 { width: 100vw; height: 80vw; right: -45vw; left: auto; top: 50vw; }
  .nebula.n3 { width: 100vw; height: 80vw; left: 0; bottom: -40vw; }
}

.qr-box { width: 220px; max-width: 70vw; margin: .6rem auto 1rem; background: #fff; border-radius: 14px; padding: 6px; }
.qr-box svg { width: 100%; height: auto; display: block; }
.recovery-codes { display: flex; flex-wrap: wrap; gap: .4rem; }
.recovery-codes code, code.secret { font-size: 1rem; padding: .2rem .5rem; border-radius: 6px; background: color-mix(in srgb, var(--gold) 12%, transparent); }
.verify-banner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }

.google-btn { width: 100%; justify-content: center; background: #fff; color: #1f1f1f; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); margin: .4rem 0 .2rem; }
.google-btn:hover { color: #1f1f1f; background: #f5f5f5; }
.or-line { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--card-border); }

/* Admin: Module */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .9rem; }
.module-card { display: flex; align-items: center; gap: .9rem; cursor: pointer; padding: 1rem 1.1rem; }
.module-card.soon { opacity: .6; cursor: default; }
.module-icon { font-size: 1.6rem; width: 2.2rem; text-align: center; color: var(--gold-2); }
.module-body { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--card-border); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + i { background: var(--gold); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.status-list .dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .45rem; vertical-align: middle; }
.dot.ok { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot.bad { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.dot.info { background: var(--gold); }

/* Admin: Text-Editor */
.text-filter { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.text-filter select, .text-filter input { width: auto; flex: 1 1 220px; }
.text-rows { display: flex; flex-direction: column; gap: .7rem; }
.text-row { padding: .9rem 1rem; }
.text-key { margin-bottom: .5rem; font-family: ui-monospace, monospace; font-size: .78rem; }
.text-langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; }
.text-lang { display: flex; flex-direction: column; gap: .25rem; }
.text-lang textarea { min-height: 2.6rem; resize: vertical; font-size: .95rem; }
.text-orig { display: flex; flex-direction: column; gap: .15rem; }
.text-save { position: sticky; bottom: .8rem; z-index: 5; margin-top: 1rem; }
.text-save .btn { box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }
.art-item { display: flex; flex-direction: column; gap: .45rem; padding: .8rem; scroll-margin-top: 90px; }
.art-item form, .art-item .btn { width: 100%; justify-content: center; margin: 0; }
.art-preview { width: 100%; max-height: 180px; border-radius: 10px; overflow: hidden; background: var(--card-border); }
.art-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-grid-vip { max-width: 680px; margin-top: 1rem; }
/* Partnerhoroskop & persönliches Tageshoroskop */
.score-ring { --score: 50; width: 132px; height: 132px; margin: 1.1rem auto .4rem; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--score) * 1%), var(--card-border) 0); }
.score-ring > span { width: 112px; height: 112px; border-radius: 50%; background: var(--bg, #0b0718); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring b { font-size: 2.4rem; line-height: 1; color: var(--gold-2); font-family: var(--font-display, inherit); }
.score-ring small { color: var(--muted); }
.score-bars { display: grid; gap: .8rem; }
.score-bar { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 2.4rem; gap: .8rem; align-items: center; }
.score-bar b { text-align: right; color: var(--gold-2); }
.score-track { height: .6rem; border-radius: 999px; background: var(--card-border); overflow: hidden; }
.score-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.aspect-list li em { font-style: normal; color: var(--gold-2); }
.partner-form .is-hidden { display: none; }
@media (max-width: 560px) { .score-bar { grid-template-columns: 1fr 2.4rem; } .score-bar .score-track { grid-column: 1 / -1; grid-row: 2; } }
.account-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.shortcut-icon { font-size: 1.8rem; color: var(--gold-2); width: 2.4rem; text-align: center; }
#birth { scroll-margin-top: 90px; }
.aspect-list .badge { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 560px) { .aspect-list li { flex-wrap: wrap; gap: .3rem .8rem; } }
.mine-info { margin: -.3rem 0 .9rem 1.6rem; }
.maint-flag { display: flex; align-items: center; gap: .7rem; margin: 0; }
.maint-flag button { background: var(--gold); color: #1a1030; border: 0; border-radius: 999px; padding: .2rem .7rem; font: 600 .78rem system-ui, sans-serif; cursor: pointer; }
.cf-turnstile { margin: .4rem 0 .8rem; }
.brand .logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; display: block; }
@media (max-width: 560px) { .brand .logo-img { height: 36px; max-width: 160px; } }
.art-preview.contain { display: grid; place-items: center; padding: .6rem; }
.art-preview.contain img { object-fit: contain; max-height: 150px; }
.art-preview .logo-mark { width: 64px; height: 64px; }
/* Kundenbereich: mystische Seitennavigation */
.account-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.6rem; align-items: start; margin-top: .6rem; }
.account-menu { position: sticky; top: 5.6rem; border: 1px solid var(--card-border); border-radius: 18px; padding: 1rem .7rem;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%), var(--card); backdrop-filter: blur(8px); }
.account-menu > summary { display: none; }
.account-id { display: flex; gap: .8rem; align-items: center; padding: .2rem .5rem 1rem; margin-bottom: .6rem; border-bottom: 1px solid var(--card-border); }
.account-id strong { display: block; font-family: "Cinzel", serif; letter-spacing: .03em; overflow-wrap: anywhere; }
.account-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 1.3rem "Cinzel", serif; color: #1a1030;
  background: radial-gradient(circle at 35% 30%, #fff1c1, var(--gold) 55%, #8a6420); box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 45%, transparent); }
.account-menu nav { display: flex; flex-direction: column; gap: .15rem; }
.account-link { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .55rem .8rem; border-radius: 12px; color: var(--text); font: .92rem "Cinzel", serif; letter-spacing: .03em;
  border: 0; border-left: 2px solid transparent; background: none; cursor: pointer; text-align: left; }
.account-link .ico { width: 1.3rem; text-align: center; color: var(--gold); font-size: 1.05rem; }
.account-link:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); text-decoration: none; }
.account-link.active { color: var(--gold-2); border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, transparent); box-shadow: inset 0 0 22px color-mix(in srgb, var(--gold) 10%, transparent); }
.account-logout { margin: .5rem 0 0; padding-top: .5rem; border-top: 1px solid var(--card-border); }
.account-logout .account-link { color: var(--muted); }
.account-main > h1:first-child { margin-top: 0; }
.account-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.account-stats .card { text-align: center; padding: 1rem; }
.account-stats .big-number { display: block; }
.readings-list li a { color: var(--text); }
@media (max-width: 900px) {
  .account-shell { grid-template-columns: 1fr; }
  .account-menu { position: static; }
  .account-menu > summary { display: block; cursor: pointer; list-style: none; font: 1rem "Cinzel", serif; color: var(--gold-2); padding: .1rem .4rem .5rem; }
  .account-menu > summary::-webkit-details-marker { display: none; }
  .account-menu:not([open]) { padding: .7rem; }
}
@media (max-width: 560px) { .brand .logo-img + b { display: none; } }
/* Blog */
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; margin: -.6rem 0 1.4rem; }
.blog-cats .chip { color: var(--text); }
.blog-cats .chip.active { border-color: var(--gold); color: var(--gold-2); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.blog-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.blog-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--text); }
.blog-card:hover { text-decoration: none; }
.blog-card-img { aspect-ratio: 1200 / 630; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%), var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img span { font-size: 2.4rem; color: var(--gold); }
.blog-card-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.blog-card-body h2 { font-size: 1.25rem; margin: .1rem 0; }
.blog-card-body p { margin: 0 0 .3rem; flex: 1; }
.blog-card.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.blog-card.big .blog-card-img { aspect-ratio: auto; min-height: 280px; }
.blog-card.big h2 { font-size: 1.7rem; }
@media (max-width: 760px) { .blog-card.big { grid-template-columns: 1fr; } .blog-card.big .blog-card-img { aspect-ratio: 1200 / 630; min-height: 0; } }
.blog-article { max-width: 820px; margin: 0 auto; }
.blog-article .page-hero .kicker a { color: var(--gold); }
.blog-hero-img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--card-border); margin-bottom: 1.2rem; display: block; }
.prose { font-size: 1.12rem; line-height: 1.75; padding: 1.6rem 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.8rem 0 .6rem; color: var(--gold-2); }
.prose h3 { font-size: 1.3rem; margin: 1.4rem 0 .5rem; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 1rem auto; }
.prose blockquote { margin: 1.2rem 0; padding: .6rem 1.2rem; border-left: 3px solid var(--gold); font-style: italic; color: var(--muted); background: color-mix(in srgb, var(--gold) 6%, transparent); border-radius: 0 10px 10px 0; }
.prose figure { margin: 1.2rem 0; }
.prose figcaption { text-align: center; font-size: .9rem; color: var(--muted); }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 2rem 0; }
.prose a { text-decoration: underline; }
@media (max-width: 560px) { .prose { padding: 1.1rem 1rem; font-size: 1.05rem; } }
.blog-share { text-align: center; margin: 1rem 0 2rem; }
/* Editor */
.editor { border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.editor-bar { display: flex; flex-wrap: wrap; gap: .25rem; padding: .45rem; border-bottom: 1px solid var(--card-border); background: var(--card); }
.editor-bar button { background: none; border: 1px solid transparent; color: var(--text); border-radius: 8px; padding: .3rem .55rem; min-width: 2.1rem; cursor: pointer; font: .9rem system-ui, sans-serif; }
.editor-bar button:hover, .editor-bar button.active { border-color: var(--gold); color: var(--gold-2); }
.editor-bar .sep { width: 1px; background: var(--card-border); margin: .2rem .2rem; }
.editor-area { min-height: 340px; padding: 1.1rem 1.3rem; outline: none; border-radius: 0; font-size: 1.05rem; }
.editor-area:empty::before { content: "…"; color: var(--muted); }
.editor-source { width: 100%; min-height: 340px; border: 0; border-radius: 0; font: .85rem ui-monospace, monospace; }
.editor-status { margin: 0; padding: 0 .8rem .4rem; }
.warn-text { color: var(--danger); }
.blog-edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.2rem; align-items: start; }
.blog-edit-grid aside { display: flex; flex-direction: column; gap: 1rem; }
.blog-edit-grid aside .card { padding: 1rem; }
@media (max-width: 1100px) { .blog-edit-grid { grid-template-columns: 1fr; } }
.chips .chip.active { border-color: var(--gold); color: var(--gold-2); }
.progress { height: .5rem; border-radius: 999px; background: var(--card-border); overflow: hidden; } .progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* Shop: Währung, Bezahlarten */
.shop-currency { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; margin: -.4rem 0 1.2rem; }
.shop-currency form { display: flex; align-items: center; gap: .5rem; margin: 0; }
.shop-currency select { width: auto; padding: .35rem .7rem; }
.shop-pay { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn.paypal { background: #ffc439; color: #111; box-shadow: none; }
.btn.paypal:disabled { opacity: .4; cursor: not-allowed; }
.currency-table td, .currency-table th { vertical-align: middle; padding: .35rem .4rem; }
.currency-table select, .currency-table input[type=number], .currency-table input[type=text] { padding: .3rem .4rem; font-size: .9rem; }
.nowrap { white-space: nowrap; }
.footer-links a.withdraw-link { color: var(--gold-2); border: 1px solid var(--gold); border-radius: 999px; padding: .15rem .7rem; }
.shop-coupon { margin: .3rem 0 .8rem; } .shop-coupon summary { cursor: pointer; color: var(--gold); } .shop-coupon input { margin-top: .4rem; }
.withdraw-actions { display: flex; flex-direction: column; gap: .3rem; min-width: 200px; margin: 0; } .withdraw-actions input { padding: .3rem .5rem; font-size: .85rem; }
/* Besucherstatistik */
.stats-chart { display: flex; align-items: flex-end; gap: 2px; height: 220px; padding: .4rem 0; border-bottom: 1px solid var(--card-border); }
.stats-col { flex: 1; height: 100%; position: relative; min-width: 2px; }
.stats-col span { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; }
.stats-col .views { background: color-mix(in srgb, var(--gold) 35%, transparent); }
.stats-col .visitors { background: var(--gold); left: 20%; right: 20%; }
.stats-col:hover .views { background: color-mix(in srgb, var(--gold) 55%, transparent); }
.stats-legend { display: flex; gap: 1rem; margin-top: .5rem; flex-wrap: wrap; }
.stats-legend .dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; vertical-align: middle; }
.stats-legend .dot.views { background: color-mix(in srgb, var(--gold) 35%, transparent); }
.stats-legend .dot.visitors { background: var(--gold); }
.stats-row { display: grid; grid-template-columns: minmax(0, 1fr) 30% 3.5rem; gap: .6rem; align-items: center; padding: .25rem 0; font-size: .92rem; }
.stats-row .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-row .bar { height: .45rem; background: var(--card-border); border-radius: 999px; overflow: hidden; }
.stats-row .bar i { display: block; height: 100%; background: var(--gold); }
.stats-row b { text-align: right; font-weight: normal; color: var(--gold-2); }
.seo-page { margin-bottom: .6rem; padding: .8rem 1rem; }
.seo-page summary { cursor: pointer; }
.seo-lang { display: grid; gap: .3rem; margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--card-border); }
.email-list { display: grid; gap: .6rem; }
.email-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .9rem 1.1rem; }
@media (max-width: 900px) { .email-item { grid-template-columns: 1fr; } }
.email-actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.email-actions form { margin: 0; }

/* Sprachen (Admin) */
.lang-list { display: grid; gap: .8rem; }
.lang-item { padding: 1rem 1.2rem; }
.lang-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.lang-name { font-size: 1.15rem; display: inline-flex; align-items: center; gap: .45rem; margin-inline-end: .5rem; }
.lang-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.lang-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: flex-end; }
.lang-actions form { margin: 0; }
.lang-progress { margin-top: .9rem; }
.lang-progress .progress { height: .7rem; }
.lang-progress .progress > span { transition: width .6s ease; }
.btn.secondary.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.flag.flag-code { display: inline-flex; align-items: center; justify-content: center; font: 700 .55rem/1 system-ui, sans-serif; letter-spacing: .02em; color: var(--gold-2); border: 1px solid var(--gold); border-radius: 2px; }
@media (max-width: 900px) { .lang-head { grid-template-columns: 1fr; } .lang-actions { justify-content: flex-start; } }

/* Schrift von rechts nach links (Arabisch, Persisch, Hebräisch) */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .lang-menu ul { left: 0; right: auto; }
[dir="rtl"] .admin-link, [dir="rtl"] .admin-group summary { text-align: right; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[type="tel"], [dir="rtl"] .ltr { direction: ltr; text-align: right; }
[dir="rtl"] .hero-bg { right: auto; left: 0; transform: scaleX(-1); }
.card > h2:first-child, .card > input[type="hidden"]:first-child + h2 { margin-top: .2em; }
/* Rechnungs-Design wählen */
.style-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; }
.style-option { display: flex; flex-direction: column; gap: .3rem; padding: .7rem; border: 1px solid var(--card-border); border-radius: 14px; cursor: pointer; position: relative; }
.style-option:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(226, 182, 92, .25); }
.style-option input { position: absolute; top: .9rem; left: .9rem; }
.style-option img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--card-border); background: #fff; }
.legal-ai { border: 1px solid var(--gold); border-radius: 14px; padding: .9rem 1.1rem; margin: .4rem 0 1rem; background: rgba(226, 182, 92, .06); }
.legal-ai p { margin: .35rem 0 .7rem; }
.legal-lang-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.passkey-btn { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: .5rem; }
.passkey-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.passkey-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--card-border); flex-wrap: wrap; }
.passkey-list form { margin: 0; }
.admin-link.top { display: flex; align-items: center; gap: .55rem; }
.admin-link.top .ico { width: 1.1rem; text-align: center; color: var(--gold); }
/* Admin-Tabellen mit Aktionen (Sprachen, Währungen) */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.page-head h1 { margin-top: 0; }
.page-head p { max-width: 640px; }
.admin-table td { vertical-align: middle; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions form { display: inline; margin: 0; }
.link-danger { background: none; border: 0; padding: 0; color: var(--danger); cursor: pointer; font: inherit; }
.link-danger:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.admin-table code { font-size: .85rem; padding: .1rem .4rem; border-radius: 6px; background: color-mix(in srgb, var(--gold) 10%, transparent); }
.admin-table th.r, .admin-table td.r { text-align: right; }
.page-head > div:first-child { flex: 1 1 420px; }
.page-head > .btn { margin-top: .6rem; }
.admin-table table { font-size: .95rem; }
.admin-table th, .admin-table td { padding: .5rem .45rem; }
.admin-table .row-actions { white-space: normal; min-width: 9rem; }
/* Handy: ruhigerer Himmel – der wandernde Rauch und Nebel kosten dort am meisten Rechenleistung */
@media (max-width: 900px) {
  .smoke { display: none; }
  .nebula { animation: none; will-change: auto; }
  .stars.s2, .stars.s3 { animation: none; }
}
.fold > summary { cursor: pointer; font: 500 1.05rem "Cinzel", serif; letter-spacing: .03em; padding: .7rem 0 .3rem; list-style: none; display: flex; align-items: center; gap: .5rem; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "›"; color: var(--gold); transition: transform .2s; display: inline-block; }
.fold[open] > summary::before { transform: rotate(90deg); }
.page-head h2 { margin: 1.2rem 0 .6rem; }

/* Konto / Anmelden im Kopf – auf dem Handy immer sichtbar */
.nav-account { display: none; align-items: center; justify-content: center; height: 42px; min-width: 42px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--gold-2); text-decoration: none; }
.nav-account svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-login { padding: 0 .9rem; font-family: "Cinzel", serif; font-size: .78rem; letter-spacing: .06em; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1030; border: 0; font-weight: 600; }
@media (max-width: 900px) { .nav-account { display: inline-flex; } }
@media (max-width: 420px) { .nav-account { height: 38px; min-width: 38px; } .nav-login { padding: 0 .65rem; font-size: .72rem; } }
@media (max-width: 360px) { .site-header .lang-menu summary .lang-caret { display: none; } }

/* Handy: Farbschema-Knopf wandert ins Menü, damit Logo und Name Platz haben */
.nav-theme { display: none; }
@media (max-width: 600px) {
  .js .site-header .nav-tools .theme-toggle { display: none; }
  .js .nav-open .nav .nav-theme { display: flex; gap: .6rem; align-items: center; width: 100%; background: none; border: 0; border-top: 1px solid var(--card-border);
    color: var(--muted); font: inherit; font-size: .85rem; letter-spacing: .06em; padding: .85rem .4rem .3rem; cursor: pointer; text-align: left; }
  .nav-theme [data-theme-icon] { color: var(--gold-2); font-size: 1.1rem; }
  .site-header .lang-menu .lang-code { display: none; }
}

/* Numerologie */
.numerology-grid { margin-top: 1.2rem; }
.numerology-card { text-align: center; }
.numerology-card h3 { margin: .3rem 0 0; font-size: 1.05rem; }
.numerology-card .big-number { font-size: 2.6rem; }
.numerology-ring small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.gold-2 { color: var(--gold-2); }

/* Fragen & Antworten */
.faq-item { border-top: 1px solid var(--card-border); padding: .2rem 0; }
.faq-item:first-of-type { border-top: 0; }
.faq-item > summary { padding: .75rem 0; font-family: inherit; font-size: 1.12rem; font-weight: 600; letter-spacing: 0; }
.faq-item > p { margin: 0 0 .9rem; color: var(--muted); line-height: 1.6; }

/* Astrokartografie */
.astro-map-card { padding: .8rem; }
.astro-map-scroll { overflow-x: auto; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.astro-map { display: block; width: 100%; min-width: 700px; height: auto; border-radius: 14px; }
.astro-map .ac-planet.off { display: none; }
.astro-map text { font-family: "Cinzel", serif; }
.ac-city { fill: #f5c542; stroke: #1a1030; stroke-width: .3; }
.ac-legend { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 .4rem; }
.ac-chip { border: 1px solid var(--c); color: var(--text); background: color-mix(in srgb, var(--c) 18%, transparent); border-radius: 999px; padding: .3rem .7rem; font: inherit; font-size: .9rem; cursor: pointer; }
.ac-chip[aria-pressed="false"] { opacity: .4; background: transparent; }
.ac-keys { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; margin: .2rem 0 0; }
.ac-keys svg { vertical-align: middle; color: var(--gold-2); }
.ac-themes { margin-top: 1.2rem; }
.ac-places { margin: 0; padding-left: 1.3rem; }
.ac-places li { margin: .5rem 0 .8rem; }
.ac-place-head { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; }
.ac-place-head .score-track { flex: 1 1 80px; max-width: 140px; height: 5px; }
.ac-challenge { opacity: .9; }
.hint-mobile { display: none; }
@media (max-width: 760px) { .hint-mobile { display: inline; } }

/* Arcane Voice */
.voice-box { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .4rem 0 .9rem; }
.voice-box audio { width: 100%; max-width: 460px; height: 40px; }

.ac-theme h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); overflow-wrap: anywhere; hyphens: auto; }

/* Handlesen (Plugin) */
.palm-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .palm-layout { grid-template-columns: 1fr; } }
.palm-figure { margin: 0; padding: .8rem; position: sticky; top: 80px; }
@media (max-width: 860px) { .palm-figure { position: static; } }
.palm-image { display: block; width: 100%; height: auto; border-radius: 14px; }
.palm-line { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(245, 197, 66, .7)); }
.palm-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .7rem; font-size: .9rem; }
.palm-legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: .3rem; }
/* Sternzeichen-Bilder */
.ring.has-img { padding: 0; overflow: hidden; } .ring.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.sign-tile .symbol.has-img { width: 76px; height: 76px; margin: 0 auto .4rem; border-radius: 50%; overflow: hidden; border: 1px solid var(--card-border-strong); }
.sign-tile .symbol.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-preview .art-symbol { display: grid; place-items: center; height: 100%; font: 64px "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; color: var(--gold-2); }
