/* gute-sexseiten.com · Design „Prüfzeichen“: helles Papier, dunkle Tinte, grüner Haken, gelber Textmarker. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("schrift/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("schrift/hanken-grotesk.woff2") format("woff2"); }

:root {
  --papier: #F7F4EE;
  --papier-2: #EFEAE0;
  --karte: #FFFFFF;
  --tinte: #1C1B22;
  --text: #33313C;
  --grau: #625F6B;
  --linie: #DDD6C8;
  --gut: #0B7A52;
  --gut-dunkel: #075C3D;
  --gut-hell: #DDF2E6;
  --schlecht: #B4321F;
  --schlecht-hell: #FBE5DF;
  --offen: #8A6A00;
  --offen-hell: #FBF0C8;
  --marker: #FFE066;
  --akzent: #C2185B;
  --kopf-schrift: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text-schrift: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --rund: 18px;
  --schatten: 0 1px 0 rgba(28, 27, 34, .04), 0 12px 32px -18px rgba(28, 27, 34, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--papier); color: var(--text); font: 400 1.0625rem/1.65 var(--text-schrift); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gut-dunkel); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--kopf-schrift); color: var(--tinte); line-height: 1.12; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.005em; }
h1 em, h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); padding: 0 .08em; margin: 0 -.08em; }
p { margin: 0 0 1em; }
.breit { width: min(1120px, 100% - 40px); margin-inline: auto; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.sprung:focus { left: 8px; }
.entwurf-balken { background: var(--tinte); color: var(--marker); font: 600 .78rem/1 var(--text-schrift); letter-spacing: .08em; text-align: center; padding: 8px; }

/* Zeichen */
.zeichen { width: 1.5em; height: 1.5em; flex: none; }
.zeichen circle { fill: var(--gut); }
.zeichen path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zeichen.schlecht circle { fill: var(--schlecht); }
.zeichen.offen circle { fill: var(--offen); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf .breit { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.marke { display: inline-flex; align-items: center; gap: 9px; font: 500 1.22rem/1 var(--kopf-schrift); color: var(--tinte); text-decoration: none; letter-spacing: -.02em; }
.marke b { font-weight: 800; }
.marke .zeichen { width: 1.45em; height: 1.45em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; padding: 9px 13px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { background: var(--papier-2); color: var(--tinte); }
.ab18 { font: 700 .74rem/1 var(--text-schrift); border: 1.5px solid var(--tinte); color: var(--tinte); border-radius: 999px; padding: 5px 8px; }
.menue-knopf { display: none; font: 600 .95rem/1 var(--text-schrift); background: var(--tinte); color: #fff; border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; }

/* Einstieg */
.einstieg { padding: clamp(36px, 7vw, 76px) 0 clamp(26px, 4vw, 44px); }
.einstieg h1 { max-width: 17ch; }
.einstieg .dazu { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 62ch; margin: 22px 0 0; }
.krume { font-size: .9rem; color: var(--grau); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.krume a { color: var(--grau); }
.stand { font-size: .88rem; color: var(--grau); margin: 18px 0 0; }
.zeile { font: 700 .78rem/1.2 var(--text-schrift); letter-spacing: .1em; text-transform: uppercase; color: var(--gut-dunkel); margin: 0 0 10px; }

/* Startseite: Einstieg mit Prüfkarte */
.start-einstieg .breit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.start-einstieg h1 { max-width: 14ch; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; background: var(--gut); color: #fff; font: 650 1rem/1 var(--text-schrift); text-decoration: none; border: 2px solid var(--gut); border-radius: 999px; padding: 15px 22px; cursor: pointer; transition: background .15s, transform .15s; }
.knopf:hover { background: var(--gut-dunkel); border-color: var(--gut-dunkel); color: #fff; transform: translateY(-1px); }
.knopf.leer { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf.leer:hover { background: var(--tinte); color: #fff; }
.knopf.klein { padding: 10px 15px; font-size: .9rem; }
.pruefkarte { position: relative; background: var(--karte); border: 1px solid var(--linie); border-radius: 22px; box-shadow: var(--schatten); padding: 18px 20px 20px; transform: rotate(1.4deg); }
.pruefkarte .leiste { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.pruefkarte .leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.pruefkarte .leiste span { margin-left: 8px; flex: 1; background: var(--papier); border-radius: 999px; font-size: .8rem; color: var(--grau); padding: 5px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pruefkarte ul { list-style: none; margin: 0; padding: 0; }
.pruefkarte li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--linie); font-weight: 550; color: var(--tinte); font-size: .98rem; }
.pruefkarte li small { display: block; font-weight: 400; color: var(--grau); font-size: .84rem; }
.stempel { position: absolute; right: -14px; bottom: -22px; width: 104px; height: 104px; border-radius: 50%; background: var(--marker); color: var(--tinte); display: grid; place-items: center; text-align: center; font: 800 1.02rem/1.05 var(--kopf-schrift); transform: rotate(-12deg); box-shadow: 0 8px 20px -10px rgba(28, 27, 34, .5); border: 2px dashed rgba(28, 27, 34, .35); }
.stempel small { display: block; font: 600 .62rem/1.2 var(--text-schrift); letter-spacing: .08em; text-transform: uppercase; }

/* Abschnitte */
.abschnitt { padding: clamp(34px, 6vw, 68px) 0; }
.abschnitt.folgt { padding-top: 0; }
.abschnitt.band { background: var(--papier-2); padding-top: clamp(34px, 6vw, 68px); margin-bottom: clamp(34px, 6vw, 68px); }
.abschnitt h2 { margin-bottom: 14px; }
.vor { font-size: 1.12rem; max-width: 66ch; color: var(--text); margin-bottom: 26px; }
.text { max-width: 70ch; }
.text h2 { margin-top: 1.6em; }
.text h3 { margin: 1.7em 0 .5em; }
.text ul, .text ol { padding-left: 1.25em; margin: 0 0 1em; }
.text li { margin-bottom: .45em; }
.text.recht h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.text.recht h2:first-child { margin-top: 0; }
.hinweis { font-size: .9rem; color: var(--grau); max-width: 70ch; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.karte { position: relative; display: block; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 22px 22px 46px; text-decoration: none; color: var(--text); box-shadow: var(--schatten); transition: transform .15s, border-color .15s; }
.karte:hover { transform: translateY(-3px); border-color: var(--gut); color: var(--text); }
.karte h3 { margin-bottom: 8px; }
.karte p { margin: 0; font-size: .97rem; line-height: 1.5; }
.karte .pfeil { position: absolute; left: 22px; bottom: 16px; font-weight: 700; color: var(--gut); transition: transform .15s; }
.karte:hover .pfeil { transform: translateX(5px); }

/* Fünf Zeichen (Startseite) */
.fuenf { counter-reset: z; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.fuenf li { counter-increment: z; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px; }
.fuenf li::before { content: counter(z); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gut); color: #fff; font: 800 1rem/1 var(--kopf-schrift); margin-bottom: 14px; }
.fuenf h3 { margin-bottom: 6px; font-size: 1.1rem; }
.fuenf p { margin: 0; font-size: .95rem; line-height: 1.5; }

/* Prüfliste */
.pruefliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 860px; }
.pruefliste li { display: flex; gap: 16px; background: var(--karte); border: 1px solid var(--linie); border-left: 5px solid var(--gut); border-radius: 14px; padding: 18px 20px; }
.pruefliste li.schlecht { border-left-color: var(--schlecht); }
.pruefliste li.offen { border-left-color: var(--offen); }
.pruefliste .zeichen { width: 30px; height: 30px; margin-top: 2px; }
.pruefliste h3 { margin-bottom: 5px; }
.pruefliste p { margin: 0; }

/* Gut / Schlecht */
.gut-schlecht { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gut-schlecht .spalte { border-radius: var(--rund); padding: 22px; }
.gut-schlecht .gut { background: var(--gut-hell); }
.gut-schlecht .schlecht { background: var(--schlecht-hell); }
.gut-schlecht h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gut-schlecht ul { margin: 0; padding-left: 1.15em; }
.gut-schlecht li { margin-bottom: .5em; }

/* Kästen */
.kasten { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 24px 26px; max-width: 860px; }
.kasten p:last-child { margin-bottom: 0; }
.kasten.merk { background: var(--gut-hell); border-color: transparent; }
.kasten.merk p:not(.zeile) { font-size: 1.1rem; color: var(--tinte); }
.kasten.warn { background: var(--offen-hell); }
.kasten.warn .zeile { color: var(--offen); }
.kasten.eigen { border-style: dashed; border-color: var(--tinte); background: transparent; }
.kasten.eigen .zeile { color: var(--akzent); }
.kasten h3 { margin-bottom: 8px; }

/* Tabellen */
.tafel-rahmen { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); }
.tafel { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.tafel th, .tafel td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--linie); }
.tafel thead th { background: var(--tinte); color: #fff; font-weight: 650; }
.tafel tbody th { font-weight: 650; color: var(--tinte); width: 26%; }
.tafel tbody tr:last-child th, .tafel tbody tr:last-child td { border-bottom: 0; }

/* Schritte */
.schritte { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 860px; }
.schritte li { counter-increment: s; position: relative; padding: 4px 0 4px 58px; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: var(--marker); font: 800 1.05rem/1 var(--kopf-schrift); }
.schritte h3 { margin-bottom: 4px; }
.schritte p { margin: 0; }

/* Beispiele (fremde Websites) */
.beispiele { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: 16px; }
.beispiel { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 22px; display: flex; flex-direction: column; }
.beispiel h3 { margin-bottom: 8px; }
.beispiel p { font-size: .97rem; }
.beispiel dl { margin: 0 0 14px; font-size: .9rem; }
.beispiel dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--linie); }
.beispiel dt { color: var(--grau); }
.beispiel dd { margin: 0; color: var(--tinte); }
.beispiel .hin { margin-top: auto; font-weight: 650; font-size: .93rem; }

/* Fragen */
details { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; margin-bottom: 10px; max-width: 860px; }
summary { cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; font: 650 1.05rem/1.35 var(--kopf-schrift); color: var(--tinte); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--text-schrift); color: var(--gut); }
details[open] > summary::after { content: "–"; }
details > p, details > ol, details > .hinweis { margin: 0; padding: 0 20px 18px; }
.quellen-auf { background: transparent; }
.quellen-auf summary { font-size: .95rem; font-family: var(--text-schrift); color: var(--grau); }
.quellen { padding-left: 2.6em !important; font-size: .9rem; overflow-wrap: anywhere; }
.quellen li { margin-bottom: .5em; }
.quellen-teil { padding-bottom: clamp(34px, 6vw, 68px); }

/* Seiten-Check */
.check { display: grid; gap: 10px; max-width: 860px; margin: 0; padding: 0; border: 0; }
.check legend { font: 700 1.25rem/1.2 var(--kopf-schrift); color: var(--tinte); padding: 0; margin: 26px 0 10px; }
.check label { display: flex; gap: 14px; align-items: flex-start; background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 16px 18px; cursor: pointer; }
.check label:hover { border-color: var(--gut); }
.check input { appearance: none; flex: none; width: 26px; height: 26px; border: 2px solid var(--tinte); border-radius: 8px; margin: 1px 0 0; cursor: pointer; display: grid; place-items: center; background: #fff; }
.check input:checked { background: var(--gut); border-color: var(--gut); }
.check input:checked::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); }
.check label:has(input:checked) { background: var(--gut-hell); border-color: transparent; }
.check label:has(input:disabled) { opacity: .45; cursor: default; }
.check label.schalter { border-style: dashed; border-color: var(--tinte); background: transparent; }
.check b { display: block; color: var(--tinte); }
.check small { color: var(--grau); font-size: .9rem; }
.check-aus { position: sticky; bottom: 12px; max-width: 860px; margin-top: 22px; background: var(--tinte); color: #fff; border-radius: var(--rund); padding: 20px 22px; box-shadow: 0 18px 40px -18px rgba(28, 27, 34, .7); }
.check-aus .balken { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; margin: 10px 0 12px; }
.check-aus .balken i { display: block; height: 100%; width: 0; background: var(--marker); transition: width .25s; }
.check-aus p { margin: 0; }
.check-aus strong { color: var(--marker); }
.check-aus .stand-zeile { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: .9rem; opacity: .85; }
.check-aus button { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 6px 12px; font: 600 .82rem/1 var(--text-schrift); cursor: pointer; }

/* Abbildung */
.abbildung { margin: 0 0 clamp(34px, 6vw, 68px); }
.abbildung img { border-radius: var(--rund); width: 100%; }
.abbildung figcaption { font-size: .88rem; color: var(--grau); margin-top: 8px; }

/* Fuß */
.fuss { background: var(--tinte); color: #CFCBD6; padding: 48px 0 28px; margin-top: 20px; font-size: .95rem; }
.fuss a { color: #fff; text-decoration: none; display: block; padding: 4px 0; }
.fuss a:hover { text-decoration: underline; }
.fuss .zeile { color: var(--marker); }
.fuss-spalten { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 32px; }
.fuss-marke { display: flex; align-items: center; gap: 9px; font: 700 1.15rem/1 var(--kopf-schrift); color: #fff; }
.fuss-zeile { border-top: 1px solid rgba(255, 255, 255, .15); margin: 34px 0 0; padding-top: 18px; font-size: .86rem; }

@media (max-width: 860px) {
  .menue-knopf { display: inline-block; }
  .ab18 { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--papier); border-bottom: 1px solid var(--linie); flex-direction: column; padding: 10px 20px 18px; margin: 0; }
  .nav.offen { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1.05rem; }
  .start-einstieg .breit { grid-template-columns: 1fr; }
  .pruefkarte { transform: none; margin-right: 14px; }
  .gut-schlecht { grid-template-columns: 1fr; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .fuss-spalten { grid-template-columns: 1fr; }
  .beispiel dl div { grid-template-columns: 1fr; gap: 0; }
  .pruefliste li { padding: 16px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
