/* Landing-Page-Aufbau – thomas-leibundgut.net (für alle Konten gleich)
   Aussehen pro Pinterest-Konto: eigene Datei /stile/<konto>.css, nach dieser Datei laden.
   Ohne Schriften von aussen, ohne JavaScript. */
/* Grundwerte (neutral). Jedes Pinterest-Konto überschreibt sie mit einer eigenen Datei in /stile/. */
:root {
  /* Farben */
  --bg: #f7f7f7;
  --flaeche: #ffffff;
  --flaeche-2: #efefef;
  --rand: #dddddd;
  --text: #222222;
  --text-2: #5f5f5f;
  --akzent: #444444;
  --akzent-dunkel: #222222;
  --akzent-weich: #eeeeee;
  --akzent-text: #ffffff;
  --gut: #2f7d4f;
  --schlecht: #b4443f;
  --fuss-bg: #222222;
  --fuss-text: #bbbbbb;
  /* Formen */
  --radius: 18px;
  --radius-gross: 28px;
  --knopf-radius: 999px;
  /* Schatten */
  --schatten: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 28px rgba(0, 0, 0, .07);
  --schatten-hoch: 0 2px 4px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .12);
  --schatten-gross: 0 2px 6px rgba(0, 0, 0, .05), 0 24px 60px rgba(0, 0, 0, .10);
  /* Schriften (nur Systemschriften oder selbst gehostete aus /schriften/) */
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --titel: var(--schrift);
  --titel-gewicht: 700;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--schrift); font-size: 18px; line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--akzent-dunkel); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 720px; }
.springen { position: absolute; left: -9999px; }
.springen:focus { left: 16px; top: 12px; z-index: 50; background: var(--flaeche); padding: 8px 12px; }

h1, h2, h3 { font-family: var(--titel); font-weight: var(--titel-gewicht); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 7vw, 54px); margin: 0 0 16px; }
h1 .hervor { font-style: italic; font-weight: 400; color: var(--akzent); }
h2 { font-size: clamp(26px, 5vw, 36px); margin: 0 0 14px; }
h3 { font-size: 21px; margin: 0 0 6px; }
p { margin: 0 0 14px; text-wrap: pretty; }
.klein { font-size: 15px; color: var(--text-2); }
.vorspann { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-2); max-width: 36em; }
.dachzeile {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--akzent-dunkel); margin-bottom: 10px;
}

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--flaeche) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rand);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 17px; }
.marke svg { flex: none; }
.kopf nav { display: flex; gap: 18px; }
.kopf nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.kopf nav a:hover { color: var(--akzent-dunkel); }
@media (max-width: 560px) { .kopf nav a:not(.wichtig) { display: none; } }

.werbung { font-size: 13px; color: var(--text-2); padding: 10px 0 0; margin: 0; }
.werbung a { color: var(--text-2); }

/* Abschnitte */
.abschnitt { padding: clamp(44px, 8vw, 80px) 0; }
.abschnitt.getoent { background: var(--flaeche-2); }
.abschnitt-kopf { max-width: 640px; margin: 0 auto 32px; text-align: center; }

/* Einstieg */
.einstieg { padding: clamp(28px, 6vw, 64px) 0 clamp(36px, 7vw, 72px); }
.einstieg .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .einstieg .wrap { grid-template-columns: 1.25fr .75fr; } }
.einstieg-bild {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-gross);
  box-shadow: var(--schatten); padding: 24px; aspect-ratio: 1; display: grid; place-items: center;
}
@media (max-width: 859px) { .einstieg-bild { display: none; } }
.einstieg-bild { position: relative; background: linear-gradient(135deg, var(--akzent-weich), var(--flaeche) 70%); }
.einstieg-bild .schild {
  position: absolute; top: -12px; right: -12px; background: var(--akzent); color: var(--akzent-text);
  font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: var(--schatten);
}
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes naehen { to { stroke-dashoffset: -40; } }
.laufende-naht { stroke-dasharray: 8 4; }
@media (prefers-reduced-motion: no-preference) {
  .einstieg-bild { animation: schweben 4s ease-in-out infinite; }
  .laufende-naht { animation: naehen 2s linear infinite; }
}
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.eckdaten { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.eckdaten li::before { content: "✓ "; color: var(--gut); font-weight: 700; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: var(--knopf-radius);
  font-weight: 700; font-size: 17px; text-decoration: none; text-align: center;
  background: var(--akzent); color: var(--akzent-text); border: 2px solid var(--akzent);
  transition: transform .15s ease, background .15s ease;
}
.knopf:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); }
.knopf:active { transform: translateY(1px); }
.knopf.zweit { background: transparent; color: var(--text); border-color: var(--rand); }
.knopf.zweit:hover { border-color: var(--akzent); color: var(--akzent-dunkel); }
.knopf.breit { width: 100%; }

/* Naht als Trenner */
.naht { display: block; width: 100%; height: 14px; color: var(--akzent); opacity: .55; }

/* Karten */
.raster { display: grid; gap: 16px; }
@media (min-width: 720px) { .raster.drei { grid-template-columns: repeat(3, 1fr); } .raster.zwei { grid-template-columns: repeat(2, 1fr); } }
.karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--schatten);
}
.karte p:last-child { margin-bottom: 0; }
.karte .symbol {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--akzent-weich); color: var(--akzent-dunkel); font-size: 22px; margin-bottom: 12px;
}
.karte a.weiter { font-weight: 700; text-decoration: none; }
.raster .karte { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.raster .karte a.weiter { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rand); }
.raster .karte p { margin-bottom: 16px; }
.raster .karte .pfeil { display: inline-block; transition: transform .2s ease; }
.raster .karte:hover .pfeil { transform: translateX(4px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .raster .karte:hover, .tipps li:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
}
.tipps li { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tipps li:hover { border-color: color-mix(in srgb, var(--akzent) 40%, var(--rand)); }

/* Tipps */
.tipps { list-style: none; padding: 0; margin: 0; counter-reset: tipp; display: grid; gap: 16px; }
.tipps li {
  counter-increment: tipp; position: relative;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 20px 20px 20px 76px; box-shadow: var(--schatten);
}
.tipps li::before {
  content: counter(tipp); position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--akzent); color: var(--akzent-text);
  font-family: var(--titel); font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.tipps h3 { font-family: var(--schrift); font-size: 19px; font-weight: 700; letter-spacing: 0; }
.tipps p { margin: 0; }
.tipps .merke {
  display: inline-block; margin-top: 14px; font-size: 15px; color: var(--akzent-dunkel);
  background: var(--akzent-weich); border: 1px solid color-mix(in srgb, var(--akzent) 25%, transparent);
  padding: 8px 14px; border-radius: 12px;
}
.tipps .merke::before { content: "💡 "; }
.tipps .merke b { color: inherit; }
@media (max-width: 480px) {
  .tipps li { padding: 64px 18px 18px; }
  .tipps li::before { left: 18px; top: 16px; }
}

/* Tabelle Problem → Lösung */
.tabelle-huelle { overflow-x: auto; border: 1px solid var(--rand); border-radius: var(--radius); background: var(--flaeche); box-shadow: var(--schatten); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rand); }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); background: var(--flaeche-2); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; }
@media (max-width: 640px) {
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { padding: 14px 16px; border-bottom: 1px solid var(--rand); }
  tbody tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 2px 0; }
  td[data-titel]::before { content: attr(data-titel) ": "; font-weight: 700; color: var(--text-2); }
}

/* Empfehlung */
.empfehlung {
  display: grid; gap: 32px; align-items: start;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-gross);
  padding: clamp(22px, 5vw, 48px); box-shadow: var(--schatten-gross);
}
.produkt { background: var(--bg); }
.eignung { border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; border: 1px solid var(--rand); background: var(--bg); }
.eignung h3 { font-family: var(--schrift); font-size: 17px; letter-spacing: 0; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.eignung .zeichen { font-weight: 800; }
.eignung.ja .zeichen { color: var(--gut); }
.eignung.nein .zeichen { color: var(--schlecht); }
.eignung.nein { background: var(--flaeche-2); }
.eignung .haken { margin-bottom: 0; font-size: 16px; }
@media (min-width: 860px) { .empfehlung { grid-template-columns: 1.15fr .85fr; } }
.produkt { border: 2px solid var(--akzent); position: relative; }
.produkt .band {
  position: absolute; top: -13px; right: 20px; background: var(--akzent); color: var(--akzent-text);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.haken { list-style: none; padding: 0; margin: 0 0 18px; }
.haken li { position: relative; padding-left: 30px; margin: 8px 0; }
.haken li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--akzent-weich); color: var(--akzent-dunkel); font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.haken.nein li::before { content: "–"; background: var(--flaeche-2); color: var(--text-2); }

/* Fragen */
.fragen details {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px;
  padding: 0 20px; margin-bottom: 10px;
}
.fragen summary {
  cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--akzent); font-weight: 400;
}
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding-bottom: 16px; margin: 0; }

/* Schluss */
.schluss { text-align: center; }
.schluss .vorspann { margin: 0 auto 22px; }

/* Fuss */
.fuss { background: var(--fuss-bg); padding: 36px 0 40px; font-size: 15px; color: var(--fuss-text); }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.fuss nav { display: flex; gap: 18px; }
.fuss a { color: var(--fuss-text); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss p { margin: 0; }

/* Leiste unten am Handy */
.leiste { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .leiste {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--flaeche) 92%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--rand);
  }
  .leiste span { font-size: 14px; color: var(--text-2); line-height: 1.3; flex: 1; }
  .leiste .knopf { min-height: 46px; padding: 10px 18px; font-size: 16px; }
}

/* Rechtsseiten (Impressum, Datenschutz) */
.recht h1 { font-size: clamp(28px, 5vw, 40px); }
.recht h2 { font-size: 21px; margin: 32px 0 8px; }
.recht p, .recht li { font-size: 17px; }
