@font-face {
  font-family: "Newsreader";
  src: url("./fonts/newsreader-variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  --primary: #173a65;
  --secondary: #7895a8;
  --text: #333333;
  --brand-accent: #7a2142;
  --brand-accent-hover: #651a36;
  --brand-accent-inverted: #d77889;
  --brand-accent-underline: rgba(122, 33, 66, 0.48);
  --brand-accent-soft: rgba(122, 33, 66, 0.08);
  --accent: var(--brand-accent);
  --accent-hover: var(--brand-accent-hover);
  --accent-100: #f8d5d4;
  --accent-025: #fdf6f4;
  --accent-inverted: var(--brand-accent-inverted);
  --gradient-blue: linear-gradient(-30deg, #18283f 16%, #173a65 92%);
  --gradient-accent: linear-gradient(-30deg, var(--accent) 16%, var(--accent-hover) 92%);
  --paper: #ffffff;
  --primary-75: #dceef9;
  --secondary-100: #f5f8f9;
  --line: rgba(120, 149, 168, 0.42);
  --line-soft: rgba(120, 149, 168, 0.24);
  --line-inverted: rgba(255, 255, 255, 0.42);
  --line-inverted-strong: rgba(255, 255, 255, 0.5);
  --text-inverted-muted: rgba(255, 255, 255, 0.84);
  --text-inverted-subtle: rgba(255, 255, 255, 0.8);
  --accent-underline: var(--brand-accent-underline);
  --accent-soft: var(--brand-accent-soft);
  --primary-soft: rgba(23, 58, 101, 0.08);
  --header-surface: rgba(255, 255, 255, 0.96);
  --surface-inverted-soft: rgba(255, 255, 255, 0.12);
  --shadow-header: rgba(24, 40, 63, 0.05);
  --shadow-blue-soft: rgba(24, 40, 63, 0.1);
  --modal-backdrop: rgba(24, 40, 63, 0.74);
  --surface-ring-line: rgba(255, 255, 255, 1);
  --surface-ring-inner: rgba(255, 255, 255, 0.41);
  --surface-ring-middle: rgba(255, 255, 255, 0.21);
  --surface-ring-outer: rgba(255, 255, 255, 0.16);
  --surface-ring-size: 33rem;
  --surface-ring-block-offset: -14rem;
  --surface-ring-inline-offset: -7rem;
  --surface-ring-inner-spread: 5rem;
  --surface-ring-middle-spread: 10rem;
  --surface-ring-outer-spread: 15rem;
  --material-symbol-arrow-forward: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M647-440H160v-80h487L423-744l57-56%20320%20320-320%20320-57-56%20224-224Z'/%3E%3C/svg%3E");
  --material-symbol-help-filled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M513.5-254.5Q528-269%20528-290t-14.5-35.5Q499-340%20478-340t-35.5%2014.5Q428-311%20428-290t14.5%2035.5Q457-240%20478-240t35.5-14.5ZM442-394h74q0-33%207.5-52t42.5-52q26-26%2041-49.5t15-56.5q0-56-41-86t-97-30q-57%200-92.5%2030T342-618l66%2026q5-18%2022.5-39t53.5-21q32%200%2048%2017.5t16%2038.5q0%2020-12%2037.5T506-526q-44%2039-54%2059t-10%2073Zm38%20314q-83%200-156-31.5T197-197q-54-54-85.5-127T80-480q0-83%2031.5-156T197-763q54-54%20127-85.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2083-31.5%20156T763-197q-54%2054-127%2085.5T480-80Z'/%3E%3C/svg%3E");
  --material-symbol-add: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z'/%3E%3C/svg%3E");
  --material-symbol-expand-more: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M480-345%20240-585l56-56%20184%20184%20184-184%2056%2056-240%20240Z'/%3E%3C/svg%3E");
  --material-symbol-expand-less: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='m296-345-56-56%20240-240%20240%20240-56%2056-184-184-184%20184Z'/%3E%3C/svg%3E");
  --material-symbol-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M160-160q-33%200-56.5-23.5T80-240v-480q0-33%2023.5-56.5T160-800h640q33%200%2056.5%2023.5T880-720v480q0%2033-23.5%2056.5T800-160H160Zm320-280L160-640v400h640v-400L480-440Zm0-80%20320-200H160l320%20200ZM160-640v-80%20480-400Z'/%3E%3C/svg%3E");
  --material-symbol-call: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M798-120q-125%200-247-54.5T329-329Q229-429%20174.5-551T120-798q0-18%2012-30t30-12h162q14%200%2025%209.5t13%2022.5l26%20140q2%2016-1%2027t-11%2019l-97%2098q20%2037%2047.5%2071.5T387-386q31%2031%2065%2057.5t72%2048.5l94-94q9-9%2023.5-13.5T670-390l138%2028q14%204%2023%2014.5t9%2023.5v162q0%2018-12%2030t-30%2012ZM241-600l66-66-17-94h-89q5%2041%2014%2081t26%2079Zm358%20358q39%2017%2079.5%2027t81.5%2013v-88l-94-19-67%2067ZM241-600Zm358%20358Z'/%3E%3C/svg%3E");
  --material-symbol-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M382-240%20154-468l57-57%20171%20171%20367-367%2057%2057-424%20424Z'/%3E%3C/svg%3E");
  --material-symbol-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%20-960%20960%20960'%3E%3Cpath d='M480-280q17%200%2028.5-11.5T520-320q0-17-11.5-28.5T480-360q-17%200-28.5%2011.5T440-320q0%2017%2011.5%2028.5T480-280Zm-40-160h80v-240h-80v240Zm40%20360q-83%200-156-31.5T197-197q-54-54-85.5-127T80-480q0-83%2031.5-156T197-763q54-54%20127-85.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2083-31.5%20156T763-197q-54%2054-127%2085.5T480-80Zm0-80q134%200%20227-93t93-227q0-134-93-227t-227-93q-134%200-227%2093t-93%20227q0%20134%2093%20227t227%2093Zm0-320Z'/%3E%3C/svg%3E");
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --text-body: 1rem;
  --text-accent: 1.1rem;
  --text-h3: clamp(1.5rem, 2.2vw, 2rem);
  --text-h3-compact: 1.5rem;
  --text-h2: clamp(2.1rem, 3.35vw, 3.25rem);
  --text-h1: clamp(2.9rem, 4.55vw, 4.4rem);
  --radius-control: 8px;
  --radius-panel: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;
  --aspect-specialty-image: 4 / 3;
  --duration-fast: 160ms;
  --duration-standard: 180ms;
  --duration-medium: 280ms;
  --duration-accordion: 460ms;
  --duration-reveal: 520ms;
  --ease-standard: ease;
  --ease-emphasized: cubic-bezier(0.22, 1, 0.36, 1);
  --space-article-divider-before: clamp(3.75rem, 6vw, 5.5rem);
  --space-article-cards-before: clamp(3rem, 4.5vw, 4rem);
  --space-carousel-controls: 2rem;
  --button-width-mid: 20rem;
  --content-width: 1180px;
  --header-height: 80px;
  --header-offset: 0px;
  --breadcrumbs-height: 34px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + var(--header-height) + 24px);
}

html.scroll-breadcrumbs-enabled {
  scroll-padding-top: calc(var(--header-offset) + var(--header-height) + var(--breadcrumbs-height) + 24px);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-synthesis: none;
  font-weight: 400;
  letter-spacing: -0.008em;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
summary {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  max-width: 100%;
  font-size: var(--text-h1);
}

h2 {
  max-width: 17ch;
  font-size: var(--text-h2);
  line-height: 1.06;
}

h3 {
  color: var(--secondary);
  font-size: var(--text-h3);
  line-height: 1.14;
}

p,
ul,
ol {
  margin-top: 0;
}

p {
  margin-bottom: 1em;
}

ul,
ol {
  margin-bottom: 1.2em;
}

strong,
b {
  font-weight: 600;
}

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-color: var(--accent-underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  translate: 0 -150%;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--paper);
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: translate var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  translate: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.container {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-head {
  display: grid;
  max-width: 760px;
  gap: 0.9rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-head h2 {
  max-width: 19ch;
  text-wrap: balance;
}

.section-lede {
  max-width: 700px;
  margin: 0;
  font-size: 1.08rem;
}

.insights-accent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-accent);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.insights-accent-line::before {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  margin-top: 0.13em;
  background-color: var(--accent);
  content: "";
  -webkit-mask-image: var(--material-symbol-add);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--material-symbol-add);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.insights-accent-line--dark {
  color: var(--paper);
}

.insights-accent-line--dark::before {
  background-color: var(--accent-inverted);
}

.subchapter-tag,
.marketing-label,
.wbo-note-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.material-icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 1.1em;
  background-color: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.material-icon--arrow-forward {
  -webkit-mask-image: var(--material-symbol-arrow-forward);
  mask-image: var(--material-symbol-arrow-forward);
}

.material-icon--check {
  -webkit-mask-image: var(--material-symbol-check);
  mask-image: var(--material-symbol-check);
}

.material-icon--error {
  -webkit-mask-image: var(--material-symbol-error);
  mask-image: var(--material-symbol-error);
}

/* Header und Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--header-surface);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px var(--shadow-header);
}

.site-header .container {
  width: min(100% - 40px, var(--content-width));
  height: 100%;
  padding-inline: 0;
}

.nav {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(176px, 15vw, 188px);
  height: auto;
  transform-origin: center;
  transition: transform var(--duration-medium) var(--ease-emphasized);
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(0.965);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
}

.nav-links a {
  color: var(--primary);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--primary-75);
  padding: 11px 10px;
}

.menu span {
  display: block;
  height: 2px;
  margin-block: 4px;
  background: var(--primary);
  transition:
    transform var(--duration-standard) var(--ease-standard),
    opacity var(--duration-standard) var(--ease-standard);
}

.menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 90;
  top: var(--header-height);
  left: 0;
  width: 100%;
  display: none;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 10px 24px var(--shadow-blue-soft);
  padding: 0.65rem max(20px, calc((100% - var(--content-width)) / 2)) 1rem;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line-soft);
  color: var(--primary);
  padding: 0.85rem 0;
  text-decoration: none;
}

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

.breadcrumbs {
  margin-top: calc(var(--header-offset) + var(--header-height));
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.js .breadcrumbs[data-scroll-breadcrumb] {
  position: sticky;
  z-index: 80;
  top: calc(var(--header-offset) + var(--header-height));
  transition: transform var(--duration-standard) var(--ease-emphasized);
}

.js .breadcrumbs[data-scroll-breadcrumb].is-scroll-hidden {
  transform: translateY(calc(-1 * var(--breadcrumbs-height)));
  pointer-events: none;
}

.breadcrumbs ol {
  display: flex;
  min-height: var(--breadcrumbs-height);
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs li:not(:last-child)::after {
  color: var(--secondary);
  content: "/";
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .js .breadcrumbs[data-scroll-breadcrumb] {
    transition: none;
  }
}

/* Hero */
.hero {
  border-bottom: 1px solid var(--line-soft);
  background: var(--primary-75);
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
}

.surface-rings {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.surface-rings::after {
  position: absolute;
  z-index: 0;
  top: var(--surface-ring-block-offset);
  right: var(--surface-ring-inline-offset);
  width: var(--surface-ring-size);
  height: var(--surface-ring-size);
  border: 1px solid var(--surface-ring-line);
  border-radius: 50%;
  box-shadow:
    0 0 0 var(--surface-ring-inner-spread) var(--surface-ring-inner),
    0 0 0 var(--surface-ring-middle-spread) var(--surface-ring-middle),
    0 0 0 var(--surface-ring-outer-spread) var(--surface-ring-outer);
  content: "";
  pointer-events: none;
}

.surface-rings--bottom-right::after {
  top: auto;
  bottom: var(--surface-ring-block-offset);
}

.surface-rings--center::after {
  top: 50%;
  right: auto;
  left: 50%;
  width: min(74vw, 42rem);
  height: min(74vw, 42rem);
  transform: translate(-50%, -50%);
}

.surface-rings > .container {
  position: relative;
  z-index: 1;
}

/* Startseite */
.home-hero {
  display: grid;
  min-height: clamp(40rem, calc(100svh - var(--header-height)), 48rem);
  margin-top: calc(var(--header-offset) + var(--header-height));
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background: var(--primary-75);
  padding-block: clamp(5.5rem, 10vw, 8rem);
}

.home-hero-inner {
  display: grid;
  max-width: 900px;
  justify-items: center;
  gap: 1.6rem;
  text-align: center;
}

.home-hero-logo {
  width: clamp(6.46rem, 12.92vw, 10.26rem);
  height: auto;
  margin-bottom: 0.6rem;
}

.home-hero h1 {
  max-width: 18ch;
  text-wrap: balance;
}

.home-hero .lead {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  text-wrap: balance;
}

.home-hero .btn-pill {
  margin-top: 0.35rem;
}

.home-directory {
  background: var(--secondary-100);
}

.home-section-head {
  max-width: 860px;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.home-section-head .insights-accent-line {
  justify-content: center;
}

.home-section-head h2 {
  max-width: 19ch;
}

.home-section-head .section-lede {
  max-width: 760px;
}

.specialty-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.specialty-tile {
  display: grid;
  position: relative;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--paper);
  color: var(--text);
  text-decoration: none;
  transition: translate var(--duration-medium) var(--ease-emphasized);
}

.specialty-tile:hover {
  color: var(--text);
  translate: 0 -3px;
}

.specialty-tile:focus-visible {
  outline-offset: 5px;
}

.specialty-tile-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--aspect-specialty-image);
  background: var(--primary-75);
}

.specialty-tile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale var(--duration-medium) var(--ease-emphasized);
}

.specialty-tile:hover .specialty-tile-image img {
  scale: 1.025;
}

.specialty-tile-body {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 1.25rem;
  padding: 1.35rem;
  background: var(--paper);
}

.specialty-tile h3 {
  color: var(--secondary);
  font-size: var(--text-h3-compact);
}

.specialty-tile-action {
  align-self: end;
  width: 100%;
  margin-top: auto;
}

.specialty-tile:hover .specialty-tile-action {
  background: var(--accent-hover);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(300px, 46fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.45rem;
}

.hero h1 {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.hero .lead {
  max-width: 640px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 0.25rem;
}

.btn-pill,
.marketing-button,
.submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
  line-height: 1.2;
  padding: 0.85rem 1.35rem;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    translate var(--duration-fast) var(--ease-standard);
}

.btn-pill:hover,
.marketing-button:hover,
.submit:hover {
  background: var(--accent-hover);
  translate: 0 -1px;
}

.hero-secondary-link {
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.hero-secondary-link:hover {
  text-decoration: none;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-topics li {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.72rem;
}

.hero-image-panel {
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--primary-75);
}

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

/* Weitere Berufe: eigene Akzentpalette innerhalb des gemeinsamen Systems. */
.page-weitere-berufe {
  --accent: #1f5748;
  --accent-hover: #123c40;
  --accent-100: #dcebe2;
  --accent-025: #f3f8f5;
  --accent-inverted: #95c6ac;
  --accent-underline: rgba(31, 87, 72, 0.48);
  --accent-soft: rgba(31, 87, 72, 0.08);
  --gradient-accent: linear-gradient(-30deg, var(--accent) 16%, var(--accent-hover) 92%);
}

.page-weitere-berufe .fg-carousel-nav {
  --accent-inverted: var(--primary);
}

.page-weitere-berufe .marketing-contact .contact-initials {
  color: var(--primary);
}

/* Berufsentwurf: Ergänzungen innerhalb des Fachgesellschafts-Designsystems. */
.page-beruf .hero,
.page-beruf .associations,
.page-beruf .seo-card-grid--three .seo-card {
  background: var(--accent-100);
}

.page-beruf .module-top.on-dark,
.page-beruf .marketing-strip {
  background: var(--gradient-accent);
}

.page-beruf h2,
.page-beruf .seo-card h3,
.page-beruf .faq-item summary {
  color: var(--accent);
}

.page-beruf h1,
.page-beruf h3,
.page-beruf :is(.association, .content-subchapter, .seo-development) h3,
.page-beruf .fg-column-heading,
.page-beruf .statistics h2 {
  color: var(--primary);
}

.page-beruf :is(.module-top, .marketing-strip) h2 {
  color: var(--paper);
}

.page-beruf .nav-links a,
.page-beruf .mobile-nav a {
  color: var(--accent);
}

.page-beruf .nav-links a:hover,
.page-beruf .nav-links a:focus-visible,
.page-beruf .mobile-nav a:hover,
.page-beruf .mobile-nav a:focus-visible {
  color: var(--primary);
}

.page-beruf .statistics .stat-number {
  color: var(--accent);
}

.page-beruf .stat .stat-number--beruf-compact {
  font-size: clamp(1.24rem, 2.48vw, 2.015rem);
}

.page-beruf .seo-checklist li::before {
  background-color: var(--accent);
}

.page-beruf #perspektiven,
.page-beruf .faq {
  background: var(--accent-025);
}

.page-beruf .faq h2 {
  color: var(--primary);
}

.page-beruf .gehalt-section {
  background: var(--paper);
}

.page-beruf .eg-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.page-beruf .eg-chip {
  border-radius: var(--radius-panel);
  background: var(--accent-100);
  padding: 1.5rem;
}

.page-beruf .eg-chip strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.page-beruf .gehalt-text {
  max-width: 62rem;
}

.page-beruf .gehalt-text p {
  max-width: none;
}

.page-beruf .gehalt-text p:last-child {
  margin-bottom: 0;
}

.page-beruf .gt-unter {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0.5rem;
  color: var(--primary);
  font-size: var(--text-h3);
}

.page-beruf .gt-unter-sub {
  max-width: 48rem;
  margin: 0;
  color: var(--text);
}

.page-beruf .gt-reiter {
  display: flex;
  gap: 0.25rem;
  margin: 1.5rem 0 1.75rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.page-beruf .gt-reiter::-webkit-scrollbar {
  display: none;
}

.page-beruf .gt-reiter button {
  flex: 0 0 auto;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.page-beruf .gt-reiter button:hover {
  color: var(--primary);
}

.page-beruf .gt-reiter button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--primary);
  font-weight: 600;
}

.page-beruf .gt-reiter button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.page-beruf .gt-panel {
  min-width: 0;
}

.page-beruf .gehalt-tables:not(.is-enhanced) .gt-panel + .gt-panel {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.page-beruf .gt-kopf {
  max-width: 62rem;
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.93rem;
}

.page-beruf .gt-scroll {
  overflow-x: auto;
  border-radius: var(--radius-panel);
  background: var(--accent-025);
  scrollbar-color: var(--secondary) var(--secondary-100);
  -webkit-overflow-scrolling: touch;
}

.page-beruf .gt-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.page-beruf .gt-tab {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-beruf .gt-tab th,
.page-beruf .gt-tab td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}

.page-beruf .gt-tab thead {
  background: var(--gradient-accent);
  color: var(--paper);
}

.page-beruf .gt-tab thead th {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-beruf .gt-tab tbody th {
  width: 15rem;
  min-width: 15rem;
  background: var(--accent-025);
  color: var(--primary);
  font-weight: 400;
}

.page-beruf .gt-tab tbody td {
  background: var(--accent-025);
  color: var(--text);
  white-space: nowrap;
}

.page-beruf .gt-tab tr:last-child > * {
  border-bottom: 0;
}

.page-beruf .gt-tab .leer {
  background: var(--accent-025);
}

.page-beruf .gt-tab .hl > * {
  background: var(--accent-100);
}

.page-beruf .gt-tab .hl th {
  box-shadow: inset 4px 0 0 var(--accent);
}

.page-beruf .gt-tab .hl td {
  color: var(--primary);
  font-weight: 600;
}

.page-beruf .gt-eg {
  display: block;
  font-weight: 600;
}

.page-beruf .gt-bez {
  display: block;
  margin-top: 0.15rem;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-beruf .gt-privat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-beruf .gt-privat-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--paper);
  padding: 1.35rem;
}

.page-beruf .gt-privat-block h4 {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.page-beruf .gt-privat-block p {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
}

.page-beruf .gt-mindest {
  margin-top: 1.75rem;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-panel);
  background: var(--accent-025);
  color: var(--text);
  padding: 1.25rem 1.5rem;
}

.page-beruf .statistics {
  background: var(--accent-025);
}

.page-beruf .gt-quellen {
  max-width: 62rem;
  margin: 1.25rem 0 0;
  color: var(--text);
  font-size: 0.78rem;
}

.page-beruf .ausbildung-teaser {
  border-radius: var(--radius-panel);
  background: var(--accent-100);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-beruf .teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
}

.page-beruf .teaser-grid h2 {
  max-width: none;
  margin: 0.8rem 0 1.25rem;
  color: var(--primary);
  text-wrap: balance;
}

.page-beruf .seo-card--secondary {
  background: var(--accent-025);
}

.page-beruf .contact-person-compact strong {
  color: var(--primary);
}

.page-beruf .teaser-grid p:last-child {
  margin-bottom: 0;
}

/* Weitere Berufe: gezielte Markenakzente innerhalb der grünen Farbvariante. */
.page-weitere-berufe a:not(.btn-pill, .association-action, .brand, .skip-link) {
  --accent: var(--brand-accent);
  --accent-hover: var(--brand-accent-hover);
  --accent-underline: var(--brand-accent-underline);
  --accent-soft: var(--brand-accent-soft);
  color: var(--accent);
}

.page-weitere-berufe .insights-accent-line {
  --accent: var(--brand-accent);
  --accent-inverted: var(--brand-accent-inverted);
}

.page-weitere-berufe .contact-person-compact strong,
.page-weitere-berufe #contact-dialog-title {
  color: var(--brand-accent);
}

.page-weitere-berufe .marketing-button {
  --accent: var(--brand-accent);
  --accent-hover: var(--brand-accent-hover);
}

.page-weitere-berufe #perspektiven,
.page-weitere-berufe #ausbildungsverguetung {
  background: var(--secondary-100);
}

.page-weitere-berufe .statistics,
.page-weitere-berufe .faq {
  background: var(--paper);
}

.page-weitere-berufe .seo-content,
.page-weitere-berufe #ausbildungsplaetze {
  background: var(--accent-025);
}

.page-weitere-berufe main .section-head,
.page-weitere-berufe main .section-head h2 {
  max-width: none;
}

/* Pflege-Weiterbildung: zusätzliche Module auf Basis des Beruf-Templates. */
.page-pflege-weiterbildung .wb-surface-accent {
  background: var(--accent-025);
}

.page-pflege-weiterbildung .wb-profile-lede {
  max-width: 62rem;
}

.page-pflege-weiterbildung .wb-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
}

.page-pflege-weiterbildung .wb-fact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.65rem;
  border-right: 1px solid var(--line);
  padding: 1.6rem clamp(0.85rem, 2vw, 1.5rem);
}

.page-pflege-weiterbildung .wb-fact:last-child {
  border-right: 0;
}

.page-pflege-weiterbildung .wb-fact strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.page-pflege-weiterbildung .wb-fact span {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
}

.page-pflege-weiterbildung .wb-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-pflege-weiterbildung .wb-card-grid .gt-privat-block {
  min-height: 100%;
  border: 0;
}

.page-pflege-weiterbildung .wb-card-grid h3 {
  margin: 0 0 0.7rem;
  color: var(--primary);
  font-size: var(--text-h3-compact);
}

.page-pflege-weiterbildung .wb-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.page-pflege-weiterbildung .wb-content-grid h3 {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: var(--text-h3-compact);
}

.page-pflege-weiterbildung .wb-topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-pflege-weiterbildung .wb-topic-list li {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.7rem 0 0.7rem 1.85rem;
}

.page-pflege-weiterbildung .wb-topic-list li::before {
  position: absolute;
  top: 0.82rem;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  background-color: var(--accent);
  content: "";
  -webkit-mask-image: var(--material-symbol-check);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--material-symbol-check);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.page-pflege-weiterbildung .wb-topic-list li:last-child,
.page-pflege-weiterbildung .wb-practice-list li:last-child {
  border-bottom: 0;
}

.page-pflege-weiterbildung .wb-practice-list {
  margin: 0;
}

.page-pflege-weiterbildung .wb-practice-list li:first-child,
.page-pflege-weiterbildung .wb-topic-list li:first-child {
  border-top: 1px solid var(--line-soft);
}

.page-pflege-weiterbildung .wb-salary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.page-pflege-weiterbildung .wb-salary-grid p:last-child {
  margin-bottom: 0;
}

.page-pflege-weiterbildung .wb-salary-table .gt-tab {
  min-width: 31rem;
}

.page-pflege-weiterbildung #wb-gehalt .section-head h2 {
  color: var(--primary);
}

.page-pflege-weiterbildung .wb-salary-table {
  background: var(--paper);
}

.page-pflege-weiterbildung .wb-salary-table .gt-tab tbody > tr > * {
  background: var(--paper);
}

.page-pflege-weiterbildung .wb-salary-table .gt-tab .hl > * {
  background: var(--accent-100);
}

.page-pflege-weiterbildung .wb-salary-table .gt-tab tbody th {
  width: 17rem;
  min-width: 17rem;
}

.page-pflege-weiterbildung .wb-areas-wrap {
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--accent-025);
}

.page-pflege-weiterbildung .wb-areas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-pflege-weiterbildung .wb-areas-table th,
.page-pflege-weiterbildung .wb-areas-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.page-pflege-weiterbildung .wb-areas-table thead {
  background: var(--gradient-accent);
  color: var(--paper);
}

.page-pflege-weiterbildung .wb-areas-table thead th {
  font-size: 0.82rem;
  font-weight: 600;
}

.page-pflege-weiterbildung .wb-areas-table tbody th {
  width: 16%;
  color: var(--primary);
  font-weight: 600;
}

.page-pflege-weiterbildung .wb-areas-table tbody td:nth-child(2) {
  width: 42%;
}

.page-pflege-weiterbildung .wb-areas-table tbody tr:last-child > * {
  border-bottom: 0;
}

.page-pflege-weiterbildung .wb-areas-table ul {
  margin: 0;
  padding-left: 1.1rem;
}

.page-pflege-weiterbildung .association-logo img[src$="dgf-logo.png"] {
  max-width: 170px;
}

.page-pflege-weiterbildung .association-logo img[src$="divi-logo.svg"] {
  max-width: 190px;
}

@media (max-width: 1024px) {
  .page-beruf .teaser-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-beruf .gt-privat {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-pflege-weiterbildung .wb-content-grid,
  .page-pflege-weiterbildung .wb-salary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .page-beruf .eg-chips {
    grid-template-columns: 1fr;
  }

  .page-beruf .gt-tab {
    min-width: 48rem;
  }

  .page-beruf .gt-tab tbody th {
    width: 12rem;
    min-width: 12rem;
  }

  .page-pflege-weiterbildung .wb-facts,
  .page-pflege-weiterbildung .wb-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-pflege-weiterbildung .wb-fact:nth-child(2) {
    border-right: 0;
  }

  .page-pflege-weiterbildung .wb-fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .page-pflege-weiterbildung .wb-salary-table .gt-tab {
    min-width: 31rem;
  }

  .page-pflege-weiterbildung .wb-salary-table .gt-tab tbody th {
    width: 17rem;
    min-width: 17rem;
  }

  .page-pflege-weiterbildung .wb-areas-wrap {
    overflow: visible;
    background: transparent;
  }

  .page-pflege-weiterbildung .wb-areas-table,
  .page-pflege-weiterbildung .wb-areas-table tbody {
    display: block;
  }

  .page-pflege-weiterbildung .wb-areas-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .page-pflege-weiterbildung .wb-areas-table tbody {
    display: grid;
    gap: 1rem;
  }

  .page-pflege-weiterbildung .wb-areas-table tbody tr {
    display: grid;
    overflow: hidden;
    border-radius: var(--radius-panel);
    background: var(--accent-025);
  }

  .page-pflege-weiterbildung .wb-areas-table th,
  .page-pflege-weiterbildung .wb-areas-table td,
  .page-pflege-weiterbildung .wb-areas-table tbody td:nth-child(2) {
    display: block;
    width: auto;
    border-bottom: 1px solid var(--line-soft);
    padding: 1rem;
  }

  .page-pflege-weiterbildung .wb-areas-table tbody th {
    width: auto;
    background: var(--accent-100);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
  }

  .page-pflege-weiterbildung .wb-areas-table td::before {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--primary);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .page-pflege-weiterbildung .wb-areas-table tbody tr > *:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-pflege-weiterbildung .wb-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  .page-beruf .gt-panel[hidden] {
    display: block !important;
  }

  .page-beruf .gt-reiter {
    display: none;
  }

  .page-beruf .gt-panel {
    break-inside: avoid;
    margin-bottom: 1.5rem;
  }
}

/* Ausbildungsbausteine: Pflege-Ausbildung und weitere Berufe. */
:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-detail-section {
  background: var(--paper);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-timeline {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-timeline > h3,
:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-access > h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: var(--text-h3-compact);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .zeitstrahl-bar {
  min-height: 250px;
  background: var(--gradient-accent);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .zeitstrahl-bar .zs-sub {
  margin-top: 0.6rem;
  color: var(--text-inverted-subtle);
  font-size: 0.84rem;
  line-height: 1.5;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-timeline .gt-mindest {
  margin-top: 1.5rem;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-access {
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-card-grid .gt-privat-block {
  min-height: 100%;
  border: 0;
  background: var(--accent-025);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-card-grid h4 {
  margin: 0 0 0.7rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: var(--text-h3-compact);
  font-weight: 500;
  line-height: 1.15;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-card-grid p:last-child {
  margin-bottom: 0;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildungsverguetung-section {
  background: var(--accent-025);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildungsverguetung-section .section-head h2 {
  color: var(--primary);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-grid p:last-child {
  margin-bottom: 0;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-table,
:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-table .gt-tab tbody > tr > * {
  background: var(--paper);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-table .gt-tab {
  min-width: 28rem;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-table .gt-tab tbody th {
  width: 17rem;
  min-width: 17rem;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-wrap {
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--accent-025);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table th,
:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table thead {
  background: var(--gradient-accent);
  color: var(--paper);
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table thead th {
  font-size: 0.82rem;
  font-weight: 600;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody th {
  width: 16%;
  color: var(--primary);
  font-weight: 600;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody td:nth-child(2) {
  width: 42%;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody tr:last-child > * {
  border-bottom: 0;
}

:is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table ul {
  margin: 0;
  padding-left: 1.1rem;
}

@media (max-width: 1024px) {
  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .zeitstrahl-bar {
    min-height: 0;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-table .gt-tab {
    min-width: 28rem;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-salary-table .gt-tab tbody th {
    width: 17rem;
    min-width: 17rem;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-wrap {
    overflow: visible;
    background: transparent;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table,
  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody {
    display: block;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody {
    display: grid;
    gap: 1rem;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody tr {
    display: grid;
    overflow: hidden;
    border-radius: var(--radius-panel);
    background: var(--accent-025);
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table th,
  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table td,
  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody td:nth-child(2) {
    display: block;
    width: auto;
    border-bottom: 1px solid var(--line-soft);
    padding: 1rem;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody th {
    width: auto;
    background: var(--accent-100);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table td::before {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--primary);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  :is(.page-pflege-ausbildung, .page-weitere-berufe) .ausbildung-areas-table tbody tr > *:last-child {
    border-bottom: 0;
  }
}

/* Weiterbildungsstruktur und Zeitstrahl */
.structure {
  background: var(--paper);
}

.struktur-einstieg {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 2.5rem;
}

.struktur-einstieg > p {
  max-width: 720px;
  margin: 0;
  font-size: 1.08rem;
}

.wbo-note {
  border-left: 3px solid var(--secondary);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  background: var(--primary-75);
  padding: 1.15rem 1.25rem;
}

.wbo-note p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
}

.zeitstrahl {
  background: transparent;
}

.zeitstrahl-kopf {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0 1.4rem 1.25rem;
}

.zeitstrahl-kopf strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.zeitstrahl-kopf span {
  color: var(--primary);
  font-weight: 600;
}

.zeitstrahl-bar {
  display: grid;
  min-height: 230px;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-panel);
  background: var(--gradient-blue);
  padding: 0;
  list-style: none;
}

.zeitstrahl-bar li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55rem;
  border-right: 1px solid var(--line-inverted);
  background: transparent;
  color: var(--paper);
  padding: 1.4rem 1.15rem;
}

.zeitstrahl-bar li:first-child {
  border-radius: var(--radius-panel) 0 0 var(--radius-panel);
}

.zeitstrahl-bar li:nth-child(3),
.zeitstrahl-bar li:nth-child(4) {
  padding-inline: 0.65rem;
}

.zeitstrahl-bar li:last-child {
  border-right: 0;
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
}

.zs-monate {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.zs-label {
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-weight: 600;
  line-height: 1.35;
}

.zs-sub {
  margin-top: auto;
  color: var(--text-inverted-subtle);
  font-size: 0.74rem;
  line-height: 1.4;
}

.zeitstrahl-fuss {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  font-size: 0.78rem;
  padding: 0.65rem 1.4rem 0;
}

.chapter-link-row {
  margin-top: 2rem;
}

.chapter-link-row .text-link,
.chapter-link-row .text-link:hover {
  text-decoration: none;
}

/* Eingebettete Module und Listen */
.module-section {
  background: var(--secondary-100);
}

.module-frame {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--paper);
}

.module-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, 0.7fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--primary);
  color: var(--paper);
  padding: clamp(2rem, 5vw, 3.5rem);
}

.module-top.on-dark {
  background: var(--gradient-blue);
}

.module-top > *,
.marketing-strip-inner > * {
  min-width: 0;
}

.module-top h2 {
  max-width: 22ch;
  color: var(--paper);
  text-wrap: balance;
}

.module-top .insights-accent-line {
  margin-bottom: 0.85rem;
  color: var(--paper);
}

.module-top p:not(.insights-accent-line) {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: var(--text-inverted-muted);
}

.on-dark .embed-note {
  border-radius: var(--radius-control);
  background: var(--primary-75);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
  padding: 1rem 1.1rem;
}

.module-panel {
  padding: clamp(1.2rem, 3vw, 2.25rem);
}

valmedi-mea,
valmedi-job {
  display: block;
  width: 100%;
}

/* Statistik */
.statistics {
  background: var(--paper);
}

.statistics .section-head {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.statistics .section-head h2 {
  max-width: none;
}

.stat-hero {
  display: grid;
  max-width: 760px;
  justify-items: center;
  gap: 1rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.stat-number {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.stat-hero .stat-number {
  color: var(--secondary);
}

.stat-hero .stat-label {
  max-width: 680px;
  font-size: 1.05rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.stat {
  display: flex;
  min-width: 0;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.75rem;
  border-right: 1px solid var(--line);
  padding: 1.6rem clamp(0.75rem, 2vw, 1.5rem);
}

.stat:last-child {
  border-right: 0;
}

.stat .stat-number {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.stat-number[data-count-target] {
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--text);
}

.stat .stat-label {
  font-size: 0.82rem;
  font-weight: 500;
}

.stats-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.source {
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.qualification-list {
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.qualification-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.55rem 0;
}

.qualification-list b {
  flex: 0 0 auto;
  color: var(--primary);
}

/* Organisationen und Fachgebiete */
.associations {
  background: var(--primary-75);
}

.fachgebiete {
  background: var(--secondary-100);
}

.associations .section-head {
  max-width: 1000px;
}

.associations .section-head h2 {
  max-width: 30ch;
}

.fachgebiete .section-head,
.fachgebiete .section-head h2,
.seo-content > .container > .section-head,
.seo-content > .container > .section-head h2 {
  max-width: none;
}

.fachgebiete .section-lede {
  max-width: none;
}

.seo-content > .container > .section-lede {
  max-width: none;
}

.association-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.association {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.association-logo {
  display: grid;
  min-height: 116px;
  place-items: center;
  border-right: 1px solid var(--line);
  padding-right: 1.25rem;
}

.association-logo img {
  width: 100%;
  max-width: 152px;
  max-height: 90px;
  object-fit: contain;
}

.association h3 {
  margin-bottom: 0.85rem;
  color: var(--secondary);
  font-size: var(--text-h3);
}

.association p:last-child {
  margin-bottom: 0;
}

.association-action {
  display: inline-flex;
  width: var(--button-width-mid);
  max-width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 0.45rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.75rem 1.1rem;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    translate var(--duration-fast) var(--ease-standard);
}

.association-action:hover {
  background: var(--accent-hover);
  color: var(--paper);
  text-decoration: none;
  translate: 0 -1px;
}

.fg-carousel {
  --fg-arrow-offset: 3.75rem;
  --fg-gap: 1rem;
  --fg-transition-duration: 800ms;
  --fg-visible: 3;
  position: relative;
  margin-top: 2.25rem;
}

.fg-stage {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.fg-stage::-webkit-scrollbar {
  display: none;
}

.fg-carousel.is-ready .fg-stage {
  overflow: hidden;
  scroll-snap-type: none;
}

.fg-track {
  display: flex;
  align-items: stretch;
  gap: var(--fg-gap);
  transform: translate3d(0, 0, 0);
}

.fg-carousel.is-ready .fg-track {
  transition: transform var(--fg-transition-duration) ease-in-out;
}

.fg-carousel.is-moving .fg-track {
  will-change: transform;
}

.fg-carousel.is-jumping .fg-track {
  transition: none;
}

.fg-col {
  display: flex;
  min-width: 0;
  flex: 0 0 calc((100% - (var(--fg-visible) - 1) * var(--fg-gap)) / var(--fg-visible));
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--paper);
  scroll-snap-align: start;
}

.fg-column-heading {
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  font-size: var(--text-h3-compact);
  padding: 1.25rem 1.35rem;
}

.fg-col ul {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fg-col li {
  margin: 0;
}

.fg-link,
.fg-current,
.fg-plain {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.75rem 1.35rem;
}

.fg-col li:last-child > * {
  border-bottom: 0;
}

.fg-link {
  color: var(--accent);
  text-decoration: none;
}

.fg-link:hover {
  background: var(--accent-soft);
}

.fg-current {
  background: var(--primary-75);
  color: var(--primary);
  font-weight: 600;
}

.fg-badge {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
}

.fg-plain {
  color: var(--text);
}

.fg-carousel-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  column-gap: 0.25rem;
  margin-top: var(--space-carousel-controls);
}

.fg-carousel-nav {
  display: none;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: 0.093rem;
}

.fg-carousel.is-ready .fg-carousel-nav {
  display: flex;
}

.fg-carousel-arrow {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--paper);
  padding: 0;
  transition:
    scale var(--duration-fast) var(--ease-emphasized),
    background-color var(--duration-fast) var(--ease-standard);
}

.fg-carousel.is-ready .fg-carousel-arrow {
  display: grid;
}

.fg-carousel-arrow:hover {
  background: var(--accent-hover);
  scale: 1.045;
}

.fg-carousel-arrow:active {
  scale: 0.97;
}

.fg-carousel-arrow .material-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-basis: 1.35rem;
}

.fg-carousel-arrow--prev .material-icon {
  transform: rotate(180deg);
}

@media (min-width: 1320px) {
  .fg-carousel-arrow {
    position: absolute;
    top: calc(50% - 2.0625rem);
    transform: translateY(-50%);
  }

  .fg-carousel-arrow--prev {
    left: calc(0px - var(--fg-arrow-offset));
  }

  .fg-carousel-arrow--next {
    right: calc(0px - var(--fg-arrow-offset));
  }
}

.fg-carousel-nav button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  padding: 0;
}

.fg-carousel-nav button span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-inverted);
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-emphasized);
}

.fg-carousel-nav button:hover span,
.fg-carousel-nav button[aria-current="true"] span {
  background: var(--accent);
}

.fg-carousel-nav button[aria-current="true"] span {
  transform: scale(1.35);
}

.additional-training {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
  padding-top: 1.1rem;
}

.additional-training h3 {
  color: var(--primary);
  font-size: var(--text-h3-compact);
}

.additional-training p {
  max-width: none;
  margin: 0.35rem 0 0;
}

.additional-training-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.additional-training-list li {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
  padding: 0.45rem 1rem;
}

/* Redaktioneller Langtext */
.seo-content {
  background: var(--paper);
}

.seo-intro {
  column-count: 2;
  column-gap: clamp(2.5rem, 6vw, 5rem);
  column-fill: balance;
}

.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  margin: 1.5rem 0 clamp(3rem, 6vw, 5rem);
  border-block: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  padding-block: 0.9rem;
}

.editorial-meta strong {
  color: var(--primary);
}

.seo-article {
  display: grid;
  gap: 0;
}

.content-subchapter h3 {
  margin: 0.55rem 0 1rem;
  color: var(--secondary);
  font-size: var(--text-h3);
}

.content-subchapter > p,
.seo-development > p {
  max-width: none;
}

.content-subchapter-separated,
.seo-development {
  margin-top: var(--space-article-divider-before);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.seo-secondary-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.seo-secondary-heading h2 {
  max-width: none;
}

.seo-secondary-heading p {
  max-width: none;
  margin: 0;
  font-size: 1.05rem;
}

.seo-development > h3 {
  margin: 2.75rem 0 1rem;
  color: var(--secondary);
  font-size: var(--text-h3);
}

.seo-checklist {
  display: grid;
  gap: 0.85rem;
  margin-block: 1.35rem;
  padding: 0;
  list-style: none;
}

.seo-checklist li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.seo-checklist li::before {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  background-color: var(--primary);
  content: "";
  -webkit-mask-image: var(--material-symbol-help-filled);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--material-symbol-help-filled);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.seo-card li {
  margin-bottom: 0.6rem;
  padding-left: 0.2rem;
}

.seo-card-grid {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  margin-top: var(--space-article-cards-before);
}

.seo-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-sources {
  display: grid;
  gap: 0.65rem;
  margin-top: 3.25rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.82rem;
  padding-top: 1.25rem;
}

.seo-card {
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--primary-75);
  padding: 1.35rem;
}

.seo-card--secondary {
  background: var(--secondary-100);
}

.seo-card h3 {
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.seo-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.seo-card p {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.seo-card p:last-child {
  margin-bottom: 0;
}

.seo-direct-link {
  text-decoration-thickness: 1px;
}

/* FAQ */
.faq {
  background: var(--secondary-100);
}

.faq .section-head,
.faq .section-head h2 {
  max-width: none;
}

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

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

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  list-style: none;
  padding: 1.4rem 0;
}

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

.faq-toggle-icon {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.08em;
  background-color: var(--accent);
  transition: background-color var(--duration-standard) var(--ease-standard);
  -webkit-mask-image: var(--material-symbol-expand-more);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--material-symbol-expand-more);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.faq-item[open]:not(.is-closing) .faq-toggle-icon {
  -webkit-mask-image: var(--material-symbol-expand-less);
  mask-image: var(--material-symbol-expand-less);
}

.faq-answer {
  max-width: none;
  overflow: hidden;
}

.faq-answer-inner {
  padding: 0;
}

.faq-answer-inner p:last-child {
  margin-bottom: 1.5rem;
}

.js .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows var(--duration-accordion) var(--ease-emphasized),
    opacity var(--duration-medium) var(--ease-standard);
}

.js .faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.js .faq-item[open]:not(.is-opening):not(.is-closing) .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Kontaktband */
.marketing-strip {
  background: var(--gradient-blue);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.marketing-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.marketing-strip h2 {
  max-width: 16ch;
  color: var(--paper);
}

.marketing-strip-copy p:not(.insights-accent-line) {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--text-inverted-muted);
}

.marketing-strip-copy .insights-accent-line {
  margin-bottom: 0.85rem;
}

.marketing-label {
  margin-bottom: 0.85rem;
  color: var(--paper);
}

.marketing-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  height: 100%;
  align-content: center;
  gap: 0.85rem 1rem;
  border: 0;
  border-radius: var(--radius-large);
  background: var(--paper);
  color: var(--text);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.marketing-contact .contact-initials {
  border: 0;
  background: var(--accent-inverted);
  color: var(--paper);
}

.contact-initials {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line-inverted-strong);
  border-radius: var(--radius-panel);
  background: var(--surface-inverted-soft);
  color: var(--paper);
  font-weight: 600;
}

.contact-person-compact {
  display: grid;
  align-content: center;
}

.contact-person-compact strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.contact-person-compact span {
  color: var(--text);
  font-size: 0.82rem;
}

.contact-person-links {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 0.55rem;
}

.contact-person-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration-color: var(--accent-underline);
}

.contact-person-links a::before,
.contact-detail-link::before {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  background-color: currentColor;
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.contact-link-email::before {
  -webkit-mask-image: var(--material-symbol-mail);
  mask-image: var(--material-symbol-mail);
}

.contact-link-phone::before {
  -webkit-mask-image: var(--material-symbol-call);
  mask-image: var(--material-symbol-call);
}

.marketing-button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.35rem;
  border: 0;
  background: var(--accent);
  color: var(--paper);
}

/* Modal und Formular */
.contact-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
}

.contact-modal.open {
  display: grid;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--paper);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.contact-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
}

.contact-dialog-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-right: 3rem;
}

.contact-dialog-head .marketing-label {
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.contact-dialog-head h2 {
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3rem);
}

.contact-dialog-head p {
  margin: 0.25rem 0 0.55rem;
}

.contact-detail-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid label:not(.consent) {
  display: grid;
  gap: 0.35rem;
}

.form-grid label > span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.field {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  padding: 0.72rem 0.8rem;
}

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

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  font-size: 0.82rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.submit {
  justify-self: start;
}

.form-grid[hidden] {
  display: none;
}

.field[aria-invalid="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Kontaktformular: Senden, Erfolg, Fehler */
.submit[disabled] {
  cursor: progress;
  opacity: 0.85;
}

.submit[disabled]:hover {
  background: var(--accent);
  translate: none;
}

.submit-spinner {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: contact-spin 0.8s linear infinite;
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-result {
  display: none;
  margin-top: 1rem;
  align-items: flex-start;
  gap: 0.6rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 0.8rem 1rem;
}

.form-result.show {
  display: flex;
}

.form-result p {
  margin: 0;
}

.form-result .material-icon {
  width: 1.25em;
  height: 1.25em;
  flex-basis: 1.25em;
  margin-top: 0.1em;
  color: var(--primary);
}

.form-result.is-error {
  border-left-color: var(--primary);
  background: var(--primary-soft);
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding-block: 0.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--duration-medium) var(--ease-standard),
    transform var(--duration-medium) var(--ease-emphasized);
}

.form-success.visible {
  opacity: 1;
  transform: none;
}

.form-success-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.form-success-icon .material-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-basis: 1.75rem;
}

.form-success h3 {
  margin: 0.25rem 0 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
}

.form-success p {
  margin: 0;
  max-width: 54ch;
}

.form-success .btn-pill {
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .submit-spinner {
    animation: contact-pulse 1.2s ease-in-out infinite;
  }

  .form-success {
    transform: none;
    transition: opacity var(--duration-standard) var(--ease-standard);
  }
}

@keyframes contact-pulse {
  50% {
    opacity: 0.4;
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(140px, 0.6fr));
  gap: clamp(2rem, 6vw, 5rem);
}

footer .brand-logo {
  width: 190px;
}

.page-context {
  display: grid;
  max-width: 560px;
  gap: 0.2rem;
  margin-top: 1.5rem;
}

.page-context span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-context strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.page-context small {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.55;
}

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

.footer-col > strong {
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.footer-col a {
  width: fit-content;
  font-size: 0.84rem;
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.76rem;
  padding-top: 1.25rem;
}

/* Zurückhaltende Bewegung */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--duration-reveal) var(--ease-standard),
    transform var(--duration-reveal) var(--ease-standard);
}

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

@media (max-width: 1024px) {
  .nav-links {
    gap: 1.25rem;
  }

  .fg-carousel {
    --fg-visible: 2;
  }

  .specialty-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-intro {
    column-count: 1;
  }

  .seo-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .association {
    grid-template-columns: 120px minmax(0, 1fr) minmax(210px, auto);
    gap: 1.25rem;
  }

  .association-logo {
    padding-right: 1rem;
  }
}

@media (max-width: 900px) {
  :root {
    --brand-width-mobile: 158px;
  }

  .nav-links {
    display: none;
  }

  .menu {
    display: block;
  }

  .site-header .brand-logo {
    width: var(--brand-width-mobile);
  }

  footer .brand-logo {
    width: var(--brand-width-mobile);
  }

  .mobile-nav {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    display: grid;
    margin: var(--header-height) 0 0;
    transform: none;
  }

  .js .mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    display: none;
    margin: 0;
    transform: none;
  }

  .js .mobile-nav.open {
    display: grid;
  }

  html:not(.js) .breadcrumbs {
    margin-top: 0.35rem;
  }

  .hero-grid,
  .struktur-einstieg,
  .module-top,
  .stats-text,
  .association-grid,
  .seo-article,
  .marketing-strip-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3rem;
  }

  .hero-image-panel {
    order: -1;
    width: min(100%, 620px);
  }

  .hero h1 {
    max-width: 16ch;
  }

  .zeitstrahl-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-height: 0;
  }

  .zeitstrahl-bar li,
  .zeitstrahl-bar li:nth-child(3),
  .zeitstrahl-bar li:nth-child(4) {
    min-height: 170px;
    border-right: 1px solid var(--line-inverted);
    border-bottom: 1px solid var(--line-inverted);
    border-radius: 0;
    padding: 1.2rem;
  }

  .zeitstrahl-bar li:nth-child(1) {
    border-radius: var(--radius-panel) 0 0 0;
  }

  .zeitstrahl-bar li:nth-child(2) {
    border-radius: 0 var(--radius-panel) 0 0;
  }

  .zeitstrahl-bar li:nth-child(3) {
    border-radius: 0 0 0 var(--radius-panel);
  }

  .zeitstrahl-bar li:nth-child(4) {
    border-radius: 0 0 var(--radius-panel) 0;
  }

  .zeitstrahl-bar li:nth-child(2n) {
    border-right: 0;
  }

  .zeitstrahl-bar li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .zs-sub {
    margin-top: 0;
  }

  .module-top {
    align-items: start;
  }

  .embed-note {
    max-width: 560px;
  }

  .association {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .association-action {
    grid-column: 2;
    justify-self: start;
  }

  .marketing-contact {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--content-width));
  }

  .site-header .container {
    width: min(100% - 32px, var(--content-width));
  }

  .mobile-nav {
    padding-inline: 16px;
  }

  .section {
    padding-block: 4.5rem;
  }

  .fg-carousel {
    --fg-visible: 1;
  }

  .specialty-directory-grid {
    grid-template-columns: 1fr;
  }

  .associations .section-head {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }

  .associations .section-head .insights-accent-line {
    justify-content: center;
  }

  .brand-logo {
    width: clamp(150px, 40vw, 158px);
  }

  .zeitstrahl-kopf {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .zeitstrahl-bar {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }

  .zeitstrahl-bar li,
  .zeitstrahl-bar li:nth-child(1),
  .zeitstrahl-bar li:nth-child(2),
  .zeitstrahl-bar li:nth-child(3),
  .zeitstrahl-bar li:nth-child(4) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-inverted);
    border-radius: 0;
    padding: 1.2rem;
  }

  .zeitstrahl-bar li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-inverted);
  }

  .zeitstrahl-bar li:last-child {
    border-bottom: 0;
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  }

  .zeitstrahl-bar li:first-child {
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  }

  .zs-sub {
    margin-top: 0;
  }

  .zeitstrahl-fuss {
    display: none;
  }

  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .association {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .seo-card-grid--three,
  .seo-card-grid--two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2.5rem;
  }

}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .hero {
    padding-block: 2.75rem 4rem;
  }

  .home-hero {
    min-height: auto;
    padding-block: 5rem;
  }

  .home-hero-inner {
    gap: 1.3rem;
  }

  .home-hero-logo {
    width: min(29.64vw, 6.84rem);
    margin-bottom: 0.35rem;
  }

  .hero-grid {
    gap: 2.4rem;
  }

  .hero-copy {
    gap: 1.15rem;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .btn-pill,
  .hero-secondary-link {
    width: 100%;
    justify-content: center;
  }

  .hero-topics {
    gap: 0.4rem;
  }

  .module-top,
  .module-panel {
    padding: 1.35rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(2) {
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .association {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .association-copy {
    text-align: center;
  }

  .association-action {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
  }

  .association-logo {
    width: 100%;
    min-height: 76px;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 1rem;
  }

  .contact-person-links {
    flex-direction: column;
  }

  .contact-dialog-head,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-dialog-head {
    padding-right: 2.5rem;
  }

  .full {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .brand:hover .brand-logo,
  .brand:focus-visible .brand-logo,
  .specialty-tile:hover .specialty-tile-image img {
    transform: none;
    scale: 1;
  }

  .specialty-tile:hover {
    translate: 0;
  }

  .fg-carousel.is-ready .fg-track,
  .fg-carousel-nav button span,
  .fg-carousel-arrow {
    transition: none;
  }

  .fg-carousel-arrow:hover,
  .fg-carousel-arrow:active {
    scale: 1;
  }
}
