/* ==========================================================================
   Amparo GmbH – Stylesheet (amparopersonal.de)
   Farben aus dem Logo: Nachtblau #16222F, Gold #B09160
   Schriften: Lora (Überschriften), Carlito (Fließtext) – lokal eingebunden
   ========================================================================== */

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #16222F;
  --navy-hover: #24364A;
  --gold: #B09160;
  --gold-text: #846A3C;      /* Gold für Text auf hellem Grund (AA) */
  --gold-on-dark: #CDB487;   /* Gold für Text auf Nachtblau */
  --ink: #16222F;
  --text: #2D3B49;
  --muted: #5A6875;
  --mist: #EEF1F4;
  --mist-2: #E3E8ED;
  --line: #D5DBE2;
  --field-border: #AEB8C3;
  --white: #FFFFFF;
  --error: #9E3426;
  --error-bg: #FBEFED;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Carlito", Calibri, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 3px;
  --header-h: 88px;
  --section-y: clamp(64px, 8vw, 112px);
}

/* ---------- Grundlagen ---------- */

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

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

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

html.nav-open { overflow: hidden; }

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--gold-text); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); }
h3 { font-size: 1.5rem; line-height: 1.25; }
h4 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; color: var(--ink); }

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

::selection { background: var(--navy); color: var(--white); }

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

.visually-hidden {
  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: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--ui { width: 20px; height: 20px; flex: none; }

.measure { max-width: 40em; }

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-hover); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--gold-on-dark); color: var(--navy); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--gold-text); }

/* ---------- Kopfbereich ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(22, 34, 47, 0.55);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand { flex: none; }
.brand img { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item--active > .nav__link::after { transform: scaleX(1); }

.icon--caret { width: 12px; height: 12px; stroke-width: 1.6; transition: transform 0.2s; }
.nav__item--has-sub.is-open .icon--caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  width: max-content;
  min-width: 300px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 40px -28px rgba(22, 34, 47, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav__item--has-sub::after {      /* Brücke, damit das Menü beim Hovern offen bleibt */
  content: "";
  position: absolute;
  left: -24px; right: -24px; top: 100%;
  height: 18px;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub,
.nav__item--has-sub.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__sub a {
  display: block;
  padding: 11px 24px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
}
.nav__sub a:hover { background: var(--mist); color: var(--ink); }
.nav__sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); background: var(--mist); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .brand img { height: 50px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 16px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .nav-toggle__icon {
    position: relative;
    width: 18px; height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    border-color: transparent;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before,
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 3px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: rotate(-45deg); }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(22, 34, 47, 0.45);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; padding: 16px 0; font-size: 1.1875rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold-text); }
  .nav__item--has-sub > .nav__link { cursor: default; }
  .nav__item--has-sub .icon--caret { display: none; }
  .nav__item--has-sub::after { display: none; }
  .nav__sub {
    position: static;
    width: auto;
    min-width: 0;
    padding: 0 0 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__sub a {
    padding: 9px 0 9px 16px;
    border-left: 2px solid var(--line);
  }
  .nav__sub a:hover { background: none; color: var(--gold-text); }
  .nav__sub a[aria-current="page"] { border-left-color: var(--gold); box-shadow: none; background: none; color: var(--gold-text); }
  .nav__cta { margin-top: 24px; width: 100%; }
}

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

.hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: min(82vh, 700px);
  padding-block: 72px 64px;
}
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.06;
  margin-bottom: 0.45em;
  max-width: 12.5em;
}
.hero__lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  max-width: 33em;
  margin-bottom: 2em;
}

.hero__tabs {
  display: flex;
  gap: 28px;
  margin-top: clamp(40px, 6vw, 64px);
}
.hero__tab {
  position: relative;
  min-width: 150px;
  padding: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: 0;
  cursor: pointer;
}
.hero__tab::before,
.hero__tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
}
.hero__tab::before { background: rgba(255, 255, 255, 0.18); }
.hero__tab::after {
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__tab:hover { color: rgba(255, 255, 255, 0.85); }
.hero__tab[aria-selected="true"] { color: var(--white); }
.hero__tab[aria-selected="true"]::after { transform: scaleX(1); }
.hero.is-playing .hero__tab[aria-selected="true"]::after {
  animation: tab-progress var(--slide-duration, 8s) linear forwards;
}
.hero.is-paused .hero__tab[aria-selected="true"]::after { animation-play-state: paused; }

@keyframes tab-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Bildmarke aus dem Logo – zeichnet sich einmal beim Laden */
.hero__emblem { justify-self: center; width: min(100%, 380px); }
.emblem { width: 100%; height: auto; overflow: visible; }
.emblem-fill { fill: rgba(255, 255, 255, 0.04); }
.emblem-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 0.45;
  stroke-linecap: square;
}
.emblem-bar { fill: var(--gold); }

.emblem--animate .emblem-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: emblem-draw 1.3s cubic-bezier(0.65, 0.05, 0.3, 1) 0.25s forwards;
}
.emblem--animate .emblem-line--cap { animation-delay: 1.45s; animation-duration: 0.3s; }
.emblem--animate .emblem-fill { opacity: 0; animation: emblem-fade 0.9s ease 1.3s forwards; }
.emblem--animate .emblem-bar {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleX(0);
  animation: emblem-grow 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s forwards;
}
@keyframes emblem-draw { to { stroke-dashoffset: 0; } }
@keyframes emblem-fade { to { opacity: 1; } }
@keyframes emblem-grow { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 56px 48px;
  }
  .hero__emblem { display: none; }
  .hero__tab { min-width: 0; flex: 1; }
}

/* ---------- Kopfbereich der Unterseiten ---------- */

.page-hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding-block: 48px 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.35em; max-width: 18em; }
.page-hero__lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); max-width: 40em; margin: 0; }
.page-hero__mark { width: 128px; margin-bottom: 4px; }
.page-hero__mark .emblem-line { stroke-width: 1.1; }

.breadcrumb { margin-bottom: 32px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.62); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, 0.35); }
.breadcrumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--white); }

@media (max-width: 760px) {
  .page-hero__inner { grid-template-columns: 1fr; padding-block: 36px 48px; }
  .page-hero__mark { display: none; }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: 1.1875rem; color: var(--muted); margin: 0; }
.section-foot { margin: clamp(28px, 3vw, 40px) 0 0; }

.lead { font-size: 1.25rem; color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split > div > p { max-width: 38em; }
@media (max-width: 880px) {
  .split, .split--wide { grid-template-columns: 1fr; }
}

/* Drei Merkmale der Vermittlung */
.facts-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  margin: 6px 0 14px;
}
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.facts li::before {
  content: "";
  grid-row: 1;
  width: 16px; height: 14px;
  margin-top: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 13 L8 1.5 L14.5 13' fill='none' stroke='%23846A3C' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.facts h4 { margin: 0; }
.facts p { grid-column: 2; margin: 0; color: var(--muted); }

/* Berufsfelder */
.fields {
  --tile: var(--white);
  --tile-hover: var(--white);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}
.fields--on-white { --tile: var(--mist); --tile-hover: var(--mist-2); }
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--tile);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.field:hover { background: var(--tile-hover); box-shadow: inset 0 3px 0 var(--gold); }
.field__icon { width: 52px; height: 52px; color: var(--gold-text); margin-bottom: 6px; }
.field h3 { margin: 0; }
.field p { margin: 0; color: var(--muted); max-width: 34em; }
.field__link {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.field__link::after { content: ""; position: absolute; inset: 0; }
.field__link:focus-visible { outline: none; }
.field:has(.field__link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) { .fields { grid-template-columns: 1fr; } }

/* Leistungen / Vorteile */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.service { padding: 32px 32px 4px 0; }
.service + .service { padding-left: 32px; border-left: 1px solid var(--line); }
.service__bar { display: block; width: 46px; height: 3px; background: var(--gold); margin-bottom: 24px; }
.service h3 { margin-bottom: 0.45em; }
.service p { margin: 0; color: var(--muted); }
@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
}

/* 10 Gründe */
.reasons {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.reasons__head p { color: rgba(255, 255, 255, 0.72); font-size: 1.1875rem; margin-bottom: 1.75em; }
.reasons__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.reasons__list li {
  position: relative;
  padding: 18px 0 18px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}
.reasons__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 15px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 13 L8 1.5 L14.5 13' fill='none' stroke='%23CDB487' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 960px) { .reasons { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .reasons__list { grid-template-columns: 1fr; } }

/* Ablauf in vier Schritten */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
}
.step { position: relative; padding-top: 76px; }
.step::before {
  counter-increment: schritt;
  content: counter(schritt);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-text);
}
.step::after {
  content: "";
  position: absolute;
  top: 26px; left: 52px; right: -16px;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.3125rem; margin-bottom: 0.4em; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .step::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Für Unternehmen / Für Bewerber */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audience {
  display: flex;
  padding-block: var(--section-y);
  background: var(--mist);
}
.audience:first-child { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: clamp(32px, 5vw, 72px); }
.audience:last-child { padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-left: clamp(32px, 5vw, 72px); }
.audience--dark { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.audience--dark h2 { color: var(--white); }
.audience--dark strong { color: var(--white); }
.audience__inner { display: flex; flex-direction: column; align-items: flex-start; max-width: 34rem; }
.audience__inner .btn { margin-top: auto; }
.audience__inner p:last-of-type { margin-bottom: 2em; }
@media (max-width: 880px) {
  .audiences { grid-template-columns: 1fr; }
  .audience:first-child,
  .audience:last-child { padding-inline: var(--gutter); }
}

/* Werte */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.value__word {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  margin: 0 0 0.4em;
}
.value p { margin: 0; color: var(--muted); }
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }

/* Abschluss-Aufruf */
.cta { background: var(--mist); }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding-block: clamp(52px, 6vw, 84px);
}
.cta h2 { margin: 0 0 0.3em; }
.cta p { margin: 0; color: var(--muted); }

/* Berufsfeld-Seiten */
.roles-box { background: var(--mist); padding: clamp(28px, 3.5vw, 40px); }
.roles-box--white { background: var(--white); }
.roles-box h3 { font-size: 1.3125rem; margin-bottom: 1em; }
.roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.roles li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
}
.roles li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 13px; height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 13 L8 1.5 L14.5 13' fill='none' stroke='%23846A3C' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (min-width: 560px) and (max-width: 880px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.related { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.related a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}
.related a:hover { color: var(--gold-text); }
.related .icon { width: 34px; height: 34px; color: var(--gold-text); flex: none; }
.related-title { font-size: 1.5rem; }

/* Person / Ansprechpartner */
.monogram {
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.875rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 22px;
}
.person-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(28px, 3.5vw, 44px);
}
.person-card__label { font-size: 1rem; color: var(--gold-on-dark); margin: 0 0 4px; }
.person-card__name { font-family: var(--font-serif); font-size: 1.75rem; color: var(--white); margin: 0; line-height: 1.2; }
.person-card__role { margin: 4px 0 24px; color: rgba(255, 255, 255, 0.7); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  overflow-wrap: anywhere;
}
.contact-list .icon--ui { margin-top: 3px; color: var(--gold-on-dark); }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--gold-on-dark); text-decoration: underline; }

/* ---------- Kontaktformular ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 700; color: var(--ink); font-size: 1rem; }
.req { color: var(--gold-text); }
.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
}
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%2316222F' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}
.form .checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 400;
  color: var(--text);
}
.checkbox input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }
.form__submit { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__hint { margin: 0; font-size: 0.9375rem; color: var(--muted); flex: 1 1 260px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.alert {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--error);
  background: var(--error-bg);
  color: #5E1E15;
}
.alert[hidden], .alert [hidden] { display: none; }
.alert:focus { outline: none; }

.contact-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(28px, 3.5vw, 44px);
}
.contact-card h2 { color: var(--white); font-size: 1.75rem; margin: 0; }

/* ---------- Rechtstexte ---------- */

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.625rem; margin: 2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose a { overflow-wrap: anywhere; }
.prose .stand { margin-top: 3em; color: var(--muted); font-size: 1rem; }

/* ---------- Fußbereich ---------- */

.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); font-size: 1rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.8fr 1.1fr;
  gap: 40px;
  padding-block: 72px 56px;
}
.footer__logo { display: inline-block; margin-bottom: 24px; }
.footer__logo img { width: 260px; height: auto; }
.footer__about p { max-width: 26em; margin: 0; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
}
.footer__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.site-footer a:not(.btn) { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-on-dark); text-decoration: underline; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px; }
.hours dt { color: var(--white); }
.hours dd { margin: 0; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer__contact .icon--ui { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-on-dark); }
.footer__btn { margin-top: 24px; }
.footer__bottom-wrap { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  font-size: 0.9375rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; padding-block: 56px 40px; } }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .emblem--animate .emblem-line { animation: none; stroke-dashoffset: 0; }
  .emblem--animate .emblem-fill { animation: none; opacity: 1; }
  .emblem--animate .emblem-bar { animation: none; transform: none; }
}

/* ---------- Druck ---------- */

@media print {
  .site-header, .nav, .hero__tabs, .cta, .site-footer .btn { display: none !important; }
  .hero, .page-hero, .section--navy, .site-footer { background: none !important; color: #000 !important; }
  .hero__title, .page-hero h1 { color: #000 !important; }
}
