/*
 * Ökologisiert — theme styles on top of Quark 2 (replaces Quark 2's empty custom.css).
 * Brand green comes from the logo; the accent used for links/buttons is the darker
 * #3f7a1f so white-on-green and green-on-white both pass AA contrast.
 */

/* ---------- Tokens ---------- */
:root,
:root[data-theme="light"] {
  --brand: #72bf3b;          /* logo / decorative */
  --brand-dark: #3f7a1f;     /* links, buttons (AA on white) */
  --brand-deep: #2b5614;
  --brand-tint: #eef6e8;
  --footer-bg: #1f271c;
  --footer-text: #c5ceC0;
}
:root[data-theme="light"] {
  --q2-bg: #fafbf8;
  --q2-bg-muted: #eff3ea;
  --q2-text: #232b21;
  --q2-text-strong: #131a11;
  --q2-text-muted: #5f6b5b;
  --q2-nav-bg: rgba(255, 255, 255, 0.92);
  --q2-header-height: 84px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Display font: Fraunces (variable, self-hosted in fonts/fraunces, SIL OFL). A soft, organic serif — replaces Quark's Cal Sans. */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root, :root[data-theme="light"] { --pico-font-family-display: 'Fraunces', Georgia, 'Times New Roman', serif; }
h1, h2, h3, h4, h5, h6,
.card-title :is(h1, h2, h3, h4, h5, h6),
.brand-name, .footer-brand, .hero-slide__title { font-weight: 600; font-variation-settings: "opsz" 48; }

/* ---------- Header ---------- */
#header { border-top: 4px solid var(--brand); }
.brand { gap: 0.8rem; }
.brand .brand-mark { height: 52px; width: 52px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; color: var(--q2-text-strong); }
.brand-tag { font-size: 0.8rem; font-weight: 400; font-style: italic; color: var(--q2-text-muted); font-family: var(--pico-font-family-sans-serif); }
.header-animated.scrolled .brand .brand-mark { height: 42px; width: 42px; }
.header-animated.scrolled .brand-tag { display: none; }

.dropmenu a { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8125rem; font-weight: 600; }
.dropmenu > ul > li > a { border-radius: 0; border-bottom: 3px solid transparent; padding-bottom: 0.4rem; }
.dropmenu a:hover { background: transparent; color: var(--brand-dark); }
.dropmenu > ul > li > a:hover { border-bottom-color: var(--brand); }
.dropmenu a.active,
.dropmenu a.active:hover { background: transparent; color: var(--q2-text-strong); border-bottom-color: var(--brand-dark); }
.dropmenu li > ul a { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; font-weight: 500; border-bottom: 0; white-space: normal; }
.dropmenu li > ul a:hover { background: var(--brand-tint); }
.dropmenu li > ul a.active { background: var(--brand-tint); }

/* header search */
.header-search { position: relative; }
.search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin: 0; padding: 0;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--q2-text-strong); cursor: pointer; font-size: 1.05rem;
}
.search-toggle:hover { background: var(--brand-tint); color: var(--brand-dark); }
.search-popover {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); z-index: 60;
  width: min(360px, 86vw); padding: 0.75rem;
  background: var(--q2-bg-elev); border-radius: var(--q2-radius-md); box-shadow: var(--q2-shadow-dropdown);
}
.search-popover[hidden] { display: none; }
.site-search { position: relative; display: flex; margin: 0; }
.site-search .search-input {
  flex: 1; margin: 0; height: 44px; padding: 0 3rem 0 1rem;
  border-radius: var(--q2-radius-pill); font-size: 1rem;
}
.site-search .search-submit {
  position: absolute; inset-inline-end: 4px; top: 4px; width: 36px; height: 36px; margin: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--brand-dark); color: #fff; cursor: pointer;
  z-index: 3; /* Pico lifts the focused [role=search] input to z-index 2, which would cover the button and swallow its clicks */
}
.site-search .search-submit:hover { background: var(--brand-deep); }
.mobile-search { margin-top: 1.5rem; }
.search-page__form { max-width: 520px; margin: 1rem 0 0; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; background: #101510; overflow: hidden; }
.hero-slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.hero-slider__track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; display: block; overflow: hidden;
  height: clamp(240px, 34vw, 480px); text-decoration: none; outline-offset: -4px;
}
/* Pico recolours links on :hover — the slide text must stay white */
.hero-slide, .hero-slide:hover, .hero-slide:focus-visible { color: #fff; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform 7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s ease;
}
.hero-slide:hover img, .hero-slide:focus-visible img { transform: scale(1.07); filter: saturate(1.12) brightness(1.05); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; transition: opacity 0.4s ease;
  background:
    linear-gradient(to top, rgba(8, 14, 6, 0.88) 0%, rgba(8, 14, 6, 0.4) 38%, rgba(8, 14, 6, 0) 70%),
    linear-gradient(to right, rgba(8, 14, 6, 0.35) 0%, rgba(8, 14, 6, 0) 55%);
}
.hero-slide__caption {
  position: absolute; z-index: 1; inset-inline: 0; bottom: 0;
  max-width: 1100px; margin-inline: auto; padding: 0 5rem 3.5rem; display: block;
}
.hero-slide__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.hero-slide__tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--brand-dark); color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-slide__tag:first-child { background: var(--brand); color: #10230a; }
.hero-slide__title {
  display: block; max-width: 26em; font-family: var(--pico-font-family-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.12; text-wrap: balance; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  background: linear-gradient(var(--brand), var(--brand)) no-repeat 0 100% / 0 3px; padding-bottom: 0.2em;
  transition: background-size 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.35s ease;
}
.hero-slide:hover .hero-slide__title, .hero-slide:focus-visible .hero-slide__title { background-size: 100% 3px; transform: translateY(-3px); }
.hero-slide__cta {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; padding: 0.5rem 1.1rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; background: #fff; color: var(--brand-deep) !important; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.hero-slide__cta i { font-size: 0.75em; transition: transform 0.25s ease; }
.hero-slide:hover .hero-slide__cta, .hero-slide:focus-visible .hero-slide__cta { opacity: 1; transform: none; }
.hero-slide:hover .hero-slide__cta i { transform: translateX(3px); }
.hero-slider__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(16, 21, 16, 0.35); color: #fff; backdrop-filter: blur(6px); cursor: pointer; font-size: 1.1rem;
  opacity: 0.55; transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.hero-slider:hover .hero-slider__nav, .hero-slider__nav:focus-visible { opacity: 1; }
.hero-slider__nav:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-50%) scale(1.1); }
.hero-slider__nav:active { transform: translateY(-50%) scale(0.96); }
.hero-slider__nav--prev { inset-inline-start: 1.25rem; }
.hero-slider__nav--next { inset-inline-end: 1.25rem; }
.hero-slider__dots { position: absolute; z-index: 2; inset-inline: 0; bottom: 1.25rem; display: flex; justify-content: center; align-items: center; gap: 0.4rem; }
.hero-slider__dots button {
  width: 10px; height: 10px; margin: 0; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 0.3s ease, background 0.2s ease;
}
.hero-slider__dots button:hover { background: rgba(255, 255, 255, 0.9); }
.hero-slider__dots button[aria-selected="true"] { background: var(--brand); width: 28px; }
.hero-slider :is(button, a):focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (max-width: 640px) {
  .hero-slide__caption { padding: 0 1.25rem 3rem; }
  .hero-slide__cta { display: none; }
  .hero-slider__nav { display: none; }
}
@media (hover: none) { .hero-slide__cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide img, .hero-slide__title, .hero-slide__cta, .hero-slider__nav { transition: none; }
  .hero-slide:hover img { transform: none; }
}

/* ---------- Home: featured teasers + listing ---------- */
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; padding-block: 2.5rem 3.5rem; }
.featured-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; text-decoration: none;
  padding: 2rem 1.5rem 1.5rem; border-radius: var(--q2-radius-md); border: 1px solid transparent; background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.featured-item:hover, .featured-item:focus-visible { transform: translateY(-6px); background: #fff; border-color: var(--q2-divider); box-shadow: 0 14px 34px rgba(31, 39, 28, 0.12); }
.featured-item:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.featured-item__img { display: block; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: var(--q2-bg-muted); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--brand); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.featured-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.featured-item:hover .featured-item__img { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--brand-dark), 0 10px 24px rgba(63, 122, 31, 0.28); }
.featured-item:hover .featured-item__img img { transform: scale(1.1); }
.featured-item__title { margin: 1.5rem 0 0.5rem; font-size: 1.4rem; transition: color 0.2s ease; }
.featured-item:hover .featured-item__title { color: var(--brand-dark); }
.featured-item__title::before { display: none; }
.featured-item__text { margin: 0 0 1rem; color: var(--q2-text-muted); font-size: 0.95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.featured-item__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.875rem; color: var(--brand-dark); background: var(--brand-tint); transition: background 0.2s ease, color 0.2s ease;
}
.featured-item__more i { font-size: 0.75em; transition: transform 0.25s ease; }
.featured-item:hover .featured-item__more { background: var(--brand-dark); color: #fff; }
.featured-item:hover .featured-item__more i { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .featured-item, .featured-item__img, .featured-item__img img { transition: none; } .featured-item:hover { transform: none; } }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; gap: 3rem; } }

.home-page { padding-top: 2.5rem; }
.listing-head { margin-bottom: 1.75rem; border-bottom: 2px solid var(--q2-divider); padding-bottom: 0.75rem; position: relative; }
.listing-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--brand); }
.listing-head h1, .listing-head h2 { margin: 0; font-size: 1.6rem; }
.listing-head__meta { margin: 0.35rem 0 0; color: var(--q2-text-muted); font-size: 0.9rem; }

.post-card .card-image { position: relative; background: var(--q2-bg-muted); }
.post-card .card-image-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; color: var(--brand); font-size: 2.5rem; }
.play-badge {
  position: absolute; inset-inline-end: 0.6rem; bottom: 0.6rem; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; padding-left: 2px;
  background: rgba(0, 0, 0, 0.62); color: #fff; backdrop-filter: blur(2px);
}
.post-card:hover .play-badge { background: #f00; }
.post-card .card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.label { background: var(--brand-tint); box-shadow: none; color: var(--brand-deep); }
.label:hover { background: var(--brand); color: #10230a; }
.label-primary { background: var(--brand-dark); color: #fff; }
.label-primary:hover { background: var(--brand-deep); color: #fff; opacity: 1; }

.pagination li.active a, .pagination li.active span { background: var(--brand-dark); color: #fff; }
.pagination li a:hover { background: var(--brand-tint); }

/* ---------- Breadcrumbs ---------- */
/* Quark decorates h1/h2 with a ::before mark; Pico makes <nav> a flex row. Neither wanted here. */
#body-wrapper :is(h1, h2)::before { content: none; display: none; }
.crumbs { display: block; font-size: 0.875rem; color: var(--q2-text-muted); margin: 0 0 1.5rem; }
.crumbs a { color: var(--brand-dark); }
.crumbs span[aria-hidden] { margin-inline: 0.25rem; }

/* ---------- Post ---------- */
/* Pico pads `article > header/footer`; the post header, tags and footer line up with the text instead. */
article.post > header, article.post > footer { padding: 0; }
.post-page .container { max-width: 900px; }
.post-header { margin-bottom: 1.5rem; }
.post-header h1 { margin: 0 0 0.75rem; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--q2-text-muted); }
.post-meta time i { margin-right: 0.3rem; color: var(--brand-dark); }
.post-image img { width: 100%; height: auto; border-radius: var(--q2-radius-md); display: block; }
.post-body { margin-top: 1.75rem; font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.post-body p { margin-bottom: 1.1rem; }
.post-tags { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--q2-divider); }
.prev-next .btn { max-width: 48%; }
.prev-next .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prev-next .btn { line-height: 1.3; }

/* ---------- YouTube click-to-load ---------- */
.yt-facade { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #101510; border-radius: var(--q2-radius-md); overflow: hidden; margin: 1.25rem 0; }
.yt-facade--hero { margin: 0; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade__btn {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: #1c2a17 center / cover no-repeat; color: #fff;
}
.yt-facade__btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.05) 55%); }
.yt-facade__play { position: relative; transition: transform 0.15s ease; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5)); }
.yt-facade__btn:hover .yt-facade__play { transform: scale(1.1); }
.yt-facade__note { position: absolute; inset-inline: 0; bottom: 0; padding: 0.7rem 1rem; font-size: 0.78rem; line-height: 1.3; text-align: center; color: rgba(255, 255, 255, 0.9); }
.yt-facade noscript a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }

/* ---------- Text content (posts and pages) ---------- */
.post-body img, .page-body img { max-width: 100%; height: auto; border-radius: var(--q2-radius); }
.post-body a, .page-body a { text-underline-offset: 2px; }
.post-body ul, .page-body ul, .post-body ol, .page-body ol { margin-bottom: 1.25rem; }
.post-body li, .page-body li { margin-bottom: 0.3rem; }
.page-body h2 { margin-top: 2.25rem; }
.page-body h3 { margin-top: 1.75rem; }
.page-body > h2:first-child, .page-body > h3:first-child { margin-top: 0; }
img.align-right { float: right; margin: 0.25rem 0 1rem 1.5rem; max-width: min(45%, 320px); }
img.align-left { float: left; margin: 0.25rem 1.5rem 1rem 0; max-width: min(45%, 320px); }
.page-body::after, .post-body::after { content: ""; display: block; clear: both; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.gallery p { display: contents; margin: 0; }
.gallery a { display: block; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; transition: opacity 0.15s ease; }
.gallery a:hover img { opacity: 0.88; }
.text-center { text-align: center; }
blockquote { border-inline-start: 4px solid var(--brand); }

/* ---------- Video footer (shared block under video posts) ---------- */
.video-footer { margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--q2-bg-muted); border-radius: var(--q2-radius-md); font-size: 0.95rem; }
.video-footer h2 { margin: 0; font-size: 1.25rem; }
.video-footer h2::before { display: none; }
.video-footer h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--brand-deep); }
.video-footer p { margin: 0; }
.video-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--q2-divider); }
.video-footer .btn { background: #d11; margin-bottom: 0; }
.video-footer .btn:hover { background: #a00; opacity: 1; }
.video-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; padding-block: 1.25rem; }
.video-footer__legal { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.5; color: var(--q2-text-muted); }

/* ---------- Plain pages ---------- */
.page-layout { display: block; }
.page-layout.has-section { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 3.5rem; align-items: start; }
.page-article { max-width: 820px; }
.page-article--wide { max-width: none; }
.page-article--wide > .page-body { max-width: 820px; }
/* no section menu beside it -> use the full container width (Impressum, Datenschutz, AGB, ...) */
.page-layout:not(.has-section) .page-article, .page-layout:not(.has-section) .page-body { max-width: none; }
.page-article > h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1.5rem; padding-bottom: 0.75rem; position: relative; }
.page-article > h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: var(--brand); }
.page-body { font-size: 1.0625rem; line-height: 1.7; }
.page-cards { margin-top: 1.5rem; }
.page-layout.has-section .page-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-nav { position: sticky; top: calc(var(--q2-header-height) + 1.5rem); padding: 1.25rem 1.25rem 0.75rem; background: var(--q2-bg-elev); border-radius: var(--q2-radius-md); box-shadow: var(--q2-shadow-card); border-top: 3px solid var(--brand); }
.section-nav h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.section-nav h2::before { display: none; }
.section-nav h2 a { color: var(--q2-text-strong); text-decoration: none; }
.section-nav ul { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.section-nav li { margin: 0; padding: 0; }
.section-nav li::before { display: none; }
.section-nav li a { display: block; padding: 0.45rem 0.6rem; margin-inline: -0.6rem; border-radius: var(--q2-radius-sm); color: var(--q2-text); text-decoration: none; font-size: 0.925rem; line-height: 1.35; }
.section-nav li a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.section-nav li a.active { background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
@media (max-width: 960px) {
  .page-layout.has-section { grid-template-columns: 1fr; gap: 2rem; }
  .section-nav { position: static; order: -1; }
}

/* ---------- Forms / buttons ---------- */
.btn, .form-wrapper .button-wrapper input[type="submit"], .form-wrapper .button-wrapper button { background: var(--brand-dark); color: #fff; }
.btn:hover, .form-wrapper .button-wrapper input[type="submit"]:hover { background: var(--brand-deep); opacity: 1; color: #fff; }
.btn.btn-ghost { background: var(--q2-bg-elev); color: var(--q2-text-strong); }
.btn.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-deep); }
.form-wrapper { max-width: 640px; margin-top: 1.5rem; }
.form-wrapper .form-group { margin-bottom: 1rem; }

/* ---------- Footer ---------- */
#footer.site-footer { background: var(--footer-bg); color: var(--footer-text); text-align: left; border-top: 4px solid var(--brand); padding-block: 3rem 1.5rem; font-size: 0.925rem; }
#footer.site-footer a { color: #e6efe0; font-weight: 400; }
#footer.site-footer a:hover { color: var(--brand); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--pico-font-family-display); font-size: 1.5rem; color: #fff !important; text-decoration: none; }
.footer-about p { margin: 0.6rem 0 0; max-width: 42ch; line-height: 1.6; }
#footer.site-footer :is(p, li, span) { color: inherit; }
.footer-links ul { display: block; list-style: none; margin: 0; padding: 0; }
.footer-links a { margin: 0; padding: 0; }
.footer-links li { display: block; margin: 0 0 0.5rem; padding: 0; }
.footer-links li::before { display: none; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font-size: 1.15rem; }
.footer-social a:hover { background: var(--brand); color: #10230a !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8125rem; color: #97a392; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Typography ----------
 * Fonts are self-hosted by Quark 2 (css/fonts.css -> fonts/inter, fonts/cal-sans, woff2) — nothing is requested from
 * Google or any other third party. Inter = text, Fraunces = display (see top of file).
 */
:root {
  --text-soft: #313a2f;         /* body copy: a touch softer than headings, still > 11:1 on the page background */
  --measure: 68ch;              /* comfortable line length for reading */
  --rhythm: 1.25rem;            /* base vertical unit between blocks */
}
html { text-size-adjust: 100%; }
body {
  font-optical-sizing: auto;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "kern", "calt", "cv11", "ss01", "ss03";
  text-rendering: optimizeLegibility;
}
html[lang="de"] .post-body, html[lang="de"] .page-body, html[lang="de"] .card-body, html[lang="de"] .featured-item__text { hyphens: auto; hyphenate-limit-chars: 8 4 4; }
.page-body > p:first-child:has(> strong:only-child), .post-body > p:first-child:has(> strong:only-child), :is(h1, h2, h3, h4) { hyphens: manual; }
.page-body > p:first-child:has(> img:only-child) + p:has(> strong:only-child) { hyphens: manual; }
.post-body, .page-body { font-size: 1.125rem; line-height: 1.72; color: var(--text-soft); max-width: var(--measure); letter-spacing: -0.003em; overflow-wrap: break-word; }
.post-body :is(p, li), .page-body :is(p, li) { font-size: inherit; line-height: inherit; color: inherit; text-wrap: pretty; }
.post-body p, .page-body p { margin: 0 0 var(--rhythm); }
.post-body :is(figure, .gallery, pre, table, .yt-facade, iframe), .page-body :is(figure, .gallery, pre, table, .yt-facade, iframe) { max-width: 100%; }

/* lead: pages and posts that open with one bold sentence get a proper standfirst */
.page-body > p:first-child:has(> strong:only-child), .post-body > p:first-child:has(> strong:only-child),
.page-body > p:first-child:has(> img:only-child) + p:has(> strong:only-child) {
  font-size: 1.3rem; line-height: 1.55; letter-spacing: -0.012em; color: var(--q2-text-strong); margin-bottom: 1.6rem;
}
.page-body > p:first-child > strong:only-child, .post-body > p:first-child > strong:only-child,
.page-body > p:first-child:has(> img:only-child) + p > strong:only-child { font-weight: 500; }
strong, b { font-weight: 600; color: var(--q2-text-strong); }
em, i:not([class]) { font-style: italic; }

/* headings: a clear scale and rhythm */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; font-variant-ligatures: common-ligatures; color: var(--q2-text-strong); }
.page-body :is(h2, h3, h4), .post-body :is(h2, h3, h4) { margin: 2.6rem 0 0.8rem; scroll-margin-top: calc(var(--q2-header-height) + 1rem); }
.page-body h2, .post-body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 1.95rem); line-height: 1.2; letter-spacing: -0.012em; }
.page-body h3, .post-body h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.25; letter-spacing: -0.004em; margin-top: 2rem; }
.page-body h4, .post-body h4 { font-family: var(--pico-font-family-sans-serif); font-weight: 600; font-size: 0.8125rem; line-height: 1.3; letter-spacing: 0.11em; text-transform: uppercase; color: var(--brand-dark); margin-top: 1.75rem; }
.page-body :is(h2, h3, h4):first-child, .post-body :is(h2, h3, h4):first-child { margin-top: 0; }
.page-body :is(h2, h3, h4) + :is(p, ul, ol), .post-body :is(h2, h3, h4) + :is(p, ul, ol) { margin-top: 0; }
.post-header h1, .page-article > h1 { letter-spacing: -0.015em; line-height: 1.12; }
.post-header h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); }
.page-article > h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.listing-head h1, .listing-head h2 { letter-spacing: -0.015em; }

/* meta lines & small print: small, tracked-out caps / tabular numbers */
.post-meta, .listing-head__meta, .crumbs { font-feature-settings: "kern", "tnum", "cv11", "ss01"; }
.post-meta { font-size: 0.8125rem; letter-spacing: 0.01em; }
.post-meta time { font-weight: 500; font-variant-numeric: tabular-nums; }
.card-subtitle { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--q2-text-muted); font-variant-numeric: tabular-nums; }
.card-title { font-size: 1.2rem; line-height: 1.28; letter-spacing: -0.005em; text-wrap: balance; }
.card-title a { color: var(--q2-text-strong); text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) no-repeat 0 100% / 0 2px; transition: background-size 0.3s ease, color 0.2s ease; padding-bottom: 0.1em; }
.post-card:hover .card-title a, .card-title a:focus-visible { background-size: 100% 2px; color: var(--brand-deep); }
.post-card .card-body p { font-size: 0.95rem; line-height: 1.6; color: var(--q2-text-muted); text-wrap: pretty; }
.label, .tags a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; }
.btn { font-weight: 600; letter-spacing: 0.01em; }
.dropmenu a { letter-spacing: 0.06em; }

/* links inside running text: brand-coloured, thin underline that firms up on hover */
.post-body a:not(.btn), .page-body a:not(.btn) {
  color: var(--brand-dark); font-weight: 500; text-decoration-line: underline; text-decoration-color: color-mix(in srgb, var(--brand) 55%, transparent);
  text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; transition: text-decoration-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.post-body a:not(.btn):hover, .page-body a:not(.btn):hover { color: var(--brand-deep); text-decoration-color: var(--brand-dark); background: var(--brand-tint); }

/* lists */
.post-body :is(ul, ol), .page-body :is(ul, ol) { padding-inline-start: 1.4rem; margin: 0 0 var(--rhythm); }
.post-body li, .page-body li { margin-bottom: 0.45rem; padding-inline-start: 0.2rem; }
.post-body li::marker, .page-body li::marker { color: var(--brand-dark); font-weight: 600; }
.post-body ul > li::marker, .page-body ul > li::marker { font-size: 1.1em; }
.post-body li > :is(ul, ol), .page-body li > :is(ul, ol) { margin: 0.45rem 0 0.25rem; }

/* quotes */
blockquote { margin: 1.75rem 0; padding: 1rem 1.4rem; border-inline-start: 4px solid var(--brand); background: var(--brand-tint); border-radius: 0 var(--q2-radius-md) var(--q2-radius-md) 0; }
blockquote p { font-size: 1.15rem; line-height: 1.55; font-style: italic; letter-spacing: -0.006em; color: var(--q2-text-strong); margin-bottom: 0.5rem; }
blockquote > :last-child { margin-bottom: 0; }
blockquote :is(footer, cite) { font-size: 0.85rem; font-style: normal; color: var(--q2-text-muted); }

/* code, tables, rules */
code, kbd, samp { font-size: 0.88em; }
:not(pre) > code { padding: 0.12em 0.4em; border-radius: 5px; background: var(--q2-bg-muted); color: var(--brand-deep); font-weight: 500; }
kbd { padding: 0.1em 0.45em; border-radius: 5px; border: 1px solid var(--q2-divider); border-bottom-width: 2px; background: #fff; font-weight: 500; }
pre { font-size: 0.875rem; line-height: 1.6; }
.post-body table, .page-body table { width: 100%; margin: 1.5rem 0; font-size: 0.95rem; line-height: 1.5; border-collapse: collapse; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.post-body :is(th, td), .page-body :is(th, td) { padding: 0.6rem 0.85rem; text-align: left; border-bottom: 1px solid var(--q2-divider); }
.post-body th, .page-body th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--q2-text-muted); border-bottom: 2px solid var(--brand); font-weight: 600; }
.post-body tbody tr:hover, .page-body tbody tr:hover { background: var(--brand-tint); }
hr { margin: 2.5rem 0; border: 0; height: 1px; background: var(--q2-divider); }
figcaption, .post-body img + em { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--q2-text-muted); text-align: center; font-style: normal; }
small, .small { font-size: 0.85rem; }

/* sticky header must not hide anchor targets */
:target { scroll-margin-top: calc(var(--q2-header-height) + 1rem); }

/* footer */
#footer.site-footer { font-size: 0.9375rem; line-height: 1.65; }
#footer.site-footer h3, #footer.site-footer h4 { font-family: var(--pico-font-family-sans-serif); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; }
.footer-brand { letter-spacing: -0.01em; }

@media (max-width: 640px) {
  .post-body, .page-body { font-size: 1.0625rem; line-height: 1.68; }
  .page-body > p:first-child:has(> strong:only-child), .post-body > p:first-child:has(> strong:only-child) { font-size: 1.18rem; }
}
@media print { .post-body, .page-body { max-width: none; font-size: 11pt; } }

/* ---------- Products (templates empfehlungen + produkt) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin: 1rem 0 2rem; }
.page-layout.has-section .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; }
.product-card .card-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.product-card .card-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card .card-body { flex: 1; }
.product-card .card-body p { font-size: 0.95rem; line-height: 1.6; color: var(--q2-text-muted); }
.product-card .card-footer { padding-top: 0; }
.product-related { font-size: 0.85rem; }
.product-note { font-size: 0.9rem; color: var(--q2-text-muted); }
.product-price { font-family: var(--pico-font-family-display, inherit); font-size: 1.6rem; font-weight: 600; color: var(--q2-text-strong); margin: 0; }
.product-price small, .product-tax { font-family: inherit; font-size: 0.8rem; font-weight: 400; color: var(--q2-text-muted); }
.product-page { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; margin: 1rem 0 2rem; align-items: start; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.product-gallery img { width: 100%; height: auto; border-radius: var(--q2-radius-md); }
.product-buy { padding: 1.25rem; background: var(--q2-bg-elev); border-radius: var(--q2-radius-md); box-shadow: var(--q2-shadow-card); border-top: 3px solid var(--brand); }
.product-buy__btn { display: block; text-align: center; margin: 1rem 0; }
.product-stock--out { color: #a00; font-weight: 600; }
.product-facts { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; font-size: 0.875rem; margin: 0 0 1rem; }
.product-facts dt { color: var(--q2-text-muted); }
.product-facts dd { margin: 0; }
.product-legal { font-size: 0.8rem; margin: 0; }
@media (max-width: 820px) { .product-page { grid-template-columns: 1fr; } }
.product-gallery--single { grid-template-columns: 1fr; }
.product-gallery--single img { background: #fff; padding: 0.5rem; }
.product-note--ad { margin: 0 0 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.voucher-code { margin: 0.5rem 0; text-align: center; }
.voucher-code code { display: inline-block; padding: 0.4rem 1.1rem; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.03em; color: var(--brand-dark); background: var(--brand-tint); border: 2px dashed var(--brand); border-radius: var(--q2-radius-md); user-select: all; }
.voucher-hint { font-size: 0.85rem; color: var(--q2-text-muted); margin: 0; }
.product-card .voucher { margin: 0.75rem 0 0; padding: 0.5rem 0.75rem; font-size: 0.9rem; background: var(--brand-tint); border-radius: var(--q2-radius-md); }
.product-card .voucher code { font-weight: 700; color: var(--brand-dark); user-select: all; }

/* ---------- Contact page (template form) ---------- */
.contact-hero { background: linear-gradient(135deg, var(--brand-tint) 0%, #f7fbf3 60%, var(--q2-bg-elev) 100%); border-bottom: 1px solid var(--q2-divider); padding: 3rem 0 2.5rem; }
.contact-hero h1 { margin: 0 0 0.75rem; }
.contact-hero h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--brand); margin-top: 0.75rem; border-radius: 2px; }
.contact-hero__text { max-width: 60ch; }
.contact-hero__text p { margin: 0 0 0.5rem; }
.contact-section { padding-top: 0; margin-top: -1.5rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
.contact-card.form-wrapper { max-width: none; margin: 0; padding: 2rem; background: var(--q2-bg-elev); border-radius: var(--q2-radius-lg, 14px); box-shadow: 0 10px 30px rgba(20, 40, 10, 0.10), 0 1px 3px rgba(20, 40, 10, 0.08); border-top: 4px solid var(--brand); }
.contact-card form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.contact-card form > * { grid-column: 1 / -1; }
.contact-card form > .form-field:nth-of-type(-n+2) { grid-column: auto; }
.contact-card .form-field, .contact-card .form-group { margin: 0 0 1.1rem; }
.contact-card .form-label { display: block; margin: 0 0 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--q2-text-muted); }
.contact-card .required { color: var(--brand-dark); }
.contact-card :is(input, textarea).form-input {
  width: 100%; margin: 0; padding: 0.75rem 0.9rem; font: inherit; color: var(--q2-text-strong);
  background: var(--q2-bg-muted, #f4f6f1); border: 1px solid transparent; border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.contact-card textarea.form-input { min-height: 9rem; resize: vertical; line-height: 1.55; }
.contact-card :is(input, textarea).form-input:hover { border-color: var(--q2-divider); }
.contact-card :is(input, textarea).form-input:focus { outline: none; background: #fff; border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(114, 191, 59, 0.25); }
.contact-card .button-wrapper, .contact-card .buttons { margin-top: 0.5rem; }
.contact-card .button-wrapper :is(input[type="submit"], button) { min-width: 12rem; padding: 0.8rem 1.8rem; border-radius: 999px; font-weight: 600; letter-spacing: 0.01em; box-shadow: 0 4px 14px rgba(63, 122, 31, 0.35); transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.contact-card .button-wrapper :is(input[type="submit"], button):hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(63, 122, 31, 0.4); }
.turnstile-container { min-height: 0; }
.turnstile-note { display: flex; align-items: center; gap: 0.5rem; margin: 0.4rem 0 0; font-size: 0.8rem; color: var(--q2-text-muted); }
.turnstile-container.is-ok .turnstile-note, .turnstile-container.is-loaded .turnstile-note { display: none; }
.turnstile-container.needs-check .turnstile-note { color: #a00; font-weight: 600; }
.contact-side { display: grid; gap: 1.25rem; }
.contact-side__box { padding: 1.5rem; background: var(--q2-bg-elev); border-radius: var(--q2-radius-lg, 14px); box-shadow: var(--q2-shadow-card); }
.contact-side__box h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.contact-links li { margin: 0; padding: 0; }
.contact-links a { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0.7rem; margin: 0 -0.7rem; border-radius: 10px; text-decoration: none; color: var(--q2-text-strong); font-weight: 600; transition: background 0.2s ease; }
.contact-links a:hover { background: var(--brand-tint); }
.contact-links i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); font-size: 1rem; }
.contact-links small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--q2-text-muted); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .contact-card.form-wrapper { padding: 1.4rem; } .contact-card form { grid-template-columns: 1fr; } .contact-card form > .form-field:nth-of-type(-n+2) { grid-column: 1 / -1; } }

/* ---------- About page (template about) ---------- */
.about-hero { background: linear-gradient(135deg, var(--brand-tint) 0%, #f7fbf3 60%, var(--q2-bg-elev) 100%); border-bottom: 1px solid var(--q2-divider); padding: 2rem 0 3rem; overflow: hidden; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0.5rem 0 1rem; }
.about-hero h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--brand); margin-top: 0.9rem; border-radius: 2px; }
.about-hero__lead { max-width: 52ch; font-size: 1.25rem; line-height: 1.6; color: var(--q2-text-strong); margin: 0 0 1.5rem; }
.about-hero__actions, .about-cta__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.about-hero__actions .btn, .about-cta__buttons .btn { margin: 0; border-radius: 999px; padding: 0.7rem 1.4rem; font-weight: 600; }
.btn.btn-yt { background: #d11; color: #fff; }
.btn.btn-yt:hover { background: #a00; color: #fff; }
.about-hero__logo { width: clamp(160px, 26vw, 300px); height: auto; border-radius: 50%; box-shadow: 0 18px 50px rgba(30, 80, 10, 0.28); }

.about-section { padding-top: 3rem; }
.about-heading { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.about-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.about-topics li { margin: 0; padding: 0; list-style: none; }
.about-topics li::before, .about-topics li::marker { content: none; display: none; }
.about-topics a { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.4rem; background: var(--q2-bg-elev); border-radius: var(--q2-radius-lg, 14px); box-shadow: var(--q2-shadow-card); border-top: 3px solid transparent; text-decoration: none; color: var(--q2-text); transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.about-topics a:hover { transform: translateY(-3px); border-top-color: var(--brand); box-shadow: 0 10px 28px rgba(20, 40, 10, 0.14); }
.about-topics i { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; margin-bottom: 0.4rem; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); font-size: 1.2rem; }
.about-topics strong { font-family: var(--pico-font-family-display); font-size: 1.15rem; color: var(--q2-text-strong); }
.about-topics span { font-size: 0.95rem; line-height: 1.5; color: var(--q2-text-muted); }
.about-count { margin: 1.5rem 0 0; color: var(--q2-text-muted); }
.about-count strong { color: var(--brand-dark); font-family: var(--pico-font-family-display); font-size: 1.4rem; }

.about-story { margin: 3.5rem 0; padding: 2.5rem; background: var(--q2-bg-elev); border-radius: var(--q2-radius-lg, 14px); box-shadow: var(--q2-shadow-card); border-left: 4px solid var(--brand); }
.about-story .page-body { max-width: 70ch; }
.about-story img.align-right { max-width: min(38%, 280px); margin: 0.25rem 0 1rem 2rem; transform: rotate(2deg); box-shadow: 0 8px 24px rgba(20, 40, 10, 0.22); }
.about-story .page-body > h2:first-child { font-size: 1.6rem; }

.about-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem 2.5rem; border-radius: var(--q2-radius-lg, 14px); background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); color: #fff; }
.about-cta h2 { margin: 0 0 0.4rem; color: #fff; font-size: 1.5rem; }
.about-cta h2::before { display: none; }
.about-cta p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, 0.85); }
.about-cta .btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; }
.about-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }

@media (max-width: 900px) { .about-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .about-topics { grid-template-columns: 1fr; }
  .about-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-hero__logo { order: -1; width: 120px; }
  .about-story { padding: 1.5rem; }
  .about-story img.align-right { float: none; display: block; max-width: 70%; margin: 0 auto 1.25rem; }
  .about-cta { padding: 1.5rem; }
}

/* Product variants (produkt.html.twig, `variants:`): picker, per-type panels, pinout tables */
.product-variants [data-variant][hidden] { display: none; }
.variant-picker__label { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--q2-text-muted); }
.variant-picker { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.variant-picker__opt { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0.9rem; border: 1px solid var(--q2-border, #d5d9d2); border-radius: var(--q2-radius-md); text-decoration: none; color: var(--q2-text-strong); background: #fff; }
.variant-picker__opt span { font-size: 0.85rem; color: var(--q2-text-muted); }
.variant-picker__opt:hover { border-color: var(--brand); }
.variant-picker__opt.is-active { border-color: var(--brand-dark); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand-dark); }
.variant-buy .product-buy__btn { margin-top: 1rem; }
.variant-detail { margin: 0 0 2rem; }
.variant-detail ul { margin-bottom: 1rem; }
.pinout-wrap { overflow-x: auto; margin: 0.5rem 0; }
.pinout { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.pinout th, .pinout td { padding: 0.35rem 0.6rem; text-align: left; border-bottom: 1px solid var(--q2-border, #e3e6df); }
.pinout thead th { font-size: 0.8rem; color: var(--q2-text-muted); }
.pinout tbody th { width: 3rem; font-variant-numeric: tabular-nums; }
.pinout td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.product-intro { max-width: 68ch; margin: 0 0 0.75rem; }
.product-gallery-wrap { min-width: 0; }
.product-gallery__main { display: block; background: #fff; border-radius: var(--q2-radius-md); overflow: hidden; }
.product-gallery__main img { display: block; width: 100%; height: auto; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.product-thumbs li { margin: 0; padding: 0; }
.product-thumbs__item { display: block; border: 2px solid transparent; border-radius: var(--q2-radius-md); overflow: hidden; opacity: 0.75; transition: opacity 0.15s ease, border-color 0.15s ease; }
.product-thumbs__item img { display: block; width: 100%; height: auto; }
.product-thumbs__item:hover, .product-thumbs__item.is-active { opacity: 1; }
.product-thumbs__item.is-active { border-color: var(--brand-dark); }
.product-thumbs li::marker { content: ""; }
.product-thumbs li::before, .product-thumbs li::after { content: none; }

/* ---------- Guide pages (template guide: tiles / videos / linkgroups / cta blocks) ---------- */
.guide-block { margin: 2.25rem 0; }
.guide-block > h2 { margin-bottom: 0.4rem; }
.guide-intro { margin: 0 0 1rem; color: var(--q2-text-muted); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.page-layout.has-section .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-tile { padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.guide-tile__head { display: flex; align-items: center; gap: 0.75rem; }
.guide-tile h3 { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.guide-tile h3::before { display: none; }
.guide-tile > p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--q2-text-muted); }
.guide-icon { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-dark); font-size: 1.05rem; }
.guide-links { list-style: none; margin: auto 0 0; padding: 0.35rem 0 0; display: flex; flex-direction: column; gap: 0.3rem; }
.guide-links li { margin: 0; padding: 0; }
.guide-links li::marker { content: ""; }
.guide-links li::before, .guide-links li::after { content: none; display: none; }
.guide-links a { font-size: 0.9rem; line-height: 1.4; }
.guide-links--chips { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
.guide-links--chips a { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.guide-links--chips a:hover { background: var(--brand); color: #10230a; }
.guide-block .guide-links a:not(.btn) { background-image: none; }
.guide-grid--videos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.page-layout.has-section .guide-grid--videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .page-layout.has-section :is(.guide-grid, .guide-grid--videos) { grid-template-columns: 1fr; } }
.guide-video .card-title { font-size: 1.1rem; }
.guide-video .step-badge { position: absolute; inset-inline-start: 0.6rem; top: 0.6rem; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; background: var(--brand); color: #10230a; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.guide-video .card-body p { display: block; margin: 0; }
.guide-cta { padding: 1.5rem 1.75rem; border-radius: var(--q2-radius-md); background: var(--brand-tint); border-left: 4px solid var(--brand); }
.guide-cta p { margin: 0 0 0.9rem; }
.guide-cta .guide-cta__buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.guide-cta .btn { margin: 0; border-radius: 999px; }

/* Product links in posts ("Mehr Infos" + thumbnail) and their popup (initProductPopups() in oekologisiert.js) */
.product-link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.1rem 0.55rem 0.1rem 0.15rem; vertical-align: middle; font-size: 0.9rem; text-decoration: none; color: var(--brand-dark); background: var(--brand-tint); border-radius: 999px; }
.product-link:hover { text-decoration: underline; }
.product-link img { width: 1.75rem; height: 1.75rem; object-fit: contain; background: #fff; border-radius: 50%; }

/* ---------- Home page (template home, "magazine" mode on page 1) ----------
   Sections: intro band with live numbers (.home-intro), newest posts (the listing), topic tiles from the tags
   (.home-topics), "Video des Tages" (.home-vod), random archive finds (.home-discover), Tipps & Hilfe (.home-tipps),
   random product picks (.home-products) and the about/subscribe band (.home-about). */
.home-kicker { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.45rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark); }
.home-kicker i { font-size: 0.95em; }
.home-kicker--light { color: var(--brand); }
:is(.home-intro, .home-section, .home-vod, .home-about) :is(h1, h2)::before { display: none; }

/* intro band */
.home-intro { position: relative; overflow: hidden; padding: 3.25rem 0 3rem; background: linear-gradient(135deg, var(--brand-tint) 0%, #f7fbf3 55%, #fff 100%); border-bottom: 1px solid var(--q2-divider); }
.home-intro::before, .home-intro::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(40px); opacity: 0.55; }
.home-intro::before { width: 420px; height: 420px; right: -140px; top: -200px; background: var(--brand); }
.home-intro::after { width: 260px; height: 260px; left: -120px; bottom: -160px; background: #c9e6b3; }
.home-intro__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.home-intro__claim { margin: 0 0 1rem; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; text-wrap: balance; color: var(--q2-text-strong); }
.home-intro__lead { margin: 0 0 1.6rem; max-width: 56ch; font-size: 1.125rem; line-height: 1.6; color: var(--q2-text); }
.home-intro__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.home-intro__actions .btn { margin: 0; border-radius: 999px; padding: 0.7rem 1.3rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.home-intro__actions .btn i { font-size: 0.85em; }
.home-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.home-stats div { display: flex; flex-direction: column-reverse; padding: 1.1rem 1.25rem 1rem; background: #fff; border-radius: var(--q2-radius-lg); box-shadow: var(--q2-shadow-card); border-top: 3px solid var(--brand); transition: transform 0.2s ease; }
.home-stats div:hover { transform: translateY(-3px); }
.home-stats dd { margin: 0; font-family: var(--pico-font-family-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; line-height: 1; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.home-stats dt { margin: 0 0 0.25rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--q2-text-muted); }

/* generic section frame */
.home-section { padding: 3.75rem 0; }
.home-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.home-section__head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.home-section__note { margin: 0; font-size: 0.9rem; color: var(--q2-text-muted); }
.home-section__all { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.9375rem; color: var(--brand-dark); text-decoration: none; background-image: none; }
.home-section__all i { font-size: 0.8em; transition: transform 0.2s ease; }
.home-section__all:hover { color: var(--brand-deep); }
.home-section__all:hover i { transform: translateX(3px); }
.home-section__head .btn { margin: 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5rem; }
.home-page--magazine { padding-bottom: 3rem; }
.home-page--magazine .listing-head { margin-top: 0; }
.home-more { margin: 2.25rem 0 0; text-align: center; }
.home-more .btn { margin: 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5rem; }

/* year archive chips in the listing head */
/* Pico makes <nav> a space-between flex row; this one is a plain chip row */
.year-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0.4rem; margin-top: 0.85rem; font-size: 0.85rem; }
.year-nav > span { color: var(--q2-text-muted); margin-right: 0.2rem; }
.year-nav a { display: inline-flex; align-items: baseline; gap: 0.3rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--q2-bg-muted); color: var(--q2-text); font-weight: 600; text-decoration: none; background-image: none; transition: background 0.15s ease, color 0.15s ease; }
.year-nav a small { font-size: 0.75em; font-weight: 500; color: var(--q2-text-muted); }
.year-nav a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.year-nav a.active { background: var(--brand-dark); color: #fff; }
.year-nav a.active small { color: rgba(255, 255, 255, 0.75); }

/* topic tiles (mosaic: first tile 2x2) + tag cloud */
.home-topics { background: var(--q2-bg); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 1rem; }
.topic-tile { position: relative; display: block; overflow: hidden; border-radius: var(--q2-radius-lg); background: #101510; color: #fff; text-decoration: none; background-image: none; outline-offset: -4px; }
.topic-tile--lead { grid-column: span 2; grid-row: span 2; }
.topic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease; }
.topic-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 6, 0.55) 0%, rgba(8, 14, 6, 0.15) 50%, rgba(8, 14, 6, 0) 80%); transition: opacity 0.3s ease; }
.topic-tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.topic-tile:hover img, .topic-tile:focus-visible img { transform: scale(1.07); filter: saturate(1.1); }
.topic-tile:hover::before, .topic-tile:focus-visible::before { transform: scaleX(1); }
.topic-tile:focus-visible { outline: 3px solid var(--brand); }
/* the label sits on a frosted panel: YouTube thumbnails carry their own big text, so a gradient alone is not readable */
.topic-tile__body { position: absolute; z-index: 1; left: 0.9rem; bottom: 0.9rem; max-width: calc(100% - 1.8rem); display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 1rem 0.75rem; border-radius: var(--q2-radius-md); background: rgba(8, 14, 6, 0.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.12); transition: background 0.25s ease, transform 0.25s ease; }
.topic-tile:hover .topic-tile__body { background: rgba(43, 86, 20, 0.78); transform: translateY(-3px); }
.topic-tile__body strong { font-family: var(--pico-font-family-display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: #fff; } /* Pico colours <strong> dark */
.topic-tile--lead .topic-tile__body { left: 1.25rem; bottom: 1.25rem; padding: 0.9rem 1.3rem 1rem; }
.topic-tile--lead .topic-tile__body strong { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.topic-tile__body span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); }
.tag-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.5rem 0 0; padding: 0; }
.tag-cloud li { margin: 0; padding: 0; }
.tag-cloud li::before, .tag-cloud li::marker { content: none; display: none; }
.tag-cloud a { display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: 0.85rem; font-weight: 600; text-decoration: none; background-image: none; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.tag-cloud a small { font-size: 0.75em; font-weight: 500; opacity: 0.7; }
.tag-cloud a:hover { background: var(--brand); color: #10230a; transform: translateY(-2px); }

/* video of the day (dark band) */
.home-vod { padding: 3.75rem 0; color: #fff; background: #101510 radial-gradient(ellipse at 15% 20%, rgba(114, 191, 59, 0.22), transparent 55%); }
.home-vod__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.75rem; align-items: center; }
.home-vod__player { margin: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); border-radius: var(--q2-radius-lg); }
.home-vod__text h2 { margin: 0 0 0.8rem; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; color: #fff; }
.home-vod__text h2 a { color: #fff; text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) no-repeat 0 100% / 0 2px; transition: background-size 0.4s ease; }
.home-vod__text h2 a:hover { color: #fff; background-size: 100% 2px; }
.home-vod__teaser { margin: 0 0 0.9rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.home-vod__meta { margin: 0 0 1.4rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.home-vod__meta a { color: var(--brand); text-decoration: none; background-image: none; }
.home-vod__meta a:hover { color: #fff; }
.home-vod .btn-ghost { margin: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; display: inline-flex; align-items: center; gap: 0.5rem; }
.home-vod .btn-ghost:hover { background: var(--brand); color: #10230a; }

/* random finds: fade while a fresh set is fetched, pop in afterwards */
.discover-grid { transition: opacity 0.25s ease; }
.discover-grid.is-mixing { opacity: 0.35; pointer-events: none; }
@keyframes home-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.discover-grid.is-fresh .post-card { animation: home-pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.discover-grid.is-fresh .post-card:nth-child(2) { animation-delay: 0.08s; }
.discover-grid.is-fresh .post-card:nth-child(3) { animation-delay: 0.16s; }
.home-discover .btn-ghost i { transition: transform 0.4s ease; }
.home-discover .btn-ghost:hover i { transform: rotate(180deg); }

/* Tipps & Hilfe */
.home-tipps { background: var(--brand-tint); }
.tipp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.tipp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--q2-radius-lg); background: #fff; color: inherit; text-decoration: none; background-image: none; box-shadow: var(--q2-shadow-card); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tipp-card:hover, .tipp-card:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(31, 39, 28, 0.16); }
.tipp-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.tipp-card__img { display: block; overflow: hidden; background: var(--q2-bg-muted); }
.tipp-card__img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.tipp-card:hover .tipp-card__img img { transform: scale(1.05); }
.tipp-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.25rem 1.25rem; }
.tipp-card__body strong { font-family: var(--pico-font-family-display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; color: var(--q2-text-strong); }
.tipp-card__body span { font-size: 0.92rem; line-height: 1.5; color: var(--q2-text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tipp-card__body em { margin-top: auto; padding-top: 0.4rem; font-style: normal; font-weight: 600; font-size: 0.875rem; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 0.4rem; }
.tipp-card__body em i { font-size: 0.8em; transition: transform 0.2s ease; }
.tipp-card:hover .tipp-card__body em i { transform: translateX(3px); }

/* products on the home page */
.home-products .product-note { margin: -0.75rem 0 1.25rem; }
.product-grid--home { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 0; }

/* about / subscribe band */
.home-about { padding: 3.5rem 0; color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); }
.home-about__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.home-about__logo { width: clamp(120px, 16vw, 190px); height: auto; border-radius: 50%; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.home-about h2 { margin: 0 0 0.6rem; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.home-about__text > p { margin: 0; max-width: 60ch; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.home-about__buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.home-about__buttons .btn { margin: 0; border-radius: 999px; padding: 0.65rem 1.3rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.home-about .btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; }
.home-about .btn-ghost:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

@media (max-width: 1000px) {
  .home-intro__grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-vod__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 820px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .topic-tile--lead { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
  .home-intro { padding: 2.25rem 0; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .home-stats div { padding: 0.9rem 1rem 0.8rem; }
  .home-section, .home-vod, .home-about { padding: 2.75rem 0; }
  .topic-grid { grid-template-columns: 1fr; grid-auto-rows: 150px; }
  .topic-tile--lead { grid-column: span 1; }
  .home-about__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-about__logo { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .topic-tile img, .tipp-card__img img, .home-stats div, .tipp-card, .tag-cloud a { transition: none; }
  .discover-grid.is-fresh .post-card { animation: none; }
}

/* ---------- /empfehlungen: own-products band, toolbar, tiles, list layout, "Nach Video" headers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.product-browser [hidden], .own-band [hidden] { display: none !important; }

.own-band { margin: 1.5rem 0 2.5rem; }
.own-band h2 { margin: 0 0 1rem; font-size: 1.45rem; }
.own-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; }
.own-band .product-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 1.25rem; padding: 1rem; border-left: 4px solid var(--brand); }
.own-band .product-card .card-image { grid-row: 1 / span 3; aspect-ratio: 1; border-radius: var(--q2-radius-md); }
.own-band .product-card :is(.card-header, .card-body, .card-footer) { padding: 0; }
.own-band .product-card .card-body p { margin: 0 0 0.5rem; font-size: 0.9rem; }
.own-band .product-card .product-price { font-size: 1.35rem; }
.own-band .product-card .card-footer .btn { margin: 0; }
@media (max-width: 480px) {
  .own-band .product-card { grid-template-columns: 96px minmax(0, 1fr); column-gap: 0.9rem; }
  .own-band .product-card .card-footer { grid-column: 1 / -1; margin-top: 0.75rem; }
  .own-band .product-card .card-image { grid-row: 1 / span 2; }
}

.product-toolbar { position: sticky; top: var(--q2-header-height); z-index: 5; margin: 0 0 1rem; padding: 0.75rem 0; background: var(--q2-bg); border-bottom: 1px solid var(--q2-divider); }
.product-toolbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.product-views { display: inline-flex; gap: 0.2rem; padding: 0.2rem; background: var(--q2-bg-muted); border-radius: 999px; }
.product-views__tab { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.95rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--q2-text-muted); text-decoration: none; white-space: nowrap; }
.product-views__tab:hover { color: var(--brand-deep); text-decoration: none; }
.product-views__tab.is-active { background: var(--q2-bg-elev); color: var(--brand-deep); box-shadow: var(--q2-shadow-card); }
.product-search { flex: 1 1 14rem; display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0 0.9rem; background: var(--q2-bg-muted); border-radius: 999px; border: 1px solid transparent; transition: border-color 0.2s ease, background 0.2s ease; }
.product-search:focus-within { background: var(--q2-bg-elev); border-color: var(--brand-dark); }
.product-search i { color: var(--q2-text-muted); font-size: 0.9rem; }
.product-search input[type="search"], .product-search input[type="search"]:focus { flex: 1; width: auto; min-width: 0; height: 2.3rem; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent none; box-shadow: none; outline: none; font: inherit; font-size: 0.95rem; color: var(--q2-text-strong); -webkit-appearance: none; appearance: none; }
.product-search input::-webkit-search-cancel-button { cursor: pointer; }
.product-layout[role="group"] { display: inline-flex; width: auto; gap: 0.25rem; margin: 0 0 0 auto; vertical-align: middle; box-shadow: none; }
.product-layout[role="group"] > button { flex: none; width: 2.25rem; height: 2.25rem; margin: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--q2-divider); background: var(--q2-bg-elev); color: var(--q2-text-muted); border-radius: var(--q2-radius-md); box-shadow: none; cursor: pointer; font-size: 0.9rem; }
.product-layout button:hover { color: var(--brand-deep); }
.product-layout button.is-active { background: var(--brand-tint); color: var(--brand-deep); border-color: var(--brand); }
.product-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; }
.product-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: 0.82rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.product-chip i { font-size: 0.8em; }
.product-chip span { font-weight: 500; opacity: 0.7; font-variant-numeric: tabular-nums; }
.product-chip:hover { background: var(--brand); color: #10230a; text-decoration: none; }
.product-chip.is-active { background: var(--brand-dark); color: #fff; }
.product-chip.is-active span { opacity: 0.85; }
.product-browser__ad { margin: 0 0 1.5rem; }
.product-empty { padding: 2rem 1rem; text-align: center; color: var(--q2-text-muted); }
.product-empty .btn { margin: 0 0 0 0.5rem; }
@media (max-width: 640px) {
  .product-toolbar { position: static; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .product-views { order: 1; } .product-layout { order: 2; } .product-search { order: 3; flex-basis: 100%; }
  .product-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 0.25rem; scrollbar-width: none; }
  .product-chips::-webkit-scrollbar { display: none; }
}

/* sections flow: a section is as wide as its tiles need (--n = number of tiles), so small categories share a row */
.product-view { display: flex; flex-wrap: wrap; gap: 0 2.5rem; }
.product-section { flex: 1 1 calc(var(--n, 4) * 200px); max-width: 100%; min-width: 0; margin: 0 0 2.5rem; scroll-margin-top: calc(var(--q2-header-height) + 7rem); }
.product-section__head h2::before, .product-dialog__title::before { display: none; }
.product-section__head { margin-bottom: 1rem; }
.product-section__head h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 1.45rem; }
.product-section__head h2 > i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); font-size: 0.9rem; }
.product-section__count { font-family: var(--pico-font-family-sans-serif); font-size: 0.75rem; font-weight: 600; color: var(--q2-text-muted); padding: 0.15rem 0.55rem; background: var(--q2-bg-muted); border-radius: 999px; }
.product-section__head > p { margin: 0.35rem 0 0; color: var(--q2-text-muted); font-size: 0.95rem; max-width: 68ch; }
.product-section__head--video { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.product-section__head--video h2 { font-size: 1.3rem; }
.product-section__head--video h2 a { color: inherit; text-decoration: none; }
.product-section__head--video h2 a:hover { color: var(--brand-deep); }
.product-section__head--video .card-subtitle { margin: 0 0 0.2rem; }
.product-section__head--video > div > p:last-child { font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-section__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--q2-radius-md); background: var(--q2-bg-muted); }
.product-section__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .product-section__head--video { grid-template-columns: 110px minmax(0, 1fr); gap: 0.9rem; } .product-section__head--video > div > p:last-child { display: none; } }

/* compact tiles */
.product-grid--tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 0.9rem; margin: 0; }
.product-grid--tiles .product-card .card-image { padding: 0.5rem; }
.product-grid--tiles .card-header { padding: 0.75rem 0.9rem 0; }
.product-grid--tiles .card-subtitle { font-size: 0.66rem; letter-spacing: 0.08em; }
.product-grid--tiles .card-title { font-size: 1rem; line-height: 1.3; }
.product-grid--tiles .card-body { padding: 0.35rem 0.9rem 0.6rem; }
.product-grid--tiles .card-body > p:first-child { margin: 0; font-size: 0.84rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-grid--tiles .product-card .voucher { margin: 0.5rem 0 0; padding: 0.35rem 0.6rem; font-size: 0.8rem; }
.product-grid--tiles .card-footer { padding: 0 0.9rem 0.9rem; display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; }
.product-grid--tiles .card-footer .btn { margin: 0; padding: 0.5rem 0.75rem; font-size: 0.82rem; text-align: center; }
.product-grid--tiles .card-footer .btn-link { font-size: 0.8rem; text-align: center; }
.product-card:target { outline: 3px solid var(--brand); outline-offset: 3px; }

/* list layout (toolbar switch, remembered in localStorage) */
.product-browser.is-list .product-view { display: block; }
.product-browser.is-list .product-grid--tiles { display: flex; flex-direction: column; gap: 0.5rem; }
.product-browser.is-list .product-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img head foot" "img body foot"; align-items: center; column-gap: 1rem; padding: 0.5rem 0.9rem 0.5rem 0.5rem; }
.product-browser.is-list .product-card:hover { transform: none; }
.product-browser.is-list .product-card .card-image { grid-area: img; aspect-ratio: 1; padding: 0; border-radius: var(--q2-radius-sm); }
.product-browser.is-list .card-header { grid-area: head; padding: 0; }
.product-browser.is-list .card-subtitle { display: none; }
.product-browser.is-list .card-title { font-size: 0.95rem; }
.product-browser.is-list .card-body { grid-area: body; padding: 0; flex: none; }
.product-browser.is-list .card-body > p:first-child { -webkit-line-clamp: 1; }
.product-browser.is-list .product-card .voucher { display: inline-block; margin: 0.25rem 0 0; padding: 0.1rem 0.5rem; }
.product-browser.is-list .card-footer { grid-area: foot; padding: 0; flex-direction: row; align-items: center; gap: 0.75rem; }
.product-browser.is-list .card-footer .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .product-browser.is-list .product-card { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "img head" "img body" "foot foot"; }
  .product-browser.is-list .card-footer { margin-top: 0.5rem; justify-content: flex-end; }
}

/* ---------- One recommendation (template empfehlung) and the same block inside the popup ---------- */
.rec-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem 2rem; margin: 1rem 0 2rem; align-items: start; }
.rec-detail__media { grid-column: 1; }
.rec-detail__media img { display: block; width: 100%; height: auto; padding: 0.75rem; background: #fff; border-radius: var(--q2-radius-md); box-shadow: var(--q2-shadow-card); }
.rec-detail__buy { grid-column: 2; grid-row: 1 / span 2; }
.rec-detail__buy > p:first-of-type + p { margin-top: 0; }
.rec-detail__teaser { margin: 0; font-weight: 600; color: var(--q2-text-strong); }
.rec-detail__adnote { margin: -0.5rem 0 1rem; font-size: 0.78rem; color: var(--q2-text-muted); }
.rec-detail__body { grid-column: 1; max-width: 68ch; }
.rec-detail__body > :first-child { margin-top: 0; }
.rec-detail [data-popup-only] { display: none; }
.rec-detail__back { margin: 1rem 0 0; font-size: 0.9rem; }
.rec-detail__related-h { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--q2-text-muted); }
.rec-detail__related ul { list-style: none; margin: 0; padding: 0; }
.rec-detail__related li { margin: 0; padding: 0.3rem 0; font-size: 0.9rem; border-top: 1px solid var(--q2-divider); }
.rec-detail__related li::marker { content: none; }
.rec-detail__related i { font-size: 0.7em; color: var(--brand-dark); margin-right: 0.2rem; }
@media (max-width: 820px) {
  .rec-detail { grid-template-columns: 1fr; }
  .rec-detail__buy { grid-column: 1; grid-row: auto; }
}

/* Pico's <dialog> is a full-screen overlay with the <article> centred in it */
.product-dialog { padding: 1rem; }
.product-dialog__box { position: relative; width: 100%; max-width: 36rem; margin: auto; padding: 1.5rem 1.5rem 1rem; max-height: calc(100vh - 2rem); overflow: auto; background: var(--q2-bg-elev); border-radius: var(--q2-radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.product-dialog__close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1; width: 2.1rem; height: 2.1rem; margin: 0; padding: 0; font-size: 1.4rem; line-height: 1; color: var(--q2-text-strong); background: var(--q2-bg-muted); border: 0; border-radius: 50%; cursor: pointer; box-shadow: none; }
.product-dialog__close:hover { background: var(--brand-tint); color: var(--brand-deep); }
.product-dialog__title { margin: 0 2.5rem 1rem 0; font-size: 1.35rem; line-height: 1.25; }
.product-dialog .rec-detail { display: block; margin: 0; }
.product-dialog .rec-detail__media img { max-height: 240px; width: auto; max-width: 100%; margin: 0 auto 1rem; padding: 0.5rem; box-shadow: none; border: 1px solid var(--q2-divider); }
.product-dialog .rec-detail__buy { margin: 0 0 1rem; padding: 1rem; }
.product-dialog .rec-detail__body { font-size: 0.95rem; max-width: none; }
.product-dialog .rec-detail__body :is(h2, h3) { font-size: 1.1rem; margin: 1.25rem 0 0.4rem; }
.product-dialog .rec-detail__body pre { font-size: 0.95rem; }
.product-dialog .rec-detail [data-popup-only] { display: block; margin-top: 1rem; }
.product-dialog__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--q2-divider); font-size: 0.85rem; }

/* ---------- Error page (template error: 404 with search, section buttons and the newest posts) ---------- */
.error-page { max-width: 44rem; margin: 2rem auto 2.5rem; text-align: center; }
.error-code { margin: 0; font-family: var(--pico-font-family-display, inherit); font-weight: 600; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--brand); }
.error-page h1 { margin: 0.25rem 0 0.75rem; }
.error-page h1::before { display: none; }
.error-text { margin: 0 auto 1.5rem; color: var(--q2-text-muted); }
.error-search { max-width: 26rem; margin: 0 auto 1.5rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0; }
.error-actions .btn { margin: 0; border-radius: 999px; }
.error-more { margin-top: 1rem; text-align: center; }
.error-more::before { display: none; }

/* ---------- Maintenance page (template maintenance: the site is closed, a storage being charged) ---------- */
.maint-page { max-width: 40rem; margin: 2.5rem auto 3.5rem; text-align: center; }
.maint-art { position: relative; width: min(17rem, 70%); margin: 0 auto 2rem; }
.maint-art::before { content: ""; position: absolute; inset: -38% -24%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(114, 191, 59, 0.28), rgba(114, 191, 59, 0)); }
.maint-art svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
.maint-art__case { fill: #fff; stroke: var(--q2-text-strong); stroke-width: 6; }
.maint-art__pole { fill: var(--q2-text-strong); }
.maint-art__cell { fill: var(--brand); opacity: 0.16; animation: 3.6s ease-in-out infinite; }
.maint-art__cell--1 { animation-name: maint-cell-1; }
.maint-art__cell--2 { animation-name: maint-cell-2; }
.maint-art__cell--3 { animation-name: maint-cell-3; }
.maint-art__cell--4 { animation-name: maint-cell-4; }
@keyframes maint-cell-1 { 0%, 5% { opacity: 0.16; } 15%, 90% { opacity: 1; } 100% { opacity: 0.16; } }
@keyframes maint-cell-2 { 0%, 25% { opacity: 0.16; } 35%, 90% { opacity: 1; } 100% { opacity: 0.16; } }
@keyframes maint-cell-3 { 0%, 45% { opacity: 0.16; } 55%, 90% { opacity: 1; } 100% { opacity: 0.16; } }
@keyframes maint-cell-4 { 0%, 65% { opacity: 0.16; } 75%, 90% { opacity: 1; } 100% { opacity: 0.16; } }
@media (prefers-reduced-motion: reduce) {
  .maint-art__cell { animation: none; }
  .maint-art__cell--1, .maint-art__cell--2, .maint-art__cell--3 { opacity: 1; }
}
.maint-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark); }
.maint-page h1 { margin: 0 0 0.9rem; font-size: clamp(2.4rem, 7vw, 3.75rem); line-height: 1.05; }
.maint-page h1::before { display: none; }
.maint-text { max-width: 34rem; margin: 0 auto 1.75rem; font-size: 1.0625rem; color: var(--q2-text-muted); }
.maint-text > :last-child { margin-bottom: 0; }
.maint-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0; }
.maint-actions .btn { margin: 0; border-radius: 999px; padding: 0.7rem 1.4rem; }
