/* =========================
   chiemgau service — style.css (clean)
   passend zum aktuellen html (class-namen + pfade klein geschrieben)
========================= */

/* =========================
   TOKENS
========================= */
:root {
  --container: 1440px;
  --pad-x: clamp(16px, 1.6vw, 40px);

  --blue: #1d4c7b;
  --btn: #75b647;

  --section-pad-top: clamp(56px, 4.2vw, 96px);
  --section-pad-bot: clamp(72px, 5.2vw, 120px);

  --r-big: clamp(70px, 6.8vw, 110px);
  --r-mid: clamp(24px, 2vw, 44px);

  --glass: rgba(255, 255, 255, .14);
  --glass-strong: rgba(255, 255, 255, .18);
  --border: rgba(255, 255, 255, .22);

  /* header */
  --p-header-h: 86px;
  --p-line: rgba(29, 76, 123, .14);
  --p-bg: rgba(255, 255, 255, .88);
  --p-shadow: 0 18px 50px rgba(29, 76, 123, .12);
  --p-ease: cubic-bezier(.2, .8, .2, 1);
  --p-fast: 160ms;
  --p-med: 220ms;
  --p-radius-lg: 22px;

  /* hero */
  --hero-slide-max: 1116px;
  --hero-slide-min: 860px;
  --hero-gap-max: 71px;
  --hero-gap-min: 32px;
  --hero-carousel-h: clamp(520px, 43.6vw, 628px);
  --hero-carousel-top: 60px;
  --headline-lift: 25px;

  /* about */
  --about-blue: #4682b4;
  --about-radius: 110px;
  --about-shadow: 0 18px 50px rgba(0, 0, 0, .12);
  --about-shadow-strong: 0 24px 60px rgba(0, 0, 0, .18);

  --tab-btn-d: 72px;
  --tab-btn-m: 54px;
  --tab-ic-d: 46px;
  --tab-ic-m: 36px;

  --about-glass-radius: clamp(34px, 4.2vw, 56px);
  --about-glass-bg: linear-gradient(180deg,
      rgba(255, 255, 255, .10) 0%,
      rgba(255, 255, 255, .07) 52%,
      rgba(0, 0, 0, .08) 100%);
  --about-glass-border: rgba(255, 255, 255, .22);
  --about-glass-shadow:
    0 18px 44px rgba(0, 0, 0, .14),
    14px 16px 46px rgba(0, 0, 0, .08),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  --about-glass-blur: 12px;

  /* how */
  --how-max: 1200px;
  --how-bg: #a5c697;

  --how-ar-desktop: 1324/683;
  --how-ar-mobile: 579/972;

  /* ✅ pfade klein geschrieben */
  --how-mask-desktop: url("/img/basic/how/how-mask-desktop.svg");
  --how-mask-mobile: url("/img/basic/how/how-mask-mobile.svg");
  --how-mask-mid: url("/img/basic/how/how-mask-mid.svg");

  /* typography */
  --h1: clamp(30px, 4.6vw, 64px);
  --h2: clamp(26px, 3.2vw, 48px);
  --h3: clamp(16px, 1.35vw, 20px);
}

/* =========================
   BASE / RESET
========================= */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #fff;
  color: #111;
  padding-top: var(--p-header-h);
}

[hidden] {
  display: none !important;
}

html,
body {
  overflow-x: clip;
}

@supports not (overflow: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--p-header-h) + 14px);
}

/* =========================
   PREMIUM HEADER
========================= */
.p-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  background: var(--p-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--p-line);
}

.p-header__progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  pointer-events: none;
}

.p-header__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--btn);
  transition: width var(--p-fast) linear;
}

.p-header__inner {
  height: var(--p-header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.p-header__zone {
  min-width: 0;
  display: flex;
  align-items: center;
}

.p-header__zone--left {
  justify-content: flex-start;
}

.p-header__zone--right {
  justify-content: flex-end;
  gap: 10px;
}

.p-header__brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--p-header-h) - 8px);
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--p-fast) var(--p-ease);
}

.p-header__brand:hover {
  background: rgba(29, 76, 123, .06);
}

.p-header__logo {
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.p-header__logo--big {
  height: clamp(64px, 8.2vw, 82px);
}

.p-header__logo--small {
  display: none;
}

.p-header.p-header--compact .p-header__logo--big {
  display: none;
}

.p-header.p-header--compact .p-header__logo--small {
  display: block;
  height: clamp(56px, 7.4vw, 72px);
}

.p-nav {
  display: none;
}

.p-nav__list {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.p-nav__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 16px);
  transition: background var(--p-fast) var(--p-ease);
}

.p-nav__link:hover {
  background: rgba(29, 76, 123, .08);
}

.p-nav__link.is-active {
  background: rgba(29, 76, 123, .12);
}

.p-cta {
  display: none;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(117, 182, 71, .55);
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transition: transform var(--p-fast) var(--p-ease), filter var(--p-fast) var(--p-ease);
}

.p-cta:hover {
  filter: brightness(.98);
}

.p-cta:active {
  transform: translateY(1px);
}

.p-burger {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(29, 76, 123, .22);
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--p-fast) var(--p-ease),
    background var(--p-fast) var(--p-ease),
    border-color var(--p-fast) var(--p-ease);
}

.p-burger:hover {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(29, 76, 123, .30);
}

.p-burger:active {
  transform: scale(.98);
}

.p-burger:focus-visible {
  outline: 2px solid rgba(117, 182, 71, .55);
  outline-offset: 2px;
}

.p-burger__icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}

.p-burger__icon::before,
.p-burger__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(29, 76, 123, .92);
  transition:
    transform var(--p-med) var(--p-ease),
    top var(--p-med) var(--p-ease),
    box-shadow var(--p-med) var(--p-ease);
}

.p-burger__icon::before {
  top: 0;
  box-shadow: 0 5px 0 rgba(29, 76, 123, .92);
}

.p-burger__icon::after {
  top: 10px;
}

.p-header.is-open .p-burger__icon::before {
  top: 5px;
  box-shadow: none;
  transform: rotate(45deg);
}

.p-header.is-open .p-burger__icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.p-menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: var(--p-header-h);
  width: min(720px, calc(100% - (var(--pad-x) * 2)));
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(29, 76, 123, .14);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--p-shadow);
  overflow: hidden;

  opacity: 0;
  translate: 0 -8px;
  pointer-events: none;
  transition: opacity var(--p-med) var(--p-ease), translate var(--p-med) var(--p-ease);
}

.p-header.is-open .p-menu {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.p-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.p-menu__item {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  transition: background var(--p-fast) var(--p-ease), transform var(--p-fast) var(--p-ease);
}

.p-menu__item:hover {
  background: rgba(29, 76, 123, .08);
}

.p-menu__item:active {
  transform: translateY(1px);
}

.p-menu__item.is-active {
  background: rgba(29, 76, 123, .12);
}

.p-overlay {
  position: fixed;
  inset: 0;
  top: var(--p-header-h);
  background: rgba(29, 76, 123, .20);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--p-med) var(--p-ease);
}

.p-header.is-open .p-overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width:1025px) {
  .p-nav {
    display: block;
  }

  .p-cta {
    display: inline-flex;
  }

  .p-burger {
    display: none;
  }

  .p-menu,
  .p-overlay {
    display: none;
  }
}

@media (max-width:420px) {
  :root {
    --p-header-h: 82px;
  }

  .p-header__logo--big {
    height: 74px;
  }

  .p-header__logo--small {
    height: 66px;
  }
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  width: 100%;
  overflow: visible;
  padding-top: var(--hero-carousel-top);
  padding-bottom: clamp(260px, 22vw, 330px);
  background:
    linear-gradient(#004978, #004978) 0 0/100% var(--hero-carousel-top) no-repeat,
    linear-gradient(to bottom, #004978 0%, #4682b4 87%, #ffffff 100%) 0 var(--hero-carousel-top)/100% calc(100% - var(--hero-carousel-top)) no-repeat;
}

.hero__carousel {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: var(--hero-carousel-h);
  overflow: hidden;
  z-index: 1;
  touch-action: pan-y;
  cursor: grab;
}

.hero__track {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: clamp(var(--hero-gap-min), 4.9vw, var(--hero-gap-max));
  transition: transform .8s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero__slide {
  flex: 0 0 clamp(var(--hero-slide-min), 77.5vw, var(--hero-slide-max));
  height: 100%;
  cursor: pointer;
  user-select: none;
}

.hero__image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: var(--r-big);
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hero-carousel-top) + var(--hero-carousel-h) - var(--headline-lift));
  z-index: 2;
  pointer-events: none;
}

.hero__headline {
  margin: 0;
  font-weight: 700;
  font-size: var(--h1);
  line-height: 1.08;
  text-align: center;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  white-space: nowrap;
}

@media (max-width:820px) {
  :root {
    --headline-lift: -30px;
  }

  .hero__headline {
    white-space: normal;
    text-wrap: balance;
    max-width: 18ch;
    margin: 0 auto;
    padding: 0 12px;
    font-size: clamp(28px, 7.2vw, 40px);
    line-height: 1.12;
  }
}

/* =========================
   ÜBER UNS
========================= */
.about {
  width: 100%;
  padding-top: var(--section-pad-top);
  padding-bottom: var(--section-pad-bot);
}

.about__title {
  margin: 0 0 clamp(44px, 4vw, 78px);
  font-size: var(--h2);
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, #3b5a9a 0%, #4682b4 45%, #2b5f8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

@supports not (-webkit-background-clip:text) {
  .about__title {
    color: #3b5a9a;
  }
}

/* intro */
.about__intro {
  position: relative;
  width: min(1031px, 100%);
  margin: 0 auto;

  border-radius: var(--about-radius);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(120% 120% at 85% 35%, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, rgba(70, 130, 180, 1) 0%, rgba(55, 112, 165, 1) 100%);
  border: 1px solid rgba(255, 255, 255, .20);
  box-shadow: var(--about-shadow);

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(12px, 1.6vw, 22px);

  padding: clamp(20px, 2.6vw, 38px) clamp(20px, 2.8vw, 44px);
  overflow: visible;
}

.about__intro-avatar {
  display: flex;
  align-items: flex-end;
}

.about__intro-avatar img {
  display: block;
  width: auto;
  height: clamp(240px, 23vw, 380px);
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .18));
  margin-left: clamp(-26px, -1.8vw, -10px);
  transform: translateY(clamp(12px, 1.4vw, 20px));
}

.about__intro-card {
  min-width: 0;
  position: relative;
  border-radius: var(--about-glass-radius);
  background: var(--about-glass-bg);
  border: 1px solid var(--about-glass-border);
  backdrop-filter: blur(var(--about-glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--about-glass-blur)) saturate(120%);
  box-shadow: var(--about-glass-shadow);
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.6vw, 32px);
}

.about__intro-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(820px 520px at 88% 30%, rgba(255, 255, 255, .07), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 55%);
  opacity: .55;
}

.about__intro-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 0, 0, .10) 0px,
      rgba(0, 0, 0, .10) 1px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 7px);
  opacity: .08;
  mix-blend-mode: soft-light;
}

.about__intro-card>* {
  position: relative;
  z-index: 1;
}

.about-intro__lead {
  margin: 0;
  color: rgba(255, 255, 255, .90);
  font-size: 16px;
  line-height: 1.7;
  text-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.about-intro__hint {
  margin: 12px 0 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.45;
  text-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

/* accordion */
.about-acc {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.about-acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 16px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .20);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.about-acc__btn:hover {
  border-color: rgba(255, 255, 255, .34);
}

.about-acc__title {
  color: rgba(255, 255, 255, .98);
  font-weight: 750;
  font-size: 15px;
  line-height: 1.25;
  text-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.about-acc__chev {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .75);
  background: transparent;
}

.about-acc__btn[aria-expanded="true"] .about-acc__chev {
  background: #fff;
  border-color: #fff;
}

.about-acc__panel {
  padding: 10px 0 0;
}

.about-acc__panelInner {
  padding: 0 18px 2px;
  color: rgba(255, 255, 255, .90);
  font-size: 14px;
  line-height: 1.7;
  text-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

/* details */
.about__details {
  position: relative;
  width: min(1140px, 100%);
  margin: clamp(54px, 5.2vw, 88px) auto 0;
  border-radius: var(--about-radius);
  padding: clamp(26px, 3.2vw, 56px);
  min-height: clamp(460px, 34vw, 540px);

  display: grid;
  grid-template-columns: minmax(360px, 1fr) clamp(300px, 26vw, 360px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "nav image"
    "text image";
  column-gap: clamp(18px, 2.4vw, 34px);
  row-gap: clamp(14px, 2vw, 22px);
  align-items: start;

  overflow: visible;
}

.about__details::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--about-blue);
  z-index: 0;
}

.about__details>* {
  position: relative;
  z-index: 1;
}

.about__details-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: min(640px, 100%);
  justify-self: center;
  padding: 10px 14px;

  /* ✅ важно для теней */
  overflow: visible;
}

.about__details-nav-item {
  width: var(--tab-btn-d);
  height: var(--tab-btn-d);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.about__details-nav-item img {
  width: var(--tab-ic-d);
  height: var(--tab-ic-d);
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(.95);
  opacity: .92;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.about__details-nav-item--active {
  transform: translateY(-2px) scale(1.11);
  background: radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .96) 55%, rgba(245, 248, 255, .92) 100%);
  border-color: rgba(255, 255, 255, .98);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, .28),
    0 0 0 2px rgba(255, 255, 255, .92),
    0 0 0 10px rgba(255, 255, 255, .14);
}

.about__details-nav-item--active img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

.about__details-text {
  grid-area: text;
  width: min(640px, 100%);
  justify-self: center;
  align-self: center;
  transform: translateY(clamp(-78px, -5.4vw, -52px));
  position: relative;

  border-radius: var(--about-glass-radius);
  background: var(--about-glass-bg);
  border: 1px solid var(--about-glass-border);
  backdrop-filter: blur(var(--about-glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--about-glass-blur)) saturate(120%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .14),
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 0 0 1px rgba(255, 255, 255, .14);
  overflow: hidden;
}

.about__details-text::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(820px 520px at 88% 30%, rgba(255, 255, 255, .07), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 55%);
  opacity: .55;
}

.about__details-text::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 0, 0, .10) 0px,
      rgba(0, 0, 0, .10) 1px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 7px);
  opacity: .08;
  mix-blend-mode: soft-light;
}

.about__details-text-inner {
  position: relative;
  padding: clamp(18px, 2.4vw, 36px) clamp(18px, 2.6vw, 42px);
  text-align: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.about__details-title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 750;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 10px 22px rgba(0, 0, 0, .16);
  text-wrap: balance;
}

.about__details-description {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 10px 22px rgba(0, 0, 0, .14);
  max-width: 62ch;
  hyphens: auto;
  overflow-wrap: break-word;
  white-space: pre-line;
}

.about__details-image {
  grid-area: image;
  width: 100%;
  aspect-ratio: 9/16;
  justify-self: end;
  align-self: start;
  border-radius: clamp(50px, 4.2vw, 76px);
  background: rgba(255, 255, 255, .90);
  padding: 12px;
  box-shadow: var(--about-shadow-strong);
  overflow: hidden;
  background-clip: padding-box;
}

.about__details-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: calc(clamp(50px, 4.2vw, 76px) - 12px);
}

/* ✅ mobile/tablet fixes (icons shadow + accordion space + avatar bigger) */
@media (max-width:1024px) {

  /* тени не должны клипаться: никакого scroll-контейнера */
  .about__details-nav {
    flex-wrap: wrap;
    /* лучше чем nowrap — на очень узких экранах уходит в 2 строки */
    overflow: visible;
    padding-top: 18px;
    /* место для верхних теней */
    padding-bottom: 20px;
    /* место для нижних теней */
    gap: 12px;
  }
}

@media (max-width:820px) {
  .about__intro {
    grid-template-columns: 1fr;
    gap: 14px;
    /* ✅ чуть больше места снизу — аккордеон не упирается */
    padding: 22px 18px 42px;
    align-items: start;
  }

  .about__intro-avatar {
    justify-content: center;
    align-items: center;
  }

  /* ✅ avatar +25% (примерно) */
  .about__intro-avatar img {
    height: clamp(220px, 56vw, 320px);
    margin-left: 0;
    transform: none;
    filter: none;
  }

  .about__intro-card {
    border-radius: clamp(22px, 7vw, 34px);
    padding-bottom: 30px;
    /* запас снизу для контента */
  }

  .about-intro__lead {
    font-size: clamp(14px, 3.9vw, 16px);
    line-height: 1.7;
  }

  .about-acc__btn {
    padding: 14px 16px;
  }

  .about-acc__panelInner {
    padding: 0 16px 2px;
  }

  .about__details {
    min-height: 0;
    padding: 52px 20px 28px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "nav" "text" "image";
    row-gap: 14px;
  }

  /* ✅ как desktop, но компактнее */
  .about__details-nav-item {
    width: clamp(48px, 13vw, var(--tab-btn-m));
    height: clamp(48px, 13vw, var(--tab-btn-m));
    border-radius: 20px;
    flex: 0 0 auto;
  }

  .about__details-nav-item img {
    width: clamp(30px, 8.6vw, var(--tab-ic-m));
    height: clamp(30px, 8.6vw, var(--tab-ic-m));
  }

  .about__details-nav-item--active {
    transform: translateY(-2px) scale(1.07);
  }

  .about__details-text {
    width: 100%;
    max-width: 100%;
    transform: none;
    justify-self: stretch;
  }

  .about__details-text-inner {
    padding: 18px;
  }

  .about__details-description {
    max-width: none;
    font-size: 14.5px;
    line-height: 1.72;
  }

  .about__details-image {
    width: min(290px, 92%);
    justify-self: center;
    padding: 12px;
    border-radius: clamp(44px, 10vw, 84px);
  }

  .about__details-image img {
    border-radius: calc(clamp(44px, 10vw, 84px) - 12px);
  }
}

@media (max-width:405px) {
  .about__details {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about__details-nav {
    gap: 10px;
  }
}

@media (max-width:360px) {
  .about__details-nav {
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 18px;
  }
}

/* =========================
   HOW PREMIUM
========================= */
.how-premium {
  width: 100%;
  background: #fff;
  padding-top: clamp(40px, 3.6vw, 78px);
  padding-bottom: 0;
}

.how-premium__head {
  width: min(var(--how-max), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}

.how-premium__title {
  margin: 0 0 clamp(10px, 1.1vw, 16px);
  font-weight: 850;
  font-size: var(--h2);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--btn);
  text-align: right;
}

.how-premium__wrap {
  width: min(var(--how-max), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}

.how-premium__panel {
  position: relative;
  width: 100%;
  aspect-ratio: var(--how-ar-desktop);
  isolation: isolate;

  --how-mask: var(--how-mask-desktop);

  --safe-top: 11%;
  --safe-x: 4.6%;
  --safe-bot: 17%;
}

.how-premium__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 80% at 20% 18%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(110% 80% at 88% 30%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(0, 0, 0, .10) 100%),
    var(--how-bg);

  -webkit-mask-image: var(--how-mask);
  mask-image: var(--how-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .14));
}

.how-premium__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(120% 70% at 50% 112%, rgba(0, 0, 0, .14) 0%, rgba(0, 0, 0, 0) 62%);

  -webkit-mask-image: var(--how-mask);
  mask-image: var(--how-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  mix-blend-mode: soft-light;
  opacity: .55;
}

.how-premium__content {
  position: absolute;
  inset: 0;
  z-index: 1;

  -webkit-mask-image: var(--how-mask);
  mask-image: var(--how-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.how-premium__safe {
  position: absolute;
  inset: var(--safe-top) var(--safe-x) var(--safe-bot);
}

.how-premium__grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: clamp(12px, 1.4vw, 18px);
  align-items: stretch;
}

.how-step {
  border-radius: clamp(40px, 4.6vw, 84px);
  background:
    radial-gradient(120% 140% at 20% 10%,
      rgba(255, 255, 255, .78) 0%,
      rgba(255, 255, 255, .50) 45%,
      rgba(255, 255, 255, .40) 100%);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .10),
    inset 0 1px 0 rgba(255, 255, 255, .50);
  padding: clamp(14px, 1.35vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.how-step__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-step__num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.how-step__title {
  margin: 0;
  font-weight: 850;
  font-size: var(--h3);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(34, 64, 40, .92);
  text-wrap: balance;
}

.how-step__text {
  margin: 2px 0 0;
  color: rgba(20, 30, 25, .86);
  font-size: clamp(12px, 1.02vw, 14px);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.how-step__media {
  display: none;
}

/* desktop */
@media (min-width:1025px) {
  .how-premium__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: start;
  }

  .how-step {
    min-height: clamp(260px, 18vw, 320px);
  }

  .how-step__media {
    display: grid;
    margin-top: 8px;
    place-items: center;
  }

  .how-step__img {
    width: min(220px, 92%);
    aspect-ratio: 1/1;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center 68%;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
  }

  .how-step:nth-child(1) {
    transform: translateY(-10px);
  }

  .how-step:nth-child(2) {
    transform: translateY(6px);
  }

  .how-step:nth-child(3) {
    transform: translateY(-6px);
  }

  .how-step:nth-child(4) {
    transform: translateY(10px);
  }

  .how-premium__panel {
    --safe-top: 10%;
    --safe-bot: 18%;
  }
}

/* tablet */
@media (max-width:1024px) and (min-width:700px) {
  .how-premium__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: clamp(12px, 1.8vw, 16px);
  }

  .how-premium__panel {
    --safe-top: 10.5%;
    --safe-x: 3.6%;
    --safe-bot: 20%;
  }

  .how-step__text {
    -webkit-line-clamp: 5;
  }

  .how-step:nth-child(1) {
    transform: translateY(-6px);
  }

  .how-step:nth-child(2) {
    transform: translateY(4px);
  }

  .how-step:nth-child(3) {
    transform: translateY(-2px);
  }

  .how-step:nth-child(4) {
    transform: translateY(8px);
  }
}

/* mid */
@media (max-width:699px) and (min-width:516px) {
  .how-premium__panel {
    --how-mask: var(--how-mask-mid);
    aspect-ratio: 579/820;
    --safe-top: 10%;
    --safe-x: 4%;
    --safe-bot: 12%;
  }

  .how-premium__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 14px;
    height: 100%;
  }

  .how-step {
    transform: none;
    padding: 16px 16px 14px;
    border-radius: clamp(36px, 7vw, 72px);
  }

  .how-step__text {
    -webkit-line-clamp: 5;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* mobile */
@media (max-width:515px) {
  .how-premium__panel {
    --how-mask: var(--how-mask-mobile);
    aspect-ratio: var(--how-ar-mobile);
    --safe-top: 12.5%;
    --safe-x: 3.8%;
    --safe-bot: 22%;
    min-height: 720px;
  }

  .how-premium__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .how-step {
    transform: none;
    border-radius: clamp(36px, 9vw, 72px);
    padding: 14px 14px 12px;
  }

  .how-step__text {
    -webkit-line-clamp: 3;
    font-size: 12px;
    line-height: 1.48;
  }
}

@media (max-width:360px) {
  .how-premium__panel {
    min-height: 780px;
    --safe-top: 13.5%;
    --safe-x: 3.2%;
    --safe-bot: 24%;
  }

  .how-step__top {
    gap: 8px;
  }

  .how-step__num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .how-step {
    padding: 12px 12px 10px;
  }

  .how-step__text {
    -webkit-line-clamp: 2;
    font-size: 11.5px;
    line-height: 1.42;
    margin-top: 8px;
  }
}

.how-premium__wave {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
  margin-top: clamp(-22px, -2vw, -14px);
  height: clamp(150px, 12vw, 240px);
  background: url("/img/basic/how/wave-block.svg") center/cover no-repeat;
  /* ✅ pfad ok */
}

@media (max-width:699px) {
  .how-premium__wave {
    margin-top: clamp(-26px, -4vw, -16px);
    height: clamp(120px, 18vw, 200px);
    background-image: url("/img/basic/how/wave-block-mobile.svg");
    /* ✅ pfad ok */
  }
}

/* =========================
   LAST GRADIENT + FORM
========================= */
.last-gradient {
  width: 100%;
  background: linear-gradient(to bottom,
      rgba(70, 130, 180, 1) 51%,
      rgba(0, 73, 120, .9) 95%,
      rgba(0, 73, 120, .9) 100%);
  padding-top: var(--section-pad-top);
  padding-bottom: var(--section-pad-bot);
}

.request {
  max-width: 980px;
  margin: 0 auto;
}

.request__title {
  margin: 0 0 10px;
  font-size: var(--h2);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.request__subtitle {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

.request__card {
  border-radius: var(--r-mid);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 26px 26px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.request__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.field {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  flex-basis: 100%;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .92);
}

.field__input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--glass-strong);
  color: #fff;
  padding: 14px;
  font-size: 15px;
  outline: none;
}

.field__input::placeholder {
  color: rgba(255, 255, 255, .65);
}

.field__input:focus {
  border-color: rgba(255, 255, 255, .42);
}

.field__textarea {
  resize: none;
  min-height: 140px;
  max-height: 180px;
  overflow: auto;
}

/* label + counter row */
.field--full>div {
  align-items: center;
}

.request__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .84);
  font-variant-numeric: tabular-nums;
}

.field--full>div .request__hint {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

/* radio pills */
.request__choice {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.choice-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.choice-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill input[type="radio"]+span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .10);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.choice-pill:hover input[type="radio"]+span {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .10);
}

.choice-pill input[type="radio"]:checked+span {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.choice-pill input[type="radio"]:focus-visible+span {
  outline: 2px solid rgba(255, 255, 255, .45);
  outline-offset: 3px;
}

/* consent checkbox */
.consent {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent input[type="checkbox"]+span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 40px;
  line-height: 1.35;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}

.consent input[type="checkbox"]+span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.consent input[type="checkbox"]+span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 10px;
  height: 6px;
  border-left: 2px solid rgba(255, 255, 255, .96);
  border-bottom: 2px solid rgba(255, 255, 255, .96);
  transform: translateY(-55%) rotate(-45deg);
  opacity: 0;
}

.consent input[type="checkbox"]:checked+span::after {
  opacity: 1;
}

.consent input[type="checkbox"]:checked+span::before {
  border-color: rgba(255, 255, 255, .70);
  background: rgba(255, 255, 255, .16);
}

.consent input[type="checkbox"]:focus-visible+span::before {
  outline: 2px solid rgba(255, 255, 255, .45);
  outline-offset: 3px;
}

/* actions */
.request__actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.request__submit {
  width: 220px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--btn);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform .1s ease, filter .15s ease;
}

.request__submit:hover {
  filter: brightness(.98);
}

.request__submit:active {
  transform: translateY(1px);
}

@media (max-width:480px) {
  .request__submit {
    width: 100%;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #004978;
  color: #fff;
  padding-top: clamp(56px, 4.2vw, 70px);
  padding-bottom: 26px;
}

.footer-inner {
  display: flex;
  gap: clamp(28px, 2.6vw, 48px);
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 280px;
  min-width: 240px;
  position: relative;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 46px;
  height: 2px;
  background: rgba(255, 255, 255, .22);
  border-radius: 999px;
  pointer-events: none;
  opacity: .9;
}

.footer-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}

.footer-link {
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding-bottom: 1px;
}

.footer-link:hover {
  border-bottom-color: rgba(255, 255, 255, .6);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

/* =========================
   tiny
========================= */
@media (max-width:330px) {
  :root {
    --pad-x: 12px;
  }

  .hero__carousel,
  .how-premium__wave {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}