/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* =========================
   BODY
========================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
  font-size: 1.2rem;
}

h2 {
  background-color: #B0E0E6;
  font-size: 1.2rem;
}

.h3grau {
  background-color: #f1f1f1;
}

.fett {
  font-weight: bold;
}

.schriftRot {
  color: red;
}

/*Überschrift Seite ähnlich h2 */
.eigenH2 { 
  background-color: #B0E0E6;
  display: block;
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}
/* =========================
   HEADER (UNVERÄNDERT)
========================= */
/* ABSICHTLICH NICHT GEÄNDERT */
.header {
  z-index: 1;
  position: -webkit-fixed;
  position: sticky;
  top: 0;
  padding: 0px;
  text-align: center;
  color: white;
  background-image: url("bilder/welle.jpg");
  background-size: contain;
}

/* Schrift im Header bleibt unverändert */
.headerH1 {
  font-size: 25px;
  color: white;
  text-shadow: 2px 2px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

.headerH2 {
  font-size: 18px;
  color: white;
  text-shadow: 2px 2px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

/* Logo / Suche */
.imlogo {
  float: left;
  right: 4px;
  top: 4px;
}

.search-box,
.search-container {
  float: right;
}

/* =========================
   NAVBAR ursprünglich von GPT
========================= */
.navbar {
  background-color: #333;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 5px;   /*aus alt*/
  /*width: 100%;*/
}

.navbar a,
.dropbtn {
  background-color: black;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #ddd;
  color: black;
}

/*von GPT neu.navbar a.active {
  background-color: #717070;
  color: white;
  border: lightgray 3px solid;
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2);
}


/* Aktiver Menüpunkt */
.navbar a.active {
  background-color: #717070;
  color: #fff;
  border: 3px solid lightgray;
  box-shadow: inset 2px 2px 5px rgba(238, 237, 237, 0.2);
  transform: translateY(4px);
}

.dropdown {
  margin-left: auto;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  z-index: 1000;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* =========================================
   Dropdown rechts
========================================= */

.dropdown {
  position: relative;
  margin-left: auto;
}

/* =========================================
   Dropdown links / inline
========================================= */

.dropdownLi {
  position: relative;
  display: inline-block;
}

/* =========================================
   Dropdown-Menü allgemein
========================================= */

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: #333;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Dropdown-Links */
.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  background-color: transparent;
}

/* Hover im Dropdown */
.dropdown-content a:hover {
  background-color: #ddd;
  color: #000;
}

/* Dropdown anzeigen */
.dropdown:hover .dropdown-content,
.dropdownLi:hover .dropdown-content {
  display: block;
}

/* =========================================
   Pfeil nach unten
========================================= */

.arrow.down {
  display: inline-block;
  margin-left: 5px;
  padding: 3px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* =========================
   LAYOUT: 2 SPALTEN (DESKTOP)
========================= */
.row {
  display: flex;
  flex-wrap: nowrap; /* bleibt 2-spaltig bis Breakpoint */
  width: 100%;
}

/* Sidebar */
.side {
  flex: 0 0 20%;
  background-color: #f1f1f1;
  padding: 20px;
}

/* Main */
.main {
  flex: 1;
  background-color: white;
  padding: 20px;
  font-size: 14px;
}
/* =========================
   LINKS / LEFT COLUMN
========================= */
.liefLogo {
  width: 100%;
  height: 60px;
}

.anfrageVerLogo {
  background-color: rgb(254, 250, 6);
  height: 120px;
}

.anfrageVerLogo a {
  text-decoration: none;
  color: black;
}

.anfrageVerLogo a:hover {
  background-color: #ddd;
  font-size: 17px;
}

.lieferant ul li a {
  text-decoration: none;
  color: black;
}

.lieferant a:hover {
  background-color: #ddd;
}
/* =========================
   FOOTER
========================= */
.footboxRes       /*Side-text im fuß nur bei kleinem Bildschirm*/
  {display: none;
}
.footer {
  display: flex;
  justify-content: space-around;
  width: 100%;
  background: #B0E0E6;
}

.footbox ul {
  list-style: none;
}

.footbox ul li a {
  text-decoration: none;
  color: black;
}

.footbox a:hover {
  background-color: #ddd;
}
 .footbox a.active {
      background-color: rgb(121, 120, 120);
      color: white;
    }

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* Tablet & kleiner → Sidebar weg */
@media screen and (max-width: 768px) {

  .row {
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  .side {
    display: none;
  }

  /* NUR Main-Bereich korrigiert */
  .main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin: 0;
    overflow-x: hidden;
  }

  .image-container {
    flex-direction: column;
  }

  /* Navbar bleibt horizontal Vorschlag GPT
  .navbar a {
    padding: 6px;
  }*/

  .navbar a {
  padding: 5px 5px; /*kleiner Menübuttons bei kleinem Bildschirm*/
  border: lightgray 1px solid;
  border-radius: 10px;
}

  .footer {
    display: block;
  }

  .headerH2 {
    display: none;
  }

  .imlogo {
    float: none;
    display: none;
  }
  .footboxRes       /*Side-text im fuß nur bei kleinem Bildschirm*/
    {display: block;
    }  
}

/* Smartphone */
@media screen and (max-width: 480px) {

  .main {
    width: 100%;
    max-width: 100%;
    padding: 8px;
  }

  .imgleft {
    float: none;
    width: 100%;
  }

  .gallery {
    width: 100%;
    float: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }
  .footboxRes       /*Side-text im fuß nur bei kleinem Bildschirm*/
    {display: block;
    }  
}

/* =========================
   FULL WIDTH FIX
========================= */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}