* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: rgb(126, 152, 112);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: Verdana, Arial, sans-serif;
  overflow-x: hidden;
}

 
:root {
  
  --grid-color: rgb(122, 152, 107);
  --glass-border: rgba(255,255,255,0.28);
  --titlebox-border: rgb(81, 108, 67);
  --titlebox-bg: rgb(106, 137, 91); 
  --text-main: rgba(255, 255, 255, 0.92);
}

/* =========================
   HEADER
========================= */

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding-bottom: 8px;
}

/* Banner nur auf Mobile/Tablet verstecken */
.banner-wrapper {
  display: none;
}

/* =========================
   SR-ONLY (visuell versteckt, für Screenreader sichtbar)
========================= */
 
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================
   BURGER MENU
========================= */

#menu-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.burger {
  display: none;
  padding: 0 16px;
  cursor: pointer;
  background: #026202;
  color: #000000;
  text-align: center;
  user-select: none;
  border: 2px solid #000;
}

/* =========================
   NAV (Mobile default — versteckt)
========================= */

#nav {
  display: none;
}

/* =========================
   PAGE WRAPPER
========================= */

#page {
  width: 100%;
  max-width: 2190px;
  margin: 5px auto 0 auto;
  background: none;
  padding-top: 44px;
}

/* =========================
   GRID — Desktop 4 Spalten (1200–2189px)
========================= */

#grid {
  display: grid;
  
  padding-right: clamp(29px, 2.42vw, 53px);
  padding-bottom: clamp(29px, 2.42vw, 53px);
  padding-left: clamp(29px, 2.42vw, 53px);
  overflow: visible;
  background: rgb(96, 124, 82);  
}


/* =========================
   IMPRESSUM-INHALT (Text ohne Bild, aus Detailseite übernommen)
========================= */

.impressum-wrap {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 4px;
}

.impressum-wrap a {
  color: inherit;
  text-decoration: underline;
}

.page-title {
  width: 100%;
  margin: 0 0 14px 0;
  color: var(--text-main);
  font-weight: 700;
  text-align: left;
  font-size: clamp(20.7px, 5.75vw, 27.6px);
  line-height: 1.3;
}

.det-label {
  width: 100%;
  margin: 0;
  margin-top: 14px;
  
  font-size: inherit;
  color: var(--text-main);
  font-weight: 700;
  font-size: clamp(14.75px, 1.24vw, 27.36px);
  
}

.det-text {
  width: 100%;
  margin: 0;
  color: var(--text-main);
  line-height: 1.5;
  font-size: clamp(13.63px, 1.14vw, 25.30px);
  margin-top: 2px;
  margin-bottom: 8px;
}

.det-h2,
.det-h3 {
  width: 100%;
  margin: 0;
  margin-top: 14px;   /* <-- X: gleicher Wert wie .det-label */
  margin-bottom: 1px; /* <-- Y: gleicher Wert wie margin-top auf .det-text */
  font-size: inherit;
  color: var(--text-main);
  font-weight: 700;
  line-height: inherit;
  text-align: left; 
  font-size: clamp(14.75px, 1.24vw, 27.36px);
} 

/* =========================
   RESPONSIVE < 1200px (Tablet)
========================= */

@media (max-width: 1199px) {

  #header {
    width: 100%;
  }

  #page {
    width: 100%;
    margin: 0;
    padding-top: 52px;
  }

   .page-title { 
    font-size: 25px;
    margin-top: 8px; 
    text-align: center;
    padding-bottom: 0; 
 }
   
    #footer a:hover {
    background: none;
    color: #dfdfdf;
  }
 
  #grid {
    padding-top: 0;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    }

  .impressum-wrap {
    max-width: 100%;
    padding: 0 4px;
  }

   .det-label,
   .det-text,
   .det-h2,
  .det-h3 {
    font-size: 16px;
  }
   
  .burger {
    display: block;
    height: 52px;
    display: flex;
    color: rgba(255, 255, 255, 0.90);
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: rgb(62, 81, 54);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  }

  #nav a:hover {
    background: none;
  }

 

  #nav {
    display: none;
    flex-direction: column;
    background: #677f5b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    z-index: 999;
  }

  #nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(126, 152, 112);
    color: var(--text-main);
    font-size: 16px;
    border: none;
    border-bottom: 2px solid rgba(58, 79, 50, 0.8);
    max-width: 100%;
    text-decoration: none;
  }
   

  #nav a:first-child {
    border-top: none;
  }

  #nav a:last-child {
    border-bottom: 2px solid rgba(58, 79, 50, 0.8);
  }

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

/* =========================
   MOBILE < 600px
========================= */

@media (max-width: 600px) {

  #header {
    width: 100%;
  }

  #page {
    margin: 0;
    padding-top: 48px;
    width: 100%;
  }

  

 #footer a:hover {
    background: none;
    color: #dfdfdf;
  }
  
  #grid {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 15px;
    padding-left: 10px;
    
}  

  .burger {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    color: var(--text-main);
  }
 

   .det-label,
   det-text,
   .det-h2,
  .det-h3 {
    font-size: 16px;
  }
  
   
}

/* =========================
   DESKTOP ab 1200px
========================= */

@media (min-width: 1200px) {

     
   #grid {
   padding-top: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25),
              inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  margin-top: -16px; 
  }

  #grid img {
  
  max-width: 915px;
  height: auto;
  
}

    .impressum-wrap {
    max-width: 1200px;
    padding-top: 6px;
  }
  
   #page {
     padding-top: calc(clamp(78.54px, 7.577vw, 139.18px) - 4px);
     
  }

   #footer {
  width: 100%;
  max-width: 2190px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25),
              inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
    #footer a:hover {
  background: #394D30; 
  }

  .page-title {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 2190px;
    margin: 0 auto;
    height: clamp(52.54px, 5.15vw, 97.27px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(74, 96, 64);
    color: var(--text-main);
    font-family: inherit;
    font-weight: 700;
    font-size: clamp(21.82px, 2.18vw, 39.99px);
    padding-bottom: 6px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    z-index: 1001;
  }

  #header {
    padding-bottom: 0;
    padding-top: clamp(52.54px, 5.15vw, 97.27px);
    }

 
  #nav {
  display: flex;
  justify-content: center;
  height: clamp(23.85px, 1.99vw, 43.73px);
  margin-bottom: 2px;
  background: rgb(119, 144, 105);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25),
  inset 0 -1px 0 rgba(255, 255, 255, 0.06);           
}

  #nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(12.82px, 1.08vw, 23.80px);
  color: var(--text-main);
  border-right: 2px solid rgb(74, 96, 64);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  padding-bottom: 0;
  
}
 
  #nav a:last-child {
    border-right: none;
  }

  #nav a:hover {
  background: rgb(101, 124, 90);
  color: #fff;
}
  .nav-inner {
  display: flex;
  width: 100%;
  max-width: none;
}
}
@media (min-width: 1200px) and (max-width: 2189px) {
  #grid {
   
    padding-left: clamp(33.6px, 3.36vw, 67.2px);
    padding-right: clamp(33.6px, 3.36vw, 67.2px);
    padding-bottom: 24px; 
  }

  
}

/* Grid — 8 Spalten ab 2190px Viewport */
@media (min-width: 2190px) {
  #grid {
    
     padding-left: 28px;
    padding-right: 28px;  
}

  .impressum-wrap {
    max-width: 1200px;
  }

  .det-label,
  .det-text,
  .det-h2,
  .det-h3 {
    font-size: clamp(18px, 1.2vw, 30px);
    line-height: 1.5;
  }
  
  

  #nav {
    max-width: 2190px;
    margin-left: auto;
    margin-right: auto;
  }

    #footer {
    width: 92%;
    max-width: 2190px;
    left: auto;
    transform: none;
    margin: 0 auto;
  }   

}

/* =========================
   FOOTER
========================= */

#footer {
  display: flex;
  height: clamp(30px, 2.5vw, 55px);
  background: rgb(78, 97, 71);
  font-size: clamp(15px, 1.25vw, 27px);
  
  }

#footer a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #dfdfdf;
}

#footer a:first-child {
  border-right: 2px solid var(--grid-color);
}



