/* ==========================================================================
   Hallo-Gesundheit.de | Redesign "Fresh Glass"
   Glas-Karten, weiche Neumorph-Chips, Aurora-Hintergrund, Parallax.
   Alle Pfade relativ zu dieser Datei. Fonts lokal (DSGVO).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eef6f1;
  --bg-2: #e3f0e9;
  --ink: #0f2f2b;
  --ink-2: #33504b;
  --muted: #56706a;
  --teal: #2a7f86;
  --teal-d: #1b5c63;
  --green: #4cae3b;
  --green-d: #2d7a26;
  --ginger: #f0ac2f;
  --ginger-soft: #fde7b3;
  --white: #fff;

  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 10px 40px -12px rgba(18, 74, 72, 0.28), 0 2px 6px rgba(18, 74, 72, 0.06);
  --blur: blur(18px) saturate(165%);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 14px;
  --r-m: 22px;
  --r-l: 34px;
  --gutter: 20px;
  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--teal-d);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--ink);
}
p,
li {
  text-wrap: pretty;
}
p {
  margin: 0 0 1.1em;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--ginger-soft);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Aurora-Hintergrund (Parallax) ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
  will-change: transform;
}
.aurora i:nth-child(1) {
  width: 52vmax;
  height: 52vmax;
  left: -14vmax;
  top: -12vmax;
  background: radial-gradient(circle at 30% 30%, rgba(76, 174, 59, 0.55), rgba(76, 174, 59, 0) 68%);
}
.aurora i:nth-child(2) {
  width: 46vmax;
  height: 46vmax;
  right: -14vmax;
  top: 8vmax;
  background: radial-gradient(circle at 60% 40%, rgba(42, 127, 134, 0.5), rgba(42, 127, 134, 0) 68%);
}
.aurora i:nth-child(3) {
  width: 40vmax;
  height: 40vmax;
  left: 22vmax;
  bottom: -18vmax;
  background: radial-gradient(circle, rgba(240, 172, 47, 0.42), rgba(240, 172, 47, 0) 68%);
}

/* ---------- Glas ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: var(--r-m);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--glass-strong);
  }
}
/* Spotlight, das dem Mauszeiger folgt */
[data-spot] {
  position: relative;
  isolation: isolate;
}
[data-spot]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: -1;
}
[data-spot]:hover::after {
  opacity: 1;
}

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(15, 47, 43, 0.55);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--teal-d);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(27, 92, 99, 0.6);
}
.btn--ghost {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-color: var(--glass-border);
  color: var(--ink);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--glass-strong);
  transform: translateY(-2px);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 40px;
  padding: 0.4em 1em;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(145deg, #f7fcf9, #e1efe8);
  box-shadow: 5px 5px 12px rgba(52, 110, 98, 0.16), -5px -5px 12px rgba(255, 255, 255, 0.95);
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), color 0.25s, transform 0.25s var(--ease);
}
.chip:hover,
.chip:focus-visible {
  color: var(--teal-d);
  transform: translateY(-1px);
}
.chip[aria-pressed="true"],
.chip[aria-current="true"] {
  background: linear-gradient(145deg, #dcece4, #eaf6f0);
  box-shadow: inset 4px 4px 9px rgba(52, 110, 98, 0.22), inset -4px -4px 9px rgba(255, 255, 255, 0.9);
  color: var(--teal-d);
}
.chip small {
  font-weight: 500;
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.35em 0.95em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-d);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(76, 174, 59, 0.2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0 0;
}
.nav {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 8px 12px 8px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav__logo img {
  width: 42px;
  height: 42px;
}
.nav__logo span {
  white-space: nowrap;
}
.nav__logo span em {
  font-style: normal;
  color: var(--green-d);
}
.nav__menu {
  display: none;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.8);
  color: var(--teal-d);
}
.nav__drop {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 250px;
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  border-radius: var(--r-m);
}
.nav__item:hover > .nav__drop,
.nav__item:focus-within > .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__drop a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__drop a:hover,
.nav__drop a:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-d);
}
.icon-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(145deg, #f7fcf9, #e1efe8);
  box-shadow: 4px 4px 10px rgba(52, 110, 98, 0.18), -4px -4px 10px rgba(255, 255, 255, 0.95);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-1px);
}
.icon-btn:active {
  box-shadow: inset 3px 3px 8px rgba(52, 110, 98, 0.22), inset -3px -3px 8px rgba(255, 255, 255, 0.9);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger {
  flex-direction: column;
  gap: 4px;
  align-content: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: calc(var(--header-h) + 36px) var(--gutter) 32px;
  background: rgba(238, 246, 241, 0.86);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 520px;
}
.drawer > ul > li > a {
  display: block;
  padding: 14px 4px;
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.drawer ul ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 12px;
}
.drawer ul ul a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}

/* Such-Overlay */
.search {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 12vh var(--gutter) 24px;
  background: rgba(15, 47, 43, 0.38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.search.is-open {
  opacity: 1;
  visibility: visible;
}
.search__box {
  width: min(680px, 100%);
  padding: 18px;
  max-height: 76vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--glass-strong);
}
.search__field {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: #eaf4ef;
  box-shadow: inset 4px 4px 10px rgba(52, 110, 98, 0.2), inset -4px -4px 10px rgba(255, 255, 255, 0.95);
}
.search__field:focus-visible {
  outline: 3px solid var(--teal);
}
.search__results {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  display: grid;
  gap: 4px;
}
.search__results a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
}
.search__results a:hover,
.search__results a:focus-visible {
  background: #fff;
}
.search__results strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.05rem;
}
.search__results small {
  color: var(--muted);
}
.search__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 6px;
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 100px);
}
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 7.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--teal) 10%, var(--green) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stat {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  max-width: 150px;
}
.stat b {
  font-family: var(--f-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--teal-d);
}
.stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}
.hero__visual {
  position: relative;
  min-height: 420px;
}
.hero__photo {
  position: absolute;
  inset: 0 6% 0 10%;
  margin: 0;
  border-radius: 46% 46% var(--r-l) var(--r-l) / 34% 34% var(--r-l) var(--r-l);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(15, 47, 43, 0.55);
  border: 6px solid rgba(255, 255, 255, 0.7);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}
.float-card {
  position: absolute;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  max-width: 270px;
  will-change: transform;
  transition: box-shadow 0.3s;
}
.float-card:hover,
.float-card:focus-visible {
  box-shadow: 0 22px 50px -14px rgba(18, 74, 72, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.float-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex: none;
}
.float-card small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-d);
}
.float-card b {
  display: block;
  font-family: var(--f-display);
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 600;
}
.float-card--a {
  left: 0;
  bottom: 8%;
}
.float-card--b {
  right: 0;
  top: 8%;
}
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.orb--1 {
  width: 120px;
  height: 120px;
  right: 2%;
  bottom: 18%;
  background: radial-gradient(circle at 30% 30%, #fff6d9, var(--ginger) 70%);
  box-shadow: 0 20px 40px -12px rgba(240, 172, 47, 0.6);
  opacity: 0.92;
}
.orb--2 {
  width: 64px;
  height: 64px;
  left: 4%;
  top: 14%;
  background: radial-gradient(circle at 30% 30%, #e6f7d8, var(--green) 75%);
  box-shadow: 0 14px 30px -10px rgba(76, 174, 59, 0.6);
}

/* ---------- Sektionen ---------- */
.section {
  padding: clamp(44px, 7vw, 96px) 0;
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 32px;
}
.section__head h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  margin: 10px 0 0;
  letter-spacing: -0.025em;
}
.section__head p {
  margin: 0;
  max-width: 30em;
  color: var(--muted);
}

/* Themen-Kacheln */
.topics {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.topic {
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border-radius: var(--r-m);
  isolation: isolate;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.topic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.topic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 40, 38, 0) 20%, rgba(8, 40, 38, 0.78) 100%);
}
.topic:hover,
.topic:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -18px rgba(18, 74, 72, 0.5);
}
.topic:hover img {
  transform: scale(1.07);
}
.topic__inner {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.topic b {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.topic small {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.92;
}

/* Beitrags-Karten */
.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -22px rgba(18, 74, 72, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--r-m) - 8px);
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.06);
}
.card__cat {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--green-d);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 12px 12px;
}
.card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.card__title {
  font-size: 1.28rem;
  margin: 0 0 10px;
  line-height: 1.2;
}
.card__title a {
  color: var(--ink);
  text-decoration: none;
}
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.card {
  position: relative;
}
.card__title a:hover {
  color: var(--teal-d);
}
.card__text {
  color: var(--ink-2);
  font-size: 0.94rem;
  margin: 0 0 16px;
}
.card__more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-d);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__more svg {
  width: 1em;
  height: 1em;
  transition: transform 0.3s var(--ease);
}
.card:hover .card__more svg {
  transform: translateX(5px);
}
.card--feature .card__title {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
}
.card[hidden] {
  display: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.empty {
  padding: 36px;
  text-align: center;
}

/* Spotlight-Band mit Parallax-Hintergrund */
.spot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-l);
  min-height: 460px;
  display: grid;
  align-items: center;
  isolation: isolate;
}
.spot__bg {
  position: absolute;
  inset: -14% 0;
  z-index: -2;
}
.spot__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 40, 38, 0.75) 0%, rgba(8, 40, 38, 0.1) 70%);
}
.spot__card {
  margin: clamp(18px, 4vw, 48px);
  padding: clamp(22px, 3.6vw, 40px);
  max-width: 540px;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.spot__card h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
}
.spot__card p {
  color: rgba(255, 255, 255, 0.92);
}
.spot__card .eyebrow {
  background: rgba(255, 255, 255, 0.85);
}

/* Autor:innen */
.authors {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.author {
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}
.author:hover,
.author:focus-visible {
  transform: translateY(-4px);
}
.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(140deg, var(--teal), var(--green));
  box-shadow: 0 8px 18px -6px rgba(42, 127, 134, 0.6);
}
.avatar--s {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}
.author b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.2rem;
}
.author small {
  color: var(--muted);
}

/* ---------- Seiten-Hero (Beitrag, Kategorie, Seite) ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.55;
}
.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.crumbs a:hover {
  color: var(--teal-d);
  text-decoration: underline;
}
.page-hero {
  padding: clamp(26px, 5vw, 64px) 0 clamp(20px, 3vw, 36px);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  letter-spacing: -0.028em;
  margin: 14px 0 14px;
  max-width: 20em;
}
.page-hero__lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 38em;
}
.subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Beitrag */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  z-index: 160;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--green), var(--teal), var(--ginger));
}
.post-hero {
  padding: clamp(22px, 4vw, 56px) 0 0;
}
.post-hero__head {
  max-width: 880px;
}
.post-hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.7rem);
  letter-spacing: -0.028em;
  margin: 8px 0 20px;
}
.post-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.post-meta a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.post-meta .avatar {
  display: grid;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-cover {
  position: relative;
  margin: 28px 0 0;
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  width: 100%;
  box-shadow: 0 40px 70px -34px rgba(15, 47, 43, 0.6);
  border: 6px solid rgba(255, 255, 255, 0.7);
  background: var(--bg-2);
}
.post-cover img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}
.article {
  position: relative;
  z-index: 2;
  margin: -64px auto 0;
  width: min(800px, 100% - 2 * var(--gutter));
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--r-l);
  background: var(--glass-strong);
}
.article--plain {
  margin-top: 0;
}
.prose {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #1b3834;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  margin: 1.7em 0 0.55em;
}
.prose h3 {
  font-size: 1.3rem;
  margin: 1.5em 0 0.5em;
}
.prose h4 {
  font-size: 1.1rem;
  margin: 1.3em 0 0.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.3em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose li::marker {
  color: var(--green-d);
  font-weight: 700;
}
.prose img {
  width: 100%;
  border-radius: var(--r-m);
  margin: 1.6em 0;
  box-shadow: 0 24px 40px -24px rgba(15, 47, 43, 0.5);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
}
.prose a {
  font-weight: 600;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
}
.prose a:hover {
  color: var(--green-d);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 47, 43, 0.12);
  text-align: left;
  vertical-align: top;
}
.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r-m);
}
.prose--first > p:first-of-type {
  font-size: 1.22rem;
  color: var(--ink);
}
.article__foot {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(15, 47, 43, 0.1);
  display: grid;
  gap: 22px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.authorbox {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
}
.authorbox small {
  display: block;
  color: var(--muted);
}
.pn {
  display: grid;
  gap: 14px;
  width: min(800px, 100% - 2 * var(--gutter));
  margin: 22px auto 0;
}
.pn a {
  display: block;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}
.pn a:hover,
.pn a:focus-visible {
  transform: translateY(-3px);
}
.pn small {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-d);
  margin-bottom: 4px;
}
.pn b {
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.25;
  display: block;
}
.pn__next {
  text-align: right;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 110px);
  padding: 0 0 24px;
}
.footer {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-l);
  color: #d8ece5;
  background: linear-gradient(140deg, rgba(10, 43, 41, 0.94), rgba(20, 78, 80, 0.92));
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 40px 80px -30px rgba(10, 43, 41, 0.7);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 174, 59, 0.45), transparent 68%);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
}
.footer h2,
.footer h3 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd88f;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer .footer__sub {
  margin-top: 22px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.footer a {
  color: #d8ece5;
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
}
.footer a:hover,
.footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.footer__brand {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer__brand img {
  width: 46px;
  height: 46px;
}
.footer address {
  font-style: normal;
  line-height: 1.7;
}
.footer__bottom {
  position: relative;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #a8cbc1;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.notfound {
  text-align: center;
  padding: clamp(48px, 10vw, 140px) 0;
}
.notfound b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 14rem);
  line-height: 0.9;
  background: linear-gradient(120deg, var(--teal), var(--green) 55%, var(--ginger));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Breakpoints (mobile first) ---------- */
@media (max-width: 420px) {
  .nav__logo {
    font-size: 1rem;
  }
  .nav__logo img {
    width: 36px;
    height: 36px;
  }
  .nav {
    padding-left: 12px;
    gap: 8px;
  }
}
@media (min-width: 600px) {
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .authors {
    grid-template-columns: repeat(2, 1fr);
  }
  .pn {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }
  .nav__menu {
    display: block;
  }
  .nav__burger {
    display: none;
  }
  .nav__logo {
    margin-right: 12px;
  }
  .nav__menu {
    margin-right: auto;
  }
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 40px;
  }
  .hero__visual {
    min-height: 600px;
  }
  .topics {
    grid-template-columns: repeat(6, 1fr);
  }
  .topic:nth-child(1),
  .topic:nth-child(2) {
    grid-column: span 3;
    min-height: 260px;
  }
  .topic:nth-child(n + 3) {
    grid-column: span 2;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--feature .card--feature {
    grid-column: span 2;
    grid-row: span 2;
  }
  .cards--feature .card--feature .card__media {
    aspect-ratio: 16 / 11;
  }
  .authors {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}
@media (hover: none) {
  [data-spot]::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .site-header,
  .site-footer,
  .aurora,
  .progress,
  .to-top {
    display: none;
  }
  .glass {
    box-shadow: none;
    background: #fff;
  }
}

/* ===== v2: Soft-Neumorph, Glow und Tiefenebenen ===================================
   Dieser Layer überschreibt das Look-and-Feel: erhabene/eingedrückte Flächen,
   leuchtende Zustände, mehrstufiger Parallax. Gleiche Tokens, gleiche Struktur. */
:root {
  --bg: #e5eee9;
  --surface: #e8f1ec;
  --nm-hi: rgba(255, 255, 255, 0.95);
  --nm-lo: rgba(120, 156, 142, 0.5);
  --nm-out: 10px 10px 24px var(--nm-lo), -10px -10px 24px var(--nm-hi);
  --nm-out-s: 5px 5px 12px var(--nm-lo), -5px -5px 12px var(--nm-hi);
  --nm-in: inset 6px 6px 14px var(--nm-lo), inset -6px -6px 14px var(--nm-hi);
  --nm-in-s: inset 3px 3px 7px var(--nm-lo), inset -3px -3px 7px var(--nm-hi);
  --surf-grad: linear-gradient(145deg, #f2f8f5, #dfeae4);
  --gc: 76, 174, 59;
  --gt: 42, 184, 170;
  --glow: 0 0 0 1px rgba(var(--gc), 0.5), 0 0 18px rgba(var(--gc), 0.6), 0 0 48px rgba(var(--gt), 0.4);
  --grad-glow: linear-gradient(135deg, #52c05f 0%, #2ab8aa 100%);
}
body {
  background: linear-gradient(180deg, #e9f2ed 0%, #e0ebe5 100%);
}

/* ---------- Tiefenebenen (fern / mittel / nah) ---------- */
.depth {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.depth__far,
.depth__mid,
.depth__near {
  position: absolute;
  inset: 0;
}
.depth__far > *,
.depth__mid > *,
.depth__near > * {
  position: absolute;
  left: var(--x);
  top: var(--y);
  will-change: transform;
}
.blob {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c), 0.4), rgba(var(--c), 0) 66%);
}
.m-ring {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  border: 2px solid rgba(var(--gc), 0.3);
  box-shadow: 0 0 44px rgba(var(--gc), 0.3), inset 0 0 44px rgba(var(--gt), 0.18);
}
.m-ring::after {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--gt), 0.4);
}
.m-leaf {
  width: var(--s);
  height: var(--s);
  fill: rgba(var(--gc), 0.4);
  filter: drop-shadow(0 0 16px rgba(var(--gc), 0.55));
  rotate: -18deg;
}
.m-leaf .vein {
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.4;
  fill: none;
}
.m-dots {
  width: var(--s);
  height: var(--s);
  background-image: radial-gradient(circle, rgba(var(--gt), 0.6) 2px, transparent 2.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 72%);
  mask-image: radial-gradient(circle, #000 28%, transparent 72%);
}
.m-orb {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--nm-out), 0 0 60px rgba(var(--gc), 0.32);
  opacity: 0.82;
}
.m-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15);
}
.m-slice {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff7dc, #f0ac2f 72%);
  box-shadow: 0 0 46px rgba(240, 172, 47, 0.7), 0 18px 34px -10px rgba(240, 172, 47, 0.6);
}
.n {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(var(--c), 0.6) 52%, rgba(var(--c), 0) 74%);
  box-shadow: 0 0 20px rgba(var(--c), 0.7);
}
.depth__far>*:nth-child(1){--x:-16%;--y:-140px;--s:640px;--c:76,174,59}
.depth__far>*:nth-child(2){--x:58%;--y:1160px;--s:720px;--c:42,184,170}
.depth__far>*:nth-child(3){--x:-10%;--y:2460px;--s:600px;--c:240,172,47}
.depth__far>*:nth-child(4){--x:64%;--y:3760px;--s:760px;--c:42,184,170}
.depth__far>*:nth-child(5){--x:-14%;--y:5060px;--s:660px;--c:76,174,59}
.depth__far>*:nth-child(6){--x:52%;--y:6360px;--s:700px;--c:76,174,59}
.depth__far>*:nth-child(7){--x:-8%;--y:7660px;--s:620px;--c:42,184,170}
.depth__far>*:nth-child(8){--x:60%;--y:8960px;--s:740px;--c:240,172,47}
.depth__mid>*:nth-child(1){--x:72%;--y:300px;--s:380px}
.depth__mid>*:nth-child(2){--x:4%;--y:1280px;--s:120px}
.depth__mid>*:nth-child(3){--x:84%;--y:1980px;--s:230px}
.depth__mid>*:nth-child(4){--x:10%;--y:2960px;--s:190px}
.depth__mid>*:nth-child(5){--x:62%;--y:3660px;--s:300px}
.depth__mid>*:nth-child(6){--x:88%;--y:4640px;--s:100px}
.depth__mid>*:nth-child(7){--x:6%;--y:5340px;--s:130px}
.depth__mid>*:nth-child(8){--x:70%;--y:6320px;--s:220px}
.depth__mid>*:nth-child(9){--x:16%;--y:7020px;--s:200px}
.depth__mid>*:nth-child(10){--x:80%;--y:8000px;--s:340px}
.depth__mid>*:nth-child(11){--x:2%;--y:8700px;--s:110px}
.depth__mid>*:nth-child(12){--x:58%;--y:9680px;--s:210px}
.depth__near>*:nth-child(1){--x:12%;--y:120px;--s:16px;--c:76,174,59}
.depth__near>*:nth-child(2){--x:84%;--y:730px;--s:10px;--c:42,184,170}
.depth__near>*:nth-child(3){--x:46%;--y:1340px;--s:22px;--c:240,172,47}
.depth__near>*:nth-child(4){--x:70%;--y:1950px;--s:14px;--c:42,184,170}
.depth__near>*:nth-child(5){--x:22%;--y:2560px;--s:26px;--c:76,174,59}
.depth__near>*:nth-child(6){--x:92%;--y:3170px;--s:12px;--c:76,174,59}
.depth__near>*:nth-child(7){--x:6%;--y:3780px;--s:18px;--c:42,184,170}
.depth__near>*:nth-child(8){--x:60%;--y:4390px;--s:10px;--c:240,172,47}
.depth__near>*:nth-child(9){--x:34%;--y:5000px;--s:24px;--c:42,184,170}
.depth__near>*:nth-child(10){--x:78%;--y:5610px;--s:14px;--c:76,174,59}
.depth__near>*:nth-child(11){--x:16%;--y:6220px;--s:20px;--c:76,174,59}
.depth__near>*:nth-child(12){--x:88%;--y:6830px;--s:12px;--c:42,184,170}
.depth__near>*:nth-child(13){--x:52%;--y:7440px;--s:28px;--c:240,172,47}
.depth__near>*:nth-child(14){--x:26%;--y:8050px;--s:16px;--c:42,184,170}
.depth__near>*:nth-child(15){--x:68%;--y:8660px;--s:10px;--c:76,174,59}
.depth__near>*:nth-child(16){--x:40%;--y:9270px;--s:22px;--c:76,174,59}

/* ---------- Erhabene Flächen (Neumorph) ---------- */
.card,
.stat,
.author,
.authorbox,
.pn a,
.empty,
.post-meta,
.search__box,
.article,
.nav.glass {
  background: var(--surf-grad);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--nm-out);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav.glass {
  background: rgba(236, 244, 240, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.glass.float-card,
.spot__card,
.nav__drop {
  box-shadow: var(--glass-shadow), 0 0 34px rgba(var(--gt), 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card {
  padding: 12px;
}
.card__media {
  box-shadow: var(--nm-in-s);
  outline: 4px solid #e4eee9;
  outline-offset: -4px;
}
.card:hover,
.card:focus-within {
  box-shadow: var(--nm-out), 0 24px 44px -20px rgba(var(--gc), 0.6);
}
.card::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-glow);
  box-shadow: 0 0 18px rgba(var(--gc), 0.85);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.card:hover::before,
.card:focus-within::before {
  opacity: 1;
  transform: none;
}
.stat {
  box-shadow: var(--nm-in);
  background: linear-gradient(145deg, #e0ebe5, #ebf4ef);
}
.stat b {
  color: #178a75;
  text-shadow: 0 0 18px rgba(var(--gc), 0.55);
}
.post-meta {
  box-shadow: var(--nm-out-s);
}
.article {
  background: linear-gradient(160deg, #f4faf7, #e6efea);
}
.authorbox,
.author {
  box-shadow: var(--nm-out-s);
}
.author:hover,
.author:focus-visible {
  box-shadow: var(--nm-out), 0 0 30px rgba(var(--gc), 0.35);
}
.pn a {
  box-shadow: var(--nm-out-s);
}
.pn a:hover,
.pn a:focus-visible {
  box-shadow: var(--nm-out), 0 0 28px rgba(var(--gc), 0.3);
}
.post-cover {
  border: 0;
  box-shadow: 0 0 0 10px #e8f1ec, 16px 16px 34px var(--nm-lo), -12px -12px 28px var(--nm-hi), 0 0 70px rgba(var(--gt), 0.28);
}
.avatar {
  background: var(--grad-glow);
  color: #05302b;
  box-shadow: 0 0 20px rgba(var(--gc), 0.6);
}

/* ---------- Buttons mit Glow ---------- */
.btn--primary {
  background: var(--grad-glow);
  color: #04302a;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 30px -8px rgba(var(--gt), 0.75), 0 0 26px rgba(var(--gc), 0.45);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, #63cf6e 0%, #35c9ba 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 38px -8px rgba(var(--gt), 0.9), 0 0 0 4px rgba(var(--gt), 0.18), 0 0 44px rgba(var(--gc), 0.75);
}
.btn--primary:active {
  transform: translateY(0);
  filter: saturate(1.1) brightness(0.96);
}
.btn--ghost {
  background: var(--surf-grad);
  border: 0;
  box-shadow: var(--nm-out-s);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--surf-grad);
  box-shadow: var(--nm-out-s), 0 0 26px rgba(var(--gt), 0.4);
}
.btn--ghost:active {
  box-shadow: var(--nm-in-s);
  transform: none;
}
.chip,
.icon-btn {
  background: var(--surf-grad);
  box-shadow: var(--nm-out-s);
}
.chip:hover,
.chip:focus-visible,
.icon-btn:hover,
.icon-btn:focus-visible {
  box-shadow: var(--nm-out-s), 0 0 22px rgba(var(--gt), 0.4);
}
.chip[aria-pressed="true"],
.chip[aria-current="true"] {
  background: linear-gradient(145deg, #dbe8e1, #ebf4ef);
  box-shadow: var(--nm-in-s);
  color: var(--teal-d);
}
.chip[aria-pressed="true"]::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-glow);
  box-shadow: 0 0 12px rgba(var(--gc), 0.9);
}
.icon-btn:active {
  box-shadow: var(--nm-in-s);
}
.eyebrow {
  background: var(--surf-grad);
  border: 0;
  box-shadow: var(--nm-out-s);
}
.eyebrow:has(.step)::before {
  display: none;
}
.eyebrow:has(.step) {
  padding-left: 6px;
}
.step {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-glow);
  color: #04302a;
  font-size: 0.72rem;
  letter-spacing: 0;
  box-shadow: 0 0 16px rgba(var(--gc), 0.7);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  background: transparent;
  box-shadow: var(--nm-in-s);
}
.nav__link[aria-current="page"] {
  position: relative;
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 16px;
  height: 3px;
  translate: -50% 0;
  border-radius: 3px;
  background: var(--grad-glow);
  box-shadow: 0 0 10px rgba(var(--gc), 0.9);
}
.search__field {
  background: #e1ece6;
  box-shadow: var(--nm-in);
  transition: box-shadow 0.3s;
}
.search__field:focus-visible {
  outline: 0;
  box-shadow: var(--nm-in), 0 0 0 2px rgba(var(--gt), 0.85), 0 0 30px rgba(var(--gt), 0.6);
}
:focus-visible {
  outline-color: rgba(var(--gt), 0.9);
  box-shadow: 0 0 0 4px rgba(var(--gt), 0.2);
}

/* ---------- Schalter, Werkzeugleiste ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 30px;
}
.toolbar .filters {
  margin: 0;
}
.viewswitch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.switch {
  position: relative;
  width: 66px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #dbe7e1;
  box-shadow: var(--nm-in);
  transition: background 0.35s;
}
.switch__thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surf-grad);
  box-shadow: var(--nm-out-s);
  transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.switch[aria-checked="true"] {
  background: linear-gradient(135deg, rgba(var(--gc), 0.3), rgba(var(--gt), 0.3));
}
.switch[aria-checked="true"] .switch__thumb {
  transform: translateX(30px);
  background: var(--grad-glow);
  box-shadow: var(--glow);
}
.cards--list {
  grid-template-columns: 1fr !important;
}
@media (min-width: 700px) {
  .cards--list .card {
    flex-direction: row;
  }
  .cards--list .card__media {
    width: 38%;
    min-height: 210px;
    aspect-ratio: auto;
    flex: none;
  }
  .cards--list .card__body {
    padding: 8px 20px 8px 24px;
    justify-content: center;
  }
}

/* ---------- Hero: Tiefe, Ringe, Chips ---------- */
.hero {
  position: relative;
}
.hero__grid {
  position: relative;
  z-index: 1;
}
.hero__ghost {
  position: absolute;
  left: -1vw;
  top: 4%;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(7rem, 21vw, 21rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(var(--gt), 0.13);
  text-shadow: 0 0 80px rgba(var(--gc), 0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}
.rings {
  position: absolute;
  inset: -8% -10%;
  pointer-events: none;
}
.rings__layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.rings i {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  border: 2px solid rgba(var(--gc), 0.38);
  box-shadow: 0 0 40px rgba(var(--gc), 0.32), inset 0 0 40px rgba(var(--gt), 0.2);
}
.rings i:nth-child(1) {
  width: 92%;
  animation: spin 70s linear infinite;
}
.rings i:nth-child(2) {
  width: 70%;
  border-style: dashed;
  border-color: rgba(var(--gt), 0.5);
  animation: spin 46s linear infinite reverse;
}
.rings i:nth-child(3) {
  width: 118%;
  border-color: rgba(var(--gt), 0.2);
  animation: spin 110s linear infinite;
}
.rings i:nth-child(1)::after,
.rings i:nth-child(2)::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--grad-glow);
  box-shadow: var(--glow);
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.hero__photo {
  border: 0;
  box-shadow: 0 0 0 10px #e8f1ec, 18px 18px 40px var(--nm-lo), -14px -14px 34px var(--nm-hi), 0 0 80px rgba(var(--gt), 0.4);
}
.orb--1 {
  bottom: 6%;
  z-index: 3;
  box-shadow: 0 0 50px rgba(240, 172, 47, 0.8), 0 20px 40px -12px rgba(240, 172, 47, 0.6);
}
.orb--2 {
  z-index: 3;
  box-shadow: 0 0 36px rgba(var(--gc), 0.85), 0 14px 30px -10px rgba(var(--gc), 0.6);
}
.float-card {
  z-index: 3;
}
.chipfloat {
  position: absolute;
  z-index: 4;
  text-decoration: none;
}
.chipfloat span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px 0 12px;
  border-radius: 999px;
  background: var(--surf-grad);
  box-shadow: var(--nm-out-s), 0 0 28px rgba(var(--gc), 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  transition: box-shadow 0.3s;
  will-change: transform;
}
.chipfloat:hover span,
.chipfloat:focus-visible span {
  box-shadow: var(--nm-out-s), 0 0 40px rgba(var(--gc), 0.8);
}
.chipfloat svg {
  width: 24px;
  height: 24px;
  color: var(--green-d);
  filter: drop-shadow(0 0 6px rgba(var(--gc), 0.85));
}
.cf1 {
  left: -2%;
  top: 38%;
}
.cf2 {
  right: -3%;
  top: 50%;
}
.cf3 {
  left: 24%;
  top: 1%;
}

/* ---------- Dock (Icon-Leiste links) ---------- */
.dock {
  position: fixed;
  left: 18px;
  top: 50%;
  translate: 0 -50%;
  z-index: 95;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 32px;
  background: var(--surf-grad);
  box-shadow: var(--nm-out), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.dock__btn {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 17px;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink-2);
  background: var(--surf-grad);
  box-shadow: var(--nm-out-s);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, color 0.3s;
}
.dock__btn svg {
  width: 23px;
  height: 23px;
}
.dock__btn:hover,
.dock__btn:focus-visible {
  color: var(--teal-d);
  transform: translateX(4px);
  box-shadow: var(--nm-out-s), 0 0 24px rgba(var(--gt), 0.45);
}
.dock__btn:active {
  box-shadow: var(--nm-in-s);
}
.dock__btn[aria-current="page"] {
  background: var(--grad-glow);
  color: #04302a;
  box-shadow: var(--glow);
}
.dock__btn::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  translate: -6px -50%;
  padding: 6px 12px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, translate 0.25s var(--ease);
}
.dock__btn:hover::after,
.dock__btn:focus-visible::after {
  opacity: 1;
  translate: 0 -50%;
}
.dock__sep {
  height: 3px;
  margin: 2px 10px;
  border-radius: 3px;
  box-shadow: var(--nm-in-s);
}
@media (min-width: 1360px) {
  .dock {
    display: flex;
  }
}

/* ---------- Lese-Slider (Fortschritt) ---------- */
.progress {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: 22px;
  translate: -50% 0;
  width: min(440px, 56vw);
  height: 16px;
  border-radius: 999px;
  background: #dbe7e1;
  box-shadow: var(--nm-in-s);
  transform: none;
  z-index: 160;
  --p: 0;
}
.progress__fill {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: calc((100% - 6px) * var(--p));
  border-radius: 999px;
  background: var(--grad-glow);
  box-shadow: 0 0 14px rgba(var(--gc), 0.8);
}
.progress__knob {
  position: absolute;
  top: 50%;
  left: calc(3px + (100% - 6px) * var(--p));
  width: 24px;
  height: 24px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--surf-grad);
  box-shadow: var(--nm-out-s), 0 0 18px rgba(var(--gt), 0.8);
}
.progress__knob::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--grad-glow);
}

/* ---------- Details ---------- */
.topic:hover,
.topic:focus-visible {
  box-shadow: 0 26px 50px -18px rgba(18, 74, 72, 0.5), 0 0 40px rgba(var(--gc), 0.4);
}
.spot {
  box-shadow: var(--nm-out), 0 0 70px rgba(var(--gt), 0.25);
}
.footer {
  box-shadow: 0 40px 80px -30px rgba(10, 43, 41, 0.7), 0 0 80px rgba(var(--gt), 0.25);
}
.to-top {
  box-shadow: var(--nm-out-s), 0 0 22px rgba(var(--gt), 0.35);
}
@media (max-width: 899px) {
  .chipfloat span {
    min-height: 42px;
    font-size: 0.85rem;
  }
  .cf1 {
    left: 0;
    top: 30%;
  }
  .cf2 {
    right: 0;
    top: 56%;
  }
  .cf3 {
    left: 30%;
    top: 0;
  }
  .hero__ghost {
    top: 0;
  }
}

/* ===== v2b: Feinschliff ===== */
.hero__ghost {
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 85%);
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 85%);
}
.cards--feature .card--feature .card__media {
  flex: 1;
  aspect-ratio: auto;
  min-height: 300px;
}
.progress {
  height: 14px;
  box-shadow: var(--nm-in-s), 0 0 0 10px #e8f1ec, 10px 10px 26px var(--nm-lo), -8px -8px 20px var(--nm-hi), 0 0 30px rgba(var(--gt), 0.25);
}
@media (max-width: 899px) {
  .hero__visual {
    margin-top: 34px;
  }
  .cf3 {
    display: none;
  }
  .hero__ghost {
    font-size: 6.5rem;
    top: 14px;
  }
  .progress {
    bottom: 26px;
  }
}

.hero {
  overflow-x: clip;
}
html {
  overflow-x: clip;
}

/* ===== v2c: Hero-Blatt mit Herz ===== */
.hero__leaf {
  position: absolute;
  left: -4%;
  width: 108%;
  top: 50%;
  margin: 0;
  translate: 0 -52%;
  isolation: isolate;
  will-change: transform;
}
.hero__leaf img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 30px rgba(22, 92, 52, 0.38)) drop-shadow(0 0 38px rgba(var(--gc), 0.5));
}
.hero__heartglow {
  position: absolute;
  left: 44.9%;
  top: 56%;
  width: 34%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #f3ffd2 0%, #b4f07a 22%, rgba(var(--gt), 0.75) 48%, rgba(var(--gt), 0) 72%);
  filter: blur(6px);
  animation: heartbeat 3.2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { scale: 0.92; opacity: 0.85; }
  14% { scale: 1.14; opacity: 1; }
  28% { scale: 0.98; opacity: 0.9; }
  42% { scale: 1.1; opacity: 1; }
}

/* v2c: Blatt grösser, Karten an den Rand */
@media (min-width: 900px) {
  .hero__leaf {
    left: -14%;
    width: 128%;
  }
  .float-card {
    max-width: 236px;
  }
  .float-card--b {
    right: -9%;
    top: 0;
  }
  .float-card--a {
    left: -9%;
    bottom: -2%;
  }
  .cf1 {
    left: -8%;
    top: 30%;
  }
  .cf2 {
    right: -9%;
    top: 52%;
  }
  .cf3 {
    left: 22%;
    top: -3%;
  }
  .orb--1 {
    right: 4%;
    bottom: 4%;
  }
}

/* ===== v2d: Kugeln -> Blätter und Ingwerknollen ===== */
.m-leaf {
  fill: none;
  opacity: 0.62;
  filter: drop-shadow(0 0 18px rgba(var(--gc), 0.55));
}
.m-ginger {
  width: var(--s);
  height: auto;
  background: none;
  box-shadow: none;
  rotate: -18deg;
  filter: drop-shadow(0 14px 16px rgba(120, 80, 20, 0.3)) drop-shadow(0 0 22px rgba(240, 172, 47, 0.4));
  opacity: 0.9;
}
.m-ginger img {
  width: 100%;
  height: auto;
}
.n {
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: 0.85;
}
.n-leaf {
  width: calc(var(--s) * 3);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 12px rgba(var(--gc), 0.65));
}
.n-ginger {
  width: calc(var(--s) * 4.4);
  filter: drop-shadow(0 8px 10px rgba(120, 80, 20, 0.32)) drop-shadow(0 0 14px rgba(240, 172, 47, 0.45));
}
.depth__near > :nth-child(4n + 1) { rotate: 35deg; }
.depth__near > :nth-child(4n + 2) { rotate: -28deg; }
.depth__near > :nth-child(4n + 3) { rotate: 82deg; }
.depth__near > :nth-child(4n) { rotate: -64deg; }
.orb--1 {
  width: 168px;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  rotate: -14deg;
  z-index: 3;
  filter: drop-shadow(0 22px 20px rgba(120, 80, 20, 0.38)) drop-shadow(0 0 30px rgba(240, 172, 47, 0.6));
}
.orb--1 img {
  width: 100%;
  height: auto;
}
.orb--2 {
  width: 92px;
  height: 92px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  rotate: 24deg;
  z-index: 3;
  filter: drop-shadow(0 14px 14px rgba(22, 92, 52, 0.35)) drop-shadow(0 0 26px rgba(var(--gc), 0.8));
}
.orb--2 svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 899px) {
  .orb--1 {
    width: 118px;
  }
  .orb--2 {
    width: 64px;
    height: 64px;
  }
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
