/* Wiederverwendbare Bausteine */
/* Cookie-Banner */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.55);
  padding: 1rem;
}

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
  background: #ECEBE9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cookie-content h3 {
  margin-top: 0;
  color: #DC143C;
}

.cookie-content label {
  display: block;
  margin: 0.75rem 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cookie-buttons button {
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
}


#cookie-accept-all {
    background: #DC143C;
    color: #fff;
}

#cookie-accept {
    background: #ECEBE9;
    color: #333;
    border: 1px solid #ccc;
}

#cookie-reject {
    background: #666;
    color: #fff;
}

/* ===== Formatierung Aufzaehlungsliste ===== */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.6rem;
}
/* Haken */
.check-list li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: #16a34a; /* modernes gruen */
    font-weight: bold;
}
.check-list-kreis {
    list-style-type: circle;
    }
.check-list-kreis li::before {
    content: none; /* Entfernt den generierten Inhalt komplett */
}
/* ===== Ende Formatierung Aufzaehlungsliste ===== */
/* ul-liste in mehrere Spalten */
.zweispaltig {
  columns: 2; 
  column-gap: 20px; 
  list-style-position: inside; 
}
/* Fuer Bildschirme kleiner als 600px */
@media (max-width: 600px) {
  .zweispaltig {
    columns: 1;
  }
}
/* Ende ul-liste in mehrere Spalten */

/* ===== ZWEI SPALTEN ===== */
.two-col {
    display: grid;
    gap: 1.5rem; 
}
.two-col-half {
  display: grid;
  gap: 1.5rem;
}
/* Desktop */
@media (min-width: 768px) {
    .two-col {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    .two-col-half {
    grid-template-columns: 1fr 1fr;
}
}
/* Neu ab 29.04.26 - eingesetzt bei der html-Seite Dachimpraegnierung */
.reference-block {
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 1.5rem;
}

.reference-title {
  text-align: center;
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.reference-images {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 760px) {
  .reference-images {
    grid-template-columns: 1fr 1fr;
  }
}

.reference-images figure {
  margin: 0;
  text-align: center;
}

.reference-images a {
  display: inline-block;
}

.reference-images img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 5px solid #fff;
}
@media (min-width: 760px) {
  .reference-images--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Nachfolgendes css bei der Seite dachfarbe meffert und dachbeschichtung eingesetzt */
.feature-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 1.25rem;
}

/*  26.ß6.26 class video-wrapper nicht bei dachfarbe meffert, sondern eingesetzt wo ?  
.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 760px;
  margin: 1.5rem auto 0;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}    
/* Ende - Nachfolgendes css bei der Seite dachfarbe meffert eingesetzt */

/* Anfang - css für Video-Lightbox */ 
/* Dachreinigung, Dachimpraegnierung Lotus-Effekt, Dachbeschichtung Video, Dachfarbe Meffert  */
 .yt-video {
  position: relative;
  cursor: pointer;
  max-width: 100%;
  display: inline-block; /* wichtig für kleine Container in rechten Spalten */
}
.yt-video img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.yt-image{
    position: relative;
}
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.yt-play:hover {
  background: rgba(0, 0, 0, 0.8);
}
/* Hinweistext immer sichtbar, kompakt */
.yt-consent-note {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #444;
  text-align: left;
  line-height: 1.2;
}

/* Button nur bei fehlendem Consent */
.yt-consent-button {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  color: #fff;
  background-color: #DC143C;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease;
}
.yt-consent-button:hover {
  background-color: #b7122b;
}

/* Responsive für kleine Container (rechte Spalte Desktop) */
@media (max-width: 500px) {
  .yt-video img {
    height: auto;
  }
  .yt-play {
    font-size: 1.5rem;
    padding: 6px 10px;
  }
  .yt-consent-note {
    font-size: 0.7rem;
  }
  .yt-consent-button {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Lightbox */
.yt-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.yt-lightbox iframe {
  width: 100%;
  max-width: 960px;
  height: 50vw;
  max-height: 540px;
}
.yt-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
.yt-caption {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #444;
  text-align: center;
}
/* Ende - css für Video-Lightbox */

/* Beginn: faq Fragen und Antworten */
details.faq-box summary {
  display: flex;
  align-items: flex-start; /* Zentriert den neuen Pfeil perfekt zur ersten Zeile */
  cursor: pointer;
  list-style: none; /* Versteckt den Standard-Pfeil in modernen Browsern */
}
/* Versteckt den Standard-Pfeil in Chrome/Safari */
details.faq-box summary::-webkit-details-marker {
  display: none;
}
/* Wir bauen uns einen eigenen Pfeil mit einem Pseudo-Element */
details.faq-box summary::before {
  content: "▶"; /* Das Pfeil-Symbol */
  font-size: 0.8em;
  margin-right: 8px; /* Abstand zur Überschrift */
  margin-top: .3em; /* Schiebt den Pfeil ein Stückchen runter, damit er mittig zur ersten Textzeile steht */
  transition: transform 0.2s ease; /* Schöne Drehanimation beim Öffnen */
}
/* Wenn das details-Element offen ist, dreht sich unser Pfeil nach unten */
details.faq-box[open] details.faq-box summary::before {
  transform: rotate(90deg);
}
details.faq-box summary h3 {
  display: inline;
  margin: 0; /* Margin links wird jetzt durch den Pfeil geregelt */
}
/* Ende: faq Fragen und Antworten */


.auswahl-button-danke-kontakt {
  display: flex;  
  flex-wrap:wrap;     
  align-items: center;
  justify-content: space-around;
  gap: 1rem;           
  width:100%;
  margin:2em 0;
}
.link-button {
    display: inline-block;
    padding: .85rem 1.4rem;
    background-color: #DC143C;
    color: #FFF;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #DC143C;
    border-radius: 8px;
   }
.link-button:hover {
    background: #fff;
    color:#DC143C;
}


