/* =========================================================
   caspar company – Website 2026
   Farben, Schriften und Abstände aus Figma (Designsystem)
   ========================================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Ersatz für "Adobe Clean" (nicht für Webnutzung lizenziert) */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d0043c;
  --navy: #001b31;
  --blue: #004379;
  --grey: #5c5c5c;
  --grey-dark: #333333;
  --grey-light: #ededed;
  --bg: #fdfdfd;
  --white: #ffffff;
  --teams: #5855a1;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1354px;
  --gutter: clamp(16px, 3vw, 43px);
  --section-space: clamp(72px, 8vw, 120px);
  --radius-card: 15px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; }

.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; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0;
}

.h2 {
  font-size: clamp(36px, 4.45vw, 64px);
  line-height: 1;
  color: var(--navy);
}

.lead {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.22;
  color: var(--grey-dark);
  max-width: 501px;
}

.section-head { display: flex; flex-direction: column; gap: 24px; }
.section-head .lead { margin-top: 8px; }

/* ---------- Buttons ---------- */
.arrow { width: 18px; height: 14px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 314px;
  max-width: 100%;
  min-height: 59px;
  padding: 0 27px 0 25px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #b10333; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: #003562; }
.btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline:hover { background: var(--red); color: var(--white); }
.btn--teams { background: transparent; color: var(--teams); border-color: var(--teams); }
.btn--teams:hover { background: var(--teams); color: var(--white); }

.btn-long {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  padding: 16px 34px 16px 36px;
  border-radius: 40px;
  color: #fdfdfd;
  transition: background-color .2s;
}
.btn-long__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(17px, 1.55vw, 22px); }
.btn-long__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-head);
  font-size: clamp(16px, 1.4vw, 20px);
  white-space: nowrap;
}
.btn-long .arrow { width: 22px; height: 16px; transition: transform .2s; }
.btn-long:hover .arrow { transform: translateX(4px); }
.btn-long--red { background: var(--red); }
.btn-long--red:hover { background: #b10333; }
.btn-long--blue { background: var(--blue); }
.btn-long--blue:hover { background: #003562; }

.btn-row { display: flex; justify-content: flex-end; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 253, 253, .96);
  backdrop-filter: saturate(1.2) blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cfcfcf;
  transition: padding .2s;
}
.site-header.is-scrolled .site-header__inner { padding-top: 16px; padding-bottom: 14px; }
.site-header__logo img { width: 249px; height: auto; mix-blend-mode: multiply; }

.main-nav ul {
  display: flex;
  gap: clamp(20px, 2.2vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
  transition: color .15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--red); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 48px;
  height: 5px;
  margin: 7px 0;
  border-radius: 3px;
  background: var(--navy);
  transition: transform .25s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 85px); }
.hero__grid { position: relative; }
.hero__text { display: flex; flex-direction: column; gap: 24px; max-width: 1103px; position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(52px, 9.03vw, 130px);
  line-height: .96;
  letter-spacing: .02em;
  color: var(--navy);
}
.hero__lead {
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.22;
  color: var(--navy);
  max-width: 1080px;
}
.hero__image {
  position: absolute;
  top: 52px;
  right: -8px;
  width: clamp(240px, 31.5vw, 454px);
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 27px; margin-top: 48px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 32px;
  max-width: 1150px;
  margin: 72px auto 0;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 3.75vw, 54px);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 17px; font-size: 20px; color: var(--grey); }

/* ---------- Logo-Band ---------- */
.logo-band {
  margin-top: 67px;
  background: var(--grey-light);
  height: 153px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.logo-band__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding-left: 64px;
  animation: marquee 40s linear infinite;
}
.logo-band:hover .logo-band__track { animation-play-state: paused; }
.logo-band__track img { max-width: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-band__track { animation: none; }
}

/* ---------- Leistungen ---------- */
.services { padding-top: 96px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 65px;
}
.service-card {
  background: var(--grey-light);
  border-radius: var(--radius-card);
  padding: 18px 26px 26px;
  min-height: 221px;
  display: flex;
  flex-direction: column;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.service-card__icon { height: 60px; display: flex; align-items: center; }
.service-card__icon img { max-height: 60px; width: auto; transition: filter .3s ease; }
.service-card h3 {
  margin-top: 19px;
  font-size: clamp(20px, 1.65vw, 23.7px);
  line-height: 1.17;
  color: var(--navy);
  transition: color .3s ease;
}
.service-card p { margin-top: 19px; font-size: 17px; line-height: 1.22; color: var(--navy); max-width: 361px; transition: color .3s ease; }

/* Beim Drueberfahren wird die Karte rot, Schrift und Icon weiss */
@media (hover: hover) {
  .service-card:hover {
    background: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(208, 4, 60, .22);
  }
  .service-card:hover h3,
  .service-card:hover p { color: var(--white); }
  .service-card:hover .service-card__icon img { filter: brightness(0) invert(1); }
}

/* ---------- Referenzen ---------- */
.references { padding-top: var(--section-space); }
.references__head { display: flex; flex-direction: column; gap: 22px; }
.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 542px));
  justify-content: center;
  gap: 95px;
  margin-top: 72px;
}
.case-card {
  position: relative;
  display: block;
  border-radius: 27.6px;
  overflow: hidden;
  background: var(--grey-light);
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 27, 49, .12); }
.case-card__img { position: relative; aspect-ratio: 542 / 260; overflow: hidden; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(237, 237, 237, 0) 45%, var(--grey-light) 100%);
}
.case-card__body { padding: 22px 24px 46px; text-align: center; position: relative; }
.case-card__title { font-size: clamp(24px, 2.2vw, 31.4px); color: var(--navy); text-transform: uppercase; }
.case-card__sub { margin-top: 13px; font-family: var(--font-head); font-size: 18px; color: var(--grey); }
.case-card__arrow { position: absolute; right: 30px; bottom: 50px; width: 15px; height: 15px; color: var(--navy); }

.testimonial {
  margin: 55px auto 0;
  max-width: 1179px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  padding: 36px 102px 36px 120px;
  display: grid;
  grid-template-columns: 186px 1fr;
  gap: 60px;
  align-items: center;
}
.testimonial__author img { width: 169px; height: auto; }
.testimonial__name { margin-top: 32px; font-weight: 700; font-size: 16px; }
.testimonial__role { margin-top: 20px; font-size: 16px; line-height: 1; }
.testimonial blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  text-align: right;
}
.testimonial blockquote::before,
.testimonial blockquote::after { font-weight: 700; font-size: 36px; line-height: 0; position: relative; top: 10px; }
.testimonial blockquote::before { content: "\201C"; margin-right: 4px; top: 16px; }
.testimonial blockquote::after { content: "\201D"; display: block; margin-top: 26px; }
.references .btn-row { margin-top: 64px; }

/* ---------- Ablauf (dunkel) ---------- */
.process {
  margin-top: var(--section-space);
  background: var(--navy);
  color: var(--white);
  padding: 154px 0 65px;
}
.process .h2 { color: var(--white); }
.process .lead { color: var(--white); max-width: 700px; }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 60px;
  margin: 100px 0 99px;
  list-style: none;
  padding: 0;
}
.process__num { font-family: var(--font-head); font-weight: 800; font-size: 38px; color: var(--red); line-height: 1.26; }
.process__title { margin-top: 14px; font-size: 30px; line-height: 1.26; }
.process__text { margin-top: 13px; font-size: 20px; line-height: 1.2; max-width: 217px; }

/* ---------- Team ---------- */
.team { padding-top: 64px; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 48px;
  max-width: 1200px;
  margin: 64px 0 0 auto;
  list-style: none;
  padding: 0;
}
.person { text-align: center; }
.person img { width: 159px; height: 159px; margin: 0 auto; border-radius: 50%; object-fit: cover; }
.person__name { margin-top: 13px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--navy); }
.person__role { margin-top: 7px; font-family: var(--font-head); font-size: 13px; color: var(--grey); }
.team .btn-long { margin-top: 64px; }

/* ---------- Kontakt ---------- */
.contact { padding: var(--section-space) 0 70px; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 468px) minmax(0, 849px);
  justify-content: space-between;
  gap: 40px;
}
.contact__eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--red); text-transform: uppercase; }
.contact .h2 { margin-top: 20px; }
.contact__text { margin-top: 24px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; color: var(--grey-dark); }
.contact__mail { display: inline-block; margin-top: 34px; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 1.9vw, 27px); color: var(--navy); }
.contact__phone { display: block; margin-top: 6px; font-family: var(--font-head); font-size: clamp(18px, 1.55vw, 22px); color: var(--navy); }
.contact__mail:hover, .contact__phone:hover { color: var(--red); }
.contact__buttons { display: flex; flex-direction: column; gap: 24px; margin-top: 56px; }
.contact__buttons small { display: block; width: 314px; max-width: 100%; margin-top: 10px; text-align: center; font-size: 16px; color: var(--grey); }
.contact__buttons small.contact__hint { margin-top: 4px; font-size: 14px; }
.contact__hint a { color: var(--blue); text-decoration: underline; }
.contact__buttons small[hidden] { display: none; }

.form-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 30px 40px 28px;
  color: var(--white);
  position: relative;
}
.form-panel h3 { font-size: 28px; color: var(--white); }
.form-grid {
  display: grid;
  grid-template-columns: 280px 280px;
  gap: 12px 24px;
  margin-top: 30px;
}
.field { display: flex; flex-direction: column; gap: 12px; }
.field--wide { grid-column: 1 / -1; }
.field--select { grid-column: 1 / -1; max-width: 587px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 49px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font: 16px/1.3 var(--font-body);
  padding: 0 16px;
  transition: border-color .15s;
}
.field textarea { height: 95px; padding: 12px 16px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding-right: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M1.5 1.5 9 9l7.5-7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 17px 11px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--red); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }

.consent { display: flex; align-items: center; gap: 12px; margin-top: 72px; font-family: var(--font-head); font-size: 14px; }
.consent input { width: 17px; height: 17px; margin: 0; accent-color: var(--red); flex: none; }
.consent a { text-decoration: underline; }
.form-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 49px; }
.form-panel .required-note { font-family: var(--font-head); font-size: 12px; }
.form-status { margin-top: 16px; font-size: 16px; min-height: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey-light); padding: 34px 0 44px; color: var(--grey); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: start;
}
.site-footer__brand { padding-left: 52px; }
.site-footer__brand img { width: 260px; mix-blend-mode: multiply; }
.site-footer__brand address { margin-top: 30px; padding-left: 27px; font-style: normal; font-size: 16px; }
.site-footer h4 { font-size: 16px; font-weight: 700; color: var(--grey-dark); }
.site-footer__col { padding-top: 6px; }
.site-footer__col p, .site-footer__col nav { margin-top: 14px; font-size: 13px; }
.site-footer__col nav + nav { margin-top: 12px; }
.site-footer a:hover { color: var(--red); }
.site-footer__col .site-footer__copy { margin-top: 18px; font-size: 12px; }
.site-footer__social { display: flex; gap: 8px; margin-top: 8px; }
.site-footer__social img { width: 24px; height: 24px; }
.site-footer__col .site-footer__legal { margin-top: 12px; font-size: 11px; display: flex; gap: 4px; }
.site-footer__right { padding-right: 172px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .cases { gap: 48px; }
  .testimonial { padding: 36px 56px; }
  .team__grid { grid-template-columns: repeat(4, 1fr); margin-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .site-footer__right { padding-right: 0; }
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: var(--header-h, 100px);
    background: var(--bg);
    padding: 40px var(--gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  /* Der Weichzeichner der Kopfzeile wuerde das Menue auf die Hoehe der Kopfzeile begrenzen */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .main-nav { overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 24px; }
  .main-nav a { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--navy); }
  .nav-toggle { display: block; }
  .nav-open { overflow: hidden; }

  .hero__image { position: static; width: min(60%, 380px); margin: 12px 0 0 auto; order: -1; }
  .hero__grid { display: flex; flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial { grid-template-columns: 1fr; gap: 28px; }
  .testimonial blockquote { text-align: left; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { padding-left: 0; grid-column: 1 / -1; }
  .site-footer__brand address { padding-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .site-header__inner { padding-top: 48px; padding-bottom: 18px; border-bottom: 0; }
  .site-header.is-scrolled .site-header__inner { padding-top: 14px; }
  .site-header__logo img { width: 150px; }
  .nav-toggle span { width: 46px; height: 4px; }

  .hero { padding-top: 16px; }
  .hero__image { display: none; }
  .hero__text { gap: 18px; }
  .hero__title { font-size: clamp(38px, 11.2vw, 60px); letter-spacing: .01em; }
  .hero__lead { font-size: 22px; }
  .hero__actions { flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
  .hero__actions .btn:first-child { order: 2; }
  .stats { gap: 28px 12px; margin-top: 48px; }
  .stat__label { margin-top: 8px; font-size: 16px; }

  .logo-band { height: 68px; margin-top: 48px; }
  .logo-band__track { gap: 40px; }
  .logo-band__track li { zoom: .68; }

  .services { padding-top: 48px; }
  .services__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }

  .cases { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: 18px; }
  .references .btn-row { justify-content: center; margin-top: 40px; }

  .process { padding: 72px 0; }
  .process__steps { grid-template-columns: 1fr; gap: 36px; margin: 48px 0; }
  .process__text { max-width: none; }

  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; margin-top: 40px; }
  .person img { width: 140px; height: 140px; }

  .btn-long { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 24px; border-radius: 32px; }
  .btn-long__cta { margin-left: 0; gap: 16px; }

  .contact__buttons { align-items: center; }
  .form-panel { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--select { max-width: none; }
  .consent { margin-top: 32px; align-items: flex-start; }
  .form-footer { flex-direction: column-reverse; align-items: stretch; }
  .form-footer .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer__brand img { margin: 0 auto; width: 220px; }
  .site-footer__social, .site-footer__legal { justify-content: center; }
}

/* ---------- Termin-Overlay (Microsoft Bookings) ---------- */
.booking-dialog {
  width: min(960px, calc(100vw - 32px));
  height: min(820px, calc(100vh - 48px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 24px 60px rgba(0, 27, 49, .35);
  overflow: hidden;
}
.booking-dialog[open] { display: flex; flex-direction: column; }
.booking-dialog::backdrop { background: rgba(0, 27, 49, .6); }
.booking-dialog__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 16px 28px;
  background: var(--navy); color: var(--white);
}
.booking-dialog__title { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.booking-dialog__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--white); font-size: 30px; line-height: 1; cursor: pointer;
}
.booking-dialog__close:hover { background: rgba(255, 255, 255, .12); }
.booking-dialog__body { position: relative; flex: 1; }
.booking-dialog__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.booking-dialog__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--grey); }
.booking-dialog__note { padding: 10px 20px; font-size: 14px; color: var(--grey); border-top: 1px solid var(--grey-light); }
.booking-dialog__note a { color: var(--blue); text-decoration: underline; }

/* ---------- Logo-Karussell (Liste) ---------- */
ul.logo-band__track { list-style: none; margin: 0; padding-top: 0; padding-bottom: 0; }
.logo-band__track li { flex: none; }

/* ---------- Referenzen-Slider ---------- */
.quotes { margin: 55px auto 0; max-width: 1179px; }
.quotes__viewport { display: grid; }
.quotes .testimonial {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.quotes .testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .6s ease, transform .6s ease, visibility 0s;
}
.quotes .testimonial.is-leaving { transform: translateX(-16px); }
@media (max-width: 760px) {
  /* am Handy nur ueberblenden, sonst ragt die naechste Karte seitlich raus */
  .quotes .testimonial, .quotes .testimonial.is-leaving { transform: none; }
}
.testimonial__logo--round { width: 88px !important; border-radius: 50%; }
.testimonial__logo--box { width: 113px !important; }
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.quotes__dots { display: flex; gap: 10px; }
.quotes__dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px;
  background: #c9c9c9; cursor: pointer; transition: width .3s, background-color .3s;
}
.quotes__dots button[aria-selected="true"] { width: 28px; background: var(--navy); }
.quotes__arrow {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.5px solid var(--navy); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.quotes__arrow:hover { background: var(--navy); color: var(--white); }
.quotes__arrow svg { width: 16px; height: 12px; }
.quotes__arrow[data-prev] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .quotes .testimonial { transition: none; transform: none; }
}


/* ---------- Schwebender Termin-Button ---------- */
.floating-cta {
  position: fixed;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 10px 28px rgba(0, 27, 49, .28);
  transition: background-color .2s, opacity .3s ease, transform .3s ease, visibility 0s;
}
.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.nav-open .floating-cta { opacity: 0; visibility: hidden; }
@media (max-width: 760px) {
  .floating-cta {
    right: 50%;
    transform: translateX(50%);
    width: min(314px, calc(100vw - 32px));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .floating-cta.is-hidden { transform: translate(50%, 16px); }
}
@media print { .floating-cta { display: none; } }

/* ---------- Eigener Mauszeiger ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type=checkbox]):not([type=file]), .has-cursor textarea { cursor: text !important; }
.has-cursor .booking-dialog, .has-cursor .booking-dialog * { cursor: auto !important; }
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  will-change: transform;
}
.cursor__dot {
  display: block;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--red);
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}
.cursor-on .cursor { opacity: 1; }
.cursor-hover .cursor__dot { transform: scale(2.6); opacity: .35; }
.cursor-light .cursor__dot { background: var(--white); }
.cursor-down .cursor__dot { transform: scale(.7); }
.cursor-hover.cursor-down .cursor__dot { transform: scale(2.2); }
.cursor-text .cursor { opacity: 0; }

/* ---------- Use-Case-Fenster ---------- */
.case-dialog {
  /* Das Dialog-Element selbst fuellt den Bildschirm, das Panel darin scrollt */
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 32px var(--gutter);
  border: 0;
  background: transparent;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.case-dialog::backdrop { background: rgba(0, 27, 49, .72); backdrop-filter: blur(3px); }
.case-dialog[open] { display: flex; align-items: flex-start; justify-content: center; }
.case-dialog__panel {
  position: relative;
  width: 100%;
  max-width: 1346px;
  margin: auto;
  background: var(--bg);
  border-radius: 24px;
  padding: 56px 56px 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.case-dialog[open] .case-dialog__panel { animation: case-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes case-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.case-dialog .case { animation: case-fade .35s ease; }
@keyframes case-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .case-dialog[open] .case-dialog__panel, .case-dialog .case { animation: none; }
}
html:has(.case-dialog[open]) { overflow: hidden; }

.case-dialog__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--grey-light);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.case-dialog__close:hover { background: var(--navy); color: var(--white); }
.case-dialog__close svg { width: 22px; height: 22px; }

.case__title {
  font-weight: 400;
  font-size: clamp(32px, 4vw, 57px);
  line-height: 1.05;
  color: var(--navy);
  padding-right: 56px;
}
.case__title strong { font-weight: 800; }
.case__grid {
  display: grid;
  grid-template-columns: minmax(0, 811fr) minmax(0, 469fr);
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}
.case__image { margin: 32px 0 0; }
.case__image img { width: 100%; height: auto; border-radius: 6px; }
.case__text { display: flex; flex-direction: column; gap: 22px; color: var(--grey-dark); }
.case__text h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.02em; }
.case__text p { margin-top: 18px; font-size: 18px; line-height: 28px; }
.case-dialog__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 27px; margin-top: 56px; }

@media (max-width: 1024px) {
  .case__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .case__image { margin-top: 0; }
}
@media (max-width: 760px) {
  .case-dialog { padding: 0; }
  .case-dialog__panel { border-radius: 0; min-height: 100%; padding: 72px 20px 32px; }
  .case-dialog__close { top: 14px; right: 14px; }
  .case__title { padding-right: 0; }
  .case__text p { font-size: 17px; line-height: 26px; }
  .case-dialog__actions { flex-direction: column-reverse; align-items: center; gap: 16px; margin-top: 40px; }
}

/* =========================================================
   Unterseiten
   ========================================================= */
.page-intro { padding-top: clamp(40px, 6vw, 88px); }
.page-intro__eyebrow { display: none; }
.page-title {
  font-weight: 400;
  font-size: clamp(36px, 4vw, 57px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--navy);
}
.page-title strong { font-weight: 800; }

/* ---------- Agentur ---------- */
.about { padding: clamp(48px, 6.5vw, 92px) 0 64px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 793fr) minmax(0, 422fr);
  gap: 75px;
  align-items: start;
}
.about__image { margin: 8px 0 0 6px; }
.about__image img { width: 100%; height: auto; }
.about__text { color: var(--grey-dark); font-size: 18px; line-height: 28px; letter-spacing: -.01em; }
.about__actions { display: flex; justify-content: flex-end; margin-top: 64px; }
.about__actions .btn { margin-right: 77px; }

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__image { margin: 0; }
  .about__actions { justify-content: center; }
  .about__actions .btn { margin-right: 0; }
}
@media (max-width: 760px) {
  .page-intro { padding-top: 8px; }
  .page-intro__eyebrow { display: block; margin-bottom: 12px; }
  .page-title { font-size: clamp(30px, 8.5vw, 40px); font-weight: 800; }
  .page-title__suffix { display: none; }
  .about { padding-top: 20px; }
  .about__text { font-size: 16px; line-height: 26px; }
  .about__actions { margin-top: 48px; }
}

/* ---------- Karriere ---------- */
.btn--outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline-blue:hover { background: var(--blue); color: var(--white); }

.btn-long--outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-long--outline:hover { background: var(--blue); color: #fdfdfd; }
.btn-long--outline .btn-long__cta { font-weight: 400; }

.career-hero { padding-top: 42px; }
.career-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 414px);
  gap: 40px;
  align-items: start;
  max-width: 1312px;
  margin-inline: auto;
}
.career-hero__eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 13px; }
.career-hero__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.03vw, 58px);
  line-height: 1.26;
  color: var(--navy);
}
.career-hero__lead {
  margin-top: 43px;
  max-width: 551px;
  font-size: 22px;
  line-height: 1.23;
  color: var(--grey-dark);
}
.career-hero__art { width: 100%; height: auto; }

.jobs { padding: 46px 0 64px; }
.jobs__inner { max-width: 1312px; margin-inline: auto; }
.jobs__title { font-size: 36px; line-height: 1.26; color: var(--navy); }
.jobs__list { list-style: none; margin: 29px 0 0; padding: 0; display: grid; gap: 23px; }
.jobs__initiative { margin-top: 22px; }
.jobs__initiative .arrow--mob { display: none; }
.jobs__actions { display: flex; justify-content: flex-end; margin-top: 54px; }

@media (max-width: 1024px) {
  .career-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .nowrap-desk { display: block; }
}
@media (min-width: 1025px) { .nowrap-desk { white-space: nowrap; } }

@media (max-width: 760px) {
  .br-desk { display: none; }
  .career-hero { padding-top: 8px; }
  .career-hero__inner { display: block; }
  .career-hero__art { display: none; }
  .career-hero__eyebrow { font-family: var(--font-head); font-weight: 800; font-size: 16px; }
  .career-hero__title { margin-top: 24px; font-size: 36px; line-height: 38px; }
  .career-hero__lead { margin-top: 24px; }

  .jobs { padding: 56px 0 48px; }
  .jobs__title { font-size: clamp(32px, 9.5vw, 38px); line-height: 1.26; max-width: 320px; }
  .jobs__list { gap: 24px; margin-top: 32px; }

  .job-link {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 12px;
    min-height: 102px;
    padding: 20px 20px 20px 18px;
    border-radius: 27px;
  }
  .job-link .btn-long__title { font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.2; }
  .job-link .btn-long__cta { align-self: flex-end; gap: 12px; font-family: var(--font-body); font-weight: 700; font-size: 18px; }
  .job-link .arrow { width: 18px; height: 14px; }

  .jobs__initiative {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 24px;
    margin-top: 24px;
    padding: 18px 20px 20px 23px;
    border-radius: var(--radius-card);
  }
  .jobs__initiative .btn-long__title { font-size: 22px; line-height: 22px; }
  .jobs__initiative .btn-long__cta { justify-content: space-between; font-size: 22px; }
  .jobs__initiative .arrow--desk { display: none; }
  .jobs__initiative .arrow--mob { display: block; width: 17px; height: 17px; }
  .jobs__initiative:hover .arrow { transform: translate(2px, -2px); }

  .jobs__actions { display: none; }
}

/* ---------- Stellenanzeige ---------- */
.job-loading { padding: 140px var(--gutter); text-align: center; color: var(--grey); }
.job-wrap, .job-hero__inner, .job-body .container > * { max-width: 1312px; margin-inline: auto; }

.job-hero { padding-top: 42px; }
.job-hero__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.03vw, 58px);
  line-height: 1.26;
  color: var(--navy);
}
.job-hero__location {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: 22px; color: var(--grey);
}
.job-hero__pin { width: 25px; height: 25px; flex: none; color: var(--grey); }
.job-hero__apply { margin-top: 42px; }

.job-facts { margin-top: 40px; background: var(--grey-light); }
.job-facts__list {
  list-style: none; margin: 0; padding: 50px 0 49px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 50px;
}
.job-facts__item { display: flex; align-items: flex-start; gap: 20px; }
.job-facts__icon { width: 48px; height: 48px; flex: none; margin-top: 3px; color: var(--red); }
.job-facts__item p { display: flex; flex-direction: column; font-size: 22px; line-height: 1.24; color: var(--grey-dark); max-width: 190px; }
.job-facts__item strong { font-weight: 700; }

.job-body { padding: 64px 0 64px; }
.job-body .container > .job-body__inner { max-width: 1150px; margin-left: calc(max(0px, (100% - 1312px) / 2) + 1px); }
.job-body__inner { font-size: 22px; line-height: 1.24; color: var(--grey-dark); }
.job-body__subtitle { font-weight: 700; }
.job-body__block { margin-top: 27px; }
.job-body__heading { font-family: var(--font-body); font-weight: 700; font-size: inherit; line-height: inherit; color: inherit; }
.job-body__inner ul, .job-body__inner ol { margin: 0; padding-left: 1.5em; }
.job-body__inner li::marker { color: var(--grey-dark); }
.job-body__inner a { text-decoration: underline; text-underline-offset: 3px; }
.job-body__inner a:hover { color: var(--red); }
.job-body__privacy { margin-top: 54px; }
.job-body__privacy .job-body__heading { font-weight: 400; }

.job-actions { display: flex; justify-content: flex-end; gap: 27px; margin-top: 64px; }
.job-actions .btn:last-child { margin-right: 23px; }


/* Sprungziele nicht unter dem festen Header verstecken */
section[id], #contact-form { scroll-margin-top: calc(var(--header-h, 100px) + 16px); }

.field__label { font-family: var(--font-head); font-weight: 700; font-size: 15px; }

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

.job-missing { padding: 42px 0 96px; }
.job-missing__text { margin-top: 24px; max-width: 640px; font-size: 22px; color: var(--grey-dark); }
.job-missing__text a { text-decoration: underline; }
.job-missing__actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.jobs__empty { font-size: 20px; color: var(--grey-dark); }

@media (max-width: 1024px) {
  .job-facts__list { justify-content: flex-start; gap: 24px 40px; }
}
@media (max-width: 760px) {
  .job-hero { padding-top: 8px; }
  .job-hero__title { margin-top: 24px; font-size: 36px; line-height: 38px; }
  .job-hero__location { font-size: 18px; margin-top: 16px; }
  .job-hero__pin { width: 22px; height: 22px; }
  .job-hero__apply { display: none; }

  .job-facts { margin-top: 28px; }
  .job-facts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 24px 0; }
  .job-facts__item { gap: 10px; }
  .job-facts__icon { width: 30px; height: 30px; margin-top: 1px; }
  .job-facts__item p { font-size: 16px; }

  .job-body { padding-top: 32px; }
  .job-body__inner { font-family: var(--font-head); font-size: 16px; line-height: 1.3; }
  .job-body__heading, .job-body__subtitle { font-family: var(--font-head); font-weight: 800; }
  .job-body__block { margin-top: 20px; }
  .job-body__privacy { margin-top: 40px; }

  .job-actions { flex-direction: column-reverse; align-items: center; gap: 27px; margin-top: 48px; }
  .job-actions .btn:last-child { margin-right: 0; }


  .job-missing { padding-top: 8px; }
  .job-missing__text { font-size: 18px; }
  .job-missing__actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Cookie-Banner ---------- */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 20px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 48px rgba(0, 27, 49, .28);
}
.cookie[hidden] { display: none; }
.cookie__title { font-size: 22px; line-height: 1.2; }
.cookie__text { margin-top: 12px; font-size: 16px; line-height: 1.4; color: var(--grey-dark); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.cookie__actions .btn { width: 100%; min-height: 50px; padding: 0 14px; justify-content: center; font-size: 16px; }
.cookie__actions .btn[hidden] { display: none; }
.cookie__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 14px; }
.cookie__link {
  padding: 0; border: 0; background: none;
  font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.cookie__link[hidden] { display: none; }
.cookie__link:hover { color: var(--red); }

.cookie__cats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.cookie__cat { padding-top: 14px; border-top: 1px solid var(--grey-light); }
.cookie__switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.cookie__switch input { position: absolute; opacity: 0; width: 40px; height: 22px; margin: 0; cursor: pointer; }
.cookie__track {
  position: relative; flex: none; width: 40px; height: 22px; border-radius: 99px;
  background: #c9c9c9; transition: background-color .2s;
}
.cookie__track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.cookie__switch input:checked + .cookie__track { background: var(--red); }
.cookie__switch input:checked + .cookie__track::after { transform: translateX(18px); }
.cookie__switch input:focus-visible + .cookie__track { outline: 3px solid var(--blue); outline-offset: 2px; }
.cookie__switch.is-locked { cursor: default; }
.cookie__switch.is-locked input:checked + .cookie__track { background: #8c99a5; }
.cookie__cat-title small { margin-left: 6px; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--grey); }
.cookie__cat-text { margin-top: 6px; padding-left: 52px; font-size: 14px; line-height: 1.4; color: var(--grey); }

/* waehrend der Banner offen ist, keinen zweiten schwebenden Button zeigen */
.cookie-open .floating-cta { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }

@media (max-width: 760px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); padding: 22px 20px 16px; }
  .cookie__title { font-size: 20px; }
  .cookie__text { font-size: 15px; }
}
@media (max-width: 360px) {
  .cookie__actions { grid-template-columns: 1fr; }
}

/* Termin-Fenster: erst fragen, dann Kalender laden */
.booking-dialog__consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 32px; text-align: center; overflow: auto;
}
.booking-dialog__consent p { max-width: 520px; font-size: 16px; line-height: 1.45; color: var(--grey-dark); }
.booking-dialog__consent .booking-dialog__consent-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); }
.booking-dialog__consent a { color: var(--blue); text-decoration: underline; }
/* eigener Mauszeiger nicht hinter dem Termin-Fenster haengen lassen */
html:has(.booking-dialog[open]) .cursor { display: none; }

/* ---------- Impressum und Datenschutz ---------- */
.legal { padding: 42px 0 96px; }
.legal__inner { max-width: 1312px; margin-inline: auto; }
.legal__title { margin-top: 18px; font-size: clamp(36px, 4.03vw, 58px); line-height: 1.26; color: var(--navy); }
.legal__body { max-width: 860px; margin-top: 32px; font-size: 18px; line-height: 1.6; color: var(--grey-dark); }
.legal__body h2 { margin-top: 44px; font-size: 22px; line-height: 1.3; color: var(--navy); scroll-margin-top: calc(var(--header-h, 100px) + 16px); }
.legal__body h2 + p, .legal__body h2 + address, .legal__body h2 + ul { margin-top: 10px; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p, .legal__body address + p, .legal__body p + address { margin-top: 14px; }
.legal__body address { font-style: normal; }
.legal__body ul { margin: 0; padding-left: 1.3em; }
.legal__body li + li { margin-top: 4px; }
.legal__body a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__body a:not(.btn):hover { color: var(--red); }
.legal__lead { font-size: 20px; line-height: 1.5; }
.legal__toc { margin-top: 32px; padding: 24px 28px; background: var(--grey-light); border-radius: var(--radius-card); }
.legal__toc-title { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--navy); }
.legal__toc ol { margin: 10px 0 0; padding-left: 1.4em; columns: 2; column-gap: 40px; font-size: 16px; }
.legal__toc li { break-inside: avoid; }
.legal__box { padding: 18px 22px; border-left: 4px solid var(--red); background: #fff; box-shadow: 0 2px 12px rgba(0, 27, 49, .08); border-radius: 4px; }
.legal__cookie-btn { margin-top: 4px; }
.legal__date { margin-top: 40px !important; font-size: 15px; color: var(--grey); }
.site-footer__legal a[aria-current="page"] { color: var(--red); }

@media (max-width: 760px) {
  .legal { padding: 8px 0 64px; }
  .legal__title { margin-top: 24px; font-size: clamp(30px, 8.5vw, 36px); line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
  .legal__body { font-size: 16px; }
  .legal__body h2 { margin-top: 36px; font-size: 19px; }
  .legal__lead { font-size: 17px; }
  .legal__toc { padding: 20px; }
  .legal__toc ol { columns: 1; font-size: 15px; }
}

/* ---------- Bewerbungsportal (Fenster mit 3 Schritten) ---------- */
html:has(.apply-dialog[open]) { overflow: hidden; }
html:has(.apply-dialog[open]) .cursor { display: none; }
.has-cursor .apply-dialog, .has-cursor .apply-dialog * { cursor: auto !important; }
.has-cursor .apply-dialog :is(button, a, .file-drop, .file-drop input, input[type=checkbox], .apply-consent) { cursor: pointer !important; }
.has-cursor .apply-dialog :is(input[type=text], input[type=email], input[type=tel], textarea) { cursor: text !important; }

.apply-dialog {
  width: min(1040px, calc(100vw - 32px));
  height: min(780px, calc(100dvh - 32px));
  max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 20px;
  background: var(--white); color: var(--navy);
  box-shadow: 0 30px 80px rgba(0, 27, 49, .4);
  overflow: hidden;
}
.apply-dialog::backdrop { background: rgba(0, 27, 49, .62); backdrop-filter: blur(3px); }
.apply-dialog[open] { display: block; animation: apply-in .25s ease-out; }
@keyframes apply-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.apply-dialog__form { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: 100%; }

/* linke Spalte */
.apply-side {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 40px 32px 30px;
  background: var(--navy); color: var(--white);
}
.apply-side::after {
  content: ""; position: absolute; right: -130px; bottom: -130px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 44px solid rgba(208, 4, 60, .22);
  pointer-events: none;
}
.apply-side__label { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.apply-side__job { margin-top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.2; overflow-wrap: anywhere; }
.apply-side__meta { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 16px; color: rgba(255, 255, 255, .75); }
.apply-side__meta svg { width: 20px; height: 20px; color: currentColor; }

.apply-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 6px; }
.apply-steps__item {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 8px 0; font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: rgba(255, 255, 255, .5); transition: color .2s;
}
.apply-steps__item:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 46px; width: 2px; height: 14px;
  background: rgba(255, 255, 255, .18);
}
.apply-steps__num {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  font-size: 15px; transition: background-color .2s, border-color .2s;
}
.apply-steps__num svg { display: none; width: 18px; height: 18px; }
.apply-steps__item.is-active { color: var(--white); }
.apply-steps__item.is-active .apply-steps__num { background: var(--red); border-color: var(--red); }
.apply-steps__item.is-done { color: rgba(255, 255, 255, .85); }
.apply-steps__item.is-done .apply-steps__num { background: rgba(255, 255, 255, .14); border-color: transparent; }
.apply-steps__item.is-done .apply-steps__num span { display: none; }
.apply-steps__item.is-done .apply-steps__num svg { display: block; }

.apply-side__foot { position: relative; z-index: 1; margin-top: auto; display: grid; gap: 18px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.apply-side__trust { display: flex; gap: 10px; }
.apply-side__trust svg { flex: none; width: 20px; height: 20px; color: var(--white); }
.apply-side__help a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* rechte Spalte */
.apply-main { position: relative; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.apply-progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grey-light); }
.apply-progress__bar { display: block; height: 100%; width: 17%; background: var(--red); border-radius: 0 4px 4px 0; transition: width .35s ease; }
.apply-main__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0 48px; }
.apply-main__count { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--grey); }
.apply-main__close {
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; color: var(--navy); font-size: 32px; line-height: 1;
}
.apply-main__close:hover { background: var(--grey-light); }
.apply-main__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 14px 48px 28px; }

.apply-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.apply-step[hidden] { display: none; }
.apply-step__title { font-size: 30px; line-height: 1.2; color: var(--navy); outline: none; }
.apply-step__intro { margin-top: 10px; max-width: 580px; font-size: 17px; line-height: 1.45; color: var(--grey-dark); }
.apply-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.apply-step > .field { margin-top: 28px; }
.apply-step > .field + .field { margin-top: 24px; }

.apply-dialog .field { gap: 8px; }
.apply-dialog .field label, .apply-dialog .field__label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); }
.field__opt { margin-left: 4px; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--grey); }
.apply-dialog .field input:not([type=file]),
.apply-dialog .field textarea {
  height: 52px;
  border: 2px solid #e1e5ea; border-radius: 10px;
  background: #f5f6f8; color: var(--navy);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.apply-dialog .field textarea { height: auto; min-height: 112px; padding: 12px 16px; }
.apply-dialog .field input::placeholder, .apply-dialog .field textarea::placeholder { color: #9aa3ad; }
.apply-dialog .field input:not([type=file]):focus,
.apply-dialog .field textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 67, 121, .12); }
.apply-dialog .field.has-error input:not([type=file]),
.apply-dialog .field.has-error textarea { border-color: var(--red); background: #fff6f8; }
.field__msg { font-family: var(--font-body); font-size: 14px; color: var(--red); }
.field__msg:empty { display: none; }

/* Upload */
.file-drop {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  min-height: 108px; padding: 20px 24px;
  border: 2px dashed #c3ccd6; border-radius: 14px;
  background: #f8f9fb;
  transition: border-color .15s, background-color .15s, min-height .2s;
}
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.file-drop__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(208, 4, 60, .1); color: var(--red); transition: width .2s, height .2s; }
.file-drop__icon svg { width: 24px; height: 24px; }
.file-drop__text { display: flex; flex-direction: column; gap: 4px; }
.file-drop__text strong { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); }
.file-drop__text small { font-size: 14px; color: var(--grey); }
.file-drop:hover, .file-drop.is-drag { border-color: var(--blue); background: #eef4fa; }
.file-drop:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.file-drop.is-compact { min-height: 62px; padding: 10px 18px; }
.file-drop.is-compact .file-drop__icon { width: 36px; height: 36px; }
.file-drop.is-compact small { display: none; }
.file-drop.is-disabled { opacity: .5; }
.file-drop.is-disabled:hover { border-color: #c3ccd6; background: #f8f9fb; }
.field.has-error .file-drop { border-color: var(--red); background: #fff6f8; }

.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list:not(:empty) { margin-top: 10px; }
.file-card { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px; border: 1px solid #e1e5ea; border-radius: 10px; background: var(--white); animation: apply-in .2s ease-out; }
.file-card__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 11px; }
.file-card__meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.file-card__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy); }
.file-card__size { font-size: 13px; color: var(--grey); }
.file-card__remove { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--grey-light); color: var(--navy); font-size: 20px; line-height: 1; }
.file-card__remove:hover { background: var(--red); color: var(--white); }

/* Zusammenfassung und Einwilligung */
.apply-summary__title { margin-top: 30px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); }
.apply-summary { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 16px; margin: 10px 0 0; padding: 16px 20px; border-radius: 12px; background: #f5f6f8; font-size: 15px; }
.apply-summary dt { color: var(--grey); }
.apply-summary dd { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--navy); overflow-wrap: anywhere; }
.apply-summary__edit { flex: none; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.apply-summary__edit:hover { color: var(--red); }
.apply-consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 22px; font-size: 15px; line-height: 1.45; color: var(--grey-dark); }
.apply-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.apply-consent > span { flex: 1; min-width: 0; }
.apply-consent a { color: var(--blue); text-decoration: underline; }
.apply-consent .field__msg { flex-basis: 100%; padding-left: 32px; }
.apply-consent.has-error input { outline: 2px solid var(--red); outline-offset: 2px; }
.apply-dialog .form-status { margin-top: 16px; min-height: 0; font-size: 15px; color: var(--red); }
.apply-dialog .form-status:empty { display: none; }

/* Fuss mit Buttons */
.apply-main__foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 16px 48px 20px; border-top: 1px solid #eceff2; background: var(--white); }
.apply-main__foot[hidden] { display: none; }
.apply-back { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; padding: 10px 4px; border: 0; background: none; font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--navy); }
.apply-back .arrow { transform: rotate(180deg); transition: transform .2s; }
.apply-back:hover { color: var(--red); }
.apply-back:hover .arrow { transform: rotate(180deg) translateX(4px); }
.apply-back[hidden], .apply-main__next[hidden] { display: none; }
.apply-main__next { width: auto; min-width: 230px; }
.apply-main__next.is-loading { opacity: .75; pointer-events: none; }
.apply-main__next.is-loading .arrow { display: none; }
.apply-main__next.is-loading::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: var(--white);
  animation: apply-spin .8s linear infinite;
}
@keyframes apply-spin { to { transform: rotate(360deg); } }

/* Danke-Ansicht */
.apply-done { max-width: 560px; margin: 18px auto 0; text-align: center; outline: none; }
.apply-done[hidden] { display: none; }
.apply-done__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: var(--white); animation: apply-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.apply-done__icon svg { width: 38px; height: 38px; }
@keyframes apply-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.apply-done__title { margin-top: 20px; font-size: 32px; line-height: 1.2; color: var(--navy); }
.apply-done__text { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--grey-dark); }
.apply-done__next-title { margin-top: 30px; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.apply-done__next { list-style: none; counter-reset: next; display: grid; gap: 14px; margin: 14px 0 0; padding: 0; text-align: left; }
.apply-done__next li { position: relative; padding-left: 46px; font-size: 16px; line-height: 1.45; color: var(--grey-dark); counter-increment: next; }
.apply-done__next li::before {
  content: counter(next); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--grey-light); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 14px;
}
.apply-done__next strong { display: block; color: var(--navy); }
.apply-done__preview { margin-top: 20px; font-size: 14px; font-style: italic; color: var(--grey); }
.apply-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.apply-done__actions .btn { width: auto; min-width: 210px; }

/* Abbrechen-Abfrage */
.apply-leave { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(3px); }
.apply-leave[hidden] { display: none; }
.apply-leave__box { max-width: 420px; padding: 28px 30px; border-radius: 16px; background: var(--white); text-align: center; box-shadow: 0 20px 50px rgba(0, 27, 49, .25); }
.apply-leave__title { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); }
.apply-leave__box p:not(.apply-leave__title) { margin-top: 8px; font-size: 16px; color: var(--grey-dark); }
.apply-leave__actions { display: grid; gap: 10px; margin-top: 22px; }
.apply-leave__actions .btn { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .apply-dialog__form { grid-template-columns: 260px minmax(0, 1fr); }
  .apply-side { padding: 32px 24px 24px; }
  .apply-main__body { padding: 14px 32px 24px; }
  .apply-main__head { padding-left: 32px; }
  .apply-main__foot { padding: 14px 32px 18px; }
}
@media (max-width: 760px) {
  .apply-dialog { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; border-radius: 0; }
  .apply-dialog__form { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .apply-side { padding: 16px 20px; }
  .apply-side::after { width: 140px; height: 140px; right: -60px; bottom: -80px; border-width: 24px; }
  .apply-side__label { font-size: 11px; }
  .apply-side__job { margin-top: 4px; font-size: 19px; }
  .apply-side__meta { margin-top: 4px; font-size: 14px; }
  .apply-side__meta svg { width: 16px; height: 16px; }
  .apply-steps, .apply-side__foot { display: none; }
  .apply-main__head { padding: 10px 10px 0 20px; }
  .apply-main__body { padding: 10px 20px 24px; }
  .apply-step__title { font-size: 24px; }
  .apply-step__intro { font-size: 16px; }
  .apply-fields { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .file-drop { min-height: 92px; padding: 16px; }
  .apply-summary { grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; }
  .apply-summary dt { margin-top: 8px; font-size: 13px; }
  .apply-summary dt:first-child { margin-top: 0; }
  .apply-main__foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
  .apply-main__next { flex: 1; min-width: 0; gap: 12px; padding: 0 20px; white-space: nowrap; font-size: 16px; }
  .apply-done__title { font-size: 26px; }
  .apply-done__actions .btn { width: 100%; }
}
html:has(.apply-dialog[open]) .floating-cta { opacity: 0 !important; visibility: hidden !important; }

/* ---------- Abgleich mit Figma (07.11.2026) ---------- */
/* Kontakt: Formular endet mit Abstand ueber dem Footer, Text beginnt etwas hoeher */
.contact { position: relative; z-index: 1; }
@media (min-width: 1281px) {
  .contact { padding: 64px 0 80px; }
  .contact .form-panel { margin: 42px 0 0; }
}

.form-note { margin-top: 20px; max-width: 800px; font-family: var(--font-body); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.form-note a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.form-panel .form-note + .consent { margin-top: 20px; }

/* Auswahlfeld "Worum geht es?" */
.cselect { position: relative; }
.cselect__native { position: absolute; left: 0; bottom: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.cselect__btn {
  display: flex; align-items: center;
  width: 100%; height: 49px; padding: 0 56px 0 16px;
  border: 2px solid transparent; border-radius: 8px;
  background: var(--white); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; text-align: left;
  cursor: pointer; transition: border-color .15s;
}
.cselect__btn::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 17px; height: 11px; margin-top: -5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M1.5 1.5 9 9l7.5-7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.cselect.is-open .cselect__btn::after { transform: rotate(180deg); }
.cselect__btn:focus { outline: none; border-color: var(--red); }
.cselect__value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.field.has-error .cselect__btn { border-color: var(--red); }
.cselect__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 14px 0; list-style: none;
  max-height: 300px; overflow: auto;
  border-radius: 15px; background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 27, 49, .28);
  animation: cselect-in .15s ease-out;
}
@keyframes cselect-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cselect__list [role=option] {
  padding: 6px 40px; line-height: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #000;
  cursor: pointer;
}
.cselect__list [role=option].is-active { background: #f3f4f6; color: var(--red); }
.cselect__list [role=option][aria-selected="true"] { color: var(--red); }
@media (max-width: 760px) {
  .cselect__list [role=option] { padding: 8px 20px; }
}
.form-panel .form-status:empty { display: none; }

/* Kontakt: Einleitung und Kontaktwege links, Formular rechts ueber beide Zeilen */
.contact__grid { grid-template-rows: auto 1fr; align-items: start; row-gap: 0; }
.contact__intro { grid-column: 1; grid-row: 1; }
.contact__details { grid-column: 1; grid-row: 2; }
.contact .form-panel { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 1280px) {
  /* einspaltig wie im mobilen Figma: Einleitung, Formular, dann Kontaktwege */
  .contact__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; }
  .contact__intro, .contact__details, .contact .form-panel { grid-column: 1; grid-row: auto; }
  .contact__intro { order: 1; }
  .contact .form-panel { order: 2; }
  .contact__details { order: 3; }
}

/* Statistik: dd hat im Browser standardmaessig 40px Einzug, dadurch sassen die Texte schief unter den Zahlen */
.stat__label { margin-left: 0; }

/* ---------- Mobil wie im Figma-Entwurf (Mobile_Landingpage) ---------- */
@media (max-width: 760px) {
  /* Hero */
  .hero .eyebrow { font-size: 13px; }
  .hero__text { gap: 16px; }
  .hero__title { font-size: clamp(38px, 12.1vw, 49px); line-height: .96; letter-spacing: .02em; }
  .hero__lead { font-size: 24px; line-height: 28px; max-width: 348px; }
  .hero__actions { gap: 27px; margin-top: 36px; }

  /* Zahlen: 150+ zuerst, wie im Entwurf */
  .stat:nth-child(1) { order: 2; }
  .stat:nth-child(2) { order: 1; }
  .stat:nth-child(3) { order: 3; }
  .stat:nth-child(4) { order: 4; }
  .stats { row-gap: 17px; }
  .stat__num { font-size: 42px; line-height: 40px; }
  .stat__label { margin-top: 5px; font-size: 15.5px; line-height: 1.27; }
  .logo-band { margin-top: 13px; }

  /* Abschnittskoepfe */
  .section-head { gap: 22px; }
  .section-head .lead { margin-top: 2px; }
  .lead { font-size: 20px; line-height: 22px; }

  /* Leistungen */
  .services { padding-top: 24px; }
  .services__grid { margin-left: -6px; margin-right: -6px; gap: 33px; }
  .service-card { min-height: 201px; padding: 12px 29px 18px 24px; }
  .service-card__icon { height: 54px; }
  .service-card__icon img { max-height: 54px; }
  .service-card h3 { margin-top: 17px; font-size: 21.5px; }
  .service-card p { margin-top: 17px; font-size: 15.5px; line-height: 1.2; }

  /* Referenzen */
  .references { padding-top: 24px; }
  .references .eyebrow { font-size: 13px; }
  .references .section-head { gap: 16px; }
  .case-card__img { aspect-ratio: 372 / 202; }
  .case-card__body { padding: 8px 24px 22px; }
  .case-card__title { font-size: 22px; }
  .case-card__sub { margin-top: 8px; font-size: 15px; }
  .case-card__arrow { right: 20px; bottom: 26px; width: 11px; height: 11px; }

  .quotes { max-width: 352px; margin-top: 69px; }
  .testimonial {
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    min-height: 411px; padding: 32px 35px 22px 36px; border-radius: 9px;
  }
  .testimonial__author { display: grid; grid-template-columns: 150px 1fr; column-gap: 34px; align-items: start; }
  .testimonial__author img { grid-row: 1 / span 2; width: 150px; }
  .testimonial__author .testimonial__logo--round { width: 88px !important; }
  .testimonial__author .testimonial__logo--box { width: 113px !important; }
  .testimonial__name { margin-top: 0; font-size: 12.5px; line-height: 1.4; }
  .testimonial__role { margin-top: 18px; font-size: 10.7px; line-height: 1.33; }
  .testimonial blockquote, .quotes .testimonial blockquote { text-align: right; font-size: 15.5px; line-height: 20px; }
  .testimonial blockquote::before, .testimonial blockquote::after { font-size: 30px; }
  .testimonial blockquote::after { margin-top: 14px; }
  .quotes__nav { margin-top: 12px; }
  .quotes__arrow { display: none; }
  .quotes__dots button { width: 8px; height: 8px; }
  .quotes__dots button[aria-selected="true"] { width: 24px; }
  .references .btn-row { display: none; }

  /* Ablauf */
  .process { margin-top: 16px; padding: 60px 0 63px; }
  .process__steps { width: 225px; margin: 26px auto 103px; gap: 36px; }
  .process__text { margin-top: 23px; }

  /* lange Buttons als Pille wie im Entwurf */
  .btn-long--pill {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 6px;
    width: 314px; max-width: 100%; min-height: 59px; margin-left: auto; margin-right: auto;
    padding: 8px 21px 8px 30px; border-radius: 30px; text-align: center;
  }
  .btn-long--pill .btn-long__title { grid-column: 1; font-size: 17px; line-height: 21px; }
  .btn-long--pill .btn-long__cta { display: contents; }
  .btn-long--pill .btn-long__cta-text { grid-column: 1; font-size: 17px; line-height: 21px; }
  .btn-long--pill .arrow { grid-column: 2; grid-row: 1 / span 2; }
  .process .btn-long--pill { padding-left: 32px; }
  .process .btn-long--pill .btn-long__cta-text { display: none; }

  /* Team */
  .team { padding-top: 36px; }
  .team__grid { row-gap: 30px; margin-top: 57px; }
  .person { min-height: 227px; }
  .person img { width: 155px; height: 155px; }
  .person__name { margin-top: 12px; font-size: 17.6px; line-height: 22px; }
  .person__role { margin-top: 6px; font-size: 12.7px; line-height: 16px; }
  .team .btn-long { margin-top: 49px; }

  /* Kontakt: Einleitung, Formular, dann Mail, Telefon und Buttons mittig */
  .contact { padding: 38px 0 58px; }
  .contact__eyebrow { font-size: 16px; }
  .contact .h2 { margin-top: 24px; font-size: clamp(26px, 9vw, 36px); line-height: 34px; }
  .contact .h2 br { display: none; }
  .contact__text { margin-top: 24px; font-size: 20px; line-height: 1.2; }
  .contact__grid { row-gap: 24px; }
  .contact .form-panel { margin: 0 -2px; padding: 35px 17px 31px; }
  .form-panel h3 { line-height: 35px; }
  .form-panel .form-grid { margin-top: 24px; row-gap: 21px; }
  .form-panel .field input, .form-panel .cselect__btn { height: 60px; }
  .form-panel .field textarea { height: 100px; }
  .form-panel .form-note { margin-top: 25px; font-size: 13px; line-height: 16px; }
  .form-panel .form-note + .consent { margin-top: 33px; }
  .form-panel .consent { gap: 8px; align-items: center; }
  .form-panel .consent input {
    -webkit-appearance: none; appearance: none; display: grid; place-content: center;
    width: 36px; height: 36px; border: 0; border-radius: 7px; background: var(--white); cursor: pointer;
  }
  .form-panel .consent input::after {
    content: ""; width: 16px; height: 9px; border: solid var(--red); border-width: 0 0 3px 3px;
    transform: translateY(-2px) rotate(-45deg); opacity: 0; transition: opacity .15s ease;
  }
  .form-panel .consent input:checked::after { opacity: 1; }
  .form-panel .consent input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
  .form-footer { margin-top: 27px; gap: 28px; }
  .form-footer .required-note { align-self: flex-end; }
  .form-footer .btn { width: 314px; max-width: 100%; align-self: center; }
  .contact__details { margin-top: 8px; text-align: center; }
  .contact__mail { margin-top: 0; font-size: clamp(18px, 5.7vw, 23px); }
  .contact__phone { margin-top: 24px; font-size: 22px; }
  .contact__buttons { gap: 64px; margin-top: 64px; }
  .contact__buttons small { margin-top: 24px; font-size: 14px; }
  .contact__buttons small.contact__hint { margin-top: 6px; }
}

/* ---------- Kopfzeile wie im Entwurf ----------
   Logo und Navigation sitzen auf 1440px jeweils 63px vom Rand, die Linie laeuft nur dazwischen. */
:root { --gutter-wide: clamp(20px, 4.4vw, 63px); }
.site-header__inner {
  width: min(1314px, 100% - 2 * var(--gutter-wide));
  max-width: none;
  padding-inline: 0;
}
@media (min-width: 1025px) {
  .main-nav ul { gap: clamp(20px, 3.6vw, 52px); }
  /* Linie wie im Entwurf bei ca. 101px, der Inhalt darunter rueckt dafuer 10px hoch */
  .site-header__inner { padding-bottom: 30px; }
  .hero { padding-top: clamp(30px, calc(6vw - 10px), 75px); }
}

/* ---------- Agentur wie im Entwurf (Desktop_Agentur) ---------- */
.page-intro .container,
.about .container { max-width: calc(1314px + 2 * var(--gutter-wide)); padding-inline: var(--gutter-wide); }
@media (min-width: 1025px) {
  .about__image { margin: 10px 0 0; }
  .about { padding-top: 87px; }
  .page-intro .page-title { margin-left: -7px; }
  .about__text { letter-spacing: -.018em; margin-right: -16px; }
}
@media (min-width: 1025px) {
  .about .about__grid { padding-right: calc(var(--gutter-wide) + 24px); }
}
@media (max-width: 760px) {
  /* Agentur mobil (Mobile_Agentur) */
  .page-intro { padding-top: 17px; }
  .page-intro__eyebrow { margin-bottom: 22px; text-transform: none; }
  .page-title { font-size: clamp(30px, 9vw, 36px); line-height: 38px; letter-spacing: 0; }
  .about { padding-top: 28px; }
  .about__grid { gap: 24px; }
  .about__image img { aspect-ratio: 358 / 240; object-fit: cover; }
  .about__text { font-size: 18px; line-height: 28px; letter-spacing: -.022em; }
  .about__actions { margin-top: 70px; }
}
@media (max-width: 760px) {
  /* Footer mobil (Footer_mobile): Logo und Adresse mittig, darunter eine linksbuendige Spalte, Copyright ganz unten */
  .site-footer { padding: 30px 0 47px; }
  .site-footer__grid { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: left; }
  .site-footer__brand { text-align: center; }
  .site-footer__brand img { width: 249px; }
  .site-footer__brand address { margin-top: 16px; line-height: 20px; }
  .site-footer__col { display: contents; }
  .site-footer__col > * { width: 196px; }
  .site-footer h4 { margin-top: 24px; line-height: 20px; }
  .site-footer__col h4 + nav { margin-top: 16px; }
  .site-footer__col nav, .site-footer__col nav + nav { margin-top: 16px; line-height: 16px; }
  .site-footer__right h4 + p { margin-top: 13px; line-height: 16px; }
  .site-footer__social { justify-content: flex-start; gap: 11px; margin-top: 13px; }
  .site-footer__social a:last-child { order: -1; }
  .site-footer__col .site-footer__legal { justify-content: flex-start; margin-top: 13px; line-height: 14px; white-space: nowrap; }
  .site-footer__col .site-footer__copy { order: 10; margin-top: 8px; line-height: 15px; }
}

/* ---------- Footer Desktop wie im Entwurf (Footer_Desktop) ---------- */
@media (min-width: 1281px) {
  .site-footer { padding-bottom: 56px; }
  .site-footer__grid { grid-template-columns: minmax(0, 507fr) minmax(0, 512fr) minmax(0, 335fr); gap: 0; }
  .site-footer__col { padding-top: 0; margin-top: -3px; }
  .site-footer h4 { line-height: 20px; }
  .site-footer__col p, .site-footer__col nav { margin-top: 13px; line-height: 16px; }
  .site-footer__col nav + nav { margin-top: 11px; }
  .site-footer__col .site-footer__copy { margin-top: 20px; line-height: 15px; }
  .site-footer__social { margin-top: 11px; }
  .site-footer__col .site-footer__legal { margin-top: 14px; line-height: 14px; }
  .site-footer__right { padding-right: 0; }
}
.br-mob { display: none; }
@media (max-width: 760px) {
  .br-mob { display: inline; }
  /* Karriere mobil (Mobile_Karriere) */
  .career-hero .container, .jobs .container { padding-inline: 22px; }
  .career-hero { padding-top: 17px; }
  .career-hero__lead { font-size: 22px; line-height: 28px; }
  .jobs { padding: 60px 0 64px; }
  .jobs__list { margin-top: 24px; padding-inline: 3px; }
  .job-link { padding: 19px 18px 19px 13px; }
  .job-link .btn-long__cta { line-height: 23px; }
  .jobs__initiative { width: calc(100% + 16px); margin: 20px -8px 0; min-height: 150px; padding: 27px 20px 27px 23px; gap: 22px; }
}

/* ---------- Stellenanzeige Desktop wie im Entwurf (Desktop_Stellenausschreibung) ---------- */
@media (min-width: 1025px) {
  .job-hero__apply { margin-top: 37px; }
  .job-facts__list { justify-content: space-between; max-width: 1348px; margin-inline: auto; padding: 50px 0 21px; }
  .job-facts__item p { min-width: 150px; }
  .job-body { padding-top: 37px; }
  .job-body__inner li::marker { font-size: .8em; }
}
@media (max-width: 760px) {
  /* Stellenanzeige mobil (Mobile_Stellenanzeige): Text mit 30px Rand */
  .job-hero .container, .job-facts .container, .job-body .container { padding-inline: 30px; }
  .job-hero { padding-top: 17px; }
  .job-hero__title { font-size: clamp(30px, 9vw, 36px); -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .job-body .container > .job-body__inner { margin-left: 0; }
  .job-body__inner { line-height: 1.26; }
  .job-actions { margin-top: 64px; }
}
@media (max-width: 760px) {
  /* Use-Case mobil (Mobile_Usecase): alles mittig wie im Entwurf */
  .case-dialog__panel { padding: 45px 19px 48px; text-align: center; }
  .case__title { font-weight: 500; font-size: clamp(30px, 9vw, 36px); line-height: 38px; letter-spacing: 0; }
  .case__grid { gap: 16px; margin-top: 16px; }
  .case__text { gap: 30px; }
  .case__text h3 { font-size: 40px; line-height: 48px; letter-spacing: 0; color: var(--navy); }
  .case__text p { margin-top: 24px; font-size: 18px; line-height: 28px; }
  .case-dialog__actions { gap: 32px; margin-top: 42px; }
}

/* ---------- Unsichtbare Symbol-Sammlung oben auf jeder Seite ----------
   Frueher per style="position:absolute" direkt im HTML. Die Sicherheitsregeln erlauben keine Styles im HTML. */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Seite nicht gefunden (404.html) ---------- */
.notfound { padding-bottom: 120px; }
.notfound .legal__body { max-width: 640px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; }
@media (max-width: 760px) {
  .notfound { padding-bottom: 72px; }
  .notfound__actions { flex-direction: column; align-items: stretch; }
  .notfound__actions .btn { width: 100%; }
}
