/* =========================================================================
   interQualitas – Stylesheet
   Farben aus dem Logo: Petrolblau #204051, Koralle #F05454, Beige #E8DED6.
   Für Buttons mit weißer Schrift wird eine kräftigere Koralle (#D63C3C)
   verwendet, damit der Kontrast WCAG AA erfüllt.
   ========================================================================= */

:root {
  --navy: #204051;
  --navy-600: #2d566b;
  --navy-800: #1a3442;
  --navy-900: #132733;
  --navy-200: #c9d6dd;
  --navy-50: #e8eff2;
  --coral: #f05454;
  --coral-600: #d63c3c;
  --coral-700: #b83030;
  --coral-100: #fadcd6;
  --coral-50: #fdeeec;
  --beige: #e8ded6;
  --beige-200: #ddd0c4;
  --beige-100: #f1eae4;
  --beige-50: #f8f4f0;
  --brown: #6b5541;
  --ink: #1b2e38;
  --text: #33464f;
  --muted: #5a6d77;
  --line: #e9e1d9;
  --line-strong: #cbbfb3;
  --white: #fff;
  --focus: var(--navy);

  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --container: 1200px;
  --narrow: 820px;
  --gutter: clamp(18px, 4vw, 36px);
  --inset: clamp(8px, 1.3vw, 20px);
  --header-h: 76px;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: clamp(24px, 3vw, 44px);
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgb(20 42 54 / 0.04), 0 6px 16px -6px rgb(20 42 54 / 0.08);
  --shadow: 0 24px 48px -24px rgb(20 42 54 / 0.3);
  --shadow-lg: 0 40px 80px -32px rgb(20 42 54 / 0.38);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1140px) {
  :root { --header-h: 88px; }
}

/* ------------------------------------------------------------------ Basis */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  hyphens: auto;
  hyphenate-limit-chars: 12 5 5;
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  h1, h2 { hyphens: manual; }
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--coral-700); }
a[href^="tel:"] { white-space: nowrap; }

strong { color: var(--ink); font-weight: 700; }
address { font-style: normal; }

::selection { background: var(--coral-100); color: var(--ink); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.text-center { text-align: center; }
.icon { flex-shrink: 0; }

/* Eingerückte, abgerundete Flächen */
.panel { margin-inline: var(--inset); border-radius: var(--radius-xl); }
.panel + .panel { margin-top: var(--inset); }

/* -------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px;
  padding: 0.8em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(4px); }

.btn--primary { background: var(--coral-600); color: var(--white); box-shadow: 0 12px 24px -12px rgb(214 60 60 / 0.75); }
.btn--primary:hover { background: var(--coral-700); color: var(--white); transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgb(184 48 48 / 0.7); }

.btn--secondary { border-color: rgb(32 64 81 / 0.85); color: var(--navy); background: transparent; }
.btn--secondary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--beige); color: var(--navy); }

.btn--outline-light { border-color: rgb(255 255 255 / 0.5); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgb(255 255 255 / 0.1); color: var(--white); }

.btn--ghost { color: var(--navy); padding-inline: 0.6em; }
.btn--ghost:hover { color: var(--coral-700); }

.btn--sm { min-height: 44px; padding: 0.6em 1.2em; font-size: 0.95rem; }

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

/* --------------------------------------------------------------- Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.5) blur(14px);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 32px -24px rgb(20 42 54 / 0.45); }

.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: block; flex-shrink: 0; margin-right: auto; }
.brand img { width: auto; height: 38px; }
@media (min-width: 1140px) { .brand img { height: 48px; } }

.nav { display: none; }
.header-cta { display: none; }

@media (min-width: 1140px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; border-radius: var(--pill); transition: background-color 0.2s; }
.nav__item:hover { background: var(--beige-50); }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--ink); font-weight: 500; font-size: 1rem;
  text-decoration: none;
  border-radius: var(--pill);
}
.has-children .nav__link { padding-right: 2px; }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--coral);
  transform: translateX(-50%) scale(0); transition: transform 0.25s var(--ease);
}
.has-children .nav__link::after { left: calc(50% - 7px); }
.nav__link:hover { color: var(--navy); }
.nav__item.is-active > .nav__link { color: var(--navy); font-weight: 700; }
.nav__item.is-active > .nav__link::after { transform: translateX(-50%) scale(1); }

.nav__toggle {
  display: grid; place-items: center;
  width: 30px; height: 38px; padding: 0 4px 0 0;
  border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--pill);
}
.nav__toggle .icon { transition: transform 0.2s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; margin: 0; padding: 10px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.nav__sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item:hover > .nav__sub,
.nav__toggle[aria-expanded="true"] + .nav__sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__item.is-closed > .nav__sub { opacity: 0; visibility: hidden; }
.nav__sub a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-size: 0.97rem;
}
.nav__sub a::after { content: "→"; color: var(--coral-600); opacity: 0; transform: translateX(-4px); transition: 0.2s var(--ease); }
.nav__sub a:hover, .nav__sub a:focus-visible { background: var(--beige-50); color: var(--navy); }
.nav__sub a:hover::after { opacity: 1; transform: none; }

.menu-toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-right: -8px; padding: 0;
  border: 0; border-radius: 14px; background: none; color: var(--navy); cursor: pointer;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-top: 1px solid var(--line);
  padding-block: 12px 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav { margin: 0; padding: 0; list-style: none; }
.mobile-nav > li { border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; color: var(--navy); font-size: 1.3rem; font-weight: 700; text-decoration: none;
  cursor: pointer; list-style: none;
}
.mobile-nav__link::-webkit-details-marker { display: none; }
.mobile-nav__link.is-active { color: var(--coral-700); }
.mobile-nav__link .icon { transition: transform 0.2s var(--ease); }
.mobile-nav__group[open] .mobile-nav__link .icon { transform: rotate(180deg); }
.mobile-nav__group ul { margin: 0 0 12px; padding: 0 0 0 4px; list-style: none; }
.mobile-nav__group ul a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; border-radius: 12px; }
.mobile-nav__group ul a:hover { background: var(--beige-50); }
.mobile-menu__contact { display: grid; gap: 12px; margin-top: 28px; }

body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--beige);
  padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px);
}
.hero:has(+ .stats) { padding-bottom: clamp(96px, 11vw, 150px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 18%, rgb(255 255 255 / 0.55), transparent 62%),
    radial-gradient(40% 50% at 0% 100%, rgb(255 255 255 / 0.35), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: -1;
  width: 340px; height: 260px;
  background-image: radial-gradient(rgb(32 64 81 / 0.16) 1.3px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 0% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(circle at 0% 100%, #000 10%, transparent 70%);
}
.hero--compact { padding-block: clamp(28px, 4vw, 52px) clamp(36px, 5vw, 60px); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
  .hero__grid--single { grid-template-columns: minmax(0, 1fr); }
}

.hero__content { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.25rem, 1.25rem + 3.3vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin-bottom: 0.45em;
}
.hero--compact .hero__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); }
.hero__title--course { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem) !important; letter-spacing: -0.025em; }

/* Handgezeichnete Hervorhebung */
.hl { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.hl__line {
  position: absolute; left: -3%; bottom: -0.06em; z-index: -1;
  width: 106%; height: 0.34em; overflow: visible;
}
.hl__line path {
  fill: none; stroke: var(--coral); stroke-width: 4.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: draw-line 0.9s 0.35s var(--ease) both;
}
/* Ohne Animation (oder bei reduzierter Bewegung) ist die Linie sofort sichtbar. */
@keyframes draw-line { from { stroke-dashoffset: 1; } }
@media (prefers-reduced-motion: reduce) { .hl__line path { animation: none; } }

.hero__lead { max-width: 58ch; font-size: 1.15rem; color: var(--text); }
.hero__lead p { margin-bottom: 0.8em; }
.hero__lead .hint { display: inline-flex; padding: 5px 14px; border-radius: var(--pill); background: rgb(255 255 255 / 0.65); font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.hero__note { font-weight: 700; color: var(--navy); }

.hero .checklist { margin-block: 8px 30px; font-size: 1.05rem; }
.hero .actions { margin-top: 30px; }
.hero__seal { width: auto; height: 80px; margin-top: 34px; }

.hero__media { position: relative; display: none; align-self: stretch; min-height: 460px; }
@media (min-width: 900px) { .hero__media { display: block; } }
.hero__stage {
  position: absolute; left: 12%; right: 6%; top: 4%; bottom: -2%;
  border-radius: 999px 999px 36px 36px;
  background: linear-gradient(180deg, #fff 0%, #fbf8f5 100%);
  box-shadow: 0 40px 70px -40px rgb(20 42 54 / 0.45);
  overflow: hidden;
}
.hero__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(32 64 81 / 0.13) 1.3px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 65%);
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}
.hero__sun {
  position: absolute; right: 1%; top: 12%;
  width: clamp(64px, 7vw, 100px); aspect-ratio: 1; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 18px 36px -14px rgb(240 84 84 / 0.7);
}
.hero__ring {
  position: absolute; left: 0; bottom: 14%;
  width: clamp(100px, 11vw, 160px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgb(32 64 81 / 0.2);
}
.hero__illu {
  position: absolute; left: 56%; bottom: 0;
  width: auto; height: 100%; max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 22px rgb(20 42 54 / 0.14));
}
.hero__media--wide .hero__illu { height: 74%; bottom: 10%; }

/* Schwebende Info-Chips */
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px);
  border-radius: 20px; box-shadow: var(--shadow-lg);
  font-size: 0.85rem; line-height: 1.3; color: var(--muted);
  animation: float 7s ease-in-out infinite;
}
.float-chip strong { display: block; color: var(--navy); font-size: 0.97rem; }
.float-chip > span:last-child > span { display: block; }
.float-chip__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: var(--white); flex-shrink: 0; }
.float-chip__icon--coral { background: var(--coral-600); }
.float-chip--a { left: -4%; top: 36%; }
.float-chip--b { right: -3%; bottom: 12%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 22px; font-size: 0.9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--text); }
.breadcrumbs li + li::before { content: "/"; color: var(--navy-600); opacity: 0.5; }
.breadcrumbs a { color: var(--text); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Checkliste */
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.checklist .icon {
  width: 24px; height: 24px; padding: 5px; margin-top: 1px;
  border-radius: 50%; background: var(--navy); color: var(--white); stroke-width: 3;
}
@media (min-width: 640px) {
  .checklist--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  color: var(--navy); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 14px 0 0 rgb(240 84 84 / 0.35); margin-right: 14px; }

/* ------------------------------------------------------------- Sektionen */

.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--beige { background: var(--beige); }
.section--tint { background: var(--beige-50); }
.section--navy { overflow: hidden; isolation: isolate; background: var(--navy); color: var(--beige); --focus: var(--white); }
.section--navy::before {
  content: ""; position: absolute; z-index: -1; right: -180px; top: -220px;
  width: 560px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.07);
  box-shadow: 0 0 0 70px rgb(255 255 255 / 0.025);
}
.section--navy::after {
  content: ""; position: absolute; z-index: -1; left: -15%; bottom: -40%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(240 84 84 / 0.16), transparent 62%);
}
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--white); }
.section--navy .eyebrow { color: var(--beige); }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }
.section-head--split .section-title { margin: 0; }
.section-title { font-size: clamp(1.85rem, 1.2rem + 2vw, 2.85rem); line-height: 1.08; letter-spacing: -0.028em; }
.section-lead { font-size: 1.15rem; }

/* Zahlenleiste */
.stats { position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 6vw, 80px)); }
.stats__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0; padding: 6px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px; } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: clamp(18px, 2.4vw, 28px); }
.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
.stat:nth-child(even) { border-left: 1px solid var(--line); }
@media (min-width: 900px) {
  .stat:nth-child(n + 3) { border-top: 0; }
  .stat + .stat { border-left: 1px solid var(--line); }
}
.stat dd {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px;
  margin: 0; color: var(--navy);
  font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1;
}
.stat dd small { width: 100%; margin-bottom: 4px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat dd span { color: var(--coral-600); }
.stat dt { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }

/* Willkommen */
.welcome { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 960px) { .welcome { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(56px, 7vw, 96px); } }
.welcome__media { position: relative; isolation: isolate; padding: 0 clamp(16px, 3vw, 32px) 56px 0; }
.welcome__media::before {
  content: ""; position: absolute; z-index: -1; inset: 36px 0 20px 48px;
  border-radius: 40px; background: var(--beige);
}
.welcome__photo { overflow: hidden; border-radius: 36px; aspect-ratio: 1 / 1.04; box-shadow: var(--shadow); }
.welcome__photo img { width: 100%; height: 100%; object-fit: cover; }
.welcome__badge {
  position: absolute; left: clamp(-12px, -1vw, 0px); bottom: 0;
  display: flex; align-items: center; gap: 14px;
  max-width: min(360px, 92%); padding: 14px 18px 14px 14px;
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg);
  font-size: 0.88rem; line-height: 1.4; color: var(--text);
}
.welcome__badge img { width: auto; height: 52px; }
.welcome__lead { color: var(--ink); font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.45; }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  margin-top: 32px; padding: 18px 18px 18px 20px;
  background: var(--beige-50); border: 1px solid var(--line); border-radius: 24px;
}
.callout__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--coral-50); color: var(--coral-700); flex-shrink: 0; }
.callout__text { flex: 1 1 220px; margin: 0; color: var(--navy); font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.callout .btn { flex-shrink: 0; white-space: nowrap; }

/* ---------------------------------------------------------------- Karten */

.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) {
  .card-grid--2, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.feature-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  background: var(--beige-50); border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.section--tint .feature-card, .section--beige .feature-card { background: var(--white); }
.feature-card.is-linked:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.feature-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.feature-card__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 18px; background: var(--navy); color: var(--white);
  box-shadow: 0 12px 24px -14px rgb(32 64 81 / 0.8);
}
.feature-card__index {
  color: transparent; -webkit-text-stroke: 1.5px var(--coral);
  font-size: 2.8rem; font-weight: 700; line-height: 0.9; letter-spacing: -0.03em;
}
.feature-card__title { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.45em; }
.feature-card__title a { color: inherit; text-decoration: none; }
.feature-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.feature-card__title a:focus-visible { outline: none; }
.feature-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.feature-card__lead { margin-bottom: 0.7em; color: var(--coral-700); font-weight: 700; line-height: 1.45; }
.feature-card__text { color: var(--muted); }
.feature-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 18px;
  color: var(--coral-700); font-weight: 700;
}
.feature-card__more .icon { transition: transform 0.2s var(--ease); }
.feature-card.is-linked:hover .feature-card__more .icon { transform: translateX(4px); }

/* Bento-Raster (Leistungsbereiche) */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* Einspaltig: Wichtigstes zuerst (bei Rasterflächen ab 700px ohne Wirkung) */
.bento__item--q { order: -2; } .bento__item--p { order: -1; } .bento__item--a { order: 1; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "q q" "p p" "k m" "a f"; gap: 20px; }
  .bento__item--q { grid-area: q; } .bento__item--p { grid-area: p; }
  .bento__item--k { grid-area: k; } .bento__item--m { grid-area: m; }
  .bento__item--a { grid-area: a; } .bento__item--f { grid-area: f; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "q q p p" "q q k m" "a a f f"; }
}
@media (min-width: 700px) {
  .bento--long { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "q p" "k m" "a f"; }
}
.bento__item {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__item:has(a:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }
.bento__item--navy { background: var(--navy); color: var(--beige); }
.bento__item--beige { background: var(--beige); }
.bento__item--white { background: var(--white); border: 1px solid var(--line); }
.bento__item--tint { background: var(--beige-50); }
.bento__item--coral { background: var(--coral-50); }
.bento__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bento__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 8px;
  border-radius: 18px; background: var(--navy); color: var(--white);
}
.bento__item--navy .bento__icon { background: rgb(255 255 255 / 0.12); }
.bento__item--coral .bento__icon { background: var(--coral-600); }
.bento__title { margin: 0; font-size: 1.35rem; line-height: 1.2; hyphens: manual; }
.bento__title a { color: inherit; text-decoration: none; }
.bento__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.bento__title a:focus-visible { outline: none; }
.bento__item--navy .bento__title { color: var(--white); font-size: clamp(1.6rem, 1rem + 0.9vw, 2rem); }
.bento--long .bento__item--navy .bento__title { font-size: 1.6rem; }
.bento--long .bento__item--navy .bento__text { font-size: 1rem; }
.bento--long .bento__body { max-width: 62ch !important; }
.bento__text { margin: 0; color: var(--muted); }
.bento__item--navy .bento__text { color: var(--beige); font-size: 1.08rem; }
.bento__item--beige .bento__text { color: var(--text); }
.bento__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--coral-700); font-weight: 700; }
.bento__item--navy .bento__more { color: var(--white); }
.bento__more .icon { transition: transform 0.2s var(--ease); }
.bento__item:hover .bento__more .icon { transform: translateX(4px); }
.bento__illu { display: none; }
@media (min-width: 700px) {
  .bento__item--q .bento__body { max-width: 56%; }
  .bento__item--p .bento__body { max-width: 56%; }
  .bento__illu { display: block; position: absolute; z-index: 0; right: 3%; top: 30px; pointer-events: none; }
  .bento__illu img { width: auto; height: 560px; max-width: none; transition: transform 0.5s var(--ease); }
  .bento__item--q .bento__illu { right: 0; }
  .bento__item--q .bento__illu img { height: 560px; }
  .bento__item--q .bento__illu::before {
    content: ""; position: absolute; z-index: -1; left: 50%; top: 36px; translate: -50% 0;
    width: 190px; height: 560px; border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, var(--beige) 0%, rgb(232 222 214 / 0.85) 100%);
  }
  .bento__item--q .bento__illu::after {
    content: ""; position: absolute; z-index: -1; right: -18px; top: 14px;
    width: 58px; aspect-ratio: 1; border-radius: 50%; background: var(--coral);
  }
  .bento__item--p .bento__illu { top: 26px; right: 8%; }
  .bento__item--p .bento__illu img { height: 420px; }
  .bento__item:hover .bento__illu img { transform: translateY(-8px); }
}

/* Hervorgehobene Kurse (Startseite) */
.featured-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 760px) { .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.featured-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 10px;
  background: var(--white); border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.featured-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgb(0 0 0 / 0.55); }
.featured-card__stage {
  position: relative; overflow: hidden;
  height: 250px; border-radius: 20px;
  background: var(--beige);
}
.featured-card__stage--2 { background: var(--coral-100); }
.featured-card__stage--3 { background: var(--navy-50); }
.featured-card__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(32 64 81 / 0.12) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.featured-card__sun { position: absolute; right: 18px; top: 18px; width: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); opacity: 0.9; }
.featured-card__stage--2 .featured-card__sun { background: var(--navy); opacity: 0.85; }
.featured-card__stage img {
  position: absolute; left: 50%; top: 22px;
  width: auto; height: 470px; max-width: none;
  transform: translateX(-50%);
  transition: transform 0.5s var(--ease);
}
.featured-card:hover .featured-card__stage img { transform: translateX(-50%) translateY(-8px); }
.featured-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 16px 14px; }
.featured-card__title { margin: 14px 0 10px; font-size: 1.35rem; line-height: 1.2; color: var(--navy) !important; }
.featured-card__title a { color: inherit; text-decoration: none; }
.featured-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.featured-card__title a:focus-visible { outline: none; }
.featured-card:has(a:focus-visible) { outline: 3px solid var(--white); outline-offset: 4px; }
.featured-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.featured-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.featured-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--coral-700); font-weight: 700; }
.featured-card__more .icon { transition: transform 0.2s var(--ease); }
.featured-card:hover .featured-card__more .icon { transform: translateX(4px); }

/* Tags */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--pill);
  background: var(--beige-100); color: var(--navy);
  font-size: 0.78rem; font-weight: 700; line-height: 1.4; white-space: nowrap; letter-spacing: 0.01em;
}
.tag--azav { background: var(--navy); color: var(--white); }
.tag--light { background: rgb(255 255 255 / 0.14); color: var(--white); }

/* --------------------------------------------------------- Kursübersicht */

.filters {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  margin-bottom: 20px; padding: clamp(18px, 2.5vw, 26px);
  background: var(--beige-50); border-radius: var(--radius-lg);
}
@media (min-width: 640px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--search { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .filters { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); align-items: end; }
  .field--search { grid-column: auto; }
  .filters .switch { grid-column: 1 / 4; }
  .filters [data-filter-reset] { grid-column: 4 / 6; justify-self: end; }
}
.filters [data-filter-reset] { justify-self: start; }

.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--navy); font-size: 0.85rem; font-weight: 700; }
.filters .field label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }

.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 14px;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-600); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(32 64 81 / 0.14);
}
.field select { appearance: none; padding-right: 42px; cursor: pointer; }
.field__chevron { position: absolute; right: 16px; bottom: 18px; color: var(--navy); pointer-events: none; }
.field--search input { padding-left: 46px; }
.field__icon { position: absolute; left: 16px; bottom: 17px; color: var(--muted); pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--coral-700); }
.field__error { margin: 0; color: var(--coral-700); font-size: 0.88rem; font-weight: 600; }

.switch { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative; flex-shrink: 0;
  width: 50px; height: 30px; border-radius: var(--pill);
  background: var(--line-strong); transition: background 0.2s;
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
  transition: transform 0.2s var(--ease);
}
.switch input:checked + .switch__track { background: var(--navy); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--focus); outline-offset: 3px; }

.filters__count { margin: 0 0 20px; color: var(--muted); font-weight: 600; }

.course-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1080px) { .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.course-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.course-card[hidden] { display: none; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.course-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.course-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-card__field { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.82rem; font-weight: 700; line-height: 1.25; }
.course-card__field-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0; }
.course-card--coral .course-card__field-icon { background: var(--coral-50); color: var(--coral-700); }
.course-card--navy .course-card__field-icon { background: var(--navy-50); color: var(--navy); }
.course-card--sand .course-card__field-icon { background: var(--beige-100); color: var(--brown); }
.course-card__title { margin: 4px 0 0; font-size: 1.2rem; line-height: 1.28; }
.course-card__title a { color: var(--navy); text-decoration: none; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card__title a:focus-visible { outline: none; }
.course-card__text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden; margin: 0; color: var(--muted); font-size: 0.96rem; hyphens: auto;
}
.course-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 0; padding: 0; list-style: none;
  color: var(--text); font-size: 0.88rem;
}
.course-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-card__meta .icon { color: var(--navy-600); }
.course-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong);
}
.course-card__price { display: flex; flex-direction: column; color: var(--navy); font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.course-card__price span { margin-bottom: 2px; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.course-card__price--muted { color: var(--text); font-size: 1rem; }
.course-card__more {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--beige-100); color: var(--navy);
  transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.course-card:hover .course-card__more { background: var(--coral-600); color: var(--white); transform: rotate(-45deg); }

.empty-state {
  max-width: 560px; margin: 24px auto 0; padding: 40px;
  text-align: center; background: var(--beige-50); border-radius: var(--radius-lg);
}
.empty-state .btn { margin-top: 12px; }

/* Infoboxen (Qualifizierung) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.25fr 1fr; gap: 24px; } }
.info-panel {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.info-panel > img { width: 96px; height: 96px; }
.info-panel .feature-card__icon { margin: 0; }
.info-panel__title { font-size: 1.4rem; }
.info-panel .tag { vertical-align: middle; }
@media (min-width: 560px) { .info-panel { flex-direction: row; align-items: flex-start; } }

/* ------------------------------------------------------------ Kursseite */

.course-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.course-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.course-hero__tags .tag:not(.tag--azav) { background: rgb(255 255 255 / 0.75); }
.course-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.course-hero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: rgb(255 255 255 / 0.7); }
.course-hero__facts .icon { color: var(--coral-600); }
.course-hero__seal { display: none; width: 140px; height: 140px; flex-shrink: 0; filter: drop-shadow(0 18px 24px rgb(20 42 54 / 0.18)); }
@media (min-width: 760px) { .course-hero__seal { display: block; } }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 980px) {
  .course-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 64px; align-items: start; }
  .course-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.course-main h2 { font-size: 1.55rem; margin-top: 1.9em; letter-spacing: -0.02em; }
.course-main h2:first-child { margin-top: 0; }
.course-main__lead { font-size: 1.12rem; color: var(--ink); line-height: 1.7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.facts-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.facts-table th, .facts-table td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table th { width: 34%; background: var(--beige-50); color: var(--navy); font-weight: 700; }
@media (max-width: 560px) {
  .facts-table th, .facts-table td { display: block; width: auto; }
  .facts-table th { padding-bottom: 4px; border-bottom: 0; }
  .facts-table td { padding-top: 4px; }
}

.ue-split { margin: 30px 0 0; padding: 22px 24px; background: var(--beige-50); border-radius: var(--radius); }
.ue-split figcaption { margin-bottom: 12px; color: var(--navy); font-weight: 700; }
.ue-split__bar { display: flex; gap: 4px; height: 16px; overflow: hidden; border-radius: var(--pill); }
.ue-split__seg { display: block; min-width: 6px; }
.ue-split__seg--online { background: var(--navy); }
.ue-split__seg--praesenz { background: var(--coral); }
.ue-split__seg--pruefung { background: #a8968a; }
.ue-split__seg--elearning { background: #7f9fae; }
.ue-split__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.ue-split__legend li { display: inline-flex; align-items: center; gap: 8px; }
.ue-split__dot { width: 12px; height: 12px; border-radius: 50%; }

.note {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 22px 24px;
  background: var(--beige-50); border-radius: var(--radius);
}
.note .icon { color: var(--navy); margin-top: 2px; }

.facts-card {
  display: grid; gap: 14px;
  padding: 30px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.facts-card--beige { background: var(--beige-50); border-color: transparent; box-shadow: none; }
.facts-card--beige img { width: auto; height: 64px; }
.facts-card__title { margin: 0 0 4px; font-size: 1.25rem; }
.facts-card .btn { width: 100%; }
.facts-list { margin: 0 0 8px; }
.facts-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.facts-list dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.facts-list dt .icon { color: var(--coral-600); }
.facts-list dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }

.course-grid--compact .course-card__text { -webkit-line-clamp: 2; line-clamp: 2; }

/* ------------------------------------------------------- Stimmen & AZAV */

.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.quote-card {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  margin: 0; padding: clamp(28px, 3vw, 38px);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.quote-card:nth-child(2) { background: var(--navy); }
.quote-card:nth-child(2) blockquote { color: var(--white); }
.quote-card:nth-child(2) figcaption { color: var(--white); }
.quote-card__mark { color: var(--coral); }
.quote-card blockquote { margin: 0; color: var(--ink); font-size: 1.12rem; line-height: 1.6; }
.quote-card figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: auto;
  color: var(--navy); font-weight: 700; letter-spacing: 0.04em;
}
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0;
}
.avatar--1 { background: var(--beige); color: var(--navy); }
.avatar--2 { background: var(--coral-600); color: var(--white); }
.avatar--3 { background: var(--navy); color: var(--white); }

.azav-note {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 560px; margin: 56px auto 0;
  text-align: center; color: var(--text); font-size: 0.97rem;
}
.azav-note img { width: auto; height: 76px; }
.azav-note--inline {
  flex-direction: row; max-width: none; margin: 24px 0 0; padding: 18px 20px;
  text-align: left; border: 1px solid var(--line); border-radius: var(--radius);
}
.azav-note--inline img { height: 64px; }

/* ------------------------------------------------------------ CTA-Karte */

.cta { padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 104px); }
.section + .cta, .panel + .cta { padding-top: clamp(64px, 8vw, 104px); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr);
  min-height: 300px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--navy); color: var(--beige); border-radius: var(--radius-xl);
  --focus: var(--white);
}
.cta__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 0.1) 1.3px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000, transparent 55%);
  mask-image: radial-gradient(circle at 100% 0%, #000, transparent 55%);
}
.cta__card::after {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -60%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(240 84 84 / 0.2), transparent 62%);
}
@media (min-width: 860px) { .cta__card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); } }
.cta__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.cta .eyebrow { color: var(--beige); }
.cta__text { max-width: 24ch; margin: 0 0 30px; color: var(--white); font-size: clamp(1.55rem, 1.05rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.cta__illu { display: none; position: relative; }
@media (min-width: 860px) {
  .cta__illu { display: block; }
  .cta__illu img { position: absolute; left: 50%; top: -12px; width: auto; height: 560px; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgb(0 0 0 / 0.25)); }
  .cta__sun { position: absolute; left: 50%; top: -28px; width: 170px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); opacity: 0.9; transform: translateX(-30%); }
}

/* ------------------------------------------------------------- Über uns */

.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pillar {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px); text-align: center;
  background: var(--beige-50); border-radius: var(--radius-lg);
}
.pillar__icon {
  display: grid; place-items: center;
  width: 80px; height: 80px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--navy); color: var(--white);
  box-shadow: 0 0 0 10px var(--white);
}
.pillar__title { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -0.03em; }
.pillar__dot { color: var(--coral); }
.pillar p { color: var(--muted); }

.promise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .promise { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.promise__lead { color: var(--white); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem); font-weight: 600; line-height: 1.45; }
.promise__body p:not(.promise__lead) { color: var(--beige); }

.team-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 1000px; margin-inline: auto; }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.team-card { overflow: hidden; padding: 10px; background: var(--beige-50); border-radius: var(--radius-lg); }
.team-card__photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: var(--beige-100); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.03); }
.team-card__body { padding: 24px 18px 18px; }
.team-card__name { margin-bottom: 2px; font-size: 1.5rem; letter-spacing: -0.02em; }
.team-card__role { color: var(--coral-700); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; border-radius: 10px; background: var(--white); color: var(--navy); font-size: 0.85rem; font-weight: 600; }

.location { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 860px) { .location { grid-template-columns: 1fr 1fr; gap: 72px; } }
.location__photo img { width: 100%; border-radius: 36px; box-shadow: var(--shadow); }
.location .actions { margin-top: 28px; }

.contact-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.contact-list .icon { margin-top: 3px; color: var(--coral-600); }
.contact-list a { font-weight: 600; }
.contact-list__label { display: block; color: var(--muted); font-size: 0.85rem; }

/* -------------------------------------------------------------- Karriere */

.jobs { display: grid; gap: 16px; }
.job { background: var(--beige-50); border-radius: var(--radius-lg); transition: background-color 0.2s, box-shadow 0.2s; }
.job[open] { background: var(--white); box-shadow: var(--shadow); }
.job summary {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--white); flex-shrink: 0; }
.job__head { display: flex; flex-direction: column; flex: 1; }
.job__title { color: var(--navy); font-size: 1.25rem; font-weight: 700; }
.job__terms { color: var(--muted); font-size: 0.95rem; }
.job__chevron { color: var(--navy); transition: transform 0.2s var(--ease); }
.job[open] .job__chevron { transform: rotate(180deg); }
.job__body { padding: 0 24px 28px 92px; }
.job__body .checklist { margin-bottom: 1em; }
.job__body .btn { margin-top: 12px; }
@media (max-width: 560px) { .job__body { padding-left: 24px; } }

/* ---------------------------------------------------------------- Preise */

.abo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.abo__includes {
  padding: clamp(26px, 3vw, 40px);
  background: var(--white); border-radius: var(--radius-lg);
}
.abo__includes h3 { font-size: 1.35rem; margin-bottom: 0.2em; }
.abo__includes .checklist { margin-top: 20px; }
@media (min-width: 760px) { .abo__includes .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.price-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 32px 28px;
  background: var(--white); border-radius: var(--radius-lg); border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card__name { margin: 0; font-size: 1.4rem; }
.price-card__size { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.price-card__price { margin: 18px 0 0; color: var(--navy); }
.price-card__price strong { color: var(--navy); font-size: 2.5rem; letter-spacing: -0.03em; }
.price-card__month { color: var(--muted); }
.price-card .btn { margin-top: 20px; }

.fine-print { max-width: 820px; margin: 28px auto 0; color: var(--text); font-size: 0.92rem; text-align: center; }

/* --------------------------------------------------------------- Kontakt */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.contact-aside { display: grid; gap: 20px; }
@media (min-width: 980px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.form-card { padding: clamp(26px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.form-card .section-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.form-note { color: var(--muted); font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { color: var(--muted); font-size: 0.92rem; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--beige-50); color: var(--ink); font-weight: 600; }
.form-status.is-success { background: #e8f3ee; color: #1d5a3d; }
.form-status.is-error { background: var(--coral-50); color: var(--coral-700); }

/* ----------------------------------------------------------------- Recht */

.prose { font-size: 1rem; }
.prose h2 { margin-top: 2.2em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.8em; font-size: 1.25rem; }
.prose h4 { margin-top: 1.4em; font-size: 1.05rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose a { overflow-wrap: anywhere; }

.legal-list { display: grid; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legal-list div { display: grid; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.legal-list div:last-child { border-bottom: 0; }
.legal-list dt { color: var(--muted); font-size: 0.9rem; }
.legal-list dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (min-width: 640px) { .legal-list div { grid-template-columns: 240px 1fr; } }

/* ---------------------------------------------------------------- Footer */

.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 var(--inset) var(--inset);
  padding-block: clamp(48px, 6vw, 80px) 28px;
  background: var(--navy-900); color: #b5c4cc; font-size: 0.97rem;
  border-radius: var(--radius-xl);
  --focus: var(--white);
}
.site-footer::before {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -50%;
  width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(240 84 84 / 0.12), transparent 62%);
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--beige); text-decoration: underline; }
.site-footer .btn { text-decoration: none; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.footer-tagline {
  margin: 0; color: var(--white);
  font-size: clamp(2.1rem, 1.1rem + 3.6vw, 4.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1;
}
.footer-tagline span { color: var(--coral); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 0.9fr; gap: 40px; } }
.footer-brand__logo img { width: 210px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 32ch; }
.footer-brand__seal { width: auto; height: 64px; margin-top: 20px; }
.footer-title { margin-bottom: 14px; color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-link-icon { display: inline-flex; align-items: center; gap: 10px; }
.site-footer address + .footer-link-icon { margin-top: 12px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }

/* Mobile Schnellkontakt-Leiste */
.contact-bar {
  position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: rgb(26 52 66 / 0.96); backdrop-filter: blur(10px);
  border-radius: 20px; box-shadow: 0 16px 32px -12px rgb(0 0 0 / 0.45);
  --focus: var(--white);
}
.contact-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 6px; color: var(--white); text-decoration: none; font-size: 0.78rem; font-weight: 700;
}
.contact-bar a + a { border-left: 1px solid rgb(255 255 255 / 0.12); }
@media (max-width: 759px) { body { padding-bottom: 80px; } }
@media (min-width: 760px) { .contact-bar { display: none; } }
body.menu-open .contact-bar { display: none; }

/* ------------------------------------------------------------ Animation */

/* `translate` statt `transform`, damit Hover-Effekte (transform) unabhängig bleiben */
[data-reveal] { transition: opacity 0.8s var(--ease), translate 0.8s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s; }
[data-reveal].reveal-pending { opacity: 0; translate: 0 22px; }

@media print {
  .site-header, .contact-bar, .cta, .mobile-menu { display: none !important; }
  .hero { background: none; }
}
