

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

html { scroll-behavior: smooth; }

html:has(:focus-visible) { scroll-behavior: auto; }

html:not(.js) { scroll-behavior: auto; }

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-normal);
  background: var(--color-background);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-gutter);
}

.wrap--narrow { max-width: 780px; }
.wrap--wide   { max-width: 1400px; }

section { padding: var(--space-8) 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
}

h1       { font-weight: var(--font-weight-regular);  }
h2       { font-weight: var(--font-weight-medium);   }
h3, h4   { font-weight: var(--font-weight-semibold); }
h5       { font-weight: var(--font-weight-semibold); }

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

.text-gradient {
  background: linear-gradient(
    110deg,
    var(--gradient-headline-start) 0%,
    var(--gradient-headline-end)   100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  font-style: normal;
}

h1 .text-gradient {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: inherit;
}

p { line-height: var(--line-height-normal); }

a {
  color: var(--color-accent-readable);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover { color: var(--color-primary-dark); }

html { scroll-padding-top: calc(16px + var(--nav-height) + var(--space-3)); }

@media (max-width: 1199px) {
  html { scroll-padding-top: calc(12px + 64px + var(--space-3)); }
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-accent-readable);
  margin-bottom: var(--space-3);
}

.section-label--light {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 17px;
  padding: 14px 26px;
  border-radius: var(--btn-radius);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
  line-height: 1;
}

.btn-accent {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 0;
}

.btn-accent--on-dark {
  background: var(--global-blue-300);
  color: var(--global-blue-900);
  border: 0;
}
.btn-accent--on-dark:hover {
  background: var(--global-blue-050);
  color: var(--global-blue-900);
}

.btn-accent:hover {
  background: var(--btn-primary-hover);
  color: var(--btn-primary-text);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-on-primary);
  border: 1.5px solid rgba(255,255,255,.3);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: var(--color-text-on-primary);
  border-color: rgba(255,255,255,.5);
}

.btn-ghost--on-light {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid rgba(63,68,89,.3);
}

.btn-ghost--on-light:hover {
  background: rgba(63,68,89,.06);
  border-color: rgba(63,68,89,.5);
  color: var(--color-primary);
}

.btn-cta-amber,
.btn-cta-slate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 17px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  line-height: 1;
}

.btn-arrow {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.btn-cta-amber:hover .btn-arrow,
.btn-cta-slate:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-cta-amber {
  background: linear-gradient(105deg, rgba(160,104,32,.12) 0%, rgba(200,132,42,.18) 100%);
  color: var(--global-amber-800);
  border: 1px solid rgba(160,104,32,.25);
}

.btn-cta-amber:hover {
  background: linear-gradient(105deg, rgba(160,104,32,.20) 0%, rgba(200,132,42,.28) 100%);
  color: var(--global-amber-800);
  box-shadow: 0 4px 16px rgba(160,104,32,.18);
  transform: translateY(-1px);
}

.btn-cta-slate {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

.btn-cta-slate:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-cta-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: var(--font-weight-semibold);
  font-size: 17px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  line-height: 1;
}

.btn-cta-signal:hover {
  background: var(--btn-primary-hover);

  color: var(--btn-primary-text);
  transform: translateY(-1px);

  box-shadow: var(--shadow-md);
}

.btn-cta-signal .btn-arrow { transition: transform .2s ease; }
.btn-cta-signal:hover .btn-arrow { transform: translateX(3px); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border-strong);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0 0;
  background: transparent;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--nav-height);
  padding: 12px 16px;
  background: var(--nav-bg);
  border-radius: 10px;
  box-shadow: var(--nav-shadow);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled .wrap {
  box-shadow: var(--nav-shadow-scrolled);
}

.site-header .wrap > .nav-brand-group {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
}

.site-nav a {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
  color: var(--nav-text);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  transition: color .15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--nav-text-active);
}

.site-nav > li > a {
  border-bottom: 2px solid transparent;
}

.site-nav > li > a.active,
.site-nav > li > a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.site-nav .nav-sub-list a {
  border-left: 3px solid transparent;
}

.site-nav .nav-sub-list a.active,
.site-nav .nav-sub-list a[aria-current="page"] {
  border-left-color: currentColor;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-nav > li > a.active:hover,
.site-nav > li > a[aria-current="page"]:hover {
  text-decoration: none;
}

.nav-has-sub {
  position: relative;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: calc(var(--space-3) * -1);
  z-index: 120;
  padding-top: 14px;
}

.nav-has-sub.is-open > .nav-sub { display: block; }

html:not(.nav-js) .nav-has-sub:hover > .nav-sub,
html:not(.nav-js) .nav-has-sub:focus-within > .nav-sub { display: block; }

.nav-sub-panel {
  min-width: 208px;
  background: var(--nav-bg);
  border: 1px solid var(--nav-divider);
  border-radius: 10px;
  box-shadow: var(--nav-shadow-scrolled);
  padding: var(--space-3) 0 var(--space-2);
}

.nav-sub-label {
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--nav-text);
  padding: 0 var(--space-3) var(--space-2);
}

.nav-sub-list { list-style: none; }

.site-nav .nav-sub-list a {
  display: block;
  padding: 8px var(--space-3);
}

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 15px 16px;
  border-radius: 8px;
  background: var(--nav-cta-bg);
  color: var(--nav-cta-text);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  text-decoration: none;
  transition: background .15s;
}

.header-cta:hover {
  background: #93C4F8;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 4px 4px 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text-active);
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-divider);
  margin: 8px 16px 0;
  border-radius: 10px;
  box-shadow: var(--nav-shadow);

  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
  list-style: none;
  padding: var(--space-3) var(--grid-gutter);
}

.mobile-nav li a {
  display: block;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 17px;
  font-weight: var(--font-weight-medium);

  padding: var(--space-2-5) 0 var(--space-2-5) var(--space-2-5);
  border-bottom: 1px solid var(--nav-divider);
}

.mobile-nav li a:hover,
.mobile-nav li a.active { color: var(--nav-text-active); }

.mobile-nav li a {
  border-left: 3px solid transparent;
}

.mobile-nav li a.active,
.mobile-nav li a[aria-current="page"] {
  border-left-color: currentColor;
}

.mobile-nav li:last-child a { border-bottom: 0; }

.mobile-nav-group {
  border-bottom: 1px solid var(--nav-divider);
}

.mobile-nav .mobile-nav-group a {
  border-bottom: 0;
}

.mobile-nav .mobile-nav-panel a:not(.active):not([aria-current="page"]),
.mobile-nav .mobile-nav-group.is-open > .mobile-nav-row > a:not(.active):not([aria-current="page"]),
.mobile-nav .mobile-nav-group:not(.ist-steuerbar) > .mobile-nav-row > a:not(.active):not([aria-current="page"]) {
  border-left-color: var(--nav-rail);
}

.mobile-nav-row {
  display: flex;
}

.mobile-nav-row > a {
  flex: 1;
  min-width: 0;
}

.mobile-nav-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--nav-text);
  cursor: pointer;
}

.mobile-nav-toggle[hidden] { display: none; }

@media (hover: hover) {
  .mobile-nav-toggle:hover { color: var(--nav-text-active); }
}

.mobile-nav-chevron {
  display: block;
  width: var(--space-3);
  height: var(--space-3);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.mobile-nav-group.is-open .mobile-nav-chevron { transform: rotate(180deg); }

.mobile-nav-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.mobile-nav .mobile-nav-panel > ul {
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.mobile-nav-group.ist-steuerbar > .mobile-nav-panel {
  transition: grid-template-rows .22s ease, visibility 0s linear 0s;
}

.mobile-nav-group.ist-steuerbar:not(.is-open) > .mobile-nav-panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .22s ease, visibility 0s linear .22s;
}

.mobile-nav .mobile-nav-panel a {
  padding: var(--space-2-5) 0 var(--space-2-5) calc(var(--space-2-5) + var(--space-3));
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-snug);
}

.mobile-nav .mobile-nav-panel a:focus-visible {
  outline-offset: calc(var(--space-1) * -1);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-chevron,
  .mobile-nav-group.ist-steuerbar > .mobile-nav-panel,
  .mobile-nav-group.ist-steuerbar:not(.is-open) > .mobile-nav-panel {
    transition: none;
  }
}
.mobile-nav .mobile-cta { margin: var(--space-3) 0 var(--space-4); padding: 0 var(--grid-gutter) var(--space-3); }
.mobile-nav .mobile-cta .btn,
.mobile-nav .mobile-cta .header-cta { width: 100%; justify-content: center; }

.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: var(--space-9) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(160,104,32,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.hero-content {  }

.hero-tag {
  display: inline-block;
  background: rgba(63,68,89,.06);
  color: var(--color-primary);
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(63,68,89,.15);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-size: var(--font-size-hero);

  font-weight: var(--font-weight-display);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-headline);
  color: var(--hero-text);
  max-width: 16ch;
  margin-bottom: var(--space-4);
}

.hero-lead {
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  color: var(--global-neutral-600);
  max-width: 56ch;
  margin-bottom: 0;
}

.hero-meta {
  margin-top: var(--space-5);
  font-size: var(--font-size-meta);
  color: var(--global-neutral-400);
  letter-spacing: var(--letter-spacing-wide);
}

.hero-img-slot {
  border-radius: var(--img-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--global-cream-200);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-text-secondary);
  font-size: var(--font-size-body-sm);
  text-align: center;
  padding: var(--space-5);
  position: relative;
}

.hero-img-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242,238,216,.6) 0%, transparent 50%);
  pointer-events: none;
}

.hero-img-slot-icon {
  font-size: 48px;
  line-height: 1;
  opacity: .35;
}

.hero-img-slot-label {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-caption);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: .7;
  position: relative;
}

.hero-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter-tint);
}

.facts-strip {
  padding: var(--space-7) 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.fact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: var(--space-4) var(--space-4) var(--space-3);
  box-shadow: var(--card-shadow);
  transition: box-shadow .2s, transform .2s;
}

.fact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.fact-number {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: var(--letter-spacing-tight);
}

.fact-card h4 {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  margin: var(--space-2) 0 var(--space-2);
  color: var(--color-text-primary);
}

.fact-card p {
  font-size: var(--font-size-caption);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.problems {
  background: var(--color-background);
  padding: var(--space-8) 0;
}

.section-header {
  max-width: 64ch;
  margin-bottom: var(--space-6);
}

.section-header h2 {
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: var(--font-size-body-lg);
  color: var(--color-text-secondary);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}

.problem-card:hover { box-shadow: var(--shadow-md); }

.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--color-background);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-border);
}

.problem-card h3 {
  font-size: 20px;
  margin-bottom: var(--space-2);
}

.problem-card p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-body-sm);
}

.problem-card .card-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent-readable);
  text-decoration: none;
}

.problem-card .card-link:hover { text-decoration: underline; }

.questions {
  background: var(--questions-bg);
  padding: var(--space-8) 0;
}

.questions-inner {

  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.questions h2 {
  color: var(--questions-text);
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.questions .section-label--light {
  color: var(--questions-label-color);
  margin-bottom: var(--space-3);
}

.questions-lead {
  font-size: var(--font-size-body-lg);
  color: var(--questions-lead-text);
  margin-bottom: var(--space-6);
  max-width: 60ch;
}

.q-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.q-item {
  background: var(--global-white);
  border: 1px solid var(--questions-card-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-4) var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.q-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.q-item:nth-child(1) { border-top: 3px solid var(--global-coral-400); }
.q-item:nth-child(2) { border-top: 3px solid var(--global-amber-600); }
.q-item:nth-child(3) { border-top: 3px solid var(--global-coral-500); }
.q-item:nth-child(4) { border-top: 3px solid var(--global-amber-700); }
.q-item:nth-child(5) { border-top: 3px solid var(--global-coral-400); }
.q-item:nth-child(6) { border-top: 3px solid var(--global-amber-600); }

.q-num {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: 28px;
  color: var(--global-cream-300);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.q-item p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-3);
}

.q-badge {
  display: inline-block;
  background: var(--questions-badge-bg);
  color: var(--questions-badge-text);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.context-teaser {
  background: var(--color-surface);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
}

.context-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.context-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.context-stat {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}

.context-stat .stat-num {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: 32px;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: var(--letter-spacing-tight);
}

.context-stat p {
  font-size: var(--font-size-caption);
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
  line-height: 1.4;
}

.context-visual {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.context-visual .big-stat {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--color-primary);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1;
}

.context-visual p {
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.context-source {
  font-size: 12px;

  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

.cta-band {
  background: var(--cta-band-bg);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border-warm);
  border-bottom: 1px solid var(--color-border-warm);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cta-band .section-label--light {
  color: var(--cta-band-label);
}

.cta-band h2 {
  color: var(--cta-band-text);
  max-width: 20ch;
}

.cta-band p {
  color: var(--cta-band-text-sub);
  font-size: var(--font-size-body-lg);
  max-width: 50ch;
  margin-top: var(--space-2);
}

.cta-band-actions { flex-shrink: 0; }

.cta-band .newsletter-form input[type="email"] {
  background: rgba(255,255,255,.75);
  border-color: var(--color-border-warm);
  color: var(--global-slate-700);
}

.cta-band .newsletter-form input[type="email"]::placeholder {
  color: var(--global-neutral-400);
}

.cta-band .newsletter-form input[type="email"]:focus {
  border-color: var(--global-coral-500);
  box-shadow: 0 0 0 3px rgba(200,90,60,.12);
}

.cta-band .newsletter-form button {
  background: var(--newsletter-btn-bg);
  color: var(--newsletter-btn-text);
}

.cta-band .newsletter-form button:hover {
  background: var(--newsletter-btn-hover);
}

.cta-disclaimer {
  font-size: 13px;
  color: var(--global-neutral-400);
  margin-top: var(--space-2);
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-8) 0 0;
  position: relative;
}

.footer-overlay {
  position: relative;
}

.footer-overlay > .wrap { position: relative; z-index: 1; }

.footer-main {
  display: grid;

  grid-template-columns: 1fr auto auto;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.footer-newsletter-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-neutral {
  display: inline-block;
  font-size: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: .05em;
  margin-left: auto;
}

.footer-col h4 {
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-bold);
  color: var(--footer-label);
  margin-bottom: 10px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: var(--footer-address);
  text-decoration: none;
  font-size: var(--font-size-body-sm);
  transition: color .15s;
}

.footer-col ul li a:hover { color: var(--footer-link); }

.footer-newsletter-heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
  width: 100%;
  max-width: 353px;
  text-align: left;
}

.footer-newsletter-sub {
  font-size: var(--font-size-body-sm);
  color: var(--footer-text-sub);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-normal);
  width: 100%;
  max-width: 353px;
  text-align: left;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 353px;
}

.newsletter-form input[type="email"] {
  font-family: var(--font-body);
  font-size: var(--font-size-body-sm);
  background: var(--newsletter-input-bg);
  border: 1px solid var(--newsletter-input-border);
  color: #fff;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}

.newsletter-form input[type="email"]::placeholder { color: var(--footer-placeholder); }
.newsletter-form input[type="email"]:focus { border-color: rgba(255,255,255,.5); }

.newsletter-form button {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-body-sm);
  background: var(--newsletter-btn-bg);
  color: var(--newsletter-btn-text);
  border: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  box-sizing: border-box;
}

.newsletter-form button:hover { background: var(--newsletter-btn-hover); }

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: var(--space-5) 0;

  border-top: 1px solid var(--footer-border);
}

.footer-logo-img {

  height: auto;
  width: auto;
  max-height: 34px;
  max-width: 100%;
  display: block;
}

.footer-contact-cols {
  display: flex;
  align-items: center;
  gap: 48px;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: var(--font-size-body-sm);
  color: #fff;
}

.footer-contact-value {
  font-size: var(--font-size-body-sm);
  color: var(--footer-address);
}

.footer-contact-block > * { align-self: start; }

a.footer-contact-value:hover { color: var(--footer-link); }

.social-bar {
  display: flex;
  gap: var(--space-2);
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .15s;
}

.social-link:hover { background: rgba(255,255,255,.2); }

.social-link svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-bottom {
  padding: var(--space-3) 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);

  max-width: 100%;
  min-width: 0;
}

.footer-bottom-brand .site-logo {
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  list-style: none;
  font-size: 13px;
  color: var(--footer-text-bottom);
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom-links a:hover { color: #fff; }

.page-hero {
  background: var(--hero-bg);

  color: var(--color-text-primary);
  padding: var(--space-7) 0 var(--space-6);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(160,104,32,.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .wrap { position: relative; }

.page-hero h1 {
  color: var(--color-text-primary);
  max-width: 22ch;

  font-weight: var(--font-weight-display);
  line-height: var(--line-height-snug);
}

.page-hero .page-hero-lead {
  color: var(--global-neutral-600);
  font-size: var(--font-size-body-lg);
  max-width: 60ch;
  margin-top: var(--space-3);
}

.breadcrumb {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--font-size-meta);
  color: var(--global-neutral-400);
  margin-bottom: var(--space-3);
  list-style: none;
}

.breadcrumb a { color: var(--color-text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent-readable); }
.breadcrumb li + li::before { content: '/'; margin-right: var(--space-2); }

.img-frame {
  border-radius: var(--img-radius);
  overflow: hidden;
  position: relative;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter-tint);
  display: block;
}

.img-frame--hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(242,238,216,.08);
  pointer-events: none;
}

.img-placeholder {
  border-radius: var(--img-radius);
  border: 1px dashed var(--color-border);

  background: var(--color-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--color-text-secondary);
  text-align: center;
  padding: var(--space-6) var(--space-5);
  font-size: var(--font-size-body-sm);
}

.img-placeholder-label {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-meta);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  opacity: .65;
}

.content-block {
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--color-border);
}

.content-block:last-child { border-bottom: 0; }

.content-block h2 { margin-bottom: var(--space-4); }

.content-block p + p { margin-top: var(--space-3); }

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.highlight-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin: var(--space-5) 0;
}

.highlight-box.warn {
  border-left-color: var(--color-accent-readable);
}

.highlight-box h4 { margin-bottom: var(--space-2); }

.highlight-box p {
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
}

.fact-list {
  list-style: none;
  margin-top: var(--space-4);
}

.fact-list li {
  display: flex;

  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-body-sm);
}

.fact-list li:last-child { border-bottom: 0; }

.fact-list .fact-label {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  flex-shrink: 0;
  width: 160px;
}

.fact-list .fact-value { color: var(--color-text-primary); }

.source-note {
  font-size: 12px;

  color: var(--color-text-secondary);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.stand-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 12px;
  color: rgba(210,213,226,.5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: var(--space-3);
}

[data-placeholder] {
  position: relative;
}

[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  top: -8px;
  right: -8px;
  background: #F97316;
  color: #fff;
  font-size: 10px;
  font-family: monospace;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  font-style: normal;
  line-height: 1.4;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

html.js .reveal:target {
  transform: none;
  transition-property: opacity;
}
html.js .reveal:has(:target) {
  transform: none;
  transition-property: opacity;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-newsletter-col { align-items: flex-start; }
  .footer-newsletter-heading,
  .footer-newsletter-sub,
  .newsletter-form { max-width: none; }

  .footer-contact-row { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .footer-contact-cols { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .footer-neutral { margin-left: 0; }
  .context-inner { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-inner .cta-band-actions { width: 100%; display: flex; justify-content: center; }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero-img-slot { aspect-ratio: 16 / 7; }
}

@media (max-width: 1199px) {
  .site-header { padding: 12px 0 0; }
  .site-header .wrap { padding: 10px 14px; height: auto; min-height: 64px; }
  .site-nav { display: none; }
  .header-cta { display: none; }

  .mobile-nav .mobile-cta .header-cta { display: inline-flex; }
  .hamburger { display: flex; }

  html:not(.js) .hamburger { display: none; }
  html:not(.js) .mobile-nav { display: block; max-height: none; overflow: visible; }
  html:not(.js) .site-header { position: relative; }
}

@media (max-width: 720px) {
  section { padding: var(--space-7) 0; }
  .wrap { padding: 0 20px; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .problems-grid { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .footer-sitemap { grid-template-columns: 1fr; gap: var(--space-4); }

  .content-two-col { grid-template-columns: minmax(0, 1fr); }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .context-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr; }
  .questions-inner { padding: var(--space-5) var(--space-4); }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}

.timeline {
  position: relative;
  padding-left: var(--space-7);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-6);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-7) + 10px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-item--highlight::before {
  background: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent);
  width: 16px;
  height: 16px;
  top: 4px;
  left: calc(-1 * var(--space-7) + 8px);
}

.timeline-date {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-body-sm);
  color: var(--color-accent-readable);
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-2);
}

.timeline-content h3 {
  font-size: var(--font-size-h4);
  margin-bottom: var(--space-2);
}

.timeline-content p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-body-sm);
  max-width: 66ch;
}

.timeline-content p + p {
  margin-top: var(--space-2);
}

.blog-preview {
  background: var(--color-background);
  padding: var(--space-8) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.blog-date {
  font-size: var(--font-size-meta);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

.blog-tag {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  color: var(--color-accent-readable);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
}

.blog-card h3 {
  font-size: 20px;
  line-height: var(--line-height-snug);
}

.blog-card h3 a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--color-accent-readable);
}

.blog-card p {
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.blog-hero {
  background: var(--hero-bg);
  padding: var(--space-8) 0 var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(172,211,251,.35) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.blog-hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--color-accent-readable);
  letter-spacing: .02em;
  margin-bottom: var(--space-3);
}

.blog-hero-title {
  font-family: var(--font-display);

  font-weight: var(--font-weight-display);

  font-size: var(--font-size-hero);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--global-blue-900);
  margin-bottom: var(--space-4);
}

.blog-hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--global-gray);
  max-width: 486px;
  margin: 0 auto;
}

.blog-hero-cta {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.blog-article-container {
  padding: var(--space-7) 0 var(--space-8);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 74px;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  padding: 6px 16px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  background: var(--global-fill);
  color: var(--global-gray);
  transition: background .15s, color .15s;
}

.filter-pill:hover {
  background: #E9E9E9;
}

.filter-pill.is-active {
  background: var(--global-blue-900);
  color: #FFFFFF;
}

.filter-pill.is-active:hover {
  background: var(--global-blue-900);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: opacity .25s ease, transform .25s ease;
}

.blog-card.is-hidden {
  display: none;
}

.blog-card-image {
  display: block;
  aspect-ratio: 384 / 254;
  border-radius: 16px;
  margin-bottom: 20px;
  background: #EFEFEF;
  position: relative;
  overflow: hidden;
}

.blog-card-image[data-kategorie="verfahren"] {
  background: linear-gradient(135deg, var(--tag-verfahren-bg) 0%, #DCEBFC 100%);
}
.blog-card-image[data-kategorie="umwelt"] {
  background: linear-gradient(135deg, var(--tag-umwelt-bg) 0%, #C3E8D3 100%);
}
.blog-card-image[data-kategorie="termine"] {
  background: linear-gradient(135deg, var(--tag-termine-bg) 0%, #F3D9AE 100%);
}
.blog-card-image[data-kategorie="allgemein"] {
  background: linear-gradient(135deg, var(--tag-allgemein-bg) 0%, #E6E6E6 100%);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--tag-allgemein-bg);
  color: var(--tag-allgemein-text);
}

.card-tag[data-kategorie="verfahren"] {
  background: var(--tag-verfahren-bg);
  color: var(--tag-verfahren-text);
}
.card-tag[data-kategorie="umwelt"] {
  background: var(--tag-umwelt-bg);
  color: var(--tag-umwelt-text);
}
.card-tag[data-kategorie="termine"] {
  background: var(--tag-termine-bg);
  color: var(--tag-termine-text);
}
.card-tag[data-kategorie="allgemein"] {
  background: var(--tag-allgemein-bg);
  color: var(--tag-allgemein-text);
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 28px;
  line-height: 1.3;
  color: var(--global-blue-900);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover { text-decoration: underline; }

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--global-gray);
  margin-bottom: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-published {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.published-label {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--global-gray);
}

.published-date {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--global-blue-900);
}

.blog-empty-filter {
  text-align: center;
  color: var(--color-text-secondary);
  padding: var(--space-6) 0;
}

.article-single .article-body h2 {
  font-size: var(--font-size-h3);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.article-single .article-body p {
  font-size: var(--font-size-body-lg);
  color: var(--color-text-secondary);
  max-width: 70ch;
  margin-top: var(--space-3);
}

.article-single .article-body p:first-child {
  margin-top: 0;
}

.article-header {
  padding: var(--space-7) 0 var(--space-6);
}

.article-header-grid {
  display: grid;
  grid-template-columns: 1fr 485px;
  gap: var(--space-6);
  align-items: start;
  margin-top: var(--space-5);
}

.article-header-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: var(--space-4);
}

.article-header-title {
  font-family: var(--font-display);

  font-weight: var(--font-weight-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--global-blue-900);
  max-width: 687px;
}

.article-header-image {
  aspect-ratio: 485 / 330;
  border-radius: 16px;
  background: #EFEFEF;
}

.article-header-image[data-kategorie="verfahren"] {
  background: linear-gradient(135deg, var(--tag-verfahren-bg) 0%, #DCEBFC 100%);
}
.article-header-image[data-kategorie="umwelt"] {
  background: linear-gradient(135deg, var(--tag-umwelt-bg) 0%, #C3E8D3 100%);
}
.article-header-image[data-kategorie="termine"] {
  background: linear-gradient(135deg, var(--tag-termine-bg) 0%, #F3D9AE 100%);
}
.article-header-image[data-kategorie="allgemein"] {
  background: linear-gradient(135deg, var(--tag-allgemein-bg) 0%, #E6E6E6 100%);
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) 92px;
  margin-top: var(--space-6);
}

.article-meta-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-meta-avatar {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--global-fill);
  flex-shrink: 0;
}

.article-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-meta-label {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--global-gray);
}

.article-meta-value {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--global-blue-900);
}

.article-columns-block {
  padding: var(--space-6) 0 var(--space-7);
}

.article-columns {
  display: grid;
  grid-template-columns: 283px 1fr;
  gap: 121px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--nav-height, 81px) + var(--space-4));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.toc-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  color: var(--global-blue-900);
}

.toc-header svg { color: var(--global-blue-900); }

.toc-list {
  list-style: none;
  margin: 0;
  background: var(--global-fill);
  border-radius: 10px;
  border-top: 1.5px solid var(--global-blue-900);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toc-item {
  position: relative;
  padding-left: 12px;
}

.toc-item a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--global-gray);
  text-decoration: none;
}

.toc-item--sub { padding-left: 24px; }

.toc-item.is-active a {
  font-weight: var(--font-weight-medium);
  color: var(--global-blue-900);
}

.toc-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--global-blue-900);
}

.touch-box {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 20px;
}

.touch-box h4 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 28px;
  color: var(--global-blue-900);
  margin-bottom: var(--space-2);
}

.touch-box p {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 16px;
  color: #A6A6A6;
  margin-bottom: var(--space-4);
}

.touch-box-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.touch-box-input,
.touch-box-cta {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
}

.touch-box-input {
  background: #FFFFFF;
  color: var(--global-gray);
}

.touch-box-cta {
  justify-content: space-between;
  background: var(--global-blue-900);
  color: #FFFFFF;
  text-decoration: none;
  transition: background .15s;
}

.touch-box-cta:hover { background: var(--global-blue-700); }

.article-content { min-width: 0; }

.article-body h2 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 28px;
  line-height: 1.3;
  color: var(--global-blue-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 28px;
  line-height: 1.3;
  color: var(--global-blue-900);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.article-body p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--global-gray);
  margin-top: var(--space-3);
}

.article-body p:first-child { margin-top: 0; }

.article-body ul,
.article-body ol {
  margin-top: var(--space-3);
  padding-left: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--global-gray);
}

.article-body strong { color: var(--global-blue-900); font-weight: var(--font-weight-medium); }

.article-body blockquote {
  margin: var(--space-5) 0;
  padding-left: 36px;
  border-left: 6px solid var(--global-blue-900);
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 22px;
  line-height: 1.3;
  color: var(--global-blue-900);
}

.article-body blockquote p { color: inherit; font-size: inherit; margin-top: 0; }

.article-body img {
  width: 100%;
  border-radius: 16px;
  margin: var(--space-5) 0;
}

.article-body a { color: var(--global-blue-700); }

.related-block { padding-top: var(--space-6); }

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.related-title {
  font-family: var(--font-display);

  font-weight: var(--font-weight-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--global-blue-900);
}

select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
  font-family: inherit;
  font-size: var(--font-size-body-sm);
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: calc(var(--space-3) + var(--space-4));
  cursor: pointer;
}

.mitmach-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--font-size-body-sm);
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(63,68,89,.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-position: right 14px center;
  padding-right: 36px;
}

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-2);
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-check label {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
  font-size: var(--font-size-body-sm);
  cursor: pointer;
  line-height: var(--line-height-normal);
}

.form-optional {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
  font-size: var(--font-size-meta);
}

.form-required {
  color: var(--color-accent-readable);
}

.form-microcopy {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin-top: var(--space-2);
}

.form-success {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
}

.form-success p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-body-sm);
}

@media (max-width: 720px) {
  .timeline { padding-left: var(--space-5); }

  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .blog-card-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-pills { margin-bottom: var(--space-6); }

  .article-header-grid { grid-template-columns: 1fr; }
  .article-header-image { order: -1; aspect-ratio: 16/10; }
  .article-header-title { font-size: 44px; max-width: none; }

  .article-columns { grid-template-columns: 1fr; gap: var(--space-6); }
  .article-sidebar { position: static; }
  .related-title { font-size: 40px; }
}

@media (max-width: 620px) {
  .blog-card-grid { grid-template-columns: 1fr; }
  .blog-card-title { font-size: 24px; }

  .article-header-title { font-size: 32px; }
  .article-header-meta { gap: var(--space-3); }
  .related-header { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .timeline::before { left: 12px; }
  .timeline-item::before { left: calc(-1 * var(--space-5) + 6px); }
  .timeline-item--highlight::before { left: calc(-1 * var(--space-5) + 4px); }
}

.entry {
  padding: 0 0 var(--space-6);
  background: var(--color-background);
  overflow: visible;
}

.entry-media {
  width: 100%;
  margin-bottom: var(--space-6);
}

.entry-media-img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--color-background);
  border-radius: 0 0 16px 16px;
}

.entry-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 379px;
  gap: var(--space-7);
  align-items: start;
}

.entry-headline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;

  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  overflow-wrap: break-word;
  font-family: var(--font-display);

  font-weight: var(--font-weight-display);
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-wrap: pretty;
}

.entry-headline-dark {
  color: #0B3866;
  text-transform: none;
}

.entry-headline-gradient {
  display: inline-block;
  background-image: var(--gradient-rust);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  padding-top: 0.12em;
  padding-bottom: 0.06em;
}

.entry-card {
  width: 100%;
  background: transparent;
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entry-card-text {
  color: #0B3866;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
}

.entry-card-text p { margin-bottom: 10px; }
.entry-card-text p:last-child { margin-bottom: 0; }
.entry-card-text strong { font-weight: 700; }

.entry-card-actions {
  display: flex;
  width: 100%;
}

.entry-btn {
  width: 100%;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 14px 15px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  line-height: 1.4;
  transition: background .18s, transform .15s;
}

.entry-btn .btn-arrow { transition: transform .2s ease; }
.entry-btn:hover .btn-arrow { transform: translateX(3px); }

.entry-btn-primary {
  background: #0B3866;
  color: #fff;
}

.entry-btn-primary:hover {
  background: #092c50;

  color: var(--btn-primary-text);
}

@media (max-width: 1024px) {
  .entry {
    padding: 0 0 var(--space-5);
  }

  .entry-media {
    margin-bottom: var(--space-5);
  }

  .entry-body {

    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .entry-headline {
    max-width: 620px;
  }

  .entry-card {
    margin-top: 0;
    padding-top: 0;
  }

  .entry-card-text {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .entry-headline {

    font-size: 36px;
    letter-spacing: -0.01em;
    gap: 8px;
  }

  .entry-card { padding-top: 0; gap: 16px; }
  .entry-card-text { font-size: 16px; }

  .entry-btn { height: 50px; padding: 13px 16px; font-size: 16px; }
}

.gate-section,
.error-section {
  padding: var(--space-8) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.gate-wrap,
.error-wrap {
  display: flex;
  justify-content: center;
}

.gate-block,
.error-block {
  width: 100%;
  max-width: 581px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.gate-title,
.error-title {
  font-family: var(--font-display);

  font-weight: var(--font-weight-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.28px;
  color: var(--color-primary-dark);
  max-width: 633px;
}

.gate-desc,
.error-desc {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 18px;
  line-height: 1.4;
  color: var(--global-gray);
  max-width: 581px;
}

.gate-error {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--global-gray);
  background: var(--color-tint-fragen);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  max-width: 581px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.gate-label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gate-input {
  width: 100%;
  max-width: 353px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-primary);
}

.gate-input::placeholder { color: var(--global-neutral-400); }

.gate-input:focus {
  outline: none;
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(11, 56, 102, .12);
}

.gate-btn {
  width: 275px;
  max-width: 100%;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 14px 15px 16px;
  border-radius: 8px;
  border: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  line-height: 1.4;
  cursor: pointer;
  transition: background .18s, transform .15s;
}

.gate-btn:hover { background: var(--btn-primary-hover); }
.gate-btn .btn-arrow { transition: transform .2s ease; }
.gate-btn:hover .btn-arrow { transform: translateX(3px); }

.gate-hint {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.error-code {
  font-family: var(--font-display);

  font-weight: var(--font-weight-display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--global-tint-rose);

  hyphens: auto;
  overflow-wrap: break-word;
}

.error-btn { margin-top: var(--space-2); }

@media (max-width: 1024px) {
  .gate-title,
  .error-title { font-size: var(--font-size-h1); }

  .gate-block,
  .error-block { max-width: 100%; padding: 0 var(--space-3); }
}

@media (max-width: 560px) {
  .gate-title,
  .error-title { font-size: 36px; letter-spacing: -0.01em; }

  .gate-desc,
  .error-desc { font-size: 16px; }

  .gate-input,
  .gate-btn { width: 100%; max-width: 100%; }

  .error-code { font-size: clamp(40px, 14vw, 64px); }
}

.legal-content {
  max-width: 760px;
}

.legal-content a { overflow-wrap: anywhere; }
.legal-content h2 {
  font-size: var(--font-size-h3);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.legal-content > h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: var(--font-size-h4);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.legal-content p { margin-bottom: var(--space-3); }
.legal-content ul {
  margin: 0 0 var(--space-3) 0;
  padding-left: var(--space-4);
  list-style: disc;
}
.legal-content li { margin-bottom: var(--space-2); }
.legal-content .legal-meta {
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.legal-content ul.legal-name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2) var(--space-4);
  list-style: none;
  padding-left: 0;
}
.legal-content .legal-name-grid li { margin-bottom: 0; }
@media (max-width: 720px) {
  .legal-content ul.legal-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .legal-content ul.legal-name-grid { grid-template-columns: minmax(0, 1fr); }
}

.legal-placeholder {
  display: inline-block;
  background: var(--color-border-warm);
  color: var(--color-text-primary);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.95em;
  font-weight: var(--font-weight-medium);
}

.footer-nl-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 353px;
}
.footer-nl-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #fff;
  cursor: pointer;
}
.footer-nl-consent label {
  font-size: var(--font-size-meta);
  line-height: var(--line-height-normal);
  color: rgba(255,255,255,.82);
  cursor: pointer;
}
.footer-nl-consent a {
  color: #fff;
  text-decoration: underline;
}
.footer-nl-consent a:hover { color: rgba(255,255,255,.85); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.termin-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.termin-card {
  display: flex;
  gap: var(--space-4);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: var(--space-4);
}

.termin-datum {
  flex: 0 0 92px;
  align-self: flex-start;
  text-align: center;
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--global-fill);
}

.termin-datum-tag {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-tight);
  color: var(--global-blue-900);
}

.termin-datum-monat {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--font-size-caption);
  color: var(--global-gray);
}

.termin-body {
  flex: 1;
  min-width: 0;
}

.termin-card .card-tag[data-kategorie="gemeinderats-sitzung"] {
  background: var(--tag-verfahren-bg);
  color: var(--tag-verfahren-text);
}
.termin-card .card-tag[data-kategorie="buergerdialog"] {
  background: var(--tag-termine-bg);
  color: var(--tag-termine-text);
}
.termin-card .card-tag[data-kategorie="demonstration"] {
  background: #FAE0D0;
  color: #A63A2C;
}
.termin-card .card-tag[data-kategorie="rechtliches"] {
  background: var(--tag-umwelt-bg);
  color: var(--tag-umwelt-text);
}
.termin-card .card-tag[data-kategorie="sonstiges"] {
  background: var(--tag-allgemein-bg);
  color: var(--tag-allgemein-text);
}

.termin-list > li.is-hidden { display: none; }

.termin-trenner {
  margin: var(--space-5) 0 calc(-1 * var(--space-2));
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.termin-trenner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-h4);
  color: var(--global-gray);
}

.termin-list > li[data-vergangen="1"] .termin-card {
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

.termin-list > li[data-vergangen="1"] .termin-card:hover,
.termin-list > li[data-vergangen="1"] .termin-card:focus-within {
  opacity: 1;
}

.termin-list > li:target .termin-card {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 var(--space-1) var(--global-blue-300), var(--shadow-md);
}

.termin-list > li[data-vergangen="1"]:target .termin-card {
  opacity: 1;
}

.termine-container { padding-top: 0; }
.termine-container .filter-pills { margin-bottom: var(--space-6); }

.termin-titel {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-snug);
  color: var(--global-blue-900);
  margin: var(--space-2) 0;
}

.termin-beschreibung {
  font-size: var(--font-size-body-sm);
  line-height: var(--line-height-normal);
  color: var(--global-gray);
  margin-bottom: var(--space-3);
  white-space: pre-line;
}

.termin-meta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  margin: 0;
  padding: var(--space-2) 0 0;
  border-top: 1px solid var(--color-border);
}

.termin-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  font-size: var(--font-size-body-sm);
}

.termin-speichern {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-4);
}

.termin-speichern-hinweis {
  margin: 0;
  font-size: var(--font-size-body-sm);
  color: var(--global-gray);
}

.termin-speichern .termin-aktion-btn {
  align-self: stretch;
  justify-content: center;
}

.termin-meta-label {
  color: var(--global-gray);
  margin-right: var(--space-1);
}

.termin-meta-wert {
  color: var(--global-blue-900);
}

.termin-link-inline {
  font-weight: var(--font-weight-medium);
}

.termin-quellen {
  margin: var(--space-4) 0 var(--space-3);
  font-size: var(--font-size-body-sm);
}

.termin-link-extern {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.termin-link-extern svg { flex-shrink: 0; }

.termin-aktionen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: var(--space-2);
  margin: calc(var(--space-2) + 5px) 0 0;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--tag-umwelt-bg);
  color: var(--tag-umwelt-text);
}

.termin-aktionen-hinweis {
  margin: 0;
  font-size: var(--font-size-body-sm);
  color: inherit;

  flex: 1 1 100%;
}

.termin-aktionen .termin-aktion-btn {
  flex: 1;
  justify-content: center;
  color: inherit;
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.55);

  align-self: stretch;
}

.termin-aktionen .termin-aktion-btn:hover,
.termin-aktionen .termin-aktion-btn:focus-visible {
  background: #FFFFFF;
}

.termin-aktion-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-accent-readable);
  font-family: inherit;
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  text-decoration: none;
  cursor: pointer;
}

.termin-aktion-btn:hover,
.termin-aktion-btn:focus-visible {
  background: var(--global-fill);
}

.termin-aktion-btn[hidden] { display: none; }

.termin-aktion-btn svg { flex-shrink: 0; }

.termin-ort-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.termin-ort-link svg { flex-shrink: 0; }

@media (max-width: 560px) {
  .termin-card {
    flex-direction: column;
    gap: var(--space-3);
  }

  .termin-meta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .termin-speichern {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-2);
  }

  .termin-datum {
    flex-basis: auto;
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    width: fit-content;
    text-align: left;
    padding: var(--space-1) var(--space-3);
  }

  .termin-datum-monat { margin-top: 0; }
}

@media (min-width: 1334px) {
  .hero h1,
  .blog-hero-title { font-weight: var(--font-weight-display-xl); }
}

.bildblock {
  margin: 0;
}

.bildblock img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.bildblock figcaption {
  margin-top: var(--space-2);
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
}

.bildblock img,
.pe-media-img,
.gv-teaser-img {
  mix-blend-mode: multiply;
  border-radius: 0;
}

.aw-media-img,
.wa-qr-img {
  mix-blend-mode: normal;
}

.page-hero-media-figure {
  margin: 0;
  width: var(--page-hero-media-width);
}

.page-hero-media-figure .page-hero-media-img {
  width: 100%;
}

.page-hero-media-figure figcaption,
.bildblock figcaption {
  margin-top: var(--space-2);
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 720px) {
  .page-hero-media-figure { width: 100%; }
}

.bildherkunft {
  margin-top: var(--space-2);
  font-size: var(--font-size-body-sm);
  color: var(--color-text-secondary);
}

.bildherkunft--rechts {
  text-align: right;
}

.entry-media {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
}

.pe-media-figure {
  margin: 0;
}

a.quellen-verweis {
  color: var(--color-accent-readable);
  text-decoration: underline dotted;
  text-decoration-color: color-mix(in srgb, var(--color-accent-readable) 55%, transparent);
  text-underline-offset: 3px;
}
a.quellen-verweis:hover,
a.quellen-verweis:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.quellen-verweis--hell {
  color: var(--section-dark-label);
  text-decoration: underline dotted;
  text-decoration-color: color-mix(in srgb, var(--section-dark-label) 55%, transparent);
  text-underline-offset: 3px;
}
a.quellen-verweis--hell:hover,
a.quellen-verweis--hell:focus-visible {
  color: var(--global-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
