/* ======================================================
   1) DESIGN TOKENS
   ====================================================== */

:root {
  /* Colors */
  --bg: #ffffff;
  --text: #0b0f14;
  --muted: #5f6b7a;
  --line: rgba(11, 15, 20, 0.12);
  --accent: #1f6feb;
  --accent2: #0ea5e9;

  /* Layout */
  --container: 1360px;
  --edge-pad: 44px;

  /* Fixed bars */
  --topbar-h: 32px;

  --header-h: 96px;
  --logo-w: 300px;

  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.1);

  /* Type */
  --fs-base: 17px;
  --fs-hero: clamp(56px, 7.2vw, 112px);
  --fs-h2: clamp(26px, 2.6vw, 38px);
  --fs-h3: clamp(18px, 1.6vw, 22px);
}

/* ======================================================
   2) BASE / RESET
   ====================================================== */

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

html {
  font-size: var(--fs-base);
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    'Helvetica Neue',
    Helvetica,
    'Apple Color Emoji',
    'Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;

  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.92;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 8px 12px;
  background: #07131d;
  color: #fff;
  border-radius: 8px;
  transform: translateY(-120%);
  transition: transform 160ms ease;
  z-index: 999;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid rgba(31, 111, 235, 0.65);
}

/* ======================================================
   3) LAYOUT
   ====================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge-pad);
}

.page-grid {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 var(--edge-pad);
}

.main {
  flex: 1;
}

/* spacing/ Abstand helpers used in HTML */
.panel-gap {
  height: 160px;
  background: #fff;
}
.hero-spacer {
  height: 240px;
  background: #fff;
}

/* ======================================================
   4) UTILITIES / HILFSKLASSEN
   ====================================================== */

.muted {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.02);
}

/* Fade (Variante B: rein UND raus) */
.fadein {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}
.fadein.is-visible {
  opacity: 1;
  transform: none;
}

/* ======================================================
   5) COMPONENTS
   ====================================================== */

/* --- Header --- */
/* Topbar (Language switch + Quick contact) */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 11000;
  background: #072f5f; /* dark blue (matches logo tone) */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.topbar__left a {
  color: inherit;
  opacity: 0.95;
  font-size: 12px;
}

.topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.langSwitch {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.langSwitch a {
  color: inherit;
  opacity: 0.9;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.langSwitch a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

@media (max-width: 720px) {
  :root {
    --topbar-h: 40px;
  }
  .topbar__left {
    gap: 10px;
    font-size: 13px;
    overflow: hidden;
  }
  .topbar__left .topbar__email {
    display: none;
  }
}

.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 10000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 15, 20, 0.1);
  backdrop-filter: blur(10px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
}

.brand__logo {
  width: var(--logo-w);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* --- Nav / Navigation --- */
.nav {
  position: relative;
}

/* shown on mobile */

/* Plus nur auf Mobile anzeigen */
.nav__subtoggle {
  display: none;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.04);
  border-radius: 12px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: rgba(11, 15, 20, 0.65);
  border-radius: 2px;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 44px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 16px;
  font-weight: 500;
  color: rgba(11, 15, 20, 0.72);
  padding: 12px 10px;
  border-radius: 10px;
}

.nav__link:hover {
  background: rgba(11, 15, 20, 0.04);
}

.nav__link--cta {
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.04);
  font-size: 15px;
  padding: 12px 16px;
}
.nav__link--active {
  background: rgba(31, 111, 235, 0.06);
  border: 1px solid rgba(31, 111, 235, 0.18);
  color: rgba(11, 15, 20, 0.92);
}

/* ======================================================
   DROPDOWN OHNE NEUE KLASSEN (nutzt nur nav__list-Struktur)
   Erwartet: .nav__list > li > ul (Submenu)
   ====================================================== */

/* Tastatur-Fokus (Accessiblity / UX) */
.nav__link:focus-visible,
.nav__list > li > ul a:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.35);
  outline-offset: 2px;
}

.nav__list > li {
  position: relative;
}

/* Submenu default hidden /Untermenü standardmässig versteckt */
.nav__list > li > ul {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;

  min-width: 220px;
  margin: 0;
  padding: 6px 8px;
  list-style: none;

  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;

  z-index: 10001;
}

/* Show on hover/focus / Anzeigen bei Hover/Fokus */
.nav__list > li:hover > ul,
.nav__list > li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Submenu links/  Untermenü-Links */
.nav__list > li > ul a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(11, 15, 20, 0.75);
  font-size: 14px;
}

.nav__list > li > ul a:hover,
.nav__list > li > ul a:focus {
  background: rgba(31, 111, 235, 0.06);
  outline: none;
}

/* --- Buttons / --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition:
    transform 0.08s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
}
.btn--primary {
  background: linear-gradient(
    135deg,
    rgba(31, 111, 235, 1),
    rgba(14, 165, 233, 1)
  );
  color: #fff;
}
.btn--ghost {
  background: rgba(11, 15, 20, 0.04);
  border-color: var(--line);
  color: rgba(11, 15, 20, 0.78);
}

/* --- Sections (Pattern used by HTML) --- */
.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section__title {
  font-size: var(--fs-h2);
  margin: 0 0 12px;
  color: rgba(11, 15, 20, 0.92);
}

.section__sub {
  margin: 0 0 18px;
  max-width: 720px;
  color: rgba(11, 15, 20, 0.7);
}

/* --- Contact (used by kontakt.html) --- */
.contactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.contactCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.98);
  padding: 18px;
}

.contactCard__title {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: rgba(11, 15, 20, 0.72);
}

.contactList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contactList a {
  color: rgba(11, 15, 20, 0.84);
}

.contactMeta {
  display: grid;
  gap: 10px;
}

.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 13px;
  color: rgba(11, 15, 20, 0.72);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.02);
  color: rgba(11, 15, 20, 0.9);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(31, 111, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.08);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.formActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
}

.mapBox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 15, 20, 0.03);
}

.mapBox__hint {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.mapBox iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 920px) {
  .contactGrid {
    grid-template-columns: 1fr;
  }
  .formGrid {
    grid-template-columns: 1fr;
  }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  background: #fff;
}

/* Compact hero for legal pages: only text, less scroll */
.hero.hero--textonly {
  min-height: 34vh;
  padding-top: calc(var(--header-h) + var(--topbar-h) + 8px);
}
.hero.hero--textonly .hero__grid {
  min-height: auto;
  grid-template-columns: 1fr;
}
.hero.hero--textonly .hero__left {
  padding: clamp(12px, 3vw, 28px) 0;
}

.hero__grid {
  min-height: calc(100vh - (var(--header-h) + var(--topbar-h)));
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: stretch;
  gap: 0;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px) 0;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  font-weight: 800;
  color: rgba(220, 38, 38, 1);
  margin-bottom: 12px;
}

.hero__h1 {
  font-size: clamp(34px, 6.2vw, 72px);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0 0 10px;
  color: rgba(11, 15, 20, 0.92);
}

.hero__lead {
  font-size: clamp(16px, 2.2vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 8px;
  color: rgba(11, 15, 20, 0.78);
}

.hero__bullets {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  color: rgba(11, 15, 20, 0.62);
  font-size: 14px;
}
.hero__bullets li {
  margin: 2px 0;
}

.hero__ctaRow {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  align-items: center;
}

.hero__ctaLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: rgba(220, 38, 38, 1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
}
.hero__ctaLink:after {
  content: '▶';
  font-size: 11px;
  transform: translateY(-1px);
}

.hero__right {
  position: relative;
  overflow: hidden;
  background: #fff;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
}

.hero__right:before {
  content: '';
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -90px;
  width: 160px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
  transform: skewX(-18deg);
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

/* Scroll indicator */
.hero__scrollIndicator {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 1500;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(11, 15, 20, 0.12);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: heroBlink 1.4s ease-in-out infinite;
}
.hero__scrollIndicator:before {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 3px solid #072f5f;
  border-bottom: 3px solid #072f5f;
  transform: rotate(45deg) translateY(-2px);
}
@keyframes heroBlink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
.hero__scrollIndicator.is-hidden {
  display: none !important;
}

/* --- Footer --- */
/* Footer Layout */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
  padding: 44px 0 22px;
}

.footer__brand {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer__title {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(11, 15, 20, 0.72);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer__list a {
  color: rgba(11, 15, 20, 0.78);
}

.footer__list a:hover {
  text-decoration: underline;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* Footer bottom row (year etc.) / Footer-Untere Zeile (Jahr usw.) */
.footer__bottom {
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* Linklike Button / Link-ähnlicher Button */
.linklike {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(11, 15, 20, 0.78);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.linklike:hover {
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Cookie / Modal / Switch --- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
}

.cookie__inner {
  max-width: var(--container);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

/* Cookie text wrapper (title + paragraph block) */
.cookie__text {
  max-width: 680px;
}

.cookie__title {
  font-weight: 900;
  margin-bottom: 4px;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal__panel {
  position: relative;
  max-width: 720px;
  width: calc(100% - 32px);
  margin: 72px auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.modal__title {
  font-weight: 900;
  font-size: 18px;
}

.modal__content {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.modal__footer {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.iconbtn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.04);
  color: rgba(11, 15, 20, 0.75);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.cookie__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 15, 20, 0.03);
}

.cookie__rowTitle {
  font-weight: 900;
}

.switch {
  position: relative;
  width: 54px;
  height: 32px;
  display: inline-block;
}

.switch input {
  display: none;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.04);
}

.switch span:after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(232, 238, 247, 0.85);
}

.switch input:checked + span {
  background: linear-gradient(
    135deg,
    rgba(79, 179, 255, 0.55),
    rgba(110, 231, 183, 0.35)
  );
  border-color: rgba(79, 179, 255, 0.35);
}

.switch input:checked + span:after {
  left: 26px;
  background: #07131d;
}

/* Notwendig immer aktiv (ohne input) */
.switch--on span {
  background: linear-gradient(
    135deg,
    rgba(79, 179, 255, 0.55),
    rgba(110, 231, 183, 0.35)
  );
  border-color: rgba(79, 179, 255, 0.35);
}

.switch--on span:after {
  left: 26px;
  background: #07131d;
}

/* ======================================================
   6) RESPONSIVE
   ====================================================== */

@media (max-width: 980px) {
  :root {
    --header-h: 84px;
    --edge-pad: 18px;
    --logo-w: 220px;
  }

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

  .hero__right {
    min-height: 46vh;
    clip-path: none;
  }
  .hero__right:before {
    display: none;
  }

  .hero-spacer {
    height: 160px;
  }
}

@media (max-width: 840px) {
  .nav__toggle {
    display: block;
  }

  .nav__list {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 10001;
    min-width: 240px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .nav__subtoggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    background: rgba(11, 15, 20, 0.04);
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .nav__plus {
    position: relative;
    width: 14px;
    height: 14px;
  }

  .nav__plus::before,
  .nav__plus::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: rgba(11, 15, 20, 0.65);
    transform: translate(-50%, -50%);
    border-radius: 2px;
    transition: transform 180ms ease;
  }

  .nav__plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .nav__subtoggle[aria-expanded='true'] .nav__plus::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .nav__submenu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      transform 180ms ease;
    margin-top: 6px;
    pointer-events: none;
  }

  .nav__submenu.is-open {
    max-height: 240px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__list > li > ul {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 6px 0 0;

    /* Wichtig: Desktop-Hide aushebeln */
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

/* ======================================================
   BLOG / FAQ / KARTEN (minimal, nutzt bestehende Design-Logik)
   ====================================================== */

.cardsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.cardLink {
  text-decoration: none;
}

.cardBox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.98);
  padding: 18px;
  height: 100%;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.cardBox:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(11, 15, 20, 0.12);
}

.cardBox__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: rgba(11, 15, 20, 0.92);
}

.cardBox__cta {
  margin-top: 12px;
  font-weight: 600;
  color: rgba(31, 111, 235, 0.92);
}

.cleanList {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(11, 15, 20, 0.8);
}

.actionsRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badgesRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.faqList {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.faqItem {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.98);
  padding: 14px 16px;
}

.faqItem > summary {
  cursor: pointer;
  font-weight: 650;
  color: rgba(11, 15, 20, 0.9);
  list-style: none;
}

.faqItem > summary::-webkit-details-marker {
  display: none;
}

.faqBody {
  margin-top: 10px;
}

.article p {
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  .cardsGrid {
    grid-template-columns: 1fr;
  }
}

/* --- Legal content (AGB/Datenschutz/Impressum) --- */
.legal {
  max-width: 900px;
  color: rgba(11, 15, 20, 0.86);
}
.legal h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  color: rgba(11, 15, 20, 0.92);
}
.legal p {
  margin: 0 0 12px;
  line-height: 1.6;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.legal__note {
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.02);
}
.legal__placeholder {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px dashed rgba(31, 111, 235, 0.45);
  background: rgba(31, 111, 235, 0.06);
  color: rgba(11, 15, 20, 0.78);
}
