/* Suche (crawl/clean_hooks/suche.py, /suche/suche.js, 2026-11-17): Vorschläge unter den Suchfeldern und Ergebnisseite.
   Auf den Suchseiten im Kopf eingebunden, sonst lädt suche.js die Datei beim ersten Fokus in ein Suchfeld.
   Symbole: Lucide (ISC), als SVG-Maske in currentColor. */
:root {
  --tg-su-lupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  --tg-su-serie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E");
  --tg-su-frage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  --tg-su-seite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
  --tg-su-bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E");
  --tg-su-fett: "Interstate Condensed", "PT Sans Narrow Bold", "Interstate Light Condensed", "PT Sans Narrow", sans-serif;
}
.tg-sv mark, .tg-su mark { background: #d9eadf; color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---- Vorschläge beim Tippen ---- */
.tg-sv {
  position: absolute; z-index: 10040; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: min(560px, 94vw); max-height: min(72vh, 660px); overflow-y: auto; overscroll-behavior: contain;
  box-sizing: border-box; padding: 6px 0; background: #fff; border: 1px solid #d6d6d2; border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .18); text-align: left; font-size: 17px; line-height: 1.3; color: #2f3437;
}
.tg-sv[hidden] { display: none; }
.tg-sv.tg-sv--schwebend { position: fixed; transform: none; }
.tg-sv--menue { position: static; transform: none; width: auto; max-height: 60vh; margin: 8px 0 0; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.tg-sv__kopf {
  padding: 10px 16px 4px; font-family: var(--tg-su-fett); font-size: 13px; letter-spacing: .07em;
  text-transform: uppercase; color: #6b6b69;
}
.tg-sv a.tg-sv__z { display: flex; align-items: center; gap: 12px; padding: 7px 16px; color: #2f3437; text-decoration: none; }
.tg-sv a.tg-sv__z:hover, .tg-sv a.tg-sv__z--aktiv { background: #eef3f0; }
.tg-sv a:focus-visible { outline: 3px solid var(--tg-fokus, #ee7f00); outline-offset: -3px; }
.tg-sv__bild {
  flex: 0 0 48px; width: 48px; height: 48px; box-sizing: border-box; border: 1px solid #ecece8; border-radius: 6px;
  background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tg-sv__bild img { width: 100%; height: 100%; object-fit: contain; }
.tg-sv__bild:empty { background: #eef3f0; border-color: #eef3f0; }
.tg-sv__bild:empty::before { content: ""; width: 24px; height: 24px; background: var(--tg-gruen, #004e2d);
  -webkit-mask: var(--tg-su-seite) center / contain no-repeat; mask: var(--tg-su-seite) center / contain no-repeat; }
.tg-sv__bild--s:empty::before, .tg-sv__bild--k:empty::before { -webkit-mask-image: var(--tg-su-serie); mask-image: var(--tg-su-serie); }
.tg-sv__bild--f:empty::before { -webkit-mask-image: var(--tg-su-frage); mask-image: var(--tg-su-frage); }
.tg-sv__bild--p:empty::before { -webkit-mask-image: var(--tg-su-bild); mask-image: var(--tg-su-bild); background: #9a9a96; }
.tg-sv__text { display: flex; flex-direction: column; min-width: 0; }
.tg-sv__ti { font-family: var(--tg-su-fett); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tg-sv__meta { margin-top: 2px; font-size: 14px; color: #6b6b69; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-sv a.tg-sv__alle {
  justify-content: center; margin-top: 6px; padding: 12px 16px; border-top: 1px solid #e6e6e2;
  font-family: var(--tg-su-fett); color: var(--tg-gruen, #004e2d);
}
.tg-sv__hinweis { padding: 12px 16px 4px; color: #4b4b4a; }
.tg-sv a.tg-sv__vorschlag { color: var(--tg-gruen, #004e2d); font-family: var(--tg-su-fett); text-decoration: underline; }
.tg-sv__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 12px; }
.tg-sv a.tg-sv__chip {
  display: inline-block; padding: 6px 12px; border: 1px solid #d6d6d2; border-radius: 999px; color: #2f3437;
  text-decoration: none; font-size: 15px; line-height: 1.2;
}
.tg-sv a.tg-sv__chip:hover { border-color: var(--tg-gruen, #004e2d); color: var(--tg-gruen, #004e2d); }

/* ---- Ergebnisseite ---- */
.tg-su { margin: 12px 0 64px; color: #2f3437; }
html #body .tg-su ul { list-style: none; margin: 0; padding: 0; }
html #body .tg-su ul > li { margin: 0; padding: 0; list-style: none; }
html #body .tg-su ul > li::before, html #body .tg-su ul > li::marker { content: none !important; }
.tg-su .tg-su__titel { margin: 6px 0 18px; font-size: 34px; line-height: 1.15; }
.tg-su__form { max-width: 780px; margin: 0 0 14px; }
.tg-su__feld {
  display: flex; height: 60px; box-sizing: border-box; border: 2px solid #8f8f8d; border-radius: 6px; overflow: hidden;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.tg-su__feld:focus-within { border-color: var(--tg-gruen, #004e2d); box-shadow: 0 0 0 4px rgba(0, 78, 45, .15); }
html #body .tg-su__feld input[type="search"] {
  flex: 1 1 auto; min-width: 0; width: auto; height: auto; min-height: 0; margin: 0; padding: 0 18px; border: 0;
  border-radius: 0; background: transparent; box-shadow: none; outline: none; font-family: inherit; font-size: 21px;
  color: #2f3437; -webkit-appearance: none; appearance: none;
}
html #body .tg-su__feld input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.tg-su__knopf {
  flex: 0 0 66px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0;
  background: var(--tg-gruen, #004e2d); color: #fff; cursor: pointer; transition: background-color .15s;
}
.tg-su__knopf:hover { background: var(--tg-gruen-hover, #00693c); }
.tg-su__knopf:focus-visible { outline: 3px solid var(--tg-fokus, #ee7f00); outline-offset: -5px; }
.tg-su__lupe { width: 26px; height: 26px; background: currentColor;
  -webkit-mask: var(--tg-su-lupe) center / contain no-repeat; mask: var(--tg-su-lupe) center / contain no-repeat; }
.tg-su__status { min-height: 1.4em; margin: 4px 0 14px; font-size: 18px; color: #4b4b4a; }
.tg-su__filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.tg-su__filter:empty { display: none; }
.tg-su__chip, .tg-su__vorschlag-knopf {
  margin: 0; padding: 8px 16px; border: 1px solid #c9c9c5; border-radius: 999px; background: #fff; color: #2f3437;
  font-family: inherit; font-size: 16px; line-height: 1.2; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s;
}
.tg-su__chip:hover { border-color: var(--tg-gruen, #004e2d); color: var(--tg-gruen, #004e2d); }
.tg-su__chip--aktiv, .tg-su__chip--aktiv:hover { background: var(--tg-gruen, #004e2d); border-color: var(--tg-gruen, #004e2d); color: #fff; }
.tg-su__chip:focus-visible, .tg-su__vorschlag-knopf:focus-visible, .tg-su__mehr:focus-visible { outline: 3px solid var(--tg-fokus, #ee7f00); outline-offset: 2px; }
.tg-su__vorschlag-knopf { padding: 2px 10px; font-family: var(--tg-su-fett); color: var(--tg-gruen, #004e2d); border-color: var(--tg-gruen, #004e2d); }
.tg-su__gruppe { margin: 0 0 40px; }
.tg-su .tg-su__gruppe-titel { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 25px; line-height: 1.2; }
.tg-su__anzahl { padding: 2px 10px; border-radius: 999px; background: #f0f0ed; color: #6b6b69; font-size: 15px; font-family: inherit; font-weight: normal; }
.tg-su__unten { margin-top: 20px; text-align: center; }
.tg-su__mehr {
  min-height: 48px; padding: 10px 28px; border: 2px solid #4b4b4a; border-radius: 4px; background: #fff; color: #4b4b4a;
  font-family: var(--tg-su-fett); font-size: 19px; cursor: pointer; transition: background-color .15s, color .15s;
}
.tg-su__mehr:hover { background: #4b4b4a; color: #fff; }

/* Produkte als Karten */
.tg-su__liste--p { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tg-su a.tg-su__produkt-link {
  display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 12px 12px 14px;
  border: 1px solid #e2e2de; border-radius: 8px; background: #fff; color: #2f3437; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tg-su a.tg-su__produkt-link:hover { border-color: var(--tg-gruen, #004e2d); box-shadow: 0 8px 22px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.tg-su a:focus-visible { outline: 3px solid var(--tg-fokus, #ee7f00); outline-offset: 2px; }
.tg-su__produkt-bild { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; margin: 0 0 10px; overflow: hidden; }
.tg-su__produkt-bild img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tg-su__produkt-bild:empty { background: #f4f4f2; border-radius: 6px; }
.tg-su__produkt-bild:empty::before { content: ""; width: 40%; height: 40%; background: #b5b5b1;
  -webkit-mask: var(--tg-su-bild) center / contain no-repeat; mask: var(--tg-su-bild) center / contain no-repeat; }
.tg-su__serie-bild:empty { display: flex; align-items: center; justify-content: center; }
.tg-su__serie-bild:empty::before { content: ""; width: 56px; height: 56px; background: var(--tg-gruen, #004e2d);
  -webkit-mask: var(--tg-su-serie) center / contain no-repeat; mask: var(--tg-su-serie) center / contain no-repeat; }
.tg-su__produkt-titel { font-family: var(--tg-su-fett); font-size: 17px; line-height: 1.3; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.tg-su__produkt-nr { margin-top: auto; padding-top: 8px; font-size: 14px; color: #6b6b69; }
.tg-su__produkt-serie { font-size: 14px; color: var(--tg-gruen, #004e2d); }

/* Serien und Kategorien */
.tg-su__liste--s { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tg-su a.tg-su__serie-link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #e2e2de; border-radius: 8px;
  background: #fff; color: #2f3437; text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.tg-su a.tg-su__serie-link:hover { border-color: var(--tg-gruen, #004e2d); box-shadow: 0 8px 22px rgba(0, 0, 0, .08); }
.tg-su__serie-bild { display: block; aspect-ratio: 16 / 10; background: #eef3f0; overflow: hidden; }
.tg-su__serie-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tg-su a.tg-su__serie-link:hover .tg-su__serie-bild img { transform: scale(1.04); }
.tg-su__serie-text { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; }
.tg-su__serie-art { font-family: var(--tg-su-fett); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--tg-gruen, #004e2d); }
.tg-su__serie-titel { font-family: var(--tg-su-fett); font-size: 20px; line-height: 1.2; }
.tg-su__serie-sn { font-size: 15px; line-height: 1.4; color: #4b4b4a; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Fragen und Seiten */
.tg-su__liste--f, .tg-su__liste--i { max-width: 900px; border-top: 1px solid #e6e6e2; }
.tg-su .tg-su__liste--f > li, .tg-su .tg-su__liste--i > li { border-bottom: 1px solid #e6e6e2; }
.tg-su a.tg-su__zeile-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px; color: #2f3437; text-decoration: none; }
.tg-su a.tg-su__zeile-link:hover .tg-su__zeile-titel { color: var(--tg-gruen, #004e2d); text-decoration: underline; text-underline-offset: 3px; }
.tg-su__zeile-titel { font-family: var(--tg-su-fett); font-size: 19px; line-height: 1.3; }
.tg-su__zeile-sn { font-size: 16px; line-height: 1.45; color: #4b4b4a; }
.tg-su__zeile-meta { font-size: 14px; color: var(--tg-gruen, #004e2d); word-break: break-word; }

/* Start, keine Treffer */
.tg-su__start, .tg-su__leer { max-width: 780px; margin: 10px 0 18px; }
.tg-su__start-titel, .tg-su__leer-titel { margin: 0 0 6px; font-family: var(--tg-su-fett); font-size: 24px; line-height: 1.25; }
.tg-su__start-tipp, .tg-su__leer-tipp { margin: 6px 0 0; font-size: 18px; color: #4b4b4a; }
.tg-su__vorschlag { margin: 10px 0 0; font-size: 18px; }
.tg-su__beliebt { margin: 18px 0 26px; }
.tg-su__beliebt-titel { margin: 0 0 10px; font-family: var(--tg-su-fett); font-size: 14px; letter-spacing: .07em; text-transform: uppercase; color: #6b6b69; }
.tg-su__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-su a.tg-su__haendler {
  display: inline-flex; align-items: center; min-height: 52px; padding: 10px 24px; box-sizing: border-box; border-radius: 4px;
  background: var(--tg-gruen, #004e2d); color: #fff; font-family: var(--tg-su-fett); font-size: 20px; text-decoration: none;
}
.tg-su a.tg-su__haendler:hover { background: var(--tg-gruen-hover, #00693c); }

@media (max-width: 749px) {
  .tg-su .tg-su__titel { font-size: 26px; }
  .tg-su__feld { height: 54px; }
  html #body .tg-su__feld input[type="search"] { font-size: 18px; padding: 0 14px; }
  .tg-su__knopf { flex-basis: 56px; }
  .tg-su__liste--p { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tg-su a.tg-su__produkt-link { padding: 8px 8px 12px; }
  .tg-su__produkt-titel { font-size: 16px; }
  .tg-su__liste--s { grid-template-columns: 1fr; gap: 10px; }
  .tg-su a.tg-su__serie-link { flex-direction: row; align-items: stretch; }
  .tg-su__serie-bild { flex: 0 0 104px; aspect-ratio: auto; min-height: 96px; }
  .tg-su__serie-text { padding: 10px 12px; min-width: 0; }
  .tg-su__serie-titel { font-size: 18px; }
  .tg-su__serie-sn { -webkit-line-clamp: 2; font-size: 14px; }
  .tg-su .tg-su__gruppe-titel { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-su a.tg-su__produkt-link, .tg-su__serie-bild img { transition: none; }
  .tg-su a.tg-su__produkt-link:hover { transform: none; }
}
