@font-face {
  font-family: "Archivo";
  src: url(/assets/fonts/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0f1a2e;       /* Seekarten-Blau, Hintergrund */
  --sheet: #152542;     /* Kartenblatt */
  --sheet-2: #1c3056;   /* Kartenblatt, Hover */
  --line: #2b416b;      /* Gitter- und Höhenlinien */
  --paper: #e8eef8;     /* Text */
  --muted: #9db0cf;     /* Nebentext */
  --survey: #ff5c93;    /* Vermessungs-Pink: Aktionen */
  --survey-2: #ff8db3;
  --score: #62d2bf;     /* Bewertungen */
  --gold: #f2c14e;      /* Premium = kostet Geld */
  --r: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.55 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--survey); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--paper); color: var(--ink); padding: 6px 12px; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.015em; font-stretch: 118%; }

/* ---------- Kopf ---------- */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 122%; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.top-nav { display: flex; align-items: center; gap: 16px; font-size: 0.95rem; }
.nav-submit { color: var(--survey-2); text-decoration: none; font-weight: 600; }
.nav-submit:hover { text-decoration: underline; }
.langs { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.langs a { padding: 2px 10px; border-radius: 999px; font-weight: 650; font-size: 0.8rem; text-decoration: none; color: var(--muted); }
.langs a:hover { color: var(--paper); }
.langs a[aria-current] { background: var(--sheet-2); color: var(--paper); }

/* ---------- Startseite: Einleitung mit Höhenlinien ---------- */
.intro { position: relative; padding: 48px 0 28px; overflow-x: clip; }
.intro > * { position: relative; max-width: 760px; }
.is-home .intro::before {
  content: "";
  position: absolute;
  top: 0; right: -16px; bottom: 0;
  width: min(980px, 74%);
  background-image:
    linear-gradient(to right, var(--ink) 0%, rgba(15, 26, 46, 0) 40%),
    linear-gradient(to top, var(--ink) 0%, rgba(15, 26, 46, 0) 32%),
    linear-gradient(to bottom, var(--ink) 0%, rgba(15, 26, 46, 0) 16%),
    url(/assets/hero-gold.webp);
  background-repeat: no-repeat;
  background-position: center, center, center, right center;
  background-size: auto, auto, auto, cover;
  pointer-events: none;
}
.intro h1 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); font-weight: 850; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 66ch; margin: 0.8em 0 0; }

/* ---------- Register (Kartengitter) ---------- */
.register { margin: 8px 0 40px; }
.register h2 { font-size: 1rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-bottom: 10px; }
.reg-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.reg-list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reg-list a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px; padding: 12px 14px; text-decoration: none; }
.reg-list a:hover { background: var(--sheet); }
.reg-list a:hover .reg-name { text-decoration: underline; }
.reg-n { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }

/* ---------- Neu eingetragen ---------- */
.newest { margin: -12px 0 36px; }
.newest h2 { font-size: 1rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-bottom: 10px; }
.new-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.new-list a { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 9px 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.new-list a:hover { border-color: var(--survey); }
.new-list .fav { grid-row: 1 / 3; }
.new-name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.new-cat { color: var(--muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Kartenblätter ---------- */
.sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; align-items: start; }
.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); scroll-margin-top: 16px; }
.sheet-h { display: grid; grid-template-columns: 1fr; column-gap: 12px; align-items: center; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.sheet-h h2 { font-size: 1.14rem; font-weight: 780; }
.sheet-h h2 a { text-decoration: none; }
.sheet-h h2 a:hover { color: var(--survey-2); text-decoration: underline; }
.sheet-n { color: var(--muted); font-size: 0.84rem; }

.ranks { list-style: none; margin: 0; padding: 6px 0; }
.rank { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 14px; min-height: 40px; }
.rank:hover { background: var(--sheet-2); }
.pos { width: 1.5em; flex: none; text-align: right; color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.rank-name { flex: 1; min-width: 0; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-name:hover { color: var(--survey-2); text-decoration: underline; }
.fav { width: 18px; height: 18px; flex: none; border-radius: 4px; display: block; }
/* Favicons sind für helle Tab-Leisten gemacht: heller Untergrund, sonst verschwinden dunkle Logos */
img.fav { background: var(--paper); padding: 1px; object-fit: contain; }
.fav-x { background: var(--line); color: var(--paper); font-size: 10px; font-weight: 750; display: grid; place-items: center; line-height: 1; }
.tag { font-size: 0.72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.tag-p { color: var(--gold); border: 1px solid rgba(242, 193, 78, 0.5); }
.score { font-weight: 750; color: var(--score); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.out { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; color: var(--muted); }
.out:hover { color: var(--survey); background: var(--ink); }
.more { display: block; padding: 8px 16px 14px; color: var(--survey-2); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.more:hover { text-decoration: underline; }

.about { max-width: 70ch; margin: 56px 0 8px; color: var(--muted); }
.about h2 { color: var(--paper); font-size: 1.35rem; margin-bottom: 0.6em; }
.about p { margin: 0 0 1em; }

/* ---------- Unterseiten ---------- */
.crumbs { padding: 18px 0 0; font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--paper); }
.page-h { padding: 18px 0 28px; max-width: 800px; }
.page-h h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 850; }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 2.4em 176px 1fr auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.item-shot { display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--sheet) url(/favicon.svg) no-repeat center / 28px; border: 1px solid var(--line); }
.item-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.item-shot:hover { border-color: var(--survey); }

/* Screenshot auf der Bewertungsseite */
.shot { margin: 28px 0 0; }
.shot a { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--sheet); }
.shot a:hover { border-color: var(--survey); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: 0.86rem; }
.item .pos { width: auto; text-align: left; font-size: 1.3rem; font-weight: 800; font-stretch: 115%; color: var(--survey); }
.item-name { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 1.18rem; font-weight: 760; font-stretch: 108%; }
.item-name a { text-decoration: none; }
.item-name a:hover { color: var(--survey-2); text-decoration: underline; }
.item-desc { margin: 5px 0 0; color: var(--muted); max-width: 72ch; }
.item-side { display: flex; align-items: center; gap: 16px; }
.score-l { font-size: 1.2rem; }

.btn { display: inline-block; border: 0; cursor: pointer; background: var(--survey); color: #24060f; font: inherit; font-weight: 750; font-size: 0.92rem; text-decoration: none; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.btn:hover { background: var(--survey-2); }
.btn-big { font-size: 1rem; padding: 12px 24px; }

.review { max-width: 920px; }
.rev-h { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding: 18px 0 30px; border-bottom: 1px solid var(--line); }
.rev-h h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 850; }
.rev-h h1 .fav { width: 32px; height: 32px; border-radius: 6px; font-size: 16px; }
.rev-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 200px; }
.big-score { margin: 0; line-height: 1; }
.big-score .num { font-size: 3.2rem; font-weight: 850; font-stretch: 112%; color: var(--score); }
.big-score .of { color: var(--muted); }
.host { margin: 0; color: var(--muted); font-size: 0.86rem; }
.nolink { margin: 0 0 8px; color: var(--muted); font-size: 0.9rem; max-width: 280px; }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 0; }
.pc h2 { font-size: 1.05rem; margin-bottom: 8px; font-stretch: 110%; }
.pc ul { margin: 0; padding-left: 1.15em; }
.pc li { margin-bottom: 4px; }
.pros h2 { color: var(--score); }
.cons h2 { color: var(--survey-2); }

.prose { max-width: 70ch; margin: 28px 0; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 1.4rem; margin: 1.5em 0 0.5em; }
.muted { color: var(--muted); }

.similar { margin: 40px 0 0; }
.similar h2 { font-size: 1.25rem; margin-bottom: 14px; }
.sim { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.sim a { display: flex; align-items: center; gap: 9px; padding: 11px 13px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.sim-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim a:hover { border-color: var(--survey); }
.more-inline { color: var(--survey-2); font-weight: 600; }

/* ---------- Formular ---------- */
.form { max-width: 620px; display: grid; gap: 18px; margin: 4px 0 40px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--paper); background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--survey); outline: none; }
.form textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { max-width: 620px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
.note p { margin: 0.2em 0; }
.note-ok { border-color: var(--score); }
.note-err { border-color: var(--survey); margin-bottom: 18px; }

/* ---------- Fuß ---------- */
.foot { margin-top: 64px; border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 0.88rem; }
.foot .age { max-width: 70ch; margin: 0 0 12px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--paper); }

/* ---------- Schmal ---------- */
@media (max-width: 700px) {
  .is-home .intro::before {
    width: 100%; right: 0; opacity: 0.5;
    background-image: linear-gradient(to right, var(--ink) 0%, rgba(15, 26, 46, 0) 30%), linear-gradient(to top, var(--ink) 0%, rgba(15, 26, 46, 0) 40%), linear-gradient(to bottom, var(--ink) 0%, rgba(15, 26, 46, 0) 12%), url(/assets/hero-gold-900.webp);
    background-position: center, center, center, 80% center;
    background-size: auto, auto, auto, cover;
  }
  .intro { padding-top: 32px; }
  .reg-list { grid-template-columns: 1fr 1fr; }
  .reg-list a { grid-template-columns: 1fr; padding: 10px; }
  .reg-n { display: none; }
  .sheets { grid-template-columns: 1fr; }
  .item { grid-template-columns: 1.6em 104px 1fr; gap: 10px 12px; align-items: start; }
  .item .pos { font-size: 1.05rem; padding-top: 2px; }
  .item-name { font-size: 1.05rem; }
  .item-side { grid-column: 2 / 4; justify-content: space-between; }
  .rev-h { grid-template-columns: 1fr; gap: 18px; }
  .rev-side { align-items: flex-start; }
  .pc { grid-template-columns: 1fr; }
  .top-nav { gap: 10px; font-size: 0.88rem; }
}
@media (max-width: 380px) {
  .reg-list { grid-template-columns: 1fr; }
  .logo span { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Werbefläche Bewertungsseite (300x250, Admin → Werbung) ---------- */
.rev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.rev-grid .review { max-width: none; }
.ad-side { position: sticky; top: 24px; margin-top: 18px; }
.ad-label { margin: 0 0 6px; font-size: 0.75rem; opacity: 0.6; text-align: center; }
.ad-300 { width: 300px; min-height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (max-width: 1000px) {
  .rev-grid { grid-template-columns: 1fr; }
  .ad-side { position: static; margin: 28px auto 0; }
}

/* ---------- Eingestellte Seiten (Kategorie „Ehemalige Pornoseiten“) ---------- */
.gone-badge { margin: 0; padding: 5px 14px; border: 1px solid var(--survey-2); border-radius: 999px; color: var(--survey-2); font-weight: 700; font-size: 0.95rem; }
.rev-side.gone { max-width: 290px; text-align: right; }
.rev-side.gone .host a { color: var(--paper); }
.alts { margin: 36px 0 8px; scroll-margin-top: 16px; }
.alts > h2 { font-size: 1.4rem; margin-bottom: 14px; }
.alt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alt-list li { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 14px 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); }
.alt-main h3 { display: flex; align-items: center; gap: 9px; font-size: 1.1rem; }
.alt-main h3 a { color: var(--paper); text-decoration: none; }
.alt-main h3 a:hover { color: var(--survey-2); text-decoration: underline; }
.alt-main p { margin: 6px 0 0; color: var(--muted); font-size: 0.93rem; }
.alt-side { display: flex; align-items: center; gap: 14px; }
@media (max-width: 700px) {
  .alt-list li { grid-template-columns: 1fr; }
  .alt-side { justify-content: space-between; }
  .rev-side.gone { text-align: left; align-items: flex-start; }
}

/* ---------- Impressum / Datenschutz ---------- */
.legal { max-width: 72ch; margin: 8px 0 48px; }
.legal h1 { margin-bottom: 18px; }
.legal .prose h2 { font-size: 1.12rem; margin: 1.6em 0 0.4em; }
.legal .prose ul { padding-left: 1.2em; }
.legal .prose li { margin: 0.3em 0; }
