@charset "UTF-8";
/* CSS Document */
/* style.css */
html, body {
  overflow-x: hidden;
}
    /* ========== Grundlayout & Reset ========== */
      * { margin: 0; padding: 0; box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      background-color: #FAE150;
    }
    body {
      font-family: "Montserrat", sans-serif;
      background-color: transparent;
    }
   /* ========== Parallax-Hintergrund ========== */
      .parallax-image {
  background-image: url("../assets/img/HNO-Zentrum-Graz-HNO-Arzt-Hoerstudio-Logopaedie.jpg");
  position: fixed;
  top: 7%;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: -1;
}
/* ========== Modal - Impressum ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(47, 61, 69, 0.8);
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border: 8px solid #2F3D45;
  width: 90%;
  max-width: 800px;
  color: #2F3D45;
  font-size: 0.95rem;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.modal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}
.modal-content h4 {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-style: oblique;
}

.modal-content a {
  color: #5F5991;
  text-decoration: underline;
}

.close-button {
  color: #2F3D45;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    font-size: 0.9rem;
    padding: 1.5rem;
  }
}

    /* ========== Header & Navigation ========== */
      header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background-color: #2F3D45;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      z-index: 1000;
    }
    nav {
      display: flex;
      gap: 2rem;
    }
    nav a {
      text-decoration: none;
      color: white;
      font-weight: bold;
      line-height: 80px;
    }
    .logo {
      height: 60px;
      margin-right: auto;
      max-width: 100%;  
    }
    .dots {
      position: absolute;
      top: 0;
      right: -20px;
      height: 70px;
    }
    .scroll-nav {
      position: fixed;
      bottom: -100%;
      left: 0;
      right: 0;
      background-color: #2F3D45;
      color: white;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      transition: bottom 0.4s ease;
      z-index: 999;
    }
    .scroll-nav.show { 
      bottom: 0; 
    }
    .scroll-nav a {
      color: white;
      text-decoration: none;
      font-weight: bold;
    }
.scroll-nav h2{
    font-weight: 800;
    color: #FAE150;
}
  /* ========== Menü Button (4 Punkte → HNO+) ========== */
.scroll-toggle-icon {
  position: fixed;
  top: 25px;
  right: 4rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
/* Position & Basis */
.dots-icon {
  position: relative;
  width: 40px;
  height: 40px;
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #FAE150;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Positionierung der Punkte im Quadrat */
.dot1 { top: 5px; left: 5px; }
.dot2 { top: 5px; right: 5px; }
.dot3 { bottom: 5px; left: 5px; }
.dot4 { bottom: 5px; right: 5px; }


/* Text MENU (unsichtbar standardmäßig) */
.morph-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #FAE150;
  letter-spacing: 0.1rem;
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* Hover-Effekt: Punkte ausblenden, Text einblenden */
.scroll-toggle-icon:hover .dot {
  opacity: 0;
  transform: scale(0.3);
}

.scroll-toggle-icon:hover .morph-menu {
  transform: translate(-50%, -50%) scale(1);
}

/* ========== Cards / Sektion Boxen ========== */
    .section-boxes {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      padding: 53rem 1rem 6rem;
      gap: 2rem;
      background: transparent;
    }
    .card {
      position: relative;
      width: 250px;
      height: 300px;
      background-color: red;
      border: 8px solid #2F3D45;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      border-radius: 0;
      cursor: pointer;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
      color: white;
      padding: 1rem;
      flex: 0 1 300px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .card:hover {
      transform: translateY(-5px);
    }
    .card-content {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      color: white;
      z-index: 2;
    }
    .card-ordination {
      background-color: #5F5991;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-end;
      gap: 2rem;
      text-decoration: none;
    }
    .card-hoergeraete {
      background-color: #007e78;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-end;
      gap: 2rem;
      text-decoration: none;
    }
    .card-logopaedie {
      background-color: #A31646;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-end;
      gap: 2rem;
      text-decoration: none;
    }
    .card-header {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.5rem;
      width: 100%;
    }
    .card-header img {
      margin-right: auto;
      margin-top: auto;
      width: var(--icon-size, 50px);
      height: var(--icon-size, 50px);
    }
    .card-header span {
      font-weight: bold;
      font-size: 1.2rem;
      text-align: right;
    }
    .card-text {
      font-size: 1rem;
      font-style: italic;
      line-height: 1.5;
      text-align: left;
    }
    .card-footer {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: auto;
      margin-bottom: 0.5rem;
    }
    .card-button {
      background-color: #FAE150;
      color: #2F3D45;
      border: 2px solid #2F3D45;
      padding: 0.2rem 0.5rem;
      border-radius: 5px;
      font-weight: bold;
      text-transform: uppercase;
      font-size: 0.7rem;
      cursor: pointer;
    }
    .card-icon {
      height: 30px;
      width: auto;
    }
  /* ========== Lauftext (fixierter Balken) ========== */
      .cards-intro-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px; /* oder was du visuell bevorzugst */
  background-color: rgba(250, 225, 80, 0.95); /* hier sitzt der gelbe Balken */
  display: flex;
  align-items: center;
  justify-content: center;
      text-align: center;
  z-index: 10;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.cards-intro-fixed.hidden {
  opacity: 0;
  visibility: hidden;
}

.cards-intro-fixed h2 {
  margin: 0;
  color: #2F3D45;
  font-size: 1.2rem;
  font-weight: bold;
}
/* ========== Basis (Section) ========== */ 
#Team {
  scroll-margin-top: 100px; /* Passe die Höhe je nach Header an */
}
.section-basis {
      background-color: #FAE150;
      padding: 2rem 2.5rem;
      position: relative;
    }
    .basis-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      padding-left: 0px;
    }
    .basis-icon-fixed {
      position: flex;
      margin-top: -50px;
      margin-left: 60%;
      margin-right: 40%;
      width: 100px;
      max-width: 25vw;
      height: auto;
    }
    .basis-headline {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .basis-headline h2 {
      font-size: 2.5rem;
      font-weight: 900;
      color: #2F3D45;
    }

    .basis-icon-inline {
      height: 120px;
      width: auto;
    }
    .basis-text {
        margin-top: -50px;
      text-align: left;
      color: #2F3D45;
    }
    .basis-text h2 {
      font-size: 2.5rem;
      font-weight: 900;
      margin-bottom: 1rem;
      line-height: 1.2;
    }
      .basis-text h3 {
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 1rem;
      line-height: 1.2;
      margin-top: -0.7rem;
    }
    .basis-text p {
      font-size: 1.2rem;
      line-height: 1.6;
      font-style: italic;
      font-weight: 500;
      max-width: 800px;
    }
 /* ========== Über Uns (Section) ========== */
      .section-ueber-uns {
      background-color: #FAE150;
      padding: 4rem 2rem;
      position: relative;
    }
    .ueber-uns-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      padding-left: 80px;
    }
    .ue-icon-fixed {
      position: absolute;
      top: 10px;
      left: 0px;
      width: 100px;
      max-width: 25vw;
      height: auto;
    }
     .basis-icon-inline-ue {
      height: 70px;
      width: auto;
      margin-bottom: 50px;
    }
    .ueber-uns-text {
      text-align: left;
      color: #2F3D45;
    }
    .ueber-uns-text h2 {
      font-size: 2.5rem;
      font-weight: 900;
      margin-bottom: 1rem;
      line-height: 1.2;
    }
      .ueber-uns-text h3 {
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 1rem;
      line-height: 1.2;
      margin-top: -0.7rem;
    }
    .ueber-uns-text p {
      font-size: 1.2rem;
      line-height: 1.6;
      font-style: italic;
      font-weight: 500;
      max-width: 800px;
    }
/* ========== Floating Bubble - Sprechblase - Termin ========== */
.sprechblasen-button {
  position: fixed;
  bottom: 30px;
  right: 5px;
  width: 80px;
  height: 80px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s ease;
  transform-origin: right center;
}

.sprechblasen-button:hover {
  transform: scale(1.55);
}

.sprechblasen-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.sprechblasen-hintergrund {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sprechblasen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.rufzeichen-icon {
  width: 40px;
  height: 40px;
  animation: pulsieren 1.4s infinite;
  transition: opacity 0.3s ease;
  margin-top: -18px;
  margin-right: 5px;
}

.sprechblasen-text {
  color: #2F3D45;
  font-weight: 600;
  font-size: 0.5rem;
  text-align: center;
  display: none;
  transition: opacity 0.3s ease;
  margin-right: 5px;
  margin-top: -15px;
}

/* Hover-Effekt: Tausche Icon gegen Text */
.sprechblasen-button:hover .rufzeichen-icon {
  display: none;
}

.sprechblasen-button:hover .sprechblasen-text {
  display: block;
}

/* Pulsieren */
@keyframes pulsieren {
  0% { transform: scale(0.5); opacity: 1; }
  50% { transform: scale(1.75); opacity: 1; }
  100% { transform: scale(0.5); opacity: 1; }
}
/* ========== Team Gallery (Section) ========== */ 
.team-gallery {
  background-color: #FAE150;
  padding-top: 1rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-bottom: 2rem;
}

.team-gallery-container {
  display: grid;
  justify-content: center;
  gap: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-gallery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-gallery-card {
  border: 8px solid #2F3D45;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FAE150;
}

.team-gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.team-gallery-info {
  text-align: center;
  margin-top: 1rem;
}

.team-gallery-info strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2F3D45;
  display: block;
}

.team-gallery-info p {
  font-size: 0.85rem;
  font-weight: 400;
  color: #2F3D45;
  margin-top: 0.2rem;
}
/* ========== Galerie (Section) ========== */
#Galerie {
  scroll-margin-top: 100px; /* Passe die Höhe je nach Header an */
}

.section-galerie {
  background-color: #FAE150;
  padding: 2rem 2.5rem;
}

.galerie-container {
  text-align: left;
  width: 100%;
  
}

.galerie-vorschau {
  border: 2px solid #2F3D45;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galerie-vorschau:hover {
  transform: scale(1.02);
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  flex-direction: column;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  border: 4px solid white;
  object-fit: contain;
}

.lightbox-nav {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 700px;
  margin-top: 1rem;
}

.lightbox-nav span {
  color: #FAE150;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* ========== Kontakt (Section) ========== */
#Kontakt {
  scroll-margin-top: 100px; /* Passe die Höhe je nach Header an */
}
     
    .kontakt-daten {
      width: 100%;
      max-width: 1000px;
      margin: 0;
      padding-top: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: flex-start;
}
    .kontakt-eintrag {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .kontakt-eintrag img {
      width: 30px;
      height: 30px;
      flex-shrink: 0;
    }

    .kontakt-eintrag p {
      font-size: 1.1rem;
      font-weight: 500;
      margin: 0;
    }
    .kontakt-infobox {
      background-color: #2F3D45;
      color: #FAE150;
      font-weight: 700;
      font-size: 1.1rem;
      text-align: center;
      padding: 1.5rem;
      margin-top: 2rem;
      max-width: auto;
    }
   

    @media (max-width: 768px) {
      .kontakt-infobox {
        margin-left: 0px;
        font-size: 1rem;
        padding: 1rem;
      }
    }
 .kontakt-row-fixed {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
  padding: 2rem 6rem 0rem 0rem;
  flex-wrap: nowrap;
  
}

.kontakt-fixed-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 280px;
  flex-shrink: 0;
}

.kontakt-fixed-btn {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.3);
  display: inline-block;
  width: fit-content;
}

.kontakt-fixed-btn.hno {
  background-color: #5f5991;
}

.kontakt-fixed-btn.hoerstube {
  background-color: #007E78;
}


.kontakt-fixed-btn.logopaedie {
  background-color: #A31646;
}

.kontakt-fixed-icon-wrapper {
  flex-shrink: 0;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.kontakt-fixed-icon {
  height: 120px;
  margin-right: 85%;
  margin-top: 5%;
  width: auto;
}
.kontakt-layout-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.kontakt-linker-bereich {
  flex: 1 1 450px;
  min-width: 300px;
}
/* ========== Hinweis Box Kontakt ========= */
.kontakt-infobox-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(0.5rem);
  max-width: 500px;
  padding: 1rem;
}

.kontakt-infobox {
  background-color: #fae150;
  border: 8px solid #2F3D45;
  color: #2F3D45;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  text-align: left;
  box-sizing: border-box;
}
.kontakt-infobox h2 {
    font-weight: 800;
    font-height: 1.5rem;
    font-style: oblique;
    margin-bottom: 2rem;
}
.kontakt-infobox p {
    font-weight: 500;
    font-height: 1rem;
    font-style: normal;
    line-height: 1.8rem;
}
.kontakt-infobox-info {
      background-color: #2F3D45;
      color: #ffffff;
      font-weight: 700;
      font-size: 1.1rem;
      text-align: center;
      padding: 1.5rem;
      margin-top: 2rem;
      max-width: auto;
    }

.kontakt-infobox-info h2 {
     padding-bottom: 1rem;
     text-align: left;
}
.kontakt-infobox-info p {
     font-weight: 500;
     font-size: 1rem;
     padding-bottom: 1rem;
}
.kontakt-infobox-info img {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      margin-top: -20px;
    }

/* Container positioniert den Bereich relativ, damit absolute Position funktioniert */
.basis-container {
  position: relative;
}

/* Mobile View: Infobox am Ende der Section */
@media (max-width: 768px) {
  .kontakt-infobox-wrapper {
    position: static;
    transform: none;
    margin-top: 2rem;
    width: 100%;
    padding: 0;
  }

  .kontakt-infobox {
    width: 100%;
    box-sizing: border-box;
    border: 8px solid #2F3D45;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    background-color: #fae150;
    color: #2F3D45;
    font-weight: bold;
    text-align: left;
  }
}
/* ========== Map  ========== */
.map-section {
  background-color: #FAE150;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: center;
}

.map-container {
  border: 8px solid #2F3D45;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.responsive-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* ========== Footer Unterseiten ========== */
     .site-footer {
  background-color: #2F3D45; /* Charcoal */
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Montserrat', sans-serif;
  border-top: 5px solid #FAE150; /* gelber Balken oben */
  border-bottom: 5px solid #FAE150; /* gelber Balken oben */
  z-index: 9999;
}

.site-footer a {
  color: #FAE150; /* Gelb */
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.site-footer .footer-top a {
  font-size: 1rem;
  margin: 0 0.3rem;
  text-transform: uppercase;
}

.site-footer .footer-middle {
  font-size: 1rem;
  margin: 1rem 0;
}

.site-footer .footer-links {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.site-footer hr {
  width: 100px;
  margin: 0.5rem auto;
  border: none;
  border-top: 2px solid white;
}

.site-footer .footer-bottom p {
  font-size: 0.8rem;
  max-width: 500px;
  margin: 1rem auto 0 ;
  line-height: 1.4;
}
/* ========== Footer  ========== */
footer {
      padding: 2rem;
      text-align: center;
      background: #2F3D45;
      color: white;
    }
@media (max-width: 768px) {
  .ordination-container {
    flex-direction: column;
    height: auto;
  }

  .slideshow {
    order: -1;
    width: 100%;
    height: auto;
    max-height: 40vh;
    aspect-ratio: 16 / 9;
  }

  .slideshow img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .text-content {
    padding: 2rem 1.5rem;
  }
}

/* ========== Datenschutzerklärung Button ========= */
/* Einheitliches Footer-Link-Styling */
/* Footer-Link CI-konform */
.footer-link {
  color: #FAE150;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-link:hover {
  text-decoration: underline;
}

/* Modal Basis */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}

/* Modal Inhalt */
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 1rem;
  border: 8px solid #2F3D45;
  width: 90%;
  max-width: 900px;
  border-radius: 4px;
  position: relative;
}

/* Close-Button */
.modal .close {
  color: #2F3D45;
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

/* Entfernt Standard-Stile von Iubenda */
.iubenda-custom.iubenda-noiframe.iubenda-embed {
  all: unset;
  color: #FAE150;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}
/* ========== Media (Viewport Einstellungen) ========== */
    @media (min-width: 1100px) {
      .team-gallery-container {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (min-width: 600px) and (max-width: 1099px) {
      .team-gallery-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 599px) {
      .team-gallery-container {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 768px) {
      .team-container {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 768px) {
      .section-boxes { flex-direction: column; }
      header { flex-wrap: wrap; height: auto; padding: 1rem; }
      nav { display: none; }
      .logo { height: 40px; }
      .ueber-uns-container { padding-left: 30px; }
      .ue-icon-fixed { width: 80px; }
      .ueber-uns-text h2 { font-size: 1.8rem; }
      .ueber-uns-text p { font-size: 1rem; }
      .team-container { padding: 0 2.5rem; }
      .te-icon-fixed { width: 80px; }
      .team-text h2 { font-size: 1.8rem; }
      .team-text p { font-size: 1rem; }
     
}