/* ki.glatze — Markenfarben wie Reels und Guides: Studio-Schwarz, Neon-Amber, weisse Hook-Karten */
:root {
  --bg: #0c0c0d;
  --bg2: #111112;
  --karte: #151516;
  --linie: #2a2a2c;
  --amber: #ffb257;
  --amber-tief: #e8952f;
  --text: #ecebe7;
  --grau: #9a9993;
  --weiss: #ffffff;
  --radius: 22px;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.rahmen { width: min(1120px, 100% - 32px); margin-inline: auto; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.amber { color: var(--amber); }
.mitte { display: flex; justify-content: center; margin-top: 36px; }

/* Ueberschriften: fett, Versalien-Gefuehl wie die Untertitel in den Reels */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 900; }
h1 { font-size: clamp(42px, 7vw, 76px); }
h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 18ch; }
h3 { font-size: 21px; letter-spacing: -0.01em; }

/* Signatur: weisse Hook-Karte mit schwarzer fetter Schrift */
.karte-label {
  display: inline-block;
  background: var(--weiss);
  color: #0c0c0d;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.karte-label--amber { background: var(--amber); }

/* Knoepfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--amber); color: #0c0c0d;
  font: 800 17px/1 var(--schrift);
  padding: 17px 26px; border: 0; border-radius: 14px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 178, 87, .22);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255, 178, 87, .32); }
.knopf:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.knopf--klein { padding: 11px 16px; font-size: 15px; border-radius: 11px; box-shadow: none; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 12, 13, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.kopf__innen { display: flex; align-items: center; gap: 24px; height: 66px; }
.marke { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.marke__punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--grau); }
.nav a { text-decoration: none; transition: color .15s; }
.nav a:hover { color: var(--text); }
.kopf .knopf--klein { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .kopf .knopf--klein { margin-left: 0; } }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero__schein {
  position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(255, 178, 87, .16), rgba(255, 178, 87, 0) 62%);
  pointer-events: none;
}
.hero__raster { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__raster { grid-template-columns: 1.1fr .9fr; } .hero { padding: 88px 0 110px; } }
.hero__unter { font-size: 20px; color: var(--grau); margin: 20px 0 28px; max-width: 34ch; }

.anmelden { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.anmelden input[type=email] {
  flex: 1 1 230px; min-width: 0;
  background: var(--karte); color: var(--text);
  border: 1px solid var(--linie); border-radius: 14px;
  padding: 16px 18px; font: 500 17px var(--schrift);
}
.anmelden input[type=email]::placeholder { color: #6f6e69; }
.anmelden .knopf { flex: 0 0 auto; }
.anmelden__info { flex-basis: 100%; font-size: 13px; color: var(--grau); }
.anmelden__info a { color: var(--grau); }
.anmelden__status { flex-basis: 100%; font-size: 15px; font-weight: 700; min-height: 1px; }
.anmelden__status.ok { color: var(--amber); }
.anmelden__status.fehler { color: #ff7a6b; }
.anmelden--breit { margin-inline: auto; justify-content: center; }
.anmelden--breit .anmelden__info, .anmelden--breit .anmelden__status { text-align: center; }

.beweis { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 15px; color: var(--grau); }
.beweis b { color: var(--text); font-weight: 900; }

/* Hero: ChatGPT-Feld, in dem sich Codes tippen (wie in den Reels) */
.hero__app { position: relative; justify-self: center; width: min(420px, 100%); }
.app {
  background: #000; border: 1px solid var(--linie); border-radius: 34px; padding: 16px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 8px #1a1a1c;
}
.app__bild { aspect-ratio: 9 / 13; border-radius: 22px; overflow: hidden; background: var(--karte); }
.app__bild img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.app__feld {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  background: #1f1f22; border-radius: 22px; padding: 14px 16px; font-size: 18px;
}
.app__plus { font-size: 24px; line-height: 1; color: var(--text); }
.app__text { flex: 1; font-family: var(--mono); font-weight: 600; white-space: nowrap; overflow: hidden; }
.app__cursor { display: inline-block; width: 2px; height: 1.1em; background: #2f6bff; vertical-align: -0.18em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.app__senden { width: 34px; height: 34px; border-radius: 50%; background: #2f6bff; color: #fff; display: grid; place-items: center; font-weight: 900; }
.hero__ich {
  position: absolute; right: -18px; bottom: 64px; width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; border: 4px solid var(--amber); box-shadow: 0 0 30px rgba(255, 178, 87, .45);
}
@keyframes blink { 50% { opacity: 0; } }

/* Abschnitte */
.abschnitt { padding: 80px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.abschnitt--dunkel { background: var(--bg2); }
.abschnitt__unter { color: var(--grau); font-size: 18px; max-width: 60ch; margin: 18px 0 34px; }
.hinweis { color: var(--grau); font-size: 14px; margin-top: 22px; max-width: 70ch; }

/* Vorher/Nachher-Regler */
.vergleich {
  /* Breite aus der Fensterhöhe ableiten statt max-height: sonst bleibt die Box breit, wird flacher und schneidet den Kopf ab (Mac, 04.10.) */
  position: relative; width: min(560px, 100%, calc(78vh * 752 / 1344)); aspect-ratio: 752 / 1344;
  margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie);
  user-select: none; touch-action: pan-y;
}
.vergleich__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vergleich__nach { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.vergleich__griff {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--amber);
  box-shadow: 0 0 18px var(--amber); pointer-events: none;
}
.vergleich__griff span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--amber); color: #0c0c0d;
  display: grid; place-items: center; font-weight: 900; font-size: 20px;
}
.vergleich__tag {
  position: absolute; top: 16px; background: var(--weiss); color: #0c0c0d; font-weight: 900; font-size: 13px;
  text-transform: uppercase; padding: 6px 11px; border-radius: 9px; pointer-events: none;
}
.vergleich__tag--l { left: 16px; }
.vergleich__tag--r { right: 16px; background: var(--amber); }
.vergleich__regler { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }


/* Guides */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.guide { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.guide img { aspect-ratio: 595 / 520; width: 100%; object-fit: cover; object-position: top; border-bottom: 1px solid var(--linie); }
.guide div { padding: 18px 20px 22px; }
.guide h3 { margin-bottom: 6px; }
.guide p { color: var(--grau); font-size: 15px; }

/* Codepaket */
.paket {
  display: grid; gap: 36px; align-items: center;
  background: linear-gradient(135deg, #18130c, #0f0f10 60%);
  border: 1px solid rgba(255, 178, 87, .35); border-radius: 30px; padding: clamp(26px, 5vw, 56px);
}
@media (min-width: 900px) { .paket { grid-template-columns: 1.2fr .8fr; } }
.paket p { color: var(--grau); margin: 18px 0; max-width: 52ch; }
.haken { list-style: none; display: grid; gap: 8px; margin-bottom: 26px; }
.haken li { padding-left: 30px; position: relative; font-weight: 600; }
.haken li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 900; }
.paket__stapel { position: relative; height: 340px; }
.paket__stapel img {
  position: absolute; width: 52%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px;
  border: 1px solid #3a3a3c; box-shadow: 0 24px 50px rgba(0, 0, 0, .6);
}
.paket__stapel img:nth-child(1) { left: 4%; top: 30px; transform: rotate(-8deg); }
.paket__stapel img:nth-child(2) { left: 24%; top: 0; z-index: 2; }
.paket__stapel img:nth-child(3) { left: 44%; top: 30px; transform: rotate(8deg); }

/* Ueber mich */
.ich { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .ich { grid-template-columns: 280px 1fr; } }
.ich__bild {
  width: 240px; height: 240px; border-radius: 50%; object-fit: cover; justify-self: center;
  border: 6px solid var(--amber); box-shadow: 0 0 60px rgba(255, 178, 87, .3);
}
.ich p { color: var(--grau); margin-top: 16px; max-width: 60ch; }
.ich p b { color: var(--text); }
.sozial { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sozial a {
  text-decoration: none; font-weight: 800; font-size: 15px; padding: 10px 16px;
  border: 1px solid var(--linie); border-radius: 12px; background: var(--karte);
}
.sozial a:hover { border-color: var(--amber); }

/* Newsletter */
.nl {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(ellipse at top, rgba(255, 178, 87, .14), rgba(255, 178, 87, 0) 60%), var(--karte);
  border: 1px solid var(--linie); border-radius: 30px; padding: clamp(30px, 6vw, 64px) clamp(18px, 4vw, 56px);
}
.nl h2 { margin-inline: auto; }
.nl > p { color: var(--grau); margin: 16px 0 26px; }

/* Fuss */
.fuss { border-top: 1px solid var(--linie); padding: 34px 0 44px; }
.fuss__innen { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.fuss nav { display: flex; gap: 20px; font-size: 15px; color: var(--grau); }
.fuss__klein { font-size: 13px; color: #6f6e69; margin-left: auto; }
@media (max-width: 759px) {   /* Handy: alles untereinander und mittig (Creatis 04.10.) */
  .fuss__innen { flex-direction: column; text-align: center; }
  .fuss__klein { margin-left: 0; }
}

/* Fenster (Guides freischalten) */
.fenster { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.fenster[hidden] { display: none; }
.fenster__hg { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); }
.fenster__box {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--karte); border: 1px solid var(--linie); border-radius: 26px; padding: 32px 26px 28px;
}
.fenster__box h2 { font-size: 30px; margin-bottom: 22px; }
.fenster__zu { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--grau); font-size: 32px; cursor: pointer; line-height: 1; }
.downloads ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.downloads a {
  display: flex; justify-content: space-between; align-items: center; text-decoration: none; font-weight: 800;
  background: #0c0c0d; border: 1px solid var(--linie); border-radius: 12px; padding: 14px 16px;
}
.downloads a::after { content: "PDF ↓"; color: var(--amber); font-size: 14px; }
.downloads a:hover { border-color: var(--amber); }
.downloads__hinweis { color: var(--grau); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.link-knopf { background: none; border: 0; color: var(--amber); font: inherit; font-weight: 900; text-decoration: underline; cursor: pointer; padding: 0; margin-left: 4px; }

/* Rechtsseiten */
.recht { padding: 64px 0 90px; }
.recht h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 30px; }
.recht h2 { font-size: 22px; max-width: none; margin: 34px 0 10px; }
.recht p, .recht li { color: #cfcdc7; max-width: 75ch; margin-bottom: 10px; }
.recht ul { padding-left: 22px; }
.recht a { color: var(--amber); }
.recht .platzhalter { background: #3a2a10; color: var(--amber); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
/* Ankerspruenge: Abschnitt nicht unter der festen Kopfzeile verstecken */
section[id] { scroll-margin-top: 72px; }

/* Preis im Codepaket-Teaser */
.preis { display: flex; align-items: baseline; gap: 12px; margin: 0 0 24px !important; color: var(--text) !important; }
.preis__alt { font-size: 22px; font-weight: 700; color: var(--grau); text-decoration: line-through; }
.preis__neu { font-size: 44px; font-weight: 900; color: var(--amber); letter-spacing: -0.02em; }
.preis__hinweis { background: var(--weiss); color: #0c0c0d; font-weight: 900; font-size: 13px; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.paket .karte-label { color: #0c0c0d; margin: 0 0 18px; }

/* FAQ: native Aufklapper, kein JavaScript */
.faq { display: grid; gap: 10px; margin-top: 30px; max-width: 760px; }
.faq details { background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 18px 22px; }
.faq details[open] { border-color: rgba(255, 178, 87, .45); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-weight: 900; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--grau); margin-top: 12px; }
.faq code { font-family: var(--mono); color: var(--amber); }
