/* Über-uns-Seite – angelehnt an andresen-immobilien.de/ueberuns/ */

.page-ueberuns .videoSec {
  background: #f0efee;
}

/* Hero */
#ueberuns-startpic .picBox img {
  width: 100%;
  height: clamp(220px, 35vw, 680px);
  object-fit: cover;
}

/* Titel + Intro */
#ueberuns-starttext .outer_wrapper > .title {
  padding-top: clamp(2rem, 1.17rem + 2.78vw, 4.5rem);
  padding-bottom: clamp(3.75rem, -1.875rem + 18.75vw, 20.625rem);
  margin: 0 auto;
  text-align: center;
}

#ueberuns-starttext .outer_wrapper > .title h1 {
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(3.125rem, 1.04rem + 6.94vw, 9.375rem);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #2a2a2a;
}

#ueberuns-starttext .outer_wrapper > .txt_copy {
  width: 70%;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 2rem + 3vw, 6rem);
  text-align: center;
}

#ueberuns-starttext .outer_wrapper > .txt_copy > h3 {
  padding-bottom: clamp(2.5rem, 1.5rem + 3.33vw, 5rem);
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(1.5rem, 1.1rem + 1.33vw, 2.5rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #2a2a2a;
}

#ueberuns-starttext .outer_wrapper > .txt_copy > p {
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(1.2rem, 0.9rem + 0.85vw, 2rem);
  line-height: 1.15;
  font-weight: 100;
  letter-spacing: -0.01em;
  color: #2a2a2a;
}

/* Slider */
#ueberuns-slider {
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

#ueberuns-slider .slideshow {
  max-width: 1236px;
  margin: 0 auto;
}

#ueberuns-slider .swiperBox {
  position: relative;
  padding-bottom: 36px;
}

#ueberuns-slider .swiper-slide .picBox img {
  width: 100%;
  aspect-ratio: 1222 / 700;
  object-fit: cover;
}

#ueberuns-slider .swiper-pagination {
  bottom: 0 !important;
}

#ueberuns-slider .swiper-pagination-bullet {
  background: rgba(59, 58, 57, 0.35);
  opacity: 1;
}

#ueberuns-slider .swiper-pagination-bullet-active {
  background: #3b3a39;
}

#ueberuns-slider .swiper-button-prev,
#ueberuns-slider .swiper-button-next {
  display: none;
}

/* Team – Christian & Julian */
#ueberuns-christianandresen,
#ueberuns-julianmeyer {
  max-width: 1236px;
  margin: 0 auto;
  padding-top: 40px;
}

#ueberuns-christianandresen .picBox,
#ueberuns-julianmeyer .picBox {
  padding: 3% 5%;
}

#ueberuns-christianandresen .picBox img,
#ueberuns-julianmeyer .picBox img {
  width: 100%;
  height: auto;
}

#ueberuns-christianandresen .outer_wrapper,
#ueberuns-julianmeyer .outer_wrapper {
  padding-bottom: 20px;
}

#ueberuns-christianandresen .outer_wrapper .txt_copy,
#ueberuns-julianmeyer .outer_wrapper .txt_copy {
  text-align: left;
}

#ueberuns-christianandresen .outer_wrapper .txt_copy h3,
#ueberuns-julianmeyer .outer_wrapper .txt_copy h3 {
  padding-top: clamp(1.5rem, 0.27rem + 2.59vw, 3.375rem);
  margin-bottom: 10px;
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(2.25rem, 1.15rem + 3.67vw, 5rem);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #3b3a39;
}

#ueberuns-christianandresen .outer_wrapper .txt_copy h5,
#ueberuns-julianmeyer .outer_wrapper .txt_copy h5 {
  margin-bottom: clamp(1.5rem, 0.6rem + 4.5vw, 6rem);
  font-family: "Untitled", "freight-sans-pro", Arial, sans-serif;
  font-size: clamp(1rem, 0.85rem + 0.75vw, 1.5rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #3b3a39;
}

#ueberuns-christianandresen .outer_wrapper .txt_copy p,
#ueberuns-julianmeyer .outer_wrapper .txt_copy p {
  margin-bottom: 1em;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#ueberuns-christianandresen .outer_wrapper .txt_copy p:last-of-type,
#ueberuns-julianmeyer .outer_wrapper .txt_copy p:last-of-type {
  margin-bottom: 0;
}

/* Pill-Button (wie Original) */
.linkBox > .link.btn-pill,
a.btn-pill {
  display: inline-block;
  width: max-content;
  padding: clamp(0.5rem, 0.2rem + 1.08vw, 0.9375rem) clamp(1.25rem, 0.21rem + 2.78vw, 3.125rem);
  border-radius: 30px;
  font-family: "Untitled", "freight-sans-pro", Arial, sans-serif;
  font-size: clamp(0.75rem, 0.65rem + 0.33vw, 1rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  background: #b4b0ac;
  background-image: none;
  color: #3b3a39;
  transition: opacity 0.2s;
}

.linkBox > .link.btn-pill:hover,
a.btn-pill:hover { opacity: 0.85; }

.linkBox > .link.btn-pill > span,
a.btn-pill span {
  display: inline-block;
  padding-top: 1px;
  border-bottom: none;
  color: #3b3a39;
}

#ueberuns-christianandresen .linkBox,
#ueberuns-julianmeyer .linkBox,
#ueberuns-werttext .linkBox {
  padding-top: clamp(1.875rem, 0.5rem + 3vw, 6.25rem);
}

@media (min-width: 760px) {
  #ueberuns-christianandresen,
  #ueberuns-julianmeyer {
    display: flex;
    max-width: 1920px;
    padding-top: clamp(2.5rem, -0.83rem + 11.11vw, 12.5rem);
    padding-bottom: clamp(1.875rem, 0.5rem + 3vw, 6.25rem);
    margin-bottom: 60px;
  }

  #ueberuns-christianandresen .picBox,
  #ueberuns-julianmeyer .picBox {
    flex: 0 0 50%;
  }

  #ueberuns-christianandresen .outer_wrapper,
  #ueberuns-julianmeyer .outer_wrapper {
    flex: 1;
    padding-top: 15%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  #ueberuns-julianmeyer {
    flex-direction: row-reverse;
    padding-top: 0;
  }

  #ueberuns-julianmeyer .outer_wrapper .txt_copy,
  #ueberuns-julianmeyer .outer_wrapper .txt_copy .linkBox {
    text-align: right;
  }
}

/* Imagevideo */
#ueberuns-video.videoSec {
  padding: 80px 0;
}

#ueberuns-video .wrapper_hd {
  max-width: 2560px;
  margin: 0 auto;
  padding: 0 clamp(30px, 5vw, 120px);
}

#ueberuns-video .videoBox {
  position: relative;
}

#ueberuns-video .videoBox video {
  display: block;
  width: 100%;
  height: auto;
}

#ueberuns-video .video-sound-toggle {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s, color 0.2s;
}

#ueberuns-video .video-sound-toggle:hover {
  opacity: 0.85;
}

#ueberuns-video .video-sound-toggle.is-unmuted {
  background: #000;
  color: #fff;
}

#ueberuns-video .video-sound-toggle svg {
  width: 16px;
  height: 16px;
}

#ueberuns-video .video-sound-toggle .icon-unmuted {
  display: none;
}

#ueberuns-video .video-sound-toggle.is-unmuted .icon-muted {
  display: none;
}

#ueberuns-video .video-sound-toggle.is-unmuted .icon-unmuted {
  display: block;
}

@media (min-width: 761px) {
  #ueberuns-video .video-sound-toggle {
    top: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
  }

  #ueberuns-video .video-sound-toggle svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 1200px) {
  #ueberuns-video .video-sound-toggle {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  #ueberuns-video .video-sound-toggle svg {
    width: 24px;
    height: 24px;
  }
}

/* Werte-Akkordeon */
#ueberuns-werte .outer_wrapper .txt_copy {
  max-width: 1920px;
  margin: 0 auto;
}

#ueberuns-werte .outer_wrapper .txt_copy > h2 {
  margin-bottom: clamp(1.875rem, 0.625rem + 4.17vw, 5.625rem);
  font-family: "Untitled", "freight-sans-pro", Arial, sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1.33vw, 2.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-align: center;
  color: #3b3a39;
}

#ueberuns-werte .akkordeon {
  border-bottom: 1px solid #3b3a39;
}

#ueberuns-werte .akkordeon .accordionButton {
  display: flex;
  align-items: center;
  width: 100%;
  border-top: 1px solid #3b3a39;
  background: url('../images/icons/ico_arr_pure_down_gray.svg') right center / 30px auto no-repeat;
  background-color: transparent;
  cursor: pointer;
  text-align: center;
}

#ueberuns-werte .akkordeon .accordionButton > h3 {
  flex: 1;
  width: 100%;
  padding: clamp(1.875rem, 0.625rem + 4.17vw, 5.625rem) 40px clamp(1.875rem, 0.625rem + 4.17vw, 5.625rem) 0;
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(3.125rem, 0.42rem + 9.03vw, 11.25rem);
  line-height: 0.9;
  font-weight: 100;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #3b3a39;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#ueberuns-werte .akkordeon .accordionButton.on {
  background-image: url('../images/icons/ico_arr_pure_up_gray.svg');
}

#ueberuns-werte .akkordeon .accordionContent {
  display: none;
  padding: 0 10% 40px;
  margin-top: calc(clamp(1.125rem, 0rem + 3.75vw, 4.5rem) * -1);
  text-align: center;
}

#ueberuns-werte .akkordeon .accordionButton.on + .accordionContent {
  display: block;
}

#ueberuns-werte .akkordeon .accordionContent p {
  max-width: 900px;
  margin: 0 auto;
  font-family: "Untitled", "freight-sans-pro", Arial, sans-serif;
  font-size: clamp(1.125rem, 0.9rem + 0.75vw, 1.75rem);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
  color: #3b3a39;
}

#ueberuns-werte .akkordeon .accordionContent strong {
  font-family: inherit;
  font-weight: 700;
}

@media (min-width: 1020px) {
  #ueberuns-werte .akkordeon .accordionContent {
    padding: 0 20% 40px;
  }
}

/* CTA-Text */
#ueberuns-werttext .outer_wrapper {
  padding-bottom: 80px;
}

#ueberuns-werttext .outer_wrapper .txt_copy {
  max-width: 800px;
  margin: 0 auto;
  padding-top: clamp(1.5rem, 0.27rem + 2.59vw, 3.375rem);
  text-align: center;
}

#ueberuns-werttext .outer_wrapper .txt_copy h3 {
  font-family: "Portrait", "freight-display-pro", Georgia, serif;
  font-size: clamp(1.5rem, 1.1rem + 1.33vw, 2.5rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #3b3a39;
}

#ueberuns-werttext .linkBox {
  text-align: center;
}

/* Karte */
#ueberuns-karte .outer_wrapper > .title {
  padding-top: clamp(1.875rem, 0.5rem + 3vw, 6.25rem);
  text-align: center;
}

#ueberuns-karte .outer_wrapper > .title h3 {
  font-family: "Untitled", "freight-sans-pro", Arial, sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1.33vw, 2.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #3b3a39;
}

#ueberuns-karte .map_container {
  position: relative;
  height: 40vh;
  min-height: 450px;
  filter: grayscale(100%);
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}

#ueberuns-karte .map_container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
