/* //////////////////////////////////////////////////////////////////////////////////////////////// Footer Space */


.footer-spacer-aktuelles {
  height: 1vw;  /* Abstand in Höhe */
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Bild */

.banner {
  width: 100vw;
  height: 35vw;          /* Höhe steuerst du hier – z. B. 20–30vw */
  overflow: hidden;      /* schneidet Überstand ab */
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* füllt den Container, schneidet Überschuss */
  display: block;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Aktuelles Text */

.content-section {
  width: 80vw;
  margin: 3vw auto;
  text-align: center;
}

.content-section h2 ,

.content-section h1:where(.h1-aus-h2){
  font-size: 2vw;
  margin-top: 3vw;
  color: #ff8800;
}

.content-section p {
  font-size: 1vw;
  line-height: 1.5;      /* etwas mehr Zeilenabstand für Lesbarkeit */
  max-width: 45vw;       /* Textbreite begrenzen */
  margin: 0 auto;        /* mittig ausrichten */
  margin-top: -1vw;
  text-align: center;    /* Text auch inhaltlich mittig */
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Wussten Sie schon text */

.custom-section {
  width: 100vw;             /* graues Feld volle Breite */
  background-color: #f4f4f4;
  padding: 0.5vw 0;
}

.custom-section h3,
.custom-section p {
  max-width: 70vw;          /* Textbreite */
margin-left: 10vw;
  text-align: left;
}

.custom-section h3.subheading {
  font-size: 1.4vw;
  margin-bottom: 1vw;
  color: #555;          /* dunkler für Lesbarkeit */
}

.custom-section p {
  font-size: 1vw;
  line-height: 1.5;
  margin-bottom: 1.5vw;
  max-width: 60vw;       /* Textbreite begrenzen */
}

.custom-section a {
  color: #0073e6;
  text-decoration: none;
}

.custom-section a:hover {
  text-decoration: underline;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Email und Tel. Orange */

.kontakt-hervorhebung {
  color: #de800e;   /* Orange nur für Label */
  font-weight: normal;
}

.copy-wrap {
  position: relative;
  display: inline-block;
}

.copyable-email {
  cursor: pointer;
  color: #444;        /* neutral (nicht orange) */
  font-weight: 400;
  text-decoration: none; /* keine Unterstreichung */
}

/* normales Telefon, nicht klickbar */
.tel-plain {
  color: #444;
  font-weight: 400;
}

.copy-popup {
  position: absolute;
  left: 50%;
  top: -3em;                                /* 3 Zeilen oberhalb */
  transform: translateX(-50%) translateY(-0.6em);
  background: #28a745;
  color: #fff;
  padding: 0.4em 1em;
  font-size: 0.9em;
  border-radius: 0.5em;
  box-shadow: 0 0.3em 0.8em rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  max-width: 40vw;                          /* begrenzt Breite */
  z-index: 100;
}

.copy-popup.aktiv {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* //////////////////////////////////////////////////////////////////////////////////////////////// Scroll Abstand */

/* verhindert, dass der Header den Anker überdeckt */
#wusstensieschon {
  scroll-margin-top: 10vw; /* Höhe deines Headers anpassen */
}


/* ============================================================= */
/* Jubiläumsabschnitt – 35 Jahre HPS                             */
/* ============================================================= */

.jubilaeum-section {
  width: 100vw;
  background-color: #fff;
  padding: 4vw 0;
  margin-top: -2em;
}

.jubilaeum-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80vw;
  margin: 0 auto;
  gap: 2vw;
}

.jubilaeum-text {
  flex: 1;
}

.jubilaeum-text h3 {
  color: #555;
  font-size: 1.6vw;
  margin-bottom: 1vw;
}

.jubilaeum-text p {
  font-size: 1vw;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1vw;
}

.jubilaeum-bild {
  flex: 1;
  display: flex;
  justify-content: center;
}

.jubilaeum-bild img {
  width: 60%;
  max-width: 30vw;
  border-radius: 0.5vw;
  box-shadow: 0 0.8vw 2vw rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.jubilaeum-bild img:hover {
  transform: scale(1.02);
}


/* Mobile Styles for Aktuelles Page (max-width: 600px) */

@media (max-width: 600px) {

  html, body {
  overflow-x: hidden;
}


  .banner {
    display: none !important;
  }

  /* Haupttitel Bereich */
  .content-section {
    width: 90vw;
    margin: 8vw auto;
    text-align: center;
  }
  .content-section h2 ,
  .content-section h1:where(.h1-aus-h2){
    font-size: 6vw;
    color: #ff8800;
    margin-bottom: 2vw;
      margin-top: 19vw; 
  }
  .content-section p {
    font-size: 4vw;
    max-width: 90vw;
    line-height: 1.6;
    text-align: center;
  }

  /* Wussten Sie schon */
  .custom-section {
    width: 100vw;
    padding: 8vw 5vw;
  }
  .custom-section h3.subheading {
    font-size: 5vw;
    margin-bottom: 4vw;
    max-width: 90%;
    margin-left: 0;
    text-align: left;
  }
  .custom-section p {
    font-size: 4vw;
    max-width: 90%;
    margin-left: 0;
    line-height: 1.6;
    text-align: left;
  }

  .copy-popup {
    font-size: 3.5vw;
    top: -3em;
  }

  /* Jubiläumsbereich */
  .jubilaeum-section {
    padding: 10vw 0;
  }

  .jubilaeum-wrapper {
    flex-direction: column;
    max-width: 90vw;
    gap: 6vw;
  }

  .jubilaeum-text h3 {
    font-size: 5vw;
    text-align: center;
  }

  .jubilaeum-text p {
    font-size: 4vw;
    text-align: left;
    line-height: 1.6;
  }

  .jubilaeum-bild img {
    width: 80%;
    max-width: 70vw;
    border-radius: 2vw;
  }

  .footer-spacer-aktuelles {
    height: 10vw;
  }

    /* Telefonnummer nicht blau auf Handy */
  .tel-plain,
  a.tel-plain {
    color: #444 !important;
    text-decoration: none !important;
    font-weight: 400;
  }
}