/*
Theme Name: SPS
Author: Portalworks
Version: 1.0
*/

:root {
  --primary-color: #b28d68;
  --secondary-color: #f6eee5;
  --white-color: white;
  --text-color-dark: #000;
  --text-color-light: #fff;
  --primary-font: "Barlow", sans-serif;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow/Barlow-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow/Barlow-Medium.ttf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow/Barlow-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow/Barlow-Bold.ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/****************************
           GENERAL
****************************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

.page a {
  color: var(--text-color-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page h3 {
  font-size: 14px;
}

.page p,
.page a,
.page li {
  font-family: var(--primary-font);
}

.page strong {
  font-weight: 700;
}

section img {
  width: 100%;
}

.primary-color {
  color: var(--primary-color);
}

.secondary-color {
  color: var(--secondary-color);
}

.primary-bg {
  background-color: var(--primary-color);
}

.secondary-bg {
  background-color: var(--secondary-color);
}

.white-bg {
  background-color: white;
}

.custom-container,
.wp-block-jetpack-tiled-gallery {
  max-width: unset;
  padding-inline: 30px;
}

.title,
.banner-text h1,
.banner-text-full h1,
.hero-2 h1,
.page h1,
.banner-text h1 p,
.banner-text-full h1 p,
.hero-2 h1 p {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 135%;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--text-color-dark);
  text-transform: uppercase;
}

.banner-text h1,
.banner-text-full h1,
.hero-2 h1,
.banner-text h1 p,
.banner-text-full h1 p,
.hero-2 h1 p,
.text-section h2 p {
  font-size: 1.5rem;
}

.banner-text p,
.banner-text-full p,
.hero-2 p {
  font-size: 0.8rem;
}

.title p {
  margin-bottom: 0;
}

.text,
.banner-text p,
.banner-text-full p,
.text li,
.hero-2 p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  color: var(--text-color-dark);
}

/****************************
           NAVBAR
****************************/
.navbar {
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0px 1px 3px 0px #00000040;
}

.navbar-brand {
  max-width: 200px;
}

.navbar-toggler {
  border: none;
}
.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: unset;
}

.navbar-nav {
  gap: 20px;
}

.navbar-nav .nav-item .nav-link {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--text-color-dark);
  transition: font-weight 0.2s ease-in-out;
  padding-inline: 5px;
  margin: 0;
}

.navbar-nav .nav-link:hover {
  font-weight: 700;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  text-decoration: none;
  color: var(--text-color-dark);
}

.navbar-nav .nav-item:nth-last-child(1) {
  font-weight: 700;
  padding: 11px 25px;
  border: 1px solid var(--text-color-dark);
}

.navbar-nav .nav-item:nth-last-child(1):hover {
  background-color: var(--text-color-dark);
}

.navbar-nav .nav-item:nth-last-child(1) a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  gap: 10px;
}

.navbar-nav .nav-item:nth-last-child(1):hover a {
  color: white;
}

.navbar-nav .nav-item:nth-last-child(1) a::after {
  content: url("assets/images/arrow-up-right.svg");
  display: inline-block;
  width: 24px;
  height: 24px;
}

.navbar-nav .nav-item:nth-last-child(1):hover a::after {
  content: url("assets/images/arrow-up-right-white.svg");
}

.custom-button {
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0.02em;
  padding: 11px 25px;
  border: 1px solid var(--text-color-dark);
  border-radius: 0;
  width: fit-content;
}

.custom-button:hover {
  border: 1px solid var(--text-color-dark);
  background: transparent;
  color: var(--text-color-dark);
  text-decoration: none;
}

.hero img {
  height: 100%;
  object-fit: cover;
}
.hero-image-part {
  width: 100%;
  left: 0;
}

.spacing {
  margin-top: 50px;
  margin-bottom: 50px;
}

.hero #carouselHero {
  height: 250px;
}

#carouselHero .carousel-control-next,
#carouselHero .carousel-control-prev {
  align-items: end;
  width: 69px;
  height: 38px;
  bottom: 0;
  top: unset;
  background-color: #d9d9d933;
  opacity: 1;
}

#carouselHero .carousel-control-prev {
  left: unset;
  right: 69px;
}

#carouselHero .carousel-item {
  aspect-ratio: 16 / 9;
}

#carouselHero .carousel-control-prev-icon {
  background-image: url("<?= get_template_directory_uri() ?>/assets/images/arrow-prev.png");
}

#carouselHero .carousel-control-next-icon {
  background-image: url("<?= get_template_directory_uri() ?>/assets/images/arrow-next.png");
}

#carouselHero .carousel-control-prev-icon,
#carouselHero .carousel-control-next-icon {
  width: 35px;
  height: 35px;
  background-size: 9px 17px;
  background-position: center center;
  align-self: center;
  opacity: 50%;
}

#carouselHero .carousel-control-prev-icon:hover,
#carouselHero .carousel-control-next-icon:hover {
  opacity: 1;
}

.disturber:hover {
  text-decoration: none;
}

.hero .disturber {
  width: 150px;
  height: 150px;
  top: 15%;
  right: 5%;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-color-light);
  background-color: var(--primary-color);
  z-index: 1;
  transform: rotate(20deg);
}

.lage-table-angebot .lage-row td:nth-child(1) {
  width: unset;
}

.angebot-section .title {
  margin-bottom: 30px;
}

.lage-table-angebot {
  width: 100% !important;
}

.lage-table-angebot tr {
  border-bottom: 1px solid #bbbbbb;
}

.table-responsive-mobile .slick-prev {
  left: 0;
}

.table-responsive-mobile .slick-next {
  left: unset;
  right: 0;
}

.table-responsive-mobile .slick-arrow {
  display: block !important;
}

.table-responsive-mobile .slick-prev,
.table-responsive-mobile .slick-next {
  position: absolute;
  top: unset;
  transform: translateY(-50%);
  z-index: 10;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  bottom: 0;
}

.table-responsive-mobile.slick-slider {
  padding-bottom: 40px;
}

.table-responsive-mobile .slick-track {
  display: flex;
}

.footer {
  padding-top: 47px;
  padding-bottom: 50px;
  border-top: 1px solid rgba(22, 22, 22, 0.2);
}

.footer-logo {
  max-width: 134px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.footer-link {
  list-style: none;
}

.footer-link .nav-link {
  color: var(--text-color-dark);
}

.footer-link li:not(:last-child) .nav-link::after {
  content: " |";
  color: var(--text-color-dark);
  padding: 0 10px;
}

.contact-section,
.wp-block-jetpack-tiled-gallery {
  padding-bottom: 50px;
  padding-top: 50px;
}

.contact-section .title {
  margin-bottom: 22px;
}

.portrait {
  aspect-ratio: 1 / 1;
  max-width: 217px;
  height: 100%;
}

.portrait img {
  object-fit: cover;
  height: 100%;
}

.name {
  font-size: 18px;
  font-weight: 700;
  line-height: 200%;
  color: var(--text-color-dark);
}

.role p {
  color: var(--text-color-dark);
}

/*     .address .name p {
margin-left: 30px;
} */

.social-media {
  gap: 20px;
}

.social-media img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}

.address .name {
  margin-top: 10px;
  margin-bottom: 10px;
}

.address-text p {
  margin-bottom: 0;
}

.person-info .role {
  font-size: 16px;
  font-weight: 400;
}

.contact-icon {
  width: 24.5px;
  height: 24.5px;
  object-fit: contain;
}

.contact-links {
  margin-top: 25px;
  gap: 12px;
}

.phone {
  gap: 20.4px;
}

.phone a {
  text-decoration: underline;
}

.phone a:hover {
  text-decoration: none;
}

/*     .name::before {
content: "";
display: block;
position: absolute;
left: 0;
width: 21px;
height: 30px;
background-image: url("<?php // get_template_directory_uri() ?>/assets/images/location-black.png");
background-position: center center;
background-size: 21px 30px;
top: 6px;
} */

.name p,
.role p {
  margin-bottom: 0;
}

.banner-text h1 p,
.banner-text-full h1 p,
.hero-2 h1 p,
.page .text-section h2 p {
  margin-bottom: 30px !important;
}

#lage .table > :not(caption) > * > * {
  background-color: transparent;
}

#angebot .table tbody tr th {
  background-color: var(--primary-color);
}

.lage-table-angebot td,
.lage-table-angebot th {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

/* CARD SECTION */

.card-section {
  background-color: var(--primary-color);
  padding: 100px 0;
}

.card-section .title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 50px;
}

.card-section .icon-card {
  width: 57px;
  height: 57px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.card-section .icon-card img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.card-section .icon-subtitle {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-section .icon-text {
  font-size: 21px;
  line-height: 1.5;
}

.table-icon {
  max-width: 35px;
  max-height: 43px;
  width: auto;
  object-fit: contain;
}

.lage-table td {
  padding-bottom: 13px;
  padding-top: 13px;
  border-bottom: none;
}

.lage-table p {
  margin-bottom: 0;
  line-height: 1.1;
}

.lage-row td:nth-child(1) {
  width: 42%;
}

.lage-row:last-child {
  border-bottom: 0;
}

.lage-row.first-row {
  color: var(--text-color-dark);
  font-size: 21px;
  line-height: 1.2;
}

.first-row .cell-alignment {
  text-align: center;
}

.cell-alignment {
  text-align: center;
}

.lage-row {
  color: var(--text-color-dark);
  font-size: 11px;
  font-weight: 400;
  line-height: 91.667%;
  border-bottom: 1px solid var(--text-color-dark);
}

.only-map {
  height: 450px;
}

.map {
  min-height: 450px;
}

.table-map {
  gap: 30px;
}

.table-map .text ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.privacy-content {
  padding: 50px 0;
}

.privacy-content h1 {
  margin-bottom: 30px;
}

.privacy-content {
  word-wrap: anywhere;
}

@media only screen and (min-width: 576px) {
  .hero #carouselHero {
    height: 100%;
  }
}

@media only screen and (min-width: 768px) {
  .custom-container,
  .wp-block-jetpack-tiled-gallery {
    max-width: unset;
    padding-inline: 60px;
  }

  .page h3 {
    font-size: 21px;
  }

  .lage-row {
    font-size: 14px;
  }

  .title,
  .banner-text h1,
  .banner-text-full h1,
  .hero-2 h1,
  .banner-text h1 p,
  .banner-text-full h1 p,
  .hero-2 h1 p,
  .text-section h2 p {
    font-size: 2rem;
  }

  .banner-text h1,
  .banner-text-full h1,
  .hero-2 h1,
  .banner-text h1 p,
  .banner-text-full h1 p,
  .hero-2 h1 p {
    margin-bottom: 30px;
  }

  .text,
  .banner-text p,
  .banner-text-full p,
  .hero-2 p {
    font-size: 1.125rem;
  }

  #carouselHero .carousel-control-next,
  #carouselHero .carousel-control-prev {
    height: 53px;
  }

  .hero .disturber {
    width: 250px;
    height: 250px;
    font-size: 26px;
  }
}

@media only screen and (min-width: 992px) {
  .contact-section,
  .wp-block-jetpack-tiled-gallery {
    padding-bottom: 100px;
    padding-top: 100px;
  }

  .angebot-section .title {
    margin-bottom: 30px;
  }

  .hero .disturber {
    width: 300px;
    height: 300px;
    font-size: 32px;
    top: 30%;
    padding: 20px;
  }

  .contact-person {
    gap: 41px;
  }

  .contact-links {
    margin-top: 46px;
  }

  .contact-section .title {
    margin-bottom: 30px;
  }

  .hero {
    height: calc(100vh - 76px);
  }

  .spacing {
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .hero-image-part {
    width: 50%;
    left: 50%;
  }

  .lage-table {
    width: 88%;
  }

  .cell-alignment {
    text-align: center;
  }

  .only-map {
    height: 750px;
  }

  .privacy-content {
    padding: 100px 0;
  }
}

@media only screen and (min-width: 1200px) {
  .navbar-nav {
    gap: 50px;
  }

  .navbar-brand {
    max-width: 282px;
  }

  .custom-container,
  .wp-block-jetpack-tiled-gallery {
    padding-inline: 60px;
    max-width: 1640px;
  }

  .name p {
    font-size: 24px;
    line-height: 225%;
  }

  .lage-table {
    gap: 50px;
  }

  .lage-row {
    font-size: 18px;
  }

  .address .name {
    margin-top: unset;
    margin-bottom: unset;
  }

  .address .name p {
    margin-left: unset;
  }

  .footer-logo {
    margin-top: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .title,
  .banner-text h1,
  .page h1,
  .banner-text h1 p,
  .banner-text-full h1 p,
  .hero-2 h1 p,
  .text-section h2 p {
    font-size: 2.5rem;
  }

  .banner-text-full h1,
  .hero-2 h1 {
    font-size: 3.125rem;
  }

  .text,
  .banner-text p,
  .text li,
  .hero-2 p {
    font-size: 1.3125rem;
  }

  .disturber {
    width: 258px;
    height: 258px;
    font-size: 2rem;
    line-height: 35px;
    padding: 40px;
  }

  .lage-row {
    font-size: 21px;
  }
}

@media only screen and (min-width: 1950px) {
  .custom-container,
  .wp-block-jetpack-tiled-gallery {
    max-width: 2200px;
  }

  .object-section .custom-container {
    max-width: 2560px;
  }
}
