/* ---------- Fonts (self-hosted, no Google servers) ---------- */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Pink after dark ---------- */
:root {
  --nacht: #1a0f17;
  --nacht-tief: #100910;
  --licht: #fbf1ea;
  --licht-leise: rgba(251, 241, 234, 0.74);
  --licht-hauch: rgba(255, 240, 228, 0.09);
  --rand: rgba(255, 232, 215, 0.2);
  --gold: #ffb3cb;
  --sonne-a: #ffcfae;
  --sonne-b: #ff86a6;
  --sonne-c: #ff3f8e;
  --dunkel-auf-sonne: #2a1016;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--nacht);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--licht);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ---------- Background: your own photo, blurred into a warm glow ---------- */
.schimmer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--nacht);
}

.schimmer::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: var(--foto, url("hero.jpg")) center / cover no-repeat;
  filter: blur(60px) saturate(1.45) brightness(0.55);
}

.schimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 55% at 50% 105%, rgba(255, 70, 150, 0.26), transparent 70%),
    radial-gradient(70% 45% at 85% 0%, rgba(255, 170, 150, 0.14), transparent 70%),
    linear-gradient(to bottom, rgba(26, 15, 23, 0.15), rgba(16, 9, 16, 0.82));
}

.schimmer--more::before {
  --foto: url("more-background.jpg");
  inset: 0;
  background-position: center top;
  filter: brightness(0.46);
}

/* ---------- Start page ---------- */
.seite {
  position: relative;
}

.foto {
  position: relative;
  margin: 0;
  height: min(60svh, 40rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
}

.foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  animation: scharf 1400ms cubic-bezier(0.2, 0.7, 0.2, 1) 100ms both;
}

/* The one moment: the photo comes into focus – real, not filtered */
@keyframes scharf {
  from {
    filter: blur(18px) saturate(1.2);
    transform: scale(1.06);
  }
  to {
    filter: none;
    transform: none;
  }
}

/* ---------- Text + links ---------- */
.inhalt {
  position: relative;
  max-width: 27rem;
  margin: -5rem auto 0;
  padding: 0 1.25rem 2rem;
}

.hallo {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--licht-leise);
}

.name {
  margin: 0.125rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.75rem, 26vw, 8rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  background: linear-gradient(100deg, var(--sonne-a) 0%, var(--sonne-b) 40%, var(--sonne-c) 78%, #ff7cc0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 16px rgba(255, 63, 142, 0.28));
}

.intro {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--licht-leise);
}

.intro .satz {
  display: block;
}

.intro strong {
  font-weight: 500;
  color: var(--licht);
}

.links {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.knopf {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 4rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--rand);
  border-radius: 999px;
  background: var(--licht-hauch);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--licht);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.knopf svg {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
}

.knopf-titel {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.25;
}

.knopf-sub {
  display: block;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--licht-leise);
}

.knopf:hover {
  background: rgba(255, 240, 228, 0.15);
  border-color: rgba(255, 232, 215, 0.34);
}

.knopf--sonne {
  border: 0;
  background: linear-gradient(100deg, var(--sonne-a) 0%, var(--sonne-b) 55%, var(--sonne-c) 100%);
  color: var(--dunkel-auf-sonne);
  box-shadow: 0 10px 30px -10px rgba(255, 63, 142, 0.6);
}

.knopf--sonne .knopf-sub {
  color: rgba(42, 16, 22, 0.78);
}

.knopf--sonne:hover {
  background: linear-gradient(100deg, #ffdcc2 0%, #ff98b4 55%, #ff5a9c 100%);
}

button.knopf {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.knopf--mitte {
  justify-content: center;
  text-align: center;
}

button.knopf--mitte {
  text-align: center;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.fuss {
  margin: 2rem 0 0;
  font-size: 0.8125rem;
  color: var(--licht-leise);
}

.fuss a {
  color: inherit;
  text-underline-offset: 3px;
}

/* ---------- 18+ page ---------- */
.tor-seite {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 2.5rem 1.25rem;
}

.tor {
  position: relative;
  width: 100%;
  max-width: 27rem;
  margin: 0 auto;
}

.titel {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.25rem, 16vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--licht);
}

.titel:focus {
  outline: none;
}

.zurueck {
  display: inline-block;
  margin: 1.5rem 0 0;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--licht-leise);
  text-underline-offset: 3px;
}

.auftauchen {
  animation: auftauchen 380ms ease-out both;
}

@keyframes auftauchen {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

[hidden] {
  display: none !important;
}

.ohne-js {
  max-width: 27rem;
  margin: 4rem auto;
  padding: 0 1.25rem;
  color: var(--licht-leise);
}

/* ---------- Legal page ---------- */
.text-seite {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 3rem;
}

.text-seite h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
}

.text-seite h2 {
  margin: 2.25rem 0 0.25rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.05;
}

.text-seite h3 {
  margin: 1.25rem 0 0.125rem;
  font-size: 1rem;
  font-weight: 600;
}

.text-seite p {
  margin: 0.375rem 0 0;
  max-width: 68ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--licht-leise);
}

.text-seite a {
  color: var(--gold);
}

.platzhalter {
  padding: 0 0.25em;
  border-radius: 2px;
  background: rgba(243, 199, 122, 0.18);
  color: var(--licht);
}

/* ---------- Larger screens: photo left, text right ---------- */
@media (min-width: 56rem) {
  .seite {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100svh;
  }

  .foto {
    position: sticky;
    top: 0;
    height: 100svh;
    -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%);
    mask-image: linear-gradient(to right, #000 70%, transparent 100%);
  }

  .inhalt {
    align-self: center;
    margin: 0;
    padding: 3rem 3rem 3rem 2rem;
    max-width: 30rem;
  }

  .name {
    font-size: 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foto img,
  .auftauchen {
    animation: none;
  }
}
