/*
 Theme Name: Haus Ulrike Borkum JK Theme Child
 Theme URI: https://example.com
 Description: Child theme for jk-default-theme
 Author: Jürgen Koenen
 Template: jk-default-theme
 Version: 1.0
*/

/* ----------------------------------------
   HEADER & FOOTER
---------------------------------------- */

/* Kalender-Container */
.jkc-cal {
    width:100%!important;
    background: #fff;
}

/* Wrapper mit leichtem Weiß-Overlay */
.site-wrapper {
    position: relative;
    z-index: 0;
}

.site-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.45);
    z-index: -1;
}

/* Header mit diagonalem Farbverlauf */
.header-wrapper {
    position: relative;
    max-width: 100%;
    padding-bottom:20px;
    background: linear-gradient(
        to left,
        var(--topbar-bg) 0%,
        var(--topbar-bg) 50%,
        rgba(255,255,255,1) 80%
    );
}

/* Untere Linie im Header */
.header-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--topbar-bg) 0%,
        var(--topbar-bg) 20%,
        rgba(255,255,255,0) 70%
    );
}

.menu a:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.45);
}


/* Submenu-Styling */
.sub-menu a {
     background-color: rgba(249, 236, 217,0.9);
}

.sub-menu a:hover {
     background-color: var(--topbar-bg);
     color: white;
}

/* Orange Box */
.col_bg {
    background: rgba(221, 153, 51,0.5);
    padding: 10px 20px;
    border-radius:15px;
}

/* Formular Padding */
.form_pad {
    padding:0 50px;
}

/* ----------------------------------------
   FEWO GRID
---------------------------------------- */

.fewo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.fewo-item {
  background: #ffffffd9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Preis-Highlight */
.fewo-item strong {
  color: white;
  padding: 5px 10px;
  font-size: 1.2em;
  border-top: 1px dotted var(--topbar-bg);
  border-radius:5px;
  background: var(--topbar-bg);
}

/* Icons */
.fewo-item i {
  font-size: 32px;
  color: var(--topbar-bg);
  margin-bottom: 10px;
}

/* Titel */
.fewo-item h4 {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: 600;
}

/* Text */
.fewo-item p {
  margin: 0 0 10px 0;
  font-size: 15px;
  color: #444;
}

.fewo-item .price {
    display: inline-block;
    background: var(--topbar-bg);
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    font-size: 1.2em;
}

.fewo-item .old-price {
    text-decoration: line-through!important;
    text-decoration-thickness: 3px!important; /* Dicke des Strichs */
    opacity: 0.7;
    margin-right: 8px;
}

.fewo-item .new-price {
    font-weight: bold;
}

.fewo-item .rabatt-hinweis {
    font-size: 0.9em;
    color: var(--topbar-bg);
    margin-top: 4px;
}


/* ----------------------------------------
   ANREISE GRID
---------------------------------------- */

.anreise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.anreise-item {
  background: #ffffffd9;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.anreise-item i {
  font-size: 36px;
  color: var(--topbar-bg);
  margin-bottom: 12px;
}

.anreise-item h4 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.anreise-item a {
  display: inline-block;
  margin-top: 8px;
  color: #0077b6;
  font-weight: 600;
  text-decoration: none;
}

.anreise-item a:hover {
  text-decoration: underline;
}



/* ----------------------------------------
   SWIPER SLIDER
---------------------------------------- */

.swiper-button-next, .swiper-button-prev {
    color: var(--topbar-bg);
    background: rgba(255,255,255,0.7);
    padding:10px;
    border-radius:50%;
    font-size:16px;
    width:40px;
    height:40px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: rgba(255,255,255,1);
    background: var(--topbar-bg);
    box-shadow: coral;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.8em;
    font-weight:900;
}

.swiper-wrapper {
    border-radius: 10% 0;
    overflow: hidden;
}

/* ----------------------------------------
   SONSTIGES
---------------------------------------- */

.max_100 input{max-width:100px;}

/* Everest Forms – Datumsfelder nebeneinander */
.everest-forms form .evf-field-date-time.form-row {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding-right: 10px;
}

/* Zweites Feld ohne Abstand */
.everest-forms form .evf-field-date-time.form-row:nth-of-type(2) {
  padding-right: 0;
}

/* Mobile: untereinander */
@media (max-width: 600px) {
  .everest-forms form .evf-field-date-time.form-row {
    width: 100%;
    float: none;
    padding-right: 0;
  }
}

/* Leaflet Map Container */
.mapit-container,
.mapit-map,
.leaflet-container {
    width: 80vw!important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Stärkeres <strong> */
strong {
    font-weight: 900;
}

/* Hintergrund für Content */
.site-content {
    background-color: rgba(255,255,255,0.87);
}

/* ----------------------------------------
   TEXT-BOX (Highlights)
---------------------------------------- */

.text-box {
  background: linear-gradient(
    25deg,
    var(--topbar-bg) 0%,
    var(--topbar-bg) 5%,
    rgba(255, 255, 255, 1) 20%
  );
  padding:10px;
  border-radius:25px;
}

.text-box h3 {
  padding:4px 10px;
  border-radius:25px;
  max-width:350px;
  width:95%;
}

.text-box ul.wp-block-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    list-style: none;
}

.text-box ul.wp-block-list li::before {
    content: "✺";
    position: absolute;
    left: 0;
    top: 0;
    color: #2a7c6f;
    font-size: 20px;
    line-height: 1;
}

/* Bild-Link Hover */
.site-content figure a:hover {
  background:white!important;
}

/* Runde Bilder */
:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img) {
    border-radius: 50px;
}

/* ----------------------------------------
   VIDEO FULL WIDTH
---------------------------------------- */

.wp-block-video video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    display: block;
}

/* ----------------------------------------
   COOKIE NOTICE
---------------------------------------- */
#cookie-notice {
    font-size: 13px;
    line-height: 1.2;
    min-width: 0;
    max-width: 350px;
    border-radius: 1%;
    padding: 0;
    left: 10px;
    bottom: 10px;
}

.cookie-revoke-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
}

/* Standard-Button-Styling */
#cookie-notice .cn-button:not(.cn-button-custom) {
    margin: 5px;
}

button.cook_but {
    color: white;
    background-color: #0077b6;
    padding: 3px 5px;
}

#cookie-notice .cn-button {
    margin: 0;
    border:1px solid white;
    border-radius:5px;
}


/* ---------------------------------------
    RESPONSIVE
---------------------------------------- */

@media (max-width: 600px) {
  .form_pad {
    padding: 0;
  }
}
