/* ATRIUM Tarot Website. Gleiche Bildsprache wie die App: Aubergine, Gold, Buchschrift. */
@font-face { font-family: 'EB Garamond'; src: url('../fonts/eb-garamond-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('../fonts/eb-garamond-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('../fonts/eb-garamond-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('../fonts/eb-garamond-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --grund: #160f18; --grund2: #1f1621; --grund3: #2a1e2c;
  --text: #efe4cc; --text2: #c7b89f; --text3: #9a8d78;
  --gold: #cea852; --gold-hell: #e8cb80; --gold-dunkel: #8c6c2e; --linie: rgba(206,168,82,0.22);
  --gold-verlauf: linear-gradient(180deg, #ecd391 0%, #cea852 50%, #a98236 100%);
  --serif: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --breite: 1160px; --rand: clamp(18px, 5vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--serif); font-size: 19px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }

a { color: var(--gold-hell); text-decoration: none; }
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
.mitte { text-align: center; margin-left: auto; margin-right: auto; }
.schmal { max-width: 640px; }
.klein { font-family: var(--sans); font-size: 13.5px; color: var(--text3); line-height: 1.55; }

/* Kopf */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--rand); transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.kopf.fest { background: rgba(22,15,24,0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--linie); }
.marke { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; letter-spacing: 0.16em; font-weight: 500; white-space: nowrap; }
.marke em { font-style: normal; letter-spacing: 0.04em; color: var(--gold-hell); }
.nav { display: flex; gap: 26px; margin-left: auto; font-family: var(--sans); font-size: 14px; letter-spacing: 0.04em; }
.nav a { color: var(--text2); }
.nav a:hover { color: var(--gold-hell); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 26px; background: var(--gold-verlauf); color: #1b131d; font-family: var(--sans); font-weight: 600; font-size: 15.5px; letter-spacing: 0.02em; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 10px 30px rgba(0,0,0,0.35); transition: transform .2s, box-shadow .2s; border: 0; cursor: pointer; }
.knopf:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 14px 34px rgba(0,0,0,0.45); }
.knopf.leer { background: transparent; color: var(--gold-hell); box-shadow: inset 0 0 0 1px var(--gold); }
.knopf.klein { min-height: 40px; padding: 0 18px; font-size: 13.5px; }

/* Bühne */
.buehne { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; max-width: var(--breite); margin: 0 auto; padding: 120px var(--rand) 80px; }
.licht { position: absolute; inset: -10% -20% auto auto; width: 900px; height: 900px; background: radial-gradient(circle, rgba(232,203,128,0.22), rgba(232,203,128,0.06) 40%, transparent 68%); pointer-events: none; animation: atmen 9s ease-in-out infinite; }
.licht.zwei { inset: auto 0 -45% 0; margin: 0 auto; width: 1000px; max-width: 100%; height: 700px; }
@keyframes atmen { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.vorzeile, .etikett { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.buehne h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; margin-bottom: 18px; }
.leitsatz { font-style: italic; font-size: clamp(24px, 2.6vw, 32px); color: var(--gold-hell); line-height: 1.3; margin-bottom: 10px; }
.unter { color: var(--text2); font-size: 19px; margin-bottom: 30px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }

/* Karten mit 3D-Leiste */
.karte { position: relative; aspect-ratio: 848 / 1264; border-radius: 4.72% / 3.16%; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 0.5px rgba(232,203,128,0.35); background: #261a28; }
.karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.karte .leiste { pointer-events: none; }
.faecher { position: relative; height: min(620px, 72vw); }
.faecher .karte { position: absolute; left: 50%; top: 50%; width: min(300px, 32vw); transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--w)); transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.faecher .karte.vorne { z-index: 3; }
.faecher:hover .karte { transform: translate(calc(-50% + var(--x) * 1.12), calc(-52% + var(--y))) rotate(calc(var(--w) * 1.2)); }

/* Band */
.band { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--breite); margin: 0 auto; padding: 28px var(--rand); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); text-align: center; gap: 20px; }
.band b { display: block; font-weight: 500; font-size: 46px; color: var(--gold-hell); line-height: 1.1; }
.band span { font-family: var(--sans); font-size: 13.5px; color: var(--text2); letter-spacing: 0.03em; }

/* Abschnitte */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--rand); }
.abschnitt h2, .raunaechte h2, .bald h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; margin-bottom: 22px; }
.abschnitt.zwei { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.text p { color: var(--text2); font-size: 20px; }
.punkte { list-style: none; padding: 0; margin: 26px 0 0; }
.punkte li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--linie); font-size: 18px; }
.punkte li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* Handy */
.handy { position: relative; width: min(360px, 80vw); margin: 0 auto; aspect-ratio: 390 / 844; border-radius: 52px; padding: 12px; background: linear-gradient(145deg, #3a2c35, #120c13); box-shadow: 0 40px 90px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(232,203,128,0.25); }
.handy img { width: 100%; height: 100%; object-fit: cover; border-radius: 41px; }
.handy.klein { width: min(250px, 42vw); border-radius: 38px; padding: 9px; }
.handy.klein img { border-radius: 30px; }
.handy-reihe { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); margin-top: 70px; }
.handy-reihe .handy:last-child { transform: translateY(40px); }

/* Fragen */
.fragen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 56px; }
.fragen-reihe figure { margin: 0; }
.fragen-reihe .karte { width: 100%; }
.fragen-reihe figure:nth-child(2) { transform: translateY(40px); }
figcaption { text-align: center; margin-top: 24px; font-style: italic; font-size: 21px; line-height: 1.35; color: var(--text); }
figcaption span { display: block; font-style: normal; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
q { quotes: '„' '“'; }

/* Kacheln */
.raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.kachel { padding: 30px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,240,215,0.045), rgba(255,240,215,0.015)); border: 1px solid var(--linie); }
.kachel h3 { font-size: 27px; color: var(--gold-hell); margin-bottom: 10px; }
.kachel p { color: var(--text2); font-size: 18px; margin: 0; }
.hinweis { display: inline-block; margin-top: 16px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 20px; padding: 4px 12px; }

/* Raunächte */
.raunaechte { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) var(--rand); background: radial-gradient(120% 80% at 50% 0%, #2b1d2d 0%, #150e17 70%); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.raunaechte > * { position: relative; }
.raunaechte > .licht { position: absolute; }
.raunaechte p { color: var(--text2); font-size: 20px; }
.countdown { display: flex; justify-content: center; gap: clamp(14px, 3vw, 32px); margin: 40px 0 50px; }
.countdown div { min-width: 92px; text-align: center; }
.countdown b { display: block; font-weight: 500; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--gold-hell); font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text3); }
.countdown .jetzt { font-style: italic; font-size: 26px; color: var(--gold-hell); }
.naechte { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 900px; margin: 0 auto; }
.naechte { counter-reset: nacht; }
.naechte span { position: relative; text-align: center; padding: 16px 0 14px; border-radius: 12px; border: 1px solid var(--linie); background: rgba(255,240,215,0.03); font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); }
.naechte span::before { counter-increment: nacht; content: counter(nacht) '. Nacht'; display: block; font-family: var(--serif); font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--gold-hell); margin-bottom: 4px; }

/* Seelenplan */
.rechner { margin: 26px 0 16px; }
.rechner label { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.rechner .zeile { display: flex; gap: 12px; flex-wrap: wrap; }
.rechner input { flex: 1; min-width: 200px; min-height: 52px; border-radius: 26px; border: 1px solid var(--linie); background: var(--grund2); color: var(--text); padding: 0 22px; font: inherit; font-size: 18px; color-scheme: dark; }
.rechner input:focus { outline: none; border-color: var(--gold); }
.ergebnis { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ergebnis .karte { width: min(320px, 70vw); transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.ergebnis .karte.dreh { transform: rotateY(90deg); }
.ergebnis-text { text-align: center; max-width: 440px; }
.ergebnis-text .name { font-size: 34px; margin-bottom: 4px; }
.ergebnis-text .zahl { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ergebnis-text .kern { color: var(--text2); font-size: 19px; margin-top: 12px; }
.ergebnis-text .frage { font-style: italic; color: var(--gold-hell); font-size: 21px; }

/* Privat */
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 52px; }
.drei div { border-top: 1px solid var(--gold); padding-top: 22px; }
.drei h3 { font-size: 26px; margin-bottom: 8px; }
.drei p { color: var(--text2); font-size: 18px; }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 52px 0 30px; align-items: stretch; }
.preis { position: relative; padding: 34px 30px; border-radius: 24px; border: 1px solid var(--linie); background: rgba(255,240,215,0.025); }
.preis.empfohlen { background: linear-gradient(180deg, rgba(232,203,128,0.10), rgba(232,203,128,0.02)); box-shadow: inset 0 0 0 1px var(--gold), 0 30px 70px rgba(0,0,0,0.35); }
.schild { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--gold-verlauf); color: #1b131d; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 14px; margin: 0; }
.preis h3 { font-size: 28px; }
.betrag { font-size: 44px; color: var(--gold-hell); margin: 8px 0 0; line-height: 1.1; }
.betrag small { font-size: 17px; color: var(--text3); }
.nebenbei { font-family: var(--sans); font-size: 13.5px; color: var(--text3); }
.preis ul { list-style: none; padding: 0; margin: 22px 0 0; }
.preis li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--linie); font-size: 17px; color: var(--text2); }
.preis li::before { content: ''; position: absolute; left: 3px; top: 18px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* Bald */
.bald { text-align: center; padding: clamp(90px, 12vw, 140px) var(--rand); border-top: 1px solid var(--linie); }
.bald img { margin: 0 auto 26px; }
.bald p { color: var(--text2); max-width: 560px; margin-left: auto; margin-right: auto; }

/* Fuß */
.fuss { max-width: var(--breite); margin: 0 auto; padding: 40px var(--rand) 60px; border-top: 1px solid var(--linie); display: grid; gap: 16px; }
.fuss-marke { display: flex; align-items: center; gap: 10px; letter-spacing: 0.16em; }
.fuss-marke em { font-style: normal; color: var(--gold-hell); letter-spacing: 0.04em; }
.fuss nav { display: flex; gap: 24px; font-family: var(--sans); font-size: 14px; }

/* Erscheinen beim Scrollen */
.zeigen { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.3,.7,.2,1); }
.zeigen.da { opacity: 1; transform: none; }

/* Unterseiten */
.seite { max-width: 760px; margin: 0 auto; padding: 130px var(--rand) 80px; }
.seite h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 26px; }
.seite h2 { font-size: 26px; margin: 34px 0 10px; color: var(--gold-hell); }
.seite p, .seite li { color: var(--text2); font-size: 18.5px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .kopf .knopf.klein { margin-left: auto; }
  .buehne { grid-template-columns: 1fr; text-align: center; padding-top: 110px; gap: 10px; min-height: auto; }
  .buehne .knoepfe { justify-content: center; }
  .faecher { height: 92vw; max-height: 520px; order: -1; margin-top: 10px; }
  .faecher .karte { width: 46vw; max-width: 260px; }
  .abschnitt.zwei { grid-template-columns: 1fr; }
  .abschnitt.zwei .text { order: -1; }
  .raster, .preise { grid-template-columns: 1fr; }
  .preise .empfohlen { order: -1; margin-top: 10px; }
  .drei { grid-template-columns: 1fr; }
  .fragen-reihe { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; gap: 56px; }
  .fragen-reihe figure:nth-child(2) { transform: none; }
  .naechte { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 18px; }
  .marke span { font-size: 16px; }
  .kopf { padding: 12px 16px; gap: 10px; }
  .kopf .knopf.klein { padding: 0 14px; font-size: 12.5px; min-height: 36px; }
  .band { grid-template-columns: 1fr; gap: 16px; }
  .handy-reihe .handy:last-child { transform: translateY(24px); }
  .knoepfe .knopf { width: 100%; }
  .countdown div { min-width: 64px; }
}
@media (prefers-reduced-motion: reduce) { .licht { animation: none; } .zeigen { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.buehne-text { position: relative; z-index: 2; }
@media (min-width: 901px) {
  .faecher .karte { width: min(270px, 21vw); }
  .faecher .karte { --sp: 0.72; transform: translate(calc(-50% + var(--x) * var(--sp)), calc(-50% + var(--y))) rotate(var(--w)); }
  .faecher:hover .karte { transform: translate(calc(-50% + var(--x) * 0.82), calc(-52% + var(--y))) rotate(calc(var(--w) * 1.15)); }
}
