/*
Theme Name: Martin
Author: FUNCKGROUP - Benedict von Funck
Author URI: https://www.funckgroup.com
Description: Martin Bauer
Version: 1.0
Requires PHP: 7.0
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}


/* playfair-display-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/playfair-display-v36-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/roboto-v30-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', 'Times New Roman', Times, serif; }  

p { margin-bottom: 1rem; }

b,
strong { font-weight: bold; }

em { font-style: italic; }

.secFormular {
    max-width: 1040px;
}

.wpcf7-form-control {
    border: 1px solid #0c0d0e;
    padding: 5px 10px;
    width: 100%;
    border-radius: 0;
    margin: 7px auto 10px;
}


.logo-svg {
  height: 50px;
  transition: height 0.3s ease;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header a{
  color: rgba(255 255 255 , 80%);
  text-decoration: none;
  transition: color 0.3s ease
}

.header a:hover{
  color: rgba(255 255 255 , 100%);
}


.header.transparent {
  background-color: transparent;
  box-shadow: none;
}
.header.scrolled {
  background-color: rgb(36, 36, 36);
  box-shadow: 0 2px 5px rgba(0, 0, 0, );
}
.header .logo img {
  height: 50px;
  transition: height 0.3s ease;
}
.desktop-navigation {
  display: none;
}
.desktop-navigation ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-navigation li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.125rem;
  padding: 0 15px;
  transition: color 0.3s ease;
}
.header.scrolled .desktop-navigation li a {
  color: #fff;
}
.burger-menu {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 10000;
}
.burger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger-menu.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.burger-menu.open:hover {
  transform: scale(1.1);
}
.mobile-menu-overlay {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(46, 46, 46);
  z-index: -5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease, visibility 1.5s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  z-index: 9998;
}
.mobile-menu-overlay .mobile-menu-content {
  text-align: center;
}
.mobile-menu-overlay .mobile-menu-content .mobile-navigation ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.mobile-menu-overlay .mobile-menu-content .mobile-navigation ul li {
  margin: 5px 0;
}
.mobile-menu-overlay .mobile-menu-content .mobile-navigation ul li a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  padding: 7px;
  display: block;
}
.mobile-menu-overlay .mobile-menu-content .mobile-footer {
  margin-top: 20px;
}
.mobile-menu-overlay .mobile-menu-content .mobile-footer .icon {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
}
.mobile-menu-overlay .mobile-menu-content .mobile-footer .button {
  display: inline-block;
  margin-top: 20px;
  margin-left: 15px;
  background-color: #e6e6e6;
  color: rgb(46, 46, 46);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}
@media (width > 1024px) {
  .burger-menu {
      display: none;
 }
  .mobile-menu-overlay {
      display: none !important;
 }
  .desktop-navigation {
      display: block;
 }
}
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0,75%);
  border: 1px solid #fff;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9995;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.back-to-top:hover {
  background-color: rgba(0,0,0,100%);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
