/* Guide-Bibliothek KI im Business (lucamazza.ai). Markensatz aus Skill stil-ki-im-kmu. */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("/schriften/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/schriften/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/schriften/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/schriften/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/schriften/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: italic; font-display: swap; src: url("/schriften/playfair-display-latin-600-italic.woff2") format("woff2"); }

:root {
  --blau: #2F6BFF;
  --blau-hell: #6E9BFF;
  --marine: #0C1A33;
  --tief: #040915;
  --text: #EAF0FF;
  --text-leise: #A9B8D9;
  --rand: rgba(255, 255, 255, 0.12);
  --glas: rgba(255, 255, 255, 0.05);
  --glas-stark: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --breite: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--tief);
  color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.buehne {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(47, 107, 255, 0.45), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(110, 155, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #1d3f8f 0%, #0C1A33 35%, #040915 75%);
}
a { color: var(--blau-hell); }
h1, h2, h3, .marke, .knopf, .thema-knopf, .dachzeile, .sperre-titel, .danke-titel {
  font-family: "Space Grotesk", system-ui, sans-serif;
}
h1 { font-weight: 700; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0.3em 0 0.4em; }
h1 em { white-space: nowrap; }
h1 em, .akzent { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; color: var(--blau-hell); letter-spacing: 0; }
h2 { font-weight: 700; font-size: 1.45rem; line-height: 1.2; margin: 1.8em 0 0.6em; }
h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.3; margin: 0.4em 0; }

/* Kopf und Fuss */
.kopf, main, .fuss { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.kopf { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.marke { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.marke-guides { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; color: var(--blau-hell); }
.kopf-link { color: var(--text-leise); text-decoration: none; font-size: 0.95rem; }
.seite-index .kopf-link { display: none; }
.fuss { margin-top: 80px; padding: 40px 0 48px; border-top: 1px solid var(--rand); }
.fuss-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.fuss-frage { margin: 0; flex: 1 1 320px; font-size: 1.05rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-leise); font-size: 0.9rem; }
.fuss-links a { color: var(--text-leise); }
.platzhalter-hinweis, .platzhalter-block {
  font-size: 0.8rem; color: #FFD27A; border: 1px dashed rgba(255, 210, 122, 0.5); border-radius: 8px; padding: 2px 8px;
}
.platzhalter-block { display: block; padding: 14px 16px; font-size: 0.95rem; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #4A80FF, var(--blau)); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 8px 30px rgba(47, 107, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(47, 107, 255, 0.5); }
.knopf:disabled { opacity: 0.6; cursor: wait; }
.knopf-hell { background: #fff; color: var(--marine); box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12); }
.knopf-test { margin-top: 12px; background: transparent; border: 1px dashed #FFD27A; color: #FFD27A; box-shadow: none; }
.link-pfeil { display: inline-block; margin-top: 14px; text-decoration: none; font-weight: 600; }

/* Held */
.held { text-align: center; padding: 24px 0 12px; max-width: 760px; margin-inline: auto; }
.dachzeile { color: var(--blau-hell); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; margin: 14px 0 0; }
.unterzeile { color: var(--text-leise); font-size: 1.08rem; max-width: 620px; margin: 0 auto 26px; }
.luki { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.luki-kopf {
  position: relative; width: 74px; height: 62px; border-radius: 22px;
  background: linear-gradient(180deg, #4A80FF, #1E4FD8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 12px 40px rgba(47, 107, 255, 0.6);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.luki-kopf::before { content: ""; position: absolute; top: -14px; left: 50%; width: 3px; height: 12px; background: var(--blau-hell); transform: translateX(-50%); }
.luki-kopf::after { content: ""; position: absolute; top: -20px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px var(--blau-hell); }
.luki-kopf span { width: 12px; height: 16px; border-radius: 6px; background: #fff; box-shadow: 0 0 10px #fff; }
.zusage, .zusage-frei {
  text-align: left; max-width: 520px; margin: 0 auto;
  background: var(--glas); border: 1px solid var(--rand); border-radius: var(--radius); padding: 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.zusage-frei p { margin: 0; text-align: center; font-weight: 600; }

/* Freischaltung steuert Sichtbarkeit */
html.frei .nur-gesperrt, html:not(.frei) .nur-frei { display: none !important; }

/* Formular */
.anmeldung { display: grid; gap: 12px; }
.feld span { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.feld input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--rand); background: rgba(4, 9, 21, 0.6); color: var(--text);
  font: inherit; font-size: 16px;
}
.feld input:focus { outline: 2px solid var(--blau); outline-offset: 1px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-leise); line-height: 1.45; }
.haken input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blau); flex: none; }
.formular-fehler { margin: 0; color: #FF9B9B; font-size: 0.9rem; }
.formular-danke { text-align: left; }
.danke-titel { font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
.formular-danke p { margin: 0 0 4px; }
.anmeldung.gesendet > :not(.formular-danke) { display: none; }

/* Suche und Themen */
.suche { margin: 48px 0 8px; }
.suche-frage { display: block; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
#suchfeld {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--rand); background: var(--glas-stark); color: var(--text); font: inherit; font-size: 17px;
}
#suchfeld:focus { outline: 2px solid var(--blau); }
.suche-treffer { min-height: 1.4em; margin: 8px 0 4px; color: var(--text-leise); font-size: 0.9rem; }
.themen { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.themen::-webkit-scrollbar { display: none; }
.thema-knopf {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rand); background: var(--glas); color: var(--text); font-size: 0.92rem; font-weight: 500;
}
.thema-knopf span { color: var(--text-leise); margin-left: 4px; }
.thema-knopf.aktiv { background: var(--blau); border-color: var(--blau); }
.thema-knopf.aktiv span { color: rgba(255, 255, 255, 0.8); }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.karte {
  position: relative; display: block; padding: 18px 18px 40px; border-radius: var(--radius);
  background: var(--glas); border: 1px solid var(--rand); color: var(--text); text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.karte:hover { transform: translateY(-2px); border-color: rgba(110, 155, 255, 0.5); background: var(--glas-stark); }
.karte p { margin: 0; color: var(--text-leise); font-size: 0.95rem; }
.karte-marken { display: flex; align-items: center; gap: 6px; }
.karte-pfeil { position: absolute; right: 18px; bottom: 12px; color: var(--blau-hell); }
.schloss { margin-left: auto; color: var(--text-leise); display: inline-flex; }
html.frei .schloss { display: none; }
.marke-art, .marke-neu, .marke-thema, .marke-niveau {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: rgba(110, 155, 255, 0.15); color: var(--blau-hell);
}
.art-guide { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.marke-neu { background: var(--blau); color: #fff; }
.marke-thema, .marke-niveau { background: transparent; border: 1px solid var(--rand); color: var(--text-leise); }
.keine-treffer { color: var(--text-leise); text-align: center; padding: 24px 0; }

/* Landeseite */
.guide { max-width: 760px; margin-inline: auto; }
.zurueck { display: inline-block; margin: 8px 0 18px; text-decoration: none; color: var(--text-leise); font-size: 0.95rem; }
.guide-marken { display: flex; flex-wrap: wrap; gap: 6px; }
.guide h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.guide-kurz { font-size: 1.15rem; color: var(--text-leise); margin-top: 0; }
.guide-inhalt li { margin-bottom: 6px; }
.guide-inhalt code { background: var(--glas-stark); padding: 1px 6px; border-radius: 6px; font-size: 0.9em; }
.guide-inhalt pre { overflow-x: auto; }
.hinweis {
  border-left: 3px solid var(--blau); background: rgba(47, 107, 255, 0.1);
  padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 18px 0;
}
.prompt {
  margin: 18px 0; border-radius: var(--radius); border: 1px solid rgba(110, 155, 255, 0.35);
  background: rgba(4, 9, 21, 0.7); overflow: hidden;
  box-shadow: 0 10px 40px rgba(47, 107, 255, 0.15);
}
.prompt-kopf {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 16px;
  background: rgba(47, 107, 255, 0.12); border-bottom: 1px solid var(--rand);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blau-hell);
}
.prompt pre {
  margin: 0; padding: 16px; white-space: pre-wrap; word-break: break-word;
  font: 400 0.95rem/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text);
}
.kopieren {
  min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--blau); color: #fff; font: 700 0.9rem "Space Grotesk", sans-serif;
}
.kopieren.kopiert { background: #1FA971; }

/* Sperre */
.sperrbereich { position: relative; margin-top: 8px; }
.sperre {
  position: relative; z-index: 2; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(29, 63, 143, 0.55), rgba(12, 26, 51, 0.9));
  border: 1px solid rgba(110, 155, 255, 0.4); box-shadow: 0 20px 60px rgba(4, 9, 21, 0.6);
}
.sperre-titel { font-weight: 700; font-size: 1.25rem; margin: 0 0 4px; }
.sperre > p { margin: 0 0 14px; color: var(--text-leise); }
.sperre-instagram { margin: 14px 0 0 !important; font-size: 0.85rem; }
html:not(.frei) .gesperrt {
  filter: blur(7px); user-select: none; -webkit-user-select: none; pointer-events: none;
  max-height: 460px; overflow: hidden; margin-top: -40px; opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
html.frei .sperre { display: none; }

.mehr {
  margin-top: 40px; padding: 22px; border-radius: var(--radius);
  background: var(--glas); border: 1px solid var(--rand);
}
.mehr h2 { margin-top: 0; }

/* Schlichte Seiten */
.schlicht { max-width: 640px; margin: 40px auto; text-align: center; }
.schlicht.text { text-align: left; }
.haekchen {
  width: 72px; height: 72px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700;
  background: var(--blau); box-shadow: 0 12px 40px rgba(47, 107, 255, 0.6);
}

/* Seitenfenster (Desktop) */
.seitenfenster[hidden] { display: none; }
.seitenfenster { position: fixed; inset: 0; z-index: 50; }
.seitenfenster-hintergrund { position: absolute; inset: 0; background: rgba(4, 9, 21, 0.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.seitenfenster-blatt {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 92vw); overflow-y: auto;
  padding: 28px 36px 60px; background: linear-gradient(180deg, #102349, #070f22);
  border-left: 1px solid var(--rand); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  animation: rein 0.22s ease-out;
}
@keyframes rein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.schliessen {
  position: sticky; top: 0; float: right; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rand); background: var(--glas-stark); color: var(--text); font-size: 1.4rem; cursor: pointer;
}
.seitenfenster .zurueck { display: none; }
body.fenster-offen { overflow: hidden; }

@media (min-width: 900px) {
  body { font-size: 18px; }
  .held { padding-top: 48px; }
  .themen { flex-wrap: wrap; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Falle für Spam-Bots, für Menschen unsichtbar */
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Quellenangabe für abgewandelte Inhalte (MIT, CC BY) */
.grundlage { margin-top: 32px; font-size: 0.85rem; color: var(--text-leise); }
.grundlage a { color: inherit; }
