/* 
Theme Name:    Derjosef-Child
Theme URI:     http://childtheme-generator.com/
Description:   Derjosef-Child is a child theme of DerJosef
Author:       Josef Gerhardter
Author URI:    https://derjosef.com
Template:      derjosef
Version:      1.0.0
Text Domain:   derjosef-child
*/

/*
    Add your custom styles here
*/

:root {
  --color-beige: #e3ddd4;
  --color-beige-light: #f1efeb;
  --color-dark: #20140b;
  --color-blue: #9db0d6;
  --color-black: #000;

  --font-size-base: 14px;
  --font-size-h1: 3.96vw;
  --font-size-h2: 3.3vw;
  --font-size-h3: 3.3vw;
  --font-size-h4: 2.5vw;
  --font-size-h5: 1.71vw;
  --font-size-h6: 3.3vw;
  --line-height: 1.3;

  --spacing-small: 8px;
  --spacing-medium: 16px;
  --spacing-large: 32px;
  --spacing-xlarge: 150px;

  --corner-size-small: 25px;
  --corner-size-big: 50px;
}

/* Fonts */

/* ============================
   FONTS: QUATTROCENTO
   ============================ */

@font-face {
  font-family: "Quattrocento-Regular";
  src:
    url("/wp-content/themes/derjosef-child/fonts/Quattrocento/Quattrocento-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Quattrocento/Quattrocento-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quattrocento-Bold";
  src:
    url("/wp-content/themes/derjosef-child/fonts/Quattrocento/Quattrocento-Bold.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Quattrocento/Quattrocento-Bold.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fonts */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: fit-content;
}
::-webkit-scrollbar-track {
  background: var(--color-beige);
}
body {
  margin: 0;
  font-family: "Quattrocento", serif !important;
  background-color: var(--color-black) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-beige) !important;
  line-height: 1.3;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1,
.h1,
h1 p {
  font-size: calc(2.5rem + 1vw) !important;
  line-height: 1.2;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h2,
.h2 {
  font-size: calc(3.4rem + 0.8vw) !important;
  line-height: 1.3;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h3,
.h3 {
  font-size: calc(2.3rem + 0.4vw) !important;
  line-height: 1.4;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h4,
.h4 {
  font-size: calc(1.7rem + 0.3vw) !important;
  line-height: 1.5;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h5,
.h5 {
  font-size: calc(1.1rem + 0.2vw) !important;
  line-height: 1.6;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h6,
.h6 {
  font-size: calc(1rem + 1vw) !important;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase;
}
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  color: var(--color-green);
  font-family: "Quattrocento-Regular" !important;
  font-weight: normal !important;
}
.subheadline {
  font-family: "Quattrocento-Regular" !important;
  text-transform: uppercase;
  font-size: calc(0.9rem + 0.2vw) !important;
}

.h1-xl {
  font-size: calc(2rem + 1vw) !important;
  font-family: "Quattrocento-Regular";
  margin-bottom: 0.2em;
}
p,
li {
  margin-bottom: 1em;
  font-family: "Quattrocento-Regular" !important;
  font-size: 1.1rem;
}

main a {
  font-family: "Quattrocento-Regular" !important;
  color: var(--color-black) !important;
}
a:hover {
}
small {
  font-size: 0.8em !important;
}
strong {
  font-family: "Quattrocento-Regular" !important;
}
button {
  font-family: "Quattrocento-Regular" !important;
  font-size: 0.8em !important;
}
.caption {
  font-family: "Quattrocento-Regular" !important;
}

/* Spacer */

.spacer-none {
  margin: 0px 0px;
}
.spacer-small {
  margin: 32px 0px;
}
.spacer-middle {
  margin: 64px 0px;
}
.spacer-big {
  margin: 128px 0px;
}
.spacer-biggest {
  margin: 200px 0px;
}

/* ---------- Hintergrundfarben ---------- */
.bg-beige {
  background-color: var(--color-beige);
}
.bg-dark {
  background-color: var(--color-dark);
}
.bg-blue {
  background-color: var(--color-blue);
}
.bg-black {
  background-color: var(--color-black);
}

/* ---------- Textfarben ---------- */
.text-beige {
  color: var(--color-beige) !important;
}
.text-dark {
  color: var(--color-dark) !important;
}
.text-blue {
  color: var(--color-blue) !important;
}
.text-black {
  color: var(--color-black) !important;
}

/************************************************************
   GLOBAL HEADER WRAPPER
*************************************************************/
.villa-header {
  width: 100%;
  background: var(--color-beige);
  position: fixed;
  top: 0;
  z-index: 9999;
}
.navbar {
  background-image: unset !important;
}
/* Navigation wrapper */
.villa-nav {
  width: 100%;
  padding: 4px 0; /* statt 10px → kompakter */
  height: 70px; /* feste, niedrige Header-Höhe */
  display: flex;
  align-items: center;
}
.villa-nav li {
  margin-bottom: 0px;
}

/************************************************************
   3-COLUMN GRID LAYOUT (LEFT – LOGO – RIGHT)
*************************************************************/
.nav-3col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.nav-left {
  display: flex;
  justify-content: flex-start;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
}
.nav-booking {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.mobile-booking-btn {
  margin-top: 30px;
  text-align: center;
}

.mobile-booking-btn .btn-main {
  display: inline-flex;
  width: 80%;
  justify-content: center;
}
/************************************************************
   FIX BOOTSTRAP OVERRIDE
*************************************************************/
.villa-header .navbar-nav .nav-link,
.villa-header .navbar-nav .nav-link:hover,
.villa-header .navbar-nav .nav-link:focus {
  color: var(--color-black) !important;
  background: none !important;
  text-decoration: none !important;
}

/************************************************************
   MENU ITEMS + UNDERLINE ANIMATION (LIKE YOUR EXAMPLE)
*************************************************************/
.villa-header .nav-left-menu,
.villa-header .nav-right-menu {
  display: flex;
  gap: 40px;
}

/* Base styles */
.villa-header .navbar-nav .nav-item .nav-link {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 4px !important;
  font-size: 18px;
  font-family: "Georgia", serif;
  text-transform: uppercase;
  border: none !important;
  overflow: visible !important;
}
/* Base style for all menu links */
.villa-header .navbar-nav a {
  color: var(--color-black);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 18px;
}

/* Invisible underline (initial hidden) */
.villa-header .navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0; /* hidden */
  background: var(--color-black);
  transition: width 0.35s ease;
}

/* Hover animation: underline grows from left → right */
.villa-header .navbar-nav a:hover::after {
  width: 100% !important; /* force hidden */
}

/* Active menu item: NO underline unless hovered */
.villa-header .navbar-nav .current-menu-item > a::after,
.villa-header .navbar-nav .current_page_item > a::after {
  width: 0 !important; /* force hidden */
}

/* Active menu hover also animates */
.villa-header .navbar-nav .current-menu-item > a:hover::after,
.villa-header .navbar-nav .current_page_item > a:hover::after {
  width: 100% !important; /* force hidden */
}

ul#menu-main-menu-right li {
  margin-bottom: 0px !important;
}

.nav-right-group.d-none.d-lg-flex.ms-auto {
  display: flex;
  align-content: center;
  align-items: center;
}
/************************************************************
   CTA BUTTON (BUCHEN)
*************************************************************/
.villa-header .nav-right-menu li:last-child .nav-link {
  background: var(--color-blue);
  padding: 8px 24px !important;
  border-radius: 20px;
  color: var(--color-beige) !important;
}

/* CTA button NEVER gets underline */
.villa-header .nav-right-menu li:last-child .nav-link::after {
  display: none !important;
}

.villa-header .nav-right-menu li:last-child .nav-link:hover {
  background: var(--color-beige);
}

/************************************************************
   CENTER LOGO WITH ROUND CUTOUT
*************************************************************/
.nav-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 0;
}
.logo-wrapper {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translate(-50%, 40px); /* taucht schön ein */
  width: 180px;
  height: 140px;
  background: var(--color-beige);
  border-bottom-left-radius: 180px;
  border-bottom-right-radius: 180px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.logo-center {
  width: 84px;
  margin-top: 35px;
}
nav.navbar.navbar-expand-lg.villa-nav {
  background-color: var(--color-beige) !important;
}
@media (max-width: 991.98px) {
  /* HEADER */
  .villa-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: var(--color-beige);
  }

  .nav-3col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  /* LOGO */
  .logo-wrapper {
    width: 140px;
    height: 110px;
    background: var(--color-beige);
    border-bottom-left-radius: 180px;
    border-bottom-right-radius: 180px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .logo-center {
    width: 70px;
    margin-top: 20px;
  }
  .navbar-toggler:focus {
    -webkit-box-shadow: unset !important;
    box-shadow: unset !important;
    outline: unset !important;
    text-decoration: unset !important;
  }

  /* BURGER (OPEN) */
  #mobile-menu-btn {
    position: fixed;
    top: 22px;
    right: 16px;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
  }

  #mobile-menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-black);
  }

  #mobile-menu-btn span:nth-child(1) {
    top: 0;
  }
  #mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  #mobile-menu-btn span:nth-child(3) {
    bottom: 0;
  }

  /* FULLSCREEN MENU */
  .mobile-nav-fullscreen {
    position: fixed;
    inset: 0;
    background: var(--color-beige);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
    pointer-events: none;
  }

  .mobile-nav-fullscreen.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* CLOSE BUTTON (IM OVERLAY) */
  .mobile-close-btn {
    position: fixed;
    top: 22px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100000;
  }

  .mobile-close-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-black);
  }

  .mobile-close-btn span:first-child {
    transform: rotate(45deg);
  }

  .mobile-close-btn span:last-child {
    transform: rotate(-45deg);
  }

  /* MENU CONTENT */
  .mobile-nav-inner {
    text-align: center;
    max-width: 320px;
    width: 100%;
  }

  .mobile-logo-img {
    width: 120px;
    margin-bottom: 32px;
  }

  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-list li {
    margin: 16px 0;
  }

  .mobile-menu-list a {
    font-size: 24px;
    text-transform: uppercase;
    color: var(--color-black);
    text-decoration: none;
  }

  .mobile-booking-btn {
    margin-top: 32px;
  }

  body.menu-open {
    overflow: hidden;
  }
  .nav-booking {
    margin-left: 00px;
  }
  .nav-booking .btn-arrow {
    display: none;
  }
  .nav-booking .btn-arrow {
    display: none;
  }
  .nav-booking .btn-main {
    padding: 6px 6px 6px 6px;
  }
}
/* DESKTOP: LOGO IMMER EXAKT ZENTRIERT */
@media (min-width: 992px) {
  .nav-center {
    position: fixed; /* NICHT absolute */
    left: 50vw; /* Viewport-basiert */
    top: 0;
    transform: translateX(-50%);
    margin: 0 !important;
    z-index: 20;
    pointer-events: auto;
  }
}

/* Button */

/* BUTTON – GLOBAL STYLE */
.btn-main,
.circle-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 12px;
  background: var(--color-blue);
  border-radius: 40px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-beige) !important;
  text-transform: uppercase;
  transition:
    background 0.35s ease,
    transform 0.35s ease;
  border: 1px solid var(--color-blue);
  justify-content: space-between;
}

.btn-main .btn-arrow {
  width: 52px;
  transition: transform 0.35s ease;
}

.btn-main .btn-text {
  transition: transform 0.35s ease;
  color: var(--color-beige) !important;
}

.btn-main:hover {
  background: var(--color-blue);
}

.btn-main:hover {
  background-color: var(--color-black);
  color: var(--color-beige) !important;
  border: 1px solid var(--color-beige);
}

.btn-main:hover .btn-arrow {
}

/* host */
.host-section {
  background: var(--color-beige);
  padding: 5rem 0;
  color: var(--color-black);
}

.host-img-wrap {
  padding: 2rem 3rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.host-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.host-content {
  padding: 3rem 4rem;
  max-width: 700px;
}

.host-headline {
  font-size: 2.4rem;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 1rem;
}

.host-subheadline {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 2rem;
}

.host-text {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.host-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .host-img-wrap {
    padding: 1.5rem 1.5rem 0;
  }

  .host-content {
    padding: 2rem;
    text-align: center;
  }

  .host-headline {
    font-size: 1.9rem;
  }

  .host-subheadline {
    font-size: 1.3rem;
  }
}

/* headerslider */

/* ausstattung-section */

.ausstattung-section {
  background: var(--color-beige);
  padding: 0 0 6rem;
  color: var(--color-black);
  position: relative;
  overflow: hidden;
}

.ausstattung-image-col {
  overflow: hidden;
}

.ausstattung-img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.5s ease-out;
}

.ausstattung-section[data-aos="fade-in"].aos-animate .ausstattung-img {
  transform: scale(1);
}

/* RIGHT CONTENT */
.ausstattung-content {
  padding: 3.5rem 4.5rem;
  width: 100%;
}

.ausstattung-headline {
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 2.5rem;
}

/* LIST */
.ausstattung-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ausstattung-list li {
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease;
}

.ausstattung-list li:hover {
  transform: translateX(4px);
}

.list-arrow {
  width: 32px;
  opacity: 1;
  transition: transform 0.25s ease;
}

.ausstattung-list li:hover .list-arrow {
  transform: translateX(6px);
}

.ausstattung-btn .btn-arrow {
  transition: transform 0.25s ease;
}

.ausstattung-btn:hover .btn-arrow {
  transform: translateX(6px);
}

@media (max-width: 992px) {
  .ausstattung-content {
    padding: 2rem;
    text-align: center;
  }

  .ausstattung-list li {
    justify-content: center;
  }
}

/* haderslider */

.headerslider-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.headerslider-slick,
.headerslider-slick .header-slide {
  width: 100%;
  height: 100vh;
}

.header-slide {
  position: relative;
}

.header-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.header-slide-content {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
  max-width: 80vw;
  color: var(--color-beige);
  z-index: 10;
}

.header-slide-headline {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 0.5rem;
}

.header-slide-subheadline {
  font-size: clamp(2.1rem, 2vw, 2.6rem);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.header-slide-text {
  margin-bottom: 1rem;
}

.header-slide-btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  background: var(--color-beige);
  color: var(--color-black);
  border-radius: 40px;
}

.header-slide-next {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: transparent;
  border-color: unset !important;
  cursor: pointer;
  z-index: 11;
  border: unset !important;
}

.header-slide-next .arrow-icon {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/derjosef-child/assets/arrow-right.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.fade-el {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.header-slide.is-active .fade-el {
  opacity: 1;
  transform: translateY(0);
}

.header-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 768px) {
  .header-slide-content {
    position: absolute;
    bottom: 6rem;
    left: 20px;
  }
  .header-slide-next {
    right: 20px;
    bottom: 20px;
  }
}

/* image-text-seciton */

.its-section {
  background: var(--color-beige);
  color: var(--color-black);
}

.its-image {
  width: 100%;
  height: auto;
  display: block;
  padding: 1.2rem 0;
}

.its-headline {
  font-size: 2.2rem;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.its-subheadline {
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.its-text {
  font-size: 1.15rem;
  max-width: 580px;
}

@media (max-width: 992px) {
  .its-headline {
    font-size: 1.8rem;
  }

  .its-subheadline {
    font-size: 1.2rem;
  }
}

/* impression-section */

.impression-section {
  background: var(--color-beige);
  padding-top: 5rem;
  color: var(--color-beige);
}

.imp-title {
  color: var(--color-blue);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.imp-slider {
  position: relative;
}
.imp-slider,
.slick-list {
  overflow: hidden;
  max-width: 100%;
}
.imp-slide {
  padding-right: 15px;
}

.imp-figure {
  position: relative;
}

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

.imp-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  background: var(--color-blue);
  color: var(--color-black);
  padding: 4px 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.imp-text {
  font-size: 1.1rem;
}

.imp-arrow {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 60px;
  height: 60px;
  float: right;
}

.imp-arrow img {
  width: 100%;
  transition: transform 0.3s ease;
}

.imp-arrow:hover img {
  transform: translateX(6px);
}

.imp-figure {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imp-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.imp-arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.imp-arrows-mobile {
  margin: 1rem 0 1.5rem;
}

@media (max-width: 992px) {
  .row.align-items-center.mt-2.imp-content-wrapper {
    display: flex;
    flex-direction: column-reverse !important;
  }
}

/* information-section */

.info-section {
  background: var(--color-beige-light);
  padding: 5rem 0;
  color: var(--color-black);
}

.info-headline {
  font-size: 2.4rem;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.info-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}

.info-accordion .accordion-button::after {
  display: none !important;
}

.info-toggle {
  padding: 1.8rem 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.info-number {
  font-size: 1.7rem;
  font-family: "Quattrocento", serif;
  position: relative;
  padding-bottom: 4px;
}

.info-title {
  font-size: 1.7rem;
  text-transform: uppercase;
  flex-grow: 1;
}

.info-accordion .accordion-item:first-child {
  border-top: 2px solid rgba(0, 0, 0, 0.15);
}

.info-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-left: 12px;
}

.info-icon .icon-line {
  position: absolute;
  background-color: var(--color-black);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.info-icon .horizontal {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.info-icon .vertical {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.accordion-button:not(.collapsed) .info-icon .vertical {
  opacity: 0;
}

.info-inner {
  padding: 0 0 2rem 3.6rem;
  font-size: 1.2rem;
}

.info-btn {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.info-btn .btn-arrow {
  width: 22px;
  transition: transform 0.25s ease;
}

.info-btn:hover .btn-arrow {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .info-inner {
    padding-left: 1.5rem;
  }

  .info-title {
    font-size: 1.3rem;
  }
}

.scroll-next-wrapper {
  width: 100%;
  height: 80px;
  position: absolute;
  z-index: 5;
  margin-top: 0px;
}

.scroll-next {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-beige);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.scroll-next img {
  width: 40px;
  height: auto;
}
.scroll-next-wrapper.special-scroll-next {
  margin-top: 0px;
}
.scroll-next-wrapper.special-scroll-next .scroll-next {
  background: var(--color-beige-light);
}

.scroll-next-black .scroll-next {
  background: var(--color-black) !important;
}
/* intro-section */

.intro-section {
  background: var(--color-beige);

  position: relative;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.intro-image {
  position: relative;
  overflow: hidden;
}

.intro-image.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-right-radius: 200px;
}

.intro-image.right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 200px;
}

.intro-content {
  text-align: center;
  padding: 0 2rem;
}

.intro-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.intro-headline {
  font-weight: 400;
  font-size: calc(2.3rem + 0.4vw) !important;
  color: var(--color-blue) !important;
  margin-bottom: 1rem;
}

.intro-divider {
  width: 2px;
  height: 60px;
  background: var(--color-blue);
  margin: 1.5rem auto;
}

.intro-text {
  max-width: 450px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.intro-decoration {
  margin-top: 2rem;
}

.intro-decoration img {
  width: 70px;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .intro-inner {
    grid-template-columns: 1fr;
  }

  .intro-image.left img,
  .intro-image.right img {
    border-radius: 0;
    height: 250px;
  }

  .intro-content {
    order: -1;
    padding: 2rem 1rem;
  }
  .intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  /* Text über volle Breite – erste Zeile */
  .intro-content {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  /* Bilder zweite Zeile – nebeneinander */
  .intro-image.left {
    grid-column: 1;
    grid-row: 2;
  }

  .intro-image.right {
    grid-column: 2;
    grid-row: 2;
  }

  .intro-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .intro-section {
    margin-bottom: 5rem;
  }
}

/* location-section */

.location-section {
  background: var(--color-black);
  padding: 6rem 0 5rem;
  color: var(--color-beige);
}

.loc-headline-big {
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.loc-headline-small {
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 2.2rem;
}

.loc-intro {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  line-height: 1.6;
}

.loc-divider {
  width: 1px;
  height: 70px;
  background: var(--color-beige);
  opacity: 0.7;
  margin: 0rem auto 0rem;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: 4rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.marquee-item {
  flex: 0 0 auto;
  min-width: 260px;
  text-align: center;
}

.marquee-title {
  font-size: 1.3rem;
  text-transform: uppercase;
}

.marquee-distance {
  font-size: 1.1rem;
  opacity: 0.85;
}

@media (max-width: 992px) {
  .marquee-track {
    animation-duration: 20s;
    gap: 2rem;
  }

  .marquee-item {
    min-width: 180px;
  }

  .marquee-title {
    font-size: 1.15rem;
  }

  .marquee-distance {
    font-size: 1rem;
  }
}

/* room-section */

.room-section {
  background: var(--color-beige-light);
  color: var(--color-black);
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.room-header h2 {
  max-width: 50vw;
  text-transform: uppercase;
}

.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.room-card {
  padding-bottom: 1.5rem;
}

.room-image-wrap {
  position: relative;
  margin-bottom: 1.2rem;
}

.room-gallery {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
}
.room-gallery img,
.slick-slide img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.room-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.room-gallery-slide.is-active {
  opacity: 1;
}

.room-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-badges {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.room-badges span {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  background: var(--color-blue);
  color: var(--color-beige);
  text-transform: uppercase;
}

.room-arrow {
  position: absolute;
  bottom: 12px;
  right: 14px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background-color: var(--color-blue);
  background-image: url("/wp-content/themes/derjosef-child/assets/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px;

  cursor: pointer;
  z-index: 5;

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

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.room-arrow:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.room-arrow:active {
  transform: scale(0.95);
}
.room-title-row {
  display: flex;
  justify-content: space-between;
}

.room-title-row h3,
.room-price {
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--color-beige);
}

.room-btn {
  margin-top: 0.8rem;
  padding: 0.4rem 1.2rem;
  background: var(--color-blue);
  color: var(--color-beige);
  text-decoration: none;
  text-transform: uppercase;
}

.room-card-questions {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 3rem 0;
  background: transparent;
  border: none !important;
}

.circle-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
}

.circle-text {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  animation: spin 26s linear infinite;
  will-change: transform;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.circle-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 992px) {
  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .room-header a.btn-main {
    margin: auto;
  }

  .room-header h2 {
    max-width: 100%;
  }
  .circle-wrapper {
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    overflow: hidden;
  }

  .room-arrow {
    position: absolute;
    bottom: 12px;
    right: 14px;
    width: 68px;
    height: 38px;
  }
  .room-badges span {
    font-size: 0.95rem;
  }
  .room-title-row h4.text-blue {
    width: 50%;
  }
  .circle-btn {
    width: 220px;
  }
}

/* footer */
.vs-footer {
  background: var(--color-black);
  padding: 4rem 0;
  color: var(--color-beige) !important;
}
.vs-footer a {
  color: var(--color-beige) !important;
}

.footer-line {
  width: 100%;
  border-top: 2px solid var(--color-blue);
  margin: 2rem 0;
}

.footer-title {
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}

.footer-col {
  font-size: 1.35rem;
}

.footer-logo {
  width: 260px;
  max-width: 100%;
}

.footer-claim {
  color: var(--color-beige);
  opacity: 0.9;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0.3rem 0;
}

.footer-menu a {
  color: var(--color-beige) !important;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-menu a:hover {
  opacity: 0.6;
}

@media (max-width: 992px) {
  .vs-footer {
    text-align: center;
  }

  .footer-col {
    margin-bottom: 3rem;
  }

  .footer-center {
    margin: 3rem 0;
  }

  .footer-logo {
    width: 200px;
  }
}

/* Mobile fixe */
@media (max-width: 992px) {
  div.post-193 {
    margin-top: 15vh;
  }
}

/* fixes */

.wp-block-group a {
  color: var(--color-blue) !important;
}
/* .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex {
  display: none;
} */
