/* Oeffentliche Linkseite (Link in Bio). Eigener Look nach Vorbild Emma,
   bewusst getrennt von dash.css. Ausnahme in docs/design-regeln.md. */

:root {
  --fondo: #f6f2ea;
  --tinta: #171717;
  --gris: #737373;
  --gris-claro: #a3a3a3;
  --linea: rgba(0, 0, 0, .1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--fondo);
  color: var(--tinta);
  font: 15px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
a[data-b] { cursor: pointer; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; display: block; }

/* ------------------------------------------------------------ Spalte */

.col {
  max-width: 430px;
  margin: 0 auto;
  padding: 28px 24px calc(64px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #e9e3d8;
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hero::after {
  content: "";
  position: absolute;
  inset: 75% 0 0 0;
  background: linear-gradient(to bottom, rgba(246, 242, 234, 0), var(--fondo));
}

h1 {
  font: 500 31px/1.15 var(--serif);
  letter-spacing: -.01em;
  text-align: center;
  margin-top: 8px;
}
h1 .verificado { display: inline-block; width: 22px; height: 22px; margin-left: 6px; vertical-align: -2px; color: #3b82f6; }

.online {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gris);
  margin-top: -4px;
}
.online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
  animation: latido 2s ease-in-out infinite;
}
@keyframes latido { 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .05); } }

hr { border: 0; border-top: 1px solid var(--linea); margin: 16px 0; }

/* ------------------------------------------------------------ Karte mit Bild */

.card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--linea);
  background: #e9e3d8;
  transition: transform .15s ease;
}
.card:active { transform: scale(.985); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .shade {
  position: absolute;
  inset: 60% 0 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}
.card .lock {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(246, 242, 234, .9);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.card-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font: 500 19px/1.2 var(--serif);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

/* ------------------------------------------------------------ Breite Zeile */

.row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .15);
  background: #fff;
  transition: transform .15s ease;
}
.row:active { transform: scale(.985); }
.row .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}
.row-label { flex: 1; font: 500 17px/1.25 var(--serif); }
.row-end { color: var(--gris); font-size: 18px; }

/* ------------------------------------------------------------ Kacheln */

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border-radius: 12px;
  border: 1px solid var(--linea);
  background: #fff;
  font-size: 12px;
  color: #525252;
  text-align: center;
  transition: transform .15s ease;
}
.tile:active { transform: scale(.97); }
.tile-ico { font-size: 19px; }

/* Markenfarben: Zeile als Flaeche, Kachel als Symbolfarbe */
.ico.t-vip { background: linear-gradient(135deg, #ff6a95, #b23cff); }
.ico.t-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.ico.t-tiktok, .ico.t-x { background: #111; }
.ico.t-youtube { background: #ff0000; }
.ico.t-telegram { background: #229ed9; }
.ico.t-otro { background: #737373; }
.tile-ico.t-vip { color: #d63384; }
.tile-ico.t-instagram { color: #e1306c; }
.tile-ico.t-tiktok, .tile-ico.t-x { color: #111; }
.tile-ico.t-youtube { color: #ff0000; }
.tile-ico.t-telegram { color: #229ed9; }
.tile-ico.t-otro { color: #737373; }

footer { margin-top: 20px; text-align: center; font-size: 11px; color: var(--gris-claro); }

/* ------------------------------------------------------------ 18+ Zwischenseite */

.gate { min-height: 100vh; min-height: 100dvh; justify-content: center; text-align: center; padding-bottom: 12vh; }
.gate .ava { width: 76px; height: 76px; margin: 0 auto 4px; border-radius: 50%; overflow: hidden; background: var(--linea); }
.gate .ava img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.gate .quien { font-size: 13px; color: var(--gris); }
.gate .edad { display: inline-block; margin: 6px auto 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.gate h1 { margin-top: 4px; }
.gate .lead { color: #525252; font-size: 14px; max-width: 32ch; margin: 0 auto 6px; }
.gate .err { margin-top: -4px; color: #b91c1c; font-size: 14px; }
.btn[data-espera] { opacity: .55; }

/* ------------------------------------------------------------ Startseite der Domain */

.inicio { padding-top: 22vh; text-align: center; }
.inicio .lema { color: var(--gris); }
.inicio .puntos { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.inicio .beta { margin-top: 12px; font-size: 12px; color: var(--gris-claro); letter-spacing: .02em; }

/* ------------------------------------------------------------ Tipp oben */

.tip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: var(--tinta);
  color: #fff;
  font-size: 13px;
  text-align: left;
}
.tip svg { font-size: 14px; opacity: .7; }
.tip:not([hidden]) + .col { padding-top: 76px; }

/* ------------------------------------------------------------ Fenster unten */

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .45);
  animation: fundido .2s ease;
}
.sheet {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  animation: subir .25s ease;
}
.sheet h2 { font: 500 22px/1.2 var(--serif); }
.sheet p { color: #525252; font-size: 14px; }
@keyframes fundido { from { opacity: 0; } }
@keyframes subir { from { transform: translateY(24px); } }

.sheet .hint { font-size: 13px; color: var(--gris); padding: 4px 8px 0; }
.steps b { color: var(--tinta); font-weight: 600; }
.steps .dots {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 22px;
  border-radius: 6px;
  background: #f0ede6;
  vertical-align: -5px;
}
.steps .dots svg { font-size: 14px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: var(--tinta);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.btn svg { font-size: 18px; }
.btn.alt { background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.btn:active { transform: scale(.985); }
.btn.ghost { background: transparent; color: var(--gris); font-weight: 500; min-height: 40px; }

.sheet .ok { color: #15803d; font-weight: 600; }
.sheet .err { color: #b91c1c; }
.ts { min-height: 65px; display: flex; justify-content: center; align-items: center; }

.spin {
  width: 28px;
  height: 28px;
  margin: 4px auto 0;
  border-radius: 50%;
  border: 3px solid #e5e5e5;
  border-top-color: var(--tinta);
  animation: girar .8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

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