/*
Description: Responsives Coding fuer Sehrbrock Montagetechnik
Author: Ralph Segert
Relaunch: Februar 2025
Update: - 
Author URI: https://segert.net
*/

/* - Globale Variablen: Deklarationen  */

:root {

 --step-1: 1rem;    /* 16px */
 --step-2: 1.25rem; /* 22px */
 --step-2b: 1.3rem; /* 24px */
 --step-3: 2rem;    /* 32px */
 --step-4: 3rem;    /* 48px */

 --regular: 'OpenSans Regular', sans-serif;
 --light: 'OpenSans Light', sans-serif; 
 --semibold: 'OpenSans SemiBold', sans-serif;
 --bold: 'OpenSans Bold', sans-serif;
  
  
  --ease-03: a 0.3s ease;  
  --bgcolor: #FCFCFC;
}


/* Resets */

* {
margin: 0;
padding: 0;
}

*, html {
    box-sizing: border-box;
}

*, *::before, *::after {
box-sizing: inherit; }


body {
  margin: 0;
  font-family: var(--regular);
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
th, td {
    text-align: left;
    vertical-align: top;
}

img { 
  border: 0; 
}

.layoutsub img {
  width: 100%;
  height: auto;
}


.cf::after {
  content: " ";
  display: block;
  clear: both; 
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

strong, b {
  font-family: var(--semibold);
}


iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: none; /* Optional, um den Rahmen zu entfernen */
    max-width: 1020px; /* Optional: Maximale Breite setzen */
}



/* Linkauszeichnungen */

.language-switch a {
  color: #222; /* Standard auf weißem Hintergrund */
  text-decoration: none;
}

.startseite .language-switch a {
  color: #f4f4f4; /* Hell für dunkle Startseite */
}

.language-switch a:hover {
  text-decoration: underline;
}

.startseite .language-switch a:hover {
  color: #fff;
}

a:focus, button:focus {
    outline: 1px solid #fff;
}

a:focus, button:focus {
    outline: 0px solid #fff;
}

header button:focus {
  outline: none;
}

h2 a, h2 a:visited, h3 a, h3 a:visited {
  font-family: var(--bold);
  color: #000;
  text-decoration: none;
  transition: all .4s;
}

h2 a:hover, h3 a:hover {
  font-family: var(--bold);
  color: #777;
}

.layoutsub p a, .layoutsub p a:visited {
  font-family: var(--bold);
  transition: all .4s;
  color: #000;
  text-decoration: none;
  border-bottom: 3px solid #bbb;
}

.layout p a, .layout p a:visited {
  font-family: var(--bold);
  transition: all .4s;
  color: #fff;
  text-decoration: none;
  border-bottom: 3px solid #bbb;
}

header a, header a:visited {
  font-family: var(--regular);
  transition: all .4s;
  color: #000;
  text-decoration: none;
  border-bottom: 0;
}

.container ul a, .container ul a:visited {
  font-family: var(--regular);
  color: #fff;
  border-bottom: 0;
  transition: all .3s;
}

.layout p a:hover, .layoutsub p a:hover {
  font-family: var(--bold);
  color: #777;
  text-decoration: none;
  border-bottom: 3px solid #000;
}

header a:hover {
  font-family: var(--regular);
  color: #888;
  text-decoration: none;
  border-bottom: 0;
}

.container ul a:hover {
  font-family: var(--regular);
  color: #000;
  border-bottom: 3px solid #fff;
}

footer a, .footersub a, footer a:visited, .footersub a:visited {
    text-decoration: none;
    color: #fff;
    border: none;
    transition: all .3s;
    letter-spacing: 0;
}

footer a:hover {
    color: #aaa; 
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
    letter-spacing: 1px;
}

.footersub a, .footersub a:visited {
    color: #000;
}

.footersub a:hover {
    color: #777; 
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    letter-spacing: 1px;
}
 /* Mobile Navigation: RESETS */
 
 .hc-offcanvas-nav .nav-content {
   padding: 0 1px;
 }
   
   .header .hc-nav-trigger span, 
   .header .hc-nav-trigger span::before, 
   .header .hc-nav-trigger span::after {
     display: block;
     position: absolute;
     left: 0;
     height: 4px;
     transition: all 0.3s ease;
     background: #fff;  /* Hamburger Start */ 
   }
   
     
   .header-white .hc-nav-trigger span, 
   .header-white .hc-nav-trigger span::before,
   .header-white .hc-nav-trigger span::after {
     display: block;
     position: absolute;
     left: 0;
     height: 3px;
     transition: all 0.3s ease;
     background: #eee; /* Hamburger header-white */ 
   }
   
   .hc-offcanvas-nav .nav-item-wrapper {
     font-size: 1.2rem;
     letter-spacing: 1px;
     text-transform: uppercase;
     font-family: var(--bold);
     color: #fff;
     background-color: #000; /* Offcanvas Sidebar Menü */
     border: 0;
     transition: 0.2s background ease; 
   }
   
   .hc-offcanvas-nav:not(.touch-device) li:not(.nav-item-custom) a:not([disabled]):hover {
     color: #000; 
   }
   
   .hc-offcanvas-nav .nav-wrapper-1 .nav-item-link {
     font-family: var(--lato-light);
     font-size: 1em;
     color: #fff;
     background-color: #333; 
   }
   
   .hc-offcanvas-nav a.nav-next:before {
     width: 2px;
     height: 35px;
     left: -7px;
     top: 2px;
     background: transparent;
     border-radius: 2px; 
   }
   
   .hc-offcanvas-nav.nav-levels-expand li.level-open > .nav-wrapper::before, 
   .hc-offcanvas-nav.nav-levels-none li .nav-wrapper::before {
     background: transparent; 
   }
   
   .hc-offcanvas-nav ul li ul {
     margin-bottom: 5%; 
   }
   
   .hc-offcanvas-nav.disable-body.nav-open::after, 
   .hc-offcanvas-nav .sub-level-open::after {
     visibility: visible;
     background-color: #E1E0E0; /* Hintergrundfarbe */
     transition-delay: 0.1s;
     background-image: url('https://sehrbrock-montagetechnik.de/images/bg-startseite.webp'); 
     background-size: cover;
     background-repeat: no-repeat;
     background-position: -100px;
   }
    
   .hc-offcanvas-nav.nav-levels-expand .nav-wrapper.nav-wrapper-0 > .nav-content {
     overflow: scroll;
     overflow-x: visible;
     overflow-y: auto;
     box-sizing: border-box;
     max-height: 100vh;
     background-color: #000; /* Gesamte Hintergrundfläche */ 
   }
   
   .hc-offcanvas-nav .nav-container, 
   .hc-offcanvas-nav .nav-wrapper, 
   .hc-offcanvas-nav ul {
   background-color:  #4f5764;
     /* Menülinks */ 
   }
   
   .hc-offcanvas-nav .nav-content > .nav-close:first-child + ul {
     margin-top: 4rem;
   }
   
   .hc-offcanvas-nav .nav-item-link, 
   .hc-offcanvas-nav li.nav-close a, 
   .hc-offcanvas-nav .nav-back a {
     padding: 10px 0 10px 30px;
     font-size: 1.1em;
     color: #fff; /* Linkfarbe Menü */
     z-index: 2;
     background: rgba(0, 0, 0, 0);
     border-radius: 5px;
     transition: 0.4s background ease; 
   }
   
   .hc-offcanvas-nav:not(.touch-device) li:not(.nav-item-custom) a:not([disabled]):hover {
     color: #888;
     /* Linkfarbe Menü Hover */ 
   }
   
   .nav-item .active a {
     color: #cdd9eb; 
   } 
   
   .hc-offcanvas-nav .nav-close-button span, 
   .hc-offcanvas-nav .nav-parent .nav-next, 
   .hc-offcanvas-nav .nav-back span {
     display: inline-block; 
   }
   
 .hc-nav-trigger {
     position: absolute;
     cursor: pointer;
     user-select: none;
     display: none;
     z-index: 9980;
     width: 75px;
     right: 5%;
     top: 28%;
     min-height: 44px;
   }
   
   .hc-nav-trigger span {
     width: 75px;
     transform: translateY(-50%);
     transform-origin: 50% 50%;
   }
   
   .hc-nav-trigger span, .hc-nav-trigger span::before, .hc-nav-trigger span::after {
     display: block;
     position: absolute;
     left: 0;
     height: 3px;
     width: 65px;
     background:  #000;
     transition: all 0.2s ease;
   }
   
   /* Ausnahme: Startseite → weißes Hamburger-Menü */
   .startseite .hc-nav-trigger span,
   .startseite .hc-nav-trigger span::before,
   .startseite .hc-nav-trigger span::after {
     background: #f4f4f4;
   }
     
   .hc-nav-trigger span::before, .hc-nav-trigger span::after {
     content: "";
     width: 100%;
   }
   .hc-nav-trigger span::before {
     top: -11px;
     width: 80px;
   }
   .hc-nav-trigger span::after {
     bottom: -11px;
     width: 50px;
   }
   
   .sticky-header .hc-nav-trigger {
       position: absolute;
       cursor: pointer;
       -webkit-user-select: none;
       -moz-user-select: none;
       user-select: none;
       display: none;
       z-index: 9980;
       width: 65px;
       right: 5%;
       min-height: 44px;
     }
     
   .sticky-header .hc-nav-trigger span {
       width: 65px;
       transform: translateY(-50%);
       transform-origin: 50% 50%;
     }
     
   .sticky-header .hc-nav-trigger span, .sticky-header .hc-nav-trigger span::before, .sticky-header .hc-nav-trigger span::after {
       display: block;
       position: absolute;
       left: 0;
       height: 3px;
       width: 55px;
       background:  #555;
       transition: all 0.2s ease;
     }
       
   .sticky-header .hc-nav-trigger span::before, .sticky-header .hc-nav-trigger span::after {
       content: "";
       width: 100%;
     }
   .sticky-header .hc-nav-trigger span::before {
       top: -9px;
       width: 70px;
     }
   .sticky-header  .hc-nav-trigger span::after {
       bottom: -9px;
       width: 40px;
     }
    
      
      /* Mouseover effects */
      
      .hc-nav-trigger:hover span::before {
        top: -11px;
        width: 50px;
        opacity: .8;
        transition: width 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19); /* Transition with ease-out effect */
      }
      .hc-nav-trigger:hover span::after {
        bottom: -11px;
        width: 80px;
        opacity: .8;
        transition: width 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19); /* Transition with ease-out effect */
      }
      
   
      /* OWL Resets */
         
   .owl-theme .owl-nav.disabled + .owl-dots {
        margin-top: 4%;
      }
   
   
   
.section {
     position: relative;
     width: 100%;
     height: 100vh; 
     max-width: 2400px;
     background: url("https://sehrbrock-montagetechnik.de/images/bg-startseite.webp") center center no-repeat;
     background-size: cover;
     margin: 0 auto;
     padding: 0 clamp(32px, calc(0.054545 * 100vw - 2.909px), 128px);
   }

.section::before {
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0.2); /* z. B. halbtransparentes Schwarz */
     z-index: 0;
   }
   .section > * {
     position: relative;
     z-index: 1;
   }
   

/* IMG */

.contentbox img {
  width: 40%;
  height: auto;
  margin-block-start: 1rem;
  margin-block-end: 2rem;
}

.floatbild img {
  width: 30%;
  float: left;
  margin: 1% 5% 1% 0;
}


header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 20px 1rem 0rem;
  max-height: 200px;
  color: #000;
  font-size: clamp(var(--step-1), 1.5vw, var(--step-2b)); /* Größerer Fließtext: 18px bis 20px */
  position: relative;
  z-index: 1000; /* Hoher = drüber */
}

.head2 {
  display: flex;
  width: 100%;
  margin: 0 auto;
  max-width: 2400px;
  background-color: #fff;
  padding: 3rem 0 3rem 100px;
  max-height: 200px;
  margin-block-end: 5rem;
  height: auto;
  color: #000;
  font-size: clamp(var(--step-1), 1.5vw, var(--step-2b)); /* Größerer Fließtext: 18px bis 20px */
  position: relative;
  z-index: 1000; /* Hoher = drüber */
}

.headersub {
  display: flex;
  width: 100%;
  max-width: 2400px;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 20px 1rem 0rem;
  max-height: 200px;
  height: auto;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 1);
  color: #000;
  font-size: clamp(var(--step-1), 1.5vw, var(--step-2b)); /* Größerer Fließtext: 18px bis 20px */
  position: relative;
  z-index: 1000; /* Hoher = drüber */
  padding: 1.6rem clamp(32px, calc(0.054545 * 100vw - 2.909px), 128px);
}


/* -- HEADER: Logo  */



.logo img {
  height: auto;
  width: 100%;
  min-width: 100px;
  max-width: 180px;
}

.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 2400px;
  margin: 0 auto;
  max-height: 120px; 
  transition: max-height 0.5s ease, padding 0.5s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  background-color: rgba(255, 255, 255, .9);
}

.sticky-header .logo {
  margin-block-start: 1%;
  transform: scale(.7);
  transition: transform 0.5s ease;
}

.sticky-header .main-menu ul {
  font-size: clamp(var(--step-1), 1.2vw, var(--step-1)); 
  transition: font-size 0.5s ease;
  padding: 8px;
}



/* -- HEADER: Hauptmenü 


.main-menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  flex-grow: 1;
  font-size: clamp(var(--step-0), 1.8vw, var(--step-2));
  justify-content: center;
  padding-right: 3%;
  margin-left: 5%;
  margin-top: .8%;
}

.main-menu ul {
  font-family: var(--bold);
  font-size: 1.3rem;
  text-transform: uppercase;
  display: flex;
  width: 100%;
  position: relative;
}

.main-menu li {
  flex: 1;
  list-style: none;
  position: relative;
  letter-spacing: 1px;
}


.main-menu li a {
  display: block;
  text-align: center;
  color: #000;
  text-decoration: none;
  transition: all .7s;
}

.main-menu li:hover a {
  display: block;
  color: #fff;
  background-color: rgba(39, 55, 119, .8);
  padding: 12px;
  border-bottom: 4px solid #eee;
  transition: all .7s;
  letter-spacing: 0;
  
}

.main-menu .aktiv a {
  display: block;
  color: #fff;
  background-color: rgba(39, 55, 119, .8);
  padding: 12px;
  border-bottom: 4px solid #eee;
  transition: all .7s;
  letter-spacing: 0;
}

 */
 
 
/* -- GRUNDLAYOUT Startseite */


/* Contentbereiche */

.container {
  display: flex;
  margin: 0 auto;
  grid-template-rows: auto auto; /* Zwei Zeilen für layout und layout2 */
  width: 100%;
  max-width: 2400px;
  margin-block-start: 3%; 
}


.layoutsub {
  width: 100%;
  display: grid;
  grid:
    "left-col right-col" 1fr
    / 23% 77%;

}

.left-col {
  grid-area: left-col;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start; 
  padding-right: 6%;
}

.right-col {
  grid-area: right-col; 
  display: flex;
  width: 100%;
  flex-direction: column;
  padding-right: 12rem;
}


.layoutsub .bereich a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 8% 0 0;
  letter-spacing: 1px;
  font-size: 1.3rem;
  text-decoration: none;
  color: #000;
  transition: all 0.6s;
  border-top: 1px solid #999;

  width: 275px;
  height: 165px;
}

.sliderbox {
  width: 100%;
  border-left: 1px solid #999;
  padding: 5% 4% 3% 4%;

}

.contentbox {
  border-left: 1px solid #999;
  padding: 5% 6% 5% 4%;
  margin-block-end: 1.5rem;
}

.diashow {
  display: flex;
  margin-block: 2rem 1rem;
}

/* Accordion */

.accordion {
  margin-block-start: 3rem;
}

  .accordion-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: var(--bold);
    font-size: 1.2rem;
    color: #fff;
    background-color: #505764;
    padding: 2% 6% 2% 5%;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: .3s; }

  .accordion-title:nth-of-type(2n) {
    background-color: #7c7c7c; 
  }
 
  .accordion-content {
    background-color: #fff;
    color: #000;
    padding: 5% 6% 5% 6%;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd; 
    background-color: rgba(255, 255, 255, .5);
  }
 
  dd {
    display: none; }

  .accordion-title a {
    float: right;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    margin-left: 5%; }
 
 
  .accordion-title a::before {
    content: " + ";
    color: #fff }

  .accordion-title:hover a::before {
    color: #fff }
   
     
  .accordion-title:hover {
    background-color: #545E8E;
    color: #fff;
    animation: vibrate .9s  ease-out 400ms forwards;
 }
 
  .accordion-title {
    position: relative;
    overflow: hidden; 
  }


  .accordion-title.open {
    background-color: #545E8E;
    color: #fff;
    font-size: 1.5em; 
    letter-spacing: 1px;
    padding-right: 5%;
    margin-top: 6px;

  }
     
  .accordion-title.open a {
    background-color: #545E8E;
    color: #fff;
  }

  .accordion-title.open a::before {
    content: " × ";
    font-size: 1.5em;
    color: #fff; }

   
    @keyframes vibrate {
      0%, 100% {
        transform: translateY(0);
      }
      20%, 50% {
        transform: translateY(-1px);
      }
      30%, 60% {
        transform: translateY(1px);
      }
    }

/* Produkttabelle */

.produktliste {
      padding: 20px;
      border-left: 1px solid #999;
      padding: 5% 4% 3% 4%;
      margin-block-end: 3rem;
    }
    
    .produkt {
      display: grid;
      grid-template-columns: 1.1fr 2.5fr 1.9fr .5fr;
      gap: 20px;
      border: 1px solid #ccc;
      padding: 30px;
      margin-bottom: 2%;
      align-items: start; /* ← wichtig! */
    }
    
    .spalte-infos .feld:nth-of-type(3) {
      margin-top: 5%;
    }
    
    .spalte-bild img {
      width: 100%;
      height: auto;
      display: block;
      padding-right: 10%;
    }
    
    .spalte-infos {
      display: grid;
      grid-template-rows: auto auto auto auto;
      gap: 12px;
      
    }
    
    
.spalte-download {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: start;
      gap: 10px;
    }
    
    .download-link img {
      width: 90%; 
      height: auto;
      display: block;
      margin-top: 8%;
      margin-left: 12%;
      transition: transform 0.2s ease-in-out;
      }
      
      .download-link:hover img {
        transform: scale(1.15);
      }
    

.downloadliste {
        padding: 0 4% 5% 4%;
        border-left: 1px solid #999;
      }
      
      .downloadeintrag {
        display: grid;
        grid-template-columns: 1fr 3fr .8fr;
        gap: 20px;
        border: 1px solid #ccc;
        padding: 30px;
        margin-bottom: 2%;
        align-items: start;
      }
      
      .spalte-bild img {
        width: 100%;
        height: auto;
        display: block;
        padding-right: 10%;
      }
      
      .spalte-beschreibung {
        display: grid;
        gap: 12px;
      }
      
      .feld {
        font-size: 0.95rem;
        line-height: 1.6rem;
      }
      
      .feld h2 {
        font-family: var(--light);
        font-size: 1.6rem;
        line-height: 1.8rem;
        margin-block-end: 1.5rem;
      }
      
      .feld p {
        font-size: 1.1rem;
      }

      
      .spalte-download {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        gap: 10px;
      }
      
      .download-link img {
        width: 90%;
        height: auto;
        display: block;
        margin-top: 8%;
        margin-left: 12%;
        transition: transform 0.2s ease-in-out;
      }
      
      .download-link:hover img {
        transform: scale(1.15);
      }


/* Footerbereich */

footer {
  position: absolute; 
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  color: #fff;
  text-align: center;
  border-top: 6px solid #fff;
  background-color: rgba(0, 0, 0, 0.4);
}


.footersub {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 0 auto;
  max-width: 1600px;
  margin-block-end: 2%;
  
}

/* Typografie */


h1, h2, h3 {
  font-family: var(--bold);
}

h1 {
  font-size: clamp(28px, calc(0.010909 * 100vw + 18.62px), 48px);
  color: #fff;
  letter-spacing: 1px;
  line-height: clamp(38px, calc(0.02 * 100vw + 16px), 64px);
  padding: 0 0 3rem 0;
  text-transform: uppercase;
}

.sectionsub h1 {
  padding: 1rem 0 4rem 0;
  text-transform: none;
}

h2 {
  font-family: var(--light);
  font-size: 1.95rem;
  line-height: 2.6rem;
  margin-block-end: 2rem;
}

h3 {
  font-family: var(--light);
  font-size: 1.6rem;
  border-left: 1px solid #999;
  padding: 2rem 1rem 0 3rem;
}


p {
  color: #000;
  font-size: 1.3rem;
  line-height: 1.9em;
  padding-bottom: 1.5rem;
}

.pstart {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.9em;
  padding-bottom: 1.5rem;
}

.intro {
  font-size: 1.75rem;
}

.sprache {
  width: 180px;
  font-size: 1rem;
  text-align: center;
}

.triangle-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.triangle-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.5rem;
    padding-bottom: .5rem;
    padding-top: .4rem;
    color: white;
}

.triangle-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: white;
    clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
}


.left-col li {
  list-style: square;
  line-height: 1.7em;
  font-family: var(--bold);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.left-col li {
  padding: 1.5rem 0 0 .2rem;
}

.datum {
  padding-bottom: .6rem;
}

.teaser {
  margin-block-end: 5rem;
  font-size: 1.3rem;
}


footer ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Abstand definieren (maximal 2rem, minimal 1rem) */
  gap: clamp(4rem, 5vw, 6rem); 
}

footer li {
  white-space: nowrap;
  font-family: var(--light);
  font-size: 1rem;
  line-height: 1.5em;
  letter-spacing: 1px;
}

.footersub ul {
    display: flex;
    list-style: none;
    padding-bottom: 1%;
    margin-block-start: 3%;
    width: 100%;
    justify-content: space-evenly;
}

.footersub li {
  display: inline; 
  line-height: 1.5em;
  font-family: var(--light);
  font-size: 1rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

//* Buttons */
 
.btn, .btn a:visited {
  color: #fff;
  text-decoration: none;
}

button {
  all: unset;
}


.btn {
  display: block;
  width: 40%;
  margin-inline-start: 30%;
  background-color: #F0AB2C;
  border: 1px solid #fff; 
  color: #fff;
  font-family: var(--bold);
  text-transform: uppercase;
  font-size: clamp(var(--step-1), 1.3vw, var(--step-2)); /* Größerer Fließtext: 18px bis 20px */
  letter-spacing: 1px;
  padding: 10px 20px; /* Abstand innen */
  text-align: center; 
  border-top-right-radius: 12px; 
  border-bottom-left-radius: 12px; 
  cursor: pointer; /* Zeigt den Cursor als Pointer */
  transition: background-color 0.4s, border-color 0.8s; 
}

.btn:hover {
  border-top-left-radius: 12px; 
  border-bottom-right-radius: 12px; 
  background-color: #991C2D;
  border-color: yellow; 
}


#back-to-top {
  /* scriptgesteuerter Top-Balken */
  position: fixed;
  /* Fixiert den Balken unten */
  display: none;
  width: auto;
  right: 10%;
  bottom: 8%;
  padding: 12px 12px 14px 12px;
  background: #000;
  color: #fff;
  font-size: 130%;
  text-align: center;
  z-index: 1000;
  cursor: pointer;
  transition: all ease-in-out .3s;
  border-radius: 12%; }

#back-to-top:hover {
  bottom: 9%; }


@media screen and (max-width: 1040px) {
    
    
  .produkt {
    grid-template-columns: 1fr;
  }
  
  .spalte-infos {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }

}


@media screen and (max-width: 820px) {
  
  
header {
    padding: 30px 20px 30px 2rem;
    max-height: 120px;
  }
  


.logo {
    flex: 0 0 calc(25% - 20px);
    padding-top: .5%;
  }
  
  .logo img {
    min-width: 300px;
  }
  
  .layout {
    display: grid;
    grid:
      ". . fotografie" 150px /* Neue Höhe */
      ". skulptur ." 150px
      "aktuell . ." 150px
      ". audiovisuelle ." 150px
      ". . installation" 150px
      / 200px 200px 200px; /* Neue Breite */
    gap: 0px;
  }

.downloadeintrag {
    grid-template-columns: 1fr;
  }
  
  .spalte-beschreibung {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .spalte-download {
    margin-top: 1rem;
  }
  
  .download-link img {
    margin-left: 0;
    width: 50%;
    margin: 0 auto;
  }
   

  
.head2 {
  padding: 6% 0 2% 6%;
  max-height: 180px;
  margin-block-end: 1%;
  height: auto;
  color: #000;
  font-size: clamp(var(--step-1), 1.5vw, var(--step-2b));
  position: relative;
  z-index: 1000;
}
  
.section {
  height: auto;
  padding: 0;
}
  
  
.layout {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 5%; 
  height: 90vh;
  margin-block-start: 1.5rem;
}

.layout > div {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; 
}

.layout div a {
  font-size: 1.5rem;
  padding: 0 10% 8% 0;
}


 
 p a, p a:visited {
   font-family: var(--regular);
   border-bottom: 1px solid #000;
 }
  
 /* Mobile Navigation: RESETS */
 
 .hc-nav-trigger {
    width: 65px;
    right: 5%;
    top: 20%;
  }
  
  
 .hc-nav-trigger span, .hc-nav-trigger span::before, .hc-nav-trigger span::after {
   display: block;
   position: absolute;
   left: 0;
   height: 3px;
   width: 55px;
   background: #991C2D;
   transition: all 0.2s ease;
 }
   
 .hc-nav-trigger span::before, .hc-nav-trigger span::after {
   content: "";
   width: 100%;
 }
 .hc-nav-trigger span::before {
   top: -9px;
   width: 70px;
 }
 .hc-nav-trigger span::after {
   bottom: -9px;
   width: 40px;
 }
 
  
header {
  padding: 1rem 20px 0 1rem;
  max-height: 130px;
}

.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  max-height: 90px; 
}


.logo img {
  min-width: 90px;
  max-width: 120px;
}



.layoutsub {
  display: flex;
  width: 100%;
  flex-direction: column; /* Spalten untereinander anordnen */
  gap: 20px; /* Abstand zwischen den Spalten */
}

.left-col {
  display: flex;
  width: 100%;
  justify-content: center; /* Links ausrichten */
  padding: 0 5% 0 0;
}

.right-col {
  display: flex;
  width: 100%;
  padding: 0 5% 0% 5%;
}



.layoutsub .bereich a {
  justify-content: center;
  padding: 0;
  font-size: 1.4rem;
  transition: 0;
  border: 0;
  width: 100%;
  height: auto;
}

.sliderbox, .contentbox {
  width: 100%; /* Volle Breite einnehmen */
}



/* Typografie */


h1 {
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0;
  line-height: 2.3rem;
  padding: 0;
}

h2 {
  font-family: var(--light);
  font-size: 1.6rem;
  line-height: 2.2rem;
  margin-block-end: 2rem;
}

p {
  font-size: .9rem;
}

.pstart {
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding-bottom: 1.5rem;
}


.triangle-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.triangle-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    padding-bottom: .2rem;
    padding-top: .4rem;
    color: white;
}

.triangle-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: white;
    clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
}


.sprache {
  width: 100%;
  font-size: .8rem;
  text-align: center;
}

.subline {
  font-size: .9rem;
}

.btn {
  display: block;
  width: 80%;
  margin-inline-start: 10%;
  font-size: 1.1rem;
}


/* Footerbereich */

footer {
    position: static; 
    flex-direction: column; 
    padding: 2.2rem .3rem;
  }
  
  .footersub {
    display: flex;
   flex-direction: column; 
   margin-block-end: 1.5rem;
   border-left: 1px solid #999;
   padding: 5% 6% 5% 4%;
   margin-left: 5%;
  }

  footer ul, .footersub ul {
    flex-direction: column; /* Zentriert und untereinander */
    gap: 0;
  }

footer li {
  line-height: 2.8em;
  font-size: .95rem;
  margin: 0 1rem 0 1rem;
}

.footersub li {
  letter-spacing: 0;
  line-height: 1.9em;
  font-size: .85rem;
}
  
}



