/*

TemplateMo 558 Klassy Cafe

https://templatemo.com/tm-558-klassy-cafe

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 25px;
  color: #2a2a2a;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #42b23c;
  color: #fff;
}

::-moz-selection {
  background: #42b23c;
  color: #fff;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.main-white-button a {
  font-size: 13px;
  color: #42b23c;
  background-color: #fff;
  padding: 12px 25px;
  display: inline-block;
  border-radius: 3px;
  font-weight: 600;
  transition: all .3s;
}

.main-white-button a:hover {
  opacity: 0.9;
}

.main-text-button a {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  transition: all .3s;
}

.main-text-button a:hover {
  opacity: 0.9;
}

.section-heading h6 {
  position: relative;
  font-size: 24px;
  color: #42b23c;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 40px;
}

.section-heading h6:before {
  width: 30px;
  height: 2px;
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  background-color: #42b23c;
}

.section-heading h2 {
  line-height: 40px;
  margin-top: 20px;
  margin-bottom: 25px; 
  font-size: 30px;
  font-weight: 900;
  color: #2a2a2a;
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.background-header {
  background-color: #fff;
  height: 80px!important;
  position: fixed!important;
  top: 0px;
  left: 0px;
  right: 0px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: #1e1e1e!important;
}

.background-header .main-nav .nav li:hover a {
  color: #42b23c!important;
}

.background-header .nav li a.active {
  color: #42b23c!important;
}

.header-area {
  background-color: #fff;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  line-height: 100px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.background-header .main-nav .logo {
  line-height: 75px;
}

.background-header .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 15px;
  padding-right: 15px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: #2a2a2a;
  text-transform: capitalize;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li a {
  color: #2a2a2a;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #42b23c!important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #42b23c!important;
  opacity: 1;
}

.header-area .main-nav .nav li.submenu {
  position: relative;
  padding-right: 30px;
}

.header-area .main-nav .nav li.submenu:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #2a2a2a;
  position: absolute;
  right: 18px;
  top: 12px;
}

.background-header .main-nav .nav li.submenu:after {
  color: #2a2a2a;
}

.header-area .main-nav .nav li.submenu ul {
  position: absolute;
  width: 200px;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 50px;
  opacity: 0;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
  transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.header-area .main-nav .nav li.submenu ul li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.submenu ul li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a!important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid ee;
}

.header-area .main-nav .nav li.submenu ul li a:hover {
  background: #fff;
  color: #42b23c!important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.submenu ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.submenu:hover ul {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: #42b23c;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-area .main-nav:before {
    display: none;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}


/* 
---------------------------------------------
banner
--------------------------------------------- 
*/

#top {
  padding-top: 100px;
  min-height: 600px;
  position: relative;
}



#top .col-lg-4,
#top .col-lg-8 {
  padding: 0px;
}

#top .main-banner {
  height: 100%;
  min-height: 600px;
  position: relative;
}

#top .left-content {
  background-image: url(../images/top-left-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
}

#top .left-content .inner-content {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

#top .left-content h4 {
  color: #fff;
  font-size: 48px;
  font-weight: 650;
}

#top .left-content h6 {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  margin-top: 5px;
}

#top .left-content .main-white-button  {
  margin-top: 25px;
  margin-bottom: 10px;
}

#top .left-content .main-white-button a {
  display: inline-block;
}

/* ==== Main CSS === */
.img-fill{
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  text-align: center;
  height: 100%;
}

.img-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  display: block;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.Grid1k {
  padding: 0 15px;
  max-width: 1200px;
  margin: auto;
}

.blocks-box {
  margin: 0;
  padding: 0!important;
}

/* ==== Slider Style === */
.Modern-Slider .item .img-fill{
  height:100%;
  max-height: 700px;
  background:#000;
}

.Modern-Slider .item .info > div{
  display:inline-block!important;
  vertical-align:middle;
}

.Modern-Slider .NextArrow {
  position:absolute;
  top:50%;
  transform: translateY(-25px);
  right:30px;
  width: 50px;
  height: 50px;
  background-color: #42b23c;
  border:0 none;
  line-height: 44px;
  border-radius: 50%;
  text-align:center;
  font-size: 36px;
  font-family: 'FontAwesome';
  color:#FFF;
  z-index:5;
  outline: none;
  opacity: 0.3;
  transition: all .3s;
}

.Modern-Slider .NextArrow:hover {
  opacity: 1;
}

.Modern-Slider .NextArrow:before{
  content:'\f105';
}

.Modern-Slider .PrevArrow {
  position:absolute;
  top:50%;
  transform: translateY(-25px);
  left:30px;
  width: 50px;
  height: 50px;
  background-color: #42b23c;
  border:0 none;
  line-height: 44px;
  border-radius: 50%;
  text-align:center;
  font-size: 36px;
  font-family: 'FontAwesome';
  color:#FFF;
  z-index:5;
  outline: none;
  opacity: 0.3;
  transition: all .3s;
}

.Modern-Slider .PrevArrow:hover {
  opacity: 1;
}

.Modern-Slider .PrevArrow:before{
  content:'\f104';
}



.Modern-Slider .buttons {
  position: relative;
}

.Modern-Slider {background:#000;}





/*
---------------------------------------------
about
---------------------------------------------
*/

#leistungen {
  padding: 100px 0px 50px 0px;
  position: relative;
  background-color: #dddddd;
  z-index: 9;
}

#leistungen .section-heading h2 {
  padding-right: 120px;
}

#leistungen img {
  width: 100%;
  overflow: hidden;
}

#leistungen .left-text-content p {
  margin-bottom: 25px;
  font-size: 18px;
}

#leistungen .right-content {
  margin-left: 30px;
}

#leistungen .right-content .thumb {
  position: relative;
}

#leistungen .right-content .thumb a {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  display: inline-block;
  line-height: 70px;
  text-align: center;
  background-color: #42b23c;
  color: #fff;
  border-radius: 50%;
  transform: translate(-35px, -35px);
  transition: all .3s;
}

#leistungen .right-content .thumb a:hover {
  opacity: .9;
}
#leistungen p{
   text-align: justify;
}

/* Partners */
#partners .partner-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:80px;
  align-items:center;
  padding-bottom: 50px;
}
#partners .partner-item{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(255,255,255,0.04);
  border-radius:14px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
#partners .partner-item:hover{
  transform:translateY(-2px);
    filter:grayscale(100%);

  box-shadow:0 8px 24px rgba(0,0,0,.18);
  background:rgba(255,255,255,0.07);
}
#partners .partner-item img{
  max-width:100%;
  max-height:64px;        /* keep rows tidy; adjust if needed */
  object-fit:contain;
  opacity:.85;
  transition:filter .2s ease, opacity .2s ease;
}
#partners .partner-item:hover img{
  filter:none;
  opacity:1;
}

/* Small tweaks */
@media (max-width:576px){
  #partners .partner-grid{ gap:16px; }
  #partners .partner-item{ padding:12px; }
  #partners .partner-item img{ max-height:56px; }
}


/*
---------------------------------------------
menu
---------------------------------------------
*/

#team {
  background-color: #fffafa;
  padding: 120px 0px;
}

 .section-heading {
  margin-bottom: 30px;
}

/* unified image area */
#team .card .photo{
  width:100%;
  aspect-ratio: 4 / 3;      /* einheitliche Höhe, responsiv */
  background:#fff;          /* Weiß füllt auf */
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  overflow:hidden;
}
#team .card .photo img{
  padding-top:10px;
  width:100%;
  height:100%;
  object-fit:contain;       /* nie beschneiden, ggf. Weißrand */
}

/* Fix for #team carousel cards */
#team .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 20px;
  transition: all 0.3s ease;
}

/* Text area inside the card */
#team .card .info {
  position: relative;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 10px;
}

/* Name always visible */
#team .card .info h4 {
  font-size: 24px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 5px;
}

/* Description hidden by default */
#team .card .info span {
  max-height: 0;
  font-size:18px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  color: #42b23c;
}

/* Show description on hover */
#team .card:hover .info span {
  max-height: 50px;
  opacity: 1;
}

/* Remove old broken transform rule from cake card styles */
.card:hover .info,
.card:hover .info:before {
  transform: none !important;
}

.title {
  margin: 0;
  padding: 30px 30px 20px 30px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.description {
  padding: 0px 30px;
  color: #fff;
}


#team .owl-nav {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: -80px;
  transform: translateY(5px);
}

#team .owl-dots {
  display: none;
}
    
#team .owl-nav .owl-prev{
  margin-right: 10px;
  outline: none;
}

#team .owl-nav .owl-prev span,
#team .owl-nav .owl-next span {
  opacity: 0;
}

#team .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #42b23c;
  font-size: 25px;
  font-weight: 700;
  content: '\f104';
}

#team .owl-nav .owl-prev {
  opacity: 0.75;
  transition: all .5s;
}

#team .owl-nav .owl-prev:hover {
  opacity: 1;
}

#team .owl-nav .owl-next {
  opacity: 0.75;
  transition: all .5s;
}

#team .owl-nav .owl-next:hover {
  opacity: 1;
}

#team .owl-nav .owl-next{
  margin-left: 10px;
  outline: none;
}

#team .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #42b23c;
  font-size: 25px;
  font-weight: 700;
  content: '\f105';
}


/* 
---------------------------------------------
reservation
--------------------------------------------- 
*/

#contact .section-heading {
  margin-bottom: 30px;
}

#contact .section-heading h6 {
  color: #fff;
}

#contact .section-heading h2 {
  color: #fff;
  font-weight: 700;
}

#contact .section-heading h6:before {
  background-color: #fff;
}

#contact p {
  color: #fff;
  margin-bottom: 65px;
}

#contact {
  margin-top: 120px;
  padding: 120px 0px;
  background-image: url(../images/reservation-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#contact .phone,
#contact .message {
  background-color: #fff;
  border-radius: 5px;
  text-align: center;
  padding: 0px 0px 20px 0px;
}

#contact .phone i,
#contact .message i {
  width: 70px;
  height: 70px;
  display: inline-block;
  text-align: center;
  line-height: 70px;
  color: #fff;
  background-color: #42b23c;
  border-radius: 50%;
  font-size: 24px;
  margin-top: -35px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#contact .phone h4,
#contact .message h4 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 15px;
}

#contact .phone h6,
#contact .message h6 {
  margin-bottom: 10px;
}

#contact .phone span a,
#contact .message span a {
  font-size: 18px;
  color: #2a2a2a;
  transition: all .3s;
}

#contact .phone span a:hover,
#contact .message span a:hover {
  color: #42b23c;
}



/* 
---------------------------------------------
footer
--------------------------------------------- 
*/

footer {
  padding: 50px 0px;
  background-color: #42b23c;
}

footer .left-text-content p {
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  text-align: right;
}

footer .right-text-content p {
  color: #fff;
  font-size: 14px;
  margin-right: 15px;
  text-transform: uppercase;
}


footer .right-text-content {
  text-align: left;
  margin-top: 10px;
}

footer .logo {
  text-align: center;
}

footer .right-text-content ul li {
  display: inline-block;
  margin-left: 15px;
}
footer .right-text-content ul li:first-child {
  margin-left: 0px;
}


footer .right-text-content ul li a {
  width: 44px;
  height: 44px;
  display: inline-block;
  text-align: center;
  line-height: 44px;
  font-size: 20px;
  background-color: #fff;
  border-radius: 50%;
  color: #42b23c;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

footer .right-text-content ul li a:hover {
  color: #2a2a2a;
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  #top {
    padding-top: 120px;
    height: auto;
    min-height: 600px;
  }
  
  #top .left-content {
    text-align: center;
    padding: 15% 20px;
    height: 600px;
    min-height: 600px;
  }
  
  #top .left-content h4 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  #top .left-content h6 {
    font-size: 16px;
    margin-bottom: 25px;
  }
  

  
  #leistungen .left-text-content {
    padding: 0 20px;
  }
  
  #leistungen .section-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }
  
  #leistungen .left-text-content p {
    font-size: 15px;
    line-height: 26px;
  }
  
  #team .card {
    margin: 0 10px;
  }
  
  #team .card .info h4 {
    font-size: 18px;
  }
  
  #contact .phone,
  #contact .message {
    margin-bottom: 40px;
    padding: 0 15px;
  }
  
  #contact .phone h4,
  #contact .message h4 {
    font-size: 20px;
  }
  
  #contact .table-responsive {
    width: 70% !important;
  }
  
  footer .logo img {
    max-width: 150px;
  }
  
  /* Better tablet spacing */
  .section {
    padding: 80px 0;
  }
  
  /* Improve tablet navigation */
  .header-area .main-nav .nav li a {
    padding: 0 12px;
  }
  
  /* Better tablet contact layout */
  #contact .phone,
  #contact .message {
    text-align: center;
  }
}

@media (max-width: 992px) {
  #top {
    padding-top: 100px;
    height: auto;
    min-height: 500px;
  }
  
  .header-area .main-nav .nav li.submenu:after {
    right: 3px;
  }
  
  .header-area .main-nav .nav li.submenu {
    padding-right: 15px;
  }
  
  .header-area .main-nav .nav li {
    padding-right: 5px;
    padding-left: 5px;
  }
  
  .header-area .main-nav .nav li a {
    font-size: 14px;
    letter-spacing: 0px;
  }
  
  #top .left-content {
    text-align: center;
    padding: 20% 15px;
    height: 500px;
    min-height: 500px;
  }
  
  #top .left-content h4 {
    font-size: 32px;
  }
  
  #top .left-content h6 {
    font-size: 15px;
  }
  
  #leistungen .right-content {
    margin-left: 0px;
    margin-top: 30px;
  }
  
  #leistungen .left-text-content {
    padding: 0 15px;
  }
  
  #leistungen .section-heading h2 {
    font-size: 26px;
    line-height: 34px;
  }
  
  #chefs .chef-item {
    margin-bottom: 30px;
  }
  
  #contact .phone {
    margin-bottom: 60px;
  }
  
  #contactf {
    margin-left: 0px;
    margin-top: 30px;
  }
  
  #offers .tabs-content .left-list {
    margin-right: 0px;
  }

  #offers .tabs-content .right-list {
    margin-left: 0px;
  }
  
  footer .right-text-content {
    text-align: center;
    margin-bottom: 30px;
  }
  
  footer .left-text-content p {
    text-align: center;
    margin-top: 30px;
  }
  
  #contact .table-responsive {
    width: 80% !important;
  }
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
  /* Header Mobile Styles */
  .header-area .main-nav .logo {
    color: #1e1e1e;
  }
  
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #42b23c!important;
    opacity: 1;
  }
  
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  
  .header-area {
    background-color: #f7f7f7;
    padding: 0px 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  
  .header-area .container {
    padding: 0px;
  }
  
  .header-area .logo {
    margin-left: 0;
    text-align: center;
  }
  
  .header-area .logo img {
    max-width: 120px;
    height: auto;
  }
  
  .header-area .menu-trigger {
    display: block !important;
    position: absolute;
    right: 15px;
    top: 25px;
  }
  
  .header-area .main-nav {
    overflow: hidden;
  }
  
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  
  .header-area.header-sticky .nav {
    margin-top: 80px !important;
  }
  
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
    font-size: 16px !important;
  }
  
  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
    color: #42b23c!important;
  }
  
  .header-area .main-nav .nav li.submenu ul {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
  }
  
  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 14px;
    font-weight: 400;
  }
  
  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }
  
  .header-area .main-nav .nav li.submenu ul.active {
    height: auto !important;
  }
  
  .header-area .main-nav .nav li.submenu:after {
    color: #3B566E;
    right: 25px;
    font-size: 14px;
    top: 15px;
  }
  
  .header-area .main-nav .nav li.submenu:hover ul, 
  .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
  
  /* Banner Mobile Styles */
  #top {
    padding-top: 100px;
    height: auto;
    min-height: 500px;
  }
  
  #top .left-content {
    text-align: center;
    padding: 10% 20px;
    height: 400px;
    width: 100%;
  }
  
  #top .left-content h4 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  #top .left-content h6 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  #top .left-content .main-white-button a {
    padding: 10px 20px;
    font-size: 12px;
  }
  

  
  /* Better mobile banner layout */
  #top .container-fluid {
    padding: 0;
  }
  
  #top .row {
    margin: 0;
  }
  
  #top .col-lg-4,
  #top .col-lg-8,
  #top .col-md-6,
  #top .col-sm-12 {
    padding: 0;
  }
  

  
  /* Leistungen Mobile Styles */
  #leistungen {
    padding: 60px 0;
  }
  
  #leistungen .left-text-content {
    padding: 0 20px;
    margin-bottom: 30px;
  }
  
  #leistungen .section-heading h6 {
    font-size: 20px;
    padding-left: 30px;
  }
  
  #leistungen .section-heading h6:before {
    width: 25px;
  }
  
  #leistungen .section-heading h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
  }
  
  #leistungen .left-text-content p {
    font-size: 14px;
    line-height: 24px;
  }
  
  #leistungen .right-content {
    margin-left: 0;
    padding: 0 20px;
  }
  
  #leistungen .right-content .thumb video {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  #leistungen .right-content .thumb {
    padding: 0 10px;
  }
  
  /* Team Mobile Styles */
  #team {
    padding: 60px 0;
  }
  
  #team .section-heading h6 {
    font-size: 20px;
    padding-left: 30px;
  }
  
  #team .section-heading h6:before {
    width: 25px;
  }
  
  #team .card {
    margin: 0 10px 20px;
  }
  
  #team .card img {
    width: 100%;
    height: auto;
  }
  
  #team .card .info {
    padding: 15px 10px;
  }
  
  #team .card .info h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  #team .card .info span {
    font-size: 13px;
  }
  
  /* Contact Mobile Styles */
  #contact {
    padding: 60px 0;
  }
  
  #contact .section-heading h6 {
    font-size: 20px;
    padding-left: 30px;
  }
  
  #contact .section-heading h6:before {
    width: 25px;
  }
  
  #contact .phone,
  #contact .message {
    margin-bottom: 40px;
    padding: 0 20px;
    text-align: center;
  }
  
  #contact .phone i,
  #contact .message i {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  #contact .phone h4,
  #contact .message h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  #contact .phone h6,
  #contact .message h6 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  #contact .phone span a,
  #contact .message span a {
    font-size: 16px;
  }
  
  #contact .section-heading {
    margin-top: 40px;
  }
  
  #contact .table-responsive {
    width: 100% !important;
  }
  
  #contact .table {
    font-size: 16px;
  }
  
  #contact .table td {
    padding: 8px 5px;
  }
  
  #contact .table-responsive {
    border: none;
  }
  
  #contact .table {
    border: none;
    background: transparent;
  }
  
  #contact .table td {
    border: none;
    background: rgba(255,255,255,0.1);
    margin: 2px 0;
    border-radius: 4px;
  }
  
  /* Footer Mobile Styles */
  footer {
    padding: 40px 0;
  }
  
  footer .logo {
    text-align: center;
    margin-bottom: 20px;
  }
  
  footer .logo img {
    max-width: 120px;
    height: auto;
  }
  
  footer .right-text-content {
    text-align: center;
    margin-bottom: 20px;
  }
  
  footer .right-text-content ul li {
    display: inline-block;
    margin: 0 10px;
  }
  
  footer .left-text-content p {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
  }
  
  /* General Mobile Improvements */
  .section {
    padding: 60px 0;
  }
  
  .section-heading {
    margin-bottom: 40px;
  }
  
  .main-white-button a {
    font-size: 12px;
    padding: 10px 20px;
  }
  
  /* Improve touch targets */
  .header-area .main-nav .nav li a,
  .main-white-button a,
  footer .right-text-content ul li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Better mobile navigation */
  .header-area .menu-trigger {
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  
  /* Improve social icons touch targets */
  footer .right-text-content ul li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
   /* background: rgba(255,255,255,0.1);*/
    transition: all 0.3s ease;
  }
  
  footer .right-text-content ul li a:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
  }
  
  /* Better spacing for mobile */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col-lg-4,
  .col-lg-6,
  .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
  #top .left-content h4 {
    font-size: 24px;
  }
  
  #top .left-content h6 {
    font-size: 13px;
  }
  
  #leistungen .section-heading h2 {
    font-size: 22px;
    line-height: 28px;
  }
  
  #team .card .info h4 {
    font-size: 15px;
  }
  
  #team .card .info span {
    font-size: 12px;
  }
  
  #contact .phone h4,
  #contact .message h4 {
    font-size: 16px;
  }
  
  #contact .phone span a,
  #contact .message span a {
    font-size: 14px;
  }
  
  #contact .table {
    font-size: 14px;
  }
  
  .header-area .logo img {
    max-width: 100px;
  }
  
  footer .logo img {
    max-width: 100px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}


#preloader {
  overflow: hidden;
  background-color: #42b23c;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 99999;
  color: #fff;
}

#preloader .jumper {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  position: absolute;
  margin: auto;
  width: 50px;
  height: 50px;
}

#preloader .jumper > div {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
  opacity: 0;
  width: 50px;
  height: 50px;
  -webkit-animation: jumper 1s 0s linear infinite;
  animation: jumper 1s 0s linear infinite;
}

#preloader .jumper > div:nth-child(2) {
  -webkit-animation-delay: 0.33333s;
  animation-delay: 0.33333s;
}

#preloader .jumper > div:nth-child(3) {
  -webkit-animation-delay: 0.66666s;
  animation-delay: 0.66666s;
}

@-webkit-keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  5% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  5% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Services Section */
#services {
  background-color: #f7f7f7;
  padding: 80px 0 100px 0;
}

/* make columns stretch children equally */
#services .row {
  display: flex;
  flex-wrap: wrap;
}

/* each col becomes a flexbox for equal height */
#services .col-lg-4,
#services .col-md-6,
#services .col-sm-12 {
  display: flex;
}

#services .service-item {
  flex: 1;                 /* füllt die Spalte */
  display: flex;
  flex-direction: column;  /* Text unten */
  justify-content: flex-start;

  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

#services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 8px 15px 30px rgba(0,0,0,0.2);
}

#services .service-item .icon {
  width: 80px;
  height: 80px;
  background: #42b23c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

#services .service-item .icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#services .service-item .icon i {
  font-size: 32px;
  color: #fff;
}

#services .service-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 15px;
}

#services .service-item p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* References Section */
#references {
  background-color: #1e1e1e;
  padding: 100px 0;
}
#references h2 {
color: #cccccc;
}

#references .reference-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

#references .reference-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

#references .reference-item .thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}

#references .reference-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#references .reference-item:hover .thumb img {
  transform: scale(1.1);
}

#references .reference-item .down-content {
  padding: 25px;
}

#references .reference-item .down-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 10px;
}

#references .reference-item .down-content p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive for Services and References */
@media (max-width: 767px) {
  #services .service-item {
    padding: 30px 15px;
  }
  
  #services .service-item .icon {
    width: 60px;
    height: 60px;
  }
  
  #services .service-item .icon img {
    width: 37px;
    height: 37px;
    filter: brightness(0) invert(1);
  }
  
  #services .service-item .icon i {
    font-size: 24px;
  }
  
  #services .service-item h4 {
    font-size: 18px;
  }
  
  #references .reference-item .thumb {
    height: 150px;
  }
  
  #references .reference-item .down-content {
    padding: 20px;
  }
}
