/*
 * Platz für eigene Änderungen direkt als CSS
 * Die hier gemachten Änderungen überschreiben ggfs. andere Styles, da diese Datei als letzte geladen wird.
 */

/* ------------------------------------------------------------------
 * Übernommen aus NOVA/themes/clear/clear.css (dort am 14.10.2026 ergänzt).
 * qs-*            : Kacheln mit Bild + Text (Boxen mit Schatten, Hover-Zoom)
 * .shipping-status: grüner Hinweis-Kasten (Versandstatus)
 * .holiday-message: blauer Hinweis-Kasten (Urlaub/Feiertage)
 * ------------------------------------------------------------------ */
.qs-outer-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 170px;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 5px;
  margin-top: 10px;
  box-sizing: border-box;
  background: #fff;
}

.qs-outer-container:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.qs-image-container {
  width: 100%;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qs-image-container img {
  max-width: 95%;
  max-height: 185px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
  transform: translateX(8px);
}

.qs-text-container {
  margin-top: 4px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
}

.qs-ul {
  text-align: left;
  list-style-position: inside;
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 0;
}

.qs-h2 {
  font-size: 18px;
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 0;
  line-height: 1.2;
}

.qs-p {
  font-size: 14px;
}

@media (max-width: 1024px) {
  .qs-outer-container {
    min-height: 240px;
  }
  .qs-image-container {
    height: 190px;
  }
  .qs-image-container img {
    max-width: 98%;
    max-height: 180px;
    transform: translateX(6px);
  }
}
@media (max-width: 768px) {
  .qs-outer-container {
    min-height: 200px;
  }
  .qs-image-container {
    height: 140px;
  }
  .qs-image-container img {
    max-width: 98%;
    max-height: 130px;
    transform: translateX(4px);
  }
  .qs-h2 {
    font-size: 14px;
  }
  .qs-ul {
    font-size: 12px;
    padding-left: 1em;
  }
  .qs-p {
    font-size: 12px;
  }
}
.shipping-status {
  background-color: #e3fae5; /* Leicht farblicher Hintergrund */
  border-left: 4px solid #62bf6c; /* Stärker farblicher Strich links */
  padding: 20px; /* Abstand innerhalb des Containers */
  font-family: Arial, sans-serif; /* Schriftart */
  font-size: 14px; /* Schriftgröße */
  color: #333; /* Textfarbe */
  line-height: 1.6; /* Zeilenhöhe */
  margin: 20px 0; /* Abstand nach oben und unten */
}

.holiday-message {
  background-color: #e3ecfa; /* Leicht farblicher Hintergrund */
  border-left: 4px solid #325fa6; /* Stärker farblicher Strich links */
  padding: 20px; /* Abstand innerhalb des Containers */
  font-family: Arial, sans-serif; /* Schriftart */
  font-size: 14px; /* Schriftgröße */
  color: #333; /* Textfarbe */
  line-height: 1.6; /* Zeilenhöhe */
  margin: 20px 0; /* Abstand nach oben und unten */
}

/* ==================================================================
 * NEUE STARTSEITE UND VORTEILS-LEISTE (Klassen qsh-…)
 * Templates: qs/startseite.tpl, qs/vorteile.tpl
 * Farben passend zu NOVA "clear": Gelb #F8BF00, Text #525252
 * ================================================================== */
.qsh-ic { width: 18px; height: 18px; flex: 0 0 18px; }

/* Vorteils-Leiste */
.qsh-usp-bar { background: #fff; border-bottom: 1px solid #ebebeb; font-size: .8125rem; }
.qsh-usp-list { display: flex; justify-content: space-between; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.qsh-usp-list::-webkit-scrollbar { display: none; }
.qsh-usp { flex: 0 0 auto; }
.qsh-usp-btn { display: flex; align-items: center; gap: 6px; padding: 7px 2px; border: 0; background: none; color: #525252; font: inherit; white-space: nowrap; cursor: pointer; }
.qsh-usp-btn .qsh-ic { color: #1C871E; }
.qsh-usp-btn:hover .qsh-usp-text, .qsh-usp-btn[aria-expanded="true"] .qsh-usp-text { text-decoration: underline; }
.qsh-usp-btn:focus-visible { outline: 2px solid #F8BF00; outline-offset: 2px; }
.qsh-usp-star { color: #707070; }
.qsh-usp-pop { position: fixed; z-index: 1100; width: min(320px, calc(100vw - 32px)); padding: 12px 14px; background: #fff; border: 1px solid #ebebeb; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); font-size: .8125rem; line-height: 1.45; color: #525252; }
.qsh-usp-pop strong { display: block; margin-bottom: 4px; color: #333; }
.qsh-usp-pop a { display: inline-block; margin-top: 6px; font-weight: 600; }

/* Schmale Bildschirme: immer nur EIN Vorteil, wechselt automatisch (js/custom.js).
   Ohne JavaScript bleibt der erste Vorteil stehen. */
@media (max-width: 1199.98px) {
  .qsh-usp-list { justify-content: center; overflow: hidden; }
  .qsh-usp { display: none; }
  .qsh-usp-list:not(.qsh-rotating) .qsh-usp:first-child,
  .qsh-usp.is-active { display: block; animation: qshUspIn .4s ease; }
}
@keyframes qshUspIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .qsh-usp.is-active { animation: none; }
}

/* Startseite allgemein */
.qsh-home { padding-bottom: 2rem; }
.qsh-section-title { font-family: Montserrat, sans-serif; font-size: 1.5rem; margin: 2.5rem 0 1rem; color: #333; }
.qsh-more { font-weight: 700; font-size: .875rem; color: #b98f00; text-decoration: none; }
.qsh-btn { font-weight: 700; }
.qsh-home a:not(.btn) { text-decoration: none; }

/* Hinweis: NOVA gibt jedem "main section" 4rem Innenabstand oben und unten.
   Unsere <section>-Bereiche setzen deshalb padding selbst (0 bzw. 24px). */

/* Saison-Banner */
.qsh-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 0; padding: 0; }
/* NOVA setzt oben im Inhaltsbereich 4rem (Handy 2rem) Abstand. Auf der neuen Startseite reicht weniger. */
#content-wrapper:has(.qsh-home) { padding-top: 1.25rem; }
.qsh-hero-main, .qsh-teaser { display: flex; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); overflow: hidden; color: #525252; transition: box-shadow .2s; }
.qsh-hero-main:hover, .qsh-teaser:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .14); color: #525252; }
.qsh-hero-main { min-height: 340px; }
.qsh-hero-text { flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; padding: 2rem; background: linear-gradient(135deg, #fff 0%, #fff8e1 100%); }
.qsh-hero-text p { margin-bottom: 1.25rem; font-size: 1rem; }
.qsh-hero-text .qsh-btn { align-self: flex-start; }
.qsh-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b98f00; }
.qsh-hero-title { font-family: Montserrat, sans-serif; font-size: 2rem; line-height: 1.15; margin: .4rem 0 .8rem; color: #2b2b2b; }
.qsh-hero-pic { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.qsh-hero-pic img { max-height: 300px; width: auto; height: auto; max-width: 100%; object-fit: contain; }
.qsh-teasers { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.qsh-teaser { align-items: center; gap: 12px; padding: 1rem; }
.qsh-teaser img { width: 40%; height: auto; max-height: 140px; object-fit: contain; }
.qsh-teaser-title { font-family: Montserrat, sans-serif; font-size: 1.1rem; margin: 0 0 .3rem; color: #2b2b2b; }
.qsh-teaser p { margin: 0 0 .4rem; font-size: .875rem; }

/* Hinweise (Versandstatus, Betriebsferien) */
.qsh-notice { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 6px 12px; margin-top: 1.25rem; padding: 12px 16px; border-radius: 8px; font-size: .875rem; color: #333; }
.qsh-notice .qsh-ic { width: 22px; height: 22px; }
.qsh-notice small { color: #707070; }
.qsh-notice > a { font-weight: 600; white-space: nowrap; text-decoration: underline !important; color: #333; }
.qsh-notice-ship { background: #e3fae5; border-left: 4px solid #62bf6c; }
.qsh-notice-holiday { background: #e3ecfa; border-left: 4px solid #325fa6; }

/* Themenwelten */
.qsh-worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; }
.qsh-world { display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.qsh-world:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .14); transform: translateY(-3px); }
.qsh-world-img { display: flex; align-items: center; justify-content: center; height: 190px; padding: 14px; }
.qsh-world-img img { max-height: 100%; width: auto; height: auto; max-width: 100%; object-fit: contain; }
.qsh-world-body { flex: 1; display: flex; flex-direction: column; padding: 0 16px 16px; border-top: 3px solid #F8BF00; }
.qsh-world-title { font-family: Montserrat, sans-serif; font-size: 1.1rem; margin: .7rem 0 .4rem; }
.qsh-world-title a { color: #2b2b2b; }
.qsh-world ul { margin: 0 0 .6rem; padding: 0; list-style: none; font-size: .875rem; }
.qsh-world li a { display: block; padding: 2px 0; color: #525252; }
.qsh-world li a:hover { text-decoration: underline; }
.qsh-world li a::before { content: "\203A  "; color: #b98f00; font-weight: 700; }
.qsh-world .qsh-more { margin-top: auto; }

/* Produkt-Slider */
.qsh-slider { margin-top: 1.5rem; }

/* Produkt-Highlight (qs/highlight.tpl) */
.qsh-highlight { margin-top: 2.5rem; }
.qsh-highlight .qsh-hero-title { font-size: 1.75rem; }
.qsh-highlight .qsh-facts { margin-bottom: 1.25rem; font-size: .9375rem; }
.qsh-hero-pic.is-photo { padding: 0; align-self: stretch; }
.qsh-hero-pic.is-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* Ersatzteile */
.qsh-parts { display: grid; grid-template-columns: 1.1fr 2fr; gap: 24px; align-items: center; margin-top: 2.5rem; padding: 24px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.qsh-parts .qsh-section-title { margin-top: 0; }
.qsh-parts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.qsh-part { display: block; padding: 10px 6px; border: 1px solid #ebebeb; border-radius: 8px; text-align: center; font-size: .8125rem; font-weight: 600; color: #525252; transition: border-color .2s; }
.qsh-part:hover { border-color: #F8BF00; color: #525252; }
.qsh-part img { display: block; width: 100%; height: 80px; margin-bottom: 6px; object-fit: contain; }

/* Markenband (schwarz, Markenfarben aus dem alten Titelbild: Türkis #5BC4E1) */
.qsh-brand { margin-top: 3rem; padding: 0; background: #000; color: #e6e6e6; }
.qsh-brand-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 2rem; }
.qsh-brand-logo { width: 100%; max-width: 360px; height: auto; justify-self: center; }
.qsh-brand-map { width: 100%; max-width: 380px; height: auto; justify-self: end; }
.qsh-brand-text { padding: 2.5rem 0; }
.qsh-brand-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5BC4E1; }
.qsh-brand-title { font-family: Montserrat, sans-serif; font-size: 1.6rem; line-height: 1.25; margin: .4rem 0 .8rem; color: #fff; }
.qsh-brand-text p { font-size: .9375rem; margin-bottom: 1rem; }
.qsh-brand-facts { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.qsh-brand-facts li { position: relative; padding: 3px 0 3px 24px; }
.qsh-brand-facts li::before { content: "\2713"; position: absolute; left: 4px; color: #5BC4E1; font-weight: 700; }

/* Bewertungen und Zahlungsarten */
.qsh-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 2rem; padding: 0; }
.qsh-trust.qsh-trust-1 { grid-template-columns: 1fr; }
.qsh-tbox { padding: 20px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); font-size: .875rem; }
.qsh-tbox h3 { font-family: Montserrat, sans-serif; font-size: 1.05rem; margin: 0 0 .6rem; color: #2b2b2b; }
.qsh-facts { margin: 0; padding: 0; list-style: none; }
.qsh-facts li { position: relative; padding: 3px 0 3px 24px; }
.qsh-facts li::before { content: "\2713"; position: absolute; left: 4px; color: #1C871E; font-weight: 700; }
.qsh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qsh-chip { padding: 5px 10px; border: 1px solid #ebebeb; border-radius: 4px; background: #fafafa; font-size: .8125rem; }
.qsh-note { margin: .8rem 0 0; font-size: .8125rem; color: #707070; }
.qsh-note a { text-decoration: underline !important; }

/* SEO-Text */
.qsh-seo { margin-top: 2.5rem; padding: 24px; background: #fff; border-radius: 10px; font-size: .875rem; }
.qsh-seo h2 { font-size: 1.15rem; }
.qsh-seo summary { cursor: pointer; font-weight: 700; color: #b98f00; }
.qsh-seo details[open] summary { margin-bottom: .75rem; }

@media (prefers-reduced-motion: reduce) {
  .qsh-world, .qsh-world:hover { transition: none; transform: none; }
}
@media (max-width: 991.98px) {
  .qsh-hero { grid-template-columns: 1fr; }
  .qsh-teasers { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .qsh-worlds { grid-template-columns: repeat(2, 1fr); }
  .qsh-parts, .qsh-trust, .qsh-trust.qsh-trust-2 { grid-template-columns: 1fr; }
  .qsh-brand-inner { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .qsh-brand-text { grid-column: 1 / -1; grid-row: 1; padding: 2rem 0 0; }
  .qsh-brand-logo, .qsh-brand-map { justify-self: center; max-width: 260px; padding-bottom: 1.5rem; }
}
@media (max-width: 575.98px) {
  .qsh-hero-main { flex-direction: column-reverse; min-height: 0; }
  .qsh-hero-text { padding: 1.25rem; }
  .qsh-highlight .qsh-hero-title { font-size: 1.35rem; }
  .qsh-hero-pic.is-photo img { max-height: 260px; }
  .qsh-brand-title { font-size: 1.3rem; }
  .qsh-brand-logo, .qsh-brand-map { max-width: 100%; }
  .qsh-hero-title { font-size: 1.5rem; }
  .qsh-hero-pic img { max-height: 200px; }
  .qsh-teasers { grid-template-columns: 1fr; }
  .qsh-teaser img { width: 35%; }
  .qsh-worlds { gap: 12px; }
  .qsh-world-img { height: 130px; padding: 10px; }
  .qsh-world-body { padding: 0 12px 12px; }
  .qsh-world-title { font-size: .95rem; }
  .qsh-world ul { display: none; }
  .qsh-parts-grid { grid-template-columns: repeat(3, 1fr); }
  .qsh-parts-grid .qsh-part:nth-child(n+4) { display: none; }
  .qsh-notice { grid-template-columns: 22px 1fr; }
  .qsh-notice > a { grid-column: 2; }
}

