/* TLC — Project A inspired minimal */

:root {
  --brand: #0c3d63;
  --ink: #0c3d63;
  --muted: #6b8499;
  --line: rgba(12, 61, 99, 0.12);
  --header: #ffffff;
  --paper: #fafafa;
  --soft: #f0f0f0;
  --panel: #f2f4f6;
  --radius-lg: 0;
  --radius-md: 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --hover-duration: 0.65s;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --max: 72rem;
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
  /* hidden statt clip: gleiche Horizontal-Sperre in Chrome, Firefox, Safari */
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: #fafafa;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.nowrap {
  white-space: nowrap;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
}

em {
  font-style: italic;
  font-weight: 400;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--brand);
}

.skip-link:focus {
  top: 1rem;
}

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

.label {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
  width: fit-content;
  transition: opacity 0.25s var(--ease);
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  opacity: 0.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 0;
  background: var(--brand);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Hover tip — small label next to the normal mouse */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0.28rem 0.45rem;
  border-radius: 0;
  background: var(--brand);
  color: #fafafa;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 5px, 0) scale(0.92);
  transform-origin: left bottom;
  will-change: transform, opacity;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.cursor.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.45s var(--ease-soft),
    transform 0.45s var(--ease-soft),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.cursor__label {
  color: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.cursor.is-active .cursor__label {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.4s var(--ease-soft) 0.06s,
    transform 0.4s var(--ease-soft) 0.06s;
}

.cursor.is-on-dark {
  background: #fff;
  color: var(--brand);
}

/* Sticky contact dock */

.contact-dock {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateY(-50%);
}

.contact-dock__btn {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--brand);
  color: #fafafa;
  border-bottom: 1px solid rgba(250, 250, 250, 0.18);
  overflow: visible;
  transition: background 0.25s var(--ease);
}

.contact-dock__btn:last-child {
  border-bottom: 0;
}

.contact-dock__btn:hover,
.contact-dock__btn:focus-visible {
  background: #0a3354;
  outline: none;
  z-index: 1;
}

.contact-dock__icon {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
}

.contact-dock__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.contact-dock__label {
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 0.95rem 0 1.05rem;
  background: var(--brand);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(0.4rem);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    background 0.25s var(--ease);
}

.contact-dock__btn:hover .contact-dock__label,
.contact-dock__btn:focus-visible .contact-dock__label {
  opacity: 1;
  transform: translateX(0);
  background: #0a3354;
}

@media (max-width: 700px) {
  /* Same vertical side dock as desktop — labels stay icon-only on touch */
  .contact-dock__label {
    display: none;
  }
}

/* Check resume bar — above navbar when Nachfolge-Check in progress */

.check-resume-bar {
  position: sticky;
  top: 0;
  z-index: 31;
  background: var(--brand);
  color: #fff;
}

.check-resume-bar[hidden] {
  display: none;
}

.check-resume-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1.25rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: 2.55rem;
  padding: 0.55rem 0;
}

.check-resume-bar__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.check-resume-bar__text strong {
  color: #fff;
  font-weight: 600;
}

.check-resume-bar__link {
  flex-shrink: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.check-resume-bar__link:hover {
  text-decoration-color: #fff;
}

body.has-check-resume .site-header {
  top: var(--check-resume-h, 2.55rem);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  color: var(--brand);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 4.75rem;
}

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

.logo img {
  display: block;
  height: 2.65rem;
  width: auto;
}

.nav {
  display: none;
  align-items: stretch;
  align-self: stretch;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand);
  transition: opacity 0.25s var(--ease);
}

.nav > a {
  display: inline-flex;
  align-items: center;
}

.nav > a:hover,
.nav__dropdown-wrap > a:hover {
  opacity: 0.65;
}

.nav__dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  display: grid;
  min-width: 15.5rem;
  padding: 0.45rem 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    visibility 0.2s var(--ease);
}

.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__dropdown a {
  display: block;
  padding: 0.7rem 1.1rem;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand);
  transition: background 0.2s var(--ease);
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  opacity: 1;
  background: rgba(12, 61, 99, 0.06);
  outline: none;
}

.mobile-nav__group {
  display: grid;
  gap: 0.15rem;
}

.mobile-nav__sub {
  display: grid;
  gap: 0.05rem;
  padding: 0.15rem 0 0.55rem 0.85rem;
}

.mobile-nav__sub a {
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 4.2vw, 1.25rem);
  font-weight: 500;
  color: var(--muted);
}

.mobile-nav__sub a:last-child {
  border-bottom: 0;
}

.mobile-nav__sub a[aria-current="page"] {
  color: var(--brand);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 7px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--brand);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: calc(4.75rem + 0.5rem) 1.5rem max(2rem, env(safe-area-inset-bottom));
  background: var(--header);
  border-bottom: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 1rem 0.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open .site-header {
  border-bottom-color: transparent;
}

body.is-nav-open .contact-dock {
  visibility: hidden;
  pointer-events: none;
}

/* Site search */

.site-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0.35rem;
}

.site-search__toggle {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  background: transparent;
  color: var(--brand);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.site-search__toggle:hover {
  opacity: 0.75;
  transform: scale(1.06);
}

.site-search__lottie {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  pointer-events: none;
}

.site-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 35;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(12, 61, 99, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.65rem);
  transition:
    opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.38s;
}

.site-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-search-panel__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 1rem 0 1.15rem;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.site-search-panel.is-open .site-search-panel__inner {
  opacity: 1;
  transform: translateY(0);
}

.site-search-panel__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 0.15rem 0.35rem 0.15rem 0.75rem;
}

.site-search-panel__icon {
  display: grid;
  place-items: center;
  color: var(--muted);
  flex: 0 0 auto;
}

.site-search-panel__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.site-search-panel__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 2.85rem;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 1.05rem;
  outline: none;
}

.site-search-panel__input::-webkit-search-decoration,
.site-search-panel__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.site-search-panel__clear,
.site-search-panel__close {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
}

.site-search-panel__clear {
  font-size: 1.35rem;
  line-height: 1;
  padding-inline: 0.45rem;
  color: var(--muted);
}

.site-search-panel__clear:hover,
.site-search-panel__close:hover {
  opacity: 0.65;
}

.site-search-results {
  display: grid;
  margin-top: 0.75rem;
  max-height: min(60vh, 28rem);
  overflow: auto;
}

.site-search-results__hint,
.site-search-results__empty {
  margin: 0 0 0.35rem;
  padding: 0.35rem 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-search-results__intent {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  background: rgba(12, 61, 99, 0.05);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.9rem;
}

.site-search-results__intent strong {
  font-weight: 600;
}

.site-search-results__empty {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.site-search-results__item {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--brand);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.site-search-results__item:hover,
.site-search-results__item.is-active,
.site-search-results__item:focus-visible {
  background: rgba(12, 61, 99, 0.05);
  outline: none;
}

.site-search-results__category {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-search-results__title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.site-search-results__title mark {
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-search-results__snippet {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.site-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.site-search-chip {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-search-chip:hover,
.site-search-chip:focus-visible {
  border-color: var(--brand);
  background: rgba(12, 61, 99, 0.04);
  outline: none;
}

.site-search-answer {
  padding: 1rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(12, 61, 99, 0.03);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-search-answer:hover,
.site-search-answer:focus-visible {
  border-color: var(--brand);
  background: rgba(12, 61, 99, 0.07);
  outline: none;
}

.site-search-answer__question {
  margin: 0 0 0.45rem;
  color: var(--brand);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.site-search-answer__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.site-search-answer__hint {
  margin: 0.55rem 0 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-search-answer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.85rem;
}

.site-search-answer__link {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-search-answer__link:hover {
  opacity: 0.7;
}

.is-search-spotlight {
  position: relative;
  scroll-margin-top: 6rem;
  animation: search-spotlight 4.2s ease;
  box-shadow: 0 0 0 3px rgba(12, 61, 99, 0.28);
  border-radius: 0;
  z-index: 1;
}

@keyframes search-spotlight {
  0%,
  18% {
    background-color: rgba(12, 61, 99, 0.12);
    box-shadow: 0 0 0 4px rgba(12, 61, 99, 0.35);
  }
  100% {
    background-color: transparent;
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-search-spotlight {
    animation: none;
    background-color: rgba(12, 61, 99, 0.08);
  }
}

.site-search-results__empty a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.is-search-open {
  overflow: hidden;
}

body.is-search-open .site-header {
  box-shadow: none;
}

/* Main surface */

.shell {
  background: #fafafa;
  border-radius: 0;
  overflow: visible;
}

main {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

/* Hero — full-bleed team stage */

.hero--stage {
  position: relative;
  display: grid;
  align-items: end;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  min-height: min(78vh, 46rem);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.hero--stage .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  background: #1a2a3a;
}

.hero--stage .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transform: none;
  image-rendering: auto;
  filter: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero--stage .hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 28, 48, 0.1) 0%,
      rgba(8, 28, 48, 0.06) 40%,
      rgba(8, 28, 48, 0.42) 72%,
      rgba(8, 28, 48, 0.72) 100%
    );
}

.hero--stage .hero__copy {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(100% - 2rem, var(--max));
  max-width: none;
  margin-inline: auto;
  padding: clamp(5.5rem, 14vh, 8rem) 0 clamp(2.25rem, 5vh, 3.5rem);
  justify-self: stretch;
  text-align: left;
}

.hero--stage .hero__eyebrow {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero--stage .hero__title {
  max-width: 22ch;
  color: #fff;
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 7vw, 3.65rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.hero__title-keep {
  white-space: nowrap;
}

.hero--stage .hero__lead {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.hero__actions .btn,
.hero__actions .hero__ghost,
.hero__actions .text-link {
  margin-top: 0;
  align-self: center;
}

.btn--on-dark {
  background: #fff;
  color: var(--brand);
}

.btn--on-dark:hover {
  opacity: 1;
  background: #f3f7fb;
}

.hero__ghost {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.hero__ghost:hover {
  text-decoration-color: #fff;
}

@media (max-width: 859px) {
  .hero--stage {
    min-height: min(70vh, 36rem);
  }

  .hero--stage .hero__title {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
  }

  .hero__title-keep {
    white-space: normal;
  }

  .hero--stage .hero__copy {
    padding-top: clamp(4.5rem, 16vh, 6.5rem);
    padding-bottom: 1.75rem;
  }
}

@media (min-width: 860px) {
  .hero--stage .hero__media img {
    object-position: center 32%;
  }
}

@media (min-width: 1280px) {
  .hero--stage {
    /* ~14–15" and up */
    min-height: min(86vh, 52rem);
  }
}

@media (min-width: 1512px) {
  .hero--stage {
    /* ~16" MacBook and larger */
    min-height: min(92vh, 58rem);
  }
}

@media (min-width: 1728px) {
  .hero--stage {
    min-height: min(94vh, 64rem);
  }
}

.section-lead {
  max-width: 32rem;
  margin: 0.85rem 0 2.5rem;
  color: var(--muted);
  font-size: 1.2rem;
}

/* Services */

.services {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.services h2 {
  margin-bottom: 0;
}

.ways {
  --way-rail: 5.25rem;
  --way-gap: 0.75rem;
  --way-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --way-duration: 0.8s;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.way {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  text-align: left;
  color: #fafafa;
  cursor: pointer;
  background: #0c3d63;
  min-height: 4.75rem;
  transition:
    width var(--way-duration) var(--way-ease),
    min-height var(--way-duration) var(--way-ease);
}

.way:nth-child(1) {
  background: #0c3d63;
}

.way:nth-child(2) {
  background: #1a5a84;
}

.way:nth-child(3) {
  background: #2a6f9a;
}

.way__label {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--way-ease);
}

.way__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  height: 100%;
}

.way__visual {
  position: absolute;
  right: clamp(0.75rem, 3vw, 1.75rem);
  top: 50%;
  z-index: 0;
  width: min(58%, 22rem);
  color: #fafafa;
  opacity: 0;
  transform: translateY(-52%);
  pointer-events: none;
  transition: opacity 0.7s var(--way-ease);
}

.way.is-active .way__visual {
  opacity: 1;
  transition-delay: 0.2s;
}

/* Keep SVG motion composited (helps iOS Safari) */
.way__visual svg {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.way__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.25rem 1.4rem;
  max-width: 28rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--way-ease);
}

/* Verkauf / Kauf / Bewertung — motion via SMIL (works on iOS Safari) */
.way-search-anim,
.way-deal-anim,
.way-check-anim {
  overflow: visible;
}

.way-search-anim__grid {
  opacity: 0.28;
}

.way-deal-anim__path {
  opacity: 0.35;
}

.way-check-anim__sheet {
  opacity: 0.95;
}

.way-check-anim__tick {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
}

@media (prefers-reduced-motion: reduce) {
  .way-search-anim__pin--ok {
    opacity: 0.95 !important;
  }

  .way-search-anim__pin--x {
    opacity: 0.3 !important;
  }

  .way-deal-anim__doc {
    opacity: 0.9 !important;
  }

  .way-deal-anim__doc--late {
    opacity: 0 !important;
  }

  .way-check-anim__tick {
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}

.way.is-active .way__content {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.1s;
}

.way:not(.is-active) .way__content {
  transition-delay: 0s;
}

.way__content h3 {
  margin: 0;
  color: #fafafa;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 36rem;
}

.way__content > p {
  margin: 0;
  color: rgba(250, 250, 250, 0.88);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 34rem;
}

.way__cta {
  align-self: start;
  margin-top: 0.2rem;
  background: #fafafa;
  color: var(--brand);
  box-shadow: none;
}

.way__cta:hover {
  opacity: 0.92;
  transform: none;
}

.way__next {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 20, 28, 0.88);
  color: #fafafa;
  text-decoration: none;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--way-ease), background 0.2s ease;
}

.way.is-active .way__next {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.15s;
}

.way__next:hover {
  background: #0a1620;
}

.way.is-active {
  min-height: 22rem;
}

.way.is-active .way__panel {
  min-height: 22rem;
}

@media (min-width: 900px) {
  .ways {
    flex-direction: row;
    align-items: stretch;
    height: min(70vh, 34rem);
    min-height: 34rem;
    gap: var(--way-gap);
  }

  .way {
    flex: 0 0 auto;
    width: var(--way-rail);
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  .way.is-active {
    width: calc(100% - (var(--way-rail) * 2) - (var(--way-gap) * 2));
    min-height: 0;
  }

  .way.is-active .way__panel {
    min-height: 100%;
    justify-content: center;
  }

  .way.is-active .way__content {
    padding: 2.25rem 2.5rem;
  }

  .way.is-active .way__content h3 {
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  }

  .way:not(.is-active) .way__content,
  .way:not(.is-active) .way__next {
    opacity: 0;
    pointer-events: none;
  }

  .way:not(.is-active) .way__label {
    opacity: 1;
    transition-delay: 0.2s;
  }

  .way.is-active .way__label {
    opacity: 0;
    transition-delay: 0s;
  }

  .way__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
    line-height: 1;
  }

  .way:not(.is-active):hover {
    filter: brightness(1.06);
  }
}

@media (max-width: 899px) {
  .ways {
    gap: 0.85rem;
  }

  .way,
  .way.is-active {
    min-height: 0;
    cursor: default;
  }

  .way .way__panel,
  .way.is-active .way__panel {
    min-height: 0;
    justify-content: flex-start;
  }

  .way__visual,
  .way.is-active .way__visual {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(78%, 15.5rem);
    margin: 1.4rem auto 0.15rem;
    transform: none;
    opacity: 0.92;
    transition: none;
    transition-delay: 0s;
  }

  .way .way__content,
  .way.is-active .way__content {
    opacity: 1;
    pointer-events: auto;
    max-width: none;
    padding: 0.65rem 1.4rem 4.75rem;
    transition: none;
  }

  .way .way__content h3 {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
  }

  .way .way__content > p {
    font-size: 1rem;
  }

  .way .way__content > p,
  .way .way__cta {
    display: block;
  }

  .way .way__next,
  .way.is-active .way__next {
    display: inline-flex;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .way__label {
    display: none;
  }
}

/* Börse */

.boerse,
.news,
.faq,
.contact {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
}

.boerse h2,
.news h2,
.faq h2,
.contact h2 {
  margin-bottom: 0;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.35rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  text-decoration: none;
  transition:
    background var(--hover-duration) var(--ease-soft),
    border-color var(--hover-duration) var(--ease-soft),
    color var(--hover-duration) var(--ease-soft);
}

.news-item:hover {
  background: var(--brand);
  border-color: transparent;
  color: #fafafa;
}

.news-item__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-item__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  gap: 0.45rem;
  padding: 1.1rem 1.1rem 1.25rem;
}

.news-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--hover-duration) var(--ease-soft);
}

.news-item:hover .news-item__meta {
  color: rgba(250, 250, 250, 0.7);
}

.news-item h3 {
  margin: 0;
  flex-shrink: 0;
  color: var(--brand);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  transition: color var(--hover-duration) var(--ease-soft);
}

.news-item:hover h3 {
  color: #fafafa;
}

.news-item p {
  margin: 0;
  flex: 0 1 auto;
  color: var(--muted);
  font-size: 1.2rem;
  overflow: hidden;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  transition: color var(--hover-duration) var(--ease-soft);
}

.news-item:hover p {
  color: rgba(250, 250, 250, 0.86);
}

@media (min-width: 700px) {
  .news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* News archive page — editorial / newsroom */

.news-page-hero {
  max-width: 44rem;
  padding-bottom: 1.25rem;
}

.news-page-hero h1 {
  letter-spacing: -0.03em;
}

.news-archive {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.news-archive__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.news-archive__sort {
  display: grid;
  gap: 0.55rem;
}

.news-archive__sort > span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-archive__sort-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-archive__sort-btns button {
  margin: 0;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.news-archive__sort-btns button:hover {
  border-color: var(--brand);
}

.news-archive__sort-btns button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fafafa;
}

.news-archive__count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Neuigkeiten: einfaches Karten-Grid wie Börse */
.news-archive__list.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}

.news-archive .news-item {
  height: 100%;
}

.news-archive .news-item:hover h2,
.news-archive .news-item:hover h3 {
  color: #fafafa;
}

@media (min-width: 700px) {
  .news-archive__list.news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news__more {
  margin: 1.75rem 0 0;
}

/* Störer — Nachfolge Check */

.check-band {
  /* Hintergrund full-bleed per Pseudo — Inhalt bleibt im normalen Flow.
     Vermeidet Firefox-Versatz durch width:100vw + calc(50%-50vw). */
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: transparent;
  color: #fafafa;
  isolation: isolate;
}

.check-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: var(--brand);
  z-index: -1;
  pointer-events: none;
}

.check-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 2rem), 40rem);
  margin-inline: auto;
  max-width: 40rem;
  text-align: center;
}

.check-band__label {
  margin: 0 0 0.85rem;
  color: rgba(250, 250, 250, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
}

.check-band h2 {
  margin: 0 0 1rem;
  color: #fafafa;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
}

.check-band__text {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(250, 250, 250, 0.86);
  font-size: 1.2rem;
  line-height: 1.55;
}

.check-band__btn {
  background: #fafafa;
  color: var(--brand);
}

.check-band__btn:hover {
  opacity: 0.92;
  transform: none;
}

/* Nachfolge Check — Exit Readiness */

.check-intro,
.check-quiz,
.check-result {
  max-width: 44rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.check-result {
  max-width: min(100%, 80rem);
}

.check-intro h1,
.check-result h2 {
  margin-bottom: 0;
}

.check-result__head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.check-result__head .section-lead {
  max-width: 38rem;
  margin-bottom: 0;
}

.check-result__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.check-result__cta {
  min-width: 0;
}

.check-result__cta-sticky {
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.check-intro {
  max-width: min(100%, 58rem);
}

.check-intro .section-lead {
  max-width: 40rem;
}

.check-intro__how {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.check-intro__step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.check-intro__step-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.check-intro__step-title {
  margin: 0 0 0.2rem;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.check-intro__step-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.check-chapters-wrap {
  margin: 2.25rem 0 1.85rem;
}

.check-chapters__label {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.check-chapters {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.check-chapters li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
}

.check-chapters span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding-top: 0.15rem;
}

.check-chapters strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.check-intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.check-intro__actions .btn[hidden],
.check-intro__actions .btn--ghost[hidden] {
  display: none;
}

@media (min-width: 720px) {
  .check-intro__how {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
    padding-top: 1.5rem;
  }

  .check-chapters {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .check-chapters li {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.55rem;
    align-content: start;
    min-height: 7.25rem;
    padding: 1.05rem 0.95rem 1.15rem;
  }

  .check-chapters span {
    display: block;
    padding-top: 0;
  }

  .check-chapters strong {
    font-size: 0.92rem;
  }
}

@media (min-width: 900px) {
  .check-chapters {
    gap: 0.75rem;
  }

  .check-chapters li {
    padding: 1.15rem 1.05rem 1.25rem;
  }

  .check-chapters strong {
    font-size: 0.98rem;
  }
}

.check-quiz__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.85rem;
}

.check-quiz__chapter,
.check-quiz__step,
.check-quiz__f {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.check-quiz__chapter-id {
  margin-right: 0.35em;
}

/* Gemeinsame Ampel-/UI-Texte: nur Datenquelle, nie sichtbar */
.check-shared-copy {
  display: none !important;
}

.check-quiz__progress {
  height: 2px;
  margin-bottom: 1.75rem;
  background: var(--line);
  overflow: hidden;
}

.check-quiz__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand);
  transition: width 0.45s var(--ease);
}

.check-quiz__f {
  margin-bottom: 0.75rem;
}

.check-quiz__question {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--brand);
}

.check-step-block {
  margin-bottom: 1.5rem;
}

.check-step-block__label {
  margin: 0 0 0.45rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.check-ampel__prompt {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.check-note__hint {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.check-ampel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.check-ampel__btn {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  margin: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.check-ampel__swatch {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.2rem;
  border-radius: 0;
}

.check-ampel__btn--rot .check-ampel__swatch {
  background: #c23b3b;
}

.check-ampel__btn--gelb .check-ampel__swatch {
  background: #e08a1e;
}

.check-ampel__btn--gruen .check-ampel__swatch {
  background: #2f7d4a;
}

.check-ampel__text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.check-ampel__text strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.check-ampel__text small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.check-ampel__btn--rot.is-active {
  background: #c23b3b;
  border-color: #c23b3b;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(194, 59, 59, 0.2);
}

.check-ampel__btn--gelb.is-active {
  background: #e08a1e;
  border-color: #e08a1e;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(224, 138, 30, 0.22);
}

.check-ampel__btn--gruen.is-active {
  background: #2f7d4a;
  border-color: #2f7d4a;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(47, 125, 74, 0.22);
}

.check-ampel__btn.is-active .check-ampel__swatch {
  background: #fff;
}

.check-ampel__btn.is-active .check-ampel__text small {
  color: rgba(255, 255, 255, 0.88);
}

.check-note em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 720px) {
  .check-ampel {
    grid-template-columns: 1fr;
  }
}

.check-note {
  display: grid;
  gap: 0.45rem;
}

.check-note span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.check-note > .check-step-block__label {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.check-note textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  resize: vertical;
}

.check-note textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
}

.check-quiz__nav,
.check-quiz__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 2rem;
}

.check-quiz__nav-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.check-quiz__nav .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.check-quiz__tools {
  display: none;
}

/*
  Feste Quiz-Leiste am Viewport.
  Höhe wird per --check-nav-h aus JS nachgezogen.
*/
body.is-check-quiz .check-quiz {
  padding-bottom: calc(var(--check-nav-h, 5.5rem) + 1.5rem);
}

body.is-check-quiz .check-quiz__nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  margin: 0;
  max-height: min(42vh, 14rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: #fafafa;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px rgba(12, 61, 99, 0.06);
}

body.is-check-quiz .check-quiz__later-hint {
  margin: 0;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  font-size: 0.8rem;
  line-height: 1.35;
}

body.is-check-quiz .contact-dock {
  bottom: calc(var(--check-nav-h, 5.5rem) + 0.75rem);
  top: auto;
  transform: none;
}

/* Cookies-Reopen über der Quiz-Leiste, nicht darunter */
body.is-check-quiz .tlc-cookie-reopen {
  bottom: calc(var(--check-nav-h, 5.5rem) + 0.55rem) !important;
  left: 0.55rem !important;
  z-index: 45;
}

@media (max-width: 700px) {
  body.is-check-quiz .check-quiz {
    padding-bottom: calc(var(--check-nav-h, 9rem) + 1.25rem);
    padding-right: 0.25rem;
  }

  body.is-check-quiz .check-quiz__nav {
    padding: 0.5rem 0.55rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.is-check-quiz .check-quiz__nav-row {
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 0.35rem;
    overflow: visible;
  }

  body.is-check-quiz .check-quiz__nav .btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
    padding: 0.55rem 0.45rem;
    font-size: 0.82rem;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  body.is-check-quiz .check-quiz__nav .btn[data-check-later] {
    flex: 1 1 100%;
  }

  /* Wenn Zurück fehlt: Weiter volle Breite */
  body.is-check-quiz .check-quiz__nav .btn[data-check-prev][hidden] + .btn[data-check-next] {
    flex: 1 1 100%;
  }

  body.is-check-quiz .check-quiz__later-hint {
    font-size: 0.72rem;
    line-height: 1.3;
    padding: 0 0.15rem;
  }

  /* Contact-Dock im Quiz auf Mobile ausblenden — kollidiert mit Leiste/Ampel */
  body.is-check-quiz .contact-dock {
    display: none;
  }

  body.is-check-quiz .check-ampel {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  body.is-check-quiz .check-ampel__btn {
    padding: 0.7rem 0.75rem;
  }

  body.is-check-quiz .check-quiz__panel {
    padding-bottom: 0.5rem;
  }
}

.check-quiz__later-hint,
.check-quiz__completion,
.check-quiz__gate {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.check-quiz__gate {
  color: var(--brand);
  font-weight: 500;
}

.check-toc {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.check-toc__btn {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.65rem;
  align-items: baseline;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--brand);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.check-toc__btn:hover,
.check-toc__btn.is-active {
  border-color: var(--line);
  background: rgba(12, 61, 99, 0.04);
}

.check-toc__id {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.check-toc__title {
  font-size: 0.92rem;
  font-weight: 500;
}

.check-toc__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.check-mail-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
  max-width: none;
}

.check-mail-form__row {
  display: grid;
  gap: 0.85rem;
}

.check-result__cta .check-quiz__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.check-result__cta .check-quiz__actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.check-result__cta .check-quiz__actions .btn[type="submit"] {
  grid-column: 1 / -1;
}

@media (min-width: 520px) {
  .check-result__cta .check-quiz__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .check-result__cta .check-quiz__actions .btn[type="submit"] {
    grid-column: 1 / -1;
  }
}

.check-mail-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.check-mail-form input[type="text"],
.check-mail-form input[type="email"],
.check-mail-form textarea {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 1rem;
}

.check-mail-form__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.check-mail-form__consent input {
  margin-top: 0.2rem;
}

.check-mail-form__consent a {
  color: var(--brand);
  text-decoration: none;
}

.check-mail-form__consent a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.check-mail-form__note,
.check-mail-status {
  margin: 1.15rem 0 0;
  padding: 1rem 1.1rem 1rem 1.15rem;
  border: 1px solid rgba(47, 125, 74, 0.28);
  border-left: 4px solid #2f7d4a;
  background: linear-gradient(180deg, rgba(47, 125, 74, 0.1), rgba(47, 125, 74, 0.04));
  color: #1f4d32;
  font-size: 0.95rem;
  line-height: 1.45;
}

.check-mail-status[hidden] {
  display: none !important;
}

.check-mail-status__title {
  margin: 0 0 0.25rem;
  color: #2f7d4a;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.check-mail-status__text {
  margin: 0;
  color: #355f44;
}

.check-mail-status--pending {
  border-color: rgba(12, 61, 99, 0.22);
  border-left-color: var(--brand);
  background: linear-gradient(180deg, rgba(12, 61, 99, 0.08), rgba(12, 61, 99, 0.03));
  color: var(--brand);
}

.check-mail-status--pending .check-mail-status__title {
  color: var(--brand);
}

.check-mail-status--pending .check-mail-status__text {
  color: var(--muted);
}

.check-mail-status--error {
  border-color: rgba(194, 59, 59, 0.28);
  border-left-color: #c23b3b;
  background: linear-gradient(180deg, rgba(194, 59, 59, 0.1), rgba(194, 59, 59, 0.04));
  color: #7a2424;
}

.check-mail-status--error .check-mail-status__title {
  color: #c23b3b;
}

.check-mail-status--error .check-mail-status__text {
  color: #7a2424;
}

.check-mail-status--success {
  border-color: rgba(47, 125, 74, 0.28);
  border-left-color: #2f7d4a;
  background: linear-gradient(180deg, rgba(47, 125, 74, 0.12), rgba(47, 125, 74, 0.04));
}

.faq-more {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.faq--page {
  padding-top: 0;
  width: 100%;
  max-width: none;
}

.faq--page .faq-list {
  width: 100%;
  max-width: none;
}

.faq--page .faq-item__inner {
  max-width: 48rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand);
  opacity: 1;
}

@media (min-width: 900px) {
  .check-quiz {
    max-width: none;
  }

  .check-quiz {
    display: grid;
    grid-template-columns: minmax(12rem, 15rem) minmax(0, 40rem);
    column-gap: 2.5rem;
    align-items: start;
  }

  .check-toc {
    grid-column: 1;
    grid-row: 1 / span 8;
    position: sticky;
    top: 5.5rem;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .check-quiz__meta,
  .check-quiz__progress,
  .check-quiz__completion,
  .check-quiz__panel,
  .check-quiz__gate,
  .check-quiz__nav,
  .check-quiz__later-hint {
    grid-column: 2;
  }
}

.check-result__summary {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.check-readiness {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.check-readiness--rot {
  border-color: rgba(194, 59, 59, 0.35);
  background: linear-gradient(180deg, rgba(194, 59, 59, 0.1), #fff 70%);
}

.check-readiness--gelb {
  border-color: rgba(224, 138, 30, 0.4);
  background: linear-gradient(180deg, rgba(224, 138, 30, 0.12), #fff 70%);
}

.check-readiness--gruen {
  border-color: rgba(47, 125, 74, 0.35);
  background: linear-gradient(180deg, rgba(47, 125, 74, 0.1), #fff 70%);
}

.check-readiness__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.check-readiness__score {
  margin: 0;
  color: var(--brand);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.check-readiness--rot .check-readiness__score {
  color: #c23b3b;
}

.check-readiness--gelb .check-readiness__score {
  color: #e08a1e;
}

.check-readiness--gruen .check-readiness__score {
  color: #2f7d4a;
}

.check-readiness__title {
  margin: 0.65rem 0 0.45rem;
  color: var(--brand);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
}

.check-readiness__text {
  margin: 0 0 1.15rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.check-readiness__meter {
  height: 0.55rem;
  margin-bottom: 1rem;
  background: rgba(12, 61, 99, 0.08);
  overflow: hidden;
}

.check-readiness__meter-fill {
  display: block;
  height: 100%;
  background: var(--brand);
  transition: width 0.6s var(--ease);
}

.check-readiness--rot .check-readiness__meter-fill {
  background: #c23b3b;
}

.check-readiness--gelb .check-readiness__meter-fill {
  background: #e08a1e;
}

.check-readiness--gruen .check-readiness__meter-fill {
  background: #2f7d4a;
}

.check-readiness__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-readiness__count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.check-readiness__count span {
  font-weight: 700;
  color: var(--ink);
}

.check-readiness__count--rot {
  border-color: rgba(194, 59, 59, 0.35);
}

.check-readiness__count--rot span {
  color: #c23b3b;
}

.check-readiness__count--gelb {
  border-color: rgba(224, 138, 30, 0.4);
}

.check-readiness__count--gelb span {
  color: #e08a1e;
}

.check-readiness__count--gruen {
  border-color: rgba(47, 125, 74, 0.35);
}

.check-readiness__count--gruen span {
  color: #2f7d4a;
}

.check-readiness__mail {
  display: inline-flex;
  margin-top: 1.15rem;
}

.check-result__card {
  padding: 0;
  border-top: 1px solid var(--line);
}

.check-result__card--rot {
  box-shadow: inset 3px 0 0 #c23b3b;
}

.check-result__card--gelb {
  box-shadow: inset 3px 0 0 #e08a1e;
}

.check-result__card--gruen {
  box-shadow: inset 3px 0 0 #2f7d4a;
}

.check-result__toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 1.2rem 0.15rem 1.2rem 0.85rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.check-result__toggle:hover {
  opacity: 0.82;
}

.check-result__toggle-main {
  min-width: 0;
}

.check-result__chevron {
  position: relative;
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.55rem;
  border-right: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.check-result__card.is-open .check-result__chevron {
  margin-top: 0.75rem;
  transform: rotate(225deg);
}

.check-result__panel {
  padding: 0 0.15rem 1.25rem 0.85rem;
}

.check-result__panel[hidden] {
  display: none;
}

.check-result__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.check-result__badge {
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.check-result__badge--rot {
  border-color: rgba(194, 59, 59, 0.35);
  background: rgba(194, 59, 59, 0.08);
  color: #c23b3b;
}

.check-result__badge--gelb {
  border-color: rgba(224, 138, 30, 0.4);
  background: rgba(224, 138, 30, 0.1);
  color: #c47312;
}

.check-result__badge--gruen {
  border-color: rgba(47, 125, 74, 0.35);
  background: rgba(47, 125, 74, 0.08);
  color: #2f7d4a;
}

.check-result__card:last-child {
  border-bottom: 1px solid var(--line);
}

.check-result__card-id {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.check-result__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.check-result__card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-result__card.is-open .check-result__card-meta {
  margin-bottom: 0;
}

.check-result__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-result__list li {
  display: grid;
  grid-template-columns: 0.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.check-result__list p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.check-result__note {
  margin-top: 0.3rem !important;
  color: var(--muted) !important;
  font-size: 0.98rem !important;
}

.check-dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  border-radius: 0;
  background: var(--line);
}

.check-dot--rot {
  background: #c23b3b;
}

.check-dot--gelb {
  background: #e08a1e;
}

.check-dot--gruen {
  background: #2f7d4a;
}

.check-result__cta {
  padding: 0;
  border-top: 0;
}

.check-result__cta h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
}

.check-result__cta > .check-result__cta-sticky > p,
.check-result__cta-sticky > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (min-width: 960px) {
  .check-result__layout {
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 34rem);
    gap: 2rem 2.5rem;
    align-items: stretch;
  }

  .check-mail-form__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .check-result__cta-sticky {
    position: sticky;
    top: calc(var(--check-resume-h, 0px) + 4.85rem);
    z-index: 5;
    max-height: none;
    overflow: visible;
  }
}

.check-intro[hidden],
.check-quiz[hidden],
.check-result[hidden] {
  display: none;
}

/* Leistungsseiten */

.leistung-topics,
.leistung-related {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.leistung-topics {
  border-top: 0;
  margin: 0.5rem 0 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  background: transparent;
  border-radius: 0;
}

.leistung-topics h2 {
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}

.leistung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.leistung-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.45rem;
  border: 0;
  border-radius: 0;
  background: var(--brand);
  color: #fff;
}

.leistung-card:last-child {
  border-bottom: 0;
}

.leistung-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.leistung-card__icon span {
  width: 1.15rem;
  height: 1.15rem;
  background: #fff;
  -webkit-mask: var(--card-icon) center / contain no-repeat;
  mask: var(--card-icon) center / contain no-repeat;
}

.leistung-card h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.leistung-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}


.leistung-bento {
  display: grid;
  gap: 0.75rem;
  margin: 0.75rem 0 clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: 1fr;
}

.leistung-bento__tile {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 11rem;
}

.leistung-bento__tile--photo {
  min-height: 16rem;
  background: #dfe5eb;
}

.leistung-bento__tile--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leistung-bento__tile--brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1.5rem 1.45rem;
  background: var(--brand);
  color: #fff;
}

.leistung-bento__tile--brand strong {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.leistung-bento__tile--brand span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 28rem;
}

.leistung-bento__tile--soft {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 1.4rem;
  background: var(--panel);
  color: var(--brand);
}

.leistung-bento__tile--soft strong {
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.leistung-bento__tile--soft span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.leistung-bento__tile--fact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1.45rem 1.4rem;
  background: #183a56;
  color: #fff;
}

.leistung-bento__tile--fact strong {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.leistung-bento__tile--fact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .leistung-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(12rem, 1fr) minmax(14rem, 1.15fr);
    min-height: min(58vh, 34rem);
    gap: 0.85rem;
  }

  .leistung-bento__tile--photo-a {
    grid-column: 1 / span 5;
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .leistung-bento__tile--brand {
    grid-column: 6 / span 7;
    grid-row: 1;
  }

  .leistung-bento__tile--soft {
    grid-column: 6 / span 3;
    grid-row: 2;
  }

  .leistung-bento__tile--photo-b {
    grid-column: 9 / span 2;
    grid-row: 2;
    min-height: 100%;
  }

  .leistung-bento__tile--fact {
    grid-column: 11 / span 2;
    grid-row: 2;
  }
}

@media (min-width: 1100px) {
  .leistung-bento {
    min-height: min(64vh, 40rem);
    grid-template-rows: minmax(14rem, 1fr) minmax(16rem, 1.15fr);
  }
}

.leistung-steps {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.leistung-steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.leistung-steps span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.leistung-steps h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.leistung-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.leistung-bullets {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.leistung-bullets li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.2rem;
}

.leistung-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .leistung-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 980px) {
  .leistung-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .leistung-card {
    padding: 1.4rem 1.25rem 1.5rem;
  }
}

.listing-grid {
  display: grid;
  gap: 0;
  margin-bottom: 1.5rem;
}

.listing {
  display: block;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.25s var(--ease);
}

.listing:last-child {
  border-bottom: 1px solid var(--line);
}

.listing:hover {
  opacity: 0.65;
}

.listing__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.listing h3 {
  margin-bottom: 0.45rem;
}

.listing p {
  color: var(--muted);
  font-size: 1.2rem;
}

/* Börse page */

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 1.5rem;
  max-width: 40rem;
}

.page-hero.leistung-hero {
  max-width: none;
  width: 100%;
  padding: clamp(3.25rem, 8vw, 5.5rem) 0 clamp(2.25rem, 5vw, 3.25rem);
}

.page-hero.leistung-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.leistung-intro-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  margin-top: 0.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.leistung-intro-grid .section-lead,
.leistung-intro-grid .leistung-intro__text {
  margin: 0;
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  line-height: 1.55;
}

.leistung-intro-grid .section-lead {
  color: var(--brand);
  font-size: clamp(1.12rem, 2.2vw, 1.28rem);
  font-weight: 500;
}

.leistung-intro-grid .leistung-intro__text {
  color: var(--muted);
  font-size: 1.12rem;
}

@media (min-width: 800px) {
  .leistung-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3.5rem;
  }
}

.boerse-hero {
  max-width: none;
  width: 100%;
  padding-bottom: 0.5rem;
}

.boerse-hero > .label,
.boerse-hero > h1,
.boerse-hero > .section-lead {
  max-width: 40rem;
}

.boerse-ai {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
}

.boerse-ai__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.boerse-ai__input {
  width: 100%;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 1.05rem;
}

.boerse-ai__input:focus {
  outline: 2px solid rgba(12, 61, 99, 0.25);
  outline-offset: 1px;
}

.filter-search-note {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.filter-panel > .filter-search-note {
  padding-left: 1.85rem;
  padding-right: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 0;
}

.breadcrumbs {
  margin: 0 0 1.5rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
}

.breadcrumbs__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  line-height: 1.25;
}

.breadcrumbs__list li:not(:last-child)::after {
  content: "/";
  color: var(--line-strong, var(--line));
  font-weight: 400;
  line-height: 1;
}

.breadcrumbs__list a,
.breadcrumbs__list [aria-current="page"] {
  display: inline-block;
  line-height: 1.25;
  vertical-align: middle;
}

.breadcrumbs__list a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs__list a:hover {
  color: var(--brand);
}

.breadcrumbs__list [aria-current="page"] {
  color: var(--ink);
}

.legal-content {
  width: min(100%, 42rem);
  padding: 0 0 clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.legal-content h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1rem;
}

.legal-content p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.legal-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.back-link .text-link {
  margin-top: 0;
}

.back-link .text-link::after {
  content: none;
}

.back-link:hover {
  color: var(--brand);
}

.boerse-layout {
  display: grid;
  gap: 1.25rem;
  padding: 1rem 0 clamp(3rem, 8vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.boerse-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
}

.boerse-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.filter-slot {
  display: grid;
  grid-template-rows: 0fr;
  min-width: 0;
  overflow: hidden;
  transition:
    grid-template-rows 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    margin 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0;
}

.boerse-layout.is-filter-open .filter-slot {
  grid-template-rows: 1fr;
  margin-bottom: 1.5rem;
}

.filter-toggle {
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--brand);
  border-radius: 0;
  background: var(--brand);
  color: #fafafa;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.filter-toggle:hover {
  opacity: 0.88;
}

.filter-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--brand);
}

.filter-panel {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  background: #fff;
  opacity: 0;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.boerse-layout.is-filter-open .filter-panel {
  opacity: 1;
  border-color: var(--line);
  pointer-events: auto;
}

.filter-panel > .filter-panel__head,
.filter-panel > .filter-search,
.filter-panel > .filter-search-note,
.filter-panel > .filter-group {
  padding-left: 1rem;
  padding-right: 1rem;
}

.filter-panel > .filter-panel__head {
  padding-top: 1rem;
}

.filter-panel > .filter-group:last-child {
  padding-bottom: 1rem;
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.filter-panel__head h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.filter-panel__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.filter-close {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.filter-close:hover {
  opacity: 0.6;
}

.filter-search {
  margin-bottom: 1.5rem;
}

.filter-search__input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.filter-search__input::placeholder {
  color: var(--muted);
}

.filter-search__input:focus {
  border-color: var(--brand);
}

.filter-reset {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.filter-reset:hover {
  color: var(--brand);
}

.filter-group {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.filter-group legend {
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-btn {
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fafafa;
}

.filter-select {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.filter-select:focus {
  border-color: var(--brand);
}

.filter-checks {
  display: grid;
  gap: 0.35rem;
  max-height: 12rem;
  overflow: auto;
  padding: 0.15rem 0.15rem 0.15rem 0;
  border: 1px solid var(--line);
  background: #fff;
}

.filter-accordion {
  margin: 0 0 1rem;
  padding: 0 1rem;
}

.filter-accordion__toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.6rem;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

.filter-accordion__label {
  flex: 1;
}

.filter-accordion__count {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.filter-accordion__count[hidden] {
  display: none;
}

.filter-accordion__icon {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.filter-accordion.is-open .filter-accordion__icon {
  transform: rotate(225deg);
}

.filter-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-accordion.is-open .filter-accordion__panel {
  grid-template-rows: 1fr;
}

.filter-accordion__inner {
  min-height: 0;
  overflow: hidden;
  transition: padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-accordion.is-open .filter-accordion__inner {
  padding-top: 0.65rem;
}

.filter-accordion .filter-checks {
  margin: 0;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.filter-check:hover {
  background: var(--soft);
}

.filter-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid rgba(12, 61, 99, 0.35);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.filter-check input:checked {
  background: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fafafa' stroke-width='2' d='M3.5 8.2 6.6 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.results-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.boerse-results {
  min-width: 0;
  container-type: inline-size;
  container-name: boerse-results;
}

.boerse-loading {
  margin: 0;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.listing__sold {
  color: #c23b3b;
  font-weight: 600;
}

.listing-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-top: 0;
}

.listing-stack--teaser {
  margin-bottom: 1.5rem;
}

@container boerse-results (min-width: 420px) {
  .listing-stack {
    grid-template-columns: repeat(
      auto-fit,
      minmax(min(100%, max(240px, calc((100% - 1rem) / 3))), 1fr)
    );
  }
}

@media (min-width: 700px) {
  .listing-stack--teaser {
    grid-template-columns: repeat(3, 1fr);
  }
}

.listing-row {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  transition:
    background var(--hover-duration) var(--ease-soft),
    border-color var(--hover-duration) var(--ease-soft),
    color var(--hover-duration) var(--ease-soft);
}

.listing-row:hover {
  background: var(--brand);
  border-color: transparent;
  color: #fafafa;
  opacity: 1;
}

.listing-row[hidden] {
  display: none;
}

.listing__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.listing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
  padding: 1.1rem 1.1rem 1.25rem;
}

.listing-row .listing__meta {
  transition: color var(--hover-duration) var(--ease-soft);
}

.listing-row:hover .listing__meta {
  color: rgba(250, 250, 250, 0.7);
}

.listing-row h2,
.listing-row h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-bottom: 0;
  line-height: 1.25;
  color: inherit;
  transition: color var(--hover-duration) var(--ease-soft);
}

.listing-row .listing__body > p:not(.listing__price) {
  max-width: none;
  color: var(--muted);
  font-size: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--hover-duration) var(--ease-soft);
}

.listing-row:hover .listing__body > p:not(.listing__price) {
  color: rgba(250, 250, 250, 0.86);
}

.listing__price {
  margin-top: auto !important;
  padding-top: 0.75rem;
  color: var(--brand) !important;
  font-weight: 600;
  font-size: 0.9rem !important;
  transition: color var(--hover-duration) var(--ease-soft);
}

.listing-row:hover .listing__price {
  color: #fafafa !important;
}

.boerse-empty {
  margin: 2rem 0;
  color: var(--muted);
}

.boerse-empty[hidden] {
  display: none;
}

.boerse-note {
  margin-top: 2.5rem;
  color: var(--muted);
  max-width: 36rem;
}

.boerse-note a {
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid currentColor;
}

.nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.32em;
  text-decoration-thickness: 1.5px;
}

.filter-backdrop {
  display: none;
}

@media (max-width: 899px) {
  .filter-slot {
    display: block;
    height: 0;
    margin: 0 !important;
    overflow: visible;
    transition: none;
  }

  .boerse-layout.is-filter-open .filter-slot {
    grid-template-rows: unset;
    margin-bottom: 0;
  }

  .filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(12, 61, 99, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s var(--ease-soft),
      visibility 0.35s var(--ease-soft);
  }

  .boerse-layout.is-filter-open .filter-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .filter-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 71;
    width: 100%;
    max-height: min(82vh, 46rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 max(1.1rem, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -10px 36px rgba(12, 61, 99, 0.18);
    opacity: 1;
    transform: translateY(110%);
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .boerse-layout.is-filter-open .filter-panel {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
    border-color: var(--line);
  }

  .filter-panel > .filter-panel__head {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .filter-close {
    display: grid;
    place-items: center;
  }

  .filter-toggle[aria-expanded="true"] {
    background: var(--brand);
    color: #fafafa;
  }
}

@media (min-width: 900px) {
  .boerse-body {
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  .filter-slot {
    display: block;
    flex: 0 0 auto;
    width: 0;
    margin: 0;
    margin-right: 0;
    overflow: hidden;
    align-self: stretch;
    transition:
      width 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      margin-right 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .boerse-layout.is-filter-open .filter-slot {
    width: 17.5rem;
    margin-right: 2.25rem;
    margin-bottom: 0;
    overflow: hidden;
  }

  .boerse-layout.is-filter-open.is-filter-sticky .filter-slot {
    overflow: visible;
  }

  .filter-panel {
    width: 17.5rem;
    opacity: 0;
    transform: none;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
      border-color 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .boerse-layout.is-filter-open .filter-panel {
    opacity: 1;
    position: relative;
    top: auto;
    max-height: none;
    overflow: hidden;
  }

  .boerse-layout.is-filter-open.is-filter-sticky .filter-panel {
    position: sticky;
    top: 5.25rem;
    max-height: calc(100vh - 6.5rem);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .boerse-results {
    flex: 1 1 auto;
    min-width: 0;
  }

  /*
    Grid folgt der animierten Breite:
    voll → 3 Spalten, mit Filter schmaler → 2 Spalten
    ohne harten Klassen-Sprung
  */
  .listing-stack {
    grid-template-columns: repeat(
      auto-fit,
      minmax(min(100%, max(250px, calc((100% - 2rem) / 3))), 1fr)
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .boerse-body,
  .filter-slot,
  .filter-panel,
  .filter-accordion__panel,
  .filter-accordion__icon,
  .faq-item__panel,
  .faq-item__inner,
  .faq-item__icon::before,
  .faq-item__icon::after,
  .about-expert__panel,
  .about-expert__inner,
  .about-experts__figure {
    transition: none !important;
  }

  .about-expert.is-active .about-expert__progress-bar {
    animation: none;
    transform: scaleX(1);
  }

  .review-slider__track {
    transition: none;
  }
}

/* FAQ */

.faq-list {
  margin-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
  padding: 1.35rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--brand);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: opacity 0.25s var(--ease);
}

.faq-item__toggle:hover {
  opacity: 0.65;
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.faq-item__icon::before {
  width: 100%;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 100%;
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-item__inner {
  opacity: 1;
  transition-delay: 0.08s;
}

.faq-item__inner p {
  margin: 0;
  padding: 0 2.5rem 1.4rem 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

/* Contact */

.contact__grid {
  display: grid;
  gap: 2.5rem;
}

.contact__details {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.contact__details a {
  font-weight: 500;
  width: fit-content;
}

.contact__details a:hover {
  opacity: 0.6;
}

.contact__details address {
  margin-top: 0.75rem;
  color: var(--muted);
}

.contact-page {
  border-top: 0;
  padding-top: 0.5rem;
}

.contact-page-hero {
  max-width: 42rem;
}

.contact__company {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact__whatsapp {
  margin-top: 0.35rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form__row {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form span,
.contact-form legend {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.contact-form__prefs {
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.65rem;
}

.contact-form__prefs legend {
  margin-bottom: 0.25rem;
  padding: 0;
}

.contact-form__check {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  cursor: pointer;
}

.contact-form__check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  border: 1.5px solid rgba(12, 61, 99, 0.35);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.contact-form__check input:checked {
  background: var(--brand);
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fafafa' stroke-width='2' d='M3.5 8.2 6.6 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.contact-form__check span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}

.contact-form__consent {
  margin-top: 0.25rem;
}

.contact-form__consent a {
  color: var(--brand);
  text-decoration: none;
}

.contact-form__consent a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.contact-form input:not([type="checkbox"]):not([type="radio"]):focus,
.contact-form textarea:focus {
  border-bottom-color: var(--brand);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer__bottom div {
  display: flex;
  gap: 1.25rem;
}

.site-footer__bottom a:hover {
  color: var(--brand);
}

/* Motion */

/* Ohne JS sichtbar. Animation erst nach html.mellow-anim — sonst bleibt
   Inhalt in Firefox (leerer Cache) unsichtbar, bis IntersectionObserver feuert. */
.reveal {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

html.mellow-anim .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

html.mellow-anim .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Über uns */

.about-hero {
  max-width: 44rem;
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 0.35rem;
}

.about-hero__actions .btn,
.about-hero__actions .text-link {
  margin-top: 0;
  align-self: center;
}

.about-signal {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.about-signal__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(100% - 2rem, var(--max));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-signal__item {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
}

.about-signal__item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.about-signal__item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.about-signal__value {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.1;
}

.about-signal__label {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (min-width: 800px) {
  .about-signal__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-signal__item {
    padding: 1.6rem 1.25rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .about-signal__item:last-child {
    border-right: 0;
  }

  .about-signal__item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

.about-team,
.about-block,
.about-reviews,
.about-partners {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.about-story + .about-team {
  border-top: 0;
}

.about-story {
  width: 100vw;
  max-width: none;
  margin: clamp(1.5rem, 4vw, 2.5rem) calc(50% - 50vw);
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  border: 0;
  background: rgba(12, 61, 99, 0.07);
  box-sizing: border-box;
}

.about-story__layout,
.about-story > .about-timeline {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.about-team h2,
.about-block h2,
.about-reviews h2,
.about-story h2,
.about-partners h2 {
  margin-bottom: 0;
}

.about-team__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.about-team__intro .label {
  margin: 0;
}

.about-team__intro h2 {
  margin: 0;
}

.about-team__intro .section-lead {
  margin: 0;
  max-width: 28rem;
}

.about-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.about-person {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.about-person__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.about-person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15);
}

.about-person__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
  padding: 1.15rem 1.15rem 1.35rem;
}

.about-person__role {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.about-person h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-person__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.about-person .text-link {
  width: fit-content;
  margin-top: 0.55rem;
}

.about-person__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.55rem;
}

.about-person__links .text-link {
  margin-top: 0;
}

@media (min-width: 500px) and (max-width: 899px) {
  .about-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Intro + 2 persons on first row, 3 persons below */
@media (min-width: 900px) {
  .about-team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.15rem;
    align-items: stretch;
  }

  .about-team__intro {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding: 0 0.5rem 0 0;
  }

  .about-team__grid {
    display: contents;
    margin-top: 0;
  }

  .about-team__grid > .boerse-loading,
  .about-team__grid > .boerse-empty {
    grid-column: 2 / -1;
  }
}

.about-block__text {
  max-width: 40rem;
  margin: 0.85rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.about-reviews__head {
  max-width: none;
}

.about-reviews__head .section-lead {
  margin-bottom: 0;
  max-width: 32rem;
}

.about-reviews__lead-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.85rem;
}

.review-slider {
  --review-gap: 1.25rem;
  --review-height: 19rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.review-slider__viewport {
  position: relative;
  overflow: hidden;
  height: var(--review-height);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.review-slider__viewport:active {
  cursor: grabbing;
}

.review-slider__track {
  display: flex;
  align-items: stretch;
  gap: var(--review-gap);
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slider__track.is-instant {
  transition: none;
}

.review-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - var(--review-gap)) / 2);
  width: calc((100% - var(--review-gap)) / 2);
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.review-slide__stars {
  margin: 0 0 0.9rem;
  color: var(--brand);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  line-height: 1;
  flex-shrink: 0;
}

.review-slide blockquote {
  margin: 0;
  flex: 1;
  min-height: 0;
}

.review-slide blockquote p {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

@media (min-width: 700px) {
  .review-slider {
    --review-gap: 2.5rem;
    --review-height: 18rem;
  }
}

.review-slide__meta {
  display: grid;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 1.25rem;
  flex-shrink: 0;
}

.review-slide__name {
  margin: 0;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
}

.review-slide__source {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.review-slider__controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.65rem;
  margin: 0;
  margin-left: auto;
}

@media (max-width: 699px) {
  .about-reviews__lead-row {
    flex-direction: column;
    align-items: stretch;
  }

  .review-slider__controls {
    align-self: flex-end;
    margin-left: 0;
  }
}

.review-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.review-slider__btn:hover {
  background: var(--brand);
  color: #fafafa;
}


.about-experts {
  --experts-duration: 10s;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.about-experts__intro {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-experts__intro h2 {
  margin-bottom: 0;
}

.about-experts__stage {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-experts__list {
  border-top: 0;
}

.about-expert {
  border-bottom: 1px solid var(--line);
  opacity: 0.42;
  transition: opacity 0.35s var(--ease);
  cursor: pointer;
}

.about-expert.is-active {
  opacity: 1;
}

.about-expert__toggle {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 1.35rem 0 0.35rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--brand);
  position: relative;
  z-index: 1;
}

.about-expert__toggle .about-expert__title,
.about-expert__toggle .about-expert__mark,
.about-expert__toggle .about-expert__head {
  pointer-events: none;
}

html.mellow-inline-text-editing .about-expert__toggle .about-expert__title,
html.mellow-inline-text-editing .about-expert__toggle .about-expert__mark {
  pointer-events: auto;
}

.about-expert__progress {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.about-expert.is-active .about-expert__progress {
  opacity: 1;
}

.about-expert__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
}

.about-expert.is-active .about-expert__progress-bar {
  animation: experts-progress var(--experts-duration) linear forwards;
}

.about-experts.is-paused .about-expert.is-active .about-expert__progress-bar {
  animation-play-state: paused;
}

@keyframes experts-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.about-expert__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.about-expert__mark {
  display: inline-block;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  background-color: var(--muted);
  -webkit-mask: var(--expert-icon) center / contain no-repeat;
  mask: var(--expert-icon) center / contain no-repeat;
  transition: background-color var(--hover-duration) var(--ease-soft);
}

.about-expert.is-active .about-expert__mark {
  background-color: var(--brand);
}

.about-expert__mark--step {
  display: inline-grid;
  place-items: center;
  background: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-expert.is-active .about-expert__mark--step {
  color: var(--brand);
}

.leistung-process.about-experts {
  /* reuse experts padding/border; avoid double section spacing */
  margin: 0;
}

.about-expert__title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-expert__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-expert.is-active .about-expert__panel {
  grid-template-rows: 1fr;
}

.about-expert__inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-expert.is-active .about-expert__inner {
  opacity: 1;
  transition-delay: 0.08s;
}

.about-expert__inner p {
  margin: 0;
  padding: 0.55rem 0 1.4rem;
  /* Align with title: icon width + head gap */
  padding-left: calc(1.35rem + 0.9rem);
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.about-experts__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}

/* Mobile: image sits directly under the open panel text */
.about-expert__inner > .about-experts__media {
  margin: 0.35rem 0 1.35rem;
  aspect-ratio: 16 / 10;
}

.about-expert__inner:has(> .about-experts__media) > p {
  padding-bottom: 0.85rem;
}

.about-experts__figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.65s var(--ease-soft);
}

.about-experts__figure.is-active {
  opacity: 1;
  z-index: 1;
}

.about-experts__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .about-experts__stage {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: stretch;
  }

  .about-experts__media {
    position: sticky;
    top: 6.5rem;
    min-height: 28rem;
    aspect-ratio: auto;
    height: min(34rem, 70vh);
  }

  .about-expert__inner > .about-experts__media {
    margin: 0;
  }

  .about-expert__toggle {
    padding-top: 1.5rem;
  }
}

.about-story__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-story__content h2 {
  margin-bottom: 0;
}

.about-story .section-lead {
  margin-bottom: 1.25rem;
}

.about-story__note {
  margin: 0;
  max-width: 36rem;
  color: var(--brand);
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 500;
}

.about-timeline {
  --timeline-dot: 0.55rem;
  --timeline-pad: 1.15rem;
  list-style: none;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-top: 0;
  position: relative;
}

.about-timeline li {
  position: relative;
  padding: calc(var(--timeline-pad) + 0.35rem) 0 0;
}

.about-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  background: var(--brand);
  z-index: 1;
}

/* Vertical connector on stacked mobile layout */
.about-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--timeline-dot) / 2 - 0.5px);
  top: var(--timeline-dot);
  width: 1px;
  height: calc(100% + 1.5rem - var(--timeline-dot));
  background: rgba(12, 61, 99, 0.22);
}

.about-timeline__year {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.about-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

@media (min-width: 800px) {
  .about-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  /* Continuous horizontal rail through all dots */
  .about-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--timeline-dot) / 2 - 0.5px);
    height: 1px;
    background: rgba(12, 61, 99, 0.22);
    z-index: 0;
  }

  .about-timeline li:not(:last-child)::after {
    display: none;
  }
}

.about-story__layout--text {
  grid-template-columns: minmax(0, 1fr);
  /* Gleiche linke Kante wie die Timeline (volle Content-Breite), Text nur innen begrenzt */
  max-width: none;
  text-align: left;
}

.about-story__layout--text .about-story__content {
  max-width: 40rem;
  text-align: left;
  justify-self: start;
}

.about-story__media {
  margin: 0;
  max-width: 22rem;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.about-story__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 860px) {
  .about-story__layout:not(.about-story__layout--text) {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }

  .about-story__media {
    justify-self: end;
    position: sticky;
    top: 6rem;
  }
}

.about-press {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}

.about-press__inner {
  display: grid;
  gap: 1.5rem;
  max-width: 44rem;
}

.about-press__media {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.about-press__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 860px) {
  .about-press__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.75rem, 3vw, 2.75rem);
    align-items: center;
    max-width: none;
  }
}

.about-partners__banner {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.about-partners__banner li {
  margin: 0;
  min-width: 0;
}

.about-partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  height: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: border-color var(--hover-duration) var(--ease-soft);
}

a.about-partners__logo:hover {
  border-color: var(--brand);
}

.about-partners__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 3.25rem;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition:
    filter var(--hover-duration) var(--ease-soft),
    opacity var(--hover-duration) var(--ease-soft);
}

.about-partners__logo--lg {
  padding: 0.65rem 0.75rem;
}

.about-partners__logo--lg img {
  max-height: 4.35rem;
  max-width: 92%;
}

a.about-partners__logo:hover img {
  filter: none;
  opacity: 1;
}

@media (min-width: 700px) {
  /* Zwei Zeilen: 5 oben + 4 unten */
  .about-partners__banner {
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 1rem;
  }

  .about-partners__banner > li {
    grid-column: span 4;
  }

  .about-partners__banner > li:nth-child(6) {
    grid-column: 3 / span 4;
  }

  .about-partners__banner > li:nth-child(7) {
    grid-column: 7 / span 4;
  }

  .about-partners__banner > li:nth-child(8) {
    grid-column: 11 / span 4;
  }

  .about-partners__banner > li:nth-child(9) {
    grid-column: 15 / span 4;
  }

  .about-partners__logo {
    min-height: 6rem;
    padding: 1.15rem 0.85rem;
  }

  .about-partners__logo img {
    max-height: 3.35rem;
  }

  .about-partners__logo--lg {
    padding: 0.7rem 0.55rem;
  }

  .about-partners__logo--lg img {
    max-height: 4.6rem;
  }
}

@media (min-width: 700px) and (max-width: 999px) {
  .about-partners__banner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-partners__banner > li,
  .about-partners__banner > li:nth-child(n) {
    grid-column: auto;
  }
}

.about-cta {
  margin-top: clamp(1rem, 3vw, 2rem);
}


/* Responsive */

@media (min-width: 800px) {
  .nav {
    display: flex;
    margin-left: auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-search {
    margin-left: 1rem;
    margin-right: 0;
  }

  .site-search-panel__close {
    display: none;
  }

  .listing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

  .listing,
  .listing:last-child {
    border: 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .contact__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

/* Listing detail */

main:has(.listing-detail) {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.listing-detail {
  display: grid;
  gap: 1.75rem;
  padding: 0 0 clamp(3rem, 8vw, 5.5rem);
  max-width: 72rem;
}

.listing-detail__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1rem;
}

.listing-detail__header h1 {
  margin: 0;
}

.listing-detail__top {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.listing-detail__top > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .listing-detail__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

.listing-detail__media {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: min(22rem, 40vw);
  overflow: hidden;
  background: #e8e8e8;
  border: 1px solid var(--line);
  isolation: isolate;
}

@media (max-width: 899px) {
  .listing-detail__media {
    max-height: min(18rem, 58vw);
  }
}

.listing-detail__media img,
.listing-detail__slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.listing-detail__slides {
  position: absolute;
  inset: 0;
}

.listing-detail__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.listing-detail__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.listing-detail__slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 2px 10px rgba(12, 61, 99, 0.12);
}

.listing-detail__slider-btn--prev {
  left: 0.75rem;
}

.listing-detail__slider-btn--next {
  right: 0.75rem;
}

.listing-detail__slider-btn:hover {
  background: #fff;
}

.listing-detail__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: none;
}

.listing-detail__dot {
  pointer-events: auto;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.listing-detail__dot.is-active {
  background: #fff;
}

.listing-detail__card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.35rem 1.4rem 1.4rem;
  background: #f3f5f7;
  border: 1px solid rgba(12, 61, 99, 0.08);
}

.listing-detail__card-type {
  margin: 0;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.listing-detail__card .listing-detail__facts {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1;
}

.listing-detail__card .listing-detail__downloads {
  margin: 0;
  padding-top: 0.25rem;
}

.listing-detail__card .listing-detail__download {
  flex: 1 1 auto;
  min-width: 0;
}

.listing-detail__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.listing-detail h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--brand);
  margin: 0;
  line-height: 1.2;
}

.listing-detail__price {
  margin: 0 0 1.5rem;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 600;
}

.listing-detail__teaser {
  margin: 0 0 1.35rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.55;
}

.listing-detail__teaser p {
  margin: 0;
}

.listing-detail__copy {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.listing-detail__lead {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
}

.listing-detail__downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}

.listing-detail__download {
  min-width: 6.5rem;
  justify-content: center;
}

.listing-detail__section-title {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 600;
}

.listing-detail__nda {
  margin: 0 0 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.listing-detail__nda h2 {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.listing-detail__nda p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 40rem;
}

.listing-detail__nda .text-link {
  font-weight: 500;
}

.listing-detail__copy p {
  margin: 0;
}

.listing-detail__copy strong {
  color: var(--ink);
  font-weight: 600;
}

.listing-detail__copy h2,
.listing-detail__copy h3,
.listing-detail__copy h4 {
  margin: 1.1rem 0 0.35rem;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 600;
}

.listing-detail__copy ul,
.listing-detail__copy ol {
  margin: 0.2rem 0 0.6rem;
  padding-left: 1.25rem;
}

.listing-detail__copy li {
  margin: 0.25rem 0;
}

.listing-detail__copy a {
  color: var(--brand, #0c3d63);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.listing-detail__copy br + br {
  display: none;
}

.listing-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.listing-detail__facts dt {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.listing-detail__facts dd {
  margin: 0;
  color: var(--brand);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.listing-detail__facts > div {
  min-width: 0;
}

.listing-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Fixed Interesse CTA — bottom right */
button.btn[data-interest-open] {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 61;
  margin: 0;
  min-height: 3.25rem;
  padding-inline: 1.35rem;
  box-shadow: 0 4px 24px rgba(12, 61, 99, 0.18);
}

button.btn[data-interest-open]:hover {
  transform: none;
}

body:has([data-interest-open]) .shell {
  padding-bottom: 5.5rem;
}

@media (max-width: 700px) {
  button.btn[data-interest-open] {
    right: 0.75rem;
    bottom: 1rem;
  }

  body:has([data-interest-open]) .shell {
    padding-bottom: 5.5rem;
  }
}

/* Interest modal */

.interest-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-soft),
    visibility 0.35s var(--ease-soft);
}

.interest-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.interest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 61, 99, 0.45);
}

.interest-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: min(92vh, 44rem);
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.4s var(--ease-soft);
}

.interest-modal.is-open .interest-modal__dialog {
  transform: translateY(0) scale(1);
}

.interest-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.interest-modal__close:hover {
  opacity: 0.6;
}

.interest-modal__title {
  margin: 0 2rem 0.35rem 0;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.interest-modal__lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.interest-modal .contact-form {
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .interest-modal__dialog {
    padding: 2rem 2rem 1.75rem;
  }
}

.listing-detail__card .listing-detail__facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1.15rem;
}

/* News detail */

main:has(.news-detail) {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.news-detail {
  display: grid;
  gap: 2rem;
  padding: 0 0 clamp(3rem, 8vw, 5.5rem);
  max-width: 52rem;
}

.news-detail__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e8e8;
  border: 1px solid var(--line);
}

.news-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-detail__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-detail h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--brand);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.news-detail__copy h2,
.news-detail__copy h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
}

.news-detail__copy ul,
.news-detail__copy ol {
  margin: 0.6rem 0 1rem;
  padding-left: 1.2rem;
}

.news-detail__copy a {
  color: var(--accent, #0c3d63);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-detail__copy img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0;
}

.news-detail__download {
  margin: 0 0 1.25rem;
}

.news-detail__copy {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.news-detail__copy p {
  margin: 0;
}

.news-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Podcast */
.podcast-listen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

.podcast-episodes {
  padding: 0 0 4rem;
}

.podcast-episodes h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--brand);
}

.podcast-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(12, 61, 99, 0.12);
}

.podcast-empty {
  margin: 1.25rem 0 0;
  color: rgba(12, 61, 99, 0.55);
}

.podcast-episode {
  border-bottom: 1px solid rgba(12, 61, 99, 0.12);
}

.podcast-episode__toggle {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.podcast-episode__toggle:hover .podcast-episode__title,
.podcast-episode.is-open .podcast-episode__title {
  color: var(--brand);
}

.podcast-episode__nr {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(12, 61, 99, 0.45);
}

.podcast-episode.is-open .podcast-episode__nr,
.podcast-episode__toggle:hover .podcast-episode__nr {
  color: var(--brand);
}

.podcast-episode__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.podcast-episode__title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--brand);
}

.podcast-episode__meta {
  font-size: 0.85rem;
  color: rgba(12, 61, 99, 0.55);
}

.podcast-episode__icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.podcast-episode__icon::before,
.podcast-episode__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7rem;
  height: 1.5px;
  background: var(--brand);
  transform: translate(-50%, -50%);
}

.podcast-episode__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.podcast-episode.is-open .podcast-episode__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.podcast-episode__panel {
  overflow: hidden;
}

.podcast-episode__inner {
  padding: 0 0 1.35rem 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.podcast-episode__teaser {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(12, 61, 99, 0.72);
}

.podcast-episode__audio {
  width: 100%;
  max-width: 36rem;
  height: 2.5rem;
}

.podcast-episode__source {
  font-size: 0.9rem;
  align-self: flex-start;
}

@media (max-width: 640px) {
  .podcast-episode__inner {
    padding-left: 0;
  }
}

/* Homepage-Umbau Overlay (bis 21.11.2026) */
body.home-rebuild-open {
  overflow: hidden;
}

.home-rebuild {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  color: #f7f9fb;
}

.home-rebuild[hidden] {
  display: none !important;
}

.home-rebuild__media,
.home-rebuild__scrim {
  position: absolute;
  inset: 0;
}

.home-rebuild__media {
  overflow: hidden;
}

.home-rebuild__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: home-rebuild- ken 18s var(--ease-soft) forwards;
}

.home-rebuild__scrim {
  background:
    linear-gradient(160deg, rgba(8, 28, 46, 0.88) 12%, rgba(12, 61, 99, 0.72) 58%, rgba(8, 28, 46, 0.9) 100%),
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.12), transparent 45%);
}

.home-rebuild__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(250, 250, 250, 0.18);
  background: rgba(250, 250, 250, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: home-rebuild-in 0.55s var(--ease-soft) both;
}

.home-rebuild__brand {
  margin: 0 0 0.35rem;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.home-rebuild__label {
  margin: 0 0 0.85rem;
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-rebuild__panel h1 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.55rem, 3.6vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-rebuild__lead {
  margin: 0 0 1.35rem;
  color: rgba(247, 249, 251, 0.86);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 30rem;
}

.home-rebuild__countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 1.4rem;
}

.home-rebuild__unit {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.35rem 0.65rem;
  border: 1px solid rgba(250, 250, 250, 0.16);
  background: rgba(8, 28, 46, 0.35);
  text-align: center;
}

.home-rebuild__unit span {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.home-rebuild__unit small {
  color: rgba(247, 249, 251, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes home-rebuild-in {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-rebuild-ken {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 520px) {
  .home-rebuild__countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.mellow-anim .reveal:not(.is-visible),
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cursor {
    display: none;
  }

  .home-rebuild__media img,
  .home-rebuild__panel {
    animation: none;
    transition: none;
  }
}
