@charset "UTF-8";
main .banner {
  width: 100%;
  height: 32rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
main .banner .rectangle {
  position: absolute;
  left: 0;
  top: 0;
  width: 52%;
  height: 100%;
  background-color: #BD1C1D;
}
main .banner .rectangle::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20.5rem;
  width: 20.5rem;
  height: 100%;
  background-color: #BD1C1D;
  transform-origin: top left;
  transform: skewX(-32.645deg);
}
main .banner .gradient {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
}
main .banner .dzd-symbol {
  position: absolute;
  top: 2rem;
  right: calc(48% - 2.4rem);
  width: 37.5rem;
  height: 28rem;
  background-image: url("../images/dzd-symbol.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
}
main .banner .middle {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
main .banner .text {
  /* ODCHYLKA OD DE: tam je font-size 5.6rem a margin 4rem/3.5rem.
     Banner je flex řádek a v němčině vychází přesně na šířku kontejneru
     (70rem = 4 + text 29.4 + 3.5 + hero 31.25 + zbytek). Litevské
     "GERIAUSIOS" je širší než "ZU BESTEN", řádek přetekl a hero obrázek
     padal pod text. Zmenšeno tak, aby se vešel a zůstala mezera před
     obrázkem jako v DE.
     POZOR: nadpis se musí vejít do 70 - margin-left - margin-right - 31.25 rem.
     Když se bude měnit text banneru, ověř, že se hero nezalomí pod něj. */
  margin-left: 3.5rem;
  margin-right: 3rem;
  font-weight: 900;
  font-size: 5.4rem;
  line-height: 100%;
  color: var(--white);
}
@media screen and (max-width: 768px) {
  main .banner .text {
    font-size: 3.6rem;
    padding-top: 2rem;
    margin: 0;
  }
}
main .banner .hero {
  width: 31.25rem;
  height: 22.15rem;
}
@media screen and (max-width: 768px) {
  main .banner .hero {
    margin-top: -1rem;
  }
  main .banner {
    /* auto výška – fixních 32rem ořezávalo spodek hero obrázku */
    height: auto;
    padding-bottom: 0.5rem;
  }
}

main h1 {
  color: var(--red);
  font-weight: 900;
  font-size: 1.8rem;
  text-align: center;
  margin-top: 2.75rem;
}
main h1 span {
  color: var(--grey-87);
}
main h1 + p {
  text-align: center;
}
main .arr {
  width: 2rem;
  height: 1.1rem;
  padding: 2rem;
  background-image: url("../images/dzd-arrow-down.svg");
  background-repeat: no-repeat;
  background-size: 2rem 1.1rem;
  background-position: center;
  cursor: pointer;
}
@keyframes hoverAnimation {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(0.5rem);
  }
  50% {
    transform: translateY(0rem);
  }
  75% {
    transform: translateY(0.5rem);
  }
  100% {
    transform: translateY(0);
  }
}
main .arr:hover {
  animation: hoverAnimation 0.5s ease-in-out;
  /* Použití animace s délkou 0.4s a efektem ease */
}

/* .dynamic-shadow {
    -webkit-filter: drop-shadow(30px 30px 27px rgba(0, 0, 0, 0.6));
    filter: drop-shadow(30px 30px 27px rgba(0, 0, 0, 0.6));
} */
.products > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6.5rem;
}
.products > div > a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 26.5rem;
  height: 16.5rem;
  position: relative;
  /* &:hover>div:first-of-type {
      transform-origin: top center;
      transform: translate(0, -60%);
  } */
}
@media screen and (max-width: 768px) {
  .products > div > a {
    margin-bottom: 1.5rem;
  }
}
@media screen and (min-width: 769px) {
  .products > div > a {
    margin-left: 1.5rem;
  }
}
.products > div > a > div:first-of-type {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 10rem;
  background-color: var(--light);
  transition: 0.25s;
}
.products > div > a > div:first-of-type::after {
  content: "";
  width: 10.8rem;
  height: 5.55rem;
  background-image: url("../data/dzd-angebot.png?v=20260918");
  background-image: url("../data/dzd-angebot.webp?v=20260918");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -2.5rem;
  top: -2.5rem;
}
@media screen and (max-width: 768px) {
  .products > div > a > div:first-of-type::after {
    left: -1rem;
  }
}
.products > div > a .img-box {
  width: 8.5rem;
  height: 100%;
  margin-right: 7rem;
  position: relative;
  transition: 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .products > div > a .img-box {
    margin-right: 3rem;
  }
}
.products > div > a .img-box img {
  display: block;
  width: 100%;
  height: auto;
}
.products > div > a .img-box.alabel::before,
.products > div > a .img-box.blabel::before,
.products > div > a .img-box.clabel::before {
  content: "";
  width: 4.3rem;
  height: 3.1rem;
  background-image: url("../data/dzd-a-label.png");
  background-image: url("../data/dzd-a-label.webp");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -5rem;
  /* svisle na střed obrázku – pevné top sedělo u každé karty jinak (výšky karet se liší) */
  top: calc(50% - 1.55rem);
  transform-origin: right center;
  transition: 0.25s ease-in-out;
}
.products > div > a .img-box.blabel::before {
  background-image: url("../data/dzd-b-label.svg");
}
/* Štítek třídy C – v německé verzi nebyl potřeba, litevský sortiment ho má
   u pěti z šesti produktů. Barva #C7D301 je převzatá z ikony, kterou pro
   třídu C používá dzd.cz (C-Right-LightGreen.png). */
.products > div > a .img-box.clabel::before {
  background-image: url("../data/dzd-c-label.svg");
}
.products > div > a:hover > .img-box {
  /* transform-origin: bottom center; */
  transform: scale(1.1, 1.1);
}
.products > div > a:hover > .img-box.alabel::before,
.products > div > a:hover > .img-box.blabel::before,
.products > div > a:hover > .img-box.clabel::before {
  transform: scale(0.8, 0.8) translateX(-2rem);
}
.products > div > div {
  width: calc(100% - 28rem - 3.75rem);
}
@media screen and (max-width: 768px) {
  .products > div > div {
    width: 100%;
  }
}
.products > div .name {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 130%;
  margin: 0.75rem 0 1.5rem;
}
.products > div .name span {
  display: block;
  color: var(--black);
}
.products > div .volume {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 130%;
}
.products > div .bullets {
  margin-top: 1.25rem;
  padding-left: 1.4rem;
  font-size: 1.15rem;
  list-style: disc;
}
.products > div .bullets li {
  margin-bottom: 0.4rem;
}
.products > div .flex:last-of-type {
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  .products > div .flex:last-of-type {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
.products > div .btn {
  margin: 0;
}
@media screen and (min-width: 769px) {
  .products > div .btn {
    margin-right: 1.85rem;
  }
}
@media screen and (max-width: 768px) {
  .products > div .btn {
    margin-top: 0.5rem;
  }
}
.products > div .g2es-logo {
  width: 11rem;
  height: 3rem;
}

@keyframes dotPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
#vorteile {
  position: relative;
}

.features {
  padding: 2rem 0;
}

/* Interaktivní bojler: hotspoty + karta */
.hotspots {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 4.5rem;
}
.hotspots .stage {
  position: relative;
  width: 21rem;
  flex: none;
}
.hotspots .dot {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  transform: translate(-50%, -50%);
  background-color: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s;
  z-index: 1;
}
.hotspots .dot::before {
  content: "+";
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 2.5rem;
  transition: transform 0.25s;
}
.hotspots .dot::after {
  content: "";
  position: absolute;
  inset: -0.4rem;
  border: 2px solid var(--red);
  border-radius: 50%;
  animation: dotPulse 1.8s ease-out infinite;
}
.hotspots .dot:hover {
  background-color: var(--orange);
}
.hotspots .dot.active {
  background-color: var(--black);
}
.hotspots .dot.active::before {
  transform: rotate(45deg);
}
.hotspots .dot.active::after {
  animation: none;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hotspots .dot::after {
    animation: none;
    opacity: 0;
  }
}
.hotspots .panel {
  flex: 1;
  position: sticky;
  top: 8.5rem;
}

.feature-card {
  background-color: var(--light);
  padding: 2rem;
}
.feature-card .head {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.feature-card .thumb {
  width: 7rem;
  height: auto;
  flex: none;
  border: 2px solid var(--red);
}
.feature-card .count {
  color: var(--grey-87);
  font-weight: 700;
  font-size: 0.9rem;
}
.feature-card .title {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.3rem;
  line-height: 130%;
  margin-top: 0.35rem;
}
.feature-card .text {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}
.feature-card .nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.feature-card .nav button {
  background-color: var(--white);
  border: 1px solid var(--midi);
  color: var(--black);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}
.feature-card .nav button:hover {
  border-color: var(--red);
  color: var(--red);
}

@media screen and (max-width: 768px) {
  .hotspots {
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .hotspots .stage {
    width: min(19rem, 78vw);
    margin: 0 auto;
  }
  .hotspots .panel {
    width: 100%;
    position: static;
  }
}

/* Seznam všech vlastností (SEO + čtenáři) */
.features .content {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
}
.features .content .box {
  width: calc(33.333% - 1.67rem);
  position: relative;
}
@media screen and (max-width: 768px) {
  .features .content .box {
    width: 100%;
    padding-left: calc(2.35rem + 1px);
  }
}
.features .content .box picture {
  width: 8rem;
}
.features .content .box::before {
  content: attr(data-num);
  position: absolute;
  left: -2.35rem;
  top: 0;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 2.35rem;
  height: 2.35rem;
  width: 2.35rem;
  background-color: var(--grey-87);
  text-align: center;
}
@media screen and (max-width: 768px) {
  .features .content .box::before {
    left: 1px;
  }
}
.features .content .box:nth-child(1) picture, .features .content .box:nth-child(2) picture, .features .content .box:nth-child(3) picture {
  border: 2px solid var(--red);
}
.features .content .box:nth-child(1)::before, .features .content .box:nth-child(2)::before, .features .content .box:nth-child(3)::before {
  background-color: var(--red);
}
.features .content .box .name {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0.75rem 0;
}

.g2es-logo {
  background-image: url("../data/dzd-g2.png");
  background-image: url("../data/dzd-g2.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

#aktionspreise .products {
  margin-top: 3rem;
}

#kontakt > div > .flex {
  margin: 3rem 0 6.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  #kontakt > div > .flex {
    justify-content: center;
  }
}
#kontakt > div > .flex picture {
  width: 28rem;
  height: auto;
}
@media screen and (max-width: 768px) {
  #kontakt > div > .flex picture {
    width: 100%;
  }
}
#kontakt > div > .flex > div {
  width: calc(100% - 28rem - 3.75rem);
  display: block;
}
@media screen and (max-width: 768px) {
  #kontakt > div > .flex > div {
    width: 100%;
  }
}
#kontakt > div > .flex > div .g2es-logo {
  display: block;
  width: 17.3rem;
  height: 4.75rem;
}
@media screen and (max-width: 768px) {
  #kontakt > div > .flex > div .g2es-logo {
    transform-origin: left center;
    width: 11rem;
    height: 3rem;
  }
}
#kontakt > div > .flex > div p {
  margin: 1.1rem 0;
}
#kontakt > div > .flex > div p span {
  font-weight: 900;
  color: var(--grey-5d);
}
#kontakt > div > .flex > div .btn {
  margin: 0;
}
@media screen and (max-width: 768px) {
  #kontakt > div > .flex > div {
    width: 100%;
    margin-left: 0;
    margin-top: 1.5rem;
  }
}

/* Cookie lišta */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
  padding: 1.25rem 0;
  z-index: 5;
  display: none;
}
#cookie-banner.visible {
  display: block;
}
#cookie-banner .middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
#cookie-banner p {
  flex: 1;
  min-width: 16rem;
  font-size: 1rem;
  line-height: 145%;
  margin: 0;
}
#cookie-banner .actions {
  display: flex;
  gap: 0.75rem;
  flex: none;
}
#cookie-banner .actions .btn {
  margin: 0;
  font-size: 1.05rem;
}
#cookie-banner #cookie-reject {
  background-color: var(--white);
  border: 1px solid var(--midi);
  color: var(--black);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 2.9rem;
  cursor: pointer;
  transition: 0.2s;
}
#cookie-banner #cookie-reject:hover {
  border-color: var(--red);
  color: var(--red);
}
@media screen and (max-width: 768px) {
  #cookie-banner .middle {
    gap: 1rem;
  }
  #cookie-banner .actions {
    width: 100%;
    justify-content: flex-end;
  }
}
