/* explory.site
   Ruhig und hochwertig: viel Raum, feine Linien, ein tiefes Violett als
   einziger Akzent. Systemschrift, damit keine Schriftarten von Dritten geladen
   werden. Hell und dunkel folgen der Einstellung des Geräts. */

:root {
  --bg: #fbfaff;
  --fg: #12101c;
  --muted: #64607a;
  --line: #e6e3f0;
  --soft: #f3f1fa;
  --card: #ffffff;
  --akzent: #4f35d8;
  --akzent-zart: #ece8ff;
  --link: #4f35d8;
  --gut: #1f8a5b;
  --schwach: #c2410c;
  --grad: linear-gradient(135deg, #7b61ff 0%, #4f35d8 48%, #2a1890 100%);
  --shadow: 0 1px 2px rgba(30, 20, 80, 0.05), 0 18px 44px rgba(40, 24, 120, 0.10);
  --radius: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0a12;
    --fg: #f3f1fa;
    --muted: #a39fb8;
    --line: #262338;
    --soft: #13111f;
    --card: #17152a;
    --akzent: #a593ff;
    --akzent-zart: #221d45;
    --link: #b3a5ff;
    --gut: #4ccf91;
    --schwach: #fb8a4c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 44px rgba(0, 0, 0, 0.55);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.rahmen { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.springen { position: absolute; left: -9999px; top: 12px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--fg); color: var(--bg); }
.springen:focus { left: 12px; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.kopf-innen { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.marke:hover { text-decoration: none; }
.marke img { border-radius: 23%; }
.kopf-nav { display: flex; gap: 24px; }
.kopf-nav a { color: var(--fg); opacity: 0.78; font-size: 15px; }
.kopf-nav a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 480px) {
  .kopf-nav { gap: 16px; }
  .kopf-nav a { font-size: 14px; }
}

/* Held */
.held { padding: 72px 0 80px; overflow: hidden; }
.held-raster { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 880px) {
  .held { padding: 44px 0 64px; }
  .held-raster { grid-template-columns: 1fr; gap: 48px; }
}
.dachzeile { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.dachzeile::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.dachzeile { color: var(--akzent); }
.held h1 {
  margin: 16px 0 22px;
  font-size: clamp(38px, 5.8vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 800;
}
.verlauf-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.einleitung { margin: 0; max-width: 34em; font-size: clamp(18px, 2.1vw, 20px); line-height: 1.5; color: var(--muted); }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 14px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
}
.knopf:hover { text-decoration: none; }
.knopf-haupt { background: var(--fg); color: var(--bg); cursor: default; }
.knopf-haupt svg { width: 18px; height: 18px; }
.knopf-zweit { border: 1px solid var(--line); color: var(--fg); background: var(--bg); }
.knopf-zweit:hover { background: var(--soft); }
.held-hinweis { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Held-Bild: Beispiel eines Urteils, rein aus HTML und CSS */
.held-bild { position: relative; display: flex; justify-content: center; }
.held-bild::before {
  content: ""; position: absolute; top: 4%; left: 50%; width: 86%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: var(--grad); filter: blur(90px); opacity: 0.26; z-index: 0;
}
.urteil-karte {
  position: relative; z-index: 1; width: min(380px, 100%); margin: 0;
  padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: 26px;
  background: var(--card); box-shadow: var(--shadow);
}
.uk-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.uk-format { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.uk-stufe { padding: 4px 10px; border-radius: 999px; background: var(--akzent-zart); color: var(--akzent); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.uk-faktor { margin: 18px 0 0; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.uk-faktor-text { margin: 6px 0 22px; font-size: 15px; color: var(--muted); }
.uk-werte { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.uk-werte li { display: grid; grid-template-columns: 96px 1fr 48px; align-items: center; gap: 12px; font-size: 14.5px; }
.uk-werte b { text-align: right; font-variant-numeric: tabular-nums; }
.uk-balken { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.uk-balken i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.uk-balken i.w-100 { width: 100%; }
.uk-balken i.w-62 { width: 62%; }
.uk-balken i.w-61 { width: 61%; }
.uk-schwach .uk-balken i { background: var(--schwach); opacity: 0.85; }
.uk-schwach b { color: var(--schwach); }
.uk-rat { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.uk-rat p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.uk-rat .uk-rat-titel { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--akzent); }

/* Abschnitte */
.abschnitt { padding: 96px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .abschnitt { padding: 68px 0; } }
.abschnitt h2 { margin: 0 0 14px; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.unterzeile { margin: 0 0 48px; max-width: 38em; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }

.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: schritt; }
@media (max-width: 940px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .schritte { grid-template-columns: 1fr; } }
.schritte li { padding: 26px 24px 28px; border-radius: var(--radius); background: var(--soft); counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
}
.schritte h3, .merkmale h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.schritte p, .merkmale p { margin: 0; font-size: 15.5px; color: var(--muted); }

.merkmale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .merkmale { grid-template-columns: 1fr; } }
.merkmal { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; background: var(--grad); }
.symbol svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tabelle { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 16px; }
.tabelle table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; }
.tabelle th, .tabelle td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle th { background: var(--soft); font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.tabelle td:first-child { font-weight: 600; }
.hinweisbox { margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: var(--soft); font-size: 16px; }
.hinweisbox p { margin: 0; }
.hinweisbox p + p { margin-top: 10px; }


.fragen { max-width: 760px; }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen details:first-of-type { border-top: 1px solid var(--line); }
.fragen summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; flex: 0 0 auto; font-size: 26px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform 0.2s ease; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details > div { padding: 0 0 22px; color: var(--muted); }
.fragen details > div p { margin: 0; }
.fragen details > div p + p { margin-top: 10px; }


/* Unterseiten */
.unterseite main { padding: 56px 0 96px; }
.recht, .schmal { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.recht h1, .schmal h1 { margin: 0 0 10px; font-size: clamp(34px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.032em; font-weight: 800; }
.recht h1 + p { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.recht h2, .schmal h2 { margin: 48px 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.recht h3 { margin: 30px 0 8px; font-size: 18px; }
.recht p, .recht li { font-size: 16.5px; }
.recht ul, .recht ol { padding-left: 22px; }
.recht li { margin: 6px 0; }
.recht li::marker { color: var(--muted); }
.recht strong { font-weight: 650; }
.recht .tabelle { margin: 18px 0 22px; }
.schmal .einleitung { margin-bottom: 36px; }

.kontakt-karte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.kontakt-karte p { margin: 0; }
.kontakt-karte .klein { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.kontakt-karte .knopf { background: var(--fg); color: var(--bg); cursor: pointer; }

.fehlerseite { text-align: center; padding: 48px 24px; }
.fehlerseite .knopf { margin-top: 12px; }

/* Fuß */
.fuss { padding: 44px 0 52px; border-top: 1px solid var(--line); }
.fuss-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.fuss .marke { font-size: 16px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss-nav a { font-size: 14.5px; color: var(--muted); }
.fuss-nav a:hover { color: var(--fg); }
.fuss-klein { margin: 26px 0 0; max-width: 46em; font-size: 13px; color: var(--muted); }

/* Ergänzungen für Explory */
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--akzent); }

.funktionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 940px) { .funktionen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .funktionen { grid-template-columns: 1fr; } }
.funktion { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.funktion h3 { margin: 0 0 10px; font-size: 18.5px; letter-spacing: -0.01em; }
.funktion p { margin: 0; font-size: 15.5px; color: var(--muted); }
.funktion .zitat { margin-top: auto; padding-top: 18px; color: var(--fg); font-size: 15px; font-style: italic; }
.funktion p + .zitat { margin-top: auto; }
.funktion .zitat::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 14px; border-radius: 2px; background: var(--grad); }
.randnotiz { margin: 28px 0 0; max-width: 46em; font-size: 15px; color: var(--muted); }

.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .zwei-spalten { grid-template-columns: 1fr; gap: 28px; } }
.zwei-spalten .unterzeile { margin-bottom: 0; }
.karte { position: relative; padding: 30px 30px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.karte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.karte .haken { margin-top: 0; }
.karte-klein { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.haken { margin: 24px 0 0; padding: 0; list-style: none; }
.haken li { position: relative; padding: 7px 0 7px 30px; font-size: 16px; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%);
  mask: radial-gradient(circle, #000 60%, transparent 61%);
}
.haken li::after { content: ""; position: absolute; left: 6px; top: 14px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.daten-tabelle { margin-top: 40px; }
.daten-tabelle td:first-child { width: 58%; }

.abschluss { text-align: center; }
.abschluss .unterzeile { margin: 0 auto; }
.aktionen-mitte { justify-content: center; }

.kontakt-karte .klein { overflow-wrap: anywhere; }
