/* Basis-Stylesheet für die HTML-Vorlage */

/* Variablen für Farben, Abstände und Design */
:root {
    --primary-color: #333;
    --secondary-color: #999;
    --gray-purple-hint: #f8f6fb;

    --text-color: #222;
     --text-color-secondary: #aaa;
    --text-color-light: #FFF;
    --background-color: #fefefe;
    --bg-gradient-subtle: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 218, 185, .05)
  );
    --background-color-dark: #333;
    --top-bottom-spacing: 50px;
    --side-spacing: 20px;
    --section-spacing: 200px;
    --pip-top-spacing: 64px;
    --header-spacing: 10vh;
    --page-side-spacing: 100px;    
    --nav-items-padding-bottom: 10px;
    --logo-padding-top-bottom: 15px;
    --border-radius: 0px;
    --box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    --shadow-level-0: none;
    --shadow-level-1: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-level-2: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-level-3: 0 6px 15px rgba(0, 0, 0, 0.2);
      
    
}

/* Fonts */

@font-face {
    font-family: 'NunitoSans';
    src: url('../fonts/NunitoSans_10pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoSans';
    src: url('../fonts/NunitoSans_10pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoSans';
    src: url('../fonts/NunitoSans_10pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoSans';
    src: url('../fonts/NunitoSans_10pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoSans';
    src: url('../fonts/NunitoSans_10pt-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Allgemeine Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: NunitoSans, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: 1rem;
    background-color: var(--background-color);
    /* background: var(--bg-gradient-subtle); */
background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
    color: var(--text-color);     
    min-height: 100vh;     
    
    
  }

.center-region{ 
  max-width: 1440px;   
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-side-spacing);
  padding-right: var(--page-side-spacing);
}

.center-region-pip{ 
  max-width: 1440px;   
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-side-spacing);
  padding-right: var(--page-side-spacing);
}

.section-spacing{
    margin-top: var(--section-spacing);
}

h1 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-color);
  letter-spacing: 0.05em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.35;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.025em;

}

h5 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;

}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;

}

a{
    color: var(--text-color);
    text-decoration: none;
  

}
p{
  letter-spacing: 0.05em;

}
a:visited{
    color: var(--text-color);
    text-decoration: none;

}

.light-text{
    color: var(--text-color-secondary);
    transition: color 0.5s ease;

}

.right-text{
    text-align: right;
}

.only-desktop {
    display: block;
}

.only-mobile {
    display: none;
}
/* ### Navigation ### */
/* ################## */
nav {
    
    padding-left: var(--page-side-spacing);
    padding-right: var(--page-side-spacing);
    padding-bottom: 0px;
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    line-height: 1; 
}

.nav-logo{
    
   
}
    
.nav-logo a, .nav-logo a:visited {
    text-decoration: none;
    color: var(--text-color);
}

.nav-menu{
    
    
    font-size: 0.7rem;
    width: 60%;
    padding-top: 0px;    
    margin-left:auto;
    
}

.nav-menu a{
    text-transform: uppercase;
}

nav ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li {
    margin-left: 5px;
    margin-top: 0px;
    
}

nav ul li a {
    font-weight: 400;    
    color: var(--text-color);
    text-decoration: none;
    
}

nav ul li a:hover {    
    text-decoration: underline;
}

nav ul li a:visited {
    color: var(--text-color);
    text-decoration: none;
}

/* # Mobile Menu #*/


/* Hide checkbox input */
.nav-toggle {
    display: none;
}

/* Hamburger / Close icons */
.nav-toggle-label {
  
    display: none;
    cursor: pointer;
    font-size: 2rem;    
    user-select: none;
    z-index: 1001;    
    padding-bottom: 0px;
    padding-top: 0px;
    

}

.nav-toggle-label span {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.nav-toggle-label .icon-close {
    display: none;
}

/* Show/hide icons based on checkbox */
.nav-toggle:checked + .nav-toggle-label .icon-open {
    display: none;
}

.nav-toggle:checked + .nav-toggle-label .icon-close {
    display: inline;
}


/* ##### Header ##### */
/* ################## */
header {
    margin-top: var(--header-spacing);
    

}

.header-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;    
    gap: 40px;
    
}

.header-block{
    background-color: black;
    width: 100%;
    height: 100%;
    min-height: 60vh;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;    
}

.header-block img{
    
    width: 80%;
    height: auto;
    object-fit: contain;
    margin-bottom: 40px;
}

.header-text:hover .light-text{
    color: var(--text-color);
    transition: color 0.3s ease-in;
}

.header-title:hover .light-text{
    color: var(--text-color);
    transition: color 0.3s ease-in;
}

.header-content h2{

    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    line-height: 2.3rem;
}

.impressum{
    line-height: 1.2;
}
/* ## Main Content ## */
/* ################## */
main {
    
}
/* ## SECTION SHOW  ## */
.show-title h2,h5{
    display: inline;
}

.show-text{
    text-align: center;
}

.show-title:hover .light-text{
    color: var(--text-color);
    transition: color 0.3s ease-in;
}

/* ##### Loading dots #####*/
.dots {
  display: flex;
  justify-content: center;
  gap: 24px;
    margin-top: 56px;
    margin-bottom: 56px;
}

.dots span {
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 2.5s infinite ease-in-out;
}

/* ## SECTION CONTACT  ## */
.section-contact{   
    
}

.contact-block {
     display: flex;
    flex-wrap: wrap;      
    row-gap: 20px;      
    justify-content: space-evenly;
}

/* einzelner Eintrag (@ + Mail) / (T + Tel) */
.contact-block > div {
     display: grid;
    grid-template-columns: 110px 1fr; /* feste Icon-Spalte */
    align-items: center;             /* Text vertikal zentrieren */
    gap: 16px;
}

/* großes @ und T */
.contact-block .icon {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    
}

/* Text rechts daneben */
.contact-block .text {
    font-size: 1.6rem;
    line-height: 1.1;
}

/* ## SECTION US  ## */
.section-us:hover .light-text{
    color: var(--text-color);
    transition: color 0.3s ease-in;
}

/* ##### Footer #####*/
/* ################## */
footer{
    margin-bottom: 68px;;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr max-content;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 40px;
}

.footer .cell {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* oben links */
.footer .logo {
    background-color: black;
    padding-left: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.footer .logo img {
    max-width: 180px;
    height: 1.5rem;
}

/* oben rechts */
.footer .title {
    align-items: center; /* vertikal mittig */    
    white-space: nowrap;
}

.footer h1{
    font-size: 1.3rem;
}

/* unten rechts */
.footer .fcontact {
    flex-direction: column;
    gap: 20px;
    font-weight: 300;
    line-height: 1.2;
}

.footer .fcontact a {
    
    text-decoration: none;
    
}

.footer .fcontact a:hover {
    text-decoration: underline;
}

.footer-copyright{
    margin-top: 28px;
    font-size: 0.8rem;
}



.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}


/* Mobile styles */
@media (max-width: 850px) {

    :root {
    --page-side-spacing: 40px;
    --header-spacing: 5vh;
}
/* ##### HEADER #####*/
/* ################## */
.header-content{
    
    grid-template-columns: .5fr 1fr;
    
    
}

    /* ##### Main #####*/
/* ################## */
/* ## SECTION Contact  ## */
.contact-block {         
    justify-content: space-between;
}
}
@media (max-width: 800px) {
    
/* Variablen für Farben, Abstände und Design */
:root {
    --page-side-spacing: 40px;
    
    
}

/* ### Navigation ### */
/* ################## */

    /* Navigation Mobile Menu */
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }   

    .nav-toggle-label {
        display: block;
        color: var(--text-color, #333);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        font-size: 1rem;
        background-color: var(--bg-color, white);
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 1000;
    }

    .nav-menu ul {
        flex-direction: column;
        justify-content: space-between;
        gap: 3rem;
        /* background-color: red; */
        height: 50vh;
    }

    .nav-toggle:checked + .nav-toggle-label + .nav-menu {
        display: flex;
        
    }

    .nav-toggle:checked + .nav-toggle-label{

        position: fixed;
    top: 35px;
    right: var(--page-side-spacing);
    z-index: 1001;
    }

    /* Optional: prevent background scrolling when menu is open */
    .nav-toggle:checked ~ *:not(.nav-menu):not(.nav-toggle-label) {
        pointer-events: none;
        user-select: none;
    }

/* ##### Header #####*/
/* ################## */

    .header-block{
        align-items: flex-end;
    }

    .header-block img{
   
    margin-top: 20px;
}

/* ##### Footer #####*/
/* ################## */

    
}

@media (max-width: 510px) {
    
    /* Variablen für Farben, Abstände und Design */
:root {
    --page-side-spacing: 20px;
    --pip-top-spacing: 20px;
    --header-spacing: 5vh;
     --section-spacing: 160px;
    --nav-items-padding-bottom: 15px;
    
}

.only-desktop {
    display: none;
}

.only-mobile {
    display: block;
}

h2 {
  font-size: 2rem;
  
}

h3 {
  font-size: 1.5rem;
  
}

h4 {
  font-size: 1.3rem;
  
}

h5 {
  font-size: 1.2rem;
  
}

h6 {
  font-size: 1rem;
  
}



.center-region-pip{ 
  max-width: 1440px;   
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
/* ### Navigation ### */
/* ################## */

nav{
    margin-top: 25px;
}

    /* Navigation Mobile Menu */
    .nav-logo{
          
        margin-right: var(--page-side-spacing);      
        padding-right: 15px;  
        
    }
      .nav-toggle:checked + .nav-toggle-label{

        top: 25px;
      }
    
        
    .logo-text{         
        width: 175px;        
    }

    /* Hamburger / Close icons */
.nav-toggle-label {
    
    font-size: 1.5rem;        
    /* padding-top: 0px; */
    /* margin-left: auto; */

}

.nav-menu ul {
    margin-right: 50px;
}

/* ##### Header #####*/
/* ################## */

.header-content{    
    grid-template-columns: .15fr 1fr ;
    grid-template-rows: auto 1fr;
    align-items: center;    
    gap: 20px;
    
}

.header-block{    
    min-height: 35vh;
    grid-row: 1 / span 2;    
    justify-content: center;
    align-items: flex-start;
    
}


.header-block img{
    
    width: 70%;
    height: auto;
    object-fit: contain;
    margin-top: 8px;
}

.header-title{
    margin-bottom: 28px;
}

.header-title h2{
    margin-bottom: 0px;
    font-size: 1.6rem;
    line-height: 1.6rem;
}

.header-text{
    margin-top: 28px;
}

.header-text .light-text{
    color: var(--text-color);
}
/* ##### Main #####*/
/* ################## */
/* ## SECTION Contact  ## */


.contact-block {
         
    justify-content: space-between;
}

/* ##### Footer #####*/
/* ################## */


}