@import url(index.css);
@import url(smt.css);
@import url(team.css);
@import url(leistungen.css);
@import url(ankauf.css);
@import url(kontakt.css);
@import url(wir.css);






/* Montserrat */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/montserrat-v31-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/montserrat-v31-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-v31-latin-700.woff2") format("woff2");
}

/* Orbitron */
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/orbitron-v35-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/orbitron-v35-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/orbitron-v35-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/orbitron-v35-latin-800.woff2") format("woff2");
}







html, body {
  overflow-x: hidden;
}


.header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; 
}



img, video {
  max-width: 100%;
  height: auto;
  display: block;
}





@media (max-width: 600px) {
  .hero-content {
    padding: 1.25rem 0;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    max-width: 16ch;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero-content p {
    font-size: 1rem;
  }
}



/* AGB PAGE  */


.legal-hero{

  background: #111;
  color: #fff;
  padding: 5.5rem 6vw 3rem;
}

.legal-page{
  background: #f5f5f5;
  padding: 3rem 6vw 5rem;
}

.legal-wrapper{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0px 1fr;
  gap: 2rem;
  align-items: start;
}



.toc-title {
    font-family: Orbitron;
    font-weight: 800;
    font-size: 1.5rem;
}

.legal-toc a {
    font-family: Montserrat;
    color: #555;
    text-decoration: none;
}



.legal-card h2 {
    font-family: Orbitron;
    font-weight: 800;
    font-size: 1.8rem;
}



.legal-card p {
    font-family: Montserrat;
    color: #555;
    font-weight: 500;
    line-height: 1.5;
}







/*Datenschutz*/

.links li {
  font-family: Montserrat;
  color: #555;
  line-height: 1.5;
  font-weight: 500;
  
}















.series-modal {
  border: 0;
  padding: 0;
  background: transparent;
}

.series-modal::backdrop{
  background: rgba(0,0,0,.6);
}

.series-modal-card{
  width: min(980px, calc(100vw - 4rem));
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  padding: 1.6rem;
  position: relative;
}

.series-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.series-modal-body{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.series-modal-media{
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
}

.series-modal-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

.series-modal-top h2{
  margin: .35rem 0 .6rem;
  font-family: Orbitron;
}

.series-modal-specs{
  margin-top: 1rem;
  border-radius: 14px;
  background: #f7f7f7;
  padding: 1rem;
}

.spec-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-family: Montserrat;
}

.spec-row:last-child{ border-bottom: 0; }

.spec-k{
  color: #444;
  font-weight: 600;
}

.spec-v{
  color: #111;
  font-weight: 600;
  text-align: right;
}

.series-modal-actions{
  display: flex;
  gap: .8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

@media (max-width: 900px){
  .series-modal-body{ grid-template-columns: 1fr; }
  .series-modal-media img{ min-height: 260px; }
  .spec-v{ text-align: left; }
}


.series-modal-top .badge {
  font-family: Orbitron;
  font-weight: 500;
}

.series-modal-top .muted {
  font-family: Montserrat;
}


.series-modal-actions {
  font-family: Montserrat;
}

.series-modal-actions a {
  color: #a81f22;
}

.tiny.muted {
  font-family: Montserrat;
  font-size: 0.7rem;
}









/* Responsive nav */


.main-nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: #a81f22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5vw;
}

.logo{
  color: #fff;
  text-decoration: none;
  font-family: Orbitron;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: .06em;
  white-space: nowrap;
}




/* Menü Wrapper */
.nav-menu{
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links{
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a{
  color: #fff;
  text-decoration: none;
  font-family: Orbitron;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

/* Hamburger Button */
.nav-toggle{
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.nav-toggle span{
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  border-radius: 2px;
}








/* mobile */


@media (max-width: 768px){

  .nav-toggle{
    display: block;
  }

  .nav-menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #a81f22;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 5vw;
    gap: 1rem;

    display: none;
  }

  .nav-menu.open{
    display: flex;
  }

  .nav-links{
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .lang-switch{
    margin-left: 0;
  }
}


















:root{
  --nav-h: 88px;   /* Desktop */
}

@media (max-width: 768px){
  :root{ --nav-h: 74px; }  /* Handy */
}


.main-nav{
  min-height: var(--nav-h);
}


.hero{
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);   
  overflow: hidden;
}


.background{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.background img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.background::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}


.hero-content{
  position: relative;
  z-index: 1;
  color: #fff;

  padding: 5rem 5vw 3rem; 
  max-width: 760px;
}


.hero-content h1{
  margin: 0 0 .8rem 0;
  font-family: Orbitron;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;

  width: auto !important;    
  max-width: 14ch;            
  overflow-wrap: anywhere;
  hyphens: auto;
}


.hero-content p{
  margin: 0;
  font-family: Montserrat;
  font-size: clamp(1rem, 2vw, 1.6rem);

  width: auto !important;    
  max-width: 62ch;            
}


@media (max-width: 768px){
  .hero-content{
    padding: 2.2rem 4vw 2.5rem;
    max-width: 100%;
  }
  .hero-content h1{
    max-width: 16ch;         
    font-size: clamp(2rem, 8vw, 2.7rem);
  }
  .hero-content p{
    max-width: 40ch;
    font-size: 1rem;
  }
}

/* responsive*/














:root{
  --nav-h: 96px;         /* Desktop */
  --hero-extra: 3.5rem; 
}

@media (max-width: 768px){
  :root{
    --nav-h: 92px;       /*Handy*/
    --hero-extra: 1.8rem; 
  }
}


.main-nav{
  min-height: var(--nav-h);
}


body{
  padding-top: var(--nav-h);
}


.hero{
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
}


.background{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.background img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.background::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}


.hero-content{
  position: relative;
  z-index: 1;
  color: #fff;

  max-width: 760px;
  padding: calc(var(--hero-extra) + 2rem) 5vw 3rem;  
}


.hero-content h1{
  margin: 0 0 .8rem 0;
  font-family: Orbitron;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;

  width: auto !important;
  max-width: 14ch;
  overflow-wrap: anywhere;
  hyphens: auto;
}


.hero-content p{
  margin: 0;
  font-family: Montserrat;
  font-size: clamp(1rem, 2vw, 1.6rem);

  width: auto !important;
  max-width: 62ch;
}


@media (max-width: 768px){
  .hero-content{
    padding: calc(var(--hero-extra) + 1rem) 4vw 2.5rem;
    max-width: 100%;
  }
  .hero-content h1{
    max-width: 16ch;
    font-size: clamp(2rem, 8vw, 2.7rem);
  }
  .hero-content p{
    max-width: 40ch;
    font-size: 1rem;
  }
}









@media (max-width: 768px){


  .content-section{
    flex-direction: column;
    gap: 1.5rem;
  }


  .geschichte{
    order: 1;
  }

  .img-rechts{
    order: 2;
    width: 100%;
    padding: 0;        
    margin-top: .5rem;
  }

  .img-rechts img{
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }


  .content-section h2{
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.15;
    margin: 0 0 1rem 0;
  }


  .content-section p,
  .geschichte-zwei{
    font-size: 1rem;
    line-height: 1.7;
  }
}












.hero{
  min-height: auto !important;
  height: clamp(420px, 70vh, 720px); 
  overflow: hidden;
}


.hero-content{
  padding-top: 3.5rem !important;  
  padding-bottom: 2.5rem !important;
}


.content-section{
  padding-top: 2.5rem !important;
}


@media (max-width: 768px){
  .hero{
    height: clamp(380px, 72vh, 620px);
  }
  .hero-content{
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .content-section{
    padding-top: 2rem !important;
  }
}















.content-section{
  background: #fff;
  padding: 3rem 6vw;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;

  flex-wrap: wrap;              
}
.geschichte{
  flex: 1 1 520px;               
  min-width: 280px;
}
.img-rechts{
  flex: 0 1 380px;               
  min-width: 260px;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;    
}



.img-rechts img{
  width: 100%;
  max-width: 420px;
  height: auto;              
  max-height: 560px;           
  object-fit: contain;           
  border-radius: 10px;
}



@media (max-width: 1024px){
  .img-rechts{
    flex-basis: 320px;
  }
  .img-rechts img{
    max-width: 320px;
    max-height: 520px;
  }
}






@media (max-width: 768px){
  .content-section{
    flex-direction: column;
  }
  .img-rechts{
    width: 100%;
    justify-content: flex-start;
  }
  .img-rechts img{
    max-width: 100%;
    max-height: none;
    object-fit: cover; 
  }
}





.content-section{
  background: #fff;
  padding: 3rem 6vw;
  display: block;            
}

.geschichte{
  max-width: 1100px;           
  width: 100%;
  margin: 0 auto;             
}


.geschichte h2{
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  word-break: break-word;
}


.geschichte p{
  font-size: 1.1rem;
  line-height: 1.7;
}




/* responsive footer*/

.footer-inner{
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}


.footer-col,
.footer-col *{
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px){
  .footer-inner{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Handy: 1 Spalte */
@media (max-width: 600px){
  .footer-inner{
    grid-template-columns: 1fr;
  }

  .footer-bottom{
    text-align: left;
  }
}





















.haftung {
  font-family: Orbitron;
  font-weight: bold;
}























.sub-hero.legal-hero{
  padding-top: calc(120px + 3rem);
}


.legal-page{
  padding: 2rem 6vw 4rem;
}

.legal-wrapper{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;  
  gap: 1.5rem;
}





.legal-card h2{
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  margin-top: 1.4rem;
  margin-bottom: .6rem;
}

.legal-card p,
.legal-card li{
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}


.legal-card ul{
  padding-left: 1.2rem;
  margin: .6rem 0 1rem;
}

.legal-card li{
  margin: .35rem 0;
}


.legal-toc:empty{
  display:none;
}

/* 4) Footer Grid responsive  */
.footer-inner{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px){
  .footer-inner{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px){
  .footer-inner{
    grid-template-columns: 1fr;
  }
  .footer-bottom{
    text-align: center;
  }
}


.nav-menu{
  max-height: calc(100vh - 120px);
  overflow: auto;
}




.legal-hero h1{
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.1;
}

@media (max-width: 520px){
  .legal-hero h1{
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }
}




.legal-hero h1{
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.1;
}

@media (max-width: 520px){
  .legal-hero h1{
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }
}









.btn-primary-first {
  color: #a81f22;
  font-family: Montserrat;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary-send {
  color: #a81f22;
  font-family: Montserrat;
  text-decoration: none;
  font-weight: bold;
}







@media (max-width: 700px){

  .series-modal-card{
    width: calc(100vw - 1.5rem);
    padding: 1rem;
    border-radius: 16px;

 
    max-height: calc(100vh - 1.5rem);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .series-modal-body{
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .series-modal-media img{
    min-height: 0;           
    height: auto;
    max-height: 32vh;       
    object-fit: contain;   
  }


  .spec-row{
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .spec-v{
    text-align: left;
    overflow-wrap: anywhere;  
    word-break: break-word;
  }
}
















.hero-title{
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  word-break: normal;
  overflow-wrap: normal; 
  white-space: normal;
}


.hero-title span{
  display: block;
}


.hero-content{
  max-width: 780px;     
}


.hero-title{
  line-height: 1.05;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}



















































/* produkt kacheln */

.product-teaser{
  background: fff;
  padding: 2.8rem 6vw 3.2rem;
}


.product-grid{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;

  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.product-card{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  background: #f6f6f6;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);

  height: 260px;           
  display: block;
}



/* Responsive: Tablet 2 nebeneinander */
@media (max-width: 1100px){
  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive: Handy 1 nebeneinander */
@media (max-width: 680px){
  .product-grid{
    grid-template-columns: 1fr;
  }
  .product-card{
    height: 230px;
  }
}


/* Bild */
.pc-media{
  position: absolute;
  inset: 0;
}
.pc-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .5s ease;
}


.product-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.20) 45%,
    rgba(0,0,0,.05) 100%
  );
  opacity: 1;
  transition: opacity .35s ease;
}


.pc-body{
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  right: 4.2rem;
  z-index: 2;
}

.pc-body h3{
  margin: 0 0 .25rem 0;
  font-family: Orbitron;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: .02em;
}

.pc-body p{
  margin: 0;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
}




.pc-arrow{
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 2;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}





.product-card:hover .pc-media img{
  transform: scale(1.08);
}
.product-card:hover .pc-arrow{
  transform: translateX(3px);
  background: rgba(168,31,34,.85); 
  border-color: rgba(255,255,255,.55);
}





.product-card.light::after{
  background: linear-gradient(
    to top,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.12) 55%,
    rgba(0,0,0,.02) 100%
  );
}





.product-card.dark::after{
  background: linear-gradient(
    to top,
    rgba(0,0,0,.70) 0%,
    rgba(0,0,0,.25) 55%,
    rgba(0,0,0,.10) 100%
  );
}


.product-card.featured{
  grid-column: span 8;
  min-height: 250px;
}




@media (max-width: 1100px){
  .product-card{ grid-column: span 6; }
  .product-card.featured{ grid-column: span 12; }
}

@media (max-width: 680px){
  .product-teaser{ padding: 2.2rem 4vw 2.5rem; }
  .product-card{ grid-column: span 12; min-height: 220px; }
  .pc-body h3{ font-size: 1.25rem; }
  .pc-body p{ font-size: .98rem; }
}



















@media (min-width: 769px){
  .nav-menu{
    display: flex !important;
    align-items: center;
    gap: 2rem;

    max-height: none !important;
    overflow: visible !important;
  }
}


@media (max-width: 768px){
  .nav-menu{
    max-height: none !important;
    overflow: hidden !important; 
  .nav-menu.open{
    overflow: hidden !important;
  }
}

.nav-menu, .nav-links{
  scrollbar-width: none;          
}
.nav-menu::-webkit-scrollbar,
.nav-links::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;                 
}
}




















.hero-content{
  max-width: 760px !important;
  padding: 6rem 4vw 3rem !important;
}

.background::after{
  background: rgba(0, 0, 0, 0.62) !important;
}

.hero-content .hero-title{
  margin: 0 0 1rem 0;
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: 0.01em;

  max-width: none !important;
  width: auto !important;

  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
}

.hero-content .hero-title span{
  display: block !important;
  white-space: nowrap !important;
}

.hero-text{
  font-size: clamp(1rem, 1.8vw, 1.5rem) !important;
  max-width: 28ch;
  line-height: 1.3;
}




.hero-content{
  max-width: 700px;
}









body { font-family: "Montserrat", Arial, sans-serif; }
h1, h2, .logo { font-family: "Orbitron", Arial, sans-serif; }











@media (max-width: 768px){
  .main-nav{
    z-index: 999999;
  }

  .nav-toggle{
    display: block;
    position: relative;
    z-index: 1000000;
    pointer-events: auto;
  }

  .nav-menu{
    z-index: 999999;
  }

  .nav-menu.open{
    display: flex !important;
  }
}