
/* ====== Reset & Basis-Setup ====== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=The+Seasons&display=swap');


*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden !important;
  font-size: 1.125rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #b0a396;
  color: #3a3632;
}
body {
  font-weight: 300;
}

.impressum-text h1 {
    font-family: 'The Seasons', serif;
    font-size: 2.5rem;
    color: #3a3632;
  }

  .impressum-text h2    {
font-family: 'Montserrat', sans-serif;
font-size: 1.25rem;
 color: #3a3632;
 font-weight: 600;
 margin-bottom: 0.5rem;
}
 
.impressum-text h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #3a3632;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }

  p {  
    font-size: 1.125rem;
    margin-bottom: 0.5rem;}

  a {
    color: #3a3632;
    text-decoration: underline;
  }

  strong {
    font-weight: 500;
  }

  


  /*----------------------------------------------------------*/

  .impressum-text {
    padding: 2rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  

  /*----------------------------------------------------------*/
  .zurueck-wrapper {
    text-align: center;
    margin-top: 4rem;
  }
 
  .zurueck-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #3a3632;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 3rem;
    border-radius: 2rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
  }
  
  .zurueck-button:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  

  /*----------------------------------------------------------*/


  .site-footer {
    position: relative;
    background-color: #b0a396;
    padding: 4rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: #3a3632;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  
  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(58, 54, 50, 0.35); /* wie .navbar */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 0;
  }
  
  .footer-columns {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-col {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertikal zentriert */
    align-items: center;       /* horizontal zentriert */
    text-align: center;
    height: 100%;   
    gap: 0.5rem;
  }
  
  .footer-col p {
    margin: 0;
    line-height: 1.5;
  }
  
  .footer-col a {
    color: inherit;
    text-decoration: none;
  }
  
  .footer-col a:hover {
    text-decoration: underline;
  }
  
  .footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
  }
  
  .footer-social {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 1.5rem;
  }
  
  
  .footer-social a:hover img {
    filter: brightness(120%);
  }
  
  .footer-rights {
    font-size: 0.85rem;
    color: #3a3632;
    margin-top: 1rem;
  }
  
  @media (max-width: 960px) {
    .footer-columns {
      flex-direction: column;
      align-items: center;
      text-align: center;
      align-items: flex-start;
      gap: 1.5rem; /* kleineres Spaltengap */
    }
  
    .footer-col {
      position: relative;
      width: 100%;
      max-width: 320px;
      max-height: fit-content;
      height: auto; 
      padding: 0;
      margin: 0 auto;
      align-items: center;
    }
  
    /* Trennlinien schmal & eng anliegend */
    .footer-col:not(:last-child)::after {
      content: "";
      position: absolute;
      bottom: -0.75rem;
      left: 15%;
      width: 70%;
      height: 1px;
      background-color: rgba(58, 54, 50, 0.3);
    }
  
    .footer-logo {
      display: block;
      margin: 0 auto 0.7rem auto;
      max-width: 200px;
    }
  
    .footer-social {
      justify-content: center;
      margin-top: 0.5rem;
    }
  
    .footer-social img {
      width: 24px;
      height: 24px;
    }
  
    /* Paragraph-Abstände reduzieren */
    .footer-col p {
      margin: 0.25rem 0;
    }
  }
  
  @media (max-width: 768px) {
    .impressum-text h1 {
      font-size: 2rem;
    }
  
    .impressum-text h2 {
      font-size: 1.1rem;
    }
  
    .impressum-text h3,
    .impressum-text h4 {
      font-size: 1rem;
    }
  
    .impressum-text p {
      font-size: 1rem;
    }
  
    .footer-rights {
      font-size: 0.75rem;
    }
  
    .zurueck-button {
      font-size: 0.9rem;
      padding: 0.75rem 2rem;
    }
  }

 /* ============ Apple Devices Optimierungen für Impressum ============ */

/* Kleine iPhones: iPhone SE, 5/5S/5C, Mini */
@media only screen
and (max-device-width: 375px)
and (max-device-height: 667px)
and (-webkit-device-pixel-ratio: 2) {
html {
  font-size: 14px;
}
.impressum-text p {
  font-size: 0.95rem;
}
}

/* Standard iPhones: iPhone 6/7/8 & SE (2./3. Gen) */
@media only screen
and (device-width: 375px)
and (device-height: 667px)
and (-webkit-device-pixel-ratio: 2) {
html {
  font-size: 15px;
}
}

/* Neue iPhones: X, XS, 11 Pro */
@media only screen
and (device-width: 375px)
and (device-height: 812px)
and (-webkit-device-pixel-ratio: 3) {
html {
  font-size: 15px;
}
}

/* iPhones XR, 11, 12, 13, 14, 15 */
@media only screen
and (min-device-width: 390px)
and (max-device-width: 430px)
and (orientation: portrait) {
html {
  font-size: 16px;
}
.impressum-text p {
  font-size: 1rem;
}
}

/* Alle iPads (Hoch- und Querformat) */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1366px) {
html {
  font-size: 17px;
}
.impressum-text p {
  font-size: 1.05rem;
}
.footer-rights {
  font-size: 0.9rem;
}
}
