/* Victoria Goldblut – Webvisitenkarte */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/Cormorant-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --nacht: #070f26;
  --nacht-mitte: #0e1c45;
  --nacht-hell: #1a3170;
  --gold: #d9b064;
  --gold-hell: #f6e3ac;
  --gold-dunkel: #9c6d2a;
  --text: #e9dcc0;
  --text-leise: #b9ab8f;
  --verlauf-gold: linear-gradient(100deg, #a9772f 0%, #e2bb6c 18%, #f8e7b4 34%, #d3a452 52%, #a2722c 68%, #e5c27a 84%, #f3dca0 100%);
  --schrift-titel: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --schrift-text: "EB Garamond", Garamond, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.gold {
  background: var(--verlauf-gold);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Vorderseite ---------- */

.vorderseite {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem 6rem;
  text-align: center;
  background: var(--nacht) url("../img/hintergrund-breit.jpg") center / cover no-repeat;
  overflow: hidden;
}

@media (max-aspect-ratio: 4/5) {
  .vorderseite { background-image: url("../img/hintergrund-hoch.jpg"); background-position: center 46%; }
}

.vorderseite::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, rgba(5, 11, 29, 0) 0%, #050b1d 100%);
  pointer-events: none;
}

.karte { position: relative; z-index: 1; width: min(100%, 60rem); }

.name {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.trenner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: clamp(1rem, 2.4vw, 1.6rem) auto clamp(0.9rem, 2vw, 1.4rem);
}
.trenner span {
  display: block;
  width: clamp(3.5rem, 11vw, 7.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-hell) 70%, var(--gold));
}
.trenner span:last-child { transform: scaleX(-1); }
.trenner i {
  width: 0.55rem;
  height: 0.55rem;
  background: linear-gradient(135deg, var(--gold-hell), var(--gold-dunkel));
  transform: rotate(45deg);
}

.slogan {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.3vw, 1.65rem);
  letter-spacing: 0.08em;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}
.slogan .punkt { padding: 0 0.15em; }

.kontaktzeile {
  margin: clamp(2.6rem, 7vh, 4.5rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.1rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  letter-spacing: 0.04em;
}
.kontaktzeile a {
  text-decoration: none;
  color: var(--gold-hell);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.kontaktzeile a:hover { border-bottom-color: var(--gold); color: #fff3d0; }
.kontaktzeile .punkt { color: var(--gold); }

.weiter {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 4vh, 2.2rem);
  transform: translateX(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  opacity: 0.75;
  border-radius: 50%;
  transition: opacity 0.25s;
  z-index: 1;
}
.weiter:hover { opacity: 1; }
.weiter svg { width: 1.4rem; height: 1.4rem; animation: schweben 3.2s ease-in-out infinite; }

/* ---------- Rückseite ---------- */

.rueckseite {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 1.25rem clamp(3rem, 8vh, 5rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% clamp(13rem, 34vh, 19rem), rgba(40, 70, 150, 0.55) 0, rgba(22, 42, 98, 0.32) 15rem, rgba(7, 15, 38, 0) 30rem),
    linear-gradient(180deg, #050b1d 0%, var(--nacht) 30%, var(--nacht) 70%, #050b1d 100%);
}

.medaillon {
  position: relative;
  width: min(78vw, 26rem);
  margin: 0 auto;
}
.medaillon::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 176, 100, 0.16) 0%, rgba(217, 176, 100, 0.05) 45%, transparent 70%);
  animation: atmen 7s ease-in-out infinite;
}
.medaillon img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: clamp(2.5rem, 6vh, 3.5rem) auto 0;
  max-width: 40rem;
}
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(217, 176, 100, 0.65);
  border-radius: 999px;
  color: var(--gold-hell);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  background: rgba(7, 15, 38, 0.35);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.knopf svg { width: 1.1rem; height: 1.1rem; flex: none; }
.knopf:hover { background: rgba(217, 176, 100, 0.14); border-color: var(--gold-hell); color: #fff3d0; }

a:focus-visible, .knopf:focus-visible {
  outline: 2px solid var(--gold-hell);
  outline-offset: 4px;
  border-radius: 6px;
}
.knopf:focus-visible { border-radius: 999px; }

@media (max-width: 30rem) {
  .kontaktzeile { flex-direction: column; gap: 0.5rem; }
  .kontaktzeile .punkt { display: none; }
  .aktionen { flex-direction: column; align-items: center; }
  .knopf { width: min(100%, 18rem); justify-content: center; }
}

/* ---------- Fußzeile ---------- */

.fuss {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-leise);
  background: #050b1d;
}
.fuss a { text-decoration: none; border-bottom: 1px solid rgba(185, 171, 143, 0.35); }
.fuss a:hover { color: var(--gold-hell); border-bottom-color: var(--gold); }
.fuss .punkt { padding: 0 0.6rem; color: var(--gold-dunkel); }

/* ---------- Rechtliches ---------- */

.recht {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(38, 66, 140, 0.45), transparent 70%),
    var(--nacht);
}
.recht-inhalt {
  flex: 1;
  width: min(100%, 44rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 4.5rem) 1.25rem 3rem;
}
.recht h1 {
  margin: 0 0 0.4rem;
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1.1;
}
.recht h2 {
  margin: 2.2rem 0 0.4rem;
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
}
.recht p, .recht li { color: var(--text); }
.recht ul { padding-left: 1.2rem; }
.recht a { color: var(--gold-hell); }
.zurueck {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.zurueck:hover { color: var(--gold-hell); }
.recht strong { font-weight: 600; color: var(--text); }
.recht .kasten { margin: 0.6rem 0 0; padding: 0.2rem 1.1rem; border: 1px solid rgba(217, 176, 100, 0.35); border-radius: 6px; background: rgba(217, 176, 100, 0.05); }
.recht .stand { margin-top: 2.4rem; font-size: 0.95rem; opacity: 0.8; }

/* ---------- Bewegung ---------- */

@keyframes schimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes atmen { 0%, 100% { opacity: 0.65; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes erscheinen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.name.gold { animation: schimmer 14s ease-in-out infinite, erscheinen 1.2s ease-out both; }
.trenner { animation: erscheinen 1.2s 0.25s ease-out both; }
.slogan { animation: erscheinen 1.2s 0.45s ease-out both; }
.kontaktzeile { animation: erscheinen 1.2s 0.7s ease-out both; }

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