@charset "UTF-8";
/* ==========================================================================
   Alpin Code – SCSS Entry (BSS Build)
   Reihenfolge: Fonts → Tokens → Mixins → Layout → Komponenten → Utils
   ========================================================================== */
/* Lokale Poppins WOFF2 (Pfad ggf. anpassen: ../fonts/poppins/…) */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-v23-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-v23-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/poppins-v23-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* ======================================================================
   _tokens.scss – Alpin Code / WSA Palette
   - SCSS-Variablen/Maps (Build-Zeit)
   - Export als CSS-Variablen (Runtime)
   - Basistypo + (optional) Dark Mode
   ====================================================================== */
/* 1) SCSS: Fonts */
/* 2) WSA-Farben (aus Spezifikation) */
/* 3) AC/Legacy-Palette (Kompatibilität für bestehende Klassen) */
/* 4) CSS-Variablen: Runtime/Theming */
:root {
  /* WSA-Variablen (primär nutzen) */
  --wsa-grey: #F8F9FA;
  --wsa-black: #000000;
  --wsa-text: #7A7A7A;
  --wsa-blue: #81AFDE;
  --wsa-blue-dark: #1e73be;
  --wsa-white: #FFFFFF;
  /* Legacy/AC-Variablen (Kompatibilität) */
  --ac-blue: #1e73be;
  --ac-blue-light: #81AFDE;
  --ac-green: #2ECC71;
  --ac-text: #7A7A7A;
  --ac-bg: #F8F9FA;
  /* Brücken/Aliasse – AC nutzt intern WSA-Töne */
  --ac-blue: var(--wsa-blue-dark);
  --ac-blue-light: var(--wsa-blue);
  --ac-text: var(--wsa-text);
  --ac-bg: var(--wsa-grey);
  --ac-radius: 20px;
  --ac-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --ac-container: 1200px;
  --ac-blue: var(--wsa-blue, #81AFDE);
  --ac-text: var(--wsa-text, #7A7A7A);
  --ac-radius: 20px;
  --ac-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --ac-icon: 40px;
  --ac-badge: 56px;
}

/* 5) Basistypografie & Hintergrund */
html, body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--wsa-text);
  background: var(--wsa-white); /* Seiten-Hintergrund gemäß Vorgabe */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ac-blue);
  line-height: 1.15;
}

a {
  color: var(--ac-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* in _tokens.scss oder _typography.scss */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--wsa-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  font-family: "Poppins", sans-serif;
  color: var(--wsa-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

a {
  color: var(--wsa-blue);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--wsa-blue-dark);
  text-decoration: underline;
}

/* Wiederverwendbare Bausteine */
/* =============================================================
HERO + MATRIX (Full‑width, nur WebP, token‑basiert)
Abhängigkeiten: _tokens.scss (WSA/AC Vars), _mixins.scss (fluid‑type)
============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  /* Höhe kontrolliert, statt 100vh */
  min-height: clamp(420px, 70svh, 760px);
}

/* Full‑bleed Bild als eigenständige Schicht */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inhalt über dem Bild */
.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  font-weight: 700;
  color: var(--wsa-white);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero__lead {
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  margin-top: 0.5rem;
  color: var(--wsa-white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .cta {
  margin-top: 20px;
}

/* Optionales globales Overlay zur Kontraststeigerung */
.hero--matrix::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
}

/* Matrix-Layer: über Bild, unter Inhalt */
.matrix {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  --matrix-color: rgba(0,255,120,.85);
}

.matrix span {
  position: absolute;
  /* Start leicht oberhalb des Viewports */
  top: -10%;
  left: 0;
  transform: translateX(-50%); /* zentriert die Spalte */
  color: var(--matrix-color);
  font: 20px/1 "Courier New", Courier, monospace;
  /* WICHTIG: wir animieren 'top', nicht 'transform: translateY' */
  animation-name: matrix-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: top, opacity;
}

@media (max-width: 576px) {
  .matrix span {
    font-size: 16px;
  }
}
/* volle Containerhöhe, sauberer Fade */
@keyframes matrix-fall {
  0% {
    top: -10%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}
/* Container/Sections/Hero/Ratio-Images */
.container {
  max-width: var(--ac-container);
}

.section-pad {
  padding-block: clamp(2rem, 4vw, 5rem);
}

.section-muted {
  background: linear-gradient(180deg, #eaf3fc 0%, transparent 100%);
}

.hero-grad {
  background: linear-gradient(180deg, #eaf3fc 0%, transparent 100%);
}

.ratio > img {
  object-fit: cover;
  border-radius: var(--ac-radius);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.section--cards {
  padding-block: clamp(2rem, 4vw, 4rem);
}

.section--wp-bs {
  background: var(--wsa-white, #F8F9FA);
  padding-block: clamp(2rem, 6vw, 5rem);
}
.section--wp-bs h2 {
  margin-bottom: 0.25rem;
}
.section--wp-bs .lead {
  color: var(--ac-text);
  margin-bottom: 0.75rem;
}
.section--wp-bs .tech-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.section--wp-bs .tech-badges .tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ac-blue) 30%, transparent);
  background: color-mix(in srgb, var(--ac-blue) 6%, #fff);
  font-size: 0.875rem;
}
.section--wp-bs .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.section--wp-bs .feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.4rem;
}
.section--wp-bs .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--ac-blue);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M20.285 6.708a1 1 0 0 1 .007 1.414l-9 9a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L10.5 14.207l8.293-8.293a1 1 0 0 1 1.492.794z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--wp-bs .actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.section--wp-bs .wpbs-figure {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ac-shadow, 0 8px 24px rgba(0, 0, 0, 0.08));
}
.section--wp-bs .wpbs-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional: Variante mit Bild links (einfach Klassen drehen)
   <div class="col-lg-6 order-lg-2">Text</div>
   <div class="col-lg-6 order-lg-1">Bild</div> */
/* === Philosophie Section === */
#philosophie {
  position: relative;
  background-image: url("../../assets/img//ui/ac-philosophie.webp?h=7f79f58ac263d7943bc24012b8a05b27");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--ac-text, #333);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  /* Overlay für bessere Lesbarkeit */
  /* === Responsive Anpassungen === */
}
#philosophie::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3px);
}
#philosophie .overlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--ac-radius, 1rem);
}
#philosophie .overlay h2 {
  font-weight: 600;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  margin-bottom: 1rem;
}
#philosophie .overlay p {
  font-size: clamp(1rem, 0.8vw + 0.8rem, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}
@media (max-width: 992px) {
  #philosophie {
    background-attachment: scroll; /* iOS Fix */
    padding: 3rem 1rem;
  }
}
@media (prefers-color-scheme: dark) {
  #philosophie {
    color: #f5f5f5;
  }
  #philosophie::before {
    background: rgba(0, 0, 0, 0.6);
  }
}

/* ======================================================================
   _buttons.scss
   - Standard-Buttons + WSA-Spezial-Button gemäß Vorgabe
   ====================================================================== */
/* Generelle Button-Grundlage */
.btn {
  border-radius: var(--ac-radius);
}

/* Primärer AC-Button (bestehend) */
.btn-primary {
  background: var(--ac-blue);
  color: #fff;
  border: 0;
  border-radius: var(--ac-radius);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: 0.2s;
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: var(--ac-shadow);
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.35);
}

/* Outline-Variante (bestehend) */
.btn-outline-primary {
  color: var(--ac-blue);
  background: transparent;
  border: 2px solid var(--ac-blue);
  border-radius: var(--ac-radius);
  padding: 0.65rem 1.15rem;
  font-weight: 400;
  transition: 0.2s;
}
.btn-outline-primary:hover {
  background: var(--ac-blue);
  color: #fff;
}
.btn-outline-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.35);
}

/* Pill-Utility */
.btn-pill {
  border-radius: 999px !important;
}

/* === WSA-Button nach Spezifikation =====================================
   Normal: BG WSA_GREY, Border 1px WSA_BLACK, Text WSA_TEXT
   Hover : BG WSA_BLUE, Border 1px WSA_BLACK, Text WSA_WHITE
   Active: BG WSA_BLUE_DARK,        Text WSA_WHITE
   Hinweis: Nutzt WSA-CSS-Variablen aus _tokens.scss
======================================================================= */
.btn-wsa {
  background: var(--wsa-grey);
  color: var(--wsa-text);
  border: 1px solid var(--wsa-black);
  border-radius: var(--ac-radius);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: 0.2s ease;
}
.btn-wsa:hover {
  background: var(--wsa-blue);
  color: var(--wsa-white);
  border-color: var(--wsa-black);
  transform: translateY(-1px);
  box-shadow: var(--ac-shadow);
}
.btn-wsa:active, .btn-wsa.active {
  background: var(--wsa-blue-dark);
  color: var(--wsa-white);
  transform: translateY(0);
}
.btn-wsa:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.35);
}

.btn-ac {
  --btn-bg: var(--ac-blue);
  --btn-border: var(--ac-blue);
  --btn-text: #fff;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
}
.btn-ac:hover {
  filter: brightness(0.96);
}
.btn-ac:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(129, 175, 222, 0.35);
}

.btn-ac-outline {
  --btn-border: var(--ac-blue);
  --btn-text: var(--ac-blue);
  background: transparent;
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
}
.btn-ac-outline:hover {
  background: color-mix(in srgb, var(--ac-blue) 8%, transparent);
}
.btn-ac-outline:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(129, 175, 222, 0.35);
}

.card {
  border: 0;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.card-plain {
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.35rem 0;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0.4rem;
  top: 0.1rem;
  color: var(--ac-green);
  font-weight: 700;
}

.ac-card {
  border: 0;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  background: #fff;
  padding: 1rem;
  /* Spacing-Varianten (falls benötigt) */
}
.ac-card .ac-icon-wrap {
  width: var(--ac-badge);
  height: var(--ac-badge);
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(129, 175, 222, 0.18), rgba(129, 175, 222, 0.06));
  color: #81AFDE;
  margin-bottom: 0.75rem;
}
.ac-card .ac-icon {
  width: var(--ac-icon);
  height: var(--ac-icon);
}
.ac-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.ac-card p {
  color: var(--ac-text);
  margin-bottom: 0.75rem;
}
.ac-card.is-tight {
  padding: 0.75rem;
}
.ac-card.is-roomy {
  padding: 1.25rem;
}

/* Variante: zentriert */
.ac-card.is-centered {
  text-align: center;
}
.ac-card.is-centered .ac-icon-wrap {
  margin: 0 auto 0.75rem;
}
.ac-card.is-centered .btn-ac,
.ac-card.is-centered .btn-ac-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* weiche Card auf dunklem Hintergrund */
.ac-on-dark .ac-card {
  background: rgba(255, 255, 255, 0.9);
}

/* Grid-Helper für gleich hohe Cards */
.ac-card-grid .row {
  align-items: stretch;
}

/* Cards List */
.section--cards .list-check {
  margin: 0 0 1rem 0;
  padding: 0;
}

.section--cards .list-check li {
  list-style: none; /* wir bauen den Bullet selbst */
  display: flex;
  gap: 0.5rem;
  align-items: flex-start; /* Haken an der Textoberkante */
  margin: 0.35rem 0;
}

.section--cards .list-check li::before {
  content: "✓";
  color: var(--ac-green); /* oder var(--color-primary) */
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto; /* fixe Breite, kein Umbruch */
  margin-top: 0.1rem; /* leicht feinjustieren */
}

/* Badge selbst mittig im Card-Body platzieren */
.icon-badge {
  display: grid; /* zentriert den Inhalt */
  place-items: center; /* horizontal + vertikal */
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin: 0 auto 0.75rem; /* zentriert die Badge */
  background: color-mix(in srgb, var(--color-primary, #1e73be) 12%, transparent);
  color: var(--color-primary, #1e73be);
}

/* SVG im Badge sauber rendern */
.icon-badge svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Icon-Größe im Badge */
.icon-24 {
  width: 24px;
  height: 24px;
}

/* Cards ein wenig „strecken“, ohne Struktur zu ändern */
.content-card {
  display: flex;
  flex-direction: column;
}

.content-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.content-card p {
  margin-bottom: 0;
}

/* Nur fuer die Glass Navbar, damit andere Navbars nicht beeinflusst werden */
.navbar.navbar-glass {
  /* Grundzustand: lesbar, aber noch glasig */
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(170%) blur(10px);
  -webkit-backdrop-filter: saturate(170%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

/* Beim Scrollen: noch etwas dichter, mehr Kontrast */
.navbar.navbar-glass.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Brand + Links kontrastreicher */
.navbar.navbar-glass .navbar-brand {
  font-weight: 700;
  color: var(--ac-blue);
}

.navbar.navbar-glass .navbar-brand:hover {
  color: var(--ac-blue);
  text-decoration: none;
}

.navbar.navbar-glass .nav-link {
  font-weight: 600;
  color: rgba(15, 15, 15, 0.88);
}

.navbar.navbar-glass .nav-link:hover,
.navbar.navbar-glass .nav-link:focus {
  color: var(--ac-blue);
}

.navbar.navbar-glass .nav-link.active {
  color: var(--ac-blue);
}

/* Spacing statt SCSS mixin */
@media (min-width: 768px) {
  .navbar.navbar-glass .nav-link {
    padding-inline: 0.75rem;
  }
}
/* Dropdown lesbar (auch im Glas Look) */
.navbar.navbar-glass .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(170%) blur(10px);
  -webkit-backdrop-filter: saturate(170%) blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

/* Optional: etwas klarere Divider */
.navbar.navbar-glass .dropdown-divider {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-control, .form-select, .form-check-input {
  border-radius: var(--ac-radius);
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
  border-color: var(--ac-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.35);
}

.form-text {
  color: #6f6f6f;
}

.is-invalid {
  border-color: #dc3545;
}

.is-valid {
  border-color: #198754;
}

.badge-ac {
  background: var(--ac-blue-light);
  color: #0d2a47;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-weight: 600;
}

.icon-xl {
  font-size: 2rem;
  line-height: 1;
}

.text-muted-2 {
  color: #5f5f5f;
}

.text-on-blue {
  color: #f4f8ff;
}

.icon {
  width: 1em;
  height: 1em;
}

.icon-xs {
  width: 16px;
  height: 16px;
}

.icon-sm {
  width: 24px;
  height: 24px;
}

.icon-md {
  width: 32px;
  height: 32px;
}

.icon-lg {
  width: 40px;
  height: 40px;
}

.icon-xl {
  width: 56px;
  height: 56px;
}

.rounded-2xl {
  border-radius: 20px;
}

.bg-soft-ac {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac-blue) 18%, transparent), color-mix(in srgb, var(--ac-blue) 6%, transparent));
}

.text-ac {
  color: var(--ac-blue);
}

/* ======================================================================
_footer.scss – site-footer (scoped, BSS-ready)
Nutzt WSA/AC Tokens aus _tokens.scss
====================================================================== */
/* Projekt-Variablen/Fallbacks für Footer-Farben */
:root {
  --footer-bg: #292c2f; /* dunkles Slate, wie im Snippet */
  --footer-text: #cccccc; /* Link/Text hellgrau */
  --footer-head: #ffffff; /* h3/h4 weiss */
  --footer-chip: #33383b; /* Social-Icon-Boxen */
}

/* Wrapper-Klasse statt elementselektor, damit nichts anderes leidet */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--wsa-white);
  padding: 55px 0; /* wie Vorlage */
  margin-top: 2px;
  font: bold 16px "Poppins", sans-serif; /* nur lokal im Footer */
}

/* Container im Footer schmaler – nur HIER, nicht global */
@media (min-width: 1200px) {
  .site-footer .container {
    max-width: 1200px;
  }
}
/* Headings im Footer */
.site-footer h3,
.site-footer h4 {
  margin-bottom: 20px;
  color: var(--footer-head);
}

/* Paragraphen & Links im Footer */
.site-footer p,
.site-footer a {
  color: var(--footer-text);
  font-size: 14px;
}

/* Linkfarben/hover – nutze WSA-Töne */
.site-footer a {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.site-footer a:hover {
  color: var(--wsa-blue);
  text-decoration: underline;
}

/* Social Icons */
.site-footer .social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.site-footer .social-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: var(--wsa-white);
  background-color: var(--footer-chip);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  text-decoration: none;
  margin: 5px;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.site-footer .social-links .social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-footer .social-links .social-link:hover,
.site-footer .social-links .social-link:focus-visible {
  color: #ffffff;
  background-color: #0a66c2;
  border-color: #0a66c2;
  text-decoration: none;
  transform: translateY(-1px);
}

.site-footer .social-links .social-link:focus-visible {
  outline: 2px solid rgba(10, 102, 194, 0.45);
  outline-offset: 3px;
}

/* Spacing-Feinschliff */
.site-footer .list-unstyled li {
  margin-bottom: 0.35rem;
}

.site-footer .brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Section-Rahmen */
.section--plans {
  padding-block: clamp(2rem, 5vw, 4rem);
}

/* Card-Basis */
.plan {
  --accent: var(--color-primary); /* per Paket überschrieben */
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Header */
.plan__head {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
}

.plan__title {
  margin: 0;
  font-size: 1.125rem;
}

/* Preiszeile */
.plan__price {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Checkliste – Marker farbig, sauber umbrechend */
.plan .list-check {
  margin: 0 0 1rem 0;
  padding-left: 1.1rem;
}

.plan .list-check li {
  margin: 0.35rem 0;
}

.plan .list-check li::marker {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* CTA immer unten */
.plan__cta {
  margin-top: auto;
}

.btn-plan {
  display: inline-block;
  width: 100%;
  background: var(--wsa-grey);
  color: var(--wsa-text);
  border: 1px solid var(--wsa-black);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: 0.2s;
}

.btn-plan:hover {
  background: var(--accent);
  color: var(--wsa-white);
}

.btn-plan:active {
  background: color-mix(in srgb, var(--accent) 85%, #000 15%);
}

/* kleine Footnote */
.plan__note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--text-primary);
  opacity: 0.9;
}

/* Paket-spezifische Akzente */
.plan--basic {
  --accent: var(--ac-green);
} /* 🟢 */
.plan--business {
  --accent: var(--wsa-blue-dark);
} /* 🔵 */
.plan--premium {
  --accent: #7E57C2;
} /* 🟣: lokale Var, wenn du willst als Token anlegen */
/* „Empfohlen“-Badge (optional) */
.plan--business .plan__badge {
  display: inline-block;
  margin-left: auto;
  background: var(--accent);
  color: var(--wsa-white);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Nur in der Plans-Sektion Marker verwenden, altes ::before abschalten */
.section--plans .list-check {
  padding-left: 1.1rem;
  list-style: initial;
}

.section--plans .list-check li {
  position: static;
  padding-left: 0;
}

.section--plans .list-check li::before {
  content: none !important;
} /* killt altes Häkchen */
.section--plans .list-check li::marker {
  content: "✓ ";
  color: var(--accent); /* aus deinen Plan-Varianten */
  font-weight: 700;
}

/* ===== Alpin‑Code Vergleichstabelle – Tokens & Farben ===== */
:root {
  --col-p1: var(--wsa-blue-dark, #1e73be);
  --col-p2: var(--wsa-blue, #81AFDE);
  --col-p3: #7E57C2; /* optional: als Token definieren */
  --col-p4: #2ECC71; /* optional: ac-green */
  --border-soft: color-mix(in srgb, var(--border-color, rgba(0,0,0,.12)) 60%, #000 15%);
}

.section--plans-compare {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.comp-wrap {
  overflow-x: auto;
}

/* ===== Tabelle Basis ===== */
.comp-table {
  width: 100%;
  min-width: 760px; /* mobil: horizontal scrollen */
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
  border-radius: var(--ac-radius, 0.75rem);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--surface-bg, #fff);
  box-shadow: var(--ac-shadow, 0 8px 24px rgba(0, 0, 0, 0.08));
}

.comp-table th, .comp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
  vertical-align: middle;
  text-align: center;
}

.comp-table .comp-feature {
  text-align: left;
  width: 28%;
  min-width: 220px;
}

/* Sticky Kopf & Feature‑Spalte */
.comp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface-bg, #fff);
}

.comp-table td:first-child, .comp-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: inherit;
  text-align: left;
}

/* Kopf: Akzente */
.comp-accent {
  color: var(--wsa-white, #fff);
  font-weight: 700;
  padding: 0.75rem 1rem;
}

.comp-accent--p1 {
  background: var(--col-p1);
}

.comp-accent--p2 {
  background: var(--col-p2);
  color: #0b2a3f;
}

.comp-accent--p3 {
  background: var(--col-p3);
}

.comp-accent--p4 {
  background: var(--col-p4);
}

.comp-plan {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.comp-sub {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
}

.comp-price {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.15rem;
}

/* Zebra */
.comp-table tbody tr:nth-child(odd) {
  background: color-mix(in srgb, var(--surface-bg, #fff) 92%, #000 8%);
}

/* Häkchen einfärben pro Spalte */
[data-col=p1] .check {
  color: var(--col-p1);
  font-weight: 700;
}

[data-col=p2] .check {
  color: var(--col-p2);
  font-weight: 700;
}

[data-col=p3] .check {
  color: var(--col-p3);
  font-weight: 700;
}

[data-col=p4] .check {
  color: var(--col-p4);
  font-weight: 700;
}

/* ===== 2px Rahmen links & unten je Angebots‑Spalte ===== */
.comp-table thead th:nth-child(n+2),
.comp-table tbody td:nth-child(n+2) {
  border-left: 2px solid var(--border-soft);
}

.comp-table thead th:last-child,
.comp-table tbody td:last-child {
  border-right: 2px solid var(--border-soft);
}

.comp-table tbody tr:last-child td:nth-child(n+2) {
  border-bottom: 2px solid var(--border-soft) !important;
}

/* zarte vertikale Kanten */
.comp-table thead th:nth-child(n+2),
.comp-table tbody td:nth-child(n+2) {
  box-shadow: inset 8px 0 10px -10px rgba(0, 0, 0, 0.1), inset -8px 0 10px -10px rgba(0, 0, 0, 0.1);
}

/* Footer/CTA */
.package-btn {
  background: var(--surface-bg, #fff);
}

.package-btn .btn {
  font-weight: 700;
}

/* Mobile Feintuning */
@media (max-width: 576px) {
  .comp-table {
    font-size: 0.95rem;
  }
  .comp-price {
    font-size: 1.05rem;
  }
}
#plan-compare {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 0.55s ease, opacity 0.35s ease, transform 0.35s ease;
  will-change: max-height, opacity, transform;
}
#plan-compare.is-open {
  max-height: 9999px;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  #plan-compare {
    transition: none;
    transform: none;
  }
}
#plan-compare {
  transition: max-height 0.55s ease, opacity 0.35s ease, transform 0.35s ease, padding 0.35s ease;
  will-change: max-height, opacity, transform, padding;
}

#plan-compare.is-closed {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  /* wichtig, weil section-pad sonst sichtbar bleibt */
  padding-top: 0;
  padding-bottom: 0;
}

#plan-compare.is-open {
  overflow: visible;
  max-height: 9999px;
  opacity: 1;
  transform: none;
}

/* Progress-Balken fuer den Wizard */
.ac-progress {
  position: relative;
  padding-top: 1.5rem;
}

.ac-progress-line {
  position: absolute;
  top: 0.95rem;
  left: 0;
  right: 0;
  height: 3px;
  background: #dde4f0;
  border-radius: 999px;
}

.ac-progress-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.ac-progress-step {
  position: relative;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

.ac-progress-step::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 999px;
  border: 3px solid #dde4f0;
  background: #fff;
}

.ac-progress-step.is-done::before,
.ac-progress-step.is-active::before {
  border-color: #1e73be;
  background: #1e73be;
}

.ac-progress-step.is-done,
.ac-progress-step.is-active {
  color: #1e73be;
}

.ac-progress-step .label {
  display: inline-block;
  margin-top: 0.8rem;
}

/* Produktkarten-Backgrounds nach Produkt-ID */
.ac-card.ac-selected-card {
  position: relative;
  overflow: hidden;
  background: #f8f9fb;
}

/* Allmagellerhorn */
.ac-card.ac-selected-card.allmagellerhorn {
  background-image: url("/assets/svg/allmagellerhorn-bg.svg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 30%;
}

/* Weissmies */
.ac-card.ac-selected-card.weissmies {
  background-image: url("/assets/svg/weissmies-bg.svg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 30%;
}

/* Dom */
.ac-card.ac-selected-card.dom {
  background-image: url("/assets/svg/dom-bg.svg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 30%;
}

/* Mischabel */
.ac-card.ac-selected-card.mischabel {
  background-image: url("/assets/svg/mischabel-bg.svg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 30%;
}

/* Grund-Setup fuer Icon-Container */
.ac-icon-wrap {
  width: 3.5rem; /* bisher evtl. kleiner */
  height: 3.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e6f0ff; /* leichter Hintergrundkreis */
  flex-shrink: 0;
}

/* Icon groesse */
.ac-icon {
  width: 2.2rem; /* hier einfach hochdrehen */
  height: 2.2rem;
}

/* Wenn du NUR beim ausgewählten Produkt groesser willst: */
.ac-selected-card .ac-icon-wrap {
  width: 5rem;
  height: 5rem;
}

.ac-selected-card .ac-icon {
  width: 1.6rem;
  height: 1.6rem;
}

/* ============================
   Shape Divider (Waves)
   - nutzt CSS mask-image (mit -webkit-mask Fallback)
   - frei skalierbar (preserveAspectRatio="none")
   ============================ */
/* Wave-Pfade (du kannst weitere hinzufügen) */
/* Map der Varianten */
/* Hilfsfunktion: baut eine data:URI für mask-image */
/* holt den Pfad aus der Map, fällt zurück auf 'default' */
/* =========================================
   MIXIN: wave-divider
   @param $pos:       top | bottom
   @param $height:    Höhe der Welle (z.B. 80px / 12vw)
   @param $color:     sichtbare Farbe (kann CSS-Variable sein)
   @param $variant:   'default' | 'soft' | 'tilt' | (eigene)
   @param $z:         Z-Index
   @param $opacity:   0..1
   @param $layer:     after | before  (welches Pseudo-Element)
   @param $overflow:  visible | hidden (optional)
   ========================================= */
.btn-scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1030;
  border-radius: 9px;
  padding: 0.6rem 0.8rem;
  font-size: 1.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  /* Farbe anpassen */
  background-color: #1e73be; /* Primärfarbe */
  border-color: #1e73be;
  color: #ffffff; /* Icon / Pfeil */
}

/* Hover / Focus Zustand */
.btn-scroll-top:hover,
.btn-scroll-top:focus {
  background-color: #15538a; /* etwas dunkler */
  border-color: #15538a;
  color: #ffffff;
}

/* sichtbarer Zustand */
.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==== Globales Basisset ==== */
:root {
  --bs-font-sans-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* Box-Sizing: gut, lassen wir global */
*, ::before, ::after {
  box-sizing: border-box;
}

/* Typo: nur Überschriften, via Tokens + Fallback */
h1, h2, h3, h4 {
  font-family: inherit; /* erbt jetzt Poppins */
  color: var(--text-primary, #3a3a3a);
  line-height: 1.2;
}

/* WICHTIG: .container nicht global verändern.
   Wenn du schmaler möchtest, nutze eine eigene Klasse, z. B. .container-narrow
   und style NUR diese (oder scopen im Footer: .site-footer .container { ... }) */
/* ==== Card – nach Standard (Tokens, A11y, Motion) ==== */
/* Tipp: im Markup am besten mit Bootstrap kombinieren:
   <div class="card content-card h-100"> … </div>
*/
.content-card {
  background: var(--surface-bg, #fff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
  border-radius: var(--radius, 0.5rem);
  box-shadow: var(--shadow, 0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover/Focus – dezent, aber spürbar */
.content-card:hover,
.content-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Reduced Motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .content-card {
    transition: none;
  }
  .content-card:hover,
  .content-card:focus-within {
    transform: none;
  }
}
/* Bilder schön croppen, wenn du <img class="card-img-top"> nutzt */
.content-card .card-img-top {
  object-fit: cover;
  border-top-left-radius: var(--radius, 0.5rem);
  border-top-right-radius: var(--radius, 0.5rem);
}

/* Kleinere Helfer (optional) */
.content-card .card-title {
  margin-bottom: 0.25rem;
}

.content-card .card-text {
  color: var(--text-primary, #3a3a3a);
  opacity: 0.9;
}

/* Vollbreiter, dezenter Abschnitt */
.section--muted {
  background: var(--surface-muted, var(--wsa-grey));
}

/* Dark-Mode Feinschliff (optional) */
@media (prefers-color-scheme: dark) {
  .content-card {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }
  .content-card:hover,
  .content-card:focus-within {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
}
:root {
  --wsa-blue-dark:#1e73be;
  --wsa-blue:#81AFDE;
  --wsa-grey:#F8F9FA;
  --wsa-white:#ffffff;
  --ac-green:#2ECC71;
  --border-color:rgba(0,0,0,.12);
  --surface-bg:#ffffff;
  --ac-radius:.75rem;
  --ac-shadow:0 8px 24px rgba(0,0,0,.08);
  --col-p1:var(--wsa-blue-dark);
  --col-p2:var(--wsa-blue);
  --col-p3:#7E57C2;
  --col-p4:var(--ac-green);
}

.section-pad {
  padding-block: min(6vw, 4rem);
}

.section--plans-compare {
  display: block;
  background: var(--wsa-grey);
}

.comp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Desktop/Tablet: Tabelle ===== */
.comp-table {
  width: 100%;
  min-width: 760px;
  border: 1px solid var(--border-color);
  border-radius: var(--ac-radius);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--surface-bg);
  box-shadow: var(--ac-shadow);
  color: #2b2b2b;
}
.comp-table th, .comp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  text-align: center;
}
.comp-table .comp-feature {
  text-align: left;
  width: 28%;
  min-width: 220px;
}
.comp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface-bg);
}
.comp-table td:first-child, .comp-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: inherit;
  text-align: left;
}
.comp-table .comp-accent {
  color: var(--wsa-white);
  font-weight: 700;
  padding: 0.75rem 1rem;
}
.comp-table .comp-accent--p1 {
  background: var(--col-p1);
}
.comp-table .comp-accent--p2 {
  background: var(--col-p2);
  color: #0b2a3f;
}
.comp-table .comp-accent--p3 {
  background: var(--col-p3);
}
.comp-table .comp-accent--p4 {
  background: var(--col-p4);
}
.comp-table .comp-plan {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.comp-table .comp-sub {
  display: block;
  font-size: 0.875rem;
  opacity: 0.95;
}
.comp-table .comp-price {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.15rem;
}
.comp-table tbody tr:nth-child(odd) {
  background: #F1F5FA;
}
.comp-table tbody tr:nth-child(even) {
  background: #FFFFFF;
}
.comp-table .check {
  color: var(--ac-green) !important;
  font-weight: 700;
}
.comp-table thead th:nth-child(n+2), .comp-table tbody td:nth-child(n+2) {
  border-left: 2px solid rgba(0, 0, 0, 0.18);
}
.comp-table thead th:last-child, .comp-table tbody td:last-child {
  border-right: 2px solid rgba(0, 0, 0, 0.18);
}
.comp-table tbody tr:last-child td:nth-child(n+2) {
  border-bottom: 2px solid rgba(0, 0, 0, 0.18) !important;
}
.comp-table thead th:nth-child(n+2), .comp-table tbody td:nth-child(n+2) {
  box-shadow: inset 8px 0 10px -10px rgba(0, 0, 0, 0.1), inset -8px 0 10px -10px rgba(0, 0, 0, 0.1);
}

/* ===== Mobile: Card-Ansicht ===== */
.comp-cards {
  display: none;
}

@media (max-width: 767.98px) {
  .comp-table {
    display: none;
  } /* Tabelle ausblenden */
  .comp-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .comp-card {
    border: 1px solid var(--border-color);
    border-radius: var(--ac-radius);
    background: var(--surface-bg);
    box-shadow: var(--ac-shadow);
    overflow: hidden;
  }
  .comp-card__head {
    padding: 0.9rem 1rem;
    color: var(--wsa-white);
  }
  .comp-card__head .comp-card__title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
  }
  .comp-card__head .comp-card__sub {
    opacity: 0.95;
    font-size: 0.9rem;
  }
  .comp-card__head .comp-card__price {
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 0.15rem;
  }
  .comp-card__body {
    padding: 0.75rem 1rem;
  }
  .comp-card__foot {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
  }
  /* Kopf nach Plan einfärben */
  .comp-card--p1 .comp-card__head {
    background: var(--col-p1);
  }
  .comp-card--p2 .comp-card__head {
    background: var(--col-p2);
    color: #0b2a3f;
  }
  .comp-card--p3 .comp-card__head {
    background: var(--col-p3);
  }
  .comp-card--p4 .comp-card__head {
    background: var(--col-p4);
  }
  .comp-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0;
  }
  .comp-list li .comp-list__name {
    flex: 1 1 auto;
  }
  .comp-list li .comp-list__val {
    flex: 0 0 auto;
    font-weight: 600;
  }
  .comp-list li .check {
    color: var(--ac-green);
  }
}
/* Buttons (Fallback, falls deine btn-wsa nicht geladen ist) */
.btn.btn-wsa {
  background: var(--wsa-blue-dark);
  color: #fff;
  border: 1px solid #000;
}

.btn.btn-wsa:hover {
  background: var(--wsa-blue);
  color: #fff;
}

.btn.btn-pill {
  border-radius: 999px;
}

/* A11y helper */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Link unter Cards */
.link-compare {
  color: var(--wsa-blue, #81AFDE);
  text-decoration: none;
}
.link-compare:hover {
  color: var(--wsa-blue-dark, #1e73be);
  text-decoration: underline;
}

/* Highlight/Dimming in Tabelle */
.ac-compare.has-highlight td.is-dim,
.ac-compare.has-highlight th.is-dim {
  opacity: 0.45;
}

.ac-compare td.is-highlight,
.ac-compare th.is-highlight {
  background: color-mix(in srgb, var(--wsa-blue, #81AFDE) 18%, white);
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: -2px;
}

/* Mobile: hervorgehobene Karte */
@media (max-width: 767.98px) {
  .comp-cards.has-highlight .comp-card.is-highlight {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wsa-blue, #81AFDE) 40%, transparent);
    transform: translateY(-2px);
  }
}
/* _typography.scss
   Siteweite Typo: Ueberschriften, Eyebrow, Section-Header
   Erwartet: _tokens.scss mit --wsa-* Variablen. Hat Fallbacks. */
:root {
  --ac-eyebrow-ls: .08em;
  --ac-eyebrow-color: var(--wsa-text, #7A7A7A);
  --ac-heading-color: var(--wsa-text, #3A3A3A);
}

/* Ueberschriften */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", var(--bs-font-sans-serif);
  color: var(--ac-heading-color);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

h4 {
  font-weight: 600;
  font-size: 1.125rem;
}

/* Lead-Text unter Titeln */
.lead {
  color: var(--wsa-text, #7A7A7A);
  opacity: 0.95;
  margin: 0;
}

/* Eyebrow (Mini-Ueberschrift ueber H2) */
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: var(--ac-eyebrow-ls);
  font-size: 0.8rem;
  color: var(--ac-eyebrow-color);
  margin-bottom: 0.25rem;
}

/* Einheitlicher Header-Block fuer Abschnitte */
.section-header {
  margin-bottom: clamp(1rem, 3vw, 2rem);
  text-align: inherit; /* per Utility .text-center/.text-start steuern */
}
.section-header .section-title {
  margin: 0 0 0.25rem 0;
}
.section-header .section-subtitle {
  margin: 0;
  color: var(--wsa-text, #7A7A7A);
}

/* Optional: abgesetzter Section-Hintergrund (hellgrau WSA) */
.section--muted {
  background: var(--wsa-grey, #F8F9FA);
}

/* ============================
   Glosar / Vik Booking – Single Site
   ============================ */
.section--glossar-single {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Kicker oben */
.ac-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ac-muted, #6c757d);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ac-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ac-blue, #1f6feb);
}

/* Karten im Alpin Code Stil */
.ac-card {
  border-radius: var(--ac-radius, 1.25rem);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 992px) {
  .ac-card {
    padding: 1.75rem 2rem;
  }
}
.ac-card-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding-bottom: 1rem;
}
.ac-card-body {
  padding-block: 0.75rem;
}
.ac-card-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 1rem;
}
.ac-card-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ac-muted, #6c757d);
  margin-bottom: 0.5rem;
}

/* Pill Badges */
.ac-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(148, 163, 184, 0.08);
  color: #0f172a;
}
.ac-pill--primary {
  border-color: transparent;
  background: var(--ac-blue-soft, rgba(31, 111, 235, 0.1));
  color: var(--ac-blue, #1f6feb);
}

/* Listen in Karten */
.ac-list {
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.ac-list li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Optionen-Strip unter den Karten */
.ac-options-strip {
  border-radius: var(--ac-radius, 1.25rem);
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.04), rgba(15, 23, 42, 0.01));
  padding: 1.5rem 1.75rem;
}
@media (min-width: 992px) {
  .ac-options-strip {
    padding: 1.75rem 2rem;
  }
}

.ac-option {
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
}

/* Buttons im Alpin Code Look */
.btn-ac-primary {
  --bs-btn-bg: var(--ac-blue, #1f6feb);
  --bs-btn-border-color: var(--ac-blue, #1f6feb);
  --bs-btn-color: #ffffff;
  --bs-btn-hover-bg: #174ea6;
  --bs-btn-hover-border-color: #174ea6;
  --bs-btn-font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.3rem;
}

.btn-outline-ac {
  --bs-btn-color: var(--ac-blue, #1f6feb);
  --bs-btn-border-color: rgba(15, 23, 42, .16);
  --bs-btn-hover-bg: rgba(31, 111, 235, .06);
  --bs-btn-hover-border-color: var(--ac-blue, #1f6feb);
  --bs-btn-font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.3rem;
}

/* ============================
   Glosar / Vik Restaurants – Single Site
   ============================ */
.section--vik-restaurants {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Falls du die gleiche Kicker-Optik nutzt, ist .ac-kicker / .ac-dot
   schon aus dem vorherigen Block vorhanden. Hier nur leichte Variante: */
.section--vik-restaurants .ac-kicker {
  color: var(--ac-muted, #6c757d);
}

/* Optionen-Strip leicht variiert fuer Gastronomie-Kontext */
.ac-options-strip--vik-restaurants {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(15, 23, 42, 0.01));
}

/* Optional: kleine Tags für Gastronomie-Typen (falls spaeter noetig) */
.ac-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(148, 163, 184, 0.06);
  color: #0f172a;
}
.ac-tag--restaurant {
  background: rgba(251, 191, 36, 0.08); /* warm, Service */
  border-color: rgba(251, 191, 36, 0.4);
}
.ac-tag--takeaway {
  background: rgba(56, 189, 248, 0.08); /* leichtes Blau */
  border-color: rgba(56, 189, 248, 0.4);
}

.section-pad {
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .section-pad {
    padding: 4rem 0;
  }
}
@media (min-width: 992px) {
  .section-pad {
    padding: 5rem 0;
  }
}

.ac-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.ac-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bs-primary, #0d6efd);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.18);
}

.ac-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background-color: var(--bs-body-bg);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ac-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(13, 110, 253, 0.55);
}

.ac-card-header {
  padding: 1.2rem 1.3rem 0.5rem;
}

.ac-card-body {
  padding: 0.3rem 1.3rem 0.7rem;
}

.ac-card-footer {
  padding: 0.4rem 1.3rem 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: auto;
}

.ac-card--highlight {
  border-width: 1.5px;
  border-color: rgba(13, 110, 253, 0.6);
  box-shadow: 0 10px 34px rgba(37, 99, 235, 0.16);
}

.ac-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: rgba(148, 163, 184, 0.12);
  color: #64748b;
}

.ac-pill--primary {
  background-color: rgba(13, 110, 253, 0.08);
  color: #1d4ed8;
}

.ac-card-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.ac-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.ac-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: #374151;
}

.ac-list li + li {
  margin-top: 0.25rem;
}

.ac-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bs-primary, #0d6efd);
  font-size: 0.9rem;
}

.ac-note {
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(248, 250, 252, 0.9);
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: #374151;
}

.ac-note a {
  color: var(--bs-primary);
  text-decoration: none;
}

.ac-note a:hover {
  text-decoration: underline;
}

.ac-teaser-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--bs-body-bg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ac-teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(13, 110, 253, 0.55);
}

.ac-teaser-card p {
  font-size: 0.95rem;
  color: #475569;
}

.ac-link-arrow {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--bs-primary, #0d6efd);
  text-decoration: none;
}

.ac-link-arrow::after {
  content: "→";
  font-size: 0.95em;
}

.ac-link-arrow:hover {
  text-decoration: underline;
}

/* ============== Alpin Code Animations (Network Section) ============== */
#ac-network-scope, #network.ac-section {
  position: relative;
  overflow: hidden;
}

#network.ac-section::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(74, 163, 255, 0.18), rgba(74, 163, 255, 0));
  filter: blur(10px);
  pointer-events: none;
}

#network .ac-eyebrow {
  letter-spacing: 0.12em;
  opacity: 0.95;
}

#network .ac-lead {
  max-width: 56ch;
  margin-inline: auto;
}

#network .ac-card {
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: transform;
}

#network .ac-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: radial-gradient(900px circle at var(--mx, 50%) var(--my, 20%), rgba(74, 163, 255, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#network .ac-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 163, 255, 0.45) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

#network .ac-card:hover::after {
  opacity: 1;
}

#network .ac-muted {
  margin-bottom: 0;
}

#network .ac-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(74, 163, 255, 0.1);
  border: 1px solid rgba(74, 163, 255, 0.22);
  position: relative;
}

#network .ac-icon-badge::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(74, 163, 255, 0.2);
  opacity: 0;
  transform: scale(0.96);
  animation: acPulse 2.8s ease-in-out infinite;
}

@keyframes acPulse {
  0%, 60% {
    opacity: 0;
    transform: scale(0.96);
  }
  75% {
    opacity: 0.55;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}
#network .ac-beta-chip {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 163, 255, 0.35);
  background: rgba(74, 163, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}

#network .ac-beta-chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-18deg);
  animation: acShimmer 3.6s ease-in-out infinite;
}

@keyframes acShimmer {
  0%, 55% {
    left: -50%;
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
#network .ac-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

#network .ac-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
#network .row.row-cols-1 > .ac-reveal:nth-child(1) {
  transition-delay: 0s;
}

#network .row.row-cols-1 > .ac-reveal:nth-child(2) {
  transition-delay: 0.06s;
}

#network .row.row-cols-1 > .ac-reveal:nth-child(3) {
  transition-delay: 0.12s;
}

#network .row.row-cols-1 > .ac-reveal:nth-child(4) {
  transition-delay: 0.18s;
}

#network .row.row-cols-1 > .ac-reveal:nth-child(5) {
  transition-delay: 0.24s;
}

#network .row.row-cols-1 > .ac-reveal:nth-child(6) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  #network .ac-reveal, #network .ac-card, #network .ac-icon-badge::before, #network .ac-beta-chip::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  #network .ac-reveal {
    opacity: 1 !important;
  }
}
.an-article {
  color: #1f2937;
}
.an-article a {
  color: #1e73be;
  text-decoration: none;
}
.an-article a:hover {
  text-decoration: underline;
}
.an-article code {
  background: #f3f4f6;
  border-radius: 0.35rem;
  padding: 0.08rem 0.35rem;
  font-size: 0.95em;
}
.an-article pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin: 1rem 0 0;
}
.an-article pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
}
.an-article__hero {
  padding: 3.25rem 0 1.75rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.an-article__hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.an-article__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e73be;
  margin-bottom: 0.9rem;
}
.an-article__title {
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.an-article__lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1rem;
  max-width: 760px;
}
.an-article__meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.an-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.an-article__tag {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e73be;
  font-size: 0.82rem;
  font-weight: 600;
}
.an-article__section {
  padding: 2.5rem 0 4rem;
}
.an-article__content {
  max-width: 820px;
  margin: 0 auto;
}
.an-article__body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.22;
  margin: 2.4rem 0 0.9rem;
}
.an-article__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.6rem 0 0.7rem;
}
.an-article__body p,
.an-article__body li {
  font-size: 1.04rem;
  line-height: 1.85;
  color: #273142;
}
.an-article__body ul,
.an-article__body ol {
  padding-left: 1.25rem;
}
.an-article__body section + section {
  margin-top: 2.2rem;
}
.an-article__summary, .an-article__toc, .an-article__note, .an-article__compare, .an-article__cta {
  border-radius: 1rem;
}
.an-article__summary {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
}
.an-article__summary h2 {
  margin-top: 0;
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.an-article__summary p:last-child {
  margin-bottom: 0;
}
.an-article__toc {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 1.25rem 1.4rem;
  margin-bottom: 2rem;
}
.an-article__toc h2 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.an-article__toc ol {
  margin-bottom: 0;
  padding-left: 1.15rem;
}
.an-article__toc li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
.an-article__note {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  padding: 1.25rem 1.35rem;
  margin: 1.25rem 0;
}
.an-article__note p:last-child {
  margin-bottom: 0;
}
.an-article__compare {
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  margin: 1.25rem 0 1.5rem;
}
.an-article__compare-col {
  padding: 1.35rem 1.4rem;
  height: 100%;
}
.an-article__compare-col + .an-article__compare-col {
  border-left: 1px solid #e5e7eb;
}
.an-article__compare-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.an-article__actions {
  margin-top: 1.25rem;
}
.an-article__action {
  border-left: 3px solid #1e73be;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.an-article__action h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}
.an-article__action p:last-child {
  margin-bottom: 0;
}
.an-article__action-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e73be;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.an-article__cta {
  background: #0f172a;
  color: #fff;
  padding: 1.7rem 1.6rem;
  margin-top: 3rem;
}
.an-article__cta h2 {
  margin-top: 0;
  color: #fff;
  font-size: 1.35rem;
}
.an-article__cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}
.an-article__cta .btn {
  margin-top: 1rem;
}
@media (max-width: 767.98px) {
  .an-article__hero {
    padding: 2.5rem 0 1.4rem;
  }
  .an-article__title {
    font-size: 2rem;
  }
  .an-article__lead {
    font-size: 1.03rem;
  }
  .an-article__body h2 {
    font-size: 1.4rem;
  }
  .an-article__body h3 {
    font-size: 1.05rem;
  }
  .an-article__body p,
  .an-article__body li {
    font-size: 1rem;
  }
  .an-article__compare-col + .an-article__compare-col {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }
}

/* wissen.html*/
.an-knowledge-card {
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.an-knowledge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
  border-color: #dbeafe;
}
.an-knowledge-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.an-knowledge-card__link:hover {
  text-decoration: none;
  color: inherit;
}
.an-knowledge-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.4rem 1.25rem;
}
.an-knowledge-card__meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.an-knowledge-card__category, .an-knowledge-card__format {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.an-knowledge-card__category {
  background: #eff6ff;
  color: #1e73be;
}
.an-knowledge-card__format {
  background: #f3f4f6;
  color: #475569;
}
.an-knowledge-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 0.85rem;
}
.an-knowledge-card__text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.an-knowledge-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.an-knowledge-card__tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}
.an-knowledge-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  padding-top: 0.9rem;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}

.an-knowledge-card {
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.an-knowledge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
  border-color: #dbeafe;
}
.an-knowledge-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.an-knowledge-card__link:hover {
  text-decoration: none;
  color: inherit;
}
.an-knowledge-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.4rem 1.25rem;
}
.an-knowledge-card__meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.an-knowledge-card__category, .an-knowledge-card__format {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.an-knowledge-card__category {
  background: #eff6ff;
  color: #1e73be;
}
.an-knowledge-card__format {
  background: #f3f4f6;
  color: #475569;
}
.an-knowledge-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 0.85rem;
}
.an-knowledge-card__text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.an-knowledge-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.an-knowledge-card__tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}
.an-knowledge-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  padding-top: 0.9rem;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}

.section--about-team .ac-card {
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section--about-team .ac-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
}
.section--about-team .ac-card--highlight {
  border-color: rgba(74, 163, 255, 0.22);
  box-shadow: 0 0.75rem 2rem rgba(74, 163, 255, 0.08);
}
.section--about-team .ac-card-header {
  padding: 1.5rem 1.5rem 1rem;
}
.section--about-team .ac-card-body {
  padding: 0 1.5rem 1.5rem;
}
.section--about-team .ac-team-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 35%;
  margin: 0 0 1rem;
  border-radius: 1rem;
  background: #eef2f6;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.section--about-team .ac-card-header h3 {
  margin-bottom: 0.5rem;
}
.section--about-team .ac-card-header p {
  color: var(--bs-secondary-color, #6c757d);
}
.section--about-team .ac-list {
  margin: 0;
  padding-left: 1.1rem;
}
.section--about-team .ac-list li {
  margin-bottom: 0.55rem;
  line-height: 1.5;
}
.section--about-team .ac-list li:last-child {
  margin-bottom: 0;
}
.section--about-team .ac-note {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(74, 163, 255, 0.06);
  border: 1px solid rgba(74, 163, 255, 0.14);
}
@media (max-width: 767.98px) {
  .section--about-team .ac-card-header {
    padding: 1.25rem 1.25rem 0.9rem;
  }
  .section--about-team .ac-card-body {
    padding: 0 1.25rem 1.25rem;
  }
}

.an-assistant {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  font-family: inherit;
}
.an-assistant__launcher {
  width: min(360px, 100vw - 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.22);
  padding: 1rem 1rem 0.95rem;
  display: grid;
  gap: 0.45rem;
  text-align: left;
  cursor: pointer;
}
.an-assistant__launcher-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4aa3ff;
}
.an-assistant__launcher-title {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
}
.an-assistant__launcher-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: #1e73be;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.an-assistant__panel {
  width: min(420px, 100vw - 2rem);
  height: min(720px, 100vh - 2rem);
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.an-assistant__header {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
  padding: 1rem 1rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.an-assistant__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.an-assistant__subtitle {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}
.an-assistant__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.an-assistant__body {
  padding: 1rem;
  overflow: auto;
  display: grid;
  gap: 1rem;
  background: #f8fafc;
}
.an-assistant__messages {
  display: grid;
  gap: 0.85rem;
}
.an-assistant__message {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  color: #1f2937;
  line-height: 1.55;
  font-size: 0.95rem;
  white-space: pre-line;
}
.an-assistant__message--user {
  background: rgba(30, 115, 190, 0.07);
  border-color: rgba(30, 115, 190, 0.16);
}
.an-assistant__options {
  display: grid;
  gap: 0.65rem;
}
.an-assistant__option {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(30, 115, 190, 0.14);
  background: #fff;
  color: #1f2937;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.an-assistant__option:hover {
  border-color: rgba(30, 115, 190, 0.34);
  background: rgba(30, 115, 190, 0.04);
  transform: translateY(-1px);
}
.an-assistant__option-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.18rem;
}
.an-assistant__option-text {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}
.an-assistant__form-wrap {
  display: grid;
  gap: 0.75rem;
}
.an-assistant__form {
  display: grid;
  gap: 0.75rem;
}
.an-assistant__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}
.an-assistant__field input, .an-assistant__field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.85rem;
  padding: 0.78rem 0.9rem;
  font: inherit;
  background: #fff;
}
.an-assistant__field textarea {
  min-height: 110px;
  resize: vertical;
}
.an-assistant__turnstile {
  display: grid;
  gap: 0.35rem;
}
.an-assistant__turnstile-box {
  min-height: 66px;
}
.an-assistant__helper {
  font-size: 0.8rem;
  color: #64748b;
}
.an-assistant__alert {
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.an-assistant__alert--warning {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}
.an-assistant__alert--success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.an-assistant__alert--danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.an-assistant__submit {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: #1e73be;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 575.98px) {
  .an-assistant {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }
  .an-assistant__launcher, .an-assistant__panel {
    width: 100%;
  }
  .an-assistant__panel {
    height: min(80vh, 760px);
  }
}

/* killt das Pseudo-Icon der Fremdbibliothek */
.icon-badge::before {
  content: none !important;
}

/* verhindert den Font-Switch */
.icon-badge {
  font-family: inherit !important;
}

/* Icon-Badge – Farbe via CSS-Var, Fallbacks auf WSA */
.icon-badge {
  --icon-accent: var(--wsa-blue-dark, #1e73be);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin: 0 auto 0.75rem;
  color: var(--icon-accent); /* stroke = currentColor */
  background: color-mix(in srgb, var(--icon-accent) 14%, transparent);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.content-card:hover .icon-badge {
  background: color-mix(in srgb, var(--icon-accent) 22%, transparent);
  transform: translateY(-1px);
}

/* SVG-Größe */
.icon-24 {
  width: 24px;
  height: 24px;
  display: block;
}

/* Gruppenfarben */
.content-card.is-network .icon-badge {
  --icon-accent: var(--wsa-blue-dark, #1e73be);
}

.content-card.is-web .icon-badge {
  --icon-accent: var(--wsa-blue, #81AFDE);
}

.ac-card {
  border: 1px solid #e9eef4;
  border-radius: 1rem;
  transition: 0.25s ease;
}
.ac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.06);
}
.ac-card h3 {
  color: #1e73be;
}

.tech-node-graph svg {
  max-width: 1200px;
  margin-inline: auto;
  display: block;
}
.tech-node-graph .mesh-line {
  stroke-dasharray: 6;
  animation: meshPulse 2.5s ease-in-out infinite;
}
.tech-node-graph .node {
  animation: nodeGlow 2.8s infinite ease-in-out;
}

@keyframes meshPulse {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
  50% {
    stroke-dashoffset: 20;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}
@keyframes nodeGlow {
  0% {
    opacity: 0.4;
    r: 5;
  }
  50% {
    opacity: 1;
    r: 7;
  }
  100% {
    opacity: 0.4;
    r: 5;
  }
}
/* Basis: Mobile zuerst (kleiner) */
.ac-icon-wrap {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e6f0ff;
  flex-shrink: 0;
}

.ac-icon {
  width: 1.6rem;
  height: 1.6rem;
}

/* Tablet (>= 768px) – etwas groesser */
@media (min-width: 768px) {
  .ac-selected-card .ac-icon-wrap {
    width: 3.2rem;
    height: 3.2rem;
  }
  .ac-selected-card .ac-icon {
    width: 2rem;
    height: 2rem;
  }
}
/* Desktop (>= 1200px) – noch praesenter */
@media (min-width: 1200px) {
  .ac-selected-card .ac-icon-wrap {
    width: 35.8rem;
    height: 15.8rem;
  }
  .ac-selected-card .ac-icon {
    width: 10.4rem;
    height: 10.4rem;
  }
}
@media (min-width: 768px) {
  #contents-more.collapse {
    display: block !important;
    height: auto !important;
    visibility: visible;
  }
}