@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --container: 1400px;
  --accent: #8B1E3F;
  --text: #111;
  --muted: #555;

  --left-bg: #e3e3e3;
  --page-bg: #f5f4f2;
  --right-bg: #ffffff;

  --line: rgba(0,0,0,.1);
  --radius: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --header-h: 72px;
}

*{ box-sizing:border-box; }
html, body{ overflow-x: hidden; }

body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:#fff;
  -webkit-font-smoothing: antialiased;
}

a{ text-decoration:none; color:inherit; }
button{ font:inherit; background:none; border:0; cursor:pointer; }

.is-act{
pointer-events: none;
cursor: default;
}

.mnav__ddbtn.is-active span {
  color: var(--accent); 
}

/* ================= HEADER ================= */
.header{
  position: relative;
  z-index: 20;
  padding:16px 0;
  background: transparent;
}

.header__inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap: 24px;
}

/* Logo */
.brand{
  display:inline-flex;
  align-items:center;
  justify-self:start;
}
.brand img{
  height:34px;
  width:auto;
  display:block;
}

/* Menu/Langs links (hover + active) */
.hover-text{
  display:inline-block;
  color:var(--text);
  font-weight:500;
  line-height:1;
  padding: 10px 2px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.hover-text:hover{ color: var(--accent); }

.hover-text.is-active,
.hover-text[aria-current="page"],
.hover-text[aria-current="true"]{
  color: var(--accent);
}

/* Desktop nav */
.nav{ justify-self:center; }
.nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:28px;
  align-items:center;
}

/* Desktop dropdown */
.dropdown{ position:relative; }
.dd-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0;
  background:none;
  border:0;
  cursor:pointer;
}

.dd-btn:hover .hover-text,
.dropdown[data-open="true"] .hover-text{
  color: var(--accent);
}

.chev{
  width:8px;
  height:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transition: transform .3s var(--ease), color .3s var(--ease);
}

.dropdown:hover .chev,
.dropdown[data-open="true"] .chev{ color: var(--accent); }

.dropdown[data-open="true"] .chev{ transform:rotate(225deg); }

.dd-menu{
  position:absolute;
  top:calc(100% + 12px);
  left:-12px;
  min-width:220px;
  background:#fff;
  border:1px solid var(--line);
  padding:10px;
  opacity:0;
  transform:translateY(6px);
  pointer-events:none;
  transition:.3s var(--ease);
  z-index:30;
}
.dropdown[data-open="true"] .dd-menu{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.dd-item{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  color:var(--text);
  line-height:1.2;
  transition: color .25s var(--ease);
}
.dd-item:hover{ color: var(--accent); }

/* Desktop langs */
.langs{
  justify-self:end;
  display:flex;
  gap:16px;
  font-size:14px;
  font-weight:600;
  align-items:center;
}

/* Burger */
.burger{
  display:none;
  width:20px;
  height:44px;
  padding:0;
  align-items:center;
  justify-content:center;
  transition: background .25s var(--ease);
}

.burger-lines{
  width:18px;
  height:12px;
  position:relative;
}
.burger-lines span{
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#111;
  border-radius:99px;
  transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s var(--ease);
}
.burger-lines span:nth-child(1){ top:0; }
.burger-lines span:nth-child(2){ top:5px; }
.burger-lines span:nth-child(3){ top:10px; }

.burger[aria-expanded="true"] .burger-lines span:nth-child(1){ top:5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3){ top:5px; transform: rotate(-45deg); }



/* ================= MOBILE NAV ================= */
.mnav{
  position:fixed;
  inset:0;
  z-index:50;
  pointer-events:none;
  opacity:0;
  transition: opacity .25s var(--ease);
}
.mnav.is-open{
  opacity:1;
  pointer-events:auto;
}

.mnav__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(2px);
}

.mnav__panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:min(360px, 88vw);
  background:#fff;
  border-left:1px solid var(--line);
  transform: translateX(14px);
  opacity:0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  display:flex;
  flex-direction:column;
  padding:18px 18px 22px;
  gap:12px;
}
.mnav.is-open .mnav__panel{
  transform: translateX(0);
  opacity:1;
}

.mnav__top{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding-bottom:10px;
}

.mnav__list{
  display:flex;
  flex-direction:column;
}

.mnav__link,
.mnav__ddbtn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  font-size:15px;
  font-weight:500;
  color: var(--text);
  transition: color .25s var(--ease);
  background:none;
}
.mnav__link:hover,
.mnav__ddbtn:hover{ color: var(--accent); }

.mnav__chev{
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
  opacity:.9;
}
.mnav__dd[data-open="true"] .mnav__chev{ transform: rotate(225deg); }

.mnav__submenu{
  display:grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.mnav__dd[data-open="true"] .mnav__submenu{ grid-template-rows: 1fr; }

.mnav__submenu > div{
  overflow:hidden;
  padding-left:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding-top:4px;
  padding-bottom:8px;
}

/* фикс большого разрыва под Leistungen когда закрыто */
.mnav__dd[data-open="false"] .mnav__submenu > div{
  padding-top:0;
  padding-bottom:0;
  gap:0;
}

.mnav__sublink{
  padding:5px 10px;
  font-size:15px;
  font-weight:500;
  color: var(--muted);
  transition: color .25s var(--ease);
  background:none;
}
.mnav__sublink:hover{ color: var(--accent); }

/* Mobile langs */
.mnav__langs{
  margin-top:auto;
  display:flex;
  justify-content:flex-end;
  gap:16px;
  font-size:13px;
  font-weight:600;
  align-items:center;
  padding: 10px 6px 2px;
}
.mnav__langs a{
  color: var(--text);
  font-weight:600;
  font-size:13px;
  transition: color .25s var(--ease);
}
.mnav__langs a:hover{ color: var(--accent); }

/* active state (menu + langs) */
.mnav__link.is-active,
.mnav__sublink.is-active,
.mnav__langs a.is-active,
.mnav__link[aria-current="page"],
.mnav__link[aria-current="true"],
.mnav__sublink[aria-current="page"],
.mnav__sublink[aria-current="true"],
.mnav__langs a[aria-current="page"],
.mnav__langs a[aria-current="true"]{
  color: var(--accent);
}

.dd-btn.is-active .chev{
  color: var(--accent);
}

/* ================= HERO ================= */
.hero{
  position:relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 40px;
  overflow-x: clip;
}

.hero-bg-left{
  position:absolute;
  top:0;
  left:0;
  width:50vw;
  height:100%;
  background:var(--left-bg);
  z-index:0;
}

.hero-inner{
  position:relative;
  z-index:1;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:24px;
}

.hero-left{
  padding:56px 56px 56px 0;
  min-height:360px;
}

h1{
  margin:0;
  font-size:32px;
  line-height:1.4;
  font-weight:600;
}

/* typing */
.typing-line{
  display:block;
  white-space:nowrap;
  position:relative;
  width: fit-content;
  max-width: 100%;
}
.typing-line::after{
  content:"";
  position:absolute;
  left: calc(100% + 0.18em);
  top: 0.25em;
  width: 2px;
  height: 0.9em;
  background: #111;
  opacity: 0;
}
.typing-line.is-typing::after,
.typing-line.is-done::after{
  opacity: 1;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

@media (max-width:500px){
  .typing-line::after{
    display:none;
  }
}

/* Right block (no animation) */
.hero-right{
  padding:70px 48px 48px 48px;
  min-height:360px;
  display:flex;
  flex-direction:column;
  gap:20px;
  box-shadow:none;
}

/* text */
.lead{
  font-size:16px;
  font-weight:600;
  margin:0;
}

.hero-right p{
  margin:0;
  color:var(--muted);
  line-height:1.4;
  max-width:55ch;
}

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

/* Button */
.hero-right .btn-arrow{ align-self: start; }

.hero-actions{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

#heroRight .btn-arrow--secondary{
  color:rgba(0,0,0,.7);
}

#heroRight .btn-arrow--secondary::after{
  color:rgba(0,0,0,.7);
}

/* btn-arrow effect (keep) */
.btn-arrow{
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;

  line-height: 1.5;
  padding: 2px 0;
  overflow: hidden;
}

.btn-arrow span{
  display:block;
  transition: transform .5s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.btn-arrow::after{
  content: attr(data-hover);
  position:absolute;
  left:0;
  right:0;
  top:100%;
  white-space:nowrap;
  text-align:left;
  transition: top .5s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.btn-arrow:hover span{ transform: translateY(-100%); }
.btn-arrow:hover::after{ top:0; }

.hero::after{
  content:"";
  position:absolute;
  right: 56px;
  bottom: 0;
  width: 420px;
  height: 170px;
  background: url("../images/img/banner-bg.webp") no-repeat right bottom;
  background-size: contain;
  z-index: 0;
  pointer-events:none;
}

/* HERO responsive */
@media (max-width:900px){
  /* header */
  .nav{ display:none; }
  .langs{ display:none; }

  .burger{
    display:inline-flex;
    justify-self:end;
    margin-right:0;
  }

  .header__inner{
    padding-left:24px;
    padding-right:0;
    grid-template-columns:auto 1fr auto;
  }

  /* отключаем absolute-панду */
  .hero::after{ display:none; }

  /* серый фон на весь hero */
  .hero{
    margin-top:0;
    padding-top: 15px;
    padding-bottom: 0;
    background: var(--left-bg);
  }

  .hero-bg-left{ width:100%; }
  .hero-inner{ grid-template-columns:1fr; }

  .hero-left{ padding:40px 0 0 0; min-height:auto; }
  h1{ font-size:28px; }

  .hero-right{ padding:30px 0 10px 0; min-height:auto; }
  .hero-right p{ max-width:100%; }

  /* typing: перенос + курсор рядом с текстом */
  .typing-line{
    display:block;
    white-space:normal;
    width: fit-content;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .typing-line::after{
    left: calc(100% + 0.18em);
    right:auto;
  }

  /* контейнер панды */
  .hero-panda{
    margin-top: 0;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 520 / 210;
    margin-left: auto;
    margin-right: auto;

    background-image: url("../images/img/banner-sm.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-30px);
  }
}

@media (max-width: 460px){
  .hero-panda{
    max-width: 360px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 599px){
  h1{
    font-size: 24px;
    line-height: 1.4;
  }
  
  .lang-ru h1{
    font-size: 25px;
  }
}


@media (min-width: 1024px) and (max-width: 1279px){
  h1{ font-size: 36px; }

  .hero-right{
    padding: 70px 48px 48px 0;
  }

  .hero::after{
    width: 360px;
    aspect-ratio: 520 / 210;
    height: auto;
  }
}



/* ================= BENEFITS ================= */
.benefits{
  padding: 120px 0;
}

.benefits__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.benefits__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.benefit{
  position: relative;
  padding: 18px 8px 10px 8px;
  border-radius: 18px;

  transform: translateY(16px);
  opacity: 0;
  filter: blur(8px);

  transition:
    transform .7s var(--ease),
    opacity .7s var(--ease),
    filter .7s var(--ease);
  transition-delay: calc(var(--i) * 110ms);
}

.benefit.is-in{
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

/* Большой номер */
.benefit__num{
  position: absolute;
  top: -18px;
  left: -6px;
  font-size: 76px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;

  color: rgba(0,0,0,.14);
  opacity: 0;
  transform: translateY(8px);

  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i) * 120ms + 120ms);
  pointer-events: none;
}

.benefit.is-in .benefit__num{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s var(--ease);

  animation: floatNum 2.8s var(--ease) infinite;
  animation-delay: calc(var(--i) * 0.35s);
}

@keyframes floatNum{
  0%, 100%{ transform: translateY(2px); }
  50%     { transform: translateY(-2px); }
}

/* Текст */
.benefit__title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.benefit__text{
  margin: 20px 0 0 0;
  color: var(--muted);
  line-height: 1.45;
  max-width: 42ch;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 900px){
  .benefits{ padding: 80px 0; }

  .benefits__grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .benefit__num{
    font-size: 64px;
    top: -14px;
  }

  .benefit__title{ font-size: 18px; }
  .benefit__text{ max-width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  .benefit.is-in .benefit__num{ animation: none; }
}



/* ================= TEMPLATES ================= */
.templates{
  background: #fff;
  padding: 0 0 120px 0;
}

.templates__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.templates__head{
  text-align: center;
  margin-bottom: 50px;
}

.templates__title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
}

.templates__sub{
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

/* Grid */
.templates__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

/* Card */
.tcard{
  position: relative;
}

.tcard__link{
  position: relative;
  display: block;
  overflow: hidden;

  aspect-ratio: 5 / 4;
  background: #fff;

  box-shadow: 0 0 0 1px rgba(0,0,0,.08);

  transform: translateY(10px);
  opacity: 0;
  filter: blur(8px);
  transition:
    transform .7s var(--ease),
    opacity .7s var(--ease),
    filter .7s var(--ease);
}

.tcard.is-in .tcard__link{
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

/* Image */
.tcard__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .7s var(--ease);
}

/* Overlay */
.tcard__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0;
  opacity: 1;
  pointer-events: none;
}

/* легкое затемнение фото (по умолчанию выключено) */
.tcard__overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0);
  transition: background .35s var(--ease);
}

/* Overlay content */
.tcard__meta{
  position: relative;
  z-index: 2;

  width: 100%;
  padding: 14px 16px;

  background: rgba(255,255,255);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
  pointer-events: auto;
}

/* текст на плашке тёмный */
.tcard__name,
.tcard__type{
  color: var(--muted);
}

.tcard__name{
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
}

.tcard__type{
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  opacity: .85;
}

.tcard__more{
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;

  line-height: 1.5;
  padding: 2px 0;
  overflow: hidden;
}

.tcard__more::after{ 
  content: attr(data-hover);
  position:absolute;
  left:0;
  right:0;
  top:100%;
  white-space:nowrap;
  text-align:left;
  transition: top .5s cubic-bezier(0.68,-0.55,0.265,1.55);
  color: var(--accent);
}

.tcard__more span{
  display:block;
  transition: transform .5s cubic-bezier(0.68,-0.55,0.265,1.55);
}

/* Hover */
@media (any-hover:hover){
  .tcard__link:hover .tcard__overlay::after{
    background: rgba(0,0,0,.22);
  }

  .tcard__link:hover .tcard__meta{
    transform: translateY(0);
    opacity: 1;
  }

  .tcard__link:hover .tcard__img{
    transform: scale(1.03);
  }

  .tcard__more:hover span{
    transform: translateY(-100%);
  }

  .tcard__more:hover::after{
    top:0;
  }
}

/* Touch devices */
@media (any-hover:none){
  .tcard__overlay::after{
    background: rgba(0,0,0,0);
  }
  .tcard__meta{
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Footer link */
.templates__footer{
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

/* Responsive */
@media (max-width: 900px){
  .templates{
    padding: 0 0 80px 0;
  }

  .templates__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .templates__head{
    text-align: left;
    margin-bottom: 50px;
  }

  .templates__title{
    margin: 0 auto 5px auto;
    font-size: 22px;
    text-align: center;
  }

  .templates__sub{
    margin: 0 auto;
    font-size: 15px;
    text-align: center;
  }
}

/* ===== templates head/footer hide until reveal ===== */
.templates__head,
.templates__footer{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease),
    filter .7s var(--ease);
}

.templates.is-in .templates__head,
.templates.is-in .templates__footer{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.templates__footer{
  transition-delay: .12s;
}



/* ================= PROCESS / SO FUNKTIONIERT ES ================= */
.process{
  background: var(--left-bg);
  padding: 120px 0;

  --num-w: 152px;
  --num-h: 88px;
  --meta-gap: 0px;
}

.process__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.process__title{
  margin: 0 0 36px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
}

.process__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  align-items: start;
}

.process__item{
  position: relative;
  padding: 16px 10px 10px;

  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease),
    filter .7s var(--ease);
  transition-delay: calc(var(--i) * 120ms);
}

.process__item.is-in{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.process__num{
  position: relative;
  display: inline-flex;
  width: var(--num-w);
  height: var(--num-h);
  align-items: center;

  font-size: 88px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.process__num-outline{
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  color: rgba(0,0,0,.10);
  transform: translateX(2px);
  pointer-events: none;
  opacity: 0;
}

.process__num-fill{
  display: inline-block;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .85s var(--ease);
  transition-delay: calc(var(--i) * 140ms + 160ms);
}
.process__item.is-in .process__num-fill{
  clip-path: inset(0 0 0 0);
}

.process__meta{
  position: absolute;
  left: calc(var(--num-w) + var(--meta-gap));
  top: 16px;
  height: var(--num-h);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.process__step{
  height: var(--num-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);

  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.process__icon{
  color: rgba(0,0,0,.65);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 140ms + 240ms);
}

.process__item.is-in .process__icon{
  opacity: 1;
  transform: translateY(0);
  animation: processFloat 2.8s var(--ease) infinite;
  animation-delay: calc(var(--i) * .35s + .4s);
}

@keyframes processFloat{
  0%,100%{ transform: translateY(2px); }
  50%{ transform: translateY(-2px); }
}

.process__h{
  margin: 14px 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.process__p{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 46ch;
}

@media (max-width: 900px){
  .process{ padding: 80px 0; }
  .process__title{ text-align: left; margin-bottom: 26px; font-size: 22px; }

  .process__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .process{
    --num-w: 132px;
    --num-h: 72px;
  }

  .process__num{
    font-size: 72px;
    height: var(--num-h);
  }

  .process__h{ font-size: 16px; }

  .process__meta{
    top: 16px;
    left: calc(var(--num-w) + var(--meta-gap));
    height: var(--num-h);
  }

  .process__p{ max-width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  .process__item,
  .process__num-fill,
  .process__icon{
    transition: none !important;
    animation: none !important;
  }
  .process__num-fill{ clip-path: inset(0 0 0 0); }
}



/* ================= ERWEITERTE OPTIONEN ================= */
.options{
  padding-top: 120px;
  padding-bottom: 0;
}

.options__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.options__title{
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 50px;
}

.options__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding-bottom: 200px;
}

/* card */
.oc{
  position: relative;
}

/* IMAGE */
.oc__media{
  position: relative;
  width: 410px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;

  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease),
    filter .75s var(--ease);
  transition-delay: calc(var(--i) * 140ms);
}

.oc__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT BOX */
.oc__box{
  position: absolute;
  left: 70px;
  right: 0;
  top: 62%;
  transform: translateY(0);

  background: var(--left-bg);
  padding: 22px 22px 18px;
  width: 380px;

  min-height: 210px;
  height: 230px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  filter: blur(10px);
  transition:
    opacity .7s var(--ease),
    filter .7s var(--ease);
  transition-delay: calc(var(--i) * 140ms + 260ms);
}

/* Кнопка всегда внизу */
.oc__box .btn-arrow,
.oc__box a{
  margin-top: auto;
}

.oc__box h3{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.oc__box p{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.oc__box .btn-arrow{
  align-self: flex-end;
}

/* reveal */
.oc.is-in .oc__media{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.oc.is-in .oc__box{
  opacity: 1;
  filter: blur(0);
}

/* responsive */
@media (max-width: 900px){
  .options{
    padding: 80px 0;
  }

  .options__grid{
    grid-template-columns: 1fr;
    gap: 44px;
    padding-bottom: 0px;
  }

  .options__title{
    font-size: 22px;
    margin-bottom: 50px;
  }

  .oc__media{
    width: 100%;
  }

  .oc__box{
    position: relative;
    left: 0;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: -40px;
  }

  .oc__box h3{ font-size: 16px; }
}



/* ================= PAKETE & PREISE ================= */
.packages{
  background: var(--left-bg);
  padding: 120px 0;
}

.packages__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.packages__title{
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 50px;
}

/* grid */
.packages__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* card */
.pkg{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  padding: 26px 22px 20px;

  display: flex;
  flex-direction: column;
  height: 100%;

  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease),
    filter .7s var(--ease);
  transition-delay: calc(var(--i) * 120ms);
}

.pkg.is-in{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (hover:hover){
  .pkg:hover{
    background: rgba(255,255,255,.7);
    transform: translateY(-4px);
  }
}

/* header */
.pkg__top{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.pkg__name{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.pkg__sub{
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(0,0,0,.55);
  line-height: 1.35;
  min-height: 38px;
}

/* section title inside card */
.pkg__kicker{
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 15px;
}

/* list */
.pkg__list{
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex: 1;
}

.pkg__list li{
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0,0,0,.68);
  margin-bottom: 8px;
}
.pkg__list li:last-child{ margin-bottom: 0; }

.pkg__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  box-shadow: 0 0 0 2px rgba(139,30,63,.10) inset;
}

/* foot */
.pkg__foot{
  margin-top: auto;
  width: 100%;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
}

/* tech */
.pkg__tech{
  margin-bottom: 20px;
}

.pkg__tech b{
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 500;
}

.pkg__tech span{
  font-size: 13px;
  color: rgba(0,0,0,.55);
}

/* price + footer button */
.pkg__bottom{
  padding-top: 0;
}

.pkg__priceTitle{
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 6px;
  height: 20px;
}

.pkg__price{
  margin: 0;
  font-size: 14px;
  color: rgba(0,0,0,.7);
  line-height: 1.4;
}

.pkg__vat{
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(0,0,0,.52);
}

.pkg__cta{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

/* responsive */
@media (max-width: 1100px){
  .packages__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px){
  .packages{ padding: 80px 0; }
  .packages__title{ text-align: center; margin-bottom: 50px; font-size: 22px; }
  .packages__grid{ grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce){
  .pkg{ transition: none !important; }
}



/* ================= ABOUT / LEISTUNGEN BLOCK ================= */
.about{
  background: #ffffff;
  padding: 120px 0;
}

.about__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.about__head{
  max-width: 880px;
  margin: 0 auto 70px;
  text-align: center;
}

.about__title{
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 26px;
}

.about__text{
  margin: 0 auto 14px;
  text-align: left;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.about__grid{
  margin-top: 66px;
}

.about__result{
  margin: 44px auto 0;
  text-align: left;
  font-weight: 500;
  color: rgba(0,0,0,.75);
  font-size: 15px;
  line-height: 1.45;
}

.about__item-title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.about__item-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.about__final{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
}

/* animation */
.about__head,
.about__item,
.about__final{
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease),
    filter .7s var(--ease);
}

.about__item{
  transition-delay: calc(var(--i) * 120ms);
}

.about.is-in .about__head,
.about.is-in .about__item,
.about.is-in .about__final{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* responsive */
@media (max-width: 900px){
  .about{ padding: 80px 0; }
  .about__title{ font-size: 22px; }

  .about__head{
    text-align: left;
    margin-bottom: 40px;
  }

  .about__text{
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .about__result{
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .about__grid{ margin-top: 54px; }

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

  .about__final{ text-align: left; }
}



/* ================= FOOTER ================= */
.site-footer{
  background: var(--left-bg);
  padding: 28px 0 0;
  position: relative;
}

.site-footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 18px 24px;

  min-height: 120px;
}

.site-footer__panda{
  position: absolute;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 180px;
  pointer-events: none;
  z-index: 0;
}

.site-footer__panda img{
  width: 100%;
  height: auto;
  display: block;
}

.site-footer__inner,
.site-footer__top,
.site-footer__bottom{
  position: relative;
  z-index: 2;
}

.site-footer__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
}

.site-footer__nav{
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__link{
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,.72);
  transition: color .25s var(--ease);
}
.site-footer__link:hover{ color: var(--accent); }

.site-footer__social{
  display: flex;
  align-items: center;
  gap: 12px;
}

.soc{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transform: translateY(0) scale(1);
  transition:
    transform .35s var(--ease),
    filter .35s var(--ease),
    box-shadow .35s var(--ease);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

@media (hover:hover){
  .soc:hover{
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.06);
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
  }
  .soc:hover svg{
    transform: rotate(-6deg) scale(1.03);
  }
}

.soc svg{
  display: block;
  transition: transform .35s var(--ease);
}

.site-footer__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 50px;
}

.site-footer__copy{
  font-size: 13px;
  color: rgba(0,0,0,.62);
  font-weight: 500;
}

.heart{
  color: var(--accent);
  display: inline-block;
  transform: translateY(1px);
  font-size: 18px;
  line-height: 0.8;
}

.site-footer__legal{
  display: flex;
  gap: 18px;
  align-items: center;
}

.site-footer__legalBtn{
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,.62);
  cursor: pointer;
  transition: color .25s var(--ease);
}
.site-footer__legalBtn:hover{ color: var(--accent); }

@media (max-width:768px){
  .lang-ru .site-footer__bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lang-ru .site-footer__legal{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lang-ru .site-footer__copy{
    margin-bottom: 4px;
  }
}

/* ================= MODAL ================= */
.modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.modal.is-open{
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
}

.modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(.98);
  width: min(760px, calc(100vw - 48px));
  max-height: min(76vh, 720px);

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);

  opacity: 0;
  transition:
    transform .32s var(--ease),
    opacity .32s var(--ease);
  overflow: hidden;
}

.modal.is-open .modal__panel{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.modal__title{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.modal__close{
  width: 34px;
  height: 34px;
  color: rgba(0,0,0,.72);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.modal__close:hover{
  color: var(--accent);
  border-color: rgba(139,30,63,.35);
  transform: translateY(-1px);
}

.modal__body{
  padding: 16px 18px 18px;
  overflow: auto;
  max-height: calc(min(76vh, 720px) - 56px);
  color: rgba(0,0,0,.70);
  font-size: 14px;
  line-height: 1.5;
}

/* footer responsive */
@media (min-width: 1024px) and (max-width: 1599px){
  .site-footer__top,
  .site-footer__bottom{
    padding-left: 180px;
  }
}

@media (max-width: 900px){
  .site-footer__panda{ display:none; }
  .site-footer__top,
  .site-footer__bottom{
    padding-left: 0;
  }
}

@media (max-width: 599px){
  .site-footer{
    padding: 32px 0 22px;
  }

  .site-footer__panda{
    display: none;
  }

  .site-footer__top{
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-left: 0;
  }

  .site-footer__nav{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-footer__social{
    gap: 14px;
  }

  .site-footer__bottom{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    margin-top: 26px;
  }

  .site-footer__copy{
    font-size: 13px;
  }

  .site-footer__legal{
    gap: 16px;
  }
}

.cookie-note{
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 90;

  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .45s var(--ease),
    transform .45s var(--ease),
    visibility .45s var(--ease);
}

.cookie-note.is-visible{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.cookie-note__inner{
  max-width: 860px;
  margin: 0 auto 0 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;

  padding: 14px 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}

.cookie-note__icon{
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  opacity: .9;
  margin-top: 2px;
}

.cookie-note__content{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-note__text{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0,0,0,.68);
  text-align: left;
  max-width: 560px;
}

.cookie-note__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
}

.cookie-note__actions .btn-arrow{
  font-size: 15px;
}

#cookieAccept{
  color: var(--accent);
}

#cookieDecline{
  color: rgba(0,0,0,.7);
}

.cookie-note__btn{
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 767px){
  .cookie-note{
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-note__inner{
    padding: 12px 14px;
  }

  .cookie-note__content{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-note__actions{
    justify-content: flex-start;
    gap: 14px;
  }

  .cookie-note__text{
    font-size: 12px;
    max-width: 100%;
  }
  
  .cookie-note__actions .btn-arrow{
  font-size: 13px;
}
}

.error404{
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 20% 20%, rgba(139,30,63,.08), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(139,30,63,.06), transparent 24%),
    linear-gradient(180deg, #f5f4f2 0%, #ffffff 100%);
  overflow: hidden;
}

.error404__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.error404__box{
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 32px;
  background: none;
  border: none;
  backdrop-filter: none;
  overflow: visible;
  opacity: 0;
  transform: translateY(24px);
  animation: errorFadeUp .9s var(--ease) forwards;
}

.error404__box::before,
.error404__box::after{
  display: none;
}

.error404__code{
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(72px, 16vw, 160px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--accent);
  text-shadow: 0 10px 30px rgba(139,30,63,.12);
  animation: errorFloat 3.8s ease-in-out infinite;
}

.error404__title{
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
}

.error404__text{
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.error404__actions{
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

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

@keyframes errorFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

@media (max-width: 700px){
  .error404{
    padding: 56px 0 80px;
    min-height: calc(100vh - 180px);
  }

  .error404__box{
    padding: 46px 22px;
  }

  .error404__text{
    font-size: 15px;
  }

  .error404__actions{
    gap: 18px;
    align-items: center;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce){
  .error404__box,
  .error404__code{
    animation: none !important;
  }

  .error404__box{
    opacity:1;
    transform:none;
  }
}