/* AI4Profis – Basis-Stylesheet aus dem Basis-Blog. Erscheinungsbild über Tokens in ai4profis.css (S02).
   Kein Tracking, keine externen Anfragen, keine Cookies. */

:root {
  --creme: #FFF4E6;
  --creme2: #FDE7D2;
  --pfirsich: #F4A261;
  --aprikose: #F8C9A0;
  --braun: #5A3E2B;
  --dunkel: #3D2B1F;
  --tuerkis: #3E8E87;
  --tuerkis-hell: #CFE7E3;
  --rot: #C8553D;
  --weiss: #FFFDF9;
  --fuss-bg: #3D2B1F;
  --fuss-text: #FFFDF9;
  --fuss-muted: #F8C9A0;
  --karte-bg: #FFFDF9;
  --schatten: 0 14px 36px rgba(90, 62, 43, .12);
  --rund: 28px;
  --lesebreite: 68ch;
  --max: 64rem;
  --focus: #3E8E87;
  --text-auf-akzent: #3D2B1F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --creme: #1C120C;
    --creme2: #2A1C14;
    --pfirsich: #F4A261;
    --aprikose: #F8C9A0;
    --braun: #F3E6D6;
    --dunkel: #FFF4E6;
    --tuerkis: #8ED4CD;
    --tuerkis-hell: #2F4A47;
    --rot: #E07A66;
    --weiss: #24180F;
    --fuss-bg: #140C08;
    --fuss-text: #FFF4E6;
    --fuss-muted: #F8C9A0;
    --karte-bg: #2A1C14;
    --schatten: 0 14px 36px rgba(0, 0, 0, .4);
    --focus: #8ED4CD;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: clamp(1.125rem, 0.95rem + 0.4vw, 1.25rem);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first allow-end last;
}
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  color: var(--braun);
  line-height: 1.65;
  background: linear-gradient(135deg, var(--creme2) 0%, var(--creme) 38%, var(--creme) 100%);
  min-height: 100vh;
  position: relative;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
.i {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em;
}
a {
  color: var(--dunkel);
  text-decoration: underline;
  text-decoration-color: var(--pfirsich);
  text-decoration-thickness: .14em;
  text-underline-offset: .18em;
}
a:hover { text-decoration-color: var(--dunkel); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprung {
  position: absolute;
  left: -999px;
  z-index: 100;
}
.sprung:focus {
  left: 1rem;
  top: 1rem;
  background: var(--karte-bg);
  color: var(--dunkel);
  padding: .5rem 1rem;
  font-weight: 800;
}

.deko-rahmen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.deko { position: absolute; border-radius: 50%; pointer-events: none; }
.deko--a { width: 620px; height: 620px; right: -220px; top: -260px; background: var(--aprikose); opacity: .25; }
.deko--b { width: 520px; height: 520px; left: -260px; top: 52rem; background: var(--tuerkis-hell); opacity: .35; }

.huelle, .breit {
  position: relative;
  z-index: 1;
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}
.huelle { width: min(100% - 2.2rem, 46rem); }

/* Kopf */
.kopf { position: relative; z-index: 2; padding: 1rem 0; }
.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}
.marke {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--dunkel);
  font-weight: 900; font-size: 1.15rem; letter-spacing: -.01em;
}
.marke__bild {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--karte-bg); box-shadow: var(--schatten);
  display: grid; place-items: center; overflow: hidden;
}
.marke__bild img { width: 115%; margin-top: 18%; height: auto; }
.marke em { font-style: normal; color: var(--tuerkis); }
/* Türkis nur für das Wort „einfach“ als große, fette Marke, nicht als Fließtext */

.kopf__nav {
  display: flex; align-items: center; gap: 1.1rem;
  font-weight: 800; font-size: .9rem;
}
.kopf__nav a {
  text-decoration: none;
  color: var(--braun);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.kopf__nav a:hover,
.kopf__nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--pfirsich);
  color: var(--dunkel);
}

.nav-toggle { display: none; }
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: var(--karte-bg);
  box-shadow: var(--schatten);
  color: var(--dunkel);
  min-height: 44px;
}
.nav-toggle > summary::-webkit-details-marker { display: none; }

@media (max-width: 759px) {
  .nav-toggle { display: block; position: relative; }
  .nav-toggle .kopf__nav {
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: var(--karte-bg);
    padding: .8rem 1rem;
    border-radius: 20px;
    box-shadow: var(--schatten);
    min-width: 14rem;
  }
  .kopf > .kopf__innen > .kopf__nav--desktop { display: none; }
}

/* Knöpfe */
.knopf, .knopf-sekundaer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 900;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}
.knopf {
  background: var(--pfirsich);
  color: var(--text-auf-akzent);
}
.knopf:hover { background: var(--aprikose); color: var(--text-auf-akzent); }
.knopf-sekundaer {
  background: transparent;
  color: var(--dunkel);
  box-shadow: inset 0 0 0 2px var(--aprikose);
}
.knopf-sekundaer:hover { background: var(--karte-bg); }

/* Pillen */
.pille {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .95rem; border-radius: 999px; line-height: 1.2;
  font-weight: 800; font-size: .9rem;
}
.pille--serie { background: var(--tuerkis-hell); color: var(--dunkel); }
.pille--serie .i { color: var(--tuerkis); }
.pille--folge { background: var(--dunkel); color: var(--creme); font-weight: 900; }
@media (prefers-color-scheme: dark) {
  .pille--folge { color: var(--text-auf-akzent); background: var(--aprikose); }
}
.pille--bald { background: var(--creme2); color: var(--dunkel); }
.pille--live { background: var(--tuerkis-hell); color: var(--dunkel); }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  margin: 0 0 2.5rem;
}
.hero__banner {
  width: 100%;
  max-height: min(52vw, 22rem);
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 var(--rund) var(--rund);
  box-shadow: var(--schatten);
}
.hero__kasten {
  width: min(100% - 2.2rem, var(--max));
  margin: -3.2rem auto 0;
  background: var(--karte-bg);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  padding: 1.4rem 1.5rem 1.6rem;
  display: grid;
  gap: 1.2rem;
}
.hero { container-type: inline-size; }
@container (min-width: 40rem) {
  .hero__kasten {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 1.6rem 2rem;
  }
}
@media (min-width: 760px) {
  .hero__kasten {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 1.6rem 2rem;
  }
}
.hero__profil {
  width: 6.5rem; height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--karte-bg), 0 0 0 8px var(--pfirsich);
  justify-self: center;
}
.hero h1 {
  font-weight: 900;
  color: var(--dunkel);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .6rem;
  text-wrap: balance;
}
.hero .lead {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.5;
  max-width: 48ch;
}
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Abschnitte */
.abschnitt { position: relative; z-index: 1; margin: 0 auto 3rem; }
.abschnitt h2,
.inhalt h2 {
  font-weight: 900;
  color: var(--dunkel);
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  text-wrap: balance;
}
.abschnitt h2::before,
.inhalt h2::before {
  content: "";
  width: .5rem;
  height: 1.6rem;
  border-radius: 99px;
  background: var(--pfirsich);
  flex: none;
}

/* Stufen */
.stufen {
  display: grid;
  gap: 1rem;
  container-type: inline-size;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stufe;
}
.abschnitt { container-type: inline-size; }
@container (min-width: 28rem) {
  .stufen { grid-template-columns: 1fr 1fr; }
}
@container (min-width: 50rem) {
  .stufen { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 640px) {
  .stufen { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .stufen { grid-template-columns: repeat(5, 1fr); }
}
.stufe {
  background: var(--karte-bg);
  border-radius: 24px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--schatten);
  counter-increment: stufe;
}
.stufe h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dunkel);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  line-height: 1.25;
}
.stufe h3::before {
  content: "Stufe " counter(stufe);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .15rem .65rem;
  border-radius: 999px;
  background: var(--pfirsich);
  color: var(--text-auf-akzent);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.stufe p { margin: 0; font-size: .92rem; }

/* Karten / Beiträge */
.karten {
  display: grid;
  gap: 1.1rem;
  container-type: inline-size;
  margin: 0;
  padding: 0;
  list-style: none;
}
.karten { container-type: inline-size; } /* unused for self; parent .abschnitt is container */
@container (min-width: 32rem) {
  .karten { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .karten { grid-template-columns: 1fr 1fr; }
}
.karte {
  background: var(--karte-bg);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
a.karte:hover { box-shadow: var(--schatten); }
.karte img, .karte picture img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.karte__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .45rem; flex: 1; }
.karte h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dunkel);
  text-wrap: balance;
  text-decoration: none;
}
.karte p { margin: 0; }
.karte__meta { font-size: .88rem; font-weight: 700; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.karte--bald { opacity: .92; }
.karte--bald .karte__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--creme2), var(--tuerkis-hell));
  display: grid;
  place-items: center;
  color: var(--dunkel);
  font-weight: 900;
}
.folgen-liste .karte { text-decoration: none; color: inherit; }

/* Suche */
.suche {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 0 0 1.4rem;
}
.suche input[type="search"] {
  flex: 1 1 16rem;
  font: inherit;
  font-weight: 700;
  color: var(--dunkel);
  background: var(--karte-bg);
  border: 2px solid var(--braun);
  border-radius: 999px;
  padding: .65rem 1.1rem;
  min-height: 44px;
}
.suche input[type="search"]:focus {
  outline: 3px solid var(--focus);
  border-color: var(--focus);
}
.suche-leer { display: none; }
.suche-leer.ist-sichtbar { display: block; }

/* Titelbereich Beitrag */
.titel { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 0 .6rem; align-items: end; }
@media (min-width: 900px) { .titel { grid-template-columns: 1fr 10rem; } }
.titel__robo { display: none; }
@media (min-width: 900px) {
  .titel__robo { display: block; width: 10rem; margin-bottom: -.4rem; filter: drop-shadow(0 12px 18px rgba(90,62,43,.14)); }
}
.serie { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.titel h1 {
  font-weight: 900;
  color: var(--dunkel);
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: .7rem 0 .8rem;
  text-wrap: balance;
}
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-weight: 700; font-size: .95rem; margin: 0; }
.meta span { display: inline-flex; align-items: center; gap: .4rem; }
.meta .i { color: var(--tuerkis); }
.teaser { font-size: 1.2rem; font-weight: 700; line-height: 1.55; margin: 1.1rem 0 0; max-width: var(--lesebreite); }

.ki-hinweis {
  display: flex; align-items: center; gap: .9rem;
  margin: 1.4rem 0 0; padding: .85rem 1.1rem;
  background: var(--karte-bg);
  border: 2px solid var(--aprikose);
  border-radius: 20px;
  font-weight: 800; color: var(--braun);
  font-size: .95rem; line-height: 1.4;
}
.kachel {
  width: 2.6rem; height: 2.6rem; border-radius: 32%;
  display: grid; place-items: center; flex: none;
  background: var(--pfirsich); color: var(--text-auf-akzent);
  box-shadow: var(--schatten);
}
.kachel .i { width: 55%; height: 55%; vertical-align: 0; }
.kachel--weiss { background: var(--weiss); color: var(--dunkel); }
.ki-hinweis small { display: block; font-weight: 700; font-size: .85rem; }

/* Video Zwei-Klick */
.video {
  margin: 2rem 0 0;
  background: var(--fuss-bg);
  border-radius: var(--rund);
  overflow: visible;
  box-shadow: var(--schatten);
}
.video__flaeche { position: relative; aspect-ratio: 16 / 9; background: var(--creme2); overflow: hidden; border-radius: var(--rund) var(--rund) 0 0; }
.video__flaeche img,
.video__flaeche iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block;
}
.video__start {
  position: absolute; inset: 0; display: block; width: 100%;
  border: 0; background: transparent; cursor: pointer; padding: 0;
}
.video__start span {
  position: absolute; right: 3%; bottom: 5%;
  width: clamp(2.8rem, 8vw, 4rem);
  height: clamp(2.8rem, 8vw, 4rem);
  border-radius: 50%;
  background: var(--pfirsich); color: var(--text-auf-akzent);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .15s;
}
.video__start:hover span { transform: scale(1.06); }
.video__start:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: -8px;
  border-radius: var(--rund);
}
.video__start .i { width: 45%; height: 45%; margin-left: 8%; fill: var(--text-auf-akzent); stroke: var(--text-auf-akzent); }
.video__hinweis {
  color: var(--fuss-text);
  padding: 1rem 1.3rem 1.2rem;
  font-size: .9rem; line-height: 1.5; font-weight: 700;
  display: grid; gap: .8rem;
}
@media (min-width: 760px) {
  .video__hinweis { grid-template-columns: 1fr auto; align-items: center; }
}
.video__hinweis p { margin: 0; }
.nb { white-space: nowrap; }
.video__hinweis a { color: var(--fuss-text); text-decoration-color: var(--aprikose); }
.video.ist-geladen .video__hinweis { display: none; }
.video-link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: .9rem 0 0 .2rem; font-weight: 800; font-size: .95rem;
}

/* Inhalt */
.inhalt { max-width: var(--lesebreite); margin-top: 2.4rem; }
.inhalt > * { margin: 0 0 1.1rem; }
.inhalt h3 {
  font-weight: 900; color: var(--dunkel); font-size: 1.25rem;
  line-height: 1.25; margin: 1.8rem 0 .6rem;
}
.inhalt ul, .inhalt ol { padding-left: 1.4rem; }
.inhalt li { margin-bottom: .45rem; }
.inhalt li::marker { color: var(--braun); font-weight: 900; }
.inhalt strong { font-weight: 900; color: var(--dunkel); }
.inhalt sup { line-height: 0; }
.inhalt sup a { text-decoration: none; font-weight: 900; font-size: .8em; color: var(--dunkel); padding: .3em .35em; }
.inhalt sup a::before { content: "["; }
.inhalt sup a::after { content: "]"; }
.inhalt pre, .inhalt code {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: .9em;
  font-weight: 600;
}
.inhalt code {
  background: var(--creme2);
  padding: .1em .35em;
  border-radius: 6px;
}
.inhalt pre {
  background: var(--dunkel);
  color: var(--creme);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  overflow-x: auto;
}
.inhalt pre code { background: none; color: inherit; padding: 0; }

.inhaltsverzeichnis {
  max-width: var(--lesebreite);
  margin: 2rem 0 0;
  padding: 1.1rem 1.3rem 1.2rem;
  background: var(--karte-bg);
  border-radius: 24px;
  box-shadow: var(--schatten);
}
.inhaltsverzeichnis h2 {
  font-size: 1.1rem;
  margin: 0 0 .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.inhaltsverzeichnis h2::before { display: none; }
.inhaltsverzeichnis ol { margin: 0; padding-left: 1.3rem; }
.inhaltsverzeichnis a { font-weight: 800; text-decoration: none; }
.inhaltsverzeichnis a:hover { text-decoration: underline; text-decoration-color: var(--pfirsich); }

.kasten { border-radius: 24px; padding: 1.2rem 1.4rem 1.25rem; box-shadow: var(--schatten); }
.kasten__kopf {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 900; color: var(--dunkel); font-size: 1.12rem;
  margin-bottom: .55rem; line-height: 1.25;
}
.kasten p { margin: 0 0 .6rem; }
.kasten p:last-child, .kasten ul:last-child { margin-bottom: 0; }
.kasten--merke { background: var(--tuerkis-hell); color: var(--dunkel); }
.kasten--begriff { background: var(--karte-bg); border-left: .5rem solid var(--aprikose); }
.kasten--begriff dfn { font-style: normal; font-weight: 900; }
.kasten--achtung { background: var(--karte-bg); border-left: .5rem solid var(--rot); }
.kasten--achtung .kachel { background: var(--rot); color: var(--text-auf-akzent); }

.tipp { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.tipp img { width: 5.2rem; display: block; margin-left: .6rem; filter: drop-shadow(0 10px 14px rgba(90,62,43,.14)); }
.tipp .kasten { background: var(--karte-bg); position: relative; }
.tipp .kasten::before {
  content: "";
  position: absolute; left: 2.6rem; top: -.6rem;
  width: 1.4rem; height: 1.4rem;
  background: var(--karte-bg);
  transform: rotate(45deg);
  border-radius: 4px;
}
@media (min-width: 760px) {
  .tipp { grid-template-columns: 7rem 1fr; gap: 1.1rem; align-items: end; }
  .tipp img { width: 100%; margin: 0; }
  .tipp .kasten { margin-bottom: 1.4rem; }
  .tipp .kasten::before { left: -.7rem; top: auto; bottom: 1.4rem; }
}

.quellen {
  max-width: var(--lesebreite);
  margin: 3rem 0 0;
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--karte-bg);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
}
.quellen h2 {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 900; color: var(--dunkel);
  font-size: 1.45rem; line-height: 1.2; margin: 0 0 .4rem;
}
.quellen h2::before { display: none; }
.quellen > p { margin: 0 0 1rem; font-size: .9rem; }
.quellen ol { list-style: none; counter-reset: q; margin: 0; padding: 0; font-size: .92rem; line-height: 1.5; }
.quellen li {
  counter-increment: q;
  position: relative;
  padding: .55rem 0 .55rem 2.6rem;
  border-top: 2px solid var(--creme2);
  overflow-wrap: anywhere;
}
.quellen li::before {
  content: counter(q);
  position: absolute; left: 0; top: .5rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--aprikose); color: var(--text-auf-akzent);
  font-weight: 900; font-size: .85rem;
  display: grid; place-items: center;
}
.quellen li:target { background: var(--creme); }

.tschuess {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--lesebreite);
  margin: 2.4rem 0 3rem;
  font-weight: 800; color: var(--dunkel);
  font-size: 1.05rem; line-height: 1.45;
}
.tschuess img { width: 4.6rem; flex: none; }

/* Über */
.profil-reihe {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  margin: 0 0 1.4rem;
  container-type: inline-size;
}
@container (min-width: 28rem) {
  .profil-reihe { grid-template-columns: 8rem 1fr; }
}
@media (min-width: 640px) {
  .profil-reihe { grid-template-columns: 8rem 1fr; }
}
.profil-reihe img {
  width: 8rem; height: 8rem; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--karte-bg), 0 0 0 8px var(--aprikose);
  justify-self: center;
}

/* Vorlage */
.vorlage-hinweis {
  background: var(--creme2);
  border-left: .5rem solid var(--pfirsich);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin: 1rem 0 2rem;
}

/* Fuß */
.fuss {
  position: relative; z-index: 1;
  background: var(--fuss-bg);
  color: var(--fuss-text);
  padding: 1.8rem 0 2.2rem;
  font-size: .9rem; font-weight: 700;
  margin-top: 2rem;
}
.fuss__innen {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
}
.fuss a { color: var(--fuss-text); text-decoration-color: var(--aprikose); }
.fuss nav { display: flex; gap: .4rem 1.4rem; flex-wrap: wrap; font-weight: 800; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__marke { font-weight: 900; font-size: 1.05rem; }
.fuss__ki { display: flex; align-items: center; gap: .5rem; color: var(--fuss-muted); width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .deko, .video, .kopf__nav, .nav-toggle, .suche { display: none; }
  body { background: #fff; color: #000; }
  .fuss { background: #fff; color: #000; }
  a { color: inherit; }
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.seite-kopf { display: block; padding: 1.6rem 0 .6rem; }
.seite-kopf h1 {
  font-weight: 900;
  color: var(--dunkel);
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero picture { display: block; width: 100%; }
.video__flaeche picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --- Astro-Erweiterungen: Shiki, Suche, Tags, Kopieren --- */
:root {
  --shiki-color-text: #3D2B1F;
  --shiki-color-background: #FFFDF9;
  --shiki-token-constant: #3E8E87;
  --shiki-token-string: #5A3E2B;
  --shiki-token-comment: #8a7464;
  --shiki-token-keyword: #C8553D;
  --shiki-token-parameter: #5A3E2B;
  --shiki-token-function: #3E8E87;
  --shiki-token-string-expression: #3D2B1F;
  --shiki-token-punctuation: #5A3E2B;
  --shiki-token-link: #3E8E87;
}
@media (prefers-color-scheme: dark) {
  :root {
    --shiki-color-text: #F3E6D6;
    --shiki-color-background: #140C08;
    --shiki-token-constant: #8fd0c9;
    --shiki-token-string: #F8C9A0;
    --shiki-token-comment: #b9a394;
    --shiki-token-keyword: #f0a090;
    --shiki-token-parameter: #F8C9A0;
    --shiki-token-function: #8fd0c9;
    --shiki-token-string-expression: #F3E6D6;
    --shiki-token-punctuation: #F8C9A0;
    --shiki-token-link: #8fd0c9;
  }
}
.s-fg-color-text { color: var(--shiki-color-text); }
.s-bg-color-background, .s-fg-color-background { background-color: var(--shiki-color-background); }
.s-fg-token-constant { color: var(--shiki-token-constant); }
.s-fg-token-string { color: var(--shiki-token-string); }
.s-fg-token-comment { color: var(--shiki-token-comment); }
.s-fg-token-keyword { color: var(--shiki-token-keyword); }
.s-fg-token-parameter { color: var(--shiki-token-parameter); }
.s-fg-token-function { color: var(--shiki-token-function); }
.s-fg-token-string-expression { color: var(--shiki-token-string-expression); }
.s-fg-token-punctuation { color: var(--shiki-token-punctuation); }
.s-fg-token-link { color: var(--shiki-token-link); }
.s-bg-token-constant { background-color: var(--shiki-token-constant); }
.s-bg-token-string { background-color: var(--shiki-token-string); }
.s-bg-token-comment { background-color: var(--shiki-token-comment); }
.s-bg-token-keyword { background-color: var(--shiki-token-keyword); }

.inhalt pre.astro-code,
.inhalt pre {
  background: var(--shiki-color-background);
  color: var(--shiki-color-text);
  overflow-x: auto;
}
.code-wrap {
  position: relative;
  margin: 0 0 1.1rem;
}
.code-wrap pre,
.code-wrap .prompt-block { margin-bottom: 0; }
.kopieren {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  padding: .28rem .7rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  background: var(--pfirsich);
  color: var(--text-auf-akzent);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.kopieren:hover, .kopieren:focus-visible { background: var(--aprikose); color: var(--text-auf-akzent); }
.prompt-block {
  background: var(--karte-bg);
  border-radius: 24px;
  padding: 1.1rem 1.3rem 1.2rem;
  box-shadow: var(--schatten);
  border-left: .5rem solid var(--tuerkis);
}
.prompt-block__label {
  margin: 0 0 .4rem;
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--braun);
}
.prompt-block p { margin: 0; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin: .8rem 0 0;
  padding: 0;
}
.tags--liste { margin-top: 1.2rem; }
.pille--tag {
  text-decoration: none;
  background: var(--tuerkis-hell);
  color: var(--dunkel);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .85rem;
}
.pille--tag:hover { text-decoration: underline; }
.tags__zahl {
  font-weight: 700;
  opacity: .75;
}
.suche--seite { margin: 1.2rem 0 1rem; }
.suche-status { margin: 0 0 1rem; font-weight: 700; }
.suche-treffer {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.suche-treffer__karte { text-decoration: none; }
.suche-treffer__karte h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.suche-treffer__auszug { margin: 0; }
.suche-treffer mark {
  background: var(--aprikose);
  color: var(--text-auf-akzent);
  padding: 0 .1em;
  border-radius: 2px;
}

pre {
  overflow-x: auto;
  max-width: 100%;
}

.robo-404 {
  display: block;
  width: 7rem;
  height: auto;
  margin: 0 0 1rem;
  filter: drop-shadow(0 12px 18px rgba(90,62,43,.14));
}
