/* ============================================================
   RegioBoard – zentrale Stylesheet
   Eine Datei, die für alle Seiten gilt. Bei Änderungen am Look
   reicht die Anpassung hier. Mobile-First geschrieben.
   ============================================================ */

:root {
  /* Farbsystem – auf Kontrast geprüft (WCAG AA für Text 4.5:1) */
  --rb-deep: #0d3a5e;            /* tiefes Navyblau */
  --rb-blue: #1a5fa0;             /* mittleres Blau */
  --rb-teal: #1e7a8c;             /* Türkis */
  --rb-teal-strong: #0f6478;      /* dunkles Türkis */
  --rb-sand: #eaf0f4;             /* helles Bläulich-Grau (ersetzt Sand) */
  --rb-ink: #16242b;
  --rb-ink-soft: #445862;
  --rb-line: #d8e0e6;
  --rb-bg: #ffffff;
  --rb-bg-soft: #f3f6f9;          /* sehr helles Bläulich-Grau */
  --rb-accent: #0a6e85;           /* kräftiges Türkis – WCAG AA auf Weiß (5.7:1) */
  --rb-success: #2b7a4a;
  --rb-error: #b54848;

  /* Typo-Skala */
  --rb-fs-base: 16px;
  --rb-lh-base: 1.55;
  --rb-radius: 14px;
  --rb-radius-sm: 8px;
  --rb-shadow: 0 8px 24px rgba(15,40,50,.08), 0 1px 0 rgba(15,40,50,.04);
  --rb-shadow-strong: 0 12px 32px rgba(15,60,75,.12);

  /* Layout */
  --rb-max-width: 1180px;
  --rb-gap: 1.5rem;
}

/* Reset, sehr leicht */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--rb-fs-base);
  line-height: var(--rb-lh-base);
  color: var(--rb-ink);
  background: var(--rb-bg-soft);
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

/* Skip-Link für Tastaturnutzer */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--rb-deep);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--rb-radius-sm) 0;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Sichtbarer Fokusring – wichtig für Tastaturbedienung */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--rb-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Typografie */
h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em 0;
  color: var(--rb-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.125rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }
a { color: var(--rb-teal-strong); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--rb-deep); }

/* Layout-Bausteine */
.container { width: 100%; max-width: var(--rb-max-width); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 1.75rem; } }
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.section.alt { background: var(--rb-sand); }
.section.bg { background: #fff; }
.section.deep { background: var(--rb-deep); color: #dfe7ea; }
.section.deep h1, .section.deep h2, .section.deep h3 { color: #fff; }
.section.deep .lead { color: #b9c8cd; }

.section-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; } }
.section-head h2 { max-width: 38rem; margin: 0; }
.section-head .lead { max-width: 32rem; color: var(--rb-ink-soft); margin: 0; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #eaf2f4; color: var(--rb-teal-strong);
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1rem;
}
.lead { font-size: 1.125rem; color: var(--rb-ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600; font-size: .9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  min-height: 44px;          /* Touch-Target nach WCAG */
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rb-teal-strong); color: #fff; }
.btn-primary:hover { background: var(--rb-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--rb-ink); border-color: var(--rb-line); }
.btn-ghost:hover { border-color: var(--rb-ink-soft); }
.btn-accent { background: var(--rb-accent); color: #fff; }
.btn-accent:hover { background: #074f60; color: #fff; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ============================================================
   Header / Top-Nav
   ============================================================ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rb-line);
}
.topnav-inner {
  display: flex; align-items: center; gap: 1rem;
  height: 64px;
}
@media (min-width: 768px) { .topnav-inner { height: 72px; } }
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; color: var(--rb-deep); font-size: 1.0625rem;
  text-decoration: none;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rb-teal), var(--rb-deep));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .8125rem;
  flex-shrink: 0;
}
.navlinks {
  display: none;
  flex: 1;
  gap: 1.25rem;
  margin-left: 1rem;
}
.navlinks a {
  color: var(--rb-ink); font-size: .9375rem; font-weight: 500;
  text-decoration: none;
  padding: .25rem .25rem;
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--rb-teal-strong); }
.navlinks a[aria-current="page"] { font-weight: 600; }
.nav-actions { display: flex; gap: .5rem; align-items: center; margin-left: auto; }
.nav-actions .btn-ghost { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--rb-ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--rb-ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
@media (min-width: 960px) {
  .navlinks { display: flex; }
  .nav-actions .btn-ghost { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile-Menü Overlay */
.mobile-menu {
  position: fixed; inset: 64px 0 0 0;
  background: #fff;
  padding: 1.5rem 1.25rem 2rem;
  display: none;
  flex-direction: column; gap: 1rem;
  border-top: 1px solid var(--rb-line);
  overflow-y: auto;
  z-index: 49;
}
.mobile-menu[aria-hidden="false"] { display: flex; }
.mobile-menu a {
  font-size: 1.125rem; padding: .75rem 0;
  color: var(--rb-ink); text-decoration: none;
  border-bottom: 1px solid var(--rb-line);
}
.mobile-menu a[aria-current="page"] { color: var(--rb-teal-strong); font-weight: 600; }
.mobile-menu .mobile-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(180deg, #eaf2f6 0%, #ffffff 100%);
  padding: 3rem 0 4rem;
}
@media (min-width: 768px) { .hero { padding: 4.5rem 0 5.5rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--rb-teal-strong); }
.hero .lead { max-width: 34rem; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem;
  border-top: 1px solid var(--rb-line);
  padding-top: 1.25rem;
  color: var(--rb-ink-soft); font-size: .9375rem;
}
.hero-trust strong { color: var(--rb-ink); font-weight: 700; }
.trust-logos { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.trust-logos span {
  font-size: .7rem; font-weight: 700;
  color: var(--rb-ink-soft); letter-spacing: .06em;
  border: 1px solid var(--rb-line); padding: .25rem .5rem;
  border-radius: var(--rb-radius-sm);
  background: #fff;
}

/* Hero-Grafik (Dashboard-Bild) rechts */
.hero-visual {
  border: 1px solid var(--rb-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--rb-shadow);
  background: #fff;
}
@media (min-width: 960px) { .hero-visual { transform: rotate(-.4deg); } }
.hero-visual img { width: 100%; height: auto; display: block; }

/* Stilisiertes Dashboard rechts (Alt-Variante, nicht mehr aktiv genutzt) */
.product-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 18px;
  box-shadow: var(--rb-shadow);
  padding: 1.25rem;
}
@media (min-width: 960px) { .product-frame { transform: rotate(-.4deg); } }
.product-chrome { display: flex; gap: .375rem; margin-bottom: .75rem; }
.product-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #e3e7e9; }
.product-headline { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; gap: .5rem; }
.product-headline h4 { font-size: .9375rem; color: var(--rb-deep); margin: 0; }
.product-region {
  font-size: .75rem; background: #eaf2f4; color: var(--rb-teal-strong);
  padding: .25rem .5rem; border-radius: 6px; font-weight: 600; white-space: nowrap;
}
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .75rem; }
.kpi { background: var(--rb-bg-soft); border-radius: 10px; padding: .65rem; }
.kpi-label { font-size: .65rem; color: var(--rb-ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.kpi-value { font-size: 1rem; font-weight: 700; color: var(--rb-deep); }
.kpi-delta { font-size: .65rem; color: var(--rb-teal-strong); margin-top: .15rem; }
.kpi-delta.neg { color: #1a5fa0; } /* expliziter dunkler Akzent für Kleintext-Kontrast */
.chart-area {
  background: linear-gradient(180deg, #fff 0%, var(--rb-bg-soft) 100%);
  border: 1px solid var(--rb-line); border-radius: 10px;
  height: 150px; padding: .75rem;
  display: flex; align-items: flex-end; gap: .35rem;
}
.bar { flex: 1; background: linear-gradient(180deg, var(--rb-teal) 0%, var(--rb-teal-strong) 100%); border-radius: 4px 4px 0 0; opacity: .85; }
.bar.b1 { height: 36%; } .bar.b2 { height: 48%; } .bar.b3 { height: 42%; } .bar.b4 { height: 58%; }
.bar.b5 { height: 71%; } .bar.b6 { height: 64%; } .bar.b7 { height: 78%; } .bar.b8 { height: 88%; }
.floating-card {
  position: absolute;
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: 12px; box-shadow: var(--rb-shadow);
  padding: .65rem .85rem; font-size: .8125rem;
}
.floating-card .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: .5rem; vertical-align: middle; }
.float-1 { top: -14px; left: -10px; }
.float-1 .dot { background: var(--rb-accent); }
.float-2 { bottom: -16px; right: -8px; }
.float-2 .dot { background: var(--rb-teal); }
@media (min-width: 600px) {
  .float-1 { left: -22px; }
  .float-2 { right: -16px; }
}

/* ============================================================
   Feature-/Karten-Grid (Leistungen, Trust, etc.)
   ============================================================ */
.features { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.feature {
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 1.5rem;
  transition: border-color .15s ease, transform .15s ease;
}
.feature:hover { border-color: var(--rb-teal); transform: translateY(-2px); }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #eaf2f4; color: var(--rb-teal-strong);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  font-size: 1.125rem; font-weight: 700;
}
.feature h3 { margin: 0 0 .5rem 0; color: var(--rb-deep); font-size: 1.0625rem; }
.feature p { color: var(--rb-ink-soft); margin: 0; font-size: .9375rem; }

/* ============================================================
   Preisraster
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
@media (min-width: 600px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .pricing-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.price {
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: .9rem;
  position: relative;
}
@media (min-width: 1180px) {
  .price { padding: 1.5rem 1.1rem; }
}
.price.featured { border: 2px solid var(--rb-blue); box-shadow: var(--rb-shadow-strong); }
.price-tag {
  position: absolute; top: -14px; left: 1.5rem;
  background: var(--rb-teal-strong); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: .3rem .75rem; border-radius: 999px; letter-spacing: .04em;
}
.price-name {
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--rb-ink-soft);
}
.price-headline { font-size: 1.125rem; color: var(--rb-deep); margin: 0; line-height: 1.25; }
@media (min-width: 1180px) {
  .price-headline { font-size: 1.0625rem; }
}
.price-amount { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price-amount strong { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; color: var(--rb-deep); }
.price-amount span { color: var(--rb-ink-soft); font-size: .8125rem; }
.price ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.price li {
  font-size: .875rem; color: var(--rb-ink); line-height: 1.4;
  display: flex; align-items: flex-start; gap: .65rem;
  position: relative; padding-left: 1rem;
}
.price li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--rb-teal-strong);
}
.price-foot { color: var(--rb-ink-soft); font-size: .8125rem; }

/* ============================================================
   Testimonials / Logos
   ============================================================ */
.testimonial-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 960px) { .testimonial-row { grid-template-columns: 1.2fr .8fr; gap: 2rem; } }
.testimonial { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 1.75rem; }
.testimonial blockquote { margin: 0 0 1.25rem 0; font-size: 1.125rem; line-height: 1.5; color: var(--rb-ink); }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.who-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rb-teal), var(--rb-deep));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .875rem;
  flex-shrink: 0;
}
.who-name { font-weight: 600; color: var(--rb-deep); font-size: .9375rem; }
.who-role { color: var(--rb-ink-soft); font-size: .8125rem; }
.quote-secondary {
  margin-top: 1.25rem;
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius); padding: 1.25rem;
}
.quote-secondary blockquote { font-size: .9375rem; color: var(--rb-ink-soft); margin: 0 0 .65rem 0; line-height: 1.5; }

.logo-wall {
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .85rem;
}
.logo-wall h3 {
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--rb-ink-soft); margin: 0;
}
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.logo-cell {
  aspect-ratio: 3/2;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-sm);
  display: grid; place-items: center;
  color: var(--rb-ink-soft);
  font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  text-align: center; padding: .55rem;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.logo-cell:hover {
  border-color: var(--rb-teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,60,75,.08);
}
.logo-cell img, .logo-cell svg {
  max-width: 100%; max-height: 80%;
  width: auto; height: auto;
  object-fit: contain;
  filter: none;
}
.logo-cell.muted { background: var(--rb-bg-soft); border-style: dashed; }
.logo-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
@media (min-width: 600px) { .logo-grid-large { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-grid-large { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1180px) { .logo-grid-large { grid-template-columns: repeat(5, 1fr); } }
.logo-grid-large .logo-cell { aspect-ratio: 4/3; padding: .9rem; }

/* ============================================================
   Über uns: Verbund + Kontaktkarte
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }
.partner-row { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 1.25rem 0; }
@media (min-width: 600px) { .partner-row { grid-template-columns: repeat(3, 1fr); } }
.partner { background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 1.1rem; }
.partner-name { font-size: .9375rem; font-weight: 700; color: var(--rb-deep); margin-bottom: .25rem; }
.partner-role { font-size: .8125rem; color: var(--rb-ink-soft); line-height: 1.5; }

.contact-card {
  background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .85rem;
}
.contact-card h3 {
  font-size: .8125rem; color: var(--rb-ink-soft);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  margin: 0;
}
.contact-row { display: flex; align-items: center; gap: .85rem; }
.contact-photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rb-teal), var(--rb-deep));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.375rem;
  flex-shrink: 0;
}
.contact-name { font-weight: 700; color: var(--rb-deep); font-size: 1.125rem; }
.contact-role { color: var(--rb-ink-soft); font-size: .875rem; }
.contact-meta { display: flex; flex-direction: column; gap: .4rem; font-size: .9375rem; color: var(--rb-ink); }
.contact-meta .label {
  font-size: .75rem; color: var(--rb-ink-soft);
  letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  display: inline-block; min-width: 4rem; margin-right: .5rem;
}

/* ============================================================
   Team / Expertenteam (Kernkompetenzen)
   ============================================================ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.team-kind { font-size: 1.0625rem; font-weight: 700; color: var(--rb-deep); }
.team-desc { color: var(--rb-ink-soft); font-size: .9375rem; margin: 0; flex: 1; }
.team-person {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--rb-line);
}
.team-photo {
  width: 132px; height: auto; display: block;
  border-radius: var(--rb-radius-sm);
}
.team-id { display: flex; flex-direction: column; gap: .1rem; }
.team-name { font-weight: 700; color: var(--rb-deep); font-size: .9375rem; }
.team-org { color: var(--rb-ink-soft); font-size: .8125rem; }
.team-foot { margin: 1.75rem 0 0; font-size: .9375rem; }

/* ============================================================
   Kontakt-Zugang (Video / Demo / Beratung)
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.4fr .9fr; gap: 2rem; } }
.access-options { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .access-options { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .access-options { grid-template-columns: repeat(3, 1fr); } }
.access-card {
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.access-card h3 { margin: 0; color: var(--rb-deep); font-size: 1.0625rem; }
.access-card p { color: var(--rb-ink-soft); font-size: .9375rem; margin: 0; flex: 1; }
.access-link { font-weight: 600; color: var(--rb-teal-strong); text-decoration: none; }
.access-link:hover { text-decoration: underline; }

/* ============================================================
   Formulare
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 1rem; max-width: 36rem; }
.form .field { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-size: .875rem; font-weight: 600; color: var(--rb-deep); }
.form label .req { color: var(--rb-error); margin-left: .15rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-sm);
  font: inherit; color: var(--rb-ink); background: #fff;
  min-height: 44px;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--rb-teal-strong);
  outline: 3px solid color-mix(in srgb, var(--rb-teal-strong) 25%, transparent);
}
.form .help { font-size: .8125rem; color: var(--rb-ink-soft); }
.form .checkbox {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .875rem; color: var(--rb-ink);
}
.form .checkbox input { width: 18px; height: 18px; margin-top: .15rem; min-height: 0; }

/* ============================================================
   Blog-Index
   ============================================================ */
.post-list { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post {
  background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem;
}
.post-meta { font-size: .8125rem; color: var(--rb-ink-soft); }
.post h3 { margin: 0; font-size: 1.125rem; }
.post p { color: var(--rb-ink-soft); font-size: .9375rem; margin: 0; }
.post a.morelink { color: var(--rb-teal-strong); font-weight: 600; text-decoration: none; }
.post a.morelink:hover { text-decoration: underline; }

/* ============================================================
   Beitragsseiten (Aktuelles-Detail)
   ============================================================ */
.article-head { background: var(--rb-bg-soft); border-bottom: 1px solid var(--rb-line); }
.article-meta { font-size: .875rem; color: var(--rb-ink-soft); margin-bottom: .5rem; letter-spacing: .02em; }
.article-meta a { color: var(--rb-teal-strong); text-decoration: none; }
.article-meta a:hover { text-decoration: underline; }
.article-body { max-width: 44rem; margin: 0 auto; }
.article-body p { font-size: 1rem; line-height: 1.65; color: var(--rb-ink); margin: 0 0 1.1em 0; }
.article-body h2 { font-size: 1.375rem; margin: 2.25rem 0 .75rem; color: var(--rb-deep); }
.article-body h3 { font-size: 1.0625rem; margin: 1.75rem 0 .5rem; color: var(--rb-deep); }
.article-body ul { padding-left: 1.25rem; margin: 0 0 1.1em 0; }
.article-body li { margin-bottom: .35rem; }
.article-body .data-table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
  background: #fff; border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-sm); overflow: hidden;
  margin: 1.25rem 0 1.5rem;
}
.article-body .data-table caption {
  font-size: .8125rem; color: var(--rb-ink-soft);
  text-align: left; padding: 0 .25rem .5rem; caption-side: top;
}
.article-body .data-table th, .article-body .data-table td {
  padding: .5rem .65rem; text-align: left; border-bottom: 1px solid var(--rb-line);
  vertical-align: top;
}
.article-body .data-table th { background: var(--rb-deep); color: #fff; font-weight: 600; font-size: .8125rem; }
.article-body .data-table tr:last-child td { border-bottom: none; }
.article-body .data-table td.num, .article-body .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.article-body .data-table tbody tr:nth-child(odd) { background: var(--rb-bg-soft); }
.article-body .source-note {
  background: var(--rb-sand); border-left: 4px solid var(--rb-teal-strong);
  padding: 1rem 1.25rem; border-radius: 0 var(--rb-radius-sm) var(--rb-radius-sm) 0;
  font-size: .9375rem; color: var(--rb-ink-soft); margin: 2rem 0 1rem;
}
.article-body .source-note strong { color: var(--rb-deep); }
.article-body figure { margin: 1.75rem 0; }
.article-body figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rb-line); border-radius: var(--rb-radius-sm); }
.article-body figure figcaption { font-size: .8125rem; color: var(--rb-ink-soft); margin-top: .5rem; }
.article-nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rb-line); }
.article-nav a { color: var(--rb-teal-strong); text-decoration: none; font-weight: 500; }
.article-nav a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .article-body .data-table { font-size: .8125rem; display: block; overflow-x: auto; }
  .article-body .data-table th, .article-body .data-table td { padding: .4rem .5rem; white-space: nowrap; }
}

/* ============================================================
   Pflicht-Texte (Impressum, Datenschutz)
   ============================================================ */
.legal { background: #fff; }
.legal article { max-width: 48rem; margin: 0 auto; }
.legal h2 { margin-top: 2rem; font-size: 1.375rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.0625rem; color: var(--rb-deep); }
.legal p, .legal ul { color: var(--rb-ink); }
.legal .placeholder {
  background: #e6f1f5; border-left: 4px solid var(--rb-accent);
  padding: 1rem 1.25rem; border-radius: 0 var(--rb-radius-sm) var(--rb-radius-sm) 0;
  font-size: .9375rem; color: #07475a;
}
.legal .placeholder strong { color: #07475a; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--rb-deep);
  color: #dfe7ea;
  padding: 3rem 0 1.5rem;
  font-size: .9375rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand {
  display: flex; align-items: center; gap: .65rem;
  font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: .5rem;
}
.footer-brand .logo-mark {
  background: linear-gradient(135deg, #3aa6bb, var(--rb-deep));
}
.footer-claim { color: #b9c8cd; max-width: 22rem; line-height: 1.5; }
.footer-col h4 {
  font-size: .75rem; color: #9eb3ba;
  text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 .85rem 0; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: #dfe7ea; text-decoration: none; font-size: .9375rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #224a5a;
  padding-top: 1.1rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem;
  color: #9eb3ba; font-size: .8125rem;
}
.footer-bottom a { color: #dfe7ea; }

/* ============================================================
   Hilfsklassen
   ============================================================ */
.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;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.muted { color: var(--rb-ink-soft); }
.divider { border: none; border-top: 1px solid var(--rb-line); margin: 2rem 0; }

/* Print */
@media print {
  .topnav, footer, .nav-toggle, .mobile-menu { display: none !important; }
  body { background: #fff; }
  .section { padding: 1rem 0; }
}
