/*
Theme Name: Neuriox Shared Theme Aligned
Theme URI: https://www.neuriox.de/
Author: Neuriox
Description: Neuriox Theme mit dem aktuellen HTML-Header-, Footer- und Responsive-Stil.
Version: 2.1.0
Text Domain: neuriox-shared-theme
*/

html { scroll-padding-top: 96px; }
#start, #content, #inhalt, #katalog, #leistungen, #tickets, #termine, #anfrage { scroll-margin-top: 96px; }
:root {
  --bg: #0b1220;
  --bg-alt: #020617;
  --accent: #38bdf8;
  --accent-soft: rgba(14, 165, 233, 0.1);
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --card-bg: rgba(15, 23, 42, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.7);
  --muted: #9ca3af;
  --ink: #e5e7eb;
  --line: rgba(148, 163, 184, 0.4);
  --cyan: #38bdf8;
  --cyan-soft: #bae6fd;
  --green: #4ade80;
  --violet: #a855f7;
  --purple: #c084fc;
  --amber: #fbbf24;
  --red: #fb7185;
  --radius: 18px;
  --panel: rgba(15, 23, 42, 0.9);
  --surface: rgba(15, 23, 42, 0.9);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.7);
}
/* Compatibility aliases for preserved page-specific components. Values resolve to the index.html system. */
:root {
  --deep: var(--bg-alt);
  --bg-deep: var(--bg-alt);
  --panel: var(--card-bg);
  --panel-strong: #0f172a;
  --surface: var(--card-bg);
  --surface-strong: #0f172a;
  --surface-soft: rgba(30, 41, 59, .55);
  --line: var(--border-subtle);
  --line-bright: rgba(56, 189, 248, .52);
  --muted: var(--text-muted);
  --muted-2: #64748b;
  --muted-light: #cbd5e1;
  --ink: var(--text);
  --night: var(--bg-alt);
  --cyan: var(--accent);
  --cyan-soft: #bae6fd;
  --green: #4ade80;
  --violet: #a855f7;
  --purple: #c084fc;
  --amber: #fbbf24;
  --red: #fb7185;
  --ok: #22c55e;
  --warn: #f59e0b;
  --radius: var(--radius-lg);
  --shadow: var(--shadow-soft);
  --display: 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --card-accent: rgba(56, 189, 248, .38);
}

* { box-sizing: border-box; }
html { background: var(--bg-alt); }
body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #1d283a 0, #020617 55%, #020617 100%);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link, .skip {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: .5rem .9rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: #0f172a;
  color: var(--text);
}
.skip-link:focus-visible, .skip:focus-visible { left: 1rem; }
.page-wrap, .page { min-height: 100vh; display: flex; flex-direction: column; }
.page-wrap > main, .page > main, main { flex: 1 0 auto; }
.container, .shell { width: min(1120px, calc(100% - 3rem)); max-width: 1120px; margin-left: auto; margin-right: auto; }
.section { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.5rem 0; }
.hero { max-width: 1120px; margin: 1.5rem auto 0; padding: 1.5rem 1.5rem 0; }
.two-column, .two-col { gap: 1.7rem; }
.section-heading { font-size: 1.1rem; line-height: 1.25; font-weight: 600; letter-spacing: normal; margin: 0 0 .6rem; }
.section-kicker, .kicker, .section-label { font-size: .8rem; line-height: 1.2; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; color: var(--text-muted); margin-bottom: .3rem; }
.section-text, .intro, .hero-subtitle, .hero-lead, .lead, .hero-copy, .section-intro { color: var(--text-muted); font-size: .94rem; line-height: 1.55; }
h1, .hero-title { margin-top: 1.1rem; font-size: clamp(2.1rem, 3vw + 1.2rem, 2.9rem); line-height: 1.15; letter-spacing: .01em; font-weight: 600; }
h1 em, .hero-title em { color: #bae6fd; font-style: normal; }
h2 { font-size: 1.1rem; line-height: 1.25; letter-spacing: normal; font-weight: 600; }
h3 { font-size: .96rem; line-height: 1.3; letter-spacing: normal; font-weight: 600; }
p { line-height: 1.55; }
.badge, .pill, .pill-soft, .tag, .format, .package-tag, .hero-card-tag, .hero-pill, .hero-tags span, .inputs span { font-family: inherit; }
.btn-primary, .btn-secondary, .btn, a.hero-cta, .primary, .quiet, .book-action, .submit, .details, .nav-cta {
  min-height: 38px;
  border-radius: 999px;
  padding: .55rem 1.35rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-decoration: none;
  transition: transform .12s ease-out, background .12s ease-out, border-color .12s ease-out, box-shadow .12s ease-out, filter .12s ease-out;
}
.btn-primary, .btn.primary, .primary, .submit, a.hero-cta {
  border-color: transparent;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #0b1120;
  box-shadow: 0 12px 35px rgba(34, 197, 94, .3);
}
.btn-secondary, .btn.quiet, .quiet, .book-action, .details {
  border-color: rgba(148, 163, 184, .6);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, .8), rgba(15, 23, 42, .95));
  color: var(--text);
}
.btn-primary:hover, .btn.primary:hover, .primary:hover, .submit:hover, a.hero-cta:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 16px 40px rgba(56, 189, 248, .45); }
.btn-secondary:hover, .btn.quiet:hover, .quiet:hover, .book-action:hover, .details:hover { transform: translateY(-1px); border-color: var(--accent); background: radial-gradient(circle at top left, rgba(30, 64, 175, .9), rgba(15, 23, 42, 1)); }
.btn[disabled], button[disabled] { cursor: not-allowed; opacity: .55; transform: none; }
.card, .panel, .hero-card, .book-card, .package, .agent-card, .service-card, .tickets, .request-intro, .request-form, .cta-card, .decision-card, .request-card, .proof, .quote-card, .principle, .process-card, .fact {
  border-radius: var(--radius-lg);
  border-color: var(--border-subtle);
}
input, select, textarea { border-radius: var(--radius-md); border: 1px solid var(--border-subtle); background: rgba(2, 6, 23, .62); color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.services-grid, .cards, .books-grid, .agent-grid, .packages { gap: 1.1rem; }

/* Shared header: the only header implementation used by all pages. */
.shared-header, .shared-header * { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; font-synthesis: none; }
.shared-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(148, 163, 184, .2); background: linear-gradient(to bottom, rgba(15, 23, 42, .95), rgba(15, 23, 42, .78), rgba(15, 23, 42, .34)); backdrop-filter: blur(18px); }
.shared-nav { width: min(1120px, calc(100% - 3rem)); min-height: 76px; margin: 0 auto; padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.shared-brand { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; color: #e5e7eb; text-decoration: none; }
.shared-brand img { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 999px; object-fit: contain; box-shadow: 0 10px 30px rgba(56, 189, 248, .38); }
.shared-brand-copy { min-width: 0; }
.shared-brand-title { display: block; color: #e5e7eb; font-size: .95rem; font-weight: 600; line-height: 1.2; letter-spacing: .03em; white-space: nowrap; }
.shared-brand-sub { display: block; margin-top: .14rem; color: #9ca3af; font-size: .8rem; font-weight: 400; line-height: 1.2; letter-spacing: normal; white-space: nowrap; }
.shared-nav-links { display: flex; align-items: center; gap: .2rem; color: #9ca3af; font-size: .92rem; font-weight: 400; line-height: 1.2; letter-spacing: normal; }
.shared-nav-links > a, .shared-nav-item > a { position: relative; }
.shared-nav-links a { padding: .5rem .6rem; border-radius: 9px; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-decoration: none; white-space: nowrap; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.shared-nav-links > a::after, .shared-nav-item > a::after { content: ''; position: absolute; left: .6rem; right: .6rem; bottom: .16rem; height: 2px; border-radius: 999px; background: linear-gradient(to right, #0ea5e9, #22c55e); box-shadow: 0 0 12px rgba(56, 189, 248, .8); transform: scaleX(0); transform-origin: left center; transition: transform .18s ease-out; }
.shared-nav-links > a:hover::after, .shared-nav-links > a:focus-visible::after, .shared-nav-item:hover > a::after, .shared-nav-item:focus-within > a::after, .shared-nav-item[data-menu-open='true'] > a::after { transform: scaleX(1); }
.shared-nav-links > a:hover, .shared-nav-item > a:hover, .shared-nav-item > a[aria-current='page'] { color: #e5e7eb; background: rgba(56, 189, 248, .08); box-shadow: 0 0 16px rgba(56, 189, 248, .14); }
.shared-nav-item { position: relative; display: inline-flex; align-items: center; }
.shared-nav-item::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.shared-subnav { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: .45rem; border: 1px solid rgba(148, 163, 184, .35); border-radius: 14px; background: rgba(7, 17, 31, .97); box-shadow: 0 22px 70px rgba(2, 6, 23, .55); opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 320ms; backdrop-filter: blur(14px); }
.shared-nav-item:hover .shared-subnav, .shared-nav-item:focus-within .shared-subnav, .shared-nav-item[data-menu-open='true'] .shared-subnav { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
.shared-subnav a { display: flex; width: 100%; padding: .5rem .6rem; border-radius: 9px; color: #9ca3af; font-size: .86rem; line-height: 1.2; }
.shared-subnav a:hover, .shared-subnav a[aria-current='page'] { color: #e5e7eb; background: rgba(56, 189, 248, .12); box-shadow: 0 0 12px rgba(56, 189, 248, .14); }
.shared-subnav a::after { content: none !important; display: none !important; }
.shared-cta { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.35rem; border-radius: 999px; color: #0b1120; background: linear-gradient(135deg, #38bdf8, #a855f7); font-size: .9rem; font-weight: 600; line-height: 1.2; letter-spacing: normal; white-space: nowrap; text-decoration: none; box-shadow: 0 12px 35px rgba(34, 197, 94, .3); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.shared-cta:hover { filter: brightness(1.04); transform: translateY(-1px) scale(1.01); box-shadow: 0 0 28px rgba(56, 189, 248, .42), 0 16px 40px rgba(56, 189, 248, .3); }
.shared-menu-toggle { display: none; width: 42px; height: 38px; padding: .55rem; border: 1px solid rgba(148, 163, 184, .5); border-radius: 10px; color: var(--text); background: rgba(15, 23, 42, .72); }
.shared-menu-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; border-radius: 2px; background: currentColor; }
.shared-mobile-menu { display: none; }

/* Shared footer: copied structurally from index.html and injected separately. */
footer { margin-top: 2.8rem; border-top: 1px solid rgba(30, 64, 175, .6); background: linear-gradient(to top, #020617, rgba(15, 23, 42, .96)); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 1.6rem 1.5rem 2.1rem; display: grid; grid-template-columns: minmax(230px, 1fr) auto minmax(150px, 1fr); align-items: center; column-gap: clamp(1.5rem, 4vw, 4.5rem); font-size: .8rem; color: var(--text-muted); }
.footer-brand { display: flex; align-items: center; gap: .7rem; justify-self: start; min-width: 0; }
.footer-brand-name { color: var(--text); font-weight: 400; white-space: nowrap; }
.footer-brand-meta { margin-top: .22rem; font-size: .72rem; }
.reg-mark { font-size: .55em; line-height: 0; vertical-align: super; margin-left: .04em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(.8rem, 2.2vw, 1.8rem); }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: #e5e7eb; text-shadow: 0 0 12px rgba(56, 189, 248, .62); }
.footer-social { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; justify-self: end; }
.social-btn { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(148, 163, 184, .38); border-radius: 50%; color: var(--text-muted); background: rgba(15, 23, 42, .58); transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.social-btn svg { width: 13px; height: 13px; display: block; }
.social-btn:hover { color: var(--text); border-color: var(--accent); background: rgba(56, 189, 248, .18); box-shadow: 0 0 18px rgba(56, 189, 248, .42); transform: translateY(-1px); }

@media (max-width: 1080px) {
  .shared-nav-links { display: none; }
  .shared-cta { margin-left: auto; }
  .shared-menu-toggle { display: inline-block; }
  .shared-mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: .15rem; padding: .65rem max(1.1rem, calc((100% - 1120px) / 2)); border-bottom: 1px solid rgba(148, 163, 184, .25); background: rgba(7, 17, 31, .98); box-shadow: 0 22px 70px rgba(2, 6, 23, .55); }
  .shared-mobile-menu[hidden] { display: none; }
  .shared-mobile-menu > a, .shared-mobile-group > summary, .shared-mobile-group > a { padding: .72rem .8rem; border-radius: 9px; color: var(--text-muted); font-size: .92rem; }
  .shared-mobile-menu > a:hover, .shared-mobile-group > summary:hover, .shared-mobile-group > a:hover { color: var(--text); background: rgba(56, 189, 248, .12); }
  .shared-mobile-group { border-radius: 9px; }
  .shared-mobile-group summary { cursor: pointer; list-style: none; }
  .shared-mobile-group summary::-webkit-details-marker { display: none; }
  .shared-mobile-group summary::after { content: '+'; float: right; color: var(--accent); }
  .shared-mobile-group[open] summary::after { content: '-'; }
  .shared-mobile-group > a { display: block; padding-left: 1.6rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .two-column, .two-col, .trust-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .services-grid, .cards, .books-grid, .agent-grid, .packages, .process { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .shared-nav { width: min(100% - 2.2rem, 620px); gap: .6rem; padding: .7rem 0; }
  .shared-brand { gap: .45rem; min-width: 0; }
  .shared-brand-mark { width: 36px; height: 36px; font-size: 1rem; }
  .shared-brand-title { max-width: 10.5rem; overflow: hidden; text-overflow: ellipsis; font-size: .75rem; }
  .shared-brand-sub { display: none; }
  .shared-cta { padding: .56rem .72rem; font-size: .72rem; }
  .section, .hero { padding-inline: 1.1rem; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; row-gap: .85rem; text-align: center; }
  .footer-brand, .footer-social { justify-self: center; }
  .footer-links { gap: .75rem 1.15rem; }
  .footer-brand-name { white-space: normal; }
}

@media (max-width: 420px) {
  .shared-nav { width: calc(100% - 1.4rem); gap: .4rem; }
  .shared-brand-title { max-width: 8.4rem; font-size: .7rem; }
  .shared-cta { padding-inline: .58rem; font-size: .68rem; }
  .shared-menu-toggle { width: 36px; height: 36px; padding: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Exact source-of-truth rules from index.html. */
html {
scroll-padding-top: 96px;
}
#start {
scroll-margin-top: 96px;
}
.skip-link {
position: absolute;
      left: -999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
      z-index: -999;
}
.skip-link:focus-visible {
position: absolute;
      left: 1rem;
      top: 1rem;
      width: auto;
      height: auto;
      padding: 0.5rem 0.9rem;
      border-radius: 999px;
      background: #0f172a;
      color: #e5e7eb;
      border: 2px solid #38bdf8;
      z-index: 50;
}
a:focus-visible {
outline: 2px solid #38bdf8;
      outline-offset: 3px;
}
:root {
--bg: #0b1220;
      --bg-alt: #020617;
      --accent: #38bdf8;
      --accent-soft: rgba(14, 165, 233, 0.1);
      --text: #e5e7eb;
      --text-muted: #9ca3af;
      --card-bg: rgba(15, 23, 42, 0.9);
      --border-subtle: rgba(148, 163, 184, 0.4);
      --radius-lg: 18px;
      --radius-md: 12px;
      --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.7);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #1d283a 0, #020617 55%, #020617 100%);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
}
a {
color: inherit;
      text-decoration: none;
}
.page-wrap {
min-height: 100vh;
      display: flex;
      flex-direction: column;
}
.btn-primary {
border-radius: 999px;
      background: linear-gradient(135deg, #38bdf8, #a855f7);
      color: #0b1120;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 0.55rem 1.35rem;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
      transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}
.btn-primary:hover {
transform: translateY(-1px) scale(1.01);
      box-shadow: 0 16px 40px rgba(56, 189, 248, 0.45);
}
.btn-secondary {
border-radius: 999px;
      padding: 0.5rem 1.2rem;
      font-size: 0.9rem;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
      color: var(--text);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: background 0.12s ease-out, border-color 0.12s ease-out, transform 0.12s ease-out;
}
.btn-secondary:hover {
background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 1));
      border-color: var(--accent);
      transform: translateY(-1px);
}
main {
flex: 1;
}
.hero {
max-width: 1120px;
      margin: 1.5rem auto 0 auto;
      padding: 1.5rem 1.5rem 0 1.5rem;
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
      gap: 2.5rem;
      align-items: center;
}
.hero-title {
margin-top: 1.1rem;
      font-size: clamp(2.1rem, 3vw + 1.2rem, 2.9rem);
      line-height: 1.15;
      letter-spacing: 0.01em;
}
.hero-subtitle {
margin-top: 1rem;
      color: var(--text-muted);
      font-size: 0.98rem;
      max-width: 34rem;
}
.hero-bullets {
margin-top: 1.3rem;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
      gap: 0.75rem 1.25rem;
      font-size: 0.9rem;
      color: var(--text-muted);
}
.hero-bullet {
display: flex;
      align-items: flex-start;
      gap: 0.5rem;
}
.hero-bullet-icon {
margin-top: 0.1rem;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: var(--accent-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 0.8rem;
}
.hero-cta {
margin-top: 1.6rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
}
.hero-meta {
margin-top: 0.9rem;
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
      align-items: center;
}
.hero-meta span {
display: inline-flex;
      align-items: center;
      gap: 0.35rem;
}
.hero-right {
position: relative;
}
.section {
max-width: 1120px;
      margin: 0 auto;
      padding: 2.5rem 1.5rem 0 1.5rem;
}
.section-heading {
font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.6rem;
}
.section-kicker {
font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--text-muted);
      margin-bottom: 0.3rem;
}
.section-text {
font-size: 0.94rem;
      color: var(--text-muted);
      max-width: 46rem;
}
footer {
margin-top: 2.8rem;
      border-top: 1px solid rgba(30, 64, 175, 0.6);
      background: linear-gradient(to top, #020617, rgba(15, 23, 42, 0.96));
}
.footer-inner {
max-width: 1120px;
      margin: 0 auto;
      padding: 1.6rem 1.5rem 2.1rem 1.5rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.2rem;
      font-size: 0.8rem;
      color: var(--text-muted);
}
.footer-links {
display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
}
.footer-links a {
color: var(--text-muted);
}
.footer-links a:hover {
color: #e5e7eb;
}
footer .footer-inner {
display: grid;
      grid-template-columns: minmax(230px, 1fr) auto minmax(150px, 1fr);
      align-items: center;
      column-gap: clamp(1.5rem, 4vw, 4.5rem);
}
footer .footer-brand {
display: flex; align-items: center; gap: .7rem; justify-self: start; min-width: 0;
}
footer .footer-brand-name {
color: var(--text); font-weight: 400; white-space: nowrap;
}
footer .footer-brand-meta {
margin-top: .22rem; font-size: .72rem;
}
footer .footer-links {
justify-content: center; align-items: center; gap: clamp(.8rem, 2.2vw, 1.8rem);
}
footer .footer-social {
display: flex; align-items: center; justify-content: flex-end; gap: .45rem; justify-self: end;
}
footer .social-btn {
width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(148,163,184,.38); border-radius: 50%; color: var(--text-muted); background: rgba(15,23,42,.58); transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
footer .social-btn svg {
width: 13px; height: 13px; display: block;
}
footer .social-btn:hover {
color: var(--text); border-color: var(--accent); background: rgba(56,189,248,.14); transform: translateY(-1px);
}
.shared-header {
position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(148,163,184,.18); background: rgba(7,17,31,.88); backdrop-filter: blur(18px);
}
.shared-nav {
width: min(1160px, calc(100% - 2.7rem)); min-height: 76px; margin: 0 auto; padding: .9rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
}
.shared-brand {
display: inline-flex; align-items: center; gap: .7rem; min-width: 0; color: var(--text); text-decoration: none;
}
.shared-brand-mark {
width: 42px; height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(125,211,252,.7); border-radius: 50%; color: #e0f2fe; background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a 72%); box-shadow: 0 9px 25px rgba(56,189,248,.28); font-size: 1.15rem; font-weight: 800; letter-spacing: .02em;
}
.shared-brand-copy {
min-width: 0;
}
.shared-brand-title {
display: block; color: var(--text); font-size: .92rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.shared-brand-sub {
display: block; margin-top: .18rem; color: var(--text-muted); font-size: .72rem; white-space: nowrap;
}
.shared-nav-links {
display: flex; align-items: center; gap: .15rem; color: var(--text-muted); font-size: .82rem;
}
.shared-nav-links a {
padding: .5rem .55rem; border-radius: 9px; color: inherit; text-decoration: none; white-space: nowrap; transition: color .18s ease, background .18s ease;
}
.shared-nav-links a:hover {
color: var(--text); background: rgba(56,189,248,.1);
}
.shared-nav-item {
position: relative; display: inline-flex; align-items: center;
}
.shared-subnav {
position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: .45rem; border: 1px solid rgba(148,163,184,.35); border-radius: 14px; background: rgba(7,17,31,.96); box-shadow: 0 22px 70px rgba(2,6,23,.55); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 140ms ease, transform 140ms ease; backdrop-filter: blur(14px);
}
.shared-nav-item:hover .shared-subnav, .shared-nav-item:focus-within .shared-subnav {
opacity: 1; transform: translateY(0); pointer-events: auto;
}
.shared-subnav a {
display: flex; width: 100%;
}
.shared-cta {
display: inline-flex; align-items: center; gap: .4rem; padding: .62rem .9rem; border-radius: 999px; color: #06111f; background: linear-gradient(135deg,#7dd3fc,#38bdf8 48%,#a855f7); font-size: .78rem; font-weight: 600; white-space: nowrap; text-decoration: none; box-shadow: 0 10px 28px rgba(56,189,248,.2);
}
.shared-nav-links a:hover {
color: #e5e7eb; background: rgba(56,189,248,.14); box-shadow: 0 0 18px rgba(56,189,248,.22);
}
.shared-subnav a:hover {
color: #e5e7eb; background: rgba(56,189,248,.16); box-shadow: 0 0 14px rgba(56,189,248,.18);
}
.shared-cta {
transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.shared-cta:hover {
filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 0 28px rgba(56,189,248,.42), 0 12px 30px rgba(56,189,248,.22);
}
footer .social-btn:hover {
color: #e5e7eb; border-color: #38bdf8; background: rgba(56,189,248,.18); box-shadow: 0 0 18px rgba(56,189,248,.42); transform: translateY(-1px);
}
.shared-nav-links > a, .shared-nav-item > a {
position: relative;
}
.shared-nav-links > a::after, .shared-nav-item > a::after {
content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .2rem; height: 2px; border-radius: 999px; background: linear-gradient(to right, #0ea5e9, #22c55e); box-shadow: 0 0 12px rgba(56,189,248,.8); transform: scaleX(0); transform-origin: left center; transition: transform .18s ease-out;
}
.shared-nav-links > a:hover::after, .shared-nav-links > a:focus-visible::after, .shared-nav-item:hover > a::after, .shared-nav-item:focus-within > a::after {
transform: scaleX(1);
}
.shared-subnav a::after {
content: none; display: none;
}
.shared-header, .shared-header * {
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
      font-synthesis: none;
}

/* Shared interaction and responsive safeguards. */
.shared-nav-item[data-menu-open="true"] .shared-subnav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.shared-nav-item[data-menu-open="true"] > a::after { transform: scaleX(1); }
.shared-nav-item > a:focus-visible, .shared-subnav a:focus-visible, .shared-cta:focus-visible, .shared-menu-toggle:focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; }
.shared-subnav { visibility: hidden; }
.shared-nav-item:hover .shared-subnav, .shared-nav-item:focus-within .shared-subnav, .shared-nav-item[data-menu-open="true"] .shared-subnav { visibility: visible; }
.shared-menu-toggle { display: none; }
@media (max-width: 1080px) {
  .shared-nav-links { display: none; }
  .shared-cta { margin-left: auto; }
  .shared-menu-toggle { display: inline-block; }
  .shared-mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: .15rem; padding: .65rem max(1.1rem, calc((100% - 1120px) / 2)); border-bottom: 1px solid rgba(148, 163, 184, .25); background: rgba(7, 17, 31, .98); box-shadow: 0 22px 70px rgba(2, 6, 23, .55); }
  .shared-mobile-menu[hidden] { display: none; }
  .shared-mobile-menu > a, .shared-mobile-group > summary, .shared-mobile-group > a { padding: .72rem .8rem; border-radius: 9px; color: var(--text-muted); font-size: .92rem; }
  .shared-mobile-menu > a:hover, .shared-mobile-group > summary:hover, .shared-mobile-group > a:hover { color: var(--text); background: rgba(56, 189, 248, .12); }
  .shared-mobile-group { border-radius: 9px; }
  .shared-mobile-group summary { cursor: pointer; list-style: none; }
  .shared-mobile-group summary::-webkit-details-marker { display: none; }
  .shared-mobile-group summary::after { content: '+'; float: right; color: var(--accent); }
  .shared-mobile-group[open] summary::after { content: '-'; }
  .shared-mobile-group > a { display: block; padding-left: 1.6rem; }
}
@media (max-width: 760px) {
  .shared-nav { width: min(100% - 2.2rem, 620px); }
  .shared-brand-sub { display: none; }
  .shared-cta { padding: .56rem .72rem; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Restored block-based layout for the primary pages. */
.page-home main > .hero,
.page-home main > .section,
.page-bafa #bafa,
.page-beratung main > .container.hero,
.page-beratung main > .container.section {
  position: relative;
  width: min(1120px, calc(100% - 3rem));
  max-width: 1120px;
  margin: 1.45rem auto 0;
  padding: clamp(1.45rem, 2.5vw, 2.45rem);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .08), transparent 38%),
    linear-gradient(145deg, rgba(15, 27, 46, .94), rgba(8, 17, 31, .88));
  box-shadow: 0 18px 48px rgba(2, 6, 23, .34);
  overflow: hidden;
}

.page-home main > .hero::before,
.page-home main > .section::before,
.page-bafa #bafa::before,
.page-beratung main > .container.hero::before,
.page-beratung main > .container.section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(56, 189, 248, .95), rgba(74, 222, 128, .82), rgba(168, 85, 247, .82));
  opacity: .9;
}

.page-home main > .hero { margin-top: 1.7rem; }
.page-home main > .section + .section,
.page-beratung main > .container.section + .container.section { margin-top: 1.35rem; }

.page-home .hero-card,
.page-home .card,
.page-home .service-card,
.page-bafa .card,
.page-bafa .service-card {
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 27, 46, .96), rgba(8, 17, 31, .9));
  box-shadow: 0 14px 34px rgba(2, 6, 23, .28);
}

.page-home .hero-card,
.page-home .card,
.page-bafa .card { padding: 1.35rem 1.4rem; }
.page-home .service-card,
.page-bafa .service-card { padding: 1.1rem 1.15rem; }

.page-home .hero-card,
.page-home .service-card,
.page-bafa .service-card { position: relative; overflow: hidden; }
.page-home .hero-card::before,
.page-home .service-card::before,
.page-bafa .service-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #4ade80);
  opacity: .88;
}
.page-home .service-card:nth-child(2)::before,
.page-bafa .service-card:nth-child(2)::before { background: linear-gradient(90deg, #a855f7, #fb7185); }
.page-home .service-card:nth-child(3)::before,
.page-bafa .service-card:nth-child(3)::before { background: linear-gradient(90deg, #fbbf24, #a855f7); }

.page-home .two-column,
.page-home .trust-grid,
.page-home .services-grid,
.page-bafa .two-column,
.page-bafa .trust-grid,
.page-bafa .services-grid { gap: 1rem; }
.page-home .services-grid,
.page-bafa .services-grid { margin-top: 1.15rem; }
.page-home .two-column > *,
.page-home .trust-grid > *,
.page-home .services-grid > *,
.page-bafa .two-column > *,
.page-bafa .trust-grid > *,
.page-bafa .services-grid > * { min-width: 0; }

.page-bafa #bafa {
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, .14), transparent 34%),
    radial-gradient(circle at 94% 18%, rgba(168, 85, 247, .13), transparent 32%),
    linear-gradient(145deg, rgba(15, 27, 46, .96), rgba(8, 17, 31, .9));
}
.page-bafa #bafa > div[style*='position: relative'] { position: relative; z-index: 1; }
.page-bafa .section-kicker { color: #bae6fd; }
.page-bafa .two-column,
.page-bafa .services-grid,
.page-bafa .trust-grid { margin-top: 1.35rem; }

.page-beratung main > .container.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.7rem;
}
.page-beratung main > .container.section { padding-top: clamp(1.45rem, 2.5vw, 2.45rem); }
.page-beratung .cards { gap: 1rem; }
.page-beratung .cards > .card,
.page-beratung .process-card,
.page-beratung .cta-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 27, 46, .96), rgba(8, 17, 31, .9));
  box-shadow: 0 16px 40px rgba(2, 6, 23, .3);
}
.page-beratung .cards > .card { padding: 1.4rem; overflow: hidden; }
.page-beratung .cards > .card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #4ade80);
}
.page-beratung .cards > .card.compliance::before { background: linear-gradient(90deg, #a855f7, #fb7185); }
.page-beratung .cards > .card.strategy::before { background: linear-gradient(90deg, #4ade80, #38bdf8); }
.page-beratung .cards > .card.workshop::before { background: linear-gradient(90deg, #fbbf24, #a855f7); }
.page-beratung .process { gap: .85rem; }
.page-beratung .process-card { padding: 1.15rem; }
.page-beratung .legal-note .cta-card,
.page-beratung .cta > .cta-card { min-height: 100%; }
.page-beratung .cta { gap: 1rem; }
.page-beratung .cta-card { padding: 1.45rem; }
.page-beratung .visual {
  min-height: 330px;
  padding: 1rem;
  border: 1px solid rgba(56, 189, 248, .18);
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, .08), transparent 68%);
}

@media (max-width: 1080px) {
  .page-beratung main > .container.hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .page-home main > .hero,
  .page-home main > .section,
  .page-bafa #bafa,
  .page-beratung main > .container.hero,
  .page-beratung main > .container.section { width: min(100% - 2.2rem, 680px); }
}
@media (max-width: 760px) {
  .page-home main > .hero,
  .page-home main > .section,
  .page-bafa #bafa,
  .page-beratung main > .container.hero,
  .page-beratung main > .container.section {
    width: min(100% - 2.2rem, 620px);
    padding: 1.25rem 1.1rem;
    border-radius: 18px;
  }
  .page-home main > .hero { margin-top: 1.15rem; }
  .page-home main > .section + .section,
  .page-beratung main > .container.section + .container.section { margin-top: 1rem; }
  .page-beratung .visual { min-height: 250px; }
}

/* Startseite: Siegel im Profilblock wie in der Referenz begrenzen. */
.page-home .seal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  padding: .75rem;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(2, 6, 23, .18), rgba(15, 23, 42, .55));
  box-shadow: 0 16px 45px rgba(15, 23, 42, .7);
}
.page-home .seal {
  display: block;
  min-width: 0;
  padding: .35rem;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 14px;
  background: rgba(2, 6, 23, .22);
}
.page-home .seal img {
  display: block;
  width: 100%;
  height: 96px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(2, 6, 23, .55));
}
@media (max-width: 760px) {
  .page-home .seal-row { gap: .45rem; padding: .55rem; }
  .page-home .seal { padding: .25rem; }
  .page-home .seal img { height: 72px; }
}

/* Startseite: Testimonial-Porträt wie in der Referenz klein und rund halten. */
.page-home .quote-avatar {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, .55);
  box-shadow: 0 14px 40px rgba(2, 6, 23, .55);
}
.page-home .quote-person {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Desktop: Event als echte dritte Ebene unter Workshops & Seminare. */
@media (min-width: 1081px) {
  .shared-subnav-item {
    position: relative;
    display: block;
  }

  .shared-subnav-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
  }

  .shared-subnav-item > a::after {
    content: '\203A' !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto;
    color: #38bdf8;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    font-size: 1.1rem;
    line-height: 1;
  }

  .shared-subnav-nested {
    position: absolute;
    top: -.45rem;
    left: calc(100% + .45rem);
    min-width: 170px;
    padding: .45rem;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 14px;
    background: rgba(7, 17, 31, .98);
    box-shadow: 0 22px 70px rgba(2, 6, 23, .55);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 220ms;
    backdrop-filter: blur(14px);
  }

  .shared-subnav-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -.55rem;
    width: .65rem;
    height: 100%;
  }

  .shared-subnav-item:hover .shared-subnav-nested,
  .shared-subnav-item:focus-within .shared-subnav-nested,
  .shared-subnav-item[data-submenu-open='true'] .shared-subnav-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .shared-subnav-nested a {
    display: flex;
    width: 100%;
    padding: .5rem .6rem;
    border-radius: 9px;
    color: #9ca3af;
    font-size: .86rem;
    line-height: 1.2;
  }

  .shared-subnav-nested a:hover,
  .shared-subnav-nested a[aria-current='page'] {
    color: #e5e7eb;
    background: rgba(56, 189, 248, .12);
    box-shadow: 0 0 12px rgba(56, 189, 248, .14);
  }

  .shared-subnav-nested a::after {
    content: none !important;
    display: none !important;
  }
}

/* Shared responsive correction, release 20260914-mobile2. */
[data-shared-header] { position: sticky; top: 0; z-index: 100; flex: 0 0 auto; }
[data-shared-header] .shared-header { position: relative; background: #07111f; backdrop-filter: none; }
.shared-header .shared-nav { width: min(1160px, calc(100% - 2rem)); min-width: 0; gap: .75rem; }
.shared-header .shared-brand { flex: 1 1 auto; min-width: 0; }
.shared-header .shared-brand-title, .shared-header .shared-brand-sub { white-space: normal; overflow-wrap: anywhere; }
.shared-header .shared-nav-links, .shared-header .shared-cta { flex: 0 0 auto; }
.shared-header .shared-brand-title { font-size: .8rem; }
.shared-header .shared-brand-sub { font-size: .68rem; }
.shared-header .shared-mobile-menu { display: none; }
.shared-header [hidden] { display: none !important; }
.shared-header .shared-subnav { max-width: min(340px, calc(100vw - 2rem)); background: #07111f; }
.shared-header .shared-subnav a { white-space: normal; overflow-wrap: anywhere; }
.shared-header .shared-nav-item[data-menu-open="false"] .shared-subnav,
.shared-header .shared-subnav-item[data-submenu-open="false"] .shared-subnav-nested { visibility: hidden; opacity: 0; pointer-events: none; }
.shared-header .shared-subnav-nested { left: auto; right: calc(100% + .45rem); background: #07111f; }
.shared-header .shared-subnav-item::after { right: auto; left: -.65rem; width: .75rem; }
.shared-header a[aria-current="page"] { color: #e0f2fe; background: #17334b; }
[data-shared-footer] { margin-top: 2.5rem; min-width: 0; }
[data-shared-footer] footer .footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; width: min(1160px, calc(100% - 2rem)); gap: 1.25rem; align-items: center; justify-items: stretch; text-align: left; padding-inline: 0; }
[data-shared-footer] footer .footer-inner > * { min-width: 0; max-width: 100%; }
[data-shared-footer] footer .footer-brand-name { white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
[data-shared-footer] footer .footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
[data-shared-footer] footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: normal; }
[data-shared-footer] footer .footer-social { flex-wrap: wrap; }
[data-shared-footer] footer .social-btn { width: 44px; height: 44px; flex: 0 0 44px; }
@media (max-width: 1080px) {
  .shared-header .shared-nav { min-height: 68px; padding: .65rem 0; }
  .shared-header .shared-nav-links, .shared-header .shared-nav > .shared-cta { display: none; }
  .shared-header .shared-brand-owner, .shared-header .shared-brand-sub { display: none; }
  .shared-header .shared-brand-title { font-size: 1rem; }
  .shared-header .shared-brand-mark, .shared-header .shared-brand img { width: 36px; height: 36px; flex: 0 0 36px; }
  .shared-header .shared-menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; color: #e5e7eb; border: 1px solid #64748b; border-radius: 9px; background: #0f172a; }
  .shared-header .shared-menu-toggle span { display: block; width: 22px; height: 2px; margin: 0; background: currentColor; }
  .shared-header .shared-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .shared-header .shared-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .shared-header .shared-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .shared-header .shared-mobile-menu:not([hidden]) { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: .2rem; width: 100%; max-height: calc(100vh - var(--shared-header-height, 68px)); max-height: calc(100dvh - var(--shared-header-height, 68px)); overflow-y: auto; overscroll-behavior: contain; padding: .75rem 1rem max(1rem, env(safe-area-inset-bottom)); background: #07111f; border-bottom: 1px solid #475569; box-shadow: 0 16px 35px #020617; }
  .shared-header .shared-mobile-menu a, .shared-header .shared-mobile-menu summary { min-height: 44px; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
  .shared-header .shared-mobile-menu > a, .shared-header .shared-mobile-group > summary { display: block; padding: .7rem .8rem; color: #cbd5e1; }
  .shared-header .shared-mobile-group > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
  .shared-header .shared-mobile-group > summary::after { content: '+'; float: none; }
  .shared-header .shared-mobile-group[open] > summary::after { content: '\2212'; }
  .shared-header .shared-mobile-subgroup { margin-left: .65rem; border-left: 1px solid #475569; }
  .shared-header .shared-mobile-menu > .shared-cta { display: flex; margin: .5rem 0 0; justify-content: center; color: #06111f; }
  .shared-header .shared-mobile-menu a:hover, .shared-header .shared-mobile-menu summary:hover { background-color: #17334b; }
}
@media (max-width: 900px) {
  [data-shared-footer] footer .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 1.25rem; }
  [data-shared-footer] footer .footer-brand, [data-shared-footer] footer .footer-links, [data-shared-footer] footer .footer-social { justify-self: start; justify-content: flex-start; }
}
@media (max-width: 480px) {
  [data-shared-footer] footer .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}

/* Startseite und BAFA-Hinweis: responsive content safeguards, release 20260914-mobile2. */
.page-home main, .page-home main > *, .page-home .hero > *, .page-home .two-column > *, .page-home .trust-grid > *, .page-home .services-grid > * { min-width: 0; }
.page-home main { overflow-wrap: anywhere; hyphens: auto; }
.page-home .hero { align-items: start; }
.page-home .hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.page-home .hero-card, .page-home .hero-mini-card, .page-home .quote-card, .page-home .pill-soft, .page-home #bafa-hinweis, .page-home #termin { max-width: 100%; height: auto; overflow: visible; }
.page-home .hero-mini-card { min-width: 0; overflow-wrap: anywhere; }
.page-home .hero-mini-value, .page-home .hero-card-tag, .page-home .hero-pill, .page-home .quote-text { overflow-wrap: anywhere; hyphens: auto; }
.page-home .hero-bullets, .page-home .n-pill-row, .page-home .trust-points { min-width: 0; }
.page-home .hero-bullet, .page-home .trust-points li { min-width: 0; align-items: flex-start; }
.page-home .hero-bullet > div:last-child, .page-home .trust-points li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.page-home .pill-soft { flex-wrap: wrap; line-height: 1.45; }
.page-home .n-pill-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.page-home .n-pill { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.page-home .seal-row { min-width: 0; }
.page-home .seal img { max-width: 100%; }
.page-home .hero-cta { min-width: 0; }
.page-home .hero-cta a { max-width: 100%; white-space: normal; text-align: center; }
.page-home .hero-meta > span { min-width: 0; align-items: flex-start; }
.page-home .hero-meta > span > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.page-home .dot, .page-home .hero-bullet-icon { flex: 0 0 auto; }
.page-home #bafa-hinweis a, .page-home #termin a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .page-home .hero, .page-home .two-column, .page-home .trust-grid, .page-home #kontakt > .two-column { grid-template-columns: minmax(0, 1fr); }
  .page-home .hero > *, .page-home .two-column > * { width: 100%; }
  .page-home .hero-right { order: 0; }
}
@media (max-width: 760px) {
  .page-home main > .hero, .page-home main > .section { width: min(100% - 1.4rem, 620px); padding-inline: .7rem; }
  .page-home main > .hero { margin-top: .9rem; }
  .page-home .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-home .hero-card, .page-home .card, .page-home .service-card, .page-home .quote-card { padding: 1.05rem; border-radius: 16px; }
  .page-home .hero-bullets { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .page-home .hero-cta > a { width: 100%; justify-content: center; }
  .page-home .hero-meta { display: grid; gap: .65rem; }
  .page-home .seal-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .seal img { height: 60px; }
  .page-home #bafa-hinweis, .page-home #termin { margin-top: .85rem !important; }
}
@media (max-width: 420px) {
  .page-home main > .hero, .page-home main > .section { width: calc(100% - 1rem); padding-inline: .55rem; }
  .page-home .seal-row { gap: .25rem; padding: .35rem; }
  .page-home .seal { padding: .15rem; }
  .page-home .seal img { height: 50px; }
}


/* Shared brand and event alignment corrections, release 20260914-event-nav2. */
.shared-brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: block;
  border-radius: 999px;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(56, 189, 248, .38);
}
.page-event main > .hero {
  box-sizing: border-box;
  max-width: 1120px;
  margin-inline: auto;
}
.page-event main > .section {
  box-sizing: border-box;
  max-width: 1120px;
  margin-inline: auto;
}
@media (max-width: 700px) {
  .shared-brand-logo { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .shared-brand-logo { transition: none !important; }
}


/* Header corrections: use the supplied logo asset and keep the Event submenu on the right. */
.shared-brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: block;
  border-radius: 999px;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(56, 189, 248, .38);
}
@media (min-width: 1081px) {
  .shared-subnav-item {
    position: relative;
  }
  .shared-subnav-item > .shared-subnav-nested {
    left: calc(100% + .45rem) !important;
    right: auto !important;
    top: -.45rem !important;
    transform: translateX(-4px);
  }
  .shared-subnav-item:hover > .shared-subnav-nested,
  .shared-subnav-item:focus-within > .shared-subnav-nested,
  .shared-subnav-item[data-submenu-open='true'] > .shared-subnav-nested {
    transform: translateX(0);
  }
}
@media (max-width: 700px) {
  .shared-brand-logo { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .shared-brand-logo,
  .shared-subnav-item > .shared-subnav-nested { transition: none !important; }
}

/* Feinausrichtung: Header- und Footer-Texte auf großen Ansichten leicht nach links setzen. */
@media (min-width: 1081px) {
  .shared-header .shared-brand-copy,
  .shared-header .shared-nav-links,
  [data-shared-footer] .footer-brand,
  [data-shared-footer] .footer-links {
    transform: translateX(-10px);
  }
}

/* Feinkorrektur: Header auf Desktop etwas weiter links, Logo mit mehr Abstand zum Text. */
@media (min-width: 1081px) {
  .shared-header .shared-nav {
    transform: translateX(-24px);
  }
  .shared-header .shared-brand {
    gap: 1rem;
  }
}
@media (max-width: 1080px) {
  .shared-header .shared-brand {
    gap: .72rem;
  }
}


/* WordPress integration */
.wp-site-blocks, .wp-block-group, .wp-block-post-content { background: transparent; }
.site-main { width: 100%; flex: 1 0 auto; }
.entry-content { color: var(--text); }
.entry-content > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1200px; }
.entry-content > .alignfull { max-width: none; }
.wp-block-image img, .entry-content img { height: auto; }
.wp-block-button__link { border-radius: 999px; }
.site-title-screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* WordPress blog archive cards */
.blog-home-shell{width:min(1120px,calc(100% - 3rem));margin:1.7rem auto 0;padding:clamp(1.3rem,2.5vw,2.2rem);border:1px solid rgba(148,163,184,.28);border-radius:22px;background:linear-gradient(145deg,rgba(15,27,46,.94),rgba(8,17,31,.88));box-shadow:0 18px 48px rgba(2,6,23,.34)}
.blog-home-title{margin:0 0 .45rem}.blog-home-intro{color:var(--text-muted);max-width:58rem}.blog-category-list{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.25rem 0 1.45rem;padding-top:1rem;border-top:1px solid rgba(148,163,184,.2)}.blog-category-list a{padding:.42rem .72rem;border:1px solid rgba(148,163,184,.35);border-radius:999px;color:var(--text-muted);font-size:.82rem}.blog-category-list a:hover{color:var(--text);border-color:var(--accent);background:rgba(56,189,248,.1)}
.blog-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem}.blog-post-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(148,163,184,.32);border-radius:16px;background:linear-gradient(145deg,rgba(15,27,46,.96),rgba(8,17,31,.9));box-shadow:0 14px 34px rgba(2,6,23,.28)}.blog-post-card-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:rgba(2,6,23,.45)}.blog-post-card-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}.blog-post-card:hover .blog-post-card-thumb img{transform:scale(1.025)}.blog-post-card-body{display:flex;flex:1;flex-direction:column;padding:1.15rem 1.2rem 1.25rem}.blog-post-card-date{color:var(--text-muted);font-size:.76rem;margin-bottom:.45rem}.blog-post-card-title{margin:0 0 .55rem;font-size:1.14rem;line-height:1.3}.blog-post-card-title a:hover{color:var(--cyan-soft)}.blog-post-card-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 1rem;color:var(--text-muted);line-height:1.55}.blog-read-more{align-self:flex-start;margin-top:auto}.blog-pagination{margin-top:1.5rem}.blog-pagination .page-numbers{display:inline-flex;margin:.2rem;padding:.45rem .7rem;border:1px solid rgba(148,163,184,.35);border-radius:999px}.blog-pagination .current,.blog-pagination .page-numbers:hover{border-color:var(--accent);background:rgba(56,189,248,.12)}
.shared-cart{display:inline-flex;align-items:center;gap:.35rem;padding:.48rem .65rem;border-radius:9px;color:var(--text-muted);font-size:.82rem;white-space:nowrap}.shared-cart:hover{color:var(--text);background:rgba(56,189,248,.12)}.shared-cart-icon{font-size:1.05rem;line-height:1}.shared-cart-count{min-width:1.2rem;padding:.1rem .28rem;border-radius:999px;color:#07111f;background:var(--accent);font-size:.7rem;font-weight:700;text-align:center}@media(max-width:1080px){.shared-cart{font-size:.78rem;padding:.42rem .5rem}}@media(max-width:760px){.blog-home-shell{width:min(100% - 2.2rem,620px);padding:1.15rem 1rem;border-radius:18px}.blog-post-grid{grid-template-columns:minmax(0,1fr)}}


/* Neuriox link and button treatment for WordPress content */
.entry-content table a,
.entry-content .wp-block-table a,
.wp-block-table table a,
article table a,
.woocommerce table a {
  color: var(--cyan-soft) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--accent) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-shadow .18s ease, text-decoration-color .18s ease;
}
.entry-content table a:hover,
.entry-content .wp-block-table a:hover,
.wp-block-table table a:hover,
article table a:hover,
.woocommerce table a:hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, .85);
}

.entry-content a.wp-element-button,
.entry-content .wp-block-button__link,
.entry-content .btn,
.entry-content .btn-primary,
.entry-content button,
.entry-content input[type="submit"],
.entry-content input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  padding: .55rem 1.35rem !important;
  color: #0b1120 !important;
  background: linear-gradient(135deg, #38bdf8, #a855f7) !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 12px 35px rgba(56, 189, 248, .30), 0 0 18px rgba(168, 85, 247, .18) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}
.entry-content a.wp-element-button:hover,
.entry-content .wp-block-button__link:hover,
.entry-content .btn:hover,
.entry-content .btn-primary:hover,
.entry-content button:hover,
.entry-content input[type="submit"]:hover,
.entry-content input[type="button"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover {
  color: #06111f !important;
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 28px rgba(56, 189, 248, .55), 0 16px 40px rgba(168, 85, 247, .30) !important;
}

/* Keep the header cart as one dedicated control. */
.shared-cart {
  border: 1px solid rgba(148, 163, 184, .35);
  box-shadow: 0 0 14px rgba(56, 189, 248, .08);
}
.shared-cart:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, .35);
}


/* Allgemeine sichtbare Links in WordPress-Inhalten */
.entry-content a:not(.wp-element-button):not(.wp-block-button__link):not(.btn):not(.btn-primary):not(.btn-secondary):not(.button):not(.blog-read-more),
.woocommerce-content a:not(.wp-element-button):not(.wp-block-button__link):not(.btn):not(.btn-primary):not(.btn-secondary):not(.button),
.woocommerce-page .entry-content a:not(.button):not(.wp-element-button):not(.wp-block-button__link) {
  color: var(--cyan-soft) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--accent) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-shadow .18s ease, text-decoration-color .18s ease;
}
.entry-content a:not(.wp-element-button):not(.wp-block-button__link):not(.btn):not(.btn-primary):not(.btn-secondary):not(.button):not(.blog-read-more):hover,
.woocommerce-content a:not(.wp-element-button):not(.wp-block-button__link):not(.btn):not(.btn-primary):not(.btn-secondary):not(.button):hover,
.woocommerce-page .entry-content a:not(.button):not(.wp-element-button):not(.wp-block-button__link):hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, .85);
}


/* Kontrastkorrektur für WooCommerce und Bestellseiten */
.woocommerce,
.woocommerce-page,
.woocommerce-content,
.woocommerce-order,
.woocommerce-checkout,
.woocommerce-cart,
.woocommerce-account {
  color: var(--text) !important;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4,
.woocommerce h5,
.woocommerce h6,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3,
.woocommerce-page h4,
.woocommerce-page h5,
.woocommerce-page h6,
.woocommerce-order h1,
.woocommerce-order h2,
.woocommerce-order h3,
.woocommerce-order h4,
.woocommerce-order h5,
.woocommerce-order h6,
.woocommerce-order strong,
.woocommerce-order b {
  color: var(--text) !important;
}

/* Bestellübersicht, Warenkorb und Checkout immer mit dunkler Oberfläche. */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table,
.woocommerce table.woocommerce-table,
.woocommerce-page table.woocommerce-table,
.woocommerce-order table.shop_table,
.woocommerce-order .woocommerce-table,
.woocommerce-checkout-review-order-table,
.woocommerce-cart-form table,
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details,
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
  color: var(--text) !important;
  background: rgba(15, 23, 42, .92) !important;
  border: 1px solid rgba(148, 163, 184, .42) !important;
  border-radius: var(--radius-md) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-page table.shop_table th,
.woocommerce-page table.shop_table td,
.woocommerce table.woocommerce-table th,
.woocommerce table.woocommerce-table td,
.woocommerce-order .woocommerce-table th,
.woocommerce-order .woocommerce-table td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-cart-form table th,
.woocommerce-cart-form table td {
  color: var(--text) !important;
  background: transparent !important;
  border-color: rgba(148, 163, 184, .28) !important;
}

.woocommerce table.shop_table thead th,
.woocommerce-page table.shop_table thead th,
.woocommerce-order .woocommerce-table thead th,
.woocommerce-checkout-review-order-table thead th {
  color: #ffffff !important;
  background: rgba(30, 41, 59, .88) !important;
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td,
.woocommerce-page table.shop_table tfoot th,
.woocommerce-page table.shop_table tfoot td,
.woocommerce-order .woocommerce-table tfoot th,
.woocommerce-order .woocommerce-table tfoot td {
  color: #ffffff !important;
  background: rgba(30, 41, 59, .55) !important;
}

.woocommerce table.shop_table a,
.woocommerce-page table.shop_table a,
.woocommerce-order .woocommerce-table a,
.woocommerce-checkout-review-order-table a,
.woocommerce-cart-form table a {
  color: var(--cyan-soft) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--accent) !important;
  text-underline-offset: 3px;
}

.woocommerce table.shop_table a:hover,
.woocommerce-page table.shop_table a:hover,
.woocommerce-order .woocommerce-table a:hover,
.woocommerce-checkout-review-order-table a:hover,
.woocommerce-cart-form table a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, .85);
}

.woocommerce .woocommerce-customer-details address,
.woocommerce-order .woocommerce-customer-details address,
.woocommerce-page address {
  color: var(--text) !important;
  background: rgba(15, 23, 42, .72) !important;
  border: 1px solid rgba(148, 163, 184, .32) !important;
  border-radius: var(--radius-md) !important;
  padding: 1rem !important;
}

.woocommerce label,
.woocommerce-page label,
.woocommerce form .form-row label,
.woocommerce-checkout label {
  color: var(--text) !important;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce-page input.input-text,
.woocommerce-page textarea,
.woocommerce-page select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  color: var(--text) !important;
  background: rgba(2, 6, 23, .78) !important;
  border: 1px solid rgba(148, 163, 184, .55) !important;
}

.woocommerce input::placeholder,
.woocommerce textarea::placeholder,
.woocommerce-page input::placeholder,
.woocommerce-page textarea::placeholder {
  color: #cbd5e1 !important;
  opacity: 1;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-error {
  color: var(--text) !important;
  background: rgba(15, 23, 42, .88) !important;
  border-top-color: var(--accent) !important;
}

.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error a,
.woocommerce-page .woocommerce-info a,
.woocommerce-page .woocommerce-message a,
.woocommerce-page .woocommerce-error a {
  color: var(--cyan-soft) !important;
}


/* Mobile: auch hier nur das Warenkorb-Symbol, kein doppelter Text-Link. */
.shared-mobile-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  width: 44px;
  padding: .45rem;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 9px;
  color: var(--text-muted);
  background: rgba(15, 23, 42, .72);
}
.shared-mobile-cart:hover,
.shared-mobile-cart:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(56, 189, 248, .12);
  box-shadow: 0 0 20px rgba(56, 189, 248, .35);
}
@media (min-width: 1081px) {
  .shared-mobile-cart { display: none; }
}

/* Shared alignment release 20260922-header-cart: identical HTML and WordPress header/footer. */
.shared-header, .shared-header * { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; }
.shared-nav {
  width: min(1160px, calc(100% - 2.7rem));
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: .75rem;
  justify-content: initial;
  transform: none;
}
.shared-brand { justify-self: start; gap: .72rem; }
.shared-brand-title { font-size: .82rem; line-height: 1.2; white-space: nowrap; }
.shared-brand-sub { font-size: .68rem; line-height: 1.2; white-space: nowrap; }
.shared-nav-links { justify-self: end; gap: .15rem; font-size: .82rem; }
.shared-nav-links a { font-size: .82rem; padding: .5rem .55rem; }
.shared-cart {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 9px;
  color: var(--text-muted);
  background: rgba(15,23,42,.72);
  box-shadow: 0 0 14px rgba(56,189,248,.08);
  font-size: 0;
  line-height: 1;
}
.shared-cart-icon { width: 20px; height: 20px; display: block; font-size: initial; }
.shared-cart-label { display: none !important; }
.shared-cart:hover, .shared-cart:focus-visible { color: var(--text); border-color: var(--accent); background: rgba(56,189,248,.12); box-shadow: 0 0 20px rgba(56,189,248,.35); }
.shared-cta { justify-self: end; }
[data-shared-footer] footer .footer-inner, footer .footer-inner {
  width: min(1160px, calc(100% - 2.7rem));
  max-width: none;
  padding-inline: 0;
}
[data-shared-footer] .footer-brand, [data-shared-footer] .footer-links { transform: none; }
@media (max-width: 1080px) {
  .shared-nav {
    width: min(100% - 2rem, 1160px);
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: .55rem;
    padding: .65rem 0;
  }
  .shared-brand { min-width: 0; }
  .shared-nav-links { display: none; }
  .shared-cart { justify-self: end; }
  .shared-menu-toggle { grid-column: 3; grid-row: 1; }
  .shared-cart { grid-column: 2; grid-row: 1; }
  .shared-header .shared-nav > .shared-cta { display: none; }
  .shared-header .shared-brand-title { font-size: 1rem; }
  .shared-header .shared-brand-sub, .shared-header .shared-brand-owner { display: none; }
  .shared-header .shared-brand-logo, .shared-header .shared-brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
}
@media (max-width: 760px) {
  .shared-nav { width: calc(100% - 1.4rem); }
  .shared-brand { gap: .55rem; }
  .shared-header .shared-brand-title { max-width: 13rem; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; }
  .shared-cart { width: 42px; height: 42px; min-width: 42px; }
  [data-shared-footer] footer .footer-inner, footer .footer-inner { width: min(100% - 2.2rem, 620px); padding-inline: 0; }
}
@media (max-width: 420px) {
  .shared-nav { width: calc(100% - 1rem); column-gap: .35rem; }
  .shared-header .shared-brand-title { max-width: 10rem; font-size: .72rem; }
  .shared-cart { width: 40px; height: 40px; min-width: 40px; }
}

/* WooCommerce blocks: Kontrastkorrektur fuer Warenkorb und Kasse, release 20260922-wc-contrast. */
:root {
  --neuriox-wc-surface: #0f172a;
  --neuriox-wc-surface-strong: #111827;
  --neuriox-wc-surface-soft: #1e293b;
  --neuriox-wc-text: #f8fafc;
  --neuriox-wc-text-muted: #cbd5e1;
  --neuriox-wc-border: #64748b;
  --neuriox-wc-link: #bae6fd;
}

/* WooCommerce Blocks outer surfaces. */
.wc-block-cart,
.wc-block-checkout,
.wc-block-cart__main,
.wc-block-cart__sidebar,
.wc-block-checkout__main,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-components-checkout-step,
.wc-block-components-checkout-step__container,
.wc-block-components-totals-wrapper,
.wc-block-components-form,
.wc-block-components-address-form,
.wc-block-components-panel,
.wc-block-components-notice-banner {
  color: var(--neuriox-wc-text) !important;
  background-color: var(--neuriox-wc-surface) !important;
  border-color: var(--neuriox-wc-border) !important;
}

.wc-block-cart,
.wc-block-checkout {
  color: var(--neuriox-wc-text) !important;
}

/* Product text and descriptions in cart and order summary. */
.wc-block-components-product,
.wc-block-components-order-summary-item,
.wc-block-components-product__description,
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-components-product-name,
.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__individual-price,
.wc-block-components-order-summary-item__total-price,
.wc-block-components-product-price,
.wc-block-components-product-price__value,
.wc-block-components-formatted-money-amount,
.wc-block-components-totals-item,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item__label,
.wc-block-components-totals-footer-item__value {
  color: var(--neuriox-wc-text) !important;
}

.wc-block-components-product__description,
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item__description,
.wc-block-components-checkout-step__description,
.wc-block-components-totals-item__description {
  color: var(--neuriox-wc-text-muted) !important;
}

/* Dark surfaces for the visible white order-summary panel and its sections. */
.wc-block-components-order-summary,
.wc-block-components-order-summary__section,
.wc-block-components-order-summary-item,
.wc-block-components-order-summary-item__quantity,
.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-checkout__sidebar > * {
  background-color: var(--neuriox-wc-surface) !important;
  color: var(--neuriox-wc-text) !important;
  border-color: rgba(148, 163, 184, .42) !important;
}

.wc-block-components-order-summary-item,
.wc-block-components-checkout-step,
.wc-block-components-totals-wrapper,
.wc-block-components-radio-control__option,
.wc-block-components-checkbox,
.wc-block-components-select,
.wc-block-components-text-input {
  border-color: rgba(148, 163, 184, .42) !important;
}

/* Headings, labels and links must remain visible on dark surfaces. */
.wc-block-components-checkout-step__heading,
.wc-block-components-checkout-step__heading-content,
.wc-block-components-checkout-step__heading-wrapper,
.wc-block-components-order-summary__title,
.wc-block-components-panel__title,
.wc-block-components-radio-control__label,
.wc-block-components-checkbox__label,
.wc-block-components-address-form__address_1,
.wc-block-components-shipping-rates-control__package,
.wc-block-components-shipping-rates-control__package-title,
.wc-block-components-shipping-rates-control__package-details,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  color: var(--neuriox-wc-text) !important;
}

.wc-block-cart a,
.wc-block-checkout a,
.wc-block-components-order-summary a,
.wc-block-components-product a,
.wc-block-components-totals-wrapper a,
.wc-block-components-notice-banner a {
  color: var(--neuriox-wc-link) !important;
  text-decoration-color: var(--accent) !important;
}

.wc-block-cart a:hover,
.wc-block-checkout a:hover,
.wc-block-components-order-summary a:hover,
.wc-block-components-product a:hover,
.wc-block-components-totals-wrapper a:hover,
.wc-block-components-notice-banner a:hover {
  color: #ffffff !important;
}

/* Quantity controls and remove buttons. */
.wc-block-components-quantity-selector,
.wc-block-components-quantity-selector input,
.wc-block-components-quantity-selector button,
.wc-block-cart-item__remove-link,
.wc-block-components-product-metadata a {
  color: var(--neuriox-wc-text) !important;
  background-color: var(--neuriox-wc-surface-soft) !important;
  border-color: rgba(148, 163, 184, .55) !important;
}

.wc-block-components-quantity-selector input {
  background-color: #020617 !important;
}

/* Checkout fields: dark field containers, readable text and placeholders. */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-combobox-control,
.wc-block-components-select,
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-select select,
.wc-block-checkout input,
.wc-block-checkout textarea,
.wc-block-checkout select {
  color: var(--neuriox-wc-text) !important;
  background-color: #020617 !important;
  border-color: rgba(148, 163, 184, .65) !important;
}

.wc-block-components-text-input input::placeholder,
.wc-block-components-combobox input::placeholder,
.wc-block-checkout input::placeholder,
.wc-block-checkout textarea::placeholder {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-select label,
.wc-block-checkout label {
  color: var(--neuriox-wc-text-muted) !important;
}

/* Payment options and notices. */
.wc-block-components-radio-control,
.wc-block-components-radio-control__option,
.wc-block-components-radio-control__label-group,
.wc-block-components-checkbox,
.wc-block-components-checkout-step__container .wc-block-components-radio-control {
  color: var(--neuriox-wc-text) !important;
  background-color: var(--neuriox-wc-surface) !important;
}

.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control__option:hover,
.wc-block-components-checkbox:hover {
  background-color: var(--neuriox-wc-surface-soft) !important;
}

.wc-block-components-notice-banner {
  border: 1px solid rgba(56, 189, 248, .55) !important;
  background-color: rgba(15, 23, 42, .95) !important;
}

.wc-block-components-notice-banner__content,
.wc-block-components-notice-banner__content .wc-block-components-notice-banner__text {
  color: var(--neuriox-wc-text) !important;
}

/* Keep Stripe/payment-provider controls readable where they are rendered by WooCommerce. */
.wc-block-components-payment-method-label,
.wc-block-components-payment-method-label__text,
.wc-block-components-payment-method-icons,
.wc-block-components-payment-methods__title,
.wc-block-components-express-payment__title {
  color: var(--neuriox-wc-text) !important;
}

/* Prevent theme-level white backgrounds from returning on checkout blocks. */
.wc-block-cart *,
.wc-block-checkout * {
  border-color: inherit;
}

@media (max-width: 760px) {
  .wc-block-components-order-summary,
  .wc-block-components-checkout-step__container,
  .wc-block-components-sidebar,
  .wc-block-components-totals-wrapper {
    border-radius: var(--radius-md) !important;
  }
}
