﻿
section { scroll-margin-top: 80px; }

/* ─── TEXT LINK (Pfeil-Link wie im Hero/Beratung) ────────── */
.text-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  padding-bottom: 2px;
}
.text-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width var(--t);
}
.text-link:hover::after { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   KANZLEI BEYER – Design System
   Davis Polk Inspiration · #140BE3 · Inter Bold
═══════════════════════════════════════════════════════════════ */

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

:root {
  --blue:      #140BE3;
  --blue-dark: #0d09c8;
  --white:     #ffffff;
  --black:     #000000;
  --font:      "Inter", "Helvetica Neue", "Arial", sans-serif;
  --max:       1500px;
  --t:         0.25s ease;
  --offset: max(10vw, calc((100vw - 1500px) / 2));
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2 {
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
}


/* ─── HOMEPAGE GRADIENT ───────────────────────────────────── */
body.page--home {
  background:
    radial-gradient(ellipse 30% 20% at 100% 0%, rgba(180,240,255,0.55) 0%, transparent 100%),
    linear-gradient(
      160deg,
      #0A08B0 0%,
      #140BE3 30%,
      #0059FF 55%,
      #00D4FF 75%,
      #AAF5EC 90%,
      #E0FBF7 100%
    );
}
body.page--home main    { background: transparent; }
body.page--home .site-header { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }


/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--t);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }


.btn-blue {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  border-bottom: 1.5px solid #000;
  padding-bottom: 2px;
  letter-spacing: 0.04em;
  transition: opacity var(--t);
}
.btn-blue:hover { opacity: 0.65; }


/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
body.page--home .site-header {
  background: transparent;
}
/* Nicht-Home: Header weiß mit dunkler Schrift */
body:not(.page--home) .site-header {
  border-bottom: 1px solid #e5e8f0;
}
body:not(.page--home) .site-header__logo,
body:not(.page--home) .logo-kanzlei,
body:not(.page--home) .logo-beyer,
body:not(.page--home) .site-header__nav-link,
body:not(.page--home) .site-header__search {
  color: #000;
}
body:not(.page--home) .site-header__burger span {
  background: #000;
}
.site-header__inner {
  margin: 0 auto;
  padding: 0 var(--offset) 0 var(--offset);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.site-header__logo img { height: 13px; width: auto; }

.site-header__nav { display: flex; gap: 20px; margin-left: 40px; }
.site-header__nav-link {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  position: relative;
  padding-bottom: 2px;
}
.site-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: #fff;
  transition: width var(--t);
}
.site-header__nav-link:hover::after { width: 100%; }

.site-header__search {
  background: none; border: none;
  color: #fff; cursor: pointer;
  display: flex; align-items: center;
  padding: 4px;
  margin-left: auto;
}

.site-header__burger {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.site-header__burger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: center; }

/* Scrolled state */
.site-header--scrolled {
  background: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.site-header--scrolled .site-header__nav-link { color: #111; }
.site-header--scrolled .site-header__nav-link::after { background: #111; }
.site-header--scrolled .site-header__logo img { filter: brightness(0); }
.site-header--scrolled .logo-kanzlei,
.site-header--scrolled .logo-beyer { color: #111; }
.site-header--scrolled .site-header__search { color: #111; }
.site-header--scrolled .site-header__burger span { background: #111; }

.site-header__mobile-nav {
  display: none;
  flex-direction: column;
  background: #ffffff;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  height: calc(100vh - 56px);
  z-index: 99;
  overflow-y: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0;
}
.site-header__mobile-nav::after {
  content: "";
  display: block;
  height: 120px;
  margin-top: auto;
  background: linear-gradient(to bottom, #ffffff 0%, #a8d4ff 60%, #0153FD 100%);
  flex-shrink: 0;
}
.site-header__mobile-nav:not([hidden]) { display: flex; }
.site-header__mobile-link {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
}
body.nav-open .site-header__burger span {
  background: #111;
}
body.nav-open .site-header {
  background: #ffffff !important;
}
body.nav-open .logo-kanzlei,
body.nav-open .logo-beyer {
  color: #111 !important;
}
body.nav-open .site-header__search {
  color: #111 !important;
}
.site-header__mobile-link:first-child {
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}
body.nav-open .site-header__burger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
body.nav-open .site-header__burger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .site-header__burger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
body.nav-open .site-header__search {
  display: flex !important;
}

@media (max-width: 900px) {
  .site-header__nav { display: none; }
  .site-header__burger { display: flex; }
  .site-header__inner { padding: 0 24px; gap: 16px; }
}


/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
}
.hero__inner {
  width: 100%;
  padding: 80px var(--offset) 60px var(--offset);
}
.hero__h1 {
  font-size: clamp(56px, 7.5vw, 110px);
  font-weight: 700;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 24px;
  max-width: 960px;
  text-wrap: balance;
}
.hero__sub {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-right: 0;
}

@media (max-width: 768px) {
  .logo-kanzlei,
  .logo-beyer {
    font-size: 17px !important;
    letter-spacing: 0.1em !important;
  }

  .hero {
    min-height: auto !important;
    align-items: flex-start !important;
  }
  .hero__inner { padding: 28px 20px 40px 20px; }
  .hero__h1 {
    font-size: 36px;
    line-height: 1.1;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: normal;
  }

  .expertise__vertical-label,
  .mandate-section__vertical-label {
    display: none !important;
  }

  .expertise__inner {
    padding: 48px 20px !important;
  }

  .mandate-inner {
    padding: 48px 20px !important;
  }

  .intro__inner { padding: 48px 20px !important; }
  .intro__text {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .leitlinien__grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .leitlinien__box {
    padding: 2rem 1.5rem !important;
    min-height: auto !important;
  }

  .leitlinien__heading {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .leitlinien__body {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .leitlinien__inner {
    padding: 48px 20px !important;
  }

  .expertise__item-line {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .expertise__item {
    padding: 1.5rem 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .expertise__inner .section-eyebrow {
    font-size: 20px !important;
  }

  .mandate-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 2rem 1.5rem !important;
    gap: 1.25rem !important;
  }

  .mandate-item__left {
    max-width: 100% !important;
  }

  .mandate-item__title {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }

  .mandate-item__body {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}


/* === TAGLINE BAND === */
.tagline-band {
  padding: 0 var(--offset);
}
.tagline-band__line {
  border: none;
  border-top: 1.5px solid rgba(255,255,255,0.9);
  margin: 0;
}
.tagline-band__text {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  padding: 1.5rem 0;
  margin: 0;
  line-height: 1.3;
  text-align: left;
}


/* ─── INTRO ───────────────────────────────────────────────── */
.intro { position: relative; overflow: hidden; }
.intro__inner {
  padding: 80px var(--offset) 60px var(--offset);
  position: relative;
  z-index: 1;
}
.intro__text {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 28px;
}
.intro__link {
  display: inline-block;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.intro__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}
.intro__link:hover::after { width: 100%; }



/* ─── VERTIKALE LABELS ────────────────────────────────────── */
.section-with-label { position: relative; overflow: hidden; }

.section-label-vertical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(90px, 14vw, 200px);
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.03em;
  line-height: 1;
  z-index: 0;
  transition: left 0.9s cubic-bezier(0.16,1,0.3,1),
              right 0.9s cubic-bezier(0.16,1,0.3,1),
              opacity 0.5s ease;
}
.section-label-vertical[data-label="left"]  { left: -120%; opacity: 0; }
.section-label-vertical[data-label="right"] { right: -120%; opacity: 0; }
.section-label-vertical[data-label="left"].is-visible  { left: -3%;  opacity: 1; }
.section-label-vertical[data-label="right"].is-visible { right: -3%; opacity: 1; }


/* === LEITLINIEN BOXES === */
.leitlinien__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.leitlinien__box {
  border: 1px solid #FFFFFF;
  border-radius: 0;
  padding: 4rem 2.5rem;
  box-shadow: none;
  text-align: left;
  min-height: 280px;
}
.leitlinien__box:first-child {
  padding-left: 2.5rem;
}
.leitlinien__label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.leitlinien__heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: #fff;
  margin-bottom: 1.25rem;
}
.leitlinien__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
  margin-bottom: 24px;
}

/* === EXPERTISE LIST === */
.expertise__list {
  display: block;
  border-top: 1.5px solid rgba(255,255,255,0.9);
}
.expertise__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.9);
}
.expertise__item-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.expertise__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.expertise__item-line {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 0.5rem;
  color: #fff;
}
.expertise__item-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #ffffff;
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
}
.expertise__item-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}
.expertise__item-link:hover::after { width: 100%; }
.expertise__item-link:hover { color: #fff; }


/* ─── LEITLINIEN ──────────────────────────────────────────── */
.leitlinien { position: relative; overflow: hidden; }
.leitlinien__inner {
  padding: 60px var(--offset);
  position: relative;
  z-index: 1;
}

/* ─── EXPERTISE ─────────────────────────────────────────── */
.expertise {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  container-type: inline-size;
}
.expertise__vertical-label {
  position: absolute;
  top: 60px;
  left: var(--offset);
  display: flex;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  line-height: 0.85;
  white-space: nowrap;
  color: #ffffff;
  pointer-events: none;
  z-index: 0;
}
.expertise__vertical-label::before {
  content: "Expertise";
  font-size: clamp(6rem, 14cqi, 18rem);
  display: block;
}
.expertise__inner {
  padding: 60px var(--offset) 60px calc(var(--offset) + 14vw);
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .expertise__inner { padding: 48px 24px; }
}


/* ─── MANDATE (vertikales Label) ──────────────────────────── */
.v-section { position: relative; overflow: hidden; }
.v-section__inner {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
}
.v-section__label-col {
  width: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  padding: 72px 0;
}
.v-section__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.v-section__content { flex: 1; padding: 72px 80px; }

.cards-grid { display: grid; gap: 2px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.mandate-card {
  padding: 40px 28px;
  border-top: 2px solid #fff;
  background: rgba(255,255,255,0.07);
}
.mandate-card__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}
.mandate-card__body {
  font-size: 14px;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 20px;
}
.mandate-card__link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: none;
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .v-section__inner { flex-direction: column; }
  .v-section__label-col { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 20px 24px; justify-content: flex-start; }
  .v-section__label { writing-mode: horizontal-tb; transform: none; }
  .v-section__content { padding: 40px 24px; }
  .cards-grid--2 { grid-template-columns: 1fr; }
}


/* ─── QUOTE ───────────────────────────────────────────────── */
.quote-section { position: relative; overflow: hidden; }
.quote-section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 80px;
  position: relative;
  z-index: 1;
}
.quote-section__quote {
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  max-width: 820px;
  border-left: 3px solid #fff;
  padding-left: 32px;
  margin-bottom: 20px;
}
.quote-section__attr {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  padding-left: 35px;
  font-style: normal;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) { .quote-section__inner { padding: 64px 24px; } }


/* ─── CTA BAND (heller Gradient-Bereich → dunkle Schrift) ── */
.cta-band { }
.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-band__heading {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.1;
}
.cta-band__sub {
  font-size: 15px;
  color: #000;
  line-height: 1.75;
  max-width: 500px;
}
@media (max-width: 768px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 64px 24px; }
}


/* ─── FOOTER – Davis Polk Layout ──────────────────────────── */
.site-footer { background: #000; color: #fff; }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 4rem;
}
.site-footer__main {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.site-footer__brand {
  flex-shrink: 0;
  width: 180px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  flex: 1;
}
.site-footer__col-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.site-footer__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  line-height: 1.8;
  position: relative;
  width: fit-content;
  padding-bottom: 1px;
}
.site-footer__link:hover { color: #fff; }
a.site-footer__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}
a.site-footer__link:hover::after { width: 100%; }
.site-footer__divider {
  border: none;
  border-top: 1.5px solid rgba(255,255,255,0.9);
  margin: 2.5rem 0;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .site-footer__main { flex-direction: column; gap: 40px; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { width: auto; }
}
@media (max-width: 480px) {
  .site-footer__cols { grid-template-columns: 1fr; }
  .site-footer__inner { padding: 40px 24px 28px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
}

/* ─── FOOTER – new classes ────────────────────────────────── */
.site-footer__logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-footer__top {
  margin-bottom: 0;
}
.site-footer__statement {
  padding: 32px 0;
}
.site-footer__statement p {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  max-width: 900px;
}
.site-footer__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-footer__col-text {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* ─── CONTENT/* ─── CONTENT PAGES (weiße Unterseiten) ──────────────────── */
.page--content main { background: #fff; }
.content-header {
  padding: 72px 80px 56px;
  border-bottom: 1px solid #e5e8f0;
  max-width: var(--max);
  margin: 0 auto;
}
.content-h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  color: #08080f;
  margin-bottom: 18px;
  line-height: 1.06;
  font-weight: 700;
}
.content-lead {
  font-size: 28px;
  color: #2a2a5a;
  line-height: 1.8;
  font-weight: 400;
  max-width: 680px;
}
.content-body { max-width: var(--max); margin: 0 auto; padding: 56px 80px; }
.content-body p { font-size: 16px; color: #222; line-height: 1.9; margin-bottom: 24px; max-width: 720px; }

@media (max-width: 768px) {
  .content-header { padding: 48px 24px 36px; }
  .content-body { padding: 36px 24px; }
}


/* ─── ANIMATIONEN ─────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }


/* ─── BERATUNGS-CTA ───────────────────────────────────────── */
.beratung {
  background: #0153FD;
  margin: 3rem var(--offset) 2rem var(--offset);
  transition: background 0.6s ease;
}
.beratung.is-visible {
  background: #ffffff;
}
.beratung__inner {
  padding: 64px 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.beratung__heading {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  min-width: 200px;
  transition: color 0.6s ease;
}
.beratung__text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  flex: 1;
  transition: color 0.6s ease;
}
.beratung .text-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.6s ease;
  position: relative;
  padding-bottom: 2px;
}
.beratung .text-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #ffffff;
  transition: width 0.25s ease;
}
.beratung.is-visible .text-link::after {
  background: #0153FD;
}
.beratung .text-link:hover::after {
  width: 100%;
}
.beratung.is-visible .beratung__heading,
.beratung.is-visible .beratung__text,
.beratung.is-visible .text-link {
  color: #0153FD;
}
@media (max-width: 768px) {
  .beratung {
    margin: 1.5rem 20px !important;
  }

  .beratung__inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 28px 24px !important;
    gap: 20px !important;
  }

  .beratung__heading {
    font-size: 22px !important;
    min-width: 0 !important;
  }

  .beratung__text {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
}


/* ─── MANDANTENSTIMMEN ────────────────────────────────────── */
.quotes { position: relative; overflow: hidden; }
.quotes__inner {
  padding: 80px var(--offset);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.quotes__heading {
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: #ffffff;
  position: sticky;
  top: 120px;
}
.quotes__right {
  max-width: 600px;
}
.quotes__item {
  position: relative;
  padding: 0 0 32px 0;
  border: none;
}
.quotes__item::before {
  content: '„';
  display: block;
  font-size: 80px;
  line-height: 1;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.quotes__text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: #ffffff;
  font-style: normal;
  margin-bottom: 18px;
}
.quotes__attr {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
}
@media (max-width: 768px) {
  .quotes__inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 48px 20px !important;
  }

  .quotes__heading {
    position: static !important;
    font-size: 22px !important;
  }

  .quotes__text {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  .quotes__item::before {
    font-size: 48px !important;
  }
}


/* ─── KONTAKTFORMULAR ─────────────────────────────────────── */
.kontakt-section {
  padding: 80px 0;
}
.kontakt-section__inner {
  padding: 0 var(--offset);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.kontakt-section__heading {
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: #111111;
  position: sticky;
  top: 120px;
}
.kontakt-section__sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #111111;
  margin-bottom: 2.5rem;
}
.kontakt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.kontakt-form__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.kontakt-form__label {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 0.5rem;
}
.kontakt-form__input,
.kontakt-form__textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.5);
  color: #111111;
  font-size: 17px;
  font-family: inherit;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.2s;
}
.kontakt-form__input:focus,
.kontakt-form__textarea:focus {
  border-bottom-color: #111111;
}
.kontakt-form__textarea {
  resize: none;
}
.kontakt-form__field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 2rem;
  width: 100%;
}
.kontakt-form__field--checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.kontakt-form__field--checkbox label {
  flex: 1 1 auto;
  margin: 0;
  line-height: 1.5;
}
.kontakt-form__field--checkbox label {
  font-size: 14px;
  color: #111111;
}
.kontakt-form__field--checkbox a {
  color: #111111;
  text-decoration: underline;
}
.kontakt-form__actions {
  display: flex;
  justify-content: flex-end;
}
.kontakt-form__submit {
  background: none;
  border: none;
  color: #111111;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0 0 2px 0;
  position: relative;
}
.kontakt-form__submit::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #111111;
  transition: width 0.25s ease;
}
.kontakt-form__submit:hover::after {
  width: 100%;
}
@media (max-width: 768px) {
  .kontakt-form__row { grid-template-columns: 1fr; }

  .kontakt-section {
    padding: 32px 0 !important;
  }

  .kontakt-section__inner {
    padding: 0 20px !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .kontakt-section__heading {
    position: static !important;
    font-size: 22px !important;
    color: #ffffff !important;
  }

  .kontakt-section__sub {
    font-size: 16px !important;
    color: #ffffff !important;
    margin-bottom: 1.5rem !important;
  }

  .kontakt-form__label {
    color: #ffffff !important;
  }

  .kontakt-form__input,
  .kontakt-form__textarea {
    color: #ffffff !important;
    border-bottom-color: rgba(255,255,255,0.5) !important;
    font-size: 16px !important;
  }

  .kontakt-form__input:focus,
  .kontakt-form__textarea:focus {
    border-bottom-color: #ffffff !important;
  }

  .kontakt-form__field--checkbox,
  .kontakt-form__field--checkbox label,
  .kontakt-form__field--checkbox a {
    color: #ffffff !important;
  }

  .kontakt-form__submit {
    color: #ffffff !important;
  }

  .site-footer__inner {
    padding: 48px 20px 32px !important;
  }

  .site-footer__main {
    flex-direction: column !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
  }

  .site-footer__brand {
    width: auto !important;
  }

  .site-footer__logo {
    height: 60px !important;
  }

  .site-footer__cols {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .site-footer__col-title {
    font-size: 12px !important;
    color: rgba(255,255,255,0.6) !important;
    margin-bottom: 12px !important;
  }

  .site-footer__link,
  .site-footer__col-text {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
  }

  .site-footer__link-list {
    gap: 8px !important;
  }

  .site-footer__statement {
    padding: 24px 0 !important;
  }

  .site-footer__statement p {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .site-footer__bottom {
    font-size: 13px !important;
    color: rgba(255,255,255,0.7) !important;
    gap: 6px !important;
    padding-top: 8px !important;
  }
}


/* ─── NEWS / AKTUELLES ────────────────────────────────────── */
.news { }
.news__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 80px;
}
.news__section-heading {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  color: #000 !important;
  margin-bottom: 40px;
  line-height: 1.1;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.news__card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.15);
  transition: background var(--t), border-color var(--t);
}
.news__card:hover { background: rgba(0,0,0,0.04); border-color: #000; }
.news__card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 12px;
}
.news__card-line {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.3);
  margin-bottom: 20px;
}
.news__card-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: #000 !important;
  line-height: 1.15;
  margin-bottom: 12px;
}
.news__card-excerpt {
  font-size: 14px;
  color: #333;
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}
.news__card-link {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.06em;
  margin-top: auto;
}

@media (max-width: 768px) {
  .news__inner { padding: 56px 24px; }
  .news__grid { grid-template-columns: 1fr; }
  .news__card { padding: 28px 24px; }
}


/* === AKTUELLES — 3-column bordered cards === */
.aktuelles-section {
  padding: 0;
}
.aktuelles-inner {
  padding: 80px var(--offset);
  max-width: none;
  margin: 0;
}
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
}
.expertise__inner .section-eyebrow {
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: none;
  margin-bottom: 2rem;
}
.aktuelles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: none;
}
.aktuelles-card {
  border: none;
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aktuelles-card:first-child {
  padding-left: 0;
}
.aktuelles-card:last-child {
  border-right: none;
  padding-right: 0;
}
.aktuelles-card__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}
.aktuelles-card__headline {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
  flex-grow: 1;
}
.aktuelles-card__link {
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.aktuelles-card__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #111111;
  transition: width 0.25s ease;
}
.aktuelles-card__link:hover::after { width: 100%; }
.aktuelles-section .section-eyebrow {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #111111;
  text-transform: none;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .aktuelles-grid { grid-template-columns: 1fr; }
}


/* === GIANT WORDMARK === */
.giant-wordmark-section {
  overflow: hidden;
  padding: 0;
  line-height: 0.82;
}
.giant-wordmark {
  display: flex;
  flex-direction: column;
  font-size: clamp(5rem, 17vw, 17rem);
  font-weight: 900;
  color: #fff;
  padding: 2rem 1.5rem;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  pointer-events: none;
}


/* === MANDATE LIST === */
.mandate-section {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  padding: 0;
  margin-bottom: 2rem;
}
.mandate-section__vertical-label {
  position: absolute;
  top: 60px;
  right: var(--offset);
  display: flex;
  writing-mode: vertical-rl;
  font-weight: 700;
  line-height: 0.85;
  white-space: nowrap;
  color: #ffffff;
  pointer-events: none;
  z-index: 0;
}
.mandate-section__vertical-label::before {
  content: "Mandate";
  font-size: clamp(6rem, 14cqi, 18rem);
  display: block;
}
.mandate-inner {
  padding: 60px calc(var(--offset) + 240px) 60px var(--offset);
  position: relative;
  z-index: 1;
}
.mandate-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: none;
}
.mandate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #FFFFFF;
  padding: 4rem 2.5rem;
  gap: 2rem;
}
.mandate-item__left {
  flex: 1;
  max-width: 70%;
}
.mandate-item__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: #fff;
  margin: 0 0 0.75rem 0;
}
.mandate-item__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
  margin: 0;
}
.mandate-item__link {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 2px;
}
.mandate-item__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}
.mandate-item__link:hover::after { width: 100%; }
.mandate-inner .section-eyebrow {
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: none;
}
@media (max-width: 600px) {
  .mandate-item { flex-direction: column; gap: 0.75rem; }
  .mandate-item__title { max-width: 100%; }
}

.site-header__logo {
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  display: flex !important;
  align-items: center;
  gap: 0.55em;
}

.logo-kanzlei {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.logo-beyer {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

/* === SCROLL ANIMATIONS === */
.hero__h1,
.tagline-band__text,
.intro__text,
.section-eyebrow,
.quotes__item,
.kontakt-section__heading,
.kontakt-section__sub,
.aktuelles-card,
.leitlinien__box {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tagline-band__line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease;
}
.is-visible {
  opacity: 1 !important;
}
.hero__h1.is-visible,
.tagline-band__text.is-visible,
.intro__text.is-visible,
.section-eyebrow.is-visible,
.quotes__item.is-visible,
.kontakt-section__heading.is-visible,
.kontakt-section__sub.is-visible,
.aktuelles-card.is-visible,
.leitlinien__box.is-visible {
  transform: translateY(0) !important;
}
.tagline-band__line.is-visible {
  transform: scaleX(1) !important;
}

.slide-from-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-from-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-from-left.is-visible,
.slide-from-right.is-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .slide-from-left,
  .slide-from-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Einheitlicher Pfeil für Action-Links */
.text-link,
.intro__link,
.expertise__item-link,
.mandate-item__link,
.aktuelles-card__link,
.kontakt-form__submit {
  padding-right: 1.25em;
  position: relative;
}

.text-link::before,
.intro__link::before,
.expertise__item-link::before,
.mandate-item__link::before,
.aktuelles-card__link::before,
button.kontakt-form__submit::before {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.text-link:hover::before,
.intro__link:hover::before,
.expertise__item-link:hover::before,
.mandate-item__link:hover::before,
.aktuelles-card__link:hover::before,
button.kontakt-form__submit:hover::before {
  transform: translate(4px, -50%);
}

/* Mandate-Box Hover */
.mandate-item {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.mandate-item__title {
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .mandate-item:hover {
    border-color: rgba(255, 255, 255, 1) !important;
    background-color: rgba(255, 255, 255, 0.03);
  }

  .mandate-item:hover .mandate-item__title {
    transform: translateX(4px);
  }
}

/* Page-Load-Stagger für Hero-Bereich */
.pl-stagger {
  opacity: 0;
  transform: translateY(16px);
  animation: plFadeUp 0.8s ease forwards;
}

.pl-stagger-1 { animation-delay: 0.1s; }
.pl-stagger-2 { animation-delay: 0.3s; }
.pl-stagger-3 { animation-delay: 0.5s; }
.pl-stagger-4 { animation-delay: 0.7s; }
.pl-stagger-5 { animation-delay: 0.9s; }

@keyframes plFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-stagger {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* ==========================================================================
   KOMPETENZEN-SEITE
   ========================================================================== */

/* HERO */
.kompetenzen-hero {
  position: relative;
  padding: 120px var(--offset) 60px;
  background: #ffffff;
}

.vertical-label-kompetenzen {
  position: absolute;
  top: 100px;
  left: var(--offset);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--blue);
  pointer-events: none;
  z-index: 0;
}
.vertical-label-kompetenzen::before {
  content: "Expertise";
  display: block;
  font-size: clamp(3rem, 5vw, 6rem);
}

@media (max-width: 1000px) {
  .vertical-label-kompetenzen {
    display: none !important;
  }
  body.page--content .kompetenzen-hero,
  body.page--content .kompetenzen-intro,
  body.page--content .gebiet,
  body.page--content .festpreis,
  body.page--content .kompetenzen-cta {
    padding-left: var(--offset);
    padding-right: var(--offset);
  }
}

.kompetenzen-hero .breadcrumb {
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  margin-bottom: 32px;
}

.kompetenzen-hero .breadcrumb a {
  color: rgba(0,0,0,0.45);
  text-decoration: none;
}

.kompetenzen-hero .breadcrumb a:hover {
  color: var(--blue);
}

.kompetenzen-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 24px;
}

.kompetenzen-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(0,0,0,0.6);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

/* EINLEITUNG */
.kompetenzen-intro {
  padding: 60px var(--offset);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.kompetenzen-intro p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(0,0,0,0.65);
  max-width: 780px;
  line-height: 1.7;
  margin: 0;
}

/* RECHTSGEBIETE */
.gebiet {
  padding: 60px var(--offset);
}

.gebiet h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 16px;
}

.gebiet .beschreibung {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(0,0,0,0.6);
  max-width: 680px;
  line-height: 1.65;
  margin: 0 0 48px;
}

/* ACCORDION */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.accordion {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.accordion-header:hover {
  color: var(--blue);
}

.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 16px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.accordion-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion.open .accordion-content {
  max-height: 600px;
}

.accordion-inner {
  padding: 0 0 24px;
}

.accordion-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-inner li {
  font-size: clamp(0.875rem, 1.2vw, 0.95rem);
  color: rgba(0,0,0,0.7);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}

.accordion-inner li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(0,0,0,0.35);
}

/* FESTPREIS */
.festpreis {
  padding: 60px var(--offset) 40px;
}

.festpreis h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 16px;
}

.festpreis-intro {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(0,0,0,0.6);
  max-width: 620px;
  line-height: 1.65;
  margin: 0 0 48px;
}

.festpreis-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.festpreis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 60px;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid #000;
  background: #fff;
  transition: background 0.3s, color 0.3s, padding-left 0.3s;
}

.festpreis-row:last-child {
  border-bottom: 1px solid #000;
}

.festpreis-row:hover {
  background: var(--blue);
  color: #fff;
  padding-left: 80px;
}

.festpreis-row:hover h3,
.festpreis-row:hover .festpreis-row-pfeil {
  color: #fff;
}

.festpreis-row-content {
  flex: 1;
  max-width: 800px;
}

.festpreis-row h3 {
  color: #000;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.festpreis-row p {
  font-size: 17px;
  line-height: 1.5;
  color: #333;
  max-width: 700px;
}

.festpreis-row:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.festpreis-row-pfeil {
  color: #000;
  font-size: 28px;
  flex-shrink: 0;
  margin-left: 32px;
  transition: transform 0.3s;
}

.festpreis-row:hover .festpreis-row-pfeil {
  transform: translateX(8px);
}

/* CTA */
.kompetenzen-cta {
  padding: 40px var(--offset) 80px calc(var(--offset) + 345px);
  background: #fff;
}

.kompetenzen-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.kompetenzen-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.kompetenzen-cta-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e8f0;
}

.kompetenzen-cta-text {
  display: block;
}

.kompetenzen-cta-text h2 {
  color: var(--blue);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.kompetenzen-cta-text p {
  color: #333;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}

.kompetenzen-cta-link {
  color: var(--blue);
  font-size: 17px;
}
.kompetenzen-cta-link::after {
  background: var(--blue);
}

.kompetenzen-cta-kontakt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--blue);
  padding-left: 32px;
}

.kompetenzen-cta-kontakt .name {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.kompetenzen-cta-kontakt .titel {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.kompetenzen-cta-kontakt a {
  color: var(--blue);
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.kompetenzen-cta-kontakt a:hover {
  opacity: 0.7;
}

.kompetenzen-cta-kontakt .adresse {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 16px;
}

.kompetenzen-hero,
.gebiet,
.festpreis {
  position: relative;
}

body.page--content .kompetenzen-hero::after,
body.page--content .gebiet::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--offset) + 345px);
  right: var(--offset);
  height: 1px;
  background: rgba(0,0,0,0.08);
}

/* KOMPETENZEN MOBILE */
@media (max-width: 768px) {
  .kompetenzen-hero {
    padding: 40px 20px 32px;
  }

  .kompetenzen-hero h1 {
    font-size: 2.4rem;
  }

  .kompetenzen-intro {
    padding: 48px 20px;
  }

  .gebiet {
    padding: 32px 20px;
  }

  .festpreis {
    padding: 32px 20px 24px;
  }

  .festpreis-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 20px;
  }
  .festpreis-row:hover {
    padding-left: 20px;
  }
  .festpreis-row h3 {
    font-size: 24px;
  }
  .festpreis-row-content {
    width: 100%;
  }
  .festpreis-row-pfeil {
    margin-left: 0;
    align-self: flex-end;
    font-size: 24px;
  }

  .kompetenzen-cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .accordion-header {
    font-size: 0.95rem;
  }

  .kompetenzen-cta {
    padding: 24px var(--offset) 32px;
  }
  .kompetenzen-cta-actions {
    margin-top: 32px;
    padding-top: 24px;
  }
}

/* ==========================================================================
   UNTERSEITEN: Content-Einzug für vertikales Label
   ========================================================================== */

body.page--content .kompetenzen-hero,
body.page--content .kompetenzen-intro,
body.page--content .gebiet,
body.page--content .festpreis {
  padding-left: calc(var(--offset) + 345px);
}

@media (max-width: 1000px) {
  body.page--content .kompetenzen-hero,
  body.page--content .kompetenzen-intro,
  body.page--content .gebiet,
  body.page--content .festpreis {
    padding-left: var(--offset);
    padding-right: var(--offset);
  }

  body.page--content .kompetenzen-hero::after,
  body.page--content .gebiet::after {
    left: var(--offset);
    right: var(--offset);
  }
}

/* ============================================
   FESTPREIS-SEITE
   ============================================ */

.festpreis-hero,
.festpreis-ablauf,
.festpreis-verguetung,
.festpreis-leistungen,
.festpreis-cta {
  position: relative;
}

.festpreis-content {
  padding-left: calc(var(--offset) + 345px);
  padding-right: var(--offset);
}

.festpreis-label {
  position: absolute;
  top: 60px;
  left: var(--offset);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 6rem);
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1;
}

.festpreis-hero {
  padding: 120px 0 60px;
}

.festpreis-hero .breadcrumb {
  font-size: 0.875rem;
  color: #6b6f7a;
  margin-bottom: 32px;
}

.festpreis-hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.festpreis-hero .breadcrumb a:hover {
  color: var(--blue);
}

.festpreis-hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 32px;
}

.festpreis-subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #4a4f5a;
  max-width: 720px;
  margin: 0;
}

.festpreis-ablauf {
  padding: 60px 0;
}

.festpreis-ablauf h2,
.festpreis-verguetung h2,
.festpreis-leistungen h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0 0 32px;
}

.festpreis-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 32px;
}

.festpreis-step {
  position: relative;
}

.festpreis-step-num {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.festpreis-step h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--black);
  margin: 0 0 16px;
}

.festpreis-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4f5a;
  margin: 0;
}

.festpreis-note {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b6f7a;
  max-width: 760px;
  margin: 24px 0 0;
}

.festpreis-verguetung {
  padding: 60px 0;
}

.festpreis-verguetung h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--black);
  margin: 0 0 16px;
}

.festpreis-verguetung > .festpreis-content > p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4a4f5a;
  margin: 0 0 32px;
  max-width: 760px;
}

.festpreis-verguetung-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  max-width: 900px;
}

.festpreis-verguetung-list dt {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.festpreis-verguetung-list dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
}

.festpreis-leistungen {
  padding: 60px 0;
}

.festpreis-leistungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.festpreis-leistungen-block h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--black);
  margin: 0 0 16px;
}

.festpreis-leistungen-block > p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4f5a;
  margin: 0 0 24px;
}

.festpreis-leistungen-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.festpreis-leistungen-block li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
}

.festpreis-leistungen-block li:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.festpreis-leistungen-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 1px;
  background: var(--blue);
}

.festpreis-leistungen-block--nicht li::before {
  background: #b0b4bd;
}

.festpreis-cta {
  padding: 40px 0 80px;
}

.festpreis-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 32px;
}

.festpreis-cta-text h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin: 0;
}

.festpreis-cta-kontakt {
  border-left: 2px solid var(--blue);
  padding-left: 32px;
}

.festpreis-cta-kontakt p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4f5a;
  margin: 0;
}

.festpreis-cta-actions {
  border-top: 1px solid #e5e8f0;
  padding-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.festpreis-cta-link {
  color: var(--blue);
  font-weight: 700;
}

.festpreis-cta-link::after {
  background: var(--blue);
}

/* Trennlinien per ::after, damit sie nicht durch das vertikale Label laufen */
body.page--content .festpreis-hero::after,
body.page--content .festpreis-ablauf::after,
body.page--content .festpreis-verguetung::after,
body.page--content .festpreis-leistungen::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--offset) + 345px);
  right: var(--offset);
  height: 1px;
  background: rgba(0,0,0,0.08);
}

/* ============================================
   FESTPREIS-SEITE — MOBILE
   ============================================ */

@media (max-width: 1000px) {
  .festpreis-label {
    display: none;
  }

  .festpreis-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .festpreis-hero {
    padding: 40px 0 32px;
  }
  .festpreis-hero h1 {
    font-size: 2rem;
  }

  .festpreis-ablauf,
  .festpreis-verguetung,
  .festpreis-leistungen {
    padding: 20px 0;
  }

  .festpreis-cta {
    padding: 24px 0 32px;
  }

  .festpreis-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .festpreis-verguetung-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .festpreis-verguetung-list dt {
    margin-bottom: 4px;
  }
  .festpreis-verguetung-list dd + dt {
    margin-top: 16px;
  }
  .festpreis-verguetung-list {
    gap: 0;
  }

  .festpreis-leistungen-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .festpreis-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .festpreis-cta-kontakt {
    border-left: none;
    border-top: 1px solid var(--blue);
    padding-left: 0;
    padding-top: 24px;
  }

  body.page--content .festpreis-hero::after,
  body.page--content .festpreis-ablauf::after,
  body.page--content .festpreis-verguetung::after,
  body.page--content .festpreis-leistungen::after {
    left: 20px;
    right: 20px;
  }
}

/* ============================================
   PROFIL-SEITE
   ============================================ */

body.page--profil {
  background: #ffffff;
}

.profil-hero {
  position: relative;
  padding: 120px 0 200px;
  background: #140BE3;
  color: #ffffff;
  overflow: hidden;
}

.profil-label {
  position: absolute;
  top: 60px;
  left: var(--offset);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 6rem);
  color: #99D6FF;
  letter-spacing: -0.02em;
  line-height: 1;
}

.profil-hero-content {
  padding-left: calc(var(--offset) + 345px);
  padding-right: var(--offset);
}

.profil-hero-content .breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}

.profil-hero-content .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.profil-hero-content .breadcrumb a:hover {
  color: #ffffff;
}

.profil-hero-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.profil-hero-foto {
  margin: 0;
}

.profil-hero-name,
.profil-hero-text h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 24px;
}

.profil-rolle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px;
}

.profil-standort {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
}

.profil-kontakt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}

.profil-kontakt a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color var(--t);
}

.profil-kontakt a:hover {
  border-color: #ffffff;
}

.profil-hero-foto {
  display: flex;
  justify-content: flex-start;
}

.profil-foto-platzhalter {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── PROFIL: BLUE HERO (Davis-Polk-Stil) ─────────────── */
.profil-hero.is-blue {
  background: #140BE3;
  color: #fff;
  padding-top: 120px;
}
.profil-hero.is-blue .breadcrumb,
.profil-hero.is-blue .breadcrumb a,
.profil-hero.is-blue .breadcrumb span,
.profil-hero.is-blue .profil-hero-name,
.profil-hero.is-blue .profil-rolle,
.profil-hero.is-blue .profil-standort,
.profil-hero.is-blue .profil-kontakt a {
  color: #fff;
}
.profil-hero.is-blue .profil-label {
  color: #99D6FF;
}
.profil-hero.is-blue .profil-foto-platzhalter {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Header transparent über Profil-Hero */
body:has(.profil-hero.is-blue) .site-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
body:has(.profil-hero.is-blue) .site-header__logo,
body:has(.profil-hero.is-blue) .logo-kanzlei,
body:has(.profil-hero.is-blue) .logo-beyer,
body:has(.profil-hero.is-blue) .site-header__nav-link,
body:has(.profil-hero.is-blue) .site-header__search {
  color: #fff;
}
body:has(.profil-hero.is-blue) .site-header__burger span {
  background: #fff;
}

.profil-content {
  padding-left: calc(var(--offset) + 345px);
  padding-right: var(--offset);
  position: relative;
}

.profil-lead,
.profil-arbeitsweise,
.profil-vertrauen,
.profil-medien,
.profil-cta {
  position: relative;
}

.profil-lead {
  padding: 80px 0 60px;
}

.profil-lead h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin: 0 0 32px;
  max-width: 900px;
}

.profil-lead p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--black);
  margin: 0;
  max-width: 800px;
}

.profil-arbeitsweise {
  padding: 60px 0;
}

.profil-arbeitsweise h2,
.profil-vertrauen h2,
.profil-medien h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0 0 32px;
}

.profil-arbeitsweise p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4f5a;
  margin: 0 0 16px;
  max-width: 800px;
}

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

.profil-vertrauen {
  padding: 60px 0;
}

.profil-vertrauen-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.profil-vertrauen-punkt {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  align-items: baseline;
}

.profil-vertrauen-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.profil-vertrauen-punkt:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.profil-vertrauen-punkt h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--blue);
  margin: 0;
}

.profil-vertrauen-punkt p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  margin: 0;
}

.profil-medien {
  padding: 60px 0;
}

.profil-medien-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  margin: 0 0 32px;
  max-width: 800px;
}

.profil-medien-figure {
  margin: 0;
  max-width: 1100px;
}

.profil-medien-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.profil-medien-figure figcaption {
  font-size: 0.95rem;
  color: #6b6f7a;
  margin-top: 16px;
  line-height: 1.5;
}

.profil-werdegang {
  position: relative;
  padding: 60px 0;
}

.profil-werdegang h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0 0 32px;
}

.profil-werdegang-list {
  display: flex;
  flex-direction: column;
}

.profil-werdegang-panel {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.profil-werdegang-panel:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.profil-werdegang-panel summary {
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  gap: 48px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color var(--t);
}

.profil-werdegang-panel summary::-webkit-details-marker {
  display: none;
}

.profil-werdegang-panel summary:hover .profil-werdegang-title {
  color: var(--blue);
}

.profil-werdegang-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.profil-werdegang-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--black);
  transition: color var(--t);
}

.profil-werdegang-icon {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--blue);
  text-align: right;
  transition: transform var(--t);
}

.profil-werdegang-panel[open] .profil-werdegang-icon {
  transform: rotate(45deg);
}

.profil-werdegang-panel[open] .profil-werdegang-title {
  color: var(--blue);
}

.profil-werdegang-body {
  padding: 0 0 24px calc(60px + 48px);
}

.profil-werdegang-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profil-werdegang-body li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--black);
  position: relative;
  padding-left: 20px;
}

.profil-werdegang-body li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.profil-cta {
  padding: 40px 0 80px;
}

.profil-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 32px;
}

.profil-cta-text h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin: 0;
}

.profil-cta-kontakt {
  border-left: 2px solid var(--blue);
  padding-left: 32px;
}

.profil-cta-kontakt p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4f5a;
  margin: 0;
}

.profil-cta-actions {
  border-top: 1px solid #e5e8f0;
  padding-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.profil-cta-link {
  color: var(--blue);
  font-weight: 700;
}

.profil-cta-link::after {
  background: var(--blue);
}

/* Trennlinien zwischen Sections */
body.page--profil .profil-lead::after,
body.page--profil .profil-arbeitsweise::after,
body.page--profil .profil-vertrauen::after,
body.page--profil .profil-medien::after,
body.page--profil .profil-werdegang::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--offset) + 345px);
  right: var(--offset);
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

/* ============================================
   PROFIL-SEITE — MOBILE
   ============================================ */

@media (max-width: 1000px) {
  .profil-label {
    display: none;
  }

  .profil-hero {
    padding: 40px 0 60px;
    background: #140BE3;
  }

  .profil-hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .profil-hero-content .breadcrumb {
    display: none;
  }

  .profil-hero-card {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .profil-hero-name {
    margin-bottom: 28px;
    order: 1;
  }

  .profil-hero-foto {
    margin: 0 0 32px;
    order: 2;
  }

  .profil-hero-text {
    display: contents;
  }

  .profil-hero-foto {
    width: 100%;
  }

  .profil-rolle,
  .profil-standort,
  .profil-kontakt {
    order: 3;
  }

  .profil-foto-platzhalter {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
  }

  .profil-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .profil-lead {
    padding: 40px 0 32px;
  }

  .profil-lead h2 {
    font-size: 1.75rem;
  }

  .profil-arbeitsweise,
  .profil-vertrauen,
  .profil-medien {
    padding: 24px 0;
  }

  .profil-vertrauen-punkt {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profil-vertrauen-num {
    font-size: 0.875rem;
  }

  .profil-cta {
    padding: 24px 0 40px;
  }

  .profil-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profil-cta-kontakt {
    border-left: none;
    border-top: 1px solid var(--blue);
    padding-left: 0;
    padding-top: 24px;
  }

  body.page--profil .profil-lead::after,
  body.page--profil .profil-arbeitsweise::after,
  body.page--profil .profil-vertrauen::after,
  body.page--profil .profil-medien::after,
  body.page--profil .profil-werdegang::after {
    left: 20px;
    right: 20px;
  }

  .profil-werdegang {
    padding: 24px 0;
  }

  .profil-werdegang-panel summary {
    grid-template-columns: 40px 1fr 24px;
    gap: 16px;
    padding: 20px 0;
  }

  .profil-werdegang-body {
    padding: 0 0 20px 56px;
  }
}

/* ============================================
   AKTUELLES — ÜBERSICHT
   ============================================ */

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

.aktuelles-hero,
.aktuelles-filter,
.aktuelles-list {
  position: relative;
}

.aktuelles-content {
  padding-left: calc(var(--offset) + 345px);
  padding-right: var(--offset);
  position: relative;
}

.aktuelles-label {
  position: absolute;
  top: 60px;
  left: var(--offset);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 6rem);
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1;
}

.aktuelles-hero {
  padding: 120px 0 40px;
}

.aktuelles-hero .breadcrumb {
  font-size: 0.875rem;
  color: #6b6f7a;
  margin-bottom: 32px;
}

.aktuelles-hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.aktuelles-hero .breadcrumb a:hover {
  color: var(--blue);
}

.aktuelles-hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 24px;
}

.aktuelles-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--blue);
  max-width: 720px;
  margin: 0;
}

.aktuelles-filter {
  padding: 32px 0 24px;
}

.aktuelles-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.aktuelles-filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.aktuelles-filter-btn {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--black);
  cursor: pointer;
  border-radius: 0;
  transition: background var(--t), color var(--t), border-color var(--t);
}

.aktuelles-filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.aktuelles-filter-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.aktuelles-search {
  flex: 0 1 320px;
}

.aktuelles-search input {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 10px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  border-radius: 0;
  color: var(--black);
  transition: border-color var(--t);
}

.aktuelles-search input:focus {
  outline: none;
  border-color: var(--blue);
}

.aktuelles-search input::placeholder {
  color: #8a8f99;
}

.aktuelles-list {
  padding: 24px 0 80px;
}

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

.aktuelles-item {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.aktuelles-item:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.aktuelles-item-link {
  display: block;
  padding: 28px 0;
  text-decoration: none;
  color: inherit;
  transition: padding-left var(--t);
}

.aktuelles-item-link:hover {
  padding-left: 16px;
}

.aktuelles-item-link:hover .aktuelles-item-title {
  color: var(--blue);
}

.aktuelles-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.aktuelles-item-divider {
  color: rgba(0,0,0,0.2);
  font-weight: 400;
}

.aktuelles-item-kategorie {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.aktuelles-item-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--black);
  margin: 0 0 12px;
  transition: color var(--t);
}

.aktuelles-item-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: #4a4f5a;
  margin: 0;
  max-width: 800px;
}

.aktuelles-empty {
  padding: 40px 0;
  font-size: 1rem;
  color: #6b6f7a;
  text-align: center;
}

/* ============================================
   AKTUELLES — EINZELSEITE
   ============================================ */

.aktuelles-single-hero,
.aktuelles-single-body,
.aktuelles-single-footer {
  position: relative;
}

.aktuelles-single-hero {
  padding: 120px 0 40px;
}

.aktuelles-single-hero .breadcrumb {
  font-size: 0.875rem;
  color: #6b6f7a;
  margin-bottom: 32px;
}

.aktuelles-single-hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.aktuelles-single-hero .breadcrumb a:hover {
  color: var(--blue);
}

.aktuelles-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.aktuelles-single-divider {
  color: rgba(0,0,0,0.2);
  font-weight: 400;
}

.aktuelles-single-kategorie {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.aktuelles-single-hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 24px;
  max-width: 900px;
}

.aktuelles-single-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--blue);
  font-weight: 500;
  max-width: 800px;
  margin: 0;
}

.aktuelles-single-body {
  padding: 40px 0 60px;
}

.aktuelles-article {
  max-width: 760px;
}

.aktuelles-article h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--black);
  margin: 40px 0 16px;
}

.aktuelles-article h2:first-child {
  margin-top: 0;
}

.aktuelles-article h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--black);
  margin: 28px 0 12px;
}

.aktuelles-article p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 16px;
}

.aktuelles-article ul,
.aktuelles-article ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.aktuelles-article li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 6px;
}

.aktuelles-article strong {
  font-weight: 700;
}

.aktuelles-article em {
  font-style: italic;
}

.aktuelles-article a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aktuelles-article a:hover {
  color: var(--blue-dark);
}

.aktuelles-single-footer {
  padding: 40px 0 80px;
}

.aktuelles-single-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
  align-items: end;
}

.aktuelles-single-author-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 0 0 8px;
}

.aktuelles-single-author-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--black);
  margin: 0 0 2px;
}

.aktuelles-single-author-rolle {
  font-size: 0.95rem;
  color: #4a4f5a;
  margin: 0;
}

.aktuelles-single-back {
  display: flex;
  justify-content: flex-end;
}

.aktuelles-single-back a {
  color: var(--blue);
  font-weight: 700;
}

.aktuelles-single-back a::after {
  background: var(--blue);
}

body.page--content .aktuelles-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(var(--offset) + 345px);
  right: var(--offset);
  height: 1px;
  background: rgba(0,0,0,0.08);
}

/* ============================================
   AKTUELLES — MOBILE
   ============================================ */

@media (max-width: 1000px) {
  .aktuelles-label {
    display: none;
  }

  .aktuelles-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .aktuelles-hero {
    padding: 40px 0 24px;
  }

  .aktuelles-hero h1 {
    font-size: 2.25rem;
  }

  .aktuelles-lead {
    font-size: 1.0625rem;
  }

  .aktuelles-filter {
    padding: 20px 0 16px;
  }

  .aktuelles-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .aktuelles-filter-btn {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.875rem;
  }

  .aktuelles-search {
    flex: 1;
  }

  .aktuelles-list {
    padding: 16px 0 40px;
  }

  .aktuelles-item-link {
    padding: 24px 0;
  }

  .aktuelles-item-link:hover {
    padding-left: 0;
  }

  .aktuelles-item-title {
    font-size: 1.25rem;
  }

  .aktuelles-single-hero {
    padding: 40px 0 24px;
  }

  .aktuelles-single-hero h1 {
    font-size: 1.75rem;
  }

  .aktuelles-single-lead {
    font-size: 1.0625rem;
  }

  .aktuelles-single-body {
    padding: 24px 0 32px;
  }

  .aktuelles-article h2 {
    font-size: 1.25rem;
    margin-top: 32px;
  }

  .aktuelles-single-footer {
    padding: 24px 0 40px;
  }

  .aktuelles-single-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 1000px) {
  .aktuelles-single-back {
    justify-content: flex-start;
  }

  body.page--content .aktuelles-hero::after {
    left: 20px;
    right: 20px;
  }
}

/* ============================================================
   KONTAKT-SEITE (Davis-Polk-Reinform)
   ============================================================ */

/* HERO */
.page--kontakt .kontakt-hero {
  position: relative;
  background: #fff;
  padding: 140px var(--offset) 100px;
  overflow: hidden;
}
.page--kontakt .kontakt-hero .section-label-vertical {
  position: absolute;
  top: 60px;
  left: var(--offset);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin: 0;
  pointer-events: none;
  user-select: none;
}
.kontakt-hero__inner {
  position: relative;
  max-width: 900px;
  margin-left: clamp(120px, 18vw, 280px);
}
.kontakt-hero__breadcrumb {
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 32px;
  font-weight: 400;
}
.kontakt-hero__breadcrumb span {
  margin: 0 6px;
  color: rgba(0, 0, 0, 0.35);
}
.kontakt-hero__intro {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.5;
  color: var(--black);
  font-weight: 400;
  margin: 0;
  max-width: 720px;
  letter-spacing: -0.005em;
}

/* MAIN: Daten + Formular */
.kontakt-main {
  background: #fff;
  padding: 60px var(--offset) 120px;
}
.kontakt-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 100px;
  align-items: start;
  margin-left: clamp(120px, 18vw, 280px);
}

/* INFO-Spalte */
.kontakt-info__block {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.kontakt-info__block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.kontakt-info__title {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  margin: 0 0 18px;
}
.kontakt-info__row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 8px;
  font-size: 1.0625rem;
}
.kontakt-info__label {
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  min-width: 64px;
  flex-shrink: 0;
}
.kontakt-info__value {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t);
}
.kontakt-info__value:hover {
  color: var(--blue);
}
.kontakt-info__hint {
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.62);
  margin: 14px 0 0;
  line-height: 1.55;
}
.kontakt-info__address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  margin: 0;
}
.kontakt-info__maps {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--t);
}
.kontakt-info__maps:hover {
  opacity: 0.6;
}

/* FORMULAR */
.kontakt-form__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--black);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.kontakt-form__sub {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin: 0 0 44px;
  font-weight: 600;
}
.kontakt-form__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.kontakt-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kontakt-form__field label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
  font-weight: 600;
}
.kontakt-form__optional {
  text-transform: none;
  letter-spacing: normal;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.8125rem;
  font-weight: 400;
}
.kontakt-form__req {
  color: var(--blue);
  margin-left: 2px;
}
.kontakt-form__field input,
.kontakt-form__field textarea {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  padding: 12px 0;
  font-family: var(--font), sans-serif;
  font-size: 1.0625rem;
  color: var(--black);
  width: 100%;
  transition: border-color var(--t);
}
.kontakt-form__field input:focus,
.kontakt-form__field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
.kontakt-form__field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.kontakt-form__field input::placeholder,
.kontakt-form__field textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}
.kontakt-form__check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.kontakt-form__check input[type="checkbox"] {
  margin-top: 5px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}
.kontakt-form__check label {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  cursor: pointer;
}
.kontakt-form__check label a {
  color: var(--blue);
  text-decoration: underline;
}
button.kontakt-form__submit {
  margin-top: 20px;
  background: transparent;
  color: #111111;
  border: none;
  border-radius: 0;
  padding: 6px 1.25em 6px 0;
  font-family: var(--font), sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color var(--t);
  width: auto;
  min-width: 0;
  max-width: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  align-self: flex-end;
  box-shadow: none;
  text-transform: none;
  text-align: left;
  line-height: 1.2;
  height: auto;
}
button.kontakt-form__submit:hover {
  background: transparent;
}

/* MOBILE */
@media (max-width: 1000px) {
  .page--kontakt .kontakt-hero {
    padding: 100px 20px 60px;
  }
  .kontakt-hero__inner,
  .kontakt-main__inner,
  .kontakt-parkplatz__inner {
    margin-left: 0;
  }
  .kontakt-main,
  .kontakt-parkplatz {
    padding: 60px 20px;
  }
  .kontakt-main__inner,
  .kontakt-parkplatz__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ─── STICKY HEADER: HIDE ON SCROLL DOWN ─────────────── */
.site-header {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header--hidden {
  transform: translateY(-100%);
}

/* ─── VERTIKALE LABELS: EINHEITLICH (96px, top 120px) ─── */
.profil-label,
.aktuelles-label,
.festpreis-label,
.vertical-label-kompetenzen,
.page--kontakt .kontakt-hero .section-label-vertical {
  top: 120px !important;
  font-size: 96px !important;
  line-height: 0.85 !important;
}
.vertical-label-kompetenzen::before {
  font-size: 96px !important;
}

/* Hero-Padding einheitlich */
.page--kontakt .kontakt-hero {
  padding-top: 120px !important;
}
/* Kontakt-Hero: overflow erlauben, sonst wird das vertikale Label abgeschnitten */
.page--kontakt .kontakt-hero {
  overflow: visible !important;
}

/* ============================================================
   IMPRESSUM + DATENSCHUTZ (Davis-Polk-Reinform, schwarzer Hero)
   ============================================================ */

.impressum-hero.is-black,
.datenschutz-hero.is-black {
  position: relative;
  background: #000;
  color: #fff;
  padding: 180px var(--offset) 100px;
  overflow: visible;
}

.impressum-label,
.datenschutz-label {
  position: absolute;
  top: 120px;
  left: var(--offset);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.impressum-hero-content,
.datenschutz-hero-content {
  position: relative;
  margin-left: 0;
  max-width: 1100px;
}

.impressum-hero-content .breadcrumb,
.datenschutz-hero-content .breadcrumb {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
}
.impressum-hero-content .breadcrumb a,
.datenschutz-hero-content .breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.impressum-hero-content .breadcrumb span,
.datenschutz-hero-content .breadcrumb span {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.35);
}

.impressum-hero-intro,
.datenschutz-hero-intro {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin: 0;
  max-width: 720px;
  letter-spacing: -0.005em;
}

/* BODY mit Lesefluss-Container */
.impressum-body,
.datenschutz-body {
  background: #fff;
  padding: 80px var(--offset) 120px;
}

.impressum-body .legal-content,
.datenschutz-body .legal-content {
  margin-left: 0;
  max-width: 720px;
}

.legal-content {
  max-width: 720px;
  margin-left: clamp(120px, 18vw, 280px);
  color: var(--black);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 56px 0 16px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 32px 0 8px;
  color: var(--black);
}
.legal-content p {
  margin: 0 0 16px;
}
.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-content ul li {
  margin: 0 0 8px;
}
.legal-content a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 11, 227, 0.25);
  transition: border-color 0.2s ease;
}
.legal-content a:hover {
  border-bottom-color: var(--blue);
}
.legal-content strong {
  font-weight: 700;
}

/* Header transparent über schwarzem Hero */
body:has(.impressum-hero.is-black) .site-header,
body:has(.datenschutz-hero.is-black) .site-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
body:has(.impressum-hero.is-black) .site-header__logo,
body:has(.impressum-hero.is-black) .logo-kanzlei,
body:has(.impressum-hero.is-black) .logo-beyer,
body:has(.impressum-hero.is-black) .site-header__nav-link,
body:has(.impressum-hero.is-black) .site-header__search,
body:has(.datenschutz-hero.is-black) .site-header__logo,
body:has(.datenschutz-hero.is-black) .logo-kanzlei,
body:has(.datenschutz-hero.is-black) .logo-beyer,
body:has(.datenschutz-hero.is-black) .site-header__nav-link,
body:has(.datenschutz-hero.is-black) .site-header__search {
  color: #fff !important;
}
body:has(.impressum-hero.is-black) .site-header__burger span,
body:has(.datenschutz-hero.is-black) .site-header__burger span {
  background: #fff !important;
}

.impressum-label,
.datenschutz-label {
  color: #99D6FF !important;
}

/* Header schwarz erzwingen über Impressum/Datenschutz */
body:has(.impressum-hero.is-black) .site-header,
body:has(.datenschutz-hero.is-black) .site-header {
  background: #000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.impressum-label,
.datenschutz-label {
  color: #140BE3 !important;
}

/* Vertikale Labels auf Mobile ausblenden */
@media (max-width: 1000px) {
  .profil-label,
  .aktuelles-label,
  .festpreis-label,
  .vertical-label-kompetenzen,
  .impressum-label,
  .datenschutz-label,
  .page--kontakt .kontakt-hero .section-label-vertical {
    display: none !important;
  }
}

/* Impressum/Datenschutz Mobile: Hero-Content volle Breite */
@media (max-width: 1000px) {
  .impressum-hero-content,
  .datenschutz-hero-content {
    margin-left: 0;
    max-width: 100%;
  }
  .impressum-hero.is-black,
  .datenschutz-hero.is-black {
    padding: 100px var(--offset) 60px;
  }
  .legal-content {
    margin-left: 0;
    max-width: 100%;
  }
  .impressum-body,
  .datenschutz-body {
    padding: 60px var(--offset) 80px;
  }
}

/* ─── ACCESSIBILITY: KONTRAST-VERBESSERUNG (FINAL) ─────────── */
.kontakt-info__label,
.kontakt-form__sub,
.kontakt-form__optional {
  color: rgba(0, 0, 0, 0.75) !important;
}

/* ─── DAVIS-POLK-STYLE HERO TITLE für Impressum/Datenschutz ─── */
.impressum-hero-title,
.datenschutz-hero-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 40px 0 32px;
  padding: 0;
}

@media (max-width: 1000px) {
  .impressum-hero-title,
  .datenschutz-hero-title {
    font-size: clamp(48px, 13vw, 72px);
    margin: 28px 0 24px;
  }
}

/* ─── KONTAKT-HERO: Mobile Padding-Top korrigieren ─── */
@media (max-width: 768px) {
  .page--kontakt .kontakt-hero {
    padding-top: 40px !important;
  }
}

/* ─── KONTAKT-FORM SUBMIT BUTTON: Mobile-Position ─── */
@media (max-width: 768px) {
  button.kontakt-form__submit {
    align-self: flex-end !important;
    margin-right: var(--offset) !important;
    padding-right: 1.25em !important;
  }
}
