/*
Theme Name: Classic
Theme URI: https://nordic-web-art.de/
Author: David Holst
Author URI: https://nordic-web-art.de/
Description: Ein minimalistisches und individuelles WordPress-Theme, entwickelt für saubere Strukturen und kreative Freiheiten.
Version: 1.0.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nordic-web-art
Tags: custom-logo, custom-menu, responsive-layout, block-editor-style
*/

.burger,
body {
  flex-direction: column;
}
.nav-links li,
.nav-links li a,
body {
  position: relative;
}
.sub-menu,
nav {
  background: #AC816D;
}
.nav-links li,
.sub-menu,
nav ul {
  list-style: none;
}

body,
html,
nav ul {
  padding: 0;
  margin: 0;
}
main {
  padding: 90px 6vw;
}
h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2.3rem;
}
h3 {
  font-size: 2rem;
}
h4, h5, h6 {
  font-size: 1.7rem;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  max-width: 1000px;
  font-weight: 700;
  font-family: PlayfairDisplay;
}
header,
nav {
  display: flex;
  box-sizing: border-box;
}
.sub-menu,
body,
header,
html {
  overflow-x: hidden;
}
.header-logo img,
nav ul li a {
  transition: 0.3s ease-out;
}
.header-logo {
  display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("fonts/Playfair_Display/static/PlayfairDisplay-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("fonts/Playfair_Display/static/PlayfairDisplay-Black.ttf") format("truetype");
  font-display: swap;
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: OpenSans;
  src: url("fonts/Open_Sans/static/OpenSans-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: OpenSans;
  src: url("fonts/Open_Sans/static/OpenSans-Medium.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: OpenSans;
  src: url("fonts/Open_Sans/static/OpenSans-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: OpenSans;
  src: url("fonts/Open_Sans/static/OpenSans-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: Parisienne;
  src: url("fonts/Parisienne/Parisienne-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
body {
  display: flex;
  min-height: 100vh;
  font-optical-sizing: auto;
  color: #222222;
  background-color: #f8f2e8;
  font-size: 1.2rem;
  font-family: OpenSans;
  font-weight: 400;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
}
a {
  display: inline-block;
  color: #222222;
  transition: 0.3s ease-out;
}
a:hover{
  transform: scale(1.03);
}
nav {
  position: fixed;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  height: 90px;
  width: 100%;
  z-index: 1000;
}
.nav-links {
  display: flex;
  flex-direction: row;
  position: static;
  opacity: 1;
  transform: none;
}
.nav-links li a {
  display: block;
  padding: 10px;
  text-decoration: none;
}
.sub-menu-arrow {
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  margin: 0 10px;
  transform: translateY(-50%);
  transition: transform 0.8s;
  opacity: 0.7;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  padding: 4px;
  display: flex; 
  text-align: left; 
  align-items: end;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border: solid 1px white; 
  border-top: none;
  pointer-events: none;
  transition: max-height 1.2s ease, opacity 0.8s ease;
}
.burger,
.burger-menu {
  display: none;
  cursor: pointer;
}
.sub-menu li {
  width: 90%;
}
.sub-menu li a {
  padding: 8px;
  display: block;
  font-size: 1.4rem;
  text-decoration: underline;
}
.nav-links li.active > .sub-menu {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}
.nav-links li > .sub-menu {
  display: block;
}
.nav-links li.active .sub-menu-arrow {
  transform: rotate(180deg);
}
.header-logo img {
  height: 80px;
  border: solid 1px #AC816D;
  width: auto;
  display: block;
}
.header-logo img:hover {
  transform: scale(1.03);
}
nav ul {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  align-items: center;
}
nav ul li a {
  color: #ffffff;
  display: inline-block;
  font-size: 1.8rem;
}
nav ul li a:hover {
  transform: scale(1.03);
}
nav ul li {
  margin: 0 30px;
}
.burger {
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  padding: 6px;
}
.burger div {
  width: 100%;
  height: 6px;
  margin: 6px 0;
  border-radius: 2px;
  background-color: #EBDBC7;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
    1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
  transition: 1s;
}
.burger-menu {
  font-size: 1.2rem;
  border: none;
  color: #ffffff;
  z-index: 10;
}
header {
  position: relative;
  height: 100vh;
  width: 100vw;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 100px 0;
}
.headline {
  font-size: 5rem;
}
.subline {
  font-size: 2.2rem;
}
.header-box {
  max-width: 40vw;
  margin: 10px 5vw;
}
.background-black-transparent {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 10px;
  max-width: 600px;
  z-index: 3;
  position: relative;
  border: solid 4px rgba(202, 202, 202, 0.6);
}
.wp-block-button {
  font-size: 1.4rem;
  font-weight: 500;
  max-width: 90vw;
  font-family: OpenSans;
}
.wp-block-button__link {
transition: transform 0.4s ease-out,
        background-color 0.8s ease,
        color 0.8s ease,
        border-color 0.8s ease;
}
.cta-button .wp-block-button__link:hover {
    transform: scale(1.02);
    background-color: #EBDBC7 !important;
    border-color: #222222 !important;
    color: #222222 !important;
}
.standard-button .wp-block-button__link:hover {
    transform: scale(1.02);
    background-color: #ebdbc700 !important;
}
.nav-button a {
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid #EBDBC7;
    border-radius: 10px;
    background-color: transparent;
    color: #EBDBC7;
    font-family: OpenSans;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.4s ease-out, background-color 0.8s ease, color 0.8s ease, border-color 0.8s ease;
}

.nav-button a:hover {
    transform: scale(1.02);
    background-color: #EBDBC7;
    color: #222222;
    border-color: transparent;
}

@media (max-width: 2000px) {
  .headline {
  font-size: 3.8rem;
 }
 .subline {
  font-size: 1.8rem;
 }
}
@media (max-width: 1024px) {

  nav ul li {
    margin: 6px;
  }
  
  header {
    height: 80vh;
    padding: 80px 30px 0;
  }
  .header-box {
    max-width: 70vw;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 80%;
    top: 100%;
    right: 0;
    background: #AC816D;
    padding: 10px 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.6s, transform 0.8s;
    transform: translateY(-10px);
  }
  .nav-links .sub-menu {
    position: static;
    background: 0 0;
    padding-left: 40px;
  }
  
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    text-align: start;
    border-bottom: solid 1px #ffffff;
  border-left: solid 1px #ffffff;
  }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    padding: 2px;
    cursor: pointer;
  }
  .burger div {
    width: 34px;
    height: 5px;
    margin: 3px;
    background-color: #EBDBC7;
    border-radius: 2px;
    transition: 0.8s;
  }
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 9px);
  }
  .burger.toggle .line2 {
    opacity: 0;
  }
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -9px);
  }

.footer-bottom {
  flex-direction: column;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
  
  header {
    height: 80vh;
    padding: 100px 60px 0;
  }
}

@media (max-width: 768px) {
  
  .text-1, .text-2, .text-3 {
 align-self: center !important;
}

.text-spalte {
  flex-direction: column;
}
  main {
    padding-top: 60px;
  }
  .headline {
  font-size: 3rem;
 }
 .subline {
  font-size: 1.4rem;
 }
 .header-logo img {
    height: 50px;
 }
 nav {
  height: 60px;
 }
 .header-box {
    max-width: 100vw;
    margin: 10px 2vw;
  }
  h1 {
  font-size: 2.5rem;
  }
  h2 {
  font-size: 2rem;
  }
  h3 {
  font-size: 1.7rem;
  }
  h4, h5, h6 {
  font-size: 1.4rem;
  }
}

@media (hover: hover) {
  .nav-links li:hover > .sub-menu {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
  }
}

.zoom-in, .slide-in-left, .slide-in-right {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1.5s ease-out;
}

.show.zoom-in {
  opacity: 1;
  transform: scale(1);
}

.show.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

.show.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  transform: translateX(-60px);
}

.slide-in-right {
  transform: translateX(60px);
}



footer {
  background: #EBDBC7;
  padding: 20px 6vw;
  padding-bottom: 50px;
  z-index: 4;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(131, 147, 163, 0.6) 0%, rgba(131, 147, 163, 0.4) 30%, rgba(131, 147, 163, 0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: top;
  font-size: 1rem;
}

.footer-line {
  border-bottom: solid 2px #8393a3;
}

footer p,
footer h3 {
  text-align: center;
}

footer a {
	margin: 4px 0;
}

footer h3 {
  text-decoration: underline;
  font-size: 2rem;
}

footer ul {
  list-style: disc;
  padding-left: 20px;
  margin: 30px 0;
}

.footer-logo {
  height: 80px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 80px;
  border: solid 1px #AC816D;
  width: auto;
}

.footer-bottom {
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.block-2 p {
  text-align: center;
}

.block-3 {
  text-align: center;
}
.block-1 {
  text-align: center;
}

.block-1,
.block-2,
.block-3 {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  max-width: 400px;
}

.text-spalte {
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.text-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  align-self: flex-start;
}

.text-2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  align-self: flex-start;
}

.text-1,
.text-2,
.text-3 {
  flex: 1;
  align-content: center;
  padding: 10px;
  box-sizing: border-box;
  min-width: 200px;
  text-align: center;
}

.border-grey-inset {
    box-shadow: inset 0 0 8px rgba(196, 196, 196);
    padding: 20px;
    height: 100%;
} 

html {
  scroll-behavior: smooth;
}


.full-width {
  margin-left: -6vw;
  margin-right: -6vw;
  width: calc(100% + 12vw);
  padding: 6vw; 
}

.block-columns {
	justify-content: center;
}
.designed-by {
  font-size: 0.8rem;
}
.blure { 
  filter: blur(2px);
}

/* Seitenübergang */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f2e8;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease-out,
    visibility 0.45s ease-out;
}

.page-transition-overlay.active {
  opacity: 1;
  visibility: visible;
}

.page-transition-overlay img {
  max-width: 250px;
  max-height: 220px;
  width: auto;
  height: auto;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.page-transition-overlay.active img {
  opacity: 1;
  transform: scale(1);
}