/* ================================================= */
/* GLOBAL                                            */
/* ================================================= */

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Oswald', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.wrapper, .wrapper * {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ================================================= */
/* HEADER TOP FLEX LAYOUT                           */
/* ================================================= */

.header_top {
  background-color: #58ad63;
  padding: 10px 0;
  color: #fff;
  font-size: clamp(12px, 1.2vw, 20px);
}

.header-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Alle 3 Bereiche */
.top-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex: 1;
}

/* Ausrichtung */
.top-left {
  justify-content: flex-start;
}

.top-center {
  justify-content: center;
}

.top-right {
  justify-content: flex-end;
}

/* Icons */
.top-item i {
  font-size: clamp(14px, 1.4vw, 22px);
}

/* ======================================= */
/* MOBILE VERSION HEADER TOP */
/* ======================================= */

@media (max-width: 768px) {

  .header-top-flex {
    flex-direction: column;
    gap: 6px;
  }

  .top-item {
    justify-content: center !important;
    font-size: clamp(11px, 3vw, 16px);
  }
}


/* ================================================= */
/* HEADER MIDDLE (Features – FIX MIT MEHR ABSTAND)  */
/* ================================================= */

.header_middle {
  padding: 14px 0;
}

.header-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: nowrap;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: clamp(12px, 1.2vw, 20px);
  color: #2e2e2e;
}

.feature-item span {
  white-space: nowrap;
}

.feature-item i {
  font-size: clamp(14px, 1.4vw, 22px);
  flex-shrink: 0;
}

.text-danger2 {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 700;
  color: #e53312;
}


/* ================================================= */
/* TABS                                              */
/* ================================================= */

.tabbed menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tabbed > input,
.tabbed menu li {
  display: none;
}

.tabbed menu > li {
  padding: 20px;
  width: 100%;
  border: 1px solid #ccc;
  line-height: 1.6;
  color: #444;
  background: #fff;
}

#tab1:checked ~ menu .tab1,
#tab2:checked ~ menu .tab2,
#tab3:checked ~ menu .tab3 {
  display: block;
}

.tabbed nav {
  display: flex;
  flex-wrap: nowrap;         /* niemals umbrechen */
  justify-content: flex-start;
  gap: 12px;                 /* Abstand zwischen Tabs */
}

/* Tabs passen sich nur an ihren Inhalt an */
.tabbed nav label {
  flex: 0 1 auto;            /* NICHT gleich breit */
  white-space: nowrap;       /* kein Textumbruch */

  padding: 12px 16px;
  border: 1px solid #ccc;
  border-bottom: none;
  background: #ffffff;
  color: #000000;
  cursor: pointer;

  font-size: clamp(10px, 2.5vw, 18px);
  transition: 0.2s ease;
}

.tabbed nav label:hover {
  background: #e9f0f9;
}

/* AKTIV (jetzt blau) */
#tab1:checked ~ nav label[for="tab1"],
#tab2:checked ~ nav label[for="tab2"],
#tab3:checked ~ nav label[for="tab3"] {
  background: #2e6da4;
  color: #ffffff;
  border-bottom: 1px solid #2e6da4;
}


/* ================================================= */
/* GALLERY                                           */
/* ================================================= */

.ebay-gallery {
  margin: 0 auto;
}

.ebay-gallery input[type="radio"] {
  display: none;
}

.ebay-gallery .main-images img {
  display: none;
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

#img1:checked ~ .main-images img.img1,
#img2:checked ~ .main-images img.img2,
#img3:checked ~ .main-images img.img3,
#img4:checked ~ .main-images img.img4,
#img5:checked ~ .main-images img.img5,
#img6:checked ~ .main-images img.img6,
#img7:checked ~ .main-images img.img7,
#img8:checked ~ .main-images img.img8,
#img9:checked ~ .main-images img.img9,
#img10:checked ~ .main-images img.img10 {
  display: block;
}

.ebay-gallery .thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 15px;
}

.ebay-gallery .thumbnails label img {
  width: 70px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.ebay-gallery .thumbnails label:hover img {
  border-color: #023535;
}

input#img1:checked ~ .thumbnails label[for="img1"] img,
input#img2:checked ~ .thumbnails label[for="img2"] img,
input#img3:checked ~ .thumbnails label[for="img3"] img,
input#img4:checked ~ .thumbnails label[for="img4"] img,
input#img5:checked ~ .thumbnails label[for="img5"] img,
input#img6:checked ~ .thumbnails label[for="img6"] img,
input#img7:checked ~ .thumbnails label[for="img7"] img,
input#img8:checked ~ .thumbnails label[for="img8"] img,
input#img9:checked ~ .thumbnails label[for="img9"] img,
input#img10:checked ~ .thumbnails label[for="img10"] img {
  border-color: #00b767;
}


/* ================================================= */
/* HEADER MIDDLE – DESKTOP PERFEKT VERTEILT         */
/* ================================================= */

.header_middle .container > .row,
.header-features {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.header_middle .container > .row > [class*="col-"],
.header-features > * {
  flex: 0 0 auto !important;
  width: auto !important;
}

.header_middle span,
.header-features span {
  white-space: nowrap !important;
}

@media (min-width: 992px) {
  .header_middle {
    font-size: 18px;
  }

  .header_middle i {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .header_middle {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header_middle {
    font-size: 12px;
  }
  
  .tabbed nav label {
    padding: 8px 6px;
    font-size: clamp(9px, 3vw, 16px);

  .header_middle i {
    font-size: 14px;
  }
}