:root {
  --page: #f7f8f5;
  --white: #ffffff;
  --ink: #233244;
  --muted: #607070;
  --green: #4f7e5b;
  --green-dark: #416f4d;
  --green-soft: #eff5f0;
  --blue: #2f5f8c;
  --blue-dark: #245175;
  --blue-soft: #eef5fb;
  --line: #e6ece7;
  --shadow: 0 18px 40px rgba(38, 65, 48, .075);
  --shadow-card: 0 14px 30px rgba(42, 63, 48, .06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
a { text-decoration: none; color: inherit; }

.header,
.hero,
.value-bar,
.topics,
.about,
.contact-band {
  width: min(1180px, calc(100% - 72px));
  margin-inline: auto;
}

.header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 268px;
}

.brand-mark {
  width: 43px;
  height: 43px;
}

.brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: .045em;
  line-height: 1;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  font-weight: 650;
}

.nav a {
  padding: 10px 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--green);
  color: white;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 13px 28px rgba(79,126,91,.2);
}

.header-cta svg {
  width: 19px;
  height: 19px;
}

.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 472px;
  align-items: center;
  position: relative;
  margin-top: 14px;
}

.hero-left {
  position: relative;
  z-index: 3;
  padding: 42px 0 42px 45px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(43px, 4.7vw, 62px);
  line-height: .99;
  letter-spacing: -.052em;
  font-weight: 900;
  color: #24394b;
}

.hero-text {
  max-width: 492px;
  margin: 22px 0 27px;
  color: #4e5f5f;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 500;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
  max-width: 530px;
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #264533;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.23;
}

.hero-facts svg {
  width: 31px;
  height: 31px;
  margin-bottom: 9px;
  color: var(--green);
  stroke-width: 1.7px;
}

.hero-right {
  position: relative;
  min-height: 472px;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 58px 58px;
}

.hero-illustration {
  position: absolute;
  inset: 0 -14px 0 -118px;
  width: calc(100% + 132px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 58px 58px;
  filter: saturate(.95);
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 0 0 0 -180px;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(247,248,245,1) 0%,
    rgba(247,248,245,.94) 21%,
    rgba(247,248,245,.42) 45%,
    rgba(247,248,245,0) 70%);
  pointer-events: none;
}

.hero-person {
  position: absolute;
  z-index: 2;
  right: 6px;
  bottom: 0;
  width: 350px;
  height: 424px;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  filter: drop-shadow(0 18px 26px rgba(50,70,58,.14));
}

.value-bar {
  position: relative;
  z-index: 5;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(226, 234, 228, .95);
  border-radius: 27px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.value-item {
  display: grid;
  grid-template-columns: 49px 1fr;
  gap: 15px;
  min-height: 112px;
  align-items: center;
  padding: 25px 27px;
}

.value-item:not(:last-child) {
  border-right: 1px solid var(--line);
}

.value-item > svg {
  width: 42px;
  height: 42px;
  color: var(--green);
}

.value-item strong {
  display: block;
  font-size: 15px;
  color: #263948;
  line-height: 1.22;
  margin-bottom: 5px;
}

.value-item small {
  display: block;
  color: #5d6b69;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.topics {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  min-height: 352px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.topic-card header {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 17px;
  align-items: center;
  padding: 30px 30px 0;
}

.topic-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #3f744d;
  color: white;
  display: grid;
  place-items: center;
}

.topic-icon svg {
  width: 35px;
  height: 35px;
}

.blue-icon {
  background: var(--blue);
}

.topic-card h2 {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 850;
  color: #244638;
}

.topic-card.blue h2 {
  color: #2c5e87;
}

.topic-card p {
  min-height: 70px;
  margin: 17px 30px 14px;
  color: #4e6262;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.topic-image {
  height: 168px;
  margin-top: auto;
  overflow: hidden;
  background: #edf5ef;
}

.topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-card a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 30px 24px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.topic-card.blue a {
  color: var(--blue);
}

.about {
  margin-top: 27px;
  display: grid;
  grid-template-columns: 308px 1fr 250px;
  gap: 33px;
  align-items: center;
}

.about-image {
  height: 220px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(36, 64, 45, .08);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  padding-right: 8px;
}

.about-kicker {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.about-copy h2 {
  margin: 0 0 12px;
  color: #213949;
  font-size: 30px;
  line-height: 1.14;
  letter-spacing: -.04em;
  font-weight: 900;
}

.about-copy p {
  margin: 0 0 12px;
  color: #526464;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.signature {
  margin-top: 14px;
}

.signature img {
  display: block;
  width: min(210px, 100%);
  height: auto;
}

.role-list {
  padding: 18px 0 18px 30px;
  border-left: 1px solid var(--line);
}

.role-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  align-items: center;
  min-height: 39px;
  color: #61706c;
  font-size: 14px;
  font-weight: 600;
}

.role-list svg {
  width: 21px;
  height: 21px;
  color: var(--green);
}

.contact-band {
  margin-top: 32px;
  margin-bottom: 40px;
  min-height: 142px;
  display: grid;
  grid-template-columns: 1.35fr .56fr .56fr .56fr auto;
  align-items: center;
  gap: 26px;
  padding: 28px 31px 28px 36px;
  border-radius: 26px;
  background: linear-gradient(135deg, #285b83 0%, #245174 100%);
  color: white;
  box-shadow: 0 18px 36px rgba(30,70,105,.18);
}

.contact-intro {
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,.22);
}

.contact-intro h2 {
  margin: 0 0 9px;
  font-size: 26px;
  letter-spacing: -.035em;
  line-height: 1.1;
  font-weight: 900;
}

.contact-intro p {
  max-width: 480px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}

.contact-detail {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 11px;
  align-items: start;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  color: #e2edf4;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.contact-detail small {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.send-button {
  height: 62px;
  min-width: 205px;
  border-radius: 32px;
  background: white;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 12px 24px rgba(22,55,82,.16);
}

.send-button svg {
  width: 20px;
  height: 20px;
}

/* Replace these files later with real portraits:
   assets/profile-placeholder-hero.svg
   assets/profile-placeholder-about.svg
*/

@media (max-width: 1160px) {
  .header,
  .hero,
  .value-bar,
  .topics,
  .about,
  .contact-band {
    width: min(100% - 40px, 980px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 22px 0 0;
  }

  .hero-right {
    min-height: 430px;
    border-radius: 30px;
  }

  .hero-illustration {
    inset: 0;
    width: 100%;
    border-radius: 30px;
  }

  .hero-right::before {
    inset: 0;
    background: linear-gradient(180deg, rgba(247,248,245,.22), rgba(247,248,245,0));
  }

  .value-bar,
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 280px 1fr;
  }

  .role-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }

  .contact-band {
    grid-template-columns: 1fr 1fr;
  }

  .contact-intro {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .header {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .brand {
    min-width: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-right {
    min-height: 340px;
    margin-top: 8px;
    border-radius: 28px;
  }

  .hero-illustration {
    border-radius: 28px;
  }

  .hero-person {
    width: 208px;
    height: 270px;
    right: 0;
    bottom: 0;
    max-width: 46%;
  }

  .value-bar,
  .topics,
  .about,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .value-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-image {
    height: 260px;
  }

  .role-list {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 26px;
  }
}


/* Update: stronger handling for medium widths and card text overflow */
.topic-card h2 { overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }
.topic-card header { align-items: start; }
.topic-card p { min-height: 76px; }
.role-list { row-gap: 6px; }

@media (max-width: 1280px) {
  .topics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .topics { grid-template-columns: 1fr; }
  .value-bar { grid-template-columns: 1fr 1fr; }
  .role-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .value-bar, .topics, .about, .contact-band { grid-template-columns: 1fr; }
  .role-list { grid-template-columns: 1fr; }
}


/* Portrait update: hero image now uses a transparent cutout for better blending. */

@media (max-width: 760px) {
  .topic-card { min-height: auto; }
  .topic-image { height: 190px; }
}


/* Final hero refinement: soft fading background + baseline-aligned portrait */
@media (min-width: 1161px) {
  .hero {
    display: block;
    min-height: 560px;
    margin-top: 18px;
  }

  .hero-left {
    width: min(50%, 620px);
    padding: 54px 0 54px 42px;
  }

  .hero-right {
    position: absolute;
    left: 36%;
    right: 0;
    top: 8px;
    bottom: 0;
    min-height: 0;
    height: auto;
    overflow: hidden;
    isolation: isolate;
    border-radius: 40px;
  }

  .hero-illustration {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 10%, rgba(0,0,0,0.42) 20%, rgba(0,0,0,0.82) 32%, #000 44%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 10%, rgba(0,0,0,0.42) 20%, rgba(0,0,0,0.82) 32%, #000 44%, #000 100%);
  }

  .hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(247,248,245,0.98) 0%, rgba(247,248,245,0.88) 10%, rgba(247,248,245,0.55) 22%, rgba(247,248,245,0.18) 34%, rgba(247,248,245,0) 48%),
      linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 42%);
    pointer-events: none;
  }

  .hero-person {
    right: -30px;
    bottom: -16px;
    width: min(32vw, 336px);
    height: auto;
    max-height: 93%;
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
    z-index: 2;
    filter: drop-shadow(0 18px 26px rgba(50,70,58,.14));
  }
}

@media (max-width: 1160px) {
  .hero {
    display: block;
    min-height: auto;
    margin-top: 14px;
  }

  .hero-left {
    width: auto;
    padding: 22px 0 0;
  }

  .hero-right {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 430px;
    min-height: 430px;
    margin-top: 18px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
  }

  .hero-illustration {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(247,248,245,0.24) 0%, rgba(247,248,245,0) 28%),
      linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
  }

  .hero-person {
    right: 14px;
    bottom: 0;
    width: 250px;
    height: auto;
    max-width: 48%;
    max-height: 90%;
    z-index: 2;
  }
}

@media (max-width: 760px) {
  .hero {
    margin-top: 6px;
  }

  .hero-left {
    padding: 18px 0 0;
  }

  .hero-right {
    height: 355px;
    min-height: 355px;
    margin-top: 14px;
    border-radius: 30px;
  }

  .hero-right::before {
    background:
      linear-gradient(180deg, rgba(247,248,245,0.12) 0%, rgba(247,248,245,0) 38%),
      linear-gradient(90deg, rgba(247,248,245,0.08) 0%, rgba(247,248,245,0) 24%);
  }

  .hero-illustration {
    border-radius: 30px;
    object-position: center center;
  }

  .hero-person {
    width: min(52%, 220px);
    max-width: none;
    right: 6px;
    bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero-right {
    height: 330px;
    min-height: 330px;
  }

  .hero-person {
    width: min(50%, 198px);
    right: -18px;
    bottom: -10px;
  }
}


/* Final text/contact update */
.signature img { max-height: 58px; object-fit: contain; object-position: left center; }

/* Logo-Update final */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 245px;
  min-width: 245px;
  height: 66px;
  text-decoration: none;
  gap: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}

.brand-logo::before,
.brand-logo span,
.brand-logo .brand-mark {
  display: none !important;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 202px;
    min-width: 202px;
    height: 58px;
  }

  .brand-logo img {
    max-height: 58px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 174px;
    min-width: 174px;
    height: 52px;
  }

  .brand-logo img {
    max-height: 52px;
  }
}


/* Logo size correction: bigger logo + slightly taller header */
.header {
  min-height: 116px;
  height: auto;
}

.brand.brand-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 400px !important;
  min-width: 400px !important;
  height: 104px !important;
  overflow: visible;
}

.brand.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 104px !important;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .brand.brand-logo {
    width: 340px !important;
    min-width: 340px !important;
    height: 92px !important;
  }

  .brand.brand-logo img {
    max-height: 92px !important;
  }
}

@media (max-width: 760px) {
  .header {
    min-height: 92px;
  }

  .brand.brand-logo {
    width: 270px !important;
    min-width: 270px !important;
    height: 72px !important;
  }

  .brand.brand-logo img {
    max-height: 72px !important;
  }
}

@media (max-width: 560px) {
  .brand.brand-logo {
    width: 220px !important;
    min-width: 220px !important;
    height: 60px !important;
  }

  .brand.brand-logo img {
    max-height: 60px !important;
  }
}


/* Logo vertical alignment refinement */
.header {
  align-items: center;
  padding-top: 8px;
  padding-bottom: 4px;
}

.brand.brand-logo {
  position: relative;
  top: 8px;
}

@media (max-width: 760px) {
  .header {
    padding-top: 6px;
    padding-bottom: 2px;
  }

  .brand.brand-logo {
    top: 6px;
  }
}

@media (max-width: 560px) {
  .brand.brand-logo {
    top: 4px;
  }
}


/* Final mobile redesign */
@media (max-width: 760px) {
  body {
    padding: 10px;
  }

  .header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px 10px;
    min-height: auto;
    border-radius: 18px 18px 0 0;
  }

  .brand.brand-logo {
    width: 180px !important;
    min-width: 180px !important;
    height: auto !important;
    align-self: center;
    top: 0 !important;
    margin: 0 auto;
  }

  .brand.brand-logo img {
    max-height: none !important;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
    justify-items: center;
    margin: 0;
  }

  .nav a {
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    padding: 8px 4px;
    border-radius: 10px;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 15px;
    margin: 0;
  }

  main {
    border-radius: 0 0 18px 18px;
  }

  .hero {
    display: block;
    margin-top: 0;
    padding: 0 14px 6px;
  }

  .hero-left {
    padding: 18px 0 0;
    width: 100%;
  }

  .kicker {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(30px, 10.4vw, 54px);
    line-height: .96;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
    max-width: 100%;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin: 0 0 18px;
  }

  .hero-facts div {
    gap: 6px;
  }

  .hero-facts svg {
    width: 28px;
    height: 28px;
  }

  .hero-facts span {
    font-size: 13px;
    line-height: 1.18;
    text-align: center;
  }

  .hero-right {
    position: relative;
    width: 100%;
    height: 320px;
    min-height: 320px;
    margin-top: 6px;
    border-radius: 26px;
    overflow: hidden;
  }

  .hero-right::before {
    background: linear-gradient(180deg, rgba(247,248,245,0.06) 0%, rgba(247,248,245,0) 30%), linear-gradient(90deg, rgba(247,248,245,0.08) 0%, rgba(247,248,245,0) 22%);
  }

  .hero-illustration {
    border-radius: 26px;
    object-position: center center;
  }

  .hero-person {
    width: min(44%, 188px) !important;
    height: auto !important;
    right: -4px !important;
    bottom: 0 !important;
    max-height: 92%;
    object-position: center bottom;
  }

  .value-bar {
    margin: 12px 14px 0;
    border-radius: 24px;
  }

  .value-item {
    padding: 18px 16px;
  }

  .value-item strong {
    font-size: 15px;
  }

  .value-item small {
    font-size: 14px;
  }

  .topics,
  .about,
  .contact-band {
    margin-left: 14px;
    margin-right: 14px;
  }

  .topic-card {
    border-radius: 22px;
  }

  .topic-card header {
    gap: 14px;
    margin-bottom: 12px;
  }

  .topic-card p {
    margin: 0 24px 16px;
    min-height: auto;
    font-size: 15px;
    line-height: 1.5;
  }

  .topic-image {
    height: 200px;
    border-radius: 0 0 22px 22px;
  }

  .about {
    gap: 18px;
  }

  .about-copy h2 {
    font-size: 34px;
    line-height: 1.04;
  }

  .role-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .contact-band {
    gap: 18px;
    padding: 24px 22px;
    border-radius: 24px;
  }

  .send-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .header {
    padding: 12px 12px 10px;
  }

  .brand.brand-logo {
    width: 164px !important;
    min-width: 164px !important;
  }

  .nav a {
    font-size: 13px;
    padding: 7px 2px;
  }

  .hero {
    padding: 0 12px 6px;
  }

  .hero h1 {
    font-size: clamp(28px, 10.2vw, 48px);
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-right {
    height: 286px;
    min-height: 286px;
    border-radius: 24px;
  }

  .hero-illustration {
    border-radius: 24px;
  }

  .hero-person {
    width: min(45%, 174px) !important;
    right: -6px !important;
    bottom: 0 !important;
  }

  .hero-facts span {
    font-size: 12.5px;
  }

  .value-bar,
  .topics,
  .about,
  .contact-band {
    margin-left: 12px;
    margin-right: 12px;
  }

  .topic-card p {
    margin-left: 20px;
    margin-right: 20px;
  }

  .about-copy h2 {
    font-size: 30px;
  }
}

/* Rechtliches: Footer + Popups */
.legal-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #526459;
  font-size: 14px;
}

.legal-footer button {
  border: 0;
  background: transparent;
  color: #365f45;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
}

.legal-footer button:hover,
.legal-footer button:focus-visible {
  background: rgba(67, 126, 88, .1);
  outline: none;
}

.legal-modal[aria-hidden="true"] { display: none; }

.legal-modal[aria-hidden="false"] {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 31, 42, .52);
  backdrop-filter: blur(6px);
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  background: #fffdfa;
  color: #203447;
  border: 1px solid rgba(47, 81, 60, .16);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(20, 35, 28, .24);
  padding: 34px 38px;
  outline: none;
}

.legal-modal__dialog h2 {
  margin: 0 0 20px;
  color: #203447;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.legal-modal__dialog p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.62;
}

.legal-modal__dialog a {
  color: #2f6b48;
  font-weight: 700;
}

.legal-modal__close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  margin: -14px -18px 8px 18px;
  border: 0;
  border-radius: 50%;
  background: #edf3ee;
  color: #203447;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal__close:hover,
.legal-modal__close:focus-visible {
  background: #dfeae2;
  outline: none;
}

.legal-note {
  margin-top: 20px !important;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(67, 126, 88, .09);
  border: 1px solid rgba(67, 126, 88, .16);
}

body.modal-open { overflow: hidden; }

@media (max-width: 760px) {
  .legal-modal[aria-hidden="false"] {
    padding: 12px;
    align-items: end;
  }

  .legal-modal__dialog {
    max-height: 88vh;
    border-radius: 24px 24px 18px 18px;
    padding: 28px 22px;
  }

  .legal-modal__dialog p {
    font-size: 15px;
  }

  .legal-footer {
    margin-top: 18px;
    margin-bottom: 24px;
  }
}
