@charset "UTF-8";

/*
Theme Name: A2 Boarding Hotel
Author: AH-Effect
Author URI: https://www.a-h-effect.de
Description: Custom Theme
Requires at least: 6.1
Tested up to: 8.3
Requires PHP: 8.2
Version: 1.1
Text Domain: customtheme
*/


/* Basics START */
:root {
  --primary-color: #ec652e;
  --secondary-color: #f4c417;
  --text-color: #3f3f3e;
}

@font-face {
  font-family: "WorkSans";
  font-weight: 300;
  font-style: normal;
  src: url(assets/webfonts/WorkSans-Light.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 300;
  font-style: italic;
  src: url(assets/webfonts/WorkSans-LightItalic.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 400;
  font-style: normal;
  src: url(assets/webfonts/WorkSans-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 400;
  font-style: italic;
  src: url(assets/webfonts/WorkSans-Italic.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 500;
  font-style: normal;
  src: url(assets/webfonts/WorkSans-Medium.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 500;
  font-style: italic;
  src: url(assets/webfonts/WorkSans-MediumItalic.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 600;
  font-style: normal;
  src: url(assets/webfonts/WorkSans-SemiBold.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 600;
  font-style: italic;
  src: url(assets/webfonts/WorkSans-SemiBoldItalic.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 700;
  font-style: normal;
  src: url(assets/webfonts/WorkSans-Bold.ttf) format("truetype");
}

@font-face {
  font-family: "WorkSans";
  font-weight: 700;
  font-style: italic;
  src: url(assets/webfonts/WorkSans-BoldItalic.ttf) format("truetype");
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-margin-top: 100px
}

body {
  font-family: "WorkSans", sans-serif;
  font-weight: 200;
  font-size: 18px;
  line-height: 1.4;
  margin: 0; 
  padding: 0;
  color: var(--text-color);
  hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  -o-hyphens: auto;
}

b, strong {
  font-weight: 700;
}

input:focus,
:focus {
  outline: none !important;
}

.like-a,
.like-a:hover,
a:hover,
a:active,
a:visited,
a:focus,
a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}


.like-a {
  display: inline-block;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "WorkSans", sans-serif;
  font-weight: 500;
  color: var(--primary-color);
  hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  -o-hyphens: none;
}

h1 > code,
h1 {
  font-size: 40;
  font-weight: 500;
}

.like-h2,
h2 {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 20px;
}

h3 {
  font-size: 25px;
  margin-top: 0px;
  margin-bottom: 15px;
}

input[type="search"] ,
form input[type="text"],
form input[type="submit"] {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

.mobile-menu {
  display: none;
}

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

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

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

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

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

.color-white {
  color: #ffffff;
}

.textalgin-center,
.center-text {
  text-align: center;
}

video,
.image-wrapper img {
  max-width: 100%;
}

button,
.wp-block-button__link,
.button {
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 32px ;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  margin: 25px 0;
  display: inline-block;
  font-size: 20px; 
  line-height: 1.4;
  overflow: hidden; 
  position: relative;
  border-radius: 5px;
  border: 0;
  transition: background-color 0.5s ease-in-out;
}

a.button:hover, 
a.button:active,
a.button:visited, 
a.button:focus {
  color: #ffffff;
  font-weight: 700;
}

button:hover,
.wp-block-button__link:hover,
.button:hover {
  text-decoration: none;
  color: #ffffff;
  background-color: var(--secondary-color); 
}

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

.secondary .button.big:hover {
  background-color: var(--primary-color);
}

#breadcrumbs,
.container,
.entry-content {
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
}

body #page {
  padding-top: 90px; 
  overflow: hidden;
}


body.home #breadcrumbs  {
  display: none;
}
#breadcrumbs {
  padding-left: 15px; 
  padding-right: 15px;
}
.vc_row .vc_column_container > .vc_column-inner {
  padding-left: 30px; 
  padding-right: 30px;
}

.vc_row {
  margin-left: -30px; 
  margin-right: -30px;
}

.vc_row-o-equal-height .vc_column-inner .wpb_wrapper {
  height: 100%;
}

/* Header START */

header {
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%; 
}

body.admin-bar header {
  top: 32px;
}

/* Header END */


/* Menu START */

header#masthead {
  background-color: #ffffff;
  position: fixed;
  z-index: 11;
}

header#masthead a {
  font-size: 20px; 
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  text-decoration: none;
}

#primary-menu-list {
  list-style: none;
  padding: 0; 
  margin: 0; 
  display: flex; 
}

#primary-menu-list li {
  margin-right: 32px;
}

header#masthead .col-sm {
  display: flex;
  position: relative;
  padding-top: 32px; 
  padding-bottom: 32px;
}


header#masthead a:after, 
header#masthead a:before {
  height: 3px; 
  width: 100%; 
  content: ""; 
  position: absolute;
  left: 0;
  bottom: -5px;
  background-color: var(--secondary-color);
  max-width: 0;
  transition: max-width 0.5s ease-in-out;
}

header#masthead a:after {
  bottom: -10px;
  background-color: var(--primary-color);
  transition-delay: 0.2;
}

header#masthead li.current_page_item a:after, 
header#masthead li.current_page_item a:before,
header#masthead a:hover:after, 
header#masthead a:hover:before {
  max-width: 500px;
} 

header#masthead .custom-logo-link {
  box-shadow: rgb(136, 136, 136) 0px 0px 5px 1px;
  display: block;
  background-color: #ffffff;
  padding: 32px; 
  position: absolute;
  top: 0; 
  right: 16px;
  width: 200px;
  transition: all 0.5s;
}

header#masthead.sticky .custom-logo-link {
  width: 120px;
  padding: 15px;
}

header#masthead .custom-logo-link:before, 
header#masthead .custom-logo-link:after {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}
/* Menu END */

/* Teaserbox START */
.teaserbox {
  padding: 32px;
  background: #ffffff;
  box-shadow: rgba(136, 136, 136, 0.5) 0px 0px 5px 1px;
  height: 100%;
  transition: all 0.5s ease-in-out;
}

.teaserbox > a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
}

.teaserbox:hover {
  box-shadow: rgba(136, 136, 136, 1) 0px 0px 5px 1px;
}

.teaserbox .button {
  margin-bottom: 0;
}

.teaserimage {
  max-width: 60%;
  margin: 0 auto;
}
/* Teaserbox END */


/* Header Text Image START */
.image-wrapper-outer {
  height: 100%;
}

.image-wrapper-outer .image-wrapper {
  background-size: cover; 
  background-position: center center;
  display: block;
  height: 100%;
}

.headtextimageblock .content-wrapper {
  padding: 75px 0;
}

.headtextimageblock h1 {
  font-size: 50px;
  margin-right: -130px;
  z-index: 10;
  position: relative;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 12px 25px 12px 0;
}

.headtextimageblock  .button {
  margin-bottom: 0;
}
/* Header Text Image END */


/* Accordion START */
.vc_tta-panel-body ul {
  margin-bottom: 0;
}

.vc_tta-panels {
  border-radius: 0;
}
/* Accordion END */


.wpb_wrapper table {
  width: 100%; 
}

.wpb_wrapper table td {
  padding: 5px 15px; 
  border-bottom: 1px solid var(--primary-color);
}

.wpb_wrapper table thead td {
  font-weight: bold; 
}

.wpb_wrapper table tr td:not(:first-child) {
  text-align: center;
}


/* Footer START */
footer {
  background-color: var(--primary-color);
  padding: 32px 0;
  color: #ffffff;
  position: relative;
}

footer.entry-footer {
  display: none;
}
footer a:hover,
footer a:active,
footer a:visited,
footer a:focus,
footer a {
  color: #ffffff;
}

footer .entry-content {
  position: relative;
}

footer .sub-footer .col-sm-12 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.footer-navigation-wrapper {
  display: flex;
  gap: 20px; 
  list-style: none;
  margin: 0; 
  padding: 0;
}

.footer-navigation-wrapper a {
  text-decoration: none;
}

.footer-navigation-wrapper a:hover {
  text-decoration: underline;
  color: #ffffff;
}
/* Footer END */
@media screen and (max-width: 1340px) {
  header#masthead .col-sm,
  .entry-content {
    padding-left: 24px; 
    padding-right: 24px;
  }

  .vc_row .vc_column_container > .vc_column-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media screen and (max-width: 1200px) {
  .headtextimageblock h1 {
    font-size: 40px;
  }

  .like-h2, h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
  }

  .footer-navigation-wrapper a {
    font-size: 14px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    -o-hyphens: auto;
  }

}

@media screen and (max-width: 990px) {
  .primary-menu-container {
    display: none;
  }

  label.hamburg {
    display: block;
    background: transparent;
    width: 50px;
    height: 10px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 21;
  }

  input#hamburg {
    display:none
  }

  .line {
   position: absolute;
   left:0;
   height: 2px;
   width: 50px;
   background: var(--primary-color);
   display: block;
   transition: 0.5s;
   transform-origin: center;
  }

  .line:nth-child(1) { top: 0px; }
  .line:nth-child(2) { top: 6px; }

  #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(3px) rotate(-45deg);
  }

  #hamburg:checked + .hamburg .line:nth-child(2){
    transform: translateY(-3px) rotate(45deg);
  }

  .primary-header {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu .primary-menu-container {
    display: flex;
  }

  .mobile-menu-wrapper {
    display: block;
    background: #ffffff;
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 20;
    max-height: 0;
    height: auto;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding-bottom: 200px;
    box-shadow: 0px 5px 5px 0px rgba(201,201,201,0.3);
    -webkit-box-shadow:  0px 5px 5px 0px rgba(201,201,201,0.3);
    -moz-box-shadow:  0px 5px 5px 0px rgba(201,201,201,0.3);
    padding: 0;
    z-index: -1;
  }

  #hamburg:checked + .hamburg + .mobile-menu-wrapper {
    max-height: 100%;
    overflow: scroll;
    transition: max-height 1s ease-in-out;
  }

  .mobile-menu-wrapper > .inner {
    padding: 120px 30px 25px 30px;
  }

  .mobile-menu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-wrapper a {
    font-size: 18px;
    line-height: 1;
    margin-left: 0;
    margin-bottom: 32px;
    display: block;
    color: #ffffff;
    text-decoration:none;
  }

  .wpb_column.vc_column_container.vc_col-sm-6 {
    width: 100%;
  }

  header#masthead .custom-logo-link {
    width: 150px; 
    padding: 20px;
  }

  body #page {
    padding-top: 0;
  }

  header#masthead {
    background-color: transparent;
  }

  .custom-logo-link {
    width: 90px;
    padding: 12px;
  }

  .headtextimageblock h1 {
    margin-right: 0;
    background: transparent;
  }

  .image-wrapper-outer {
    aspect-ratio: 5 / 3;
  }

  .headtextimageblock .image-text-row {
    flex-direction: column-reverse;
  }

  .image-wrapper-outer .image-wrapper:before {
    content: ""; 
    width: 100%; 
    height: 50px; 
    display: block;
    position: absolute;
    left: 0; 
    bottom: 0; 
    background: #FFFFFF;
    z-index: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  }

  .image-wrapper-outer .image-wrapper {
    margin-left: -24px;
    position: relative;
  }

  .headtextimageblock .content-wrapper {
    z-index: 1;
    position: relative;
    margin: -130px -24px 8px -24px;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.85);
  }

  .teaserbox {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    height: auto;
  }

  .mobile-reverse {
    flex-direction: column-reverse;
  }

  footer > .entry-content > .row > .col-sm:nth-last-child(2) {
    order: 1;
  }

  footer > .entry-content > .row > .col-sm:nth-last-child(1) {
    order: 3;
    width: 50%;
  }

  footer > .entry-content > .row > .col-sm:nth-last-child(3) {
    order: 2;
    width: 50%;
  }

  footer .sub-footer .col-sm-12 {
    flex-direction: column-reverse;
    align-items: center;
  }
}

@media screen and (max-width: 600px) {
  h2,
  .headtextimageblock h1 {
      font-size: 31px;
  }

  .image-wrapper-outer {
    aspect-ratio: 3 / 5;
  }

  .headtextimageblock .content-wrapper {
    margin-top: -20dvh;
  }

  .teaserbox {
    max-width: 100%;
  }

  footer > .entry-content > .row > .col-sm:nth-last-child(1),
  footer > .entry-content > .row > .col-sm:nth-last-child(3), 
  footer > .entry-content > .row > .col-sm:nth-last-child(2) {
    width: 100%; 
    text-align: center;
  }

  footer .wp-block-image {
    margin-bottom: 24px; 
  }

  footer .has-text-align-right {
    text-align: center;
  }

  .footer-navigation-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 24px;
  }

  .vc_tta.vc_general .vc_tta-panel-body {
   padding: 12px 10px; 
   font-size: 16px !important; 
   font-weight: 400 !important;
  }

  
}
