/* ============================================================
   Russold Website UI kit — site styles
   ============================================================ */

@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  line-height: var(--lh-body);
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--content-pad-x); }
.container--narrow { max-width: 880px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }


[id] { scroll-margin-top: 96px; }

/* ---- Info bar ---- */
.info-bar {
  background: var(--bg-info-bar);
  color: #fff;
  font-size: 13.5px;
}
.info-bar .inner {
  display: flex; justify-content: center; gap: 32px;
  padding: 11px var(--content-pad-x); flex-wrap: wrap;
}
.info-bar .item { display: inline-flex; align-items: center; gap: 8px; }
.info-bar a { color: #fff; }
.info-bar a:hover { color: var(--brand-gold); }

/* ---- Nav ---- */
.nav {
  background: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-1);
}
.nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: var(--hero-home-pad-left, clamp(64px, 10vw, 148px));
  padding-right: var(--hero-home-pad-left, clamp(64px, 10vw, 148px));
  width: 100%;
  max-width: none;
  margin: 0;
}

.nav .logo img { height: 56px; display: block; }
.nav ul {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  font-family: var(--font-body); font-size: 14px;
  align-items: center;
}
.nav li { min-width: 0; }
.nav a {
  color: var(--fg-1);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease-standard);
  hyphens: manual;
  line-height: 1.25;
}
.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-burgundy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms var(--ease-standard);
}
.nav nav a:hover { color: var(--brand-burgundy); }
.nav nav a:hover::after,
.nav nav a.is-active::after { transform: scaleX(1); }
.nav nav a.is-active { color: var(--brand-burgundy); font-weight: 600; }
.nav .mobile { display: none; }

@media (max-width: 760px) {
  .info-bar .item.hide-sm { display: none; }
  .nav { box-shadow: 0 10px 28px rgba(76, 34, 36, .07); }
  .nav .inner {
    position: relative;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: var(--hero-home-pad-left, 34px);
    padding-right: var(--hero-home-pad-left, 34px);
  }
  .nav .logo img { height: 50px; }
  .nav nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 60;
    width: max-content;
    max-width: calc(100vw - 56px);
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateX(calc(100% + 2px));
    transition:
      transform 280ms var(--ease-standard),
      opacity 180ms var(--ease-standard),
      visibility 0s linear 280ms;
  }
  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    width: max-content;
    max-width: 100%;
    min-height: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    transform: none;
    background: var(--brand-burgundy);
    border: 0;
    box-shadow: -18px 0 42px rgba(34, 25, 21, .18);
    padding: 120px 24px 28px 32px;
    transition: none;
  }
  .nav.is-menu-open nav {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition:
      transform 280ms var(--ease-standard),
      opacity 180ms var(--ease-standard),
      visibility 0s;
  }
  .nav li { border-bottom: 0; }
  .nav nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 48px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    border: 0;
    color: #fff;
    text-align: right;
    white-space: nowrap;
    box-shadow: none;
    position: relative;
    transition: color var(--dur-fast) var(--ease-standard);
  }
  .nav nav a::before { content: none; display: none; }
  .nav nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    display: block;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 260ms var(--ease-standard);
  }
  .nav nav a:hover {
    color: rgba(255, 255, 255, .92);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }
  .nav nav a:hover::after,
  .nav nav a.is-active::after {
    transform: scaleX(1);
  }
  .nav nav a.is-active {
    color: #fff;
    font-weight: 600;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .nav .mobile {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--brand-burgundy);
    position: relative;
    z-index: 70;
  }
  .nav .mobile > a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-burgundy);
    background: var(--neutral-50);
    border: 1px solid rgba(123, 25, 35, .18);
    overflow: hidden;
    text-indent: 0;
    flex: 0 0 42px;
  }
  .nav .mobile > a svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
    fill: currentColor;
  }
  .nav .mobile > a:hover { background: var(--brand-burgundy); color: #fff; }
  .menu-trigger {
    width: 42px;
    height: 42px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--brand-burgundy);
    background: var(--brand-burgundy);
    padding: 0;
    color: #fff;
    box-shadow: 0 8px 18px rgba(123, 25, 35, .16);
    transition: background var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  }
  .menu-trigger:hover { background: var(--brand-burgundy-x); border-color: var(--brand-burgundy-x); }
  .menu-trigger::before, .menu-trigger::after, .menu-trigger > span {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: currentColor;
    transition: transform 220ms var(--ease-standard), opacity 180ms var(--ease-standard), top 220ms var(--ease-standard), bottom 220ms var(--ease-standard);
  }
  .menu-trigger::before { top: 13px; }
  .menu-trigger > span { top: 20px; }
  .menu-trigger::after { bottom: 13px; }
  .nav.is-menu-open .menu-trigger::before { top: 20px; transform: rotate(45deg); }
  .nav.is-menu-open .menu-trigger > span { opacity: 0; transform: scaleX(0); }
  .nav.is-menu-open .menu-trigger::after { bottom: 20px; transform: rotate(-45deg); }
}


/* ---- Hero ---- */
.hero {
  position: relative; min-height: clamp(420px, 60vh, 640px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 80px 24px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-bg, url("hero-bg.webp")) center/cover no-repeat;
  z-index: 0;
}
.hero::after { content: ""; position: absolute; inset: 0; background: var(--overlay-dark-44); z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  color: #e6e3df; font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.15; max-width: 16ch;
  margin: 0;
  hyphens: manual;
}
.hero-rule {
  border: 0;
  width: 5rem;
  height: 3px;
  background: var(--brand-burgundy);
  margin: 24px 0 28px;
}
.hero p {
  color: var(--fg-on-dark); max-width: 720px;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 32px;
}
.hero-cta { min-width: 180px; }
.hero-cta-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-cta-mobile { display: none; }
@media (max-width: 760px) {
  .hero-cta-desktop { display: none; }
  .hero-cta-mobile { display: inline-flex; }
}


.hero--home {
  --hero-home-pad-left: clamp(64px, 10vw, 148px);
  --hero-home-pad-right: clamp(24px, 4vw, 40px);
  align-items: flex-start;
  text-align: left;
  padding-left: var(--hero-home-pad-left);
  padding-right: var(--hero-home-pad-right);
}
.hero--home > :not(.arrow) {
  width: min(100%, 720px);
}
.hero--home h1 {
  max-width: 12ch;
}
.hero--home .hero-rule {
  width: var(--rule-width);
  margin-left: 0;
  margin-right: auto;
}
.hero--home p {
  max-width: 660px;
}
.hero--home .hero-cta-switch {
  justify-content: flex-start;
}
@media (max-width: 760px) {
  .hero--home {
    --hero-home-pad-left: 34px;
    --hero-home-pad-right: 20px;
    padding-left: var(--hero-home-pad-left);
    padding-right: var(--hero-home-pad-right);
    min-height: clamp(420px, 58vh, 580px);
  }
  .hero--home > :not(.arrow) {
    width: min(100%, 560px);
  }
}

.hero .arrow {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: .8;
}
.hero .arrow svg { width: 28px; height: 28px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---- Section heading ---- */
.section-head { text-align: center; margin-bottom: 32px; }
.section-head--left,
.section-head--right {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.section-head--left { text-align: left; }
.section-head--right { text-align: right; }
.section-head h2 {
  color: var(--brand-burgundy); margin: 0 0 16px;
  hyphens: manual; overflow-wrap: normal;
}
.section-head .rule {
  border: 0; width: var(--rule-width); height: var(--rule-thick);
  background: var(--brand-burgundy); margin: 0 auto;
}
.section-head--left .rule { margin-left: 0; margin-right: auto; }
.section-head--right .rule { margin-left: auto; margin-right: 0; }

.mobile-force-break { display: inline; }
@media (max-width: 980px) {
  .mobile-force-break {
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
  }
}
@media (max-width: 700px) {
  .section-head--left,
  .section-head--right {
    text-align: center;
  }
  .section-head--left .rule,
  .section-head--right .rule {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- Cards ---- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--border-1);
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card .photo { aspect-ratio: 4/3; background: #ddd center/cover no-repeat; }
.card .body { padding: 24px; }
.card .body .eyebrow {
  display: inline-block;
  color: var(--brand-gold);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.card .body h3 {
  color: var(--brand-burgundy); font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400; margin: 0 0 10px; min-height: 2.6em;
  line-height: 1.25;
}
.card .body p { color: var(--fg-1); font-size: .95rem; margin: 0 0 14px; }
.card .body a { color: var(--brand-burgundy); font-size: .9rem; }
.card .body a:hover { color: var(--brand-gold); }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-card .portrait {
  aspect-ratio: 3/4; max-width: 320px; margin: 0 auto 20px;
  background-color: #ddd; background-position: center; background-size: cover; background-repeat: no-repeat;
}
.team-card h3 { color: var(--brand-burgundy); margin: 0 0 4px; font-weight: 400; }
.team-card h4 { color: var(--brand-gold); margin: 0 0 14px; font-weight: 400; }
.team-card .motto {
  font-style: italic; color: var(--fg-1); max-width: 380px; margin: 0 auto 20px; line-height: 1.55;
}

/* ---- Testimonial band ---- */
.band {
  position: relative; color: #fff; text-align: center;
  padding: clamp(64px, 10vw, 120px) 24px; overflow: hidden;
}
.band-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: url("hero-bg.webp") center center/cover no-repeat;
  z-index: 0;
  transform: translate3d(0, var(--band-parallax-y, 0px), 0) scale(1.13);
  will-change: transform;
}
.band::after { content: ""; position: absolute; inset: 0; background: var(--overlay-dark-88); z-index: 0; }
.band h2 { color: #fff; }
.band .quote {
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55;
  max-width: 620px; margin: 28px auto 12px; font-style: italic; color: #f0e8e3;
}
.band .author { font-family: var(--font-body); color: var(--brand-gold); font-size: .9rem; letter-spacing: .08em;
  opacity: .82; }
.band .dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.band .dots button {
  width: 8px; height: 8px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer;
}
.band .dots button.active { background: var(--brand-gold); }

/* ---- Footer ---- */
.footer { background: var(--neutral-900); color: var(--fg-on-dark); }
.footer .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 56px var(--content-pad-x);
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 980px) { .footer .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; } }
@media (max-width: 720px) { .footer .grid { grid-template-columns: 1fr; gap: 40px; } }
.footer h3 { color: #fff; margin: 12px 0 6px; font-weight: 400; font-size: 1.05rem; }
.footer p { color: var(--fg-on-dark-muted); margin: 0; font-size: .92rem; line-height: 1.6; }
.footer .icon { color: var(--brand-gold); width: 22px; height: 22px; }
.footer a { color: var(--brand-gold); }
.footer a:hover { color: #fff; }
.footer .footer-brand {
  background: linear-gradient(180deg, #fbf8f5 0%, #efe8e2 100%);
  border-top: 1px solid rgba(123, 25, 35, .18);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 56px var(--content-pad-x) 38px;
  box-shadow: inset 0 12px 30px rgba(0, 0, 0, .06);
}
.footer .footer-brand img {
  display: block;
  width: min(500px, 84vw);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .12));
}
.footer .footer-copy {
  color: var(--fg-2);
  font-size: .84rem;
  letter-spacing: .08em;
  opacity: .82;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

/* ---- Process strip / Mandantenreise ---- */
.process {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(181, 132, 72, .10), transparent 30%),
    linear-gradient(180deg, #fbf8f5 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(123, 25, 35, .08);
  pointer-events: none;
}
.process .container { position: relative; z-index: 1; }
.process-note {
  max-width: 700px;
  margin: -6px auto 38px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.55;
  color: var(--fg-1);
  font-style: italic;
}
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  max-width: 1120px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 30px 30px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(123, 25, 35, .16);
  box-shadow: 0 18px 46px rgba(34, 25, 21, .08);
  min-height: 100%;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.step::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(181, 132, 72, .20);
  pointer-events: none;
}

.step.no-body {
  display: flex;
  flex-direction: column;
}
.step.no-body h3 {
  margin-bottom: 0;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 25, 35, .28);
  box-shadow: 0 24px 58px rgba(34, 25, 21, .12);
}
.step-mark {
  width: 62px;
  height: 62px;
  margin: 0 0 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-burgundy);
  background: linear-gradient(145deg, #fff 0%, #f2ebe6 100%);
  border: 1px solid rgba(123, 25, 35, .18);
  box-shadow: inset 0 0 0 5px rgba(181, 132, 72, .10);
}
.step-icon { width: 30px; height: 30px; display: block; }
.step-kicker {
  display: inline-block;
  color: var(--brand-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.step h3 {
  font-family: var(--font-display);
  color: var(--brand-burgundy);
  font-weight: 400;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  margin: 0 0 10px;
  line-height: 1.18;
}
.step p {
  color: var(--fg-2);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0;
}
.step .step-arrow {
  position: absolute;
  top: 50%;
  right: -23px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  color: var(--brand-burgundy);
  opacity: .58;
  background: #fbf8f5;
  border: 1px solid rgba(123, 25, 35, .10);
  border-radius: 50%;
  padding: 4px;
  z-index: 2;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; gap: 42px; max-width: 680px; }
  .step { padding: 30px 26px; }
  .step .step-arrow {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%) rotate(90deg);
  }
}
@media (max-width: 520px) {
  .process::before { inset: 12px; }
  .process-note { margin-bottom: 30px; }
  .step { padding: 28px 22px; }
  .step::before { inset: 8px; }
}


/* ---- Open process variant with portrait ---- */
.process--open.process--portrait {
  background:
    radial-gradient(circle at 12% 18%, rgba(181, 132, 72, .10), transparent 26%),
    linear-gradient(180deg, #fdfaf7 0%, var(--bg-soft) 100%);
  overflow: hidden;
  padding-bottom: 0;
}
.process--open.process--portrait::before,
.process--open.process--portrait::after {
  display: none;
}
.process-layout {
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
  gap: clamp(34px, 4.5vw, 78px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.process-portrait {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 100%;
}
.process-portrait-frame {
  position: relative;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.process-portrait-frame::after {
  display: none;
}
.process-portrait-frame img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 20px 38px rgba(34, 25, 21, .13));
  transform: none;
}
.process-steps--portrait {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 700px;
  position: relative;
  z-index: 1;
}
.process-watermark {
  position: absolute;
  right: -0.08em;
  top: 50%;
  transform: translateY(-54%);
  font-family: var(--font-display);
  font-size: clamp(20rem, 33vw, 34rem);
  line-height: .78;
  color: rgba(84, 88, 94, .12);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.process--open .step.step--portrait {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
  text-align: left;
  padding: 22px 0 24px;
  border-bottom: 1px solid rgba(123, 25, 35, .12);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.process--open .step.step--portrait:first-child {
  padding-top: 0;
}
.process--open .step.step--portrait:last-child {
  padding-bottom: 24px;
}
.process--open .step.step--portrait::before,
.process--open .step.step--portrait .step-mark,
.process--open .step.step--portrait .step-arrow,
.process--open .step.step--portrait::after {
  display: none;
}
.process--open .step.step--portrait:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(123, 25, 35, .12);
}
.process--open .step.step--portrait .step-index {
  font-family: var(--font-display);
  color: var(--brand-burgundy);
  font-size: clamp(1.42rem, 1.8vw, 1.78rem);
  line-height: 1;
  letter-spacing: .08em;
  opacity: .82;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.process--open .step.step--portrait .step-index::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 30px;
  height: 1px;
  background: rgba(181, 132, 72, .68);
  transform: translateY(-50%);
}
.process--open .step.step--portrait .step-copy {
  min-width: 0;
}
.process--open .step.step--portrait .step-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--brand-gold);
  letter-spacing: .14em;
  font-size: .70rem;
}
.process--open .step.step--portrait h3 {
  font-size: clamp(1.18rem, 1.72vw, 1.50rem);
  line-height: 1.18;
  margin: 0;
  max-width: none;
}
.process--open .step.step--portrait p {
  max-width: 34ch;
  margin: 10px 0 0;
}
@media (max-width: 980px) {
  .process--open.process--portrait {
    padding-bottom: 18px;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 720px;
  }
  .process-watermark {
    right: -0.02em;
    top: 67%;
    font-size: clamp(14rem, 40vw, 22rem);
  }
  .process-portrait {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }
  .process-portrait-frame img {
    width: min(100%, 280px);
    transform: translateY(0);
  }
  .process-steps--portrait {
    padding-bottom: 0;
    align-self: center;
  }
}
@media (max-width: 520px) {
  .process--open.process--portrait {
    padding-top: 49px;
    padding-bottom: 18px;
  }
  .process-watermark {
    font-size: clamp(11rem, 42vw, 16rem);
    right: -0.06em;
    top: 53%;
  }
  .process-portrait {
    max-width: 280px;
  }
  .process-portrait-frame img {
    width: min(100%, 220px);
  }
  .process--open .step.step--portrait {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 10px;
    padding: 18px 0 22px;
    border-bottom: 0;
  }
  .process-steps--portrait {
    padding-bottom: 35px;
  }
  .process--open .step.step--portrait .step-index {
    font-size: 1.18rem;
  }
  .process--open .step.step--portrait h3 {
    font-size: clamp(1.26rem, 5.8vw, 1.5rem);
  }
}


/* Tablet/Mobile Übergang zwischen Prozess und Tätigkeitsbereiche */
@media (max-width: 980px) {
  .process--open.process--portrait {
    padding-bottom: 26px;
  }

  #taetigkeitsbereiche {
    position: relative;
    margin-top: -18px;
    padding-top: 70px;
    background: var(--bg-surface);
    overflow: hidden;
  }

  #taetigkeitsbereiche::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2px;
    right: -2px;
    height: 64px;
    background: var(--bg-soft);
    clip-path: polygon(0 0, 100% 0, 100% 34%, 0 100%);
    z-index: 0;
    pointer-events: none;
  }

  #taetigkeitsbereiche::after {
    display: none;
  }

  #taetigkeitsbereiche > .container {
    position: relative;
    z-index: 2;
  }

  #taetigkeitsbereiche .section-head {
    margin-bottom: 26px;
    text-align: right;
  }

  #taetigkeitsbereiche .section-head .rule {
    margin-left: auto;
    margin-right: 0;
  }

}

@media (max-width: 520px) {
  #taetigkeitsbereiche {
    margin-top: -14px;
    padding-top: 69px;
  }

  #taetigkeitsbereiche::before {
    height: 58px;
    clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%);
  }

}

/* ---- Practice overview / Tätigkeitsbereiche ---- */
.practice-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.practice-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.practice-item {
  align-self: stretch;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(76, 34, 36, .12);
  box-shadow: none;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-standard);
}
.practice-item:first-child {
  border-top: 1px solid rgba(76, 34, 36, .12);
}
.practice-item:hover,
.practice-item.is-open {
  border-color: rgba(123, 25, 35, .32);
  box-shadow: none;
  transform: none;
}
.practice-item .practice-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  grid-template-columns: 46px 1fr 30px;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 12px 0;
  position: relative;
}
.practice-item .practice-summary::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--brand-burgundy);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-standard);
}
.practice-item:hover .practice-summary::before,
.practice-item.is-open .practice-summary::before { transform: scaleY(1); }
.practice-thumb {
  width: 46px;
  height: 46px;
  background: #ddd center/cover no-repeat;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .76), 0 7px 16px rgba(34, 25, 21, .07);
}
.practice-title-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.practice-item .eyebrow {
  display: block;
  color: var(--brand-gold);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.practice-title {
  display: block;
  color: var(--brand-burgundy);
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.38vw, 1.32rem);
  line-height: 1.16;
  font-weight: 400;
}
.practice-action,
.practice-action-more,
.practice-action-less {
  display: none !important;
}
.practice-toggle {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  color: var(--brand-burgundy);
  border: 1px solid rgba(123, 25, 35, .16);
  background: rgba(255, 255, 255, .48);
  border-radius: 50%;
  transition:
    transform 220ms var(--ease-standard),
    background var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}
.practice-toggle svg { width: 16px; height: 16px; }
.practice-toggle .toggle-line-vertical {
  transform-origin: center;
  transition: opacity 180ms var(--ease-standard), transform 180ms var(--ease-standard);
}

.practice-item.is-open .practice-toggle .toggle-line-vertical {
  opacity: 0;
  transform: scaleY(0);
}
.practice-panel {
  padding: 0 0 22px 60px;
  color: var(--fg-2);
}
.practice-panel p {
  margin: 0 0 10px;
  max-width: 62ch;
}
.practice-panel p:last-child { margin-bottom: 0; }
.practice-situation {
  color: var(--fg-1);
  font-family: var(--font-display);
  font-size: clamp(1.03rem, 1.15vw, 1.16rem);
  line-height: 1.28;
}
@media (max-width: 900px) {
  .practice-overview {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 680px;
  }
  .practice-column + .practice-column .practice-item:first-child {
    border-top: 0;
  }
}
@media (max-width: 540px) {
  .practice-item .practice-summary {
    grid-template-columns: 42px 1fr 28px;
    gap: 11px;
    min-height: 66px;
    padding: 10px 0;
  }
  .practice-item .practice-summary::before {
    left: -10px;
  }
  .practice-thumb { width: 42px; height: 42px; }
  .practice-title { font-size: 1.06rem; line-height: 1.13; }
  .practice-toggle { width: 28px; height: 28px; }
  .practice-panel { padding: 0 0 16px 53px; font-size: .94rem; }
  .practice-situation { font-size: 1rem; }
}


.practice-contact-cta {
  max-width: 760px;
  margin: 42px auto 0;
  padding-top: 30px;
  text-align: center;
}
.practice-contact-cta p {
  margin: 0 auto 18px;
  max-width: 56ch;
  color: var(--fg-1);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.55;
}
.practice-contact-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.practice-contact-cta .hero-cta-mobile { display: none; }
.practice-contact-cta .hero-cta-desktop { display: inline-flex; }
@media (max-width: 760px) {
  .practice-contact-cta {
    margin-top: 34px;
    padding-top: 24px;
  }
  .practice-contact-cta .hero-cta-desktop { display: none; }
  .practice-contact-cta .hero-cta-mobile { display: inline-flex; }
  .practice-contact-cta .hero-cta-switch {
    display: flex;
    justify-content: center;
    width: auto;
  }
  .practice-contact-cta .btn {
    width: auto;
    justify-content: center;
  }
}

/* ---- Contact form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.field input, .field textarea {
  padding: 12px 14px; border: 1px solid var(--border-2); background: #fff;
  font-family: var(--font-body); font-size: 14.5px; color: var(--fg-1); border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease-standard);
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand-burgundy); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-info p { margin: 0 0 8px; }
.contact-info .row { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.contact-info .row svg { color: var(--brand-burgundy); flex: 0 0 auto; }

.contact-grid--simple { align-items: stretch; }
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-1);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.contact-card .eyebrow {
  display: inline-block;
  color: var(--brand-gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-card h3 {
  color: var(--brand-burgundy);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 14px;
}
.contact-card p { color: var(--fg-1); margin: 0 0 26px; line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) {
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { justify-content: center; }
}

/* ---- Profile overlay ---- */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.profile-overlay.is-open { opacity: 1; pointer-events: auto; }
.profile-overlay .panel {
  position: relative;
  background: #fff;
  max-width: 1100px;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: var(--shadow-overlay);
}
.profile-overlay .panel .photo { background: #ddd center/cover no-repeat; min-height: 100%; }
.profile-overlay .panel .body { padding: 40px; overflow-y: auto; }
.profile-overlay .panel h2 { font-size: 2rem; text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0 0 4px; }
.profile-overlay .panel h3 { color: var(--brand-gold); font-weight: 400; margin: 0 0 28px; }
.profile-overlay .panel h4 { margin-top: 24px; }
.profile-overlay .close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  color: var(--brand-burgundy);
}
.profile-mobile-bar { display: none; }
.profile-scroll-hint { display: none; }

@media (max-width: 800px) {
  .profile-overlay .panel { grid-template-columns: 1fr; max-height: 92vh; }
  .profile-overlay .panel .photo {
    aspect-ratio: 4 / 3.6;
    background-size: auto 115%;
    background-repeat: no-repeat;
    background-position: center 38%;
    background-color: #f7f5f1;
  }
}

@media (max-width: 760px) {
  body.has-profile-overlay { overflow: hidden; }

  .profile-overlay {
    z-index: 45;
    background: var(--bg-page);
    align-items: stretch;
    justify-content: stretch;
    padding-top: var(--profile-mobile-top, 74px);
  }

  .profile-overlay .panel {
    width: 100%;
    height: calc(100vh - var(--profile-mobile-top, 74px));
    height: calc(100dvh - var(--profile-mobile-top, 74px));
    max-height: none;
    margin: 0;
    display: block;
    background: #fff;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .profile-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
    padding: 0 22px;
    background: #fff;
    border-bottom: 1px solid rgba(123, 25, 35, .12);
    box-shadow: 0 8px 20px rgba(76, 34, 36, .06);
  }

  .profile-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--brand-burgundy);
    background: var(--brand-burgundy);
    color: #fff;
    font: inherit;
    font-weight: 700;
    min-height: 42px;
    padding: 9px 20px;
    margin: 3px 0;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(123, 25, 35, .16);
    transition:
      background var(--dur-fast) var(--ease-standard),
      border-color var(--dur-fast) var(--ease-standard),
      transform var(--dur-fast) var(--ease-standard);
  }

  .profile-back:hover {
    background: var(--brand-burgundy-x);
    border-color: var(--brand-burgundy-x);
  }

  .profile-back span {
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(-1px);
  }

  .profile-mobile-title { display: none; }
  .profile-overlay .close { display: none; }

  .profile-overlay .panel .photo {
    min-height: 0;
    height: clamp(390px, 104vw, 560px);
    aspect-ratio: auto;
    background-color: #f7f5f1;
    background-size: auto 115% !important;
    background-repeat: no-repeat;
    background-position: center 38% !important;
  }

  .profile-overlay .panel .body {
    padding: 30px 24px 64px;
    overflow: visible;
  }

  .profile-overlay .panel h2 {
    font-size: clamp(1.72rem, 7vw, 2.15rem);
    line-height: 1.12;
  }

  .profile-overlay .panel h3 {
    margin-bottom: 22px;
    font-size: 1.02rem;
  }

  .profile-overlay .panel h4 {
    margin: 26px 0 8px;
    color: var(--brand-burgundy);
  }

  .profile-overlay .panel p {
    margin-top: 0;
    line-height: 1.72;
  }

  .profile-scroll-hint {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 48;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(123, 25, 35, .18);
    background: rgba(255, 255, 255, .90);
    color: rgba(123, 25, 35, .86);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(76, 34, 36, .11);
    cursor: pointer;
    opacity: .94;
    transform: translateX(-50%);
    transition:
      opacity 180ms var(--ease-standard),
      transform 180ms var(--ease-standard),
      visibility 180ms var(--ease-standard);
  }

  .profile-scroll-hint span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 11px;
    height: 11px;
    font-size: 0;
    border-right: 1.9px solid currentColor;
    border-bottom: 1.9px solid currentColor;
    transform: translate(-50%, -60%) rotate(45deg);
    animation: profileScrollHintPulse 1700ms var(--ease-standard) infinite;
  }

  .profile-scroll-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
  }

  @keyframes profileScrollHintPulse {
    0%, 100% { transform: translate(-50%, -62%) rotate(45deg); }
    50% { transform: translate(-50%, -42%) rotate(45deg); }
  }
}

/* ---- Refined team section ---- */
.team-section {
  position: relative;
  overflow: hidden;
}
.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(181, 132, 72, .12), transparent 32%),
    radial-gradient(circle at 88% 72%, rgba(123, 25, 35, .08), transparent 30%);
  pointer-events: none;
}
.team-section .container { position: relative; z-index: 1; }
.team-lead {
  max-width: 700px;
  margin: -8px auto 42px;
  text-align: center;
}
.team-lead-kicker {
  display: inline-block;
  color: var(--brand-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.team-lead p {
  margin: 0;
  color: var(--fg-1);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  line-height: 1.55;
}
.team-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}
.team-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: none;
  overflow: visible;
}
.team-profile:hover {
  transform: none;
}
.team-photo-wrap {
  padding: 0;
  background: transparent;
}
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  min-height: 0;
  background: #ddd center center/cover no-repeat;
  filter: saturate(.96) contrast(1.02);
}
.team-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  flex: 1;
  padding: 30px 30px 34px;
}
.team-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(181, 132, 72, .35) 16%, rgba(123, 25, 35, .22) 50%, rgba(181, 132, 72, .35) 84%, transparent 100%);
  opacity: .9;
}
.team-label {
  display: inline-block;
  color: var(--brand-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 2px 0 10px;
}
.team-content h3 {
  color: var(--brand-burgundy);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 400;
  line-height: 1.14;
  margin: 0 0 14px;
  max-width: 12ch;
}
.team-summary {
  color: var(--fg-1);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-style: italic;
  line-height: 1.58;
  margin: 0 0 26px;
  max-width: 28ch;
}
.team-profile .btn {
  align-self: center;
  margin-top: auto;
}
@media (max-width: 980px) {
  .team-showcase {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
}
@media (max-width: 520px) {
  .team-lead { margin-bottom: 30px; }
  .team-photo-wrap { padding: 0; }
  .team-photo {
    width: 88%;
    margin: 0 auto;
    aspect-ratio: 4 / 4.15;
  }
  .team-content { padding: 26px 24px 30px; }
  .team-profile .btn { align-self: stretch; text-align: center; justify-content: center; }
}

@media (max-width: 760px) {
  .hero--home .hero-rule,
  .section-head .rule {
    width: 3.1rem !important;
  }
}



.practice-item.is-open .practice-panel { display: block; }

.practice-panel[hidden] { display: none !important; }


/* Mobile popup photo positioning fix */
@media (max-width: 768px) {
  .profile-modal .photo,
  .profile-popup .photo,
  .profile-detail .photo {
    background-position: center top !important;
    background-size: cover;
  }

  .profile-modal,
  .profile-popup,
  .profile-detail {
    align-items: flex-start;
  }
}


/* Profile popup photo positioning */
.profile-overlay .photo {
  background-position: center top;
}

@media (max-width: 768px) {
  .profile-overlay .photo {
    background-position: center top !important;
    background-size: cover;
  }
}



/* Mobile testimonial swipe + softer overlay */
@media (max-width: 760px) {
  .band::before {
    background-attachment: scroll;
    background-position: center center;
    inset: -10% 0;
    transform: translate3d(0, var(--band-parallax-y, 0px), 0) scale(1.13);
  }

  .band::after {
    background: rgba(0, 0, 0, .70);
  }

  .band {
    touch-action: pan-y;
  }

  .band .quote {
    user-select: none;
  }

  .band .dots {
    margin-top: 22px;
  }
}



/* Google rating in testimonial band */
.google-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px auto 18px;
  color: rgba(255, 255, 255, .88);
  font-family: var(--font-body);
  font-size: .86rem;
  letter-spacing: .03em;
}

.google-rating-stars {
  color: var(--brand-gold);
  letter-spacing: .08em;
  font-size: .92rem;
  line-height: 1;
}

@media (max-width: 760px) {
  .google-rating {
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: .82rem;
    text-align: center;
  }
}


/* Mobile testimonial dots center repair */
@media (max-width: 760px) {
  .band .dots {
    justify-content: center !important;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}



/* Google review metadata */
.band .review-meta {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: rgba(255, 255, 255, .66);
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  .band .review-meta {
    font-size: .72rem;
    line-height: 1.45;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ---- Legal pages ---- */
.legal-main {
  background: var(--bg-page);
  padding: clamp(56px, 8vw, 96px) 0;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--content-pad-x);
}

.legal-content h1 {
  color: var(--brand-burgundy);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.legal-content h2 {
  color: var(--brand-burgundy);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin: 38px 0 12px;
}

.legal-content h3 {
  color: var(--fg-1);
  font-size: 1rem;
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--fg-1);
  line-height: 1.7;
}

.legal-content a {
  color: var(--brand-burgundy);
}

.legal-meta {
  color: var(--fg-2);
  margin: 0 0 34px;
}

.legal-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(123, 25, 35, .12);
  box-shadow: 0 16px 42px rgba(34, 25, 21, .06);
  padding: clamp(24px, 4vw, 38px);
}

.legal-list {
  padding-left: 1.1rem;
}

.legal-nav-logo img {
  height: 56px;
  display: block;
}

@media (max-width: 760px) {
  .legal-nav-logo img {
    height: 50px;
  }

  .legal-content {
    padding: 0 24px;
  }

  .legal-card {
    padding: 24px 20px;
  }
}



/* Andrea profile popup photo positioning */
.profile-overlay[data-profile-open="andrea"] .photo {
  background-position: center top !important;
}




@media (max-width: 980px) {
  .process--open .step.step--portrait {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 10px;
    padding: 18px 0 22px;
    border-bottom: 0;
  }

  .process-steps--portrait {
    padding-bottom: 35px;
  }

  .process--open .step.step--portrait .step-index {
    font-size: 1.18rem;
  }

  .process--open .step.step--portrait h3 {
    font-size: clamp(1.26rem, 3.7vw, 1.5rem);
  }
}




/* Responsive-Kopplung: Team-Überschrift immer bildbündig */
@media (max-width: 980px) {
  .team-section {
    --team-responsive-media-width: 92%;
    --team-responsive-heading-max: 533.6px; /* 92% von 580px */
  }

  .team-section .section-head {
    width: var(--team-responsive-media-width);
    max-width: var(--team-responsive-heading-max);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .team-section .section-head .rule {
    margin-left: 0;
    margin-right: auto;
  }

  .team-section .team-photo {
    width: var(--team-responsive-media-width);
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4 / 4.2;
  }

  .team-section .team-content {
    padding-left: 34px;
    padding-right: 34px;
  }
}

@media (max-width: 520px) {
  .team-section {
    --team-responsive-media-width: 88%;
    --team-responsive-heading-max: 510.4px; /* 88% von 580px */
  }

  .team-section .team-photo {
    aspect-ratio: 4 / 4.15;
  }

  .team-section .team-content {
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* Prozess-Schritte: Tablet übernimmt die reduzierte Mobile-Anmutung */
@media (max-width: 980px) {
  .process--open .step.step--portrait {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 10px;
    padding: 18px 0 22px;
    border-bottom: 0;
  }

  .process-steps--portrait {
    padding-bottom: 35px;
  }

  .process--open .step.step--portrait .step-index {
    font-size: 1.18rem;
  }

  .process--open .step.step--portrait h3 {
    font-size: clamp(1.26rem, 3.7vw, 1.5rem);
  }
}


/* Team section heading: durchgehend linksbündig */
.team-section .section-head {
  text-align: left;
}

.team-section .section-head .rule {
  margin-left: 0;
  margin-right: auto;
}
