/* Bunte Freunde – Platzhalter-Seite
   Schrift selbst gehostet, keine externen Inhalte, keine Cookies. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #111827;
  --cream: #f4eee0;
  --cream-dim: #b9b4c4;
  --line: rgba(244, 238, 224, 0.14);
  --lavender: #ca9bd5;
  --blue: #3b7dcd;
  --red: #d8343a;
  --peach: #fde2b0;
  --font: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }

/* ---------- Atmosphäre ---------- */
#sky, .halo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.halo {
  background:
    radial-gradient(60vmax 40vmax at 20% 0%, rgba(59, 125, 205, 0.22), transparent 70%),
    radial-gradient(50vmax 40vmax at 90% 30%, rgba(202, 155, 213, 0.16), transparent 70%),
    radial-gradient(50vmax 35vmax at 50% 110%, rgba(216, 52, 58, 0.12), transparent 70%);
}

/* ---------- Startseite ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 8vh, 88px) 0 32px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.wordmark {
  width: min(680px, 100%);
  height: auto;
  overflow: visible;
}
.wordmark .l { transform-box: fill-box; transform-origin: 50% 80%; }
.js .wordmark .l {
  animation: pop 0.7s cubic-bezier(.2, 1.6, .4, 1) both;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes pop {
  from { transform: translateY(40%) scale(.2) rotate(-12deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.claim {
  margin-top: 10px;
  font-size: clamp(1.15rem, 3.8vw, 1.6rem);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

/* Die zwei Begleiter */
.friends {
  margin-top: clamp(28px, 5vh, 48px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 6vw, 56px);
}
.friend {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.friend figure {
  position: relative;
  width: clamp(92px, 22vw, 150px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.friend figure::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aura) 0%, transparent 68%);
  opacity: .55;
  animation: breathe 5s ease-in-out infinite;
}
.friend img {
  position: relative;
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}
.friend--lotus { --aura: rgba(59, 125, 205, 0.9); }
.friend--amanita { --aura: rgba(216, 52, 58, 0.85); }
.friend--amanita img, .friend--amanita figure::before { animation-delay: -3s; }
.friend span {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes breathe { 0%, 100% { transform: scale(.92); opacity: .45; } 50% { transform: scale(1.04); opacity: .7; } }

.soon {
  margin-top: clamp(28px, 5vh, 44px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(244, 238, 224, 0.05);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.soon i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 0 rgba(253, 226, 176, .6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(253, 226, 176, .55); } 100% { box-shadow: 0 0 0 12px rgba(253, 226, 176, 0); } }

.intro {
  margin-top: 14px;
  color: var(--cream-dim);
  max-width: 440px;
  text-wrap: pretty;
}

.links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  border: 1px solid var(--line);
  background: rgba(244, 238, 224, 0.05);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--main {
  background: var(--cream);
  color: var(--night);
  border-color: var(--cream);
  font-weight: 700;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); border-color: rgba(244, 238, 224, .45); }
.btn:not(.btn--main):hover { background: rgba(244, 238, 224, 0.1); }
.btn:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* sanftes Einblenden */
.js .rise { animation: rise .8s ease both; }
.js .d1 { animation-delay: 1.1s; }
.js .d2 { animation-delay: 1.35s; }
.js .d3 { animation-delay: 1.6s; }
.js .d4 { animation-delay: 1.8s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; }
}

/* ---------- Fußzeile ---------- */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 22px 0 26px;
  font-size: 0.85rem;
  color: var(--cream-dim);
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.foot nav { display: flex; gap: 20px; justify-content: center; margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.legal {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 24px;
}
.legal .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.legal .top .mini { width: 150px; height: auto; display: block; }
.legal .back { color: var(--cream-dim); text-decoration: none; font-size: 0.95rem; }
.legal .back:hover { color: var(--cream); }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 30px 0 8px; color: var(--peach); }
.legal p, .legal li { color: #e3ddd0; margin-bottom: 10px; }
.legal ul { padding-left: 20px; margin-bottom: 10px; }
.legal a { color: var(--lavender); overflow-wrap: anywhere; }
