*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ==========================
   Produktseiten – Body
   ========================== */
body.produkt-echtholzfurnier {
  /*background-color: #373a42 !important;*/
  color: #000;
  margin: 0;
  padding: 0;
}

body.produkt-echtholzfurnier main {
 background-color: #fff!important;
}


body.produkt-farbrahmen {
  /*background-color: #fff !important;*/
  color: #000;
  margin: 0;
  padding: 0;
}

body.produkt-farbrahmen main {
  background-color: #fff;
}



body.produkt-aluminium {
  /*background-color: #fff !important;*/
  color: #000;
  margin: 0;
  padding: 0;
}

body.produkt-aluminium main {
  background-color: #fff;
}


body.produkt-rahmenlos {
  /*background-color: #fff !important;*/
  color: #000;
  margin: 0;
  padding: 0;
}

body.produkt-rahmenlos main {
    background-color:#fff;
}


/* ==========================
   Hero-Bereich
   ========================== */

/* Gemeinsames Layout für alle Produkt-Hero-Bereiche */
.produkt-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 750px;
  display: flex;
  align-items: flex-end;
  border-bottom: 10px solid #fff;
}

.service-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/bilder/hero/blau_400.webp');
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  border-bottom: 10px solid #fff;
}


.hero-text-only {
  background-color: #577492;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  border-bottom: 10px solid #fff;
}


/* Produktabhängige Hintergrundbilder */
.hero-echtholzfurnier {background-image: url('/bilder/hero/echtholzfurnier2-hero.webp');}
.hero-akustikbilder {background-image: url('/bilder/hero/akustikbilder-hero.webp');}
.hero-leuchtbilder {background-image: url('/bilder/hero/leuchtbilder-hero.webp');}
.hero-leuchtbild {background-image: url('/bilder/hero/leuchtbild-hero.webp');}
.hero-leuchtbild-alu {background-image: url('/bilder/hero/leuchtbild-alu-hero.webp');}
.hero-leuchtbild-holz {background-image: url('/bilder/hero/leuchtbild-holz-hero.webp');}
.hero-leuchtbild-farbe {background-image: url('/bilder/hero/leuchtbild-farbe-hero.webp');}
.hero-farbrahmen {background-image: url('/bilder/hero/farbrahmen-hero.webp');}
.hero-hexagon {background-image: url('/bilder/hero/hexagon-hero.webp');}
.hero-rund {background-image: url('/bilder/hero/rund-hero.webp');}
.hero-runde-ecken {background-image: url('/bilder/hero/runde-ecke.webp');}
.hero-aluminium{background-image: url('/bilder/hero/alu-hero.webp');}
.hero-rahmenlos{background-image: url('/bilder/hero/rahmenlos-hero.webp');}
.hero-wandfuellend{background-image: url('/bilder/hero/wandfuellend-hero.webp');}
.hero-klassisch{background-image: url('/bilder/hero/klassisch-hero.webp');}
.hero-ueberuns{background-image: url('/bilder/hero/birkenweg-hero.webp');}
.hero-akustikpaneele {background-image: url('/bilder/hero/akustikpaneele-hero.webp');}
.hero-akustikpinnwand {background-image: url('/bilder/hero/akustikpinnwand-hero.webp');}
.hero-malgrund {background-image: url('/bilder/hero/malgrund-hero.webp');}
.hero-deckensegel{background-image: url('/bilder/hero/deckensegel-hero.webp');}
.hero-akustikrahmen{background-image: url('/bilder/hero/akustikrahmen-hero.webp');}
.hero-akustikleuchte{background-image: url('/bilder/hero/akustikleuchte-hero.webp');}
.hero-hinterleuchtung{background-image: url('/bilder/hero/hinterleuchtung-hero.webp');}
.hero-projektion{background-image: url('/bilder/hero/projektion3-hero.webp');}
.hero-akustikleuchtbild {background-image: url('/bilder/hero/akustik-leuchtbild-hero.webp');}

.service-hero .hero-wrapper,
.produkt-hero .hero-wrapper {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  top: -50px;
}

.hero-produkt-inner {
  text-align: left;
}
.service-hero h1{
  font-weight: bold;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
 border-bottom: 0px solid;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.service-hero p{
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
 border-bottom: 0px solid;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.hero-projektion h1,
.hero-hinterleuchtung h1,
.hero-akustikleuchte h1,
.hero-text-only h1,
.hero-akustikrahmen h1,
.hero-akustikpinnwand h1,
.hero-akustikpaneele h1,
.hero-ueberuns h1,
.hero-leuchtbilder h1,
.hero-wandfuellend h1,
.hero-runde-ecken h1,
.hero-echtholzfurnier h1 {
  font-weight: bold;
  font-size: 3.0rem;
  margin-bottom: 1rem;
  color: #ffffff;
 border-bottom: 0px solid;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}


.hero-malgrund h1,
.hero-deckensegel h1,
.hero-farbrahmen h1,
.hero-aluminium h1,
.hero-klassisch h1,
.hero-rund h1,
.hero-hexagon h1 {
  font-size: 3.0rem;
  margin-bottom: 1rem;
  color: #a20002;
  font-weight: bold;
 border-bottom: 0px solid;
 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-akustikbilder h1,
.hero-rahmenlos h1 {
  font-weight: bold;
  font-size: 3.0rem;
  margin-bottom: 1rem;
  color: #ffffff;
 border-bottom: 0px solid;
 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.echtholzfurnier-sub {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #d6c3a3;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.rund-sub,
.farbrahmen-sub,
.alurahmen-sub,
.hexagon-sub {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #577492;
 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.leuchtbilder-sub,
.akustikbilder-sub,
.wandfuellend-sub,
.runde-ecken-sub,
.rahmenlos-sub {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #fff;
 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


.hero-produkt-text {
  background: rgba(0, 0, 0, 0.5); /* optional für Lesbarkeit */
  width: 100%;
  padding: 0rem 0rem;
  border: solid #ffffff;
  border-width: 2px 0px 2px 0px;
margin-bottom: 2rem;
}

.hero-produkt-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  text-align: left;
}
.hero-produkt-text p {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: left;
   color: #fff;
}

.hero-produkt-text-innen {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
  position: relative}

@media (max-width: 768px) {
.hero-produkt-text-innen {
  width: 100%;
  margin: 0 auto;
  padding: 0px 10px 10px 20px;
  position: relative}

.hero-produkt-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  text-align: left;
}
.hero-produkt-text p {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
   color: #fff;
}

}

/*=============
farbverlauf für leuchtbilder
===============*/
.hero-leuchtbild-alu .glow-from-motif,
.hero-leuchtbild-farbe .glow-from-motif,
.hero-leuchtbild-holz .glow-from-motif,
.hero-leuchtbild .glow-from-motif {
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 1px;
  color: transparent;

  background: linear-gradient(
    90deg,
    var(--glow-c1),
    var(--glow-c2),
    var(--glow-c3)
  );
  -webkit-background-clip: text;
  background-clip: text;

  text-shadow:
    0 0 2px rgba(255,255,255,.35),
    0 0 14px rgba(255,255,255,.15);
}




.zitat{
/*background-color: #a20002!important;*/

body.projektseite {
  background: linear-gradient(to bottom, #577593 0px, #577593 80px, #ffffff 121px);
}

.hero-projekt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

}
.hero-projekt-background {
  position: relative;
  background-image: url('../bilder/hero/neufeldpraxis.webp');
  background-size: cover;
  background-position: center;
  height: 700px;
  display: flex;
  align-items: flex-end; /* statt center */
  justify-content: left;
  color: white;
  text-align: center;
  padding-bottom: 30px; /* Abstand zum unteren Rand */
}

.hero-projekt-text {
  background: rgba(0, 0, 0, 0.5); /* optional für Lesbarkeit */
  padding: 1rem 2rem;
  border: solid #ffffff;
  border-width: 2px 2px 2px 0px;
  border-radius: 0px 12px 12px 0px;
}

.hero-projekt-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* ===============================
   Hero-Hintergründe Befestigungen
   =============================== */

/* Standard: große Version */
.anwendung-befestigung  { background-image: url('../../bilder/hero/montagevarianten.webp'); }
.anwendung-decke         { background-image: url('../../bilder/hero/montagevarianten-decke.webp'); }
.anwendung-wand    { background-image: url('../../bilder/hero/montagevarianten-wand.webp'); }
.anwendung-stand    { background-image: url('../../bilder/hero/montagevarianten-stand.webp'); }

.anwendung-befestigung-licht  { background-image: url('../../bilder/hero/montagevarianten-licht.webp'); }
.anwendung-decke-licht         { background-image: url('../../bilder/hero/montagevarianten-decke-licht.webp'); }
.anwendung-wand-licht    { background-image: url('../../bilder/hero/montagevarianten-wand-licht.webp'); }
.anwendung-stand-licht    { background-image: url('../../bilder/hero/montagevarianten-stand-licht.webp'); }

/* Mittelgroße Version (max 768px) */
@media (max-width: 768px) {
  .anwendung-befestigung  { background-image: url('../../bilder/hero/montagevarianten_768.webp'); }
  .anwendung-decke        { background-image: url('../../bilder/hero/montagevarianten-decke_768.webp'); }
  .anwendung-wand   { background-image: url('../../bilder/hero/montagevarianten-wand_768.webp'); }
  .anwendung-stand    { background-image: url('../../bilder/hero/montagevarianten-stand_768.webp'); }

  .anwendung-befestigung-licht  { background-image: url('../../bilder/hero/montagevarianten-licht_768.webp'); }
  .anwendung-decke        { background-image: url('../../bilder/hero/montagevarianten-decke-licht_768.webp'); }
  .anwendung-wand   { background-image: url('../../bilder/hero/montagevarianten-wand-licht_768.webp'); }
  .anwendung-stand    { background-image: url('../../bilder/hero/montagevarianten-stand-licht_768.webp'); }

  .hero-projekt-text h1 {
    font-size: 1.5rem;
  }
  .hero-projekt-text h2 {
    font-size: 1.2rem;
  }
.hero-projekt-text {
width:100%;
  border-width: 2px 0px 2px 0px;
  border-radius: 0px 0px 0px 0px;
}
.service-hero,
.produkt-hero,
.hero-projekt-background {
  background-position: top;
}
}

/* Mittelgroße Version (max 450px) */
@media (max-width: 450px) {
  .anwendung-befestigung  { background-image: url('../../bilder/hero/montagevarianten_450.webp'); }
  .anwendung-decke        { background-image: url('../../bilder/hero/montagevarianten-decke_450.webp'); }
  .anwendung-wand    { background-image: url('../../bilder/hero/montagevarianten-wand_450.webp'); }
  .anwendung-stand    { background-image: url('../../bilder/hero/montagevarianten-stand_450.webp'); }
  .anwendung-befestigung-licht  { background-image: url('../../bilder/hero/montagevarianten-licht_450.webp'); }
  .anwendung-decke-licht        { background-image: url('../../bilder/hero/montagevarianten-decke-licht_450.webp'); }
  .anwendung-wand-licht    { background-image: url('../../bilder/hero/montagevarianten-wand-licht_450.webp'); }
  .anwendung-stand-licht    { background-image: url('../../bilder/hero/montagevarianten-stand-licht_450.webp'); }

}



/* ==========================
   Hauptbereich
   ========================== */
main {
  margin-top: -140px;
  position: relative;
  z-index: 1;
}

.argumente-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
 overflow: visible;
}



/* Gemeinsame h2-Stile*/
.argumente-wrapper h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 180%;
  font-weight: 600;
  color: #577492;
  border-bottom: 2px solid #a20002;
  text-align: left;
width: calc(100% - 0px);
} 

/* Gemeinsame p-Stile */
.argumente-wrapper p {
  font-size: 1.0rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Dunkles Farbschema (z. B. Echtholzfurnier) */
.farbschema-dunkel h2 {
  color: #577492;
border-bottom: 2px solid #a20002; 
}
.farbschema-dunkel p {
  color: #222;
}

/* Helles Farbschema (z. B. Farbrahmen) */
.farbschema-hell h2 {
  color: #577492;
border-bottom: 2px solid #a20002; 
}
.farbschema-hell p {
  color: #222;
}

/* Dunkles Farbschema (z. B. rahmenlos) */
.farbschema-mittel h2 {
  color: #577492;
border-bottom: 2px solid #a20002; 
}
.farbschema-mittel p {
  color: #222;
}

.formular-wrapper{
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
   background-color: #f5f5f5;
 border: 2px solid #ccc;
margin-bottom: 60px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
}

.formular-wrapper h2 {
  font-size: 2.2 rem;
  margin-top: 0rem;
  padding: 1rem;
  color: #a20002;
text-align:center;
border-top:  0px solid #a20002;
 border-bottom: 2px solid #a20002;
}


@media (max-width: 1199px){

.hero-produkt-inner {
  margin-left: 20px;
}
.formular-wrapper{
  width: 100%;
padding: 0px;
  background-color: #f5f5f5;
 border: 2px solid #f5f5f5;
 border-top: 2px solid #ccc;
 border-bottom: 2px solid #ccc;
margin-bottom: 60px;
} 
}


/* ===========
zweispaltig
========== */
.angebot-grid {
  display: grid;
  grid-template-columns: 7fr 4.4fr;
  gap: 40px;
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
}

.angebot-grid2 {
  display: grid;
grid-template-columns: 7fr 4.4fr;
gap: 40px;
  margin-top: 0px;
}

.angebot-grid3 {
  display: grid;
  grid-template-columns: 4.4fr 7fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
 overflow: visible;
}

.angebot-grid3  h3,
.angebot-grid2  h3,
.angebot-grid  h3{
  font-size: 1.2rem;
margin-bottom: 20px;
 border-bottom: 2px solid #577492;
}

.angebot-grid3 .spalte,
.angebot-grid2 .spalte,
.angebot-grid .spalte {
  padding: 0px;
 overflow: visible;
}

.spalte.rechts {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
align-items: flex-end; 
  height: 100%; /* oder feste Höhe, z. B. 400px */
}

.spalte.links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
align-items: flex-start; 

  height: 100%; /* oder feste Höhe, z. B. 400px */
}

.picto-links {
margin-top: 30px;
max-width: 300px;
width:100%;
}


.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  transition: opacity 0.3s ease;
border: none;
}

.icon.hover {
  opacity: 0;
}

.icon-wrapper:hover .hover {
  opacity: 1;
 transform: scale(1.08); /* leichte Vergrößerung */
}

.icon-wrapper:hover .default {
  opacity: 0;
}

.label {
  font-size: 16px;
  line-height: 1.4;
}

.angebot-grid ul, 
.angebot-grid3 ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}


.angebot-grid ul li,
.angebot-grid3 ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.6;
}


.angebot-grid ul li::before,
.angebot-grid3 ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: #a20002;
  font-weight: bold;
}

@media (max-width: 1199px) {

.argumente-wrapper {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.angebot-grid3,
.angebot-grid2,
.angebot-grid {
  gap: 30px;
}


  .spalte {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .angebot-grid,
  .angebot-grid2,
  .angebot-grid3 {
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;

  }

  .spalte {
    padding: 0 10px;
  }

.argumente-wrapper {
  width: 100%;
  padding: 0 0px;
  box-sizing: border-box;
}


.picto-links {
    order: 2; /* Infobox kommt nach dem Text */
   width: 100%;
  }

  .spalte.text {
    order: 1;
  }
}

/* ==========================
   Hörvergleichsbox
========================== */

.hoervergleich-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  margin-bottom: 40px;
  margin-right: 10px;
  font-family: sans-serif;
  border: 1px solid #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  width: 350px;
}

.hoervergleich-box h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color:  #a20002;
  border-bottom: 2px solid #a20002;
}


.hoervergleich-box p {
  margin-top: 0;
  font-size: 1.0rem;
  color:  #666;
}


.hoervergleich-box audio {
  margin: 20px 0;
  width: 100%;
}

details summary {
  cursor: pointer;
  font-weight: bold;
  margin-top: 0px;
  color:  #a20002;
}

details[open] summary {
  color: #a20002;
}

.icon-soundwave {
  margin-right: 6px;
}


.hoervergleich-details {
  margin-top: 0px;
  border-top: 1px solid #ccc;
  padding-top: 0px;
  font-family: sans-serif;
}

.hoervergleich-details summary {
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.hoervergleich-details summary:hover {
  color: #a20002;
}

.chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #a20002;
  border-bottom: 2px solid #a20002;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: 2px;
}

.hoervergleich-details[open] .chevron {
  transform: rotate(135deg);
}

.hoervergleich-text {
  margin-top: 10px;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }

}

/* ==========================
   Bilder
========================== */


.bildvergleich-grid {
  display: grid;
  grid-template-columns: 4.2fr 7.4fr;
    gap: 40px;
margin-bottom: 3rem;
}
.bildvergleich-grid2 {
  display: grid;
  grid-template-columns: 7.4fr 4.2fr;
    gap: 40px;
margin-bottom: 3rem;
}

.bild-block {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border: 1px solid #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.bild-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  font-size: 0.95em;
  font-family: sans-serif;
  line-height: 1.4;
  max-width: 90%;
  border: 1px solid #fff;
  opacity: 1; /* oder 0 für Hover-Effekt */
  transition: opacity 0.3s ease;
  z-index: 3; /* über den Bildern */
}

.bild-block:hover .overlay-text {
  opacity: 1;
}

.leuchtbild-container {
  position: relative;       /* Bezugspunkt für die absolut positionierten Bilder */
  display: inline-block;    /* verhält sich wie ein <img> im Textfluss */
  vertical-align: middle;   /* sorgt für sauberen Zeilenfluss */
  max-width: 100%;          /* passt sich an den Textfluss an */
  border: 1px solid #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.leuchtbild-container img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;       /* übereinander stapeln */
  top: 0;
  left: 0;
  transition: opacity 0.8s ease;
}
.leuchtbild {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.leuchtbild.off {
  position: relative; /* bleibt im Fluss, Container bekommt Höhe */
  z-index: 1;
}

.leuchtbild.on {
  position: absolute; /* liegt darüber */
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
}
.leuchtbild-container:hover .leuchtbild.on {
  opacity: 1;
}
.leuchtbild-container:hover .leuchtbild.off {
  opacity: 0;
}

.leuchtbild-container:hover .leuchtbild.on {
  opacity: 1;
}

.leuchtbild-container:hover .leuchtbild.off {
  opacity: 0;
}

.leuchtbild-container:hover .overlay-text {
  opacity: 1;
}


.bild-block-weis {
  position: relative;
  width: 100%;
}
@media (max-width: 1199px) {

.bildvergleich-grid2,
.bildvergleich-grid {
    gap: 30px;
}
}

@media (max-width: 768px) {
.bildvergleich-grid2,
  .bildvergleich-grid {
    grid-template-columns: 1fr;
  }
}




/* ==========================
   Angebotsformular
========================== */
#angebotsformular {
  color: #000;
 overflow: visible;
}

/* ==========================
   Modul-Grid: Dreiteilung
========================== */
.modul-grid {
  display: grid;
  grid-template-columns: 7.4fr 4.1fr;
  gap: 30px;
  align-items: stretch; /* wichtig! */
  max-width: 1200px;
  width:99%;
margin-right: 10px;
margin-left: 5px;
  padding: 0.5rem 0.9rem;
  align-items: stretch;
 /* min-height: 100%;*/ /* oder z. B. 600px, je nach Layout */
}

.modul-eingabe,
.modul-vorschau,
.modul-links,
.modul-mitte,
.modul-rechts {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem 2rem 2rem 2rem;
  border: 1px solid #ddd;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.modul-eingabe,
.modul-mitte {
  display: flex;
  flex-direction: column;
padding-bottom: 0rem;
  height: 100%; /* wichtig! */
}


.modul-grid .modul-vorschau,
.modul-grid .modul-eingabe {
  min-width: 0; /* wichtig: verhindert, dass Inhalt die Spalte "aufdrückt" */
}



.mitte-inhalt-wrapper {
  flex: 1 1 auto;
padding-bottom: 1.5rem;

}

.modul-links {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}

.modul-vorschau,
.modul-rechts {
  display: flex;
  flex-direction: column;
  height: auto; /* wichtig! */
}

.modul-eingabe h3,
.modul-vorschau h3,
.modul-mitte h3,
.modul-rechts h3{
  font-size: 1.2rem;
margin-bottom: 20px;
 border-bottom: 2px solid #577492;
}


.text-unten {
  position: absolute;
  bottom: 150px;
  left: 100px;
  font-size: 1.1rem;
  color: #fff;
  font-family: sans-serif;
  font-weight: 500;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}


.farbwahl-toggle .chevron {
  display:inline-block;
  width:8px;
  height:8px;
  border-right:2px solid #333;
  border-bottom:2px solid #333;
  transform:rotate(45deg);
  transition:transform .3s ease;
  margin-top:0px;
margin-right:10px;
}

/* beim Öffnen (Button aktiv) */
.farbwahl-toggle.open .chevron {
  transform:rotate(225deg); /* Pfeil zeigt nach oben */
}

/* Vorschau-Box im Furnier-Look */
.vorschau-wrapper-bg {
  position:relative;
  flex:1;                      /* füllt die Spaltenhöhe */
  border-radius:6px;
  border:2px solid transparent;
  overflow:hidden;
  background-size:cover;       /* Bild darf beschnitten werden */
  background-position:center;
  background-repeat:no-repeat;
  background-color:#eaeaea;    /* Fallback */
}
.vorschau-wrapper-bg.selected { border-color:#a20002; }

/* Overlay */


/* Preview-Zustände: BITTE ALLE absolut referenzieren */
#rahmen-vorschau.preview--empty     { background-image:none; }
#rahmen-vorschau.preview--aluminium { background-image:url("/bilder/rahmen/preview-aluminium.webp"); }
#rahmen-vorschau.preview--furnier   { background-image:url("/bilder/rahmen/preview-furnier.webp"); }
#rahmen-vorschau.preview--farbrahmen{ background-image:url("/bilder/rahmen/preview-farbrahmen.webp"); }
#rahmen-vorschau.preview--rahmenlos { background-image:url("/bilder/rahmen/preview-rahmenlos.webp"); }
#rahmen-vorschau.preview--aluminium.preview--standrahmen { background-image:url("/bilder/rahmen/preview-standrahmen.webp"); }

#rahmen-vorschau .overlay-name{
  position:absolute;
  right:20px;
  top:20px;
  /* transform:translate(-50%, -50%);
  nur Text-Hintergrund, keine Vollfläche */
  background: rgba(0,0,0,.55);
  color:#fff;
  padding: 12px 16px;
  border-radius: 4px;
  max-width: 80%;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

#rahmen-vorschau .overlay-name p{
  margin:0;
  line-height:1.5;
}
/* ==========================
   Formularzeilen
========================== */
.formular-zeile {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}



.formular-zeile label {
  text-align: right;
  font-weight: normal;
  color: #666;
}

.pflichtfeld label {
  color: #000;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

select#befestigung,
select#hex-eingabeart,
select#lichtleistung,
select#stromversorgung,
select#lichtsteuerung,
select#kreis-eingabeart  {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#absorber-select,
select#rahmen-select,

select#furnier-select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
margin-bottom: 30px;
  width: 340px;
}

/* ==========================
   Radiogruppen & Auswahl
========================== */
.radio-auswahl {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
margin-bottom: 20px;
}

.radio-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.radio-label {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

.radio-header input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
}

.radio-subblock {
  margin-top: 20px;
}

.radio-subblock label {
  display: block;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

input[name="motivtyp"]:checked + .radio-label,
input[name="absorber"]:checked + .radio-label {
  color: #a20002;
  font-weight: bold;
}

/* ==========================
   Vorschau: Größe & Motiv
========================== */
.vorschau-zeile {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0px;
  align-items: start;
}

.vorschau-info p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #333;
}

.rechteck-vorschau-wrapper {
  display: flex;
  justify-content: left;
  align-items: flex-start;
}

.rechteck-vorschau {
  background: #eee;
  transition: all 0.3s ease;
  max-width: 320px;
  max-height: 320px;
  border: 2px solid #a20002;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.rechteck-rund-vorschau {
  background: #eee;
  transition: all 0.3s ease;
  max-width: 260px;
  max-height: 260px;
 border-radius: 10px;
  border: 2px solid #a20002;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.hexagon-vorschau-wrapper img {
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.6));
}

.vorschau-toggle button {padding: 5px 20px;
  background:#ddd;
  color:#666;
}

.vorschau-toggle button.active {
  background:#333;
  color:#fff;
}

/* ==========================
   Rahmenwahl
========================== */

.rahmenwahl-streifen {
  display: flex;
  gap: 2rem;
  padding: 0.5rem 1rem;
  overflow-x: auto;
  background: #fff;
  margin-bottom: 12px;
  box-sizing: border-box;
  max-width: 100%;
  --anzahl: 4; /* Fallback */
}

.rahmenwahl-streifen[data-rahmenanzahl="4"] {
  --anzahl: 4;
}
.rahmenwahl-streifen[data-rahmenanzahl="3"] {
  --anzahl: 3;
}

.rahmenwahl-streifen button {
  flex: 0 0 auto;
  width: calc((100% - (2rem * (var(--anzahl) - 1))) / var(--anzahl));
  height: 80px;
  position: relative;
  border: none;
  cursor: pointer;
  border-radius: 0px;
  background-image: var(--bild);
  background-size: cover;
  background-position: center;
  padding-left: 12px;
  color: #fff;
  text-align: left;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 4px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
  border: 1px solid #ddd;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.rahmenwahl-streifen button:hover {
  transform: scale(1.03);
  border: 2px solid #a20002;
}

.rahmenwahl-streifen button.aktiv {
  outline: 2px solid #000;
}

/* Optional: Responsive Anpassung bei kleinen Bildschirmen */
@media (max-width: 768px) {
  .rahmenwahl-streifen {
    flex-wrap: wrap;
    justify-content: center;
  }

  .rahmenwahl-streifen button {
    width: 100%;
    max-width: 320px;
    margin-bottom: 1rem;
  }
}




/* ==========================
   absorber
========================== */

/*#absorberChart {
  width: 100%;
  height: 100%;
  min-height: 350px;
  /*aspect-ratio: 1 / 1;  quadratisch, passt sich an Breite an */
  display: block;
  box-sizing: border-box;
}

.absorber-info-text {
 justify-content: flex-end;
border: 1px solid #ccc;
padding: 10px;
}*/

/* Grundlayout für den Info-Text */
.absorber-info-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.75rem;
  color: #333;
  text-align: left;
  max-width: 40rem;   /* begrenzt die Zeilenlänge auf Desktop */
}

/* Mobile-Anpassung */
@media (max-width: 500px) {
  .absorber-info-text {
    font-size: 0.9rem;      /* etwas kleiner */
    line-height: 1.4;       /* kompakter, aber noch luftig */
    text-align: center;     /* mittig für bessere Lesbarkeit */
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
  }
}

/* Sehr kleine Screens (z. B. 320px) */
@media (max-width: 360px) {
  .absorber-info-text {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}


.chart-wrap{
  position: relative;
  width: 100%;
  height: clamp(220px, 40vw, 360px);
}
.chart-wrap canvas{
  display:block;
  width:100% !important;
  height:100% !important;
}

/* ==========================
   Furnierauswahl
========================== */
.furnier-standard-grid,
.furnier-vorschau-klein {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 20px;
  justify-content: start;
  margin-bottom: 20px;
}

.furnier-thumb,
.furnier-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 1px solid #333;
  border-radius: 6px;
  cursor: pointer;
  transition: border 0.2s ease;
}

.furnier-item img:hover{
  border: 1px solid #a20002;
  border-radius: 50%;
}

.furnier-thumb.selected,
.furnier-item img.selected {
  border-radius: 50%;
  transform: scale(1.1);
  border: 2px solid #a20002;
}

.vorschau-wrapper {
  position: relative;
  width: 100%;
height:auto;
  /* keine aspect-ratio hier! Höhe kommt dynamisch per JS */
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: height .25s ease; /* sanftes Nachziehen */
}
.vorschau-wrapper.selected { border-color: #a20002; }

.vorschau-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;      /* Beschnitt erlaubt */
  object-position: center;/* Fokus mittig */
}
#furnier-select {
  margin-bottom: 10px;
}

.overlay-name {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1rem;
  padding: 8px 16px;
  border: 1px solid #fff;
}

.exklusiv-auswahl-name {
  font-weight: normal;
  color: #333;
  font-size: 0.9rem;
  margin-top: 6px;
}

.furnier-eingabegruppe{
margin: 10px 0 20px 0;
border-top: 1px solid #666;
padding: 10px 0 20px 0;
}


/* ==========================
   Motivblock
========================== */
.motiv-info-block {
  margin-top: 10px;
}

.motiv-info-img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ==========================
   Zusammenfassung & Kontakt
========================== */
.modul-abschluss .zusammenfassung-liste {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.zusammenfassung-liste li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

.checkbox-label {
  display: block;
  font-size: 0.95rem;
  color: #333;
  text-align: left;
}

.adresse-unterzeile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
 margin-bottom: 15px;
}

#strasse {
margin-bottom: 15px;
}

/* ==========================
   Buttons
========================== */
.formular-buttons {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.formular-buttons button,
button[type="submit"],
button[type="reset"] {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 0px;
  cursor: pointer;
}

button[type="submit"] {
  background-color: #a20002;
  color: #fff;
}

button[type="submit"]:hover {
  background-color: #fff;
  color: #a20002;
}


button[type="reset"] {
  background-color: #ccc;
  color: #333;

}

button[type="reset"]:hover {
  background-color: #333;
  color: #ccc;
}


.ziamonika-weiter-button {
  background-color: #fff;
  color: #333;
  width: 100%;
  padding: 0.6rem 1.2rem;
 border: none;
 border-top: 1px solid #333;
  cursor: pointer;
  margin-top: auto;
  font-size: 1rem;
}
.ziamonika-weiter-button:hover {
  color: #a20002;
}


/*=========================
Ziamonika
=========================*/

.ziamonika-progress-wrapper {
  margin-bottom: 1rem;
  padding-top: 0rem;
  background: rgba(234, 244, 254, 0.9);
  border-bottom: 2px solid #a20002;

}

/* Grundstruktur */
.ziamonika-schritt {
  margin-bottom: 1rem;
}

.ziamonika-header {
  display: flex;
  justify-content: space-between;
 /* align-items: center;
  flex-wrap: wrap;
  gap: 0rem;
  margin-bottom: 0rem;*/
  border-bottom: 0px solid #a20002;
}

/* Toggle-Button (optional sichtbar) */
.ziamonika-toggle {
  display: none; /* wird bei Bedarf per Produkt-CSS aktiviert */
  width: 100%;
  text-align: left;
  font-size: 1.2rem;
  padding: 0.8rem;
  border: none;
  border-bottom: 1px solid #a20002;
  cursor: pointer;
}

/* Inhalt sichtbar nur bei aktivem Schritt */
.ziamonika-inhalt {
  display: none;
  padding: 0.0rem 0;


}
.ziamonika-inhalt {
  transition: max-height 0.3s ease;
  overflow: hidden;

}


.ziamonika-schritt.active .ziamonika-inhalt {
  display: block;
}

/* Fortschrittsanzeige inline */
.ziamonika-progress-inline {
  display: flex;
  justify-content: flex-start;
  /*justify-content: space-between;*/
  flex-wrap: wrap;
  gap: 0.0rem;
  list-style: none;
  background: rgba(234, 244, 254, 0.9);
  padding: 0;
  margin: 0;


}

/* Standard-Stil für alle Schritte */
.ziamonika-progress-inline li {
  padding: 0.6rem 0.9rem;
  background: rgba(234, 244, 254, 0.9);
  border-radius: 0px;
  cursor: pointer;
  font-size: 1.0rem;
  white-space: nowrap;
  color: #666;
  font-weight: normal;
margin-bottom: 0px;
}
.ziamonika-progress-inline li:hover {
  color:  #a20002;
}


/* Aktiver Schritt: roter Hintergrund */
.ziamonika-progress-inline li.active {
  background: #a20002;
  color: #fff;
  font-weight: bold;
  border: 0px solid #ffffff;
}

/* Gewählter Schritt (nicht geöffnet): rote Schrift */
.ziamonika-progress-inline li.focused {
  background: rgba(234, 244, 254, 0.9);
  color: #a20002;
  font-weight: bold;

}

/* Komplett-Link ganz rechts */
.ziamonika-progress-inline .komplett-link {
  margin-left: auto;
  font-weight: 500;
color:#666;
}
.komplett-link:hover {
color:#a20002;
}
.progress-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.progress-rechts {
  margin-left: auto;
}

.komplett-link {
  background: #fff;
  font-weight: 500;
  text-align: right;
}

@media (max-width: 1199px) {



.modul-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr;
  gap: 20px;
  align-items: stretch; /* wichtig! */
  width: 99%;
}

.hero-button{
margin-left: 20px;}

}



@media (max-width: 768px) {

.produkt-hero {
  min-height: 600px;
margin-top:120px;
}
.service-hero {
  min-height: 400px;
margin-top:120px;
}


.hero-text-only {
  min-height: 400px;
}


.hero-echtholzfurnier {background-image: url('/bilder/hero/echtholzfurnier2-hero_768.webp');}
.hero-akustikbilder {background-image: url('/bilder/hero/akustikbilder-hero_768.webp');}
.hero-leuchtbilder {background-image: url('/bilder/hero/leuchtbilder-hero_768.webp');}
.hero-leuchtbild {background-image: url('/bilder/hero/leuchtbild-hero_768.webp');}
.hero-leuchtbild-alu {background-image: url('/bilder/hero/leuchtbild-alu-hero_768.webp');}
.hero-leuchtbild-holz {background-image: url('/bilder/hero/leuchtbild-holz-hero_768.webp');}
.hero-leuchtbild-farbe {background-image: url('/bilder/hero/leuchtbild-farbe-hero_768.webp');}
.hero-farbrahmen {background-image: url('/bilder/hero/farbrahmen-hero_768.webp');}
.hero-hexagon {background-image: url('/bilder/hero/hexagon-hero_768.webp');}
.hero-rund {background-image: url('/bilder/hero/rund-hero_768.webp');}
.hero-runde-ecken {background-image: url('/bilder/hero/runde-ecke_768.webp');}
.hero-aluminium{background-image: url('/bilder/hero/alu-hero_768.webp');}
.hero-rahmenlos{background-image: url('/bilder/hero/rahmenlos-hero_768.webp');}
.hero-wandfuellend{background-image: url('/bilder/hero/wandfuellend-hero_768.webp');}
.hero-klassisch{background-image: url('/bilder/hero/klassisch-hero_768.webp');}
.hero-ueberuns{background-image: url('/bilder/hero/birkenweg-hero_768.webp');}
.hero-akustikpaneele {background-image: url('/bilder/hero/akustikpaneele-hero_768.webp');}
.hero-akustikpinnwand {background-image: url('/bilder/hero/akustikpinnwand-hero_768.webp');}
.hero-malgrund {background-image: url('/bilder/hero/malgrund-hero_768.webp');}
.hero-deckensegel{background-image: url('/bilder/hero/deckensegel-hero_768.webp');}
.hero-akustikrahmen{background-image: url('/bilder/hero/akustikrahmen-hero_768.webp');}
.hero-akustikleuchte{background-image: url('/bilder/hero/akustikleuchte-hero_768.webp');}
.hero-hinterleuchtung{background-image: url('/bilder/hero/hinterleuchtung-hero_768.webp');}
.hero-projektion{background-image: url('/bilder/hero/projektion3-hero_768.webp');}
.hero-akustikleuchtbild {background-image: url('/bilder/hero/akustik-leuchtbild-hero_768.webp');}


.hero-produkt-inner {
  margin-left: 0px;
}

.service-hero .hero-wrapper,
.produkt-hero .hero-wrapper {
  width: 100%;
  padding: 20px;
  position: relative;
  top: 20px;
}
.hero-button{
padding: 10px 20px;
margin-left: 0px;
margin-bottom: 20px;}


.hero-akustikbilder h1,
.hero-leuchtbilder h1,
.hero-farbrahmen h1,
.hero-aluminium h1,
.hero-klassisch h1,
.hero-rund h1,
.hero-hexagon h1 ,
.hero-wandfuellend h1,
.hero-runde-ecken h1,
.hero-rahmenlos h1,
.hero-echtholzfurnier h1 {
 font-size: 2.2rem;
 margin-bottom: 0.5rem;
 border-bottom: 0px solid;
 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.leuchtbilder-sub,
.echtholzfurnier-sub,
.rund-sub,
.farbrahmen-sub,
.alurahmen-sub,
.hexagon-sub,
.akustikbilder-sub,
.wandfuellend-sub,
.runde-ecken-sub,
.rahmenlos-sub {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}


.service-hero h1{
  font-weight: bold;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
 border-bottom: 0px solid;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.service-hero p{
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
 border-bottom: 0px solid;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}


.hoervergleich-box {
  width: 100%;
}

  /* Grundlayout */
  .modul-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    margin: 20px auto;
  }



  .modul-links {
    height: 150px;
    padding: 0.5rem;
    background-size: cover;
    background-position: center;
    width: 100%;
    box-sizing: border-box;
  }

  .modul-mitte,
  .modul-rechts {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .modul-vorschau,
  .modul-eingabe {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }

 .modul-vorschau {
    order: 2; /* Infobox kommt nach dem Text */
  }

  .modul-eingabe {
    order: 1;
  }
.handy-aus,
.ziamonika-weiter-button{
display: none;}

}


@media (max-width: 768px) {

  /* Formularzeilen: Label über Input */
  .formular-zeile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .formular-zeile label {
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
  }

  .formular-zeile input,
  .formular-zeile textarea,
  .adresse-block input,
  .adresse-unterzeile input,
  .plz-ort-gruppe input {
    width: 100%;
    box-sizing: border-box;
  }

  .adresse-unterzeile,
  .plz-ort-gruppe {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Vorschau-Wrapper begrenzen */
  .vorschau-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 0;
  }

  #furnier-vorschau-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* Fortschrittsanzeige ausblenden */
  .ziamonika-progress-inline {
    display: none;
  }

  /* Toggle-Buttons wieder anzeigen */
  .ziamonika-toggle {
    display: block;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: rgba(234, 244, 254, 0.9);
    border: 1px solid #ccc;
    margin-bottom: 0.5rem;
    cursor: pointer;
  }

  /* Body fix gegen horizontales Scrollen */
  body {
    overflow-x: hidden;
  }


@media (max-width: 600px) {

.vorschau-zeile {
   display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
    margin: 20px auto;
}
  .adresse-unterzeile {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 450px) {

.hero-echtholzfurnier {background-image: url('/bilder/cta/echtholzfurnier_350x450.webp');}
.hero-aluminium{background-image: url('/bilder/cta/alurahmen_350x450.webp');}
.hero-akustikbilder {background-image: url('/bilder/cta/akustikbild_350x450.webp');}
.hero-leuchtbilder {background-image: url('/bilder/cta/leuchtbild_350x450.webp');}
.hero-farbrahmen {background-image: url('/bilder/cta/farbrahmen_350x450.webp');}
.hero-hexagon {background-image: url('/bilder/cta/hexagon_350x450.webp');}
.hero-rund {background-image: url('/bilder/cta/rund_350x450.webp');}
.hero-runde-ecken {background-image: url('/bilder/cta/abgerundete-ecke_350x450.webp');}
.hero-rahmenlos{background-image: url('/bilder/cta/rahmenlos_350x450.webp');}
.hero-wandfuellend{background-image: url('/bilder/cta/wandfuellend_350x450.webp');}
.hero-klassisch{background-image: url('/bilder/cta/klassisch_350x450.webp');}
.hero-akustikpaneele{background-image: url('/bilder/cta/akustikpaneele_350x450.webp');}
.hero-leuchtbilder {background-image: url('/bilder/cta/leuchtbild_350x450.webp');}
.hero-leuchtbild {background-image: url('/bilder/cta/leuchtbild_350x450.webp');}
.hero-leuchtbild-alu {background-image: url('/bilder/cta/leuchtbild-alu_350x450.webp');}
.hero-leuchtbild-holz {background-image: url('/bilder/cta/leuchtbild-holz_350x450.webp');}
.hero-leuchtbild-farbe {background-image: url('/bilder/cta/leuchtbild-farbe_350x450.webp');}
.hero-akustikpinnwand {background-image: url('/bilder/cta/pinnwand_350x450.webp');}
.hero-malgrund {background-image: url('/bilder/cta/malgrund_350x450.webp');}
.hero-deckensegel{background-image: url('/bilder/cta/deckensegel_350x450.webp');}
.hero-akustikrahmen{background-image: url('/bilder/cta/akustikrahmen_350x450.webp');}
.hero-akustikleuchte{background-image: url('/bilder/cta/akustikleuchte2_350x450.webp');}
.hero-hinterleuchtung{background-image: url('/bilder/cta/hinterleuchtung_350x450.webp');}
.hero-projektion{background-image: url('/bilder/cta/projektion_350x450.webp');}
.hero-akustikleuchtbild {background-image: url('/bilder/cta/akustikleuchtbild_350x450.webp');}



hero-leuchtbild-alu h1,
.hero-ueberuns h1,
.hero-akustikbilder h1,
.hero-leuchtbilder h1,
.hero-farbrahmen h1,
.hero-aluminium h1,
.hero-klassisch h1,
.hero-rund h1,
.hero-hexagon h1 ,
.hero-wandfuellend h1,
.hero-runde-ecken h1,
.hero-rahmenlos h1,
.hero-echtholzfurnier h1 {
 font-size: 1.6rem;
 margin-bottom: 0.5rem;
 border-bottom: 0px solid;
 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.leuchtbilder-sub,
.echtholzfurnier-sub,
.rund-sub,
.farbrahmen-sub,
.alurahmen-sub,
.hexagon-sub,
.akustikbilder-sub,
.wandfuellend-sub,
.runde-ecken-sub,
.rahmenlos-sub {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

}

/* ===========
Galerie-Zeilen
=========== */
.projekt-galerie {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
}

.galerie-zeile {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.galerie-item {
position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.galerie-item:hover {
  transform: scale(1.01);
border: 2px solid #a20002;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}
.projekt-galerie .galerie-einzelbild {
  display: flex;
  justify-content: flex-end;
}

.projekt-galerie .galerie-einzelbild .galerie-item {
  max-width: 700px;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .galerie-zeile {
    flex-direction: column;
  }

  .galerie-item {
    width: 100% !important;
    aspect-ratio: auto !important;
  }
  .galerie-item img {
    height: auto;
  }
}


.teaser-projekt {
  width: 580px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.teaser-projekt:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.teaser-image-top img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

.teaser-image-top:hover img{
  transform: scale(1.05);
  border: 1px solid #a20002;
  box-shadow: 0 0 0 2px #a20002;
}

.teaser-content {
  padding: 16px;
}

.teaser-title {
  margin: 0 0 12px;
  font-size: 1.2em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  display: block;
  width: 100%;
}

.teaser-content p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
}


/* ===========
bildhinweis-footer
========== */

.bildhinweis-footer {
  max-width: 1200px;
  margin: 3em auto 2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #555;
  text-align: right;
}


.zusammenfassung-liste li.only-email { display:none; }