/* Deutsches Arbeitnehmerforum – Onepager */
:root {
  --text: #000e26;
  --copy: #50576b;
  --gray-600: #535862;
  --gray-500: #717680;
  --gray-400: #a4a7ae;
  --gray-300: #d5d7da;
  --gray-200: #e9eaeb;
  --light-gray: #eff1f4;
  --light-gray-50: #f7f8f9;
  --white: #ffffff;
  --blue-1: #002059;
  --blue-2: #1643d5;
  --blue-light-400: #dcecff;
  --blue-light-500: #d3e7ff;
  --blue-light-200: #edf5ff;
  --yellow: #ffe481;
  --flag-black: #000;
  --flag-red: #c51315;
  --flag-gold: #f9b000;
  --success: #039855;
  --danger: #ff6147;
  --card-yellow: #fff6d6;
  --card-blue: #e8f1ff;
  --card-lilac: #efe8ff;
  --container: 1240px;
  --pad: 100px;
  --frame: 1440px;
  --grid-cols: 12;
  --grid-gutter: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  /* Figma corner smoothing ~60% (iOS) — progressive enhancement */
  --corner-smooth: squircle;
  --shadow-soft: 0 1px 2px rgba(9, 14, 21, 0.04), 0 4px 14px rgba(9, 14, 21, 0.06);
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2 * var(--pad), var(--container));
  margin-inline: auto;
}

/* 12-column design grid overlay — toggle with Ctrl/Cmd+G */
html.show-grid::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2 * var(--pad), var(--container));
  z-index: 99999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 64, 129, 0.09) 0,
    rgba(255, 64, 129, 0.09) calc(100% / 12 - 1px),
    transparent calc(100% / 12 - 1px),
    transparent calc(100% / 12)
  );
  box-shadow: inset 1px 0 0 rgba(255, 64, 129, 0.35), inset -1px 0 0 rgba(255, 64, 129, 0.35);
}

@media (max-width: 900px) {
  :root {
    --pad: 20px;
  }

  /* Match Glossar topbar cluster at tablet widths */
  .topbar__inner {
    gap: 16px;
    justify-content: center;
  }

  .topbar__sep {
    margin: 0;
  }

  .topbar__text {
    display: none;
  }
}

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

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.text-center { text-align: center; }
.text-right { text-align: right; }

/* Typography helpers */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  /* +2–3 dots of tracking vs previous 4.2px */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-600);
  line-height: 1.2;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__line {
  width: 32px;
  height: 2px;
  background: var(--blue-2);
  flex-shrink: 0;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 24px;
}

h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-synthesis: none;
  color: var(--blue-2);
}

.body {
  margin: 0 0 24px;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--blue-1);
  color: var(--white);
  padding: 14px 20px;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn--primary img {
  width: 24px;
  height: 24px;
  /* Icons are already brand yellow (#FFE481) — do not recolor */
  filter: none;
}

.btn--primary:hover,
.btn--yellow:hover,
.btn--cta:hover {
  background: #001845;
  transform: none;
}

.btn--cta {
  background: var(--blue-1); /* #002059 — same as Glossar */
  color: var(--yellow);
  padding: 8px 12px;
  font-size: 12px;
  line-height: 18px;
  height: 32px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Match Glossar `.anf-btn--cta` (not stretched to search height) */
.header__right > .btn--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  padding: 8px 12px;
  line-height: 18px;
  border-radius: 8px;
  gap: 8px;
}

.btn--cta img {
  width: 16px;
  height: 16px;
  /* SVG stroke is already brand yellow (#FFE481) */
  filter: none;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--text);
  padding: 10px 18px;
  margin-top: 16px;
}

.link-arrow {
  color: var(--blue-2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-arrow img,
.link-more img {
  width: 24px;
  height: 24px;
}

.link-more {
  color: var(--blue-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  align-self: flex-end;
}

.btn--outline {
  background: var(--white);
  border: 1px solid var(--blue-1);
  color: var(--blue-1);
  padding: 10px 18px;
  margin-top: 8px;
}

.btn--outline:hover {
  background: var(--blue-light-200);
}

/* Top bar — match Glossar `.anf-topbar` / `.anf-topbar__inner` */
.topbar {
  background: var(--light-gray); /* #eff1f4 */
  border-bottom: 1px solid var(--gray-200);
}

.topbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4px clamp(16px, 4vw, 100px);
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  box-sizing: border-box;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.topbar__item img {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.topbar__sep {
  font-weight: 600;
  color: var(--text);
  margin: 0 -32px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: transform 0.28s ease;
  will-change: transform;
}

.header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 14, 38, 0.08);
}

.header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.header.is-open {
  transform: none;
  pointer-events: auto;
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

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

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px; /* same as Glossar `.anf-header__right` */
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 40px; /* same as Glossar `.anf-nav` */
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--blue-2);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

.logo__img--mark {
  display: none;
  width: auto;
  height: 40px;
}

.logo--lg .logo__img {
  width: 303px;
  height: 69px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

/* Search */
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 10px 12px;
  overflow: visible;
  box-sizing: border-box;
}

.search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  padding: 2px 0 4px;
  height: auto;
  min-height: 1.45em;
  overflow: visible;
}

.search input::placeholder {
  color: var(--gray-400);
}

.search__go {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.search__go img {
  display: block;
}

.search--sm {
  /* Match header CTA (Termin vereinbaren): 32px tall, 12px type, 16px icons */
  width: 200px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  gap: 8px;
  flex-shrink: 0;
}

.search--sm input {
  min-width: 0;
  font-size: 12px;
  line-height: 18px;
  padding: 0;
  min-height: 0;
}

.search--sm .search__go img,
.search--sm > img {
  width: 16px;
  height: 16px;
}

.search--lg {
  width: 100%;
  max-width: 503px;
  min-height: 48px;
  height: auto;
}

.search--faq {
  width: 100%;
  margin-bottom: 16px;
}

.search--footer {
  background: var(--white);
  height: 44px;
  align-self: start;
  width: 100%;
  max-width: 396px;
  border: 1px solid #e5e9ee;
  border-radius: 12px;
  padding: 4px 4px 4px 16px;
  gap: 8px;
}

.search--footer img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.search--footer button {
  border: 0;
  background: var(--blue-1);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.search--footer button img {
  width: 20px;
  height: 20px;
  /* Brand yellow #FFE481 on navy button */
  filter: brightness(0) saturate(100%) invert(88%) sepia(28%) saturate(650%) hue-rotate(359deg) brightness(104%) contrast(101%);
}

.search-suggest-root {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
}

.search-suggest-root--sm {
  width: auto;
  flex-shrink: 0;
}

.search-suggest-root--lg {
  width: 100%;
  max-width: 503px;
}

.search-suggest-root--faq,
.search-suggest-root--footer {
  width: 100%;
}

.search-suggest-root--footer {
  max-width: 396px;
}

.search-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-height: min(320px, 50vh);
  overflow-y: auto;
}

.search-suggest__item,
.search-suggest__more,
.search-suggest__empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.search-suggest__item:hover,
.search-suggest__item.is-active,
.search-suggest__more:hover {
  background: var(--blue-light-400, #eef4fb);
}

.search-suggest__letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-1, #1a4f8b);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.search-suggest__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest__more {
  margin-top: 2px;
  border-top: 1px solid var(--gray-200, #e5e9ee);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--blue-1, #1a4f8b);
  font-weight: 600;
  justify-content: center;
}

.search-suggest__empty {
  cursor: default;
  color: var(--gray-400);
  justify-content: center;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 503px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  background: var(--blue-light-400);
  padding-left: max(var(--pad), calc((100vw - var(--frame)) / 2 + var(--pad)));
  min-height: 713px;
  overflow: hidden;
}

.hero__content {
  padding: 48px 0;
  width: 100%;
  max-width: 503px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__content > .eyebrow {
  margin-bottom: 0;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-weight: 400;
}

.hero__lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: var(--gray-600);
  max-width: 421px;
}

.search--lg {
  width: 100%;
  max-width: 503px;
  min-height: 48px;
  height: auto;
  border-radius: 12px;
  justify-content: space-between;
  padding: 11px 14px;
}

.search--lg input {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  padding: 2px 0 4px;
}

.hero__rotate-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  /* Size the slot from the wrap so height matches the word, not h1 defaults */
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  line-height: 1.15;
  height: 1.15em;
  min-height: 1.15em;
}

.hero__rotate {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-size: 1em;
  color: var(--blue-2);
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__rotate.is-out {
  opacity: 0;
  transform: translate3d(0, -110%, 0);
}

.hero__rotate.is-in {
  opacity: 0;
  transform: translate3d(0, 110%, 0);
  transition: none;
}

.hero__static {
  font-family: var(--font-sans);
  font-weight: 600;
  font-synthesis: none;
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: block;
}

.hero__media {
  height: 713px;
  min-height: 713px;
  background: #dcecff;
  margin-right: 0;
  overflow: hidden;
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  will-change: transform;
  transform: translate3d(0, -8%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img {
    height: 100%;
    transform: none !important;
    will-change: auto;
  }
}

/* Logo loop / Bekannt aus */
.logo-loop {
  overflow: hidden;
  border-block: 1px solid var(--gray-200);
  background: var(--white);
  padding: 36px 0 40px;
  min-height: 152px;
}

.logo-loop__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  padding-inline: var(--pad);
}

.logo-loop__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  color: var(--copy);
}

.logo-loop__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}

.logo-loop__group {
  display: flex;
  align-items: center;
  gap: 100px;
  /* Same as gap — keeps spacing between last/first logo identical across groups */
  padding-inline-end: 100px;
  flex-shrink: 0;
}

.media-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 166px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.media-logo--sm {
  height: 24px;
  max-width: 78px;
}

.media-logo--wide {
  height: 24px;
  max-width: 167px;
}

.media-logo--ard {
  max-width: 129px;
}

.media-logo--juve {
  max-width: 62px;
}

/* Four equal groups → shift by exactly one group (25%), seamless loop */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-loop__track {
    animation: none !important;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .logo-loop__group {
    padding-inline-end: 0;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .logo-loop__group + .logo-loop__group {
    display: none;
  }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--kpi {
  padding-top: 100px;
}

.kpi {
  display: grid;
  grid-template-columns: 503px 608px;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.kpi__figure {
  margin: 0;
  border: 1px solid #e5e9ee;
  border-radius: var(--radius);
  overflow: hidden;
  width: 503px;
  max-width: 100%;
  box-shadow: none;
}

.kpi__figure img {
  width: 100%;
  height: 434px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.kpi__content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.96px;
  margin: 0 0 16px;
}

.kpi__grid {
  display: grid;
  grid-template-columns: minmax(0, 292px) minmax(0, 243px);
  gap: 42px 24px;
  margin-top: 40px;
}

.kpi__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
}

.kpi__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--blue-light-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.kpi__icon--text {
  font-weight: 600;
  font-size: 22px;
  color: var(--blue-2);
}

.kpi__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 38px;
  margin-bottom: 6px;
}

.kpi__item span {
  color: var(--copy);
  font-size: 16px;
  line-height: 1.5;
}

/* About + compare */
.about-intro {
  max-width: 608px;
  margin-bottom: 48px;
}

.about-intro .body {
  margin: 16px 0 24px;
  max-width: 608px;
}

.compare {
  --col-feature: 280px;
  --col: 1fr;
  position: relative;
  display: grid;
  gap: 0;
  isolation: isolate;
}

/* Continuous ANF highlight column (Figma rounded blue slab) */
.compare__active-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--col-feature);
  width: calc((100% - var(--col-feature)) / 4);
  background: #edf5ff;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 0 1px rgba(22, 67, 213, 0.06);
}

.compare__headers,
.compare__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--col-feature) repeat(4, var(--col));
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  min-height: 64px;
}

.compare__headers {
  border-top: 0;
  align-items: end;
  min-height: 118px;
  padding-bottom: 16px;
}

.compare__feature-label {
  padding: 16px 8px 16px 24px;
  align-self: end;
}

.compare__feature-label strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.compare__col {
  text-align: center;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  align-self: stretch;
  justify-content: flex-end;
}

.compare__col--active {
  background: transparent;
  border-radius: 0;
}

.compare__logo {
  width: 12px;
  height: 50px;
  object-fit: contain;
}

.compare__head-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.compare__col strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.compare__name-short {
  display: none;
}

.compare__label {
  font-size: 16px;
  color: var(--copy);
  padding: 12px 8px 12px 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1.5;
  min-width: 0;
}

.compare__label > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.compare__ico {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.compare__cell {
  text-align: center;
  padding: 12px 16px;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.compare__cell--active {
  background: transparent;
}

.compare__row:last-child .compare__cell--active,
.compare__row:last-child .compare__col--active {
  border-radius: 0;
}

/* Pastel status circles (Figma) */
.compare__status {
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  flex-shrink: 0;
}

.compare__status--full {
  background: #a0e2c3;
}

.compare__status--partial {
  background: #ffe99a;
}

.compare__status--none {
  background: #fda29b;
}

.compare__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px 50px;
  margin-top: 24px;
}

.compare__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--copy);
}

.ok {
  color: var(--success);
  font-size: 28px;
  font-weight: 700;
}

.no {
  color: var(--danger);
  font-size: 28px;
  font-weight: 700;
}

/* Quote — full-bleed photo from Figma (node 1:11191 + Gremien 1:11489) */
.quote-banner {
  position: relative;
  height: 532px;
  min-height: 532px;
  overflow: hidden;
  background: url("../assets/quote-framed.jpg?v=13") center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.quote-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.quote-banner__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--frame);
  margin-inline: auto;
  box-sizing: border-box;
  padding: 0 var(--pad) 56px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.quote-banner blockquote {
  margin: 0;
  max-width: 680px;
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-banner__mark {
  display: block;
  width: 80px;
  height: 68px;
  margin: 16px 0 0;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.quote-banner p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 680px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Services */
.section--services {
  background: #eef5ff;
  position: relative;
  overflow: hidden;
}

.services {
  display: grid;
  grid-template-columns: minmax(280px, 429px) minmax(320px, 611px);
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.body--strong {
  font-weight: 600;
  color: var(--gray-600);
}

.btn--yellow {
  background: var(--blue-1);
  color: var(--yellow);
  height: 48px;
  padding: 12px 20px;
}

.btn--yellow img {
  width: 24px;
  height: 24px;
  filter: none;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius);
  min-height: 149px;
  border: 0;
  box-shadow: 0 2px 8px rgba(0, 14, 38, 0.04);
}

.service-card--yellow { background: #ffedb5; }
.service-card--blue { background: #d3e7ff; }
.service-card--lilac { background: #dde0ff; }

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.service-card__body {
  min-width: 0;
}

.service-card h3 {
  font-size: 30px;
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.1;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.service-card__price {
  text-align: right;
  align-self: center;
  min-width: 140px;
  max-width: 232px;
  color: var(--text);
}

.service-card__price .price-main {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.service-card__price .price-ab {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.service-card__price .price-amount {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* € before number + cents after — matching Figma superscripts */
.service-card__price .price-amount .price-cur,
.service-card__price .price-amount > sup {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  vertical-align: super;
  position: relative;
  top: -0.08em;
}

.service-card__price .price-amount .price-cur {
  margin-right: 0.06em;
}

.service-card__price .price-amount > sup:not(.price-cur) {
  font-weight: 400;
  margin-left: 1px;
}

.service-card__para {
  display: inline;
}

.service-card__price .price-note {
  margin: 6px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  white-space: normal;
}

/* Social */
.social__title {
  text-wrap: balance;
}

.social__sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--copy);
  margin: -8px 0 16px;
  text-wrap: balance;
}

.social__sub .nowrap,
.social__title .nowrap {
  white-space: nowrap;
}

.social__copy {
  max-width: 720px;
  margin-inline: auto;
}

/* Embeds: Elfsight + Microsoft Bookings */
.embed-slot {
  position: relative;
  margin-top: 40px;
  min-height: 420px;
  border-radius: 16px;
  background: var(--light-gray-50);
  border: 1px dashed var(--gray-300);
  overflow: hidden;
}

.embed-slot--bookings {
  min-height: 640px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: none;
}

.embed-slot.is-ready {
  border-style: solid;
  border-color: var(--gray-200);
  background: var(--white);
}

.embed-slot.is-ready .embed-fallback {
  display: none;
}

.embed-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
  color: var(--copy);
  font-size: 15px;
  line-height: 1.5;
  pointer-events: none;
}

.embed-fallback code {
  font-size: 13px;
  background: var(--light-gray);
  padding: 2px 6px;
  border-radius: 4px;
}

.bookings-frame {
  display: none;
  width: 100%;
  height: 640px;
  border: 0;
}

.embed-slot.is-ready .bookings-frame {
  display: block;
}

.elfsight-app {
  min-height: 1px;
}

/* Lexikon */
.section--lexikon {
  background: var(--white);
}

.lexikon__title {
  max-width: 900px;
}

.lexikon__intro {
  max-width: 498px;
}

.lexikon-cards-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 40px 0 24px;
}

.lexikon-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 0;
  min-width: 0;
}

/* Decorative only — Angelina: chevrons without box, not clickable */
.lexikon-chevron {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--blue-1);
  opacity: 0.55;
}

.lexikon-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lexikon-nav {
  display: none;
}

/* Scroll-spy active nav */
.nav a.is-active {
  color: var(--blue-2);
}

.nav a {
  position: relative;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--blue-2);
  border-radius: 1px;
}

.lexikon-card {
  background: var(--white);
  border: 1px solid #ccd2de;
  border-radius: var(--radius);
  padding: 24px;
  min-height: 278px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.lexikon-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
  border-color: #a8b4c8;
}

.lexikon-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.lexikon-card h3 {
  font-size: 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

.lexikon-card p {
  color: var(--copy);
  flex: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.lexikon-card p strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.icon-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.icon-btn svg {
  display: block;
  width: 21px;
  height: 18px;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.icon-btn:hover svg {
  transform: scale(1.06);
}

.icon-btn.is-saved svg path {
  fill: #e53935;
  stroke: #e53935;
}

/* Kontakt */
.section--kontakt {
  background: var(--white);
  padding-bottom: 0;
}

/* Keep calendar flush with FAQ — no gray strip under Calendly */
.section--kontakt .booking {
  background: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
}

.kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 32px;
}

.kontakt__lede {
  margin-bottom: 0;
}

.kontakt__channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.kontakt__row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  min-width: 0;
}

.kontakt__row--channels {
  flex-wrap: wrap;
  gap: 24px;
}

.kontakt__icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.kontakt__value {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.kontakt__icon {
  width: 64px;
  height: 64px;
  padding: 10px 13px;
  box-sizing: border-box;
  border-radius: 12px;
  background: var(--blue-light-500); /* #d3e7ff */
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.kontakt__icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(9, 14, 21, 0.1);
}

/* Figma tile already includes #D3E7FF + blue glyph */
.kontakt__icon--wa {
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.kontakt__icon img {
  display: block;
}

.kontakt__icon:not(.kontakt__icon--wa) img {
  width: 32px;
  height: 32px;
}

.kontakt__icon--wa img {
  width: 64px;
  height: 64px;
}

.kontakt__slash {
  color: var(--blue-2);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
}

.kontakt__row strong,
.kontakt__value strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.kontakt__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--blue-2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

.kontakt__save img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.kontakt__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 20px;
  border: 1px solid var(--gray-200);
  max-width: 607px;
  width: 100%;
  justify-self: end;
}

.kontakt__form input,
.kontakt__form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kontakt__form input {
  height: 48px;
}

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

.kontakt__form .btn {
  justify-self: start;
}

.kontakt__robot {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid var(--gray-200, #e9eaeb);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kontakt__robot.is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.kontakt__robot.is-ok {
  border-color: #abefc6;
  background: #f6fef9;
}

.kontakt__robot-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.kontakt__robot-label input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.kontakt__robot-box {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid #717680;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kontakt__robot-label input:focus-visible + .kontakt__robot-box {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
}

.kontakt__robot-label input:checked + .kontakt__robot-box {
  border-color: var(--blue-2);
  background: var(--blue-2);
}

.kontakt__robot-label input:checked + .kontakt__robot-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.kontakt__robot-label input:disabled + .kontakt__robot-box {
  opacity: 0.6;
}

.kontakt__robot-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.kontakt__captcha-help {
  margin: -8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-500, #667085);
}

.kontakt__form input:focus,
.kontakt__form textarea:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(22, 67, 213, 0.12);
}

.kontakt__form input.is-invalid,
.kontakt__form textarea.is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.req {
  color: #d92d20;
  font-weight: 700;
}

.faq__panel {
  background: transparent;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 818px;
}

.accordion {
  width: 100%;
}

.accordion__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  padding: 0 16px 0 20px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: clip;
}

.accordion__item[open] {
  border-color: var(--gray-300);
  background: var(--light-gray-50);
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 14px;
  color: var(--gray-500);
}

.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--gray-500);
}

.kontakt__form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.form-status.is-ok {
  color: #1a7a3c;
}

.form-status.is-err {
  color: #b42318;
}

.booking {
  background: transparent;
  padding: 24px 0 0;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.booking h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0;
}

.booking h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-synthesis: none;
  color: var(--blue-2);
}

.booking__sub {
  margin: 8px 0 16px;
  color: var(--copy);
}

.booking__embed {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  line-height: 0;
}

/* Let Calendly data-resize hug content — do not force iframe height */
.booking__embed.calendly-inline-widget,
.booking__embed iframe {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top;
}

.booking__embed iframe {
  display: block;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.booking__calendar {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--light-gray-50);
}

.section--faq {
  background: var(--white);
  padding-top: 0;
  margin-top: 0;
}

/* Desktop only: a little air between Calendly and Wissensdatenbank / FAQ */
@media (min-width: 769px) {
  .section--faq {
    padding-top: 48px;
  }
}

.faq__intro .btn {
  margin-top: 8px;
}

.footer__kontakt .btn--cta {
  margin-top: 6px;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 15px;
  gap: 12px;
}

.cal-day.is-available:hover {
  background: #b9d6ff;
}

.cal-head button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.cal-dow {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
  padding: 8px 0;
}

.cal-day {
  border: 0;
  background: transparent;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.cal-day.is-available {
  background: var(--blue-light-500);
  font-weight: 600;
}

.cal-day.is-selected {
  background: var(--blue-2);
  color: var(--white);
}

.cal-day:disabled {
  color: var(--gray-300);
  cursor: default;
}

.booking__label {
  font-weight: 600;
  margin: 0 0 12px;
}

.chip-group {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.chip,
.time-btn {
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.chip.is-active,
.time-btn.is-active {
  background: var(--blue-light-500);
  border-color: var(--blue-light-500);
  font-weight: 600;
}

.time-list {
  display: grid;
  gap: 10px;
}

.time-btn {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 397px 1fr;
  gap: 48px;
  align-items: start;
}

.faq__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--white);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid #e5e9ee;
  width: 100%;
  max-width: 609px;
}

.faq__tab {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq__tab.is-active {
  background: var(--blue-light-500);
  color: var(--blue-2);
}

.accordion__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.accordion__item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--text);
  flex-shrink: 0;
}

.accordion__item[open] summary::after {
  content: "−";
}

.accordion__item p {
  margin: 0 0 18px;
  color: var(--copy);
}

/* Footer — full-bleed gray band on every breakpoint */
.footer {
  background: var(--white);
  padding: 0;
  width: 100%;
}

.footer__card {
  background: var(--light-gray-50);
  border: 0;
  border-top: 1px solid #e5e9ee;
  border-radius: 0;
  width: 100%;
  padding: 32px 0 40px;
  display: block;
  overflow: hidden;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  flex-shrink: 0;
  max-width: 420px;
}

.footer__nav a {
  display: block;
  min-width: 0;
  width: auto;
  max-width: none;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.footer__nav a:hover {
  color: var(--blue-2);
}

.footer h3 {
  font-size: 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
}

.footer__kontakt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: min(327px, 100%);
  flex: 1 1 260px;
}

.footer__line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--copy);
  line-height: 1.2;
}

.footer__line img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer__line--channels {
  gap: 8px;
}

.footer__line--channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.footer__line--addr {
  align-items: flex-start;
}

.footer__line--addr div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__line--addr strong {
  color: var(--text);
  font-weight: 400;
}

.footer__kontakt .btn--cta {
  margin-top: 6px;
}

.footer .search--footer {
  margin-left: auto;
  flex: 0 1 396px;
  width: min(396px, 100%);
  max-width: 396px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  font-size: 12px;
  color: var(--gray-500);
  position: relative;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
}

.footer__badge {
  width: 147px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__meta p {
  margin: 4px 0 0;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1.2;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.social-icons a {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-1);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.social-icons a img {
  width: 9px;
  height: 9px;
  object-fit: contain;
  filter: none;
}

/* Sticky WhatsApp — Figma Whatsapp--sticky */
.wa-sticky {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 209px;
  height: 123px;
  pointer-events: none;
}

.wa-sticky__bubble,
.wa-sticky__btn {
  pointer-events: auto;
}

.wa-sticky__bubble {
  position: absolute;
  left: 0;
  top: 0;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid #e5e9ee;
  border-radius: 12px;
  box-shadow:
    0 4px 14px rgba(9, 14, 21, 0.06),
    0 1px 2px rgba(9, 14, 21, 0.06);
  color: var(--copy);
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-sticky__bubble:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(9, 14, 21, 0.1),
    0 2px 4px rgba(9, 14, 21, 0.06);
}

.wa-sticky__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f3f7;
  border: 1px solid #ccd2de;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa-sticky__avatar img {
  width: 10px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.wa-sticky__text {
  white-space: nowrap;
}

.wa-sticky__btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}

.wa-sticky__btn:hover {
  transform: scale(1.06);
}

.wa-sticky__btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.wa-sticky__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 9px;
  background: #df2020;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-sticky {
  animation: floatIn 0.55s ease both 0.35s;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-left: 0;
    min-height: auto;
  }

  .hero__content {
    padding: 48px var(--pad) 24px;
    width: auto;
  }

  .hero__media {
    min-height: 360px;
    height: 360px;
  }

  /* Keep image taller than frame so parallax can move */
  .hero__media img {
    min-height: 0;
    height: 130%;
  }

  .kpi,
  .services,
  .kontakt,
  .faq,
  .booking__grid {
    grid-template-columns: 1fr;
  }

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

  .kpi__figure {
    width: 100%;
  }

  .compare__headers,
  .compare__row {
    grid-template-columns: minmax(110px, 1.25fr) repeat(4, minmax(0, 1fr));
    font-size: 12px;
  }

  .compare {
    overflow-x: visible;
  }

  .compare__active-bg {
    display: none;
  }

  .compare__col--active,
  .compare__cell--active {
    background: #edf5ff;
  }

  .compare__headers .compare__col--active {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .compare__row:last-child .compare__cell--active {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .footer__row {
    flex-wrap: wrap;
  }

  .footer__nav {
    width: 100%;
  }

  .footer .search--footer {
    margin-left: 0;
    width: 100%;
  }

  .footer__card {
    padding: 28px 0 36px;
  }

  /* iPad / tablet: icon-only search; match CTA 32px */
  .search--sm {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .search--sm input,
  .search--sm > img {
    display: none;
  }

  .search--sm .search__go {
    width: 32px;
    height: 32px;
  }

  .header__right > .btn--cta {
    height: 32px;
    min-height: 32px;
  }
}

@media (max-width: 768px) {
  /* No grey contact strip — start with white header (same as wissen) */
  .topbar {
    display: none;
  }

  /* Header mobile: mark | search icon | Termin CTA | hamburger */
  .header__inner {
    min-height: 64px;
    padding: 10px 16px;
    gap: 8px;
  }

  .header__left {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 12px;
  }

  .header__right {
    gap: 16px; /* match Glossar spacing */
    flex-shrink: 0;
  }

  .logo__img--full {
    display: none;
  }

  .logo__img--mark {
    display: block;
  }

  .nav {
    display: none;
  }

  .header__right > .btn--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    height: 32px;
    min-height: 32px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 8px;
    background: var(--blue-1);
    color: var(--yellow);
  }

  .header__right > .btn--cta img {
    width: 16px;
    height: 16px;
  }

  .search--sm {
    display: flex;
    box-sizing: border-box;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .search--sm input,
  .search--sm > img {
    display: none;
  }

  .search--sm .search__go {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 45px;
    min-width: 45px;
    height: 45px;
    min-height: 45px;
    padding: 0;
    flex-shrink: 0;
  }

  .menu-toggle span {
    width: 18px;
    margin: 3px 0;
  }

  .header.is-open .nav {
    display: flex;
    position: absolute;
    inset: 64px 0 auto;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 16px;
  }

  .section {
    padding: 64px 0;
  }

  /* Media query `.section` reset must not reintroduce gap under Calendly */
  .section--kontakt {
    padding-bottom: 0;
  }

  .section--faq {
    padding-top: 0;
  }

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

  .service-card {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px;
  }

  .service-card__price {
    grid-column: 2;
    text-align: left;
    max-width: none;
    min-width: 0;
  }

  .service-card__price .price-main {
    justify-content: flex-start;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-card p {
    font-size: 16px;
  }

  .service-card__price .price-amount {
    font-size: 26px;
  }

  .lexikon-cards-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lexikon-chevron {
    display: none;
  }

  .lexikon-cards {
    grid-template-columns: 1fr;
  }

  .lexikon-nav {
    display: none;
  }

  .compare {
    --col-feature: minmax(0, 1.15fr);
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
  }

  .compare__active-bg {
    display: none;
  }

  .compare__col--active,
  .compare__cell--active {
    background: #edf5ff;
  }

  .compare__headers .compare__col--active {
    border-radius: 8px 8px 0 0;
  }

  .compare__row:last-child .compare__cell--active {
    border-radius: 0 0 8px 8px;
  }

  .compare__headers,
  .compare__row {
    grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
    min-height: 52px;
  }

  .compare__headers {
    min-height: 78px;
    padding-bottom: 6px;
    align-items: end;
  }

  .compare__feature-label {
    padding: 6px 2px;
  }

  .compare__feature-label strong {
    font-size: 11px;
  }

  .compare__col {
    padding: 6px 1px;
    gap: 4px;
    font-size: 10px;
    line-height: 1.15;
  }

  .compare__col strong {
    font-size: 10px;
    letter-spacing: -0.02em;
  }

  .compare__name-full {
    display: none;
  }

  .compare__name-short {
    display: inline;
  }

  .compare__logo {
    width: 7px;
    height: 28px;
  }

  .compare__head-icon {
    width: 20px;
    height: 20px;
  }

  .compare__label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 4px 8px 2px;
    font-size: 10px;
    line-height: 1.3;
    min-width: 0;
    overflow: hidden;
  }

  .compare__label > span {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .compare__ico {
    width: 16px;
    height: 16px;
  }

  .compare__cell {
    padding: 6px 1px;
  }

  .compare__status {
    width: 12px;
    height: 12px;
  }

  .compare__legend {
    justify-content: flex-start;
    gap: 12px 16px;
    margin-top: 16px;
  }

  .compare__legend-item {
    font-size: 11px;
    gap: 6px;
  }

  .faq__tabs {
    max-width: 100%;
  }

  .faq__tab {
    font-size: 13px;
    padding: 10px 8px;
  }

  .booking {
    max-width: none;
    width: 100%;
    padding-top: 20px;
  }

  .booking__embed {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    border-radius: 0;
  }

  .booking__embed iframe {
    min-width: 0 !important;
  }

  .accordion__item summary {
    font-size: 16px;
    line-height: 1.35;
    gap: 12px;
  }

  .wa-sticky__text {
    display: none;
  }

  .social__title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.2;
  }

  .social__sub {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 0;
  }

  .quote-banner {
    height: min(72vw, 420px);
    min-height: 300px;
    align-items: flex-end;
  }

  .quote-banner__inner {
    padding: 0 var(--pad) 28px;
  }

  .quote-banner blockquote {
    max-width: 100%;
  }

  .quote-banner__mark {
    width: 56px;
    height: 48px;
    margin: 12px 0 0;
  }

  .quote-banner p {
    font-size: clamp(28px, 7.8vw, 40px);
    line-height: 1.15;
    max-width: 100%;
  }

  .service-card__para {
    display: block;
  }

  .service-card__price .price-amount .price-cur,
  .service-card__price .price-amount > sup {
    font-size: 13px;
  }

  .hero__content {
    gap: 18px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .eyebrow {
    letter-spacing: 0.2em;
    margin-bottom: 12px;
  }

  .wa-sticky {
    width: 48px;
    height: 48px;
  }

  .wa-sticky__bubble {
    display: none;
  }
}

/* Legal pages (Figma: Legal section 1:4528) */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: var(--copy);
}

.breadcrumb a {
  color: var(--text);
}

.legal {
  padding: 64px 0 100px;
  background: var(--white);
}

.legal__inner {
  max-width: 818px;
}

.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.legal__lede {
  color: var(--copy);
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

.legal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 24px;
}

.link-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--blue-2);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.link-download img {
  width: 20px;
  height: 20px;
}

.legal__stand {
  margin: 0;
  color: var(--gray-500);
  font-size: 16px;
}

.legal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.legal__tabs a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
}

.legal__tabs a.is-active,
.legal__tabs a[aria-current="page"] {
  background: var(--blue-light-500);
  color: var(--blue-2);
}

.legal-prose {
  color: var(--copy);
  font-size: 16px;
  line-height: 1.625;
}

.legal-prose h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin: 32px 0 12px;
}

.legal-prose h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose__note {
  font-family: var(--font-serif);
  font-weight: 400;
}

.legal-prose p,
.legal-prose ul {
  margin: 0 0 16px;
}

.legal-prose ul {
  padding-left: 1.25em;
}

.legal-prose a {
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-callout {
  background: var(--light-gray-50);
  border-left: 3px solid var(--blue-2);
  padding: 16px 20px;
  margin: 16px 0 24px !important;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.legal-table thead th {
  background: var(--blue-1);
  color: var(--white);
  font-weight: 600;
  border-bottom: 0;
}

.legal-table tbody tr:nth-child(even) {
  background: var(--light-gray-50);
}

.legal__back {
  display: inline-flex;
  margin-top: 48px;
  color: var(--blue-2);
  font-weight: 600;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.legal-links a {
  color: var(--gray-500);
  font-size: 12px;
}

.legal-links a[aria-current="page"] {
  color: var(--blue-2);
  font-weight: 600;
}

.legal-links p {
  flex-basis: 100%;
  margin: 4px 0 0;
}

.footer__bottom--solo {
  border-top: 0;
  padding-top: 0;
}

@media (max-width: 768px) {
  .legal {
    padding: 40px 0 64px;
  }

  .legal__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .topbar,
  .header,
  .breadcrumb,
  .legal__tabs,
  .legal__toolbar,
  .legal__back,
  .footer,
  .wa-sticky {
    display: none !important;
  }

  .legal {
    padding: 0;
  }
}

.anf-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 3000;
  max-width: min(90vw, 420px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #002059;
  color: #fff;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.anf-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Microsoft Clarity — minimal consent bar */
.clarity-consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 14, 38, 0.12);
}

.clarity-consent[hidden] {
  display: none !important;
}

.clarity-consent__text {
  margin: 0;
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--copy);
  text-align: left;
}

.clarity-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.clarity-consent__btn {
  appearance: none;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.clarity-consent__btn--ghost {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--text);
}

.clarity-consent__btn--primary {
  border: 1px solid var(--blue-1);
  background: var(--blue-1);
  color: var(--yellow);
}

.clarity-consent__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 8px 4px;
}

@media (max-width: 768px) {
  .clarity-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 12px;
  }
}

/* Figma corner smoothing ~60% — Chrome/Edge; others keep normal border-radius */
@supports (corner-shape: squircle) {
  .btn,
  .btn--cta,
  .btn--primary,
  .btn--yellow,
  .btn--outline,
  .btn--ghost,
  .search,
  .search--lg,
  .search--faq,
  .faq__tabs,
  .faq__tab,
  .accordion__item,
  .lexikon-card,
  .service-card,
  .service-card__icon,
  .kpi__icon,
  .kontakt__form,
  .kontakt__form input,
  .kontakt__form textarea,
  .footer__card,
  .chip,
  .clarity-consent,
  .clarity-consent__btn {
    corner-shape: var(--corner-smooth);
  }
}

