/* ==========================================================================
   Jessica Turner — Visitenkarte
   Design-Tokens 1:1 aus der Live-Seite jessica-turner.de uebernommen
   (Stand 22.09.2026). Keine Fremdserver, keine Cookies, kein Tracking.
   ========================================================================== */

@import "schriften/schriften.css";

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  --hintergrund: #0d1020;
  --hintergrund: oklch(13% 0.03 265);
  --text: #f9fafc;
  --text: oklch(98% 0.005 250);
  --text-leise: #a8adbd;
  --text-leise: oklch(72% 0.02 260);
  --primaer: #5a4bff;
  --primaer: oklch(62% 0.24 265);
  --primaer-text: #ffffff;
  --primaer-text: oklch(99% 0 0);
  --elektrisch-soft: #8f9bff;
  --elektrisch-soft: oklch(72% 0.18 260);

  --rand: rgba(255, 255, 255, 0.1);
  --rand: oklch(100% 0 0 / 0.1);
  --rand-zart: rgba(255, 255, 255, 0.08);
  --rand-zart: oklch(100% 0 0 / 0.08);

  --flaeche-04: rgba(255, 255, 255, 0.04);
  --flaeche-05: rgba(255, 255, 255, 0.05);
  --flaeche-07: rgba(255, 255, 255, 0.07);
  --flaeche-08: rgba(255, 255, 255, 0.08);
  --flaeche-10: rgba(255, 255, 255, 0.1);

  --verlauf-hero:
    radial-gradient(ellipse 80% 60% at 50% 0%, oklch(45% 0.22 265 / 0.55), transparent 70%),
    linear-gradient(180deg, oklch(13% 0.03 265) 0%, oklch(9% 0.02 265) 100%);
  --verlauf-elektrisch: linear-gradient(135deg, oklch(55% 0.25 265), oklch(70% 0.2 255));
  --schatten-glow: 0 20px 60px -20px oklch(55% 0.25 265 / 0.55);
  --schatten-bild: 0 30px 80px -20px oklch(0% 0 0 / 0.7);

  --radius: 1.25rem;
  --schrift: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;

  --spalte: 72rem;   /* max-w-6xl */
  --spalte-eng: 64rem; /* max-w-5xl */
}

/* --------------------------------------------------------------------------
   2. Grundlagen
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--hintergrund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Zahlen, Zeiten und Adressen nicht trennen */
address,
time,
code,
.thema__nummer {
  hyphens: manual;
}

/* Flex- und Grid-Kinder duerfen unter ihre Inhaltsbreite schrumpfen */
.karte,
.buch,
.presse,
.stimme,
.hero__karte,
.hinweisleiste > *,
.bereich__kopf > * {
  min-width: 0;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--schrift-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: pretty;
}

h1 {
  font-size: clamp(1.7rem, 6.2vw + 0.2rem, 3.75rem);
  line-height: 1.02;
  text-wrap: pretty;
}

h2 {
  font-size: clamp(1.5rem, 3.8vw + 0.5rem, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

svg {
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--elektrisch-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Sprungmarke fuer Tastatur und Screenreader */
.zur-hauptnavigation {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--primaer);
  color: var(--primaer-text);
  border-radius: 0 0 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.zur-hauptnavigation:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Bausteine
   -------------------------------------------------------------------------- */

.glas {
  background: linear-gradient(oklch(100% 0 0 / 0.06), oklch(100% 0 0 / 0.02));
  border: 1px solid var(--rand-zart);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.chip {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rand);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: oklch(92% 0.01 260);
  font-size: 0.875rem;
  line-height: 1.3;
}

.chip svg {
  color: var(--elektrisch-soft);
  width: 14px;
  height: 14px;
}

.chip--abstand {
  margin-bottom: 1.5rem;
}

.leise {
  color: var(--text-leise);
}

.betont {
  color: var(--text);
  font-weight: 500;
}

.elektrisch-text {
  background-image: var(--verlauf-elektrisch);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.ueberschrift-klein {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--elektrisch-soft);
}


/* Symbolvorrat und Kopfzeilen-Gruppe (ersetzt Inline-Stile wegen CSP) */
.symbolquelle {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.kopf__rechts {
  display: contents;
}

/* Schaltflaechen -------------------------------------------------------- */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, opacity 0.2s ease,
    transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.knopf svg {
  width: 16px;
  height: 16px;
}

.knopf--haupt {
  background-image: var(--verlauf-elektrisch);
  color: var(--primaer-text);
  font-weight: 600;
  box-shadow: var(--schatten-glow);
}

.knopf--haupt:hover {
  transform: translateY(-1px);
}

.knopf--neben {
  border-color: var(--rand);
  background: var(--flaeche-05);
  color: var(--text);
}

.knopf--neben:hover {
  background: var(--flaeche-10);
}

.knopf--weit {
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   4. Kopfzeile und Navigation
   -------------------------------------------------------------------------- */

.kopf {
  padding: clamp(0.5rem, 2.5vw, 1rem) clamp(0.5rem, 2.5vw, 1rem) 0;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
}

.kopf__leiste {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: min(var(--spalte-eng), 100%);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem clamp(0.75rem, 3.5vw, 1.25rem);
}

.kopf__marke {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--schrift-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  min-width: 0;
}

.kopf__marke img {
  width: 28px;
  height: 28px;
  border-radius: 0.375rem;
  object-fit: contain;
}

.kopf__menue {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-leise);
}

.kopf__menue a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

.kopf__menue a:hover,
.kopf__menue a:focus-visible {
  color: var(--text);
}

.kopf__cta {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: none;
  white-space: nowrap;
}

.kopf__cta svg {
  width: 0.875rem;
  height: 0.875rem;
}

.kopf__cta:hover {
  opacity: 0.9;
  transform: none;
}

/* Umschalter fuer kleine Bildschirme, gleiche Formensprache wie die Leiste */
.kopf__umschalter {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--rand);
  border-radius: 999px;
  background: var(--flaeche-05);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.kopf__umschalter:hover {
  background: var(--flaeche-10);
}

.kopf__umschalter svg {
  width: 18px;
  height: 18px;
}

.kopf__umschalter .symbol-schliessen {
  display: none;
}

.kopf__umschalter[aria-expanded="true"] .symbol-oeffnen {
  display: none;
}

.kopf__umschalter[aria-expanded="true"] .symbol-schliessen {
  display: block;
}

.kopf__klapp {
  background: oklch(15% 0.03 265 / 0.98);
  position: absolute;
  top: 100%;
  inset-inline: -1.25rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.125rem;
  box-shadow: var(--schatten-bild);
}

.kopf__klapp[data-offen="ja"] {
  display: flex;
}

.kopf__klapp a {
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-leise);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kopf__klapp .knopf {
  margin-top: 0.375rem;
  justify-content: center;
  color: var(--primaer-text);
}

.kopf__klapp .knopf:hover {
  color: var(--primaer-text);
  background-image: var(--verlauf-elektrisch);
}

.kopf__klapp a:hover,
.kopf__klapp a:focus-visible {
  background: var(--flaeche-07);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   5. Abschnitte
   -------------------------------------------------------------------------- */

.bereich {
  position: relative;
  padding-block: clamp(3.5rem, 10vw, 6rem);
}

.spalte {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: min(var(--spalte), 100%);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.spalte--eng {
  max-width: min(var(--spalte-eng), 100%);
}

.bereich__kopf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.bereich__kopf p {
  max-width: 24rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .bereich__kopf p {
    max-width: 17rem;
  }
}

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background-image: var(--verlauf-hero);
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.hero__schein {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__schein span {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1200px, 160%);
  height: 600px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: oklch(62% 0.24 265 / 0.2);
  filter: blur(140px);
}

.hero__raster {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero__text {
  min-width: 0;
}

.hero__einleitung {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
}

.hero__karten {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.hero__karte {
  padding: 1.25rem;
}

.hero__karte-titel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--elektrisch-soft);
}

.hero__karte-titel img {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  object-fit: contain;
}

.hero__karte p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.knopfreihe {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__bild {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--flaeche-10);
  border-radius: 1.5rem;
  box-shadow: var(--schatten-bild);
}

.hero__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bild::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 33%;
  background: linear-gradient(to top, var(--hintergrund), transparent);
}

/* Ueber mich ------------------------------------------------------------ */

.text-raster {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-leise);
}

/* Karten-Raster --------------------------------------------------------- */

.raster {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.karte {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 4vw, 1.5rem);
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.karte:hover {
  border-color: oklch(62% 0.24 265 / 0.4);
  background: var(--flaeche-08);
}

.karte__symbol {
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-image: var(--verlauf-elektrisch);
  box-shadow: var(--schatten-glow);
  color: var(--primaer-text);
}

.karte__symbol svg {
  width: 1.25rem;
  height: 1.25rem;
}

.karte h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.karte p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-leise);
}

.karte__mehr {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.karte__mehr svg {
  width: 1rem;
  height: 1rem;
}

a.karte:hover .karte__mehr {
  opacity: 1;
}

.hinweisleiste {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rand);
  border-radius: 1rem;
  background: var(--flaeche-04);
}

.hinweisleiste p {
  font-size: 0.875rem;
  color: var(--text-leise);
}

.hinweisleiste .knopf {
  padding: 0.625rem 1.25rem;
  font-weight: 600;
}

/* Podcast --------------------------------------------------------------- */

.podcast {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 5vw, 2rem);
}

.podcast__schein {
  pointer-events: none;
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: oklch(62% 0.24 265 / 0.3);
  filter: blur(64px);
}

.podcast__raster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.podcast__text {
  min-width: 0;
}

.podcast__text h2 {
  line-height: 1.15;
}

.podcast__text p {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: var(--text-leise);
}

.podcast__text p + p {
  margin-top: 1rem;
}

.gaeste {
  margin-top: 2.5rem;
}

.gaeste__titel {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-leise);
}

.gaeste__liste {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gaeste__liste span {
  max-width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--flaeche-10);
  border-radius: 999px;
  background: var(--flaeche-04);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-leise);
}

.themen {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.thema {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.5rem, 2.5vw, 1rem);
  padding: clamp(0.7rem, 3vw, 0.875rem);
  border: 1px solid var(--flaeche-10);
  border-radius: 1rem;
  background: var(--flaeche-04);
  transition: background-color 0.2s ease;
}

.thema:hover {
  background: var(--flaeche-07);
}

.thema__nummer {
  font-family: var(--schrift-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--elektrisch-soft);
}

.thema__titel {
  font-size: 0.875rem;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.thema svg {
  width: 1rem;
  height: 1rem;
  color: var(--text-leise);
}

.podcast__bild {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--flaeche-10);
  border-radius: 1.5rem;
  box-shadow: var(--schatten-bild);
  aspect-ratio: 4 / 5;
}

.podcast__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast__bild::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 33%;
  background: linear-gradient(to top, oklch(13% 0.03 265 / 0.8), transparent);
}

/* Buecher --------------------------------------------------------------- */

.buch {
  padding: 1.25rem;
}

.buch__huelle {
  overflow: hidden;
  border: 1px solid var(--flaeche-10);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--schatten-glow);
}

.buch__huelle img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s ease;
}

a.buch:hover .buch__huelle img {
  transform: scale(1.03);
}

.buch h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.25;
}

.buch__reihe {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--elektrisch-soft);
}

.buch p:not(.buch__reihe) {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-leise);
}

.buch__mehr {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.buch__mehr svg {
  width: 0.875rem;
  height: 0.875rem;
}

a.buch:hover .buch__mehr {
  opacity: 1;
}

.zitatkasten {
  margin-top: 3rem;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 42rem;
  padding: 1.25rem;
}

.zitatkasten svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--elektrisch-soft);
}

.zitatkasten p {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-leise);
}

/* Kundenberichte -------------------------------------------------------- */

.stimme {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  margin: 0;
}

.stimme svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--elektrisch-soft);
}

.stimme blockquote {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(249, 250, 252, 0.9);
}

.stimme figcaption {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--flaeche-10);
}

.stimme__name {
  font-size: 0.875rem;
  font-weight: 600;
}

.stimme__rolle {
  font-size: 0.75rem;
  color: var(--text-leise);
}

/* Presse ---------------------------------------------------------------- */

.presse {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.5rem;
}

.presse__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.presse__zeile svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--text-leise);
}

.presse h3 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.presse p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-leise);
}

.presse__quelle {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(249, 250, 252, 0.8);
}

/* Kontakt --------------------------------------------------------------- */

.kontakt {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 2.5rem) clamp(1rem, 5vw, 1.5rem);
  text-align: center;
}

.kontakt__schein {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(700px, 140%);
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: oklch(62% 0.24 265 / 0.2);
  filter: blur(120px);
}

.kontakt__inhalt {
  position: relative;
}

.kontakt h2 {
  margin-inline: auto;
  max-width: 48rem;
}

.kontakt__einleitung {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  color: var(--text-leise);
}

.kontakt .knopfreihe {
  justify-content: center;
}

/* Fusszeile ------------------------------------------------------------- */

.fuss {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid oklch(100% 0 0 / 0.06);
  font-size: 0.75rem;
  color: var(--text-leise);
  text-align: center;
}

.fuss__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.fuss a {
  transition: color 0.2s ease;
}

.fuss a:hover,
.fuss a:focus-visible {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   6. Rechtsseiten
   -------------------------------------------------------------------------- */

.rechtsseite {
  padding-top: 9rem;
  padding-bottom: 5rem;
  background-image: var(--verlauf-hero);
  background-repeat: no-repeat;
  background-size: 100% 40rem;
}

.rechtstext {
  margin-top: 2.5rem;
  max-width: 44rem;
  color: var(--text-leise);
  font-size: 1rem;
  line-height: 1.75;
}

.rechtstext h2 {
  margin-top: 3rem;
  font-size: clamp(1.375rem, 2vw + 0.75rem, 1.75rem);
  color: var(--text);
}

.rechtstext h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--text);
}

.rechtstext p,
.rechtstext ul {
  margin-top: 0.875rem;
}

.rechtstext ul {
  padding-left: 1.25rem;
}

.rechtstext li {
  margin-top: 0.375rem;
}

.rechtstext a {
  color: var(--elektrisch-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.rechtstext strong {
  color: var(--text);
  font-weight: 600;
}

.rechtstext__stand {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rand);
  font-size: 0.8125rem;
}

.offen {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid oklch(72% 0.18 260 / 0.45);
  border-radius: 1rem;
  background: oklch(62% 0.24 265 / 0.08);
  color: var(--text);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   7. Bildschirmbreiten
   -------------------------------------------------------------------------- */

@media (min-width: 600px) {
  .raster--saeulen,
  .raster--presse,
  .raster--stimmen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .kopf__cta {
    display: inline-flex;
  }

  .hero__karten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .raster--buecher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .podcast {
    padding: clamp(1.75rem, 5vw, 2.5rem);
  }

  .kontakt {
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (min-width: 768px) {
  .kopf__menue {
    display: flex;
  }

  .kopf__umschalter,
  .kopf__klapp {
    display: none !important;
  }

  .hero {
    padding-top: 11rem;
    padding-bottom: 8rem;
  }

  .bereich__kopf {
    flex-direction: row;
    align-items: flex-end;
  }

  .text-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .raster--saeulen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .raster--stimmen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .raster--presse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fuss {
    flex-direction: row;
    text-align: left;
  }

  .fuss__links {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero__raster {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .raster--saeulen {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .raster--saeulen > * {
    grid-column: span 2;
  }

  .raster--saeulen > *:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .raster--buecher {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .raster--presse {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .podcast {
    padding: clamp(2.5rem, 5vw, 3.5rem);
  }

  .podcast__raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .kontakt {
    padding: clamp(2.5rem, 5vw, 4rem);
  }
}

/* --------------------------------------------------------------------------
   8. Ruecksicht auf Systemeinstellungen
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .kopf,
  .hero__schein,
  .podcast__schein,
  .kontakt__schein {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* Sichtbarer Hinweis auf noch nicht eingetragene Stammdaten (setzt bauen.mjs) */
.offen-platzhalter {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 0.4rem;
  background: #ffd84d;
  color: #18181b;
  font-size: 0.85em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Bewegung
   Alles hier ist dezent und kurz. Wer im System "Bewegung reduzieren"
   eingestellt hat, bekommt die Seite ohne jede Animation (Abschnitt 8).
   -------------------------------------------------------------------------- */

/* Einblenden beim Scrollen. Der Ausgangszustand gilt nur, wenn das Skript
   laeuft (html.js). Ohne JavaScript steht alles sofort sichtbar da. */
.js .auftritt {
  opacity: 0;
  transform: translateY(1.25rem);
}

.js .auftritt.sichtbar {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--verzoegerung, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--verzoegerung, 0s);
}


/* Versatz beim Einblenden, als Klassen statt als style-Attribut (CSP) */
.auftritt.stufe-0 {
  --verzoegerung: 0.00s;
}

.auftritt.stufe-1 {
  --verzoegerung: 0.07s;
}

.auftritt.stufe-2 {
  --verzoegerung: 0.14s;
}

.auftritt.stufe-3 {
  --verzoegerung: 0.21s;
}

.auftritt.stufe-4 {
  --verzoegerung: 0.28s;
}

.auftritt.stufe-5 {
  --verzoegerung: 0.35s;
}

.auftritt.stufe-6 {
  --verzoegerung: 0.42s;
}

/* Kopfzeile verdichtet sich, sobald man scrollt */
.kopf__leiste {
  transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.kopf[data-gescrollt="ja"] .kopf__leiste {
  padding-block: 0.5rem;
  box-shadow: 0 12px 40px -18px oklch(0% 0 0 / 0.9);
}

/* Der Lichtschein im Hero atmet langsam */
@keyframes schweben {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(2.5rem) scale(1.08);
    opacity: 0.8;
  }
}

.hero__schein span {
  animation: schweben 16s ease-in-out infinite;
}

@keyframes pulsen {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.podcast__schein {
  animation: pulsen 12s ease-in-out infinite;
}

.kontakt__schein {
  animation: pulsen 14s ease-in-out infinite 2s;
}

/* Der Farbverlauf in den Ueberschriften wandert sehr langsam */
@keyframes verlaufWandern {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.elektrisch-text {
  background-size: 220% 100%;
  animation: verlaufWandern 14s ease-in-out infinite;
}

/* Pfeile laufen beim Zeigen ein Stueck nach rechts */
.knopf svg:last-child,
.karte__mehr svg,
.buch__mehr svg {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.knopf:hover svg:last-child,
a.karte:hover .karte__mehr svg,
a.buch:hover .buch__mehr svg {
  transform: translateX(3px);
}

/* Karten heben sich an und bekommen einen Schimmer */
.karte {
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

a.karte:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px oklch(55% 0.25 265 / 0.75);
}

.karte__symbol {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

a.karte:hover .karte__symbol {
  transform: translateY(-2px) rotate(-4deg) scale(1.06);
}

/* Podcast-Themen ruecken beim Zeigen leicht ein */
.thema {
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.thema:hover {
  transform: translateX(3px);
}

/* Das Klappmenue faehrt aus, statt zu springen */
@keyframes menueAuf {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kopf__klapp[data-offen="ja"] {
  animation: menueAuf 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero-Bild kommt beim Laden sanft heran */
@keyframes bildHeran {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__bild picture {
  display: block;
  height: 100%;
  animation: bildHeran 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__bild img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__bild:hover img {
  transform: scale(1.03);
}

/* Bei reduzierter Bewegung bleibt nichts unsichtbar zurueck */
@media (prefers-reduced-motion: reduce) {
  .js .auftritt,
  .js .auftritt.sichtbar {
    opacity: 1;
    transform: none;
  }

  .hero__schein span,
  .podcast__schein,
  .kontakt__schein,
  .elektrisch-text,
  .hero__bild picture {
    animation: none;
  }
}
