/* ==========================================================================
   Jagocore – Website
   Hell, freundlich, mit Glas-Effekten in den Jagocore-Farben.
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #f3f7fd;
  --bg-deep: #e4edf9;
  --surface: rgba(255, 255, 255, 0.52);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.85);
  --line: rgba(26, 52, 96, 0.09);
  --line-strong: rgba(26, 52, 96, 0.17);

  --text: #111a2c;
  --text-2: #26344f;
  --muted: #4a5d7e;

  --brand: #ed4913;        /* Jagocore-Orange (Logo) */
  --brand-600: #d13c0c;    /* Buttons – ausreichend Kontrast zu Weiß */
  --brand-700: #ad320a;    /* Text auf hellem Grund */
  --tint-50: #e8f1fd;      /* helles Blau für Labels & Flächen */
  --tint-100: #cfe1fa;
  --tint-700: #1b58b0;
  --navy: #1f2b45;         /* aus der App */
  --blue: #2f7de1;         /* aus der App */
  --ink: #111a2c;          /* sehr dunkles Nachtblau statt Grau/Schwarz */

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(15, 26, 45, 0.05);
  --shadow: 0 1px 2px rgba(15, 26, 45, 0.04), 0 12px 32px -14px rgba(15, 26, 45, 0.16);
  --shadow-lg: 0 2px 6px rgba(15, 26, 45, 0.04), 0 32px 64px -28px rgba(15, 26, 45, 0.28);

  --font: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo Variable", "Archivo", "Inter Variable", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
::selection { background: var(--tint-100); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1120px + 2 * var(--gutter)); }
.container--xl { max-width: calc(1440px + 2 * var(--gutter)); }
.site-main { flex: 1; padding-bottom: clamp(40px, 8vw, 96px); }

.icon { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Hintergrund: weiche Farbflächen für den Glas-Effekt ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; }
.blob--orange { width: 46vw; height: 46vw; min-width: 380px; min-height: 380px; left: -14vw; top: -18vw; background: radial-gradient(circle at 50% 50%, rgba(255, 110, 20, .14), rgba(255, 110, 20, 0) 64%); }
.blob--blue { width: 50vw; height: 50vw; min-width: 420px; min-height: 420px; right: -18vw; top: 8vh; background: radial-gradient(circle at 50% 50%, rgba(47, 125, 225, .28), rgba(47, 125, 225, 0) 66%); }
.blob--peach { width: 60vw; height: 40vw; min-width: 420px; min-height: 300px; left: 20vw; bottom: -22vw; background: radial-gradient(circle at 50% 50%, rgba(90, 170, 255, .26), rgba(90, 170, 255, 0) 70%); }

/* ---------- Deko-Bilder (wie ein Wasserzeichen, immer hinter den Inhalten) ---------- */
body { position: relative; }
:root {
  /* Ovale Schablone, deren Rand durch die Bildecken läuft: das ganze Foto bleibt sichtbar,
     der Rand verläuft weich. Ein schmaler Verlauf an den Kanten verhindert harte Linien. */
  --deco-oval: radial-gradient(ellipse farthest-corner at center, #000 34%, rgba(0, 0, 0, .5) 64%, transparent 100%);
  --deco-edge-x: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  --deco-edge-y: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.deco__img {
  position: absolute; width: min(48vw, 760px); max-width: none; height: auto;
  opacity: var(--deco-o, .1); mix-blend-mode: multiply;
  -webkit-mask-image: var(--deco-oval), var(--deco-edge-x), var(--deco-edge-y); -webkit-mask-composite: source-in;
  mask-image: var(--deco-oval), var(--deco-edge-x), var(--deco-edge-y); mask-composite: intersect;
}
.deco__img--1 { right: 0; top: 70px; }
.deco-foto.deco-low { --deco-o: .08; }
.deco-foto.deco-mid { --deco-o: .12; }
.deco-foto.deco-high { --deco-o: .18; }
.deco-comic.deco-low { --deco-o: .09; }
.deco-comic.deco-mid { --deco-o: .14; }
.deco-comic.deco-high { --deco-o: .21; }
.deco-comic .deco__img, .deco-comic .panel__deco { mix-blend-mode: normal; }
/* Deko-Bild liegt immer VOLLSTÄNDIG im Kasten (nie abgeschnitten) und läuft an allen Rändern weich aus.
   Die genaue Größe passt site.js an Breite und Höhe des Kastens an. */
.panel__deco {
  --deco-inset: 16px;
  position: absolute; z-index: 0; top: var(--deco-inset); right: var(--deco-inset); width: min(40%, 520px); height: auto; max-width: none;
  opacity: var(--deco-o, .1); mix-blend-mode: multiply; pointer-events: none; user-select: none;
  -webkit-mask-image: var(--deco-oval), var(--deco-edge-x), var(--deco-edge-y); -webkit-mask-composite: source-in;
  mask-image: var(--deco-oval), var(--deco-edge-x), var(--deco-edge-y); mask-composite: intersect;
}
.panel > :not(.panel__deco) { position: relative; z-index: 1; }
@media (max-width: 760px) { .panel__deco { --deco-inset: 8px; width: 70%; opacity: calc(var(--deco-o, .1) * .8); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .deco__img { animation: deco-drift linear both; animation-timeline: scroll(root); }
    @keyframes deco-drift { from { translate: 0 0; } to { translate: 0 28vh; } }
  }
}
@media (max-width: 760px) {
  .deco__img { width: 92vw; }
  .deco__img--1 { right: 0; top: 40px; }
  .deco__img { opacity: calc(var(--deco-o, .1) * .8); }
}
@media print { .deco { display: none; } }

/* ---------- Buttons & Labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(2px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(209, 60, 12, .7); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1f2b45; transform: translateY(-1px); }
.btn--ghost { background: var(--surface-strong); border-color: var(--line-strong); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  background: var(--tint-50); color: var(--tint-700); border: 1px solid var(--tint-100);
  font-size: 13px; font-weight: 650; line-height: 1.5; transition: background-color .2s, border-color .2s;
}
a.pill:hover { background: var(--tint-100); border-color: #a9c8f3; }
.tag { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--surface-strong); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--text-2); transition: border-color .2s, color .2s; }
.tag:hover { border-color: var(--blue); color: var(--tint-700); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 10px; border-radius: 999px;
  background: var(--tint-50); color: var(--tint-700); border: 1px solid var(--tint-100);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.pulse { color: var(--brand); display: inline-block; }
.eyebrow__pulse { width: 30px; height: 12px; }
.hl { color: var(--brand); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--muted); }
.meta__date, .meta__read { font-weight: 500; }
.meta__read::before { content: "·"; margin-right: 14px; color: var(--line-strong); }
.meta__date + .meta__read::before { display: inline; }
.meta > .meta__read:first-child::before { display: none; }

/* ---------- Hinweisleiste (optional) ---------- */
.announce { display: flex; justify-content: center; padding: 10px var(--gutter) 0; }
.announce__pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: var(--shadow);
}
a.announce__pill:hover { background: #1f2b45; }

/* ---------- Kopfzeile / Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
.nav {
  position: relative; display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 1px rgba(15, 26, 45, .03), 0 18px 40px -20px rgba(15, 26, 45, .22);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  transition: box-shadow .3s, background-color .3s;
}
.is-scrolled .nav { background: rgba(255, 255, 255, .86); box-shadow: 0 1px 2px rgba(15, 26, 45, .05), 0 22px 44px -22px rgba(15, 26, 45, .32); }
.nav__brand { flex: none; display: flex; align-items: center; }
.nav__brand img { height: 34px; width: auto; display: block; }
.nav__menu { flex: 1; display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav__links { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.nav__links a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--text-2); transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(15, 26, 45, .05); color: var(--ink); }
.nav__links a.is-active { background: var(--tint-50); color: var(--tint-700); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.nav__search {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--text-2); transition: background-color .2s;
}
.nav__search:hover { background: rgba(15, 26, 45, .05); }
.nav__kbd, kbd {
  font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--muted);
  padding: 2px 7px; border-radius: 7px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .7);
}
.nav__toggle { display: none; }

@media (max-width: 1080px) {
  .nav { border-radius: 26px; padding: 8px 8px 8px 18px; min-height: 60px; }
  .nav__brand img { height: 30px; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .8); cursor: pointer;
  }
  .nav__toggle-open { display: inline-flex; }
  .nav__toggle-close { display: none; }
  .nav.is-open .nav__toggle-open { display: none; }
  .nav.is-open .nav__toggle-close { display: inline-flex; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 12px; padding: 14px;
    border-radius: 26px; background: #ffffff; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav__links { flex-direction: column; margin: 0; gap: 2px; }
  .nav__links a { padding: 13px 16px; font-size: 17px; border-radius: 16px; }
  .nav__actions { flex-direction: column; align-items: stretch; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav__search { justify-content: flex-start; padding: 12px 16px; border-radius: 16px; background: rgba(15, 26, 45, .04); }
  .nav__kbd { display: none; }
  .nav__order { min-height: 52px; font-size: 16px; }
}
@media (hover: none) { .nav__kbd { display: none; } }

/* ---------- Abschnitte ---------- */
.section { margin-top: clamp(24px, 4.5vw, 52px); }
.section--first { margin-top: clamp(24px, 4vw, 44px); }
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(22px, 4.6vw, 64px);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 1px rgba(15, 26, 45, .02), 0 30px 60px -40px rgba(15, 26, 45, .18);
  -webkit-backdrop-filter: blur(7px) saturate(140%);
  backdrop-filter: blur(7px) saturate(140%);
}
.panel--soft { background: rgba(226, 237, 252, .5); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; margin-bottom: clamp(24px, 3.5vw, 40px); max-width: 760px; }
.section-head__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-stretch: 96%; }
.section-head__intro { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: var(--muted); }
.empty-state { color: var(--muted); font-size: 1.1rem; }

/* ---------- Medien (Bilder werden nie abgeschnitten) ---------- */
.media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-deep); isolation: isolate; }
.media__img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.media--wide .media__img { object-fit: cover; }
.media__bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; object-fit: cover; filter: blur(26px) saturate(1.25); opacity: .85; transform: scale(1.06); }
.media--empty { display: grid; place-items: center; background: linear-gradient(135deg, #e8f1fd, #fff3e8); }
.media--empty img { width: 30%; max-width: 140px; opacity: .85; }

/* ---------- Angepinnter Beitrag ---------- */
.hero-pinned { margin-top: clamp(20px, 3.5vw, 40px); }
.pinned {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--surface-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
}
.pinned__media { display: block; min-width: 0; }
.pinned__media .media { width: 100%; height: 100%; min-height: 340px; aspect-ratio: auto; }
.pinned:hover .media__img { transform: scale(1.02); }
.pinned__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 4vw, 56px); }
.pinned__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pinned__title { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.3rem); font-stretch: 94%; line-height: 1.04; }
.pinned__title a:hover { color: var(--brand-700); }
.pinned__excerpt { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--muted); }
.pinned .btn { margin-top: auto; }
@media (max-width: 900px) {
  .pinned { grid-template-columns: 1fr; border-radius: 30px; }
  .pinned__media .media { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- Einstieg (wenn kein Beitrag angepinnt ist) ---------- */
.hero-intro { margin-top: clamp(28px, 6vw, 72px); }
.hero-intro__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero-intro__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.hero-intro__title { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.2rem); font-stretch: 90%; line-height: .98; letter-spacing: -0.03em; }
.hero-intro__sub {
  position: relative; margin-top: -8px; padding-left: 46px; max-width: 640px;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-style: italic; font-weight: 500; line-height: 1.5; color: var(--tint-700);
}
.hero-intro__sub::before { content: ""; position: absolute; left: 0; top: .75em; width: 32px; height: 2px; border-radius: 2px; background: var(--brand); }
.hero-intro__lead { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); color: var(--muted); max-width: 620px; }
.hero-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-intro__visual { display: grid; place-items: center; }
.dial {
  position: relative; width: min(400px, 78vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55));
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.dial::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed rgba(237, 73, 19, .35); animation: spin 90s linear infinite; }
.dial::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(47, 125, 225, .18); }
.dial img { width: 74%; height: auto; position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dial::before { animation: none; } }
@media (max-width: 820px) {
  .hero-intro__inner { grid-template-columns: 1fr; }
  .hero-intro__visual { order: -1; justify-items: start; }
  .dial { width: 150px; }
  .dial::after { inset: -10px; }
}

/* ---------- Karten ---------- */
.grid-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .grid-top { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover .media__img { transform: scale(1.03); }
.card__media { display: block; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: clamp(20px, 2.4vw, 30px); }
.card__title { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.6rem); font-stretch: 96%; line-height: 1.15; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .pill { position: relative; z-index: 2; }
.card__title a:hover { color: var(--brand-700); }
.card__excerpt { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { position: relative; z-index: 2; margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.card__more .icon { color: var(--brand); transition: transform .2s; }
.card:hover .card__more .icon { transform: translateX(4px); }

.card--text { background: rgba(255, 255, 255, .8); border-radius: 24px; }
.card--text::before {
  content: ""; position: absolute; left: clamp(20px, 2.4vw, 30px); top: 0; height: 3px; width: 44px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand), #ff8a4c); transition: width .4s cubic-bezier(.2, .7, .2, 1);
}
.card--text:hover::before { width: calc(100% - 2 * clamp(20px, 2.4vw, 30px)); }
.card--text .card__title { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); }

/* Karten sanft einblenden (nur moderne Browser, respektiert „Bewegung reduzieren“) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Seitenwechsel ---------- */
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.pagination__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--surface-strong); border: 1px solid var(--line-strong); font-weight: 650; transition: border-color .2s, background-color .2s; }
.pagination__btn:hover { border-color: var(--ink); background: #fff; }
.pagination__info { color: var(--muted); font-size: 14px; }

/* ---------- Beitrag ---------- */
.article__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: start; padding-top: clamp(28px, 5vw, 64px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.article__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.8rem); font-stretch: 92%; line-height: 1.04; letter-spacing: -0.03em; }
.article__lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); color: var(--muted); line-height: 1.55; }
.article__hero { margin: clamp(26px, 4vw, 48px) auto 0; }
.article__hero--small { margin-top: clamp(22px, 3vw, 36px); }
.article__hero-img { display: block; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--bg-deep); }
.article__body { margin-top: clamp(28px, 4vw, 48px); }
.article--page .article__body { margin-top: 28px; }
.article__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.back-link { font-weight: 650; color: var(--brand-700); }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.notice { padding: 12px 18px; border-radius: 16px; font-weight: 600; }
.notice--preview { background: #fff4d6; border: 1px solid #f3d27a; color: #6b4d00; }

/* ---------- Vorheriger / nächster Beitrag ---------- */
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.post-nav__link {
  display: grid; gap: 6px; align-content: start; padding: 18px 22px; border-radius: 20px;
  background: var(--surface-strong); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-nav__link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--tint-100); }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tint-700); }
.post-nav__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.25; color: var(--ink); }
@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav > span:empty { display: none; }
  .post-nav__link--next { grid-column: auto; }
}

/* ---------- Fließtext (Inhalte aus dem Editor) ---------- */
.prose { font-size: clamp(1.03rem, .98rem + .25vw, 1.14rem); line-height: 1.78; color: var(--text-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); color: var(--ink); margin-top: 2em; font-stretch: 96%; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); color: var(--ink); margin-top: 1.8em; }
.prose h4 { font-size: 1.1rem; color: var(--ink); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--brand-700); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-600); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote {
  margin-inline: 0; padding: 18px 24px; border-left: 4px solid var(--brand); border-radius: 0 18px 18px 0;
  background: rgba(232, 241, 253, .8); color: var(--text); font-size: 1.08em;
}
.prose img { border-radius: 18px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: .88em; color: var(--muted); margin-top: .6em; text-align: center; }
.prose hr { border: 0; height: 24px; margin-block: 2.4em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 14h34l5-8 7 14 7-19 7 22 6-13 4 4h50' fill='none' stroke='%23ed4913' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 120px 24px no-repeat; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; padding: .15em .45em; border-radius: 6px; background: rgba(15, 26, 45, .06); }
.prose pre { padding: 18px 20px; border-radius: 16px; background: var(--ink); color: #eef4fd; overflow-x: auto; font-size: .9em; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose video, .prose audio { width: 100%; border-radius: 18px; }
.prose video { background: #000; }
.prose iframe { max-width: 100%; border: 0; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .8); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: rgba(15, 26, 45, .04); color: var(--ink); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose p:empty { display: none; }

/* Von Jodit gesetzte Bild-Ausrichtungen */
.prose img[style*="float: left"], .prose img[style*="float:left"] { margin: .3em 1.4em 1em 0; }
.prose img[style*="float: right"], .prose img[style*="float:right"] { margin: .3em 0 1em 1.4em; }
@media (max-width: 600px) {
  .prose img[style*="float"] { float: none !important; display: block; margin: 1em auto !important; }
  .prose img { width: auto !important; max-width: 100% !important; height: auto !important; }
}

/* ---------- Video: 2-Klick-Lösung ---------- */
.jc-embed {
  position: relative; aspect-ratio: 16 / 9; margin-inline: 0; border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #2a3552, var(--ink) 70%); color: #fff; box-shadow: var(--shadow);
}
.jc-embed__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; border-radius: 0 !important; }
.jc-embed__btn {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  width: 100%; border: 0; background: linear-gradient(180deg, rgba(15, 26, 45, .15), rgba(15, 26, 45, .55)); color: #fff; cursor: pointer; padding: 16px 16px 56px;
}
.jc-embed__play {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--brand-600); color: #fff;
  box-shadow: 0 0 0 10px rgba(237, 73, 19, .25); transition: transform .2s, box-shadow .2s;
}
.jc-embed__play svg { margin-left: 4px; }
.jc-embed__btn:hover .jc-embed__play, .jc-embed__btn:focus-visible .jc-embed__play { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(237, 73, 19, .3); }
.jc-embed__label { font-weight: 700; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.prose .jc-embed__note, .jc-embed__note {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 10px 16px; text-align: center;
  font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .85); background: rgba(15, 26, 45, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.prose .jc-embed__note a { color: #fff; }
.jc-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
@media (max-width: 520px) { .jc-embed { aspect-ratio: 4 / 3; } .jc-embed__play { width: 62px; height: 62px; } }

/* ---------- Suche ---------- */
.search-form {
  display: flex; align-items: center; gap: 10px; max-width: 640px; margin-bottom: 32px; padding: 6px 6px 6px 18px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
}
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237, 73, 19, .15); }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 4px; font-size: 16px; outline: none; }
.search-form .icon { color: var(--muted); }

.search-dialog {
  width: min(640px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 24px;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
}
.search-dialog::backdrop { background: rgba(15, 26, 45, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-dialog__form { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 22px; }
.search-dialog__form input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 19px; padding: 10px 0; }
.search-dialog__form .icon { color: var(--brand); }
.search-dialog__close { border: 0; background: none; cursor: pointer; padding: 6px; }

/* ---------- 404 ---------- */
.notfound { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: start; }
.notfound__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 12vw, 8rem); line-height: .9; color: var(--brand); letter-spacing: -0.04em; }
.notfound h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.notfound p { color: var(--muted); font-size: 1.1rem; }
.notfound p a { color: var(--brand-700); text-decoration: underline; }
.notfound .search-form { margin: 12px 0 0; width: 100%; }

/* ---------- Fußzeile ---------- */
.site-footer { padding-bottom: 20px; }
.footer {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(140deg, #0f1a2d 0%, #1a2a4a 55%, #1f3a6b 100%); color: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-lg);
}
.footer::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 73, 19, .35), rgba(237, 73, 19, 0) 65%); pointer-events: none;
}
.footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); }
.footer__logo img { height: 36px; width: auto; }
.footer__tagline { margin-top: 18px; color: #fff; font-weight: 650; }
.footer__text { margin-top: 10px; font-size: 15px; max-width: 420px; }
.footer__heading { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-weight: 500; transition: color .2s; }
.footer ul a:hover { color: #ff9a6b; }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; justify-items: start; }
.footer__cta p { color: #fff; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.footer__bottom { position: relative; display: flex; align-items: center; gap: 16px; margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer__pulse { width: 90px; height: 18px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer { border-radius: 30px; } }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 600px) {
  :root { --radius-xl: 28px; --radius-lg: 22px; }
  .panel { border-radius: 26px; }
  .section-head { margin-bottom: 22px; }
  .btn--lg { width: 100%; }
  .hero-intro__actions { width: 100%; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .bg-decor, .announce, .search-dialog, .article__foot .back-link { display: none !important; }
  .panel, .card, .pinned { box-shadow: none; backdrop-filter: none; background: #fff; }
  body { background: #fff; }
}

/* ---------- Wartungsmodus ---------- */
.maint { flex: 1; display: grid; place-items: center; padding: clamp(16px, 5vw, 48px) var(--gutter); }
.maint__card { width: 100%; max-width: 720px; display: grid; justify-items: center; gap: 22px; text-align: center; grid-template-columns: minmax(0, 1fr); }
.maint__logo { width: min(260px, 60vw); height: auto; }
.maint__title { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem); font-stretch: 92%; line-height: 1.05; letter-spacing: -0.03em; }
.maint__text { display: grid; gap: 12px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 560px; }
.maint__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; font-size: 14px; }
.maint__legal a { color: var(--tint-700); font-weight: 600; }
.maint__legal a:hover { text-decoration: underline; }
.maint-flag {
  position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 999px; background: var(--brand-600); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 30px -10px rgba(209, 60, 12, .7); white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis;
}
.maint-flag:hover { background: var(--brand-700); }
@media print { .maint-flag { display: none; } }

/* ---------- Das Wichtigste in Kürze ---------- */
.keypoints {
  margin-top: clamp(26px, 4vw, 44px); padding: 22px 26px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(232, 241, 253, .95), rgba(255, 255, 255, .9));
  border: 1px solid var(--tint-100); box-shadow: var(--shadow-sm);
}
.keypoints__title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; letter-spacing: 0; margin-bottom: 10px; color: var(--ink); }
.keypoints__pulse { width: 34px; height: 14px; }
.keypoints ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--text-2); }
.keypoints li::marker { color: var(--brand); }

/* ---------- Übung der Woche (PDF) ---------- */
.notfound__actions { margin-top: 8px; }
.dl {
  position: relative; display: flex; gap: clamp(16px, 3vw, 26px); align-items: flex-start;
  margin-top: clamp(32px, 5vw, 52px); padding: clamp(20px, 3.4vw, 32px); border-radius: 26px;
  background: linear-gradient(135deg, rgba(232, 241, 253, .96), rgba(255, 255, 255, .92) 60%, rgba(255, 237, 228, .9));
  border: 1px solid var(--tint-100); box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.dl__icon { flex: none; color: var(--tint-700); filter: drop-shadow(0 8px 14px rgba(27, 88, 176, .18)); }
.dl__icon svg { display: block; width: clamp(40px, 6vw, 52px); height: auto; }
.dl__body { display: grid; gap: 8px; min-width: 0; }
.dl__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); }
.dl__pulse { width: 34px; height: 14px; }
.dl__title { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); color: var(--ink); }
.dl__text { color: var(--text-2); line-height: 1.65; }
.dl__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.dl__form { margin: 0; }
.dl__form .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.dl__meta { font-size: .92rem; color: var(--muted); }
.dl__count { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tint-50); color: var(--tint-700); font-size: .9rem; font-weight: 600; }
.dl__count[hidden], .dl__note[hidden] { display: none; }
.dl__count strong { font-weight: 800; }
.dl__note { margin-top: 4px; font-size: .92rem; color: var(--brand-700); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .dl { flex-direction: column; } }
@media print { .dl__form, .dl__count, .dl__note { display: none; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; display: grid; gap: 10px; }
.faq__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 8px; }
.faq__item { border-radius: 18px; background: var(--surface-strong); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 62px 16px 20px; position: relative;
  font-family: var(--font-display); font-weight: 750; font-size: 1.05rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  /* Plus/Minus als gezeichnete Linien: immer exakt mittig, Kreis bleibt rund */
  content: ""; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; flex: none; box-sizing: border-box; border-radius: 50%;
  background-color: var(--tint-50); color: var(--tint-700);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: center;
  background-size: 12px 2px, 2px 12px;
  transition: background-color .25s ease, color .25s ease, background-size .25s ease, rotate .25s ease;
}
.faq__item[open] summary::after { background-color: var(--brand-600); color: #fff; background-size: 12px 2px, 2px 0; rotate: 180deg; }
.faq__item.is-closing summary::after { background-color: var(--tint-50); color: var(--tint-700); background-size: 12px 2px, 2px 12px; rotate: 0deg; }
@media (prefers-reduced-motion: reduce) { .faq__item summary::after { transition: none; } }
.faq__answer { padding: 0 20px 18px; color: var(--text-2); line-height: 1.7; }
.faq__item { overflow: hidden; }

/* ---------- Autor ---------- */
.author {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; padding: 22px;
  border-radius: 22px; background: var(--surface-strong); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.author__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: var(--shadow); }
.author__body { display: grid; gap: 4px; min-width: 0; }
.author__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tint-700); }
.author__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.author__job { color: var(--muted); font-size: 14px; }
.author__bio { margin-top: 6px; color: var(--text-2); }
.author__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 14px; }
.author__links a { color: var(--tint-700); font-weight: 600; }
.author__links a:hover { text-decoration: underline; }
@media (max-width: 520px) { .author { flex-direction: column; } }


/* ---------- Kästen aus dem Editor (Merkkasten, Tipp, Wichtig) ---------- */
.prose .jc-box { position: relative; padding: 18px 24px 18px 24px; border-radius: 18px; border-left: 4px solid; }
.prose .jc-box > :first-child { margin-top: 0; }
.prose .jc-box > * + * { margin-top: .7em; }
.prose .jc-box::before { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.prose .jc-box--note { background: #e8f1fd; border-color: var(--blue); color: var(--text); }
.prose .jc-box--note::before { content: "Merke"; color: var(--tint-700); }
.prose .jc-box--tip { background: #fff5e9; border-color: var(--brand); color: var(--text); }
.prose .jc-box--tip::before { content: "Tipp"; color: var(--brand-700); }
.prose .jc-box--important { background: var(--navy); border-color: var(--brand); color: #eef4fd; }
.prose .jc-box--important::before { content: "Wichtig"; color: #ff9a6b; }
.prose .jc-box--important a, .prose .jc-box--important strong { color: #fff; }

/* ---------- Kleine Animationen (abgeschaltet bei „Bewegung reduzieren“) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Pulslinie „läuft“ wie auf einem Herzmonitor */
  .eyebrow__pulse path, .keypoints__pulse path, .footer__pulse path {
    stroke-dasharray: 190; stroke-dashoffset: 190; animation: pulse-run 3.2s ease-in-out infinite;
  }
  .footer__pulse path { animation-duration: 4.4s; }
  @keyframes pulse-run { 0% { stroke-dashoffset: 190; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -190; } }
  /* Logo im Kreis schlägt ganz sanft im Takt (60 bpm) */
  .dial img { animation: beat 1s ease-out infinite; transform-origin: 50% 45%; }
  @keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.025); } 30% { transform: scale(1); } }
  /* Angepinnt-Label: kleiner Wackler beim Überfahren */
  .pinned:hover .pinned__badge .icon { animation: wiggle .6s ease-in-out; }
  @keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(10deg); } }
  /* Bestell-Button: sanfter Lichtschimmer beim Überfahren */
  .btn--primary { position: relative; overflow: hidden; }
  .btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
  .btn--primary:hover::after { transform: translateX(120%); }
}

/* ---------- Kontaktformular ---------- */
.contact-form { display: grid; gap: 12px; min-width: 0; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: minmax(0, 1fr); } }
.contact-form__field { display: grid; gap: 6px; min-width: 0; font-size: .92rem; font-weight: 600; }
.contact-form__field small { font-weight: 400; opacity: .8; }
.contact-form__field abbr { text-decoration: none; color: var(--brand); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; font: inherit; font-weight: 400; font-size: 1rem;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 125, 225, .25); }
.contact-form [aria-invalid="true"] { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(237, 73, 19, .2); }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.contact-form__foot .btn[disabled] { opacity: .6; cursor: wait; }
.contact-form__note { flex: 1 1 260px; font-size: .82rem; line-height: 1.5; opacity: .85; }
.contact-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form__status { padding: 10px 14px; border-radius: 12px; font-size: .95rem; font-weight: 600; }
.contact-form__status[hidden] { display: none; }
.contact-form__status.is-ok { background: #e7f6ee; color: #1d7a46; }
.contact-form__status.is-error { background: #fff1e8; color: var(--brand-700); }
/* im dunklen Footer */
.footer__contact { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 56px); margin-bottom: clamp(32px, 5vw, 52px); padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .footer__contact { grid-template-columns: minmax(0, 1fr); } }
.footer__contact-title { color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: 8px; }
.footer__contact-intro p { color: rgba(255, 255, 255, .78); line-height: 1.6; }
.footer__contact .contact-form input, .footer__contact .contact-form textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.footer__contact .contact-form input:focus, .footer__contact .contact-form textarea:focus { background: rgba(255, 255, 255, .12); border-color: #7fb2f5; }
.footer__contact .contact-form__note a { color: #fff; }
.footer__contact .contact-form__status.is-ok { background: rgba(46, 160, 98, .2); color: #b9f0cf; }
.footer__contact .contact-form__status.is-error { background: rgba(237, 73, 19, .2); color: #ffc4ab; }
.contact-page .contact-form { max-width: 760px; position: relative; z-index: 1; }
