/* ============================================================
   Jan Weber Steuerberatung — Basis-Styles
   Tokens aus design-tokens.json
   ============================================================ */

:root {
  --primary: #003D6A;
  --accent: #BBC93F;
  --accent-teal: #7EBEC5;
  --text: #383838;
  --text-inverse: #FFFFFF;
  --bg: #FFFFFF;
  --bg-subtle: #F7F7F7;
  --bg-muted: #F5F5F5;
  --border: #D9D9D9;
  --border-muted: #B5B5B5;

  --font: "Open Sans", Arial, sans-serif;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 35px);
  --section-y: clamp(48px, 6vw, 90px);
  --hero-h: calc(100vh - var(--header-stack));
  --hero-h: calc(100dvh - var(--header-stack));
  --header-stack: 88px;
}

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

html, body { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4, p { margin: 0; }

.shell {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section-label {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

.section-title:has(strong) {
  font-weight: 400;
}

.section-title strong {
  font-weight: 700;
}

.section-lede {
  max-width: 740px;
  line-height: 1.5;
}

.legal-prose h2 {
  margin: 2.2rem 0 0.65rem;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

.legal-prose h2:first-of-type {
  margin-top: 1.6rem;
}

.legal-prose h3 {
  margin: 1.35rem 0 0.4rem;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
}

.legal-prose p,
.legal-prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.legal-prose ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose .legal-stand {
  margin-top: 2.4rem;
  font-size: 15px;
}

/* ---------- Top-Bar ---------- */

.top-bar {
  display: none;
  background: var(--bg-muted);
  padding: 10px var(--gutter);
  font-size: 15px;
  color: var(--primary);
}

.top-bar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  color: var(--primary);
  font-weight: 600;
}

.top-bar a:hover { color: var(--accent); }

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.top-bar__phone-icon {
  flex-shrink: 0;
}

@media (min-width: 981px) {
  .top-bar { display: block; }
  :root { --header-stack: 132px; }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.logo img {
  width: auto;
  height: 50px;
}

.site-nav {
  display: none;
  gap: clamp(12px, 2vw, 28px);
  font-size: 16px;
  font-weight: 600;
}

.site-nav a {
  color: var(--text);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  transition: transform .25s ease, opacity .25s ease;
}

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

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 var(--gutter) 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 981px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

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

.hero {
  position: relative;
  min-height: var(--hero-h);
  overflow: hidden;
  background-color: var(--primary);
  background-image: url("uploads/images/hero/jan-weber-steuerberater-boesel-19-.jpg");
  background-size: cover;
  background-position: center 12%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  clip-path: polygon(0 66%, 100% 52%, 100% 100%, 0 100%);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__shell {
  position: relative;
  height: 100%;
}

.hero__storer {
  position: absolute;
  left: clamp(48px, 8vw, 120px);
  top: clamp(150px, 30vh, 260px);
  width: clamp(160px, 19vw, 250px);
  transform: rotate(-7deg);
  transition: transform .25s ease;
  pointer-events: auto;
}

.hero__storer:hover {
  transform: rotate(-7deg) scale(1.03);
}

.hero__storer img {
  width: 100%;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.hero__content {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 57%;
  bottom: clamp(32px, 6vh, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.hero__headline {
  text-align: center;
  color: var(--text-inverse);
  padding: 120px 0 clamp(6px, 1vh, 12px);
}

.hero__headline h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.3;
  max-width: 680px;
  margin-inline: auto;
}

.hero__sub {
  margin-top: 12px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 767px) {
  .hero {
    background-image: url("uploads/images/hero/jan-weber-steuerberater-boesel-mobile-2.jpg");
    background-position: center 8%;
  }

  .hero::after {
    clip-path: polygon(0 58%, 100% 44%, 100% 100%, 0 100%);
  }

  .hero__content {
    top: 52%;
    bottom: clamp(24px, 5vh, 40px);
  }

  .hero__headline {
    padding-top: 90px;
  }

  .hero__headline h1 {
    font-size: 34px;
  }

  .hero__storer {
    left: clamp(24px, 6vw, 48px);
    top: clamp(120px, 24vh, 190px);
    width: clamp(135px, 34vw, 185px);
    transform: rotate(-6deg);
  }

  .hero__storer:hover {
    transform: rotate(-6deg) scale(1.03);
  }
}

/* ---------- Logo-Bar ---------- */

.logo-bar {
  background: var(--bg-subtle);
  padding: 75px 0;
}

.logo-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 56px);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .logo-bar__list {
    justify-content: center;
  }
}

.logo-bar__list img {
  width: auto;
  height: clamp(72px, 11vw, 118px);
  object-fit: contain;
}

/* ---------- Intro ---------- */

.intro {
  position: relative;
  padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 96px);
  background: var(--bg);
}

.intro__inner {
  position: relative;
  text-align: center;
}

.intro__title {
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

.intro__subtitle {
  margin-top: 14px;
  font-size: clamp(20px, 2.2vw, 23px);
  font-weight: 600;
  color: var(--accent);
}

.intro__text {
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 740px;
  line-height: 1.5;
  color: var(--text);
}

/* ---------- Philosophie ---------- */

.philosophie {
  background: var(--bg);
}

.philosophie__banner {
  width: 100%;
  height: clamp(220px, 28vw, 336px);
}

.parallax-banner {
  position: relative;
  overflow: hidden;
}

.parallax-banner__img {
  position: absolute;
  left: 0;
  top: -18%;
  width: 100%;
  height: 136%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}

.philosophie__body {
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 102px);
}

.philosophie__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.philosophie__head .section-label + .section-title {
  margin-top: 12px;
}

.philosophie__lede {
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 760px;
  line-height: 1.5;
  color: var(--text);
}

.philosophie__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 64px);
  max-width: 828px;
  margin-inline: auto;
}

.philosophie__pillar h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 8px;
}

.philosophie__pillar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.philosophie__pillar li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}

.philosophie__pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.45em;
  height: 1.1em;
  background: url("uploads/images/misc/jan-weber-arrow-.png") center / contain no-repeat;
}

.philosophie__pillar li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .philosophie__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ---------- Mandanten / Branchen ---------- */

.mandanten {
  background: var(--bg);
}

.mandanten__body {
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 102px);
}

.mandanten__banner {
  width: 100%;
  height: clamp(220px, 28vw, 336px);
}

.mandanten__banner .parallax-banner__img {
  object-position: center top;
}

.mandanten__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.mandanten__head .section-label + .section-title {
  margin-top: 12px;
}

.mandanten__head .section-title {
  max-width: 700px;
  margin-inline: auto;
}

.mandanten__lede {
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 760px;
  line-height: 1.5;
  color: var(--text);
}

.mandanten__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px) clamp(48px, 8vw, 96px);
}

.mandanten__column {
  flex: 0 1 auto;
}

.mandanten__column h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 8px;
}

.mandanten__column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mandanten__column li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}

.mandanten__column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.45em;
  height: 1.1em;
  background: url("uploads/images/misc/jan-weber-arrow-.png") center / contain no-repeat;
}

.mandanten__column li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .mandanten__grid {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* ---------- Leistungen ---------- */

.leistungen {
  background: var(--bg-subtle);
}

.leistungen__body {
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 102px);
}

.leistungen__banner {
  width: 100%;
  height: clamp(220px, 28vw, 336px);
}

.leistungen__head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.leistungen__layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.leistungen__tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.leistungen__tab {
  appearance: none;
  border: none;
  background: #F4F4F4;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease;
}

.leistungen__tab:hover {
  background: #EAEAEA;
}

.leistungen__tab.is-active {
  background: var(--primary);
  color: var(--text-inverse);
}

.leistungen__panels {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 30px;
}

.leistungen__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.leistungen__panel li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.leistungen__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.45em;
  height: 1.1em;
  background: url("uploads/images/misc/jan-weber-arrow-.png") center / contain no-repeat;
}

.leistungen__panel li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .leistungen__layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Digitale Buchführung ---------- */

.digital {
  background: var(--bg);
}

.digital__body {
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 102px);
}

.digital__banner {
  width: 100%;
  height: 480px;
}

.digital__banner .parallax-banner__img {
  top: 0;
  height: 106%;
  object-position: center 6%;
}

.digital__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.digital__head .section-label + .section-title {
  margin-top: 12px;
}

.digital__head .section-title {
  max-width: 500px;
  margin-inline: auto;
}

.digital__badge {
  display: block;
  width: 160px;
  height: auto;
  margin: clamp(24px, 4vw, 36px) auto 0;
}

.digital__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: clamp(48px, 6vw, 72px);
  column-gap: clamp(24px, 3vw, 40px);
}

.digital__card:nth-child(1) {
  grid-column: 2 / 4;
}

.digital__card:nth-child(2) {
  grid-column: 4 / 6;
}

.digital__card:nth-child(3) {
  grid-column: 1 / 3;
}

.digital__card:nth-child(4) {
  grid-column: 3 / 5;
}

.digital__card:nth-child(5) {
  grid-column: 5 / 7;
}

.digital__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.digital__icon {
  flex: 0 0 80px;
  width: 80px;
  height: auto;
}

.digital__text h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 8px;
}

.digital__text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

@media (max-width: 980px) {
  .digital__grid {
    grid-template-columns: 1fr;
  }

  .digital__card:nth-child(n) {
    grid-column: auto;
  }
}

/* ---------- Kanzlei ---------- */

.kanzlei {
  background: var(--bg);
  padding: clamp(48px, 7vw, 90px) 0;
  border-bottom: 1px solid var(--border);
}

.kanzlei__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.kanzlei__head .section-label + .section-title {
  margin-top: 12px;
}

.kanzlei__subtitle {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}

.kanzlei__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.kanzlei__row + .kanzlei__row {
  margin-top: clamp(40px, 6vw, 64px);
}

.kanzlei__text p {
  margin: 0 0 1em;
  line-height: 1.5;
  color: var(--text);
}

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

.kanzlei__media {
  margin: 0;
}

.kanzlei__media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .kanzlei__row,
  .kanzlei__row--reverse {
    grid-template-columns: 1fr;
  }

  .kanzlei__row--reverse .kanzlei__media {
    order: -1;
  }
}

/* ---------- Team ---------- */

.team {
  background: var(--bg);
}

.team__body {
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 102px);
}

.team__banner {
  width: 100%;
  height: 450px;
}

.team__banner .parallax-banner__img {
  top: 0;
  height: 106%;
  object-position: center 18%;
}

.team__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.team__head .section-label + .section-title {
  margin-top: 12px;
}

.team__lede {
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 760px;
  line-height: 1.5;
  color: var(--text);
}

.team__subhead {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

.team__tagline {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 48px) clamp(40px, 6vw, 80px);
}

.team__member {
  display: flex;
  align-items: center;
  gap: 20px;
}

.team__photo {
  flex: 0 0 175px;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
}

.team__name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

.team__role {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

.team__email {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.team__email a {
  color: var(--accent);
}

.team__email a:hover {
  color: var(--primary);
}

@media (max-width: 767px) {
  .team__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Karriere (Startseite) ---------- */

.karriere-teaser {
  background: #E6EBF0;
  padding: clamp(48px, 7vw, 90px) 0;
}

.karriere-teaser--slim {
  padding: clamp(40px, 6vw, 72px) 0;
}

.karriere-teaser--slim .karriere-teaser__head {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.karriere-teaser--slim .karriere-teaser__lede {
  max-width: 560px;
}

.karriere-teaser--slim .karriere-teaser__badge {
  width: min(280px, 70vw);
  margin-top: clamp(20px, 3vw, 28px);
}

.karriere-teaser--slim .karriere-teaser__cta {
  max-width: 420px;
}

.karriere-teaser__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 56px);
}

.karriere-teaser__head .section-label + .section-title {
  margin-top: 12px;
}

.karriere-teaser__head .section-title strong {
  font-weight: 700;
}

.karriere-teaser__lede {
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 760px;
  line-height: 1.5;
  color: var(--text);
}

.karriere-teaser__badge {
  display: block;
  width: min(368px, 90vw);
  height: auto;
  margin: clamp(28px, 4vw, 40px) auto 0;
}

.karriere-teaser__cta {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 40px);
  background: var(--accent);
  border-radius: 14px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-inverse);
  transition: background 300ms ease;
}

.karriere-teaser__cta:hover {
  background: var(--primary);
  color: var(--text-inverse);
}

/* ---------- Kanzlei-Teaser (Startseite) ---------- */

.kanzlei-teaser {
  background: var(--bg);
  padding: clamp(48px, 7vw, 90px) 0;
}

.kanzlei-teaser__layout {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 900px) {
  .kanzlei-teaser__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.kanzlei-teaser__copy .section-label + .section-title {
  margin-top: 12px;
  max-width: 380px;
}

.kanzlei-teaser__lede {
  margin-top: clamp(16px, 2.5vw, 24px);
  max-width: 36em;
  line-height: 1.55;
  color: var(--text);
}

.kanzlei-teaser__cta {
  display: inline-block;
  margin-top: clamp(24px, 3vw, 32px);
  padding: 14px 28px;
  background: var(--primary);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-inverse);
  transition: background 300ms ease;
}

.kanzlei-teaser__cta:hover {
  background: var(--accent);
  color: var(--text-inverse);
}

.kanzlei-teaser__media {
  margin: 0;
}

.kanzlei-teaser__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

/* ---------- Wechsel-Teaser (Startseite) ---------- */

.wechsel-teaser {
  background: var(--primary);
  padding: clamp(40px, 6vw, 72px) 0;
  color: var(--text-inverse);
}

.wechsel-teaser__inner {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  align-items: center;
}

@media (min-width: 800px) {
  .wechsel-teaser__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.wechsel-teaser .section-label {
  color: var(--accent);
}

.wechsel-teaser .section-title {
  color: var(--text-inverse);
  margin-top: 12px;
}

.wechsel-teaser__lede {
  margin-top: 16px;
  max-width: 38em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.wechsel-teaser__cta {
  display: inline-block;
  justify-self: start;
  padding: 16px 28px;
  background: var(--accent);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  transition: background 300ms ease, color 300ms ease;
}

@media (min-width: 800px) {
  .wechsel-teaser__cta {
    justify-self: end;
  }
}

.wechsel-teaser__cta:hover {
  background: var(--bg);
  color: var(--primary);
}

/* ---------- Downloads ---------- */

.downloads {
  background: var(--bg);
  padding: clamp(48px, 7vw, 90px) 0;
}

.downloads__title {
  margin: 0 0 clamp(32px, 5vw, 48px);
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--primary);
}

.downloads__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.downloads__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 220px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 32px) 16px;
  text-align: center;
}

.downloads__card-title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

.downloads__card-btn {
  appearance: none;
  border: none;
  background: var(--accent);
  color: var(--text-inverse);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 300ms ease;
}

.downloads__card-btn:hover {
  background: var(--primary);
}

@media (max-width: 767px) {
  .downloads__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- Modals ---------- */

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 61, 0.72);
}

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: var(--bg);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal__panel--wide {
  width: min(760px, 100%);
}

.modal--lightbox {
  padding: clamp(12px, 3vw, 28px);
}

.modal__panel--lightbox {
  width: min(1400px, 100%);
  max-height: min(92vh, 920px);
  padding: 0;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.modal__panel--lightbox img {
  width: 100%;
  height: auto;
  max-height: min(92vh, 920px);
  object-fit: contain;
  background: #0a1f30;
}

.modal__close--light {
  top: 8px;
  right: 8px;
  z-index: 2;
  color: #fff;
  background: rgba(0, 61, 106, 0.55);
  border-radius: 50%;
}

.modal__close--light:hover {
  background: rgba(0, 61, 106, 0.85);
}

.media-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
  border-radius: 0;
}

.media-zoom:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.media-zoom img {
  transition: opacity 220ms ease;
}

.media-zoom:hover img {
  opacity: 0.92;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.modal__title {
  margin: 0 0 16px;
  padding-right: 40px;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  text-align: center;
}

.modal__lede {
  margin: 0 0 24px;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
}

.badge-trigger {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.badge-trigger:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.badge-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.page-hero__badge-btn,
.karriere-teaser__badge-btn {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.page-hero__aside .page-hero__badge-btn {
  margin-inline: 0;
}

.karriere-teaser__badge-btn .karriere-teaser__badge,
.page-hero__badge-btn .page-hero__badge {
  margin: 0;
}

.modal-arbeitgeber {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding-right: 28px;
}

.modal-arbeitgeber__seal {
  width: min(140px, 36vw);
  height: auto;
  margin-bottom: 4px;
}

.modal-arbeitgeber__eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.modal-arbeitgeber .modal__title {
  margin: 0;
  padding-right: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  text-align: left;
}

.modal-arbeitgeber__body {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.modal-arbeitgeber__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.modal-arbeitgeber__body a {
  font-weight: 600;
  word-break: break-word;
}

.modal__downloads {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal__downloads li + li {
  margin-top: 12px;
}

.modal__downloads a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

.modal__downloads a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.modal__tab {
  appearance: none;
  border: 1px solid var(--border);
  background: #F4F4F4;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
}

.modal__tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-inverse);
}

.modal__tabpanel[hidden] {
  display: none;
}

.modal__consent {
  text-align: center;
}

.modal__consent p {
  margin: 0 0 20px;
  line-height: 1.5;
  color: var(--text);
}

.modal__iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 1px solid var(--border);
}

/* ---------- Sections (Platzhalter-Muster) ---------- */

.section {
  padding-block: var(--section-y);
}

.section--muted {
  background: var(--bg-subtle);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head .section-label + .section-title {
  margin-top: 4px;
}

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

.site-footer {
  background: var(--primary);
  color: var(--text-inverse);
  padding: clamp(64px, 8vw, 96px) 0 32px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-block: clamp(16px, 2vw, 28px);
}

.footer-grid h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-inverse);
  font-size: 17px;
  line-height: 1.5;
}

.footer-grid p + p {
  margin-top: 12px;
}

.footer-grid strong {
  font-weight: 700;
}

.footer-grid a:hover { color: var(--accent); }

.footer-logo {
  display: block;
  max-width: 220px;
  margin-left: auto;
}

.footer-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 0.75vw, 10px);
  width: min(1600px, calc(100% - var(--gutter) * 2 + clamp(40px, 6vw, 100px)));
  margin: clamp(56px, 6vw, 80px) auto 0;
}

.footer-banner__item {
  position: relative;
  margin: 0;
  background-color: var(--primary);
  overflow: hidden;
  line-height: 0;
  isolation: isolate;
}

.footer-banner__item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.5) brightness(0.52);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.footer-banner__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  mix-blend-mode: color;
  opacity: 0.82;
  pointer-events: none;
}

.footer-legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 5px 11px 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-mark span {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0;
}

.footer-mark:hover {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(187, 201, 63, 0.45);
}

.footer-mark:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: auto auto auto 1fr;
    column-gap: clamp(24px, 3vw, 48px);
  }

  .footer-grid > div:nth-child(3) {
    max-width: 450px;
    margin-left: clamp(24px, 4vw, 56px);
  }
}

/* ---------- Page Hero (Unterseiten) ---------- */

.page-hero {
  background: var(--bg-subtle);
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
}

.page-hero .section-label + .section-title {
  margin-top: 12px;
}

.page-hero .section-lede {
  margin-top: 20px;
}

/* ---------- Impressum ---------- */

body[data-page="legal"] .section-lede > h2 {
  margin-top: clamp(36px, 5vw, 52px);
}

/* ---------- Steuerberater Wechsel ---------- */

.page-hero--wechsel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-stack));
  min-height: calc(100dvh - var(--header-stack));
  padding-block: clamp(40px, 5vw, 64px);
  overflow: hidden;
  background-color: #d9e4ec;
  background-image:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(247, 247, 247, 0.88) 38%,
      rgba(0, 61, 106, 0.22) 72%,
      rgba(0, 61, 106, 0.38) 100%
    ),
    linear-gradient(
      180deg,
      rgba(126, 190, 197, 0.18),
      transparent 40%
    ),
    url("uploads/images/atmosphere/jan-weber-fruehling.webp");
  background-size: cover;
  background-position: center 42%;
}

.page-hero--wechsel::before {
  content: "";
  position: absolute;
  width: min(62vw, 780px);
  height: min(62vw, 780px);
  right: -14%;
  top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 201, 63, 0.28) 0%, rgba(187, 201, 63, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.page-hero--wechsel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 61, 106, 0.12);
  clip-path: polygon(0 82%, 100% 64%, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-hero--wechsel > .shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.page-hero--wechsel .section-title {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.12;
  max-width: min(100%, 11.5em);
}

.page-hero--wechsel .section-lede {
  max-width: min(100%, 40em);
  font-size: clamp(17px, 1.3vw, 19px);
}

.page-hero__grid {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 960px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
}

.page-hero__copy {
  padding-top: 0;
}

.page-hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.page-hero__contact a {
  color: var(--primary);
}

.page-hero__contact a:hover {
  color: var(--accent);
}

.page-hero__contact--stack {
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  font-weight: 500;
}

.form-card--compact {
  padding: 20px 22px;
  box-shadow: 0 18px 40px rgba(0, 61, 106, 0.1);
}

.form-card--compact h2 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  margin-bottom: 4px;
}

.form-card--compact .form-wrap > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
}

.form-card--compact .form-grid {
  gap: 12px;
}

.form-card--compact .form-field:not(.form-privacy) label {
  margin-bottom: 4px;
  font-size: 14px;
}

.form-card--compact .form-field input:not([type="checkbox"]),
.form-card--compact .form-field select,
.form-card--compact .form-field textarea {
  padding: 9px 12px;
  font-size: 15px;
  border-radius: 6px;
}

.form-card--compact .form-field textarea {
  min-height: 72px;
}

.form-card--compact .form-privacy {
  font-size: 13px;
  line-height: 1.45;
  margin-top: 4px;
}

.form-card--compact .form-privacy label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
}

.form-card--compact .form-privacy input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-card--compact .form-foot {
  margin-top: 4px;
  gap: 12px;
}

.form-card--compact .form-captcha {
  font-size: 14px;
}

.form-card--compact .form-captcha input {
  width: 56px;
  padding: 8px 10px;
}

.form-card--compact .btn {
  padding: 11px 18px;
  font-size: 15px;
}

.form-card--compact .form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.wechsel-split {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (min-width: 860px) {
  .wechsel-split {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(40px, 6vw, 80px);
  }
}

.wechsel-split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.wechsel-split__copy {
  display: grid;
  gap: 16px;
}

.wechsel-split__copy p {
  line-height: 1.55;
  color: var(--text);
}

.wechsel-feature {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--bg-subtle);
}

.wechsel-feature__row {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
  align-items: center;
}

@media (min-width: 900px) {
  .wechsel-feature__row {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 0;
    align-items: center;
  }

  .wechsel-feature__media {
    position: relative;
    z-index: 0;
  }

  .wechsel-feature__panel {
    position: relative;
    z-index: 1;
    margin-left: clamp(-48px, -6vw, -72px);
    align-self: center;
  }
}

.wechsel-feature__media {
  margin: 0;
}

.wechsel-feature__media img {
  display: block;
  width: 100%;
  height: auto;
}

.wechsel-feature__panel {
  display: grid;
  gap: 14px;
  background: var(--bg);
  border-top: 4px solid var(--accent);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 18px 48px rgba(0, 61, 106, 0.12);
}

.wechsel-feature__panel .section-label + .section-title {
  margin-top: 4px;
}

.wechsel-feature__panel p {
  margin: 0;
  line-height: 1.55;
  color: var(--text);
}

.wechsel-ablauf {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .wechsel-ablauf {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
  }
}

.wechsel-ablauf__media {
  margin: 0;
}

.wechsel-ablauf__media img {
  display: block;
  width: 100%;
  height: auto;
}

.wechsel-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

@media (min-width: 700px) {
  .wechsel-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .wechsel-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wechsel-benefits h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 8px;
  padding-left: 40px;
  position: relative;
}

.wechsel-benefits h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 29px;
  height: 22px;
  background: url("uploads/images/misc/jan-weber-arrow-.png") center / contain no-repeat;
}

.wechsel-benefits p {
  margin: 0;
  padding-left: 40px;
  line-height: 1.5;
  color: var(--text);
}

.wechsel-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.wechsel-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.wechsel-steps li:last-child {
  border-bottom: 1px solid var(--border);
}

.wechsel-steps__num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.wechsel-steps h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.wechsel-steps p {
  margin: 0;
  line-height: 1.5;
  color: var(--text);
}

.wechsel-faq__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 8px;
}

.wechsel-faq__phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.wechsel-faq__phone:hover {
  color: var(--accent);
}

.wechsel-section-cta {
  display: inline-flex;
  margin-top: clamp(20px, 3vw, 32px);
}

.wechsel-section-cta--center {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 48px);
}

@media (min-width: 960px) {
  .page-hero__copy .wechsel-section-cta {
    display: none;
  }
}

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

.page-hero--kanzlei {
  background:
    linear-gradient(180deg, #E6EBF0 0%, var(--bg-subtle) 100%);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-hero__grid--kanzlei {
  align-items: center;
}

@media (min-width: 960px) {
  .page-hero__grid--kanzlei {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(32px, 5vw, 64px);
  }
}

.page-hero--kanzlei .section-title {
  font-size: clamp(38px, 4vw, 44px);
  max-width: 500px;
}

.page-hero__media {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 520px;
}

.page-hero--kanzlei .page-hero__media {
  max-width: 640px;
}

.page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.page-hero__media--team img {
  aspect-ratio: 986 / 775;
  object-fit: cover;
  object-position: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--text);
}

.page-hero--karriere {
  background:
    linear-gradient(180deg, #E6EBF0 0%, var(--bg-subtle) 100%);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-hero__grid--karriere {
  align-items: center;
}

@media (min-width: 960px) {
  .page-hero__grid--karriere {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(32px, 5vw, 64px);
  }
}

.page-hero--karriere .section-title {
  font-size: clamp(38px, 4vw, 44px);
  max-width: 16em;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.page-hero__jobs-link {
  font-weight: 700;
  color: var(--primary);
}

.page-hero__jobs-link:hover {
  color: var(--accent);
}

.page-hero__portrait {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.page-hero__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
}

.page-hero__aside {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.page-hero__badge {
  width: min(320px, 100%);
  height: auto;
}

.page-hero__aside-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  max-width: 32em;
}

.section-head--center {
  text-align: center;
  justify-items: center;
}

.section-head--center .section-lede {
  margin-inline: auto;
}

.karriere-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

@media (min-width: 700px) {
  .karriere-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .karriere-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.karriere-benefits h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 8px;
  padding-left: 40px;
  position: relative;
}

.karriere-benefits h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.45em;
  height: 1.45em;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.5 9.5 17.5 19.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.5 9.5 17.5 19.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.karriere-benefits p {
  margin: 0;
  padding-left: 40px;
  line-height: 1.5;
  color: var(--text);
}

.karriere-seal {
  display: grid;
  gap: 10px;
  margin: 0;
  justify-self: end;
  align-self: center;
}

.karriere-seal img {
  width: min(280px, 100%);
  height: auto;
}

.section-head--with-seal {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

@media (min-width: 800px) {
  .section-head--with-seal {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 48px);
  }
}

.section-head--with-seal .section-head__copy {
  display: grid;
  gap: 12px;
}

.section-head--with-seal .section-label + .section-title {
  margin-top: 0;
}

.section-head--with-seal .section-lede {
  margin-top: 4px;
}

.karriere-intro {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
}

.karriere-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.karriere-badges img {
  width: auto;
  height: clamp(64px, 10vw, 88px);
  object-fit: contain;
}

.wechsel-split--karriere {
  gap: clamp(24px, 3vw, 36px);
}

.wechsel-split--karriere .wechsel-split__media img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 860px) {
  .wechsel-split--karriere {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .wechsel-split--karriere .wechsel-split__media {
    width: min(620px, 46vw);
    max-width: 620px;
  }

  .wechsel-split--karriere .wechsel-split__copy {
    min-width: 0;
  }
}

.karriere-postits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  justify-items: center;
}

@media (min-width: 800px) {
  .karriere-postits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.karriere-postits li {
  width: 100%;
  max-width: 320px;
}

.karriere-postits img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 61, 106, 0.12));
  transition: transform 280ms ease;
}

.karriere-postits li:nth-child(odd) img {
  transform: rotate(-2deg);
}

.karriere-postits li:nth-child(even) img {
  transform: rotate(2deg);
}

.karriere-postits li:hover img {
  transform: rotate(0deg) scale(1.03);
}

.karriere-postits__wide {
  grid-column: 1 / -1;
  max-width: 360px;
}

.karriere-jobs {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
}

@media (min-width: 768px) {
  .karriere-jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.karriere-jobs__card {
  display: grid;
  gap: 10px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 32px) 20px;
  text-align: center;
  color: inherit;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.karriere-jobs__card:hover {
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(0, 61, 106, 0.1);
  transform: translateY(-3px);
  color: inherit;
}

.karriere-jobs__label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.karriere-jobs__title {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

.karriere-jobs__cta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.karriere-jobs__card:hover .karriere-jobs__cta {
  color: var(--accent);
}

.karriere-quote {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--bg-subtle);
}

.karriere-quote__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 800px) {
  .karriere-quote__grid {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  }
}

.karriere-quote__media {
  margin: 0;
  justify-self: center;
}

.karriere-quote__media img {
  width: min(220px, 55vw);
  height: auto;
  border-radius: 50%;
}

.karriere-quote__body {
  margin: 0;
  display: grid;
  gap: 12px;
}

.karriere-quote__text {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
}

.karriere-quote__attr {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
