/* EchteKontakte – Stylesheet (mobile first, ein gemeinsames Komponentensystem) */

/* ---------- Tokens ---------- */
:root {
  --brand: #d62a45;
  --brand-2: #e8475d;
  --brand-dark: #ff6b80;
  --brand-soft: rgba(214, 42, 69, .14);
  --ink: #f4eff1;
  --ink-soft: #bdb4b9;
  --ink-mute: #8e858a;
  --bg: #0f0d11;
  --surface: #19161b;
  --surface-2: #221e25;
  --line: #2f2a33;
  --footer: #09080a;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow: 0 14px 36px rgba(0, 0, 0, .45);
  --grad: linear-gradient(135deg, #e8475d, #a8102a);

  --gutter: 16px;
  --max: 1080px;
  --space: 56px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(1.85rem, 7.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -9999px; top: 8px; }
.skip-link:focus { left: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.section { padding: var(--space) 0; }
.section--white { background: var(--surface); }
.section__head { max-width: 620px; margin: 0 auto 28px; text-align: center; }
.section__head p { color: var(--ink-soft); margin: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--footer); border-bottom: 1px solid rgba(214, 42, 69, .45); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.logo {
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none;
}
.logo::before { content: ""; margin-right: 9px; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--brand); }
.logo span { color: var(--brand-2); }
.badge-18 {
  font-size: .8rem; font-weight: 800; line-height: 1; padding: 6px 9px;
  border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink);
}

/* ---------- Pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-soft); padding: 6px 12px; border-radius: 999px;
}
.pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Altersauswahl (einziges CTA der Website) ---------- */
.age-choice { display: grid; gap: 12px; width: 100%; max-width: 480px; }
.age-choice__label { font-weight: 700; font-size: .95rem; margin: 0 0 10px; }
.age-btn {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 18px 10px 10px;
  background: var(--surface-2); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-left: 4px solid #4a4250; border-radius: var(--r-sm);
  font-weight: 800; font-size: 1.08rem; line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.age-btn::after {
  content: "›"; margin-left: auto; font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--ink-mute);
  transition: transform .15s ease, color .15s ease;
}
.age-btn:hover { transform: translateY(-1px); border-color: #5a5060; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.age-btn:hover::after { transform: translateX(3px); color: var(--ink); }
.age-btn:active { transform: translateY(0) scale(.99); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.age-btn:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: var(--r-sm); }
.age-btn__icon {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: transparent; border: 1.5px solid #5a5060; color: var(--ink);
}
.age-btn__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.age-btn--primary { background: linear-gradient(90deg, rgba(214, 42, 69, .22), var(--surface-2) 70%); border-color: rgba(214, 42, 69, .55); border-left-color: var(--brand); }
.age-btn--primary .age-btn__icon { background: var(--grad); border-color: transparent; color: #fff; }
.age-btn--primary::after { color: var(--brand-2); }
.age-note { margin: 12px 0 0; font-size: .8rem; color: var(--ink-mute); }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: #120f13; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,13,17,.2) 0%, rgba(15,13,17,.6) 40%, rgba(15,13,17,.95) 100%);
}
.hero .container { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(calc(100svh - 56px), 760px); padding-top: 96px; padding-bottom: 32px; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero__lead { max-width: 34ch; font-size: 1.05rem; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.hero .pill { background: rgba(214,42,69,.28); color: #fff; align-self: flex-start; }
.hero .age-choice__label { color: #fff; }
.hero .age-note { color: rgba(255,255,255,.75); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.card { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: blur(14px) saturate(.9); transform: scale(1.15); transition: transform .3s ease; }
.card:hover img { transform: scale(1.2); }
.card__lock {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(15,13,17,.35); border: 1.5px solid rgba(255,255,255,.7);
}
.card__lock svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); }
.card__name { display: block; font-weight: 800; font-size: 1.02rem; }
.card__link { display: block; font-size: .8rem; font-weight: 700; opacity: .92; }
.card:focus-visible { outline-offset: 3px; border-radius: var(--r-md); }

/* ---------- Schritte / Tipps (gemeinsame Kachel) ---------- */
.tiles { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.section--white .tile { background: var(--surface-2); }
.tile__icon {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem;
}
.tile__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin: 0 0 2px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.5; }

/* ---------- Abschluss-CTA ---------- */
.final { background: linear-gradient(180deg, #1a0d12, var(--footer)); color: #fff; border-top: 1px solid rgba(214,42,69,.35); }
.final .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final p { color: rgba(255,255,255,.75); max-width: 36ch; }
.final .age-choice { text-align: left; }
.final .age-note { color: rgba(255,255,255,.6); }

/* ---------- Profilseite (/johanna/) ---------- */
.profile-page { background: radial-gradient(circle at 0 25%, rgba(214,42,69,.16), transparent 42%), radial-gradient(circle at 100% 0, rgba(168,16,42,.14), transparent 36%), var(--bg); }
.profile { padding: 12px 0 8px; }
.profile-card { display: grid; gap: 18px; padding: 12px 12px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.profile-card__text { padding: 0 6px; }
.profile-card__text h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
.profile-card__text h1 em { font-style: normal; color: var(--brand); }
.profile-card__text > p { color: var(--ink-soft); font-size: 1.02rem; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-md); background: #3a2a2e; aspect-ratio: 1 / 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(.9); transform: scale(1.2); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60,40,45,.08), rgba(60,40,45,.38)); pointer-events: none; }
.photo__link { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 16px 84px; color: #fff; text-align: center; text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.photo__lock { width: 42px; height: 42px; margin-bottom: 6px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.photo__lock svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.photo__link strong { font-size: 1.05rem; }
.photo__unlock {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-sm); background: var(--grad); color: #fff; font-weight: 800; font-size: .98rem; text-shadow: none;
  box-shadow: 0 8px 22px rgba(168,16,42,.55); transition: transform .15s ease;
}
.photo__link:hover .photo__unlock { transform: translateY(-1px); }
.photo__link:active .photo__unlock { transform: scale(.98); }
#johanna-alter { scroll-margin-top: 16px; }

/* Audio-Player */
.player {
  position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  background: rgba(15,13,17,.72); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink);
}
.player[hidden] { display: none; }
.player__btn { flex: 0 0 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--grad); box-shadow: 0 4px 12px rgba(240,79,90,.35); }
.player__btn svg { width: 18px; height: 18px; fill: #fff; }
.player__btn .i-pause, .player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.player__text strong { font-size: .84rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__wave { display: flex; align-items: center; gap: 2px; height: 16px; cursor: pointer; }
.player__wave i { flex: 1; max-width: 4px; height: 40%; border-radius: 2px; background: rgba(232,71,93,.38); }
.player__wave i:nth-child(3n) { height: 85%; }
.player__wave i:nth-child(4n+1) { height: 60%; }
.player__wave i:nth-child(5n+2) { height: 100%; }
.player__wave i:nth-child(7n) { height: 30%; }
.player__wave i.is-done { background: var(--brand-2); }
.player__time { font-size: .8rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.profile-extra { padding: 16px 0 var(--space); }
.more { margin: 12px 0 0; padding: 32px 20px; text-align: center; background: linear-gradient(180deg, #2a1219, var(--surface) 65%); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.more p { color: var(--ink-soft); max-width: 34ch; margin: 0 auto 20px; }
.more .age-choice { margin: 0 auto; text-align: left; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 28px 0 var(--space); }
.legal__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px 18px; }
.legal h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: .2em; }
.legal__date { color: var(--ink-mute); font-size: .88rem; margin-bottom: 1.6em; }
.legal h2 { font-size: 1.15rem; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.legal h3 { font-size: 1rem; margin: 1.3em 0 .4em; }
.legal p { color: #d6cfd3; }
.legal__back { display: inline-block; margin-top: 18px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); border-top: 1px solid var(--line); color: rgba(255,255,255,.66); font-size: .86rem; line-height: 1.55; padding: 36px 0 32px; }
.site-footer .logo { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 16px 0 18px; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 6px 0; color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.footer-note p { margin: 0 0 6px; }
.footer-note a { color: #fff; }

/* ---------- Ab 600 px ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; --space: 72px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tile { flex-direction: column; padding: 22px; }
  .legal__card { padding: 40px 44px; }
}

/* ---------- Ab 960 px ---------- */
@media (min-width: 960px) {
  :root { --space: 88px; }
  .hero .container { justify-content: center; min-height: 620px; padding-top: 64px; padding-bottom: 64px; }
  .hero::after { background: linear-gradient(90deg, rgba(15,13,17,.92) 0%, rgba(15,13,17,.55) 50%, rgba(15,13,17,.1) 100%); }
  .hero__img { object-position: 70% 30%; }
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .profile { padding: 32px 0 8px; }
  .profile .container, .profile-extra .container { max-width: 940px; }
  .profile-card { grid-template-columns: 380px minmax(0, 1fr); align-items: center; gap: 40px; padding: 16px 40px 16px 16px; }
  .profile-card__text { padding: 0; }
  .photo { aspect-ratio: 4 / 5; }
  .photo__link { padding-bottom: 96px; }
  .more { padding: 44px 32px; }
}

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