/* Anbaugeräte-Übersicht (02.10.2026). Grundlagen (helle Kopfzeile, Breite) aus ratgeber.css. */
.ag-head { padding: clamp(118px, 13vw, 168px) 0 clamp(24px, 3vw, 40px); }
.ag-head .lead { max-width: 700px; margin: 20px 0 0; }
.ag-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ag-nav a { padding: 10px 14px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 14px/1 var(--text); text-decoration: none; transition: box-shadow .2s, background .2s; }
.ag-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--olive); background: #fff; }
.ag-wrap { padding-bottom: clamp(56px, 7vw, 96px); }
.ag-gruppe { padding-top: clamp(36px, 5vw, 64px); scroll-margin-top: 90px; }
.ag-kopf { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; margin-bottom: 20px; }
.ag-kopf span { grid-row: span 2; font: 700 clamp(28px, 3vw, 40px)/1 var(--display); color: var(--olive); }
.ag-kopf h2 { margin: 0; font: 700 clamp(26px, 2.6vw, 36px)/1.05 var(--display); text-transform: uppercase; color: var(--ink); }
.ag-kopf p { margin: 4px 0 0; color: var(--muted); }
.ag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ag { display: flex; flex-direction: column; overflow: hidden; border-radius: 6px; background: var(--surface); box-shadow: 0 1px 2px rgba(20, 30, 20, .05), 0 18px 40px -28px rgba(25, 31, 21, .4); transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s; }
.ag:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 30, 20, .05), 0 26px 50px -28px rgba(21, 26, 18, .45); }
/* Bild nie beschnitten: ganz sichtbar, dahinter dieselbe Aufnahme weich als Rahmen */
.ag-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; background: var(--surface-2); }
.ag-pic::before { content: ''; position: absolute; inset: -12%; z-index: -1; background: var(--bg) center / cover; filter: blur(22px) saturate(.8) brightness(.95); opacity: .85; }
.ag-pic::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(244, 241, 234, .25), rgba(244, 241, 234, 0)); }
.ag-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(23, 28, 21, .25)); }
.ag-body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.ag-body h3 { margin: 0; font: 700 20px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.ag-body p { flex: 1; margin: 8px 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ag-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.ag-foot b { font: 700 17px/1 var(--display); color: var(--ink); }
.ag-foot span { display: flex; gap: 6px; }
.ag-foot a { padding: 9px 12px; border-radius: 4px; font: 600 13.5px/1 var(--text); text-decoration: none; }
.ag-mehr { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.ag-ask { background: var(--moss-1); color: #fff; }
.ag:hover .ag-ask { background: var(--lime); color: var(--lime-ink); }
@media (max-width: 760px) { .ag-head { padding-top: 104px; } }

/* ---------- Kopf neu (05.10.2026, Nutzer: „Hero der Übersichtsseite komplett überarbeiten“) ----------
   Ein Gerät groß auf dem Streifen, wechselt von selbst; darunter alle Geräte als Leiste. Skript: anbau-uebersicht.js */
.ag-schau { display: flex; flex-direction: column; min-height: 100svh; padding: clamp(96px, 9vw, 118px) 0 clamp(18px, 2.2vw, 30px); }
.ag-schau > .ag-schau-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
.ag-schau h1 { margin: 10px 0 0; font-size: clamp(34px, min(4.6vw, 7.6svh), 78px); line-height: .98; }
.ag-schau h1 span:last-child { color: var(--olive, #56701f); }
.ag-schau .lead { max-width: 620px; margin: clamp(12px, 1.8svh, 20px) 0 0; }
.ag-schau .ag-nav { margin-top: clamp(16px, 2.6svh, 28px); }
.ag-schau-buehne { position: relative; height: clamp(320px, 54svh, 620px); margin-right: calc(-1 * max(0px, (100vw - 1340px) / 2 - 28px)); }
.ag-schau-bild { position: absolute; inset: 0 0 58px; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transform: translateX(7%) scale(.95); transition: opacity .55s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.ag-schau-bild.ist-aktiv { opacity: 1; transform: none; pointer-events: auto; }
.ag-schau-bild.ist-weg { transform: translateX(-7%) scale(.95); }
.ag-schau-bild img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ag-schau-name { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; align-items: baseline; gap: 12px; white-space: nowrap; color: inherit; text-decoration: none; }
.ag-schau-name small { font: 600 11px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: #6b6f63; }
.ag-schau-name b { font: 700 clamp(22px, 2vw, 30px)/1 var(--display); text-transform: uppercase; color: #0b0b0b; }
.ag-schau-name span { font: 600 14px/1 var(--text); color: var(--olive, #56701f); transition: translate .25s; }
.ag-schau-name:hover span { translate: 4px 0; }
.ag-schau-name.neu { animation: ag-name .6s cubic-bezier(.22, 1, .36, 1); }
@keyframes ag-name { from { opacity: 0; transform: translateY(8px); } }
.ag-schau-leiste { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: clamp(14px, 2svh, 24px); padding: 4px 2px 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.ag-schau-leiste::-webkit-scrollbar { display: none; }
.ag-schau-leiste button { position: relative; flex: 1 0 74px; height: 62px; padding: 6px; border: 0; border-radius: 6px; overflow: hidden; scroll-snap-align: center;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(23, 28, 21, .1); cursor: pointer; transition: background .25s, box-shadow .25s; }
.ag-schau-leiste img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .7; transition: opacity .25s, transform .35s; }
.ag-schau-leiste button:hover img { opacity: 1; transform: scale(1.06); }
.ag-schau-leiste button.ist-aktiv { background: #fff; box-shadow: inset 0 0 0 2px var(--olive, #56701f); }
.ag-schau-leiste button.ist-aktiv img { opacity: 1; }
.ag-schau-leiste button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lime, #a4c639); }
.ag-schau.laeuft .ag-schau-leiste button.ist-aktiv::after { animation: ag-lauf var(--dauer, 3800ms) linear forwards; }
@keyframes ag-lauf { to { width: 100%; } }
@media (min-width: 961px) {
  .ag-head.ag-schau .sk-balken { clip-path: polygon(0 78%, 100% 22%, 100% 40%, 0 96%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 58%); mask-image: linear-gradient(90deg, transparent 40%, #000 58%); }
}
@media (max-width: 760px) { .ag-pic { aspect-ratio: 16 / 10; } }
@media (max-width: 960px) {
  .ag-schau { min-height: 0; height: max(600px, 100svh); padding-top: 72px; padding-bottom: 14px; }
  .ag-schau > .ag-schau-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .ag-schau-text { display: contents; }
  .ag-schau .rg-crumb { order: -2; font-size: 10px; letter-spacing: .14em; }
  .ag-schau-buehne { order: -1; flex: 1 1 0; height: auto; min-height: 200px; margin: 0 -16px; }
  .ag-schau-bild { inset: 6px 0 40px; }
  .ag-schau-name b { font-size: 20px; }
  .ag-schau-name small { display: none; }
  .ag-schau h1 { margin-top: 8px; font-size: clamp(28px, min(8vw, 5svh), 40px); }
  .ag-schau h1 span:last-child { display: block; font-size: .78em; margin-top: 2px; }
  .ag-schau .lead { display: none; }
  .ag-schau .ag-nav { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px; scrollbar-width: none; }
  .ag-schau .ag-nav a { flex: none; padding: 9px 12px; font-size: 13px; }
  .ag-head.ag-schau .sk-balken { clip-path: polygon(0 44%, 100% 16%, 100% 28%, 0 56%); }
  .ag-schau-leiste { margin: 12px -16px 0; padding: 4px 16px 6px; }
  .ag-schau-leiste button { flex: 0 0 66px; height: 54px; }
}

/* Karten: Freisteller auf heller Fläche, wie die Gerätseiten (05.10.2026) */
.ag-pic { display: block; background: radial-gradient(80% 90% at 50% 45%, #ffffff 0%, #f1f1ee 60%, #e3e3df 100%); }
.ag-pic::before, .ag-pic::after { display: none; }
.ag-pic img { inset: 9% 8%; width: 84%; height: 82%; object-fit: contain; filter: none; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.ag:hover .ag-pic img { transform: scale(1.05); }

/* 05.10.2026 (Nutzer): Vorschaubilder kleiner, alle Geräte passen in eine Reihe; auf dem Handy steht das aktuelle
   immer in der Mitte und wandert beim automatischen Wechsel mit. Gruppen-Chips nur auf dem Desktop. */
.ag-schau-leiste { gap: 6px; }
.ag-schau-leiste button { flex: 1 1 0; min-width: 0; height: 54px; padding: 5px; }
@media (max-width: 960px) { .ag-schau-bild img { max-width: min(100%, calc(var(--nw, 1400) * 1.25px)); max-height: min(100%, calc(var(--nh, 1400) * 1.25px)); } }   /* nur Handy; Desktop zeigt das Gerät groß wie zuvor */
@media (max-width: 960px) {
  .ag-schau .ag-nav { display: none; }
  .ag-schau h1 { margin-top: 20px; }
  .ag-schau-leiste { padding-inline: calc(50% - 33px); scroll-snap-type: x mandatory; }
  .ag-schau-leiste button { flex: 0 0 66px; height: 54px; }
}
/* Filme der Übersicht als Kacheln (wie Bilder & Videos der Gerätseiten) */
.ag-filme .am-raster { --zh: clamp(200px, 22vw, 320px); }
.ag-filme .am-raster::after { display: none; }   /* zwei Filme füllen die Breite */
/* höhere Gewichtung: .wrap und .sk-anbau h1 aus den Grundstilen überschreiben sonst Abstand und Innenabstand */
@media (max-width: 960px) {
  .ag-head.ag-schau h1 { margin-top: 22px; }
  body.welt .ag-head.ag-schau .ag-schau-leiste { width: auto; margin: 12px 0 0; padding: 4px calc(50% - 33px) 6px; }
}
@media (min-width: 961px) { .ag-head.ag-schau h1 { margin-top: 10px; } }

/* ---------- 05.10.2026, Runde 3 (Nutzer) ---------- */
/* Handy-Kopf: Titel über dem Gerät, Name des Geräts linksbündig darunter, Leiste läuft im Kreis (anbau-uebersicht.js) */
.ag-schau-leiste .klon { display: none; }
@media (max-width: 960px) {
  .ag-head.ag-schau h1 { order: -3; margin: 8px 0 0; }
  .ag-schau .rg-crumb { order: -4; }
  .ag-schau-buehne { order: -2; margin-top: 4px; }
  .ag-schau-bild { inset: 4px 0 38px; }
  .ag-schau-name { left: 0; translate: none; }
  .ag-schau-leiste .klon { display: block; }
  .ag-head.ag-schau .sk-balken { clip-path: polygon(0 58%, 100% 30%, 100% 42%, 0 70%); }
}

/* Alle Videos ganz unten: klein, mit Angaben zum Gerät */
.ag-filme-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(24px, 3vw, 40px); }
.ag-film { margin: 0; display: grid; align-content: start; gap: 12px; }
.ag-film .am-k { display: block; aspect-ratio: 16 / 10; border-radius: 6px; }
.ag-film figcaption { display: grid; gap: 4px; font-size: 14px; line-height: 1.45; color: rgba(238, 240, 234, .72); }
.ag-film figcaption small { font: 600 10.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--lime, #a4c639); }
.ag-film figcaption b { font: 700 18px/1.1 var(--display); text-transform: uppercase; color: #fff; }
.ag-film figcaption a { justify-self: start; margin-top: 2px; font: 600 13.5px/1 var(--text); color: var(--lime, #a4c639); text-decoration: none; }
.ag-film figcaption a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .ag-filme-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ag-filme-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .ag-film figcaption { font-size: 12.5px; }
  .ag-film figcaption span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ag-film figcaption b { font-size: 15px; }
}
/* erstes Video groß (zwei Spalten, zwei Reihen): so geht das Raster bei 13 Videos auf, ohne einzelnes Video am Ende */
.ag-film:first-child { grid-column: span 2; grid-row: span 2; }
.ag-film:first-child figcaption b { font-size: 24px; }
@media (max-width: 1100px) and (min-width: 761px) { .ag-film:first-child { grid-row: auto; } }
@media (max-width: 960px) { .ag-schau-name { left: 16px; } }   /* linksbündig mit Titel und Pfad, nicht am Bildschirmrand */
/* Nutzer 05.10.: auf dem Handy das Gerät kleiner (Desktop bleibt), die Leiste unten läuft an den Rändern weich aus */
@media (max-width: 960px) {
  .ag-schau-buehne { flex: 0 1 auto; height: min(46svh, 360px); min-height: 220px; margin: 10px 0 0; }
  .ag-schau-bild { inset: 0 8% 40px; }
  .ag-schau > .ag-schau-grid { justify-content: flex-start; }
  body.welt .ag-head.ag-schau .ag-schau-leiste { margin-top: auto; padding-top: 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
  .ag-schau-leiste button { flex: 0 0 58px; height: 48px; }
  .ag-head.ag-schau .sk-balken { clip-path: polygon(0 52%, 100% 26%, 100% 37%, 0 63%); }
}
@media (max-width: 960px) {   /* Kopf so hoch wie sein Inhalt, keine leere Fläche zwischen Gerät und Leiste */
  .ag-schau { height: auto; padding-bottom: 26px; }
  body.welt .ag-head.ag-schau .ag-schau-leiste { margin-top: 14px; }
}
/* Nutzer 05.10.: Vorschaubilder am Desktop wieder in der vorherigen Größe (verkleinert werden sollten nur die am Handy) */
@media (min-width: 961px) {
  .ag-schau-leiste { gap: 8px; }
  .ag-schau-leiste button { flex: 1 0 74px; height: 62px; padding: 6px; }
}
/* Nutzer 05.10.: Leiste am Desktop wie am Handy: läuft im Kreis, aktuelles Gerät mittig, schmaler, Ränder weich */
@media (min-width: 961px) {
  .ag-schau-leiste .klon { display: block; }
  body.welt .ag-head.ag-schau .ag-schau-leiste { width: min(calc(100% - 72px), 860px); margin: clamp(14px, 2svh, 24px) auto 0; padding: 4px 0 6px; scroll-snap-type: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .ag-schau-leiste button { flex: 0 0 74px; }
}
/* 12.10.2026 Nutzer: „Preis muss einzeilig bleiben“. Preis immer in eigener Zeile, darunter beide Knöpfe auf voller Breite:
   in allen Karten gleich, egal ob „ab 499 €“ oder „Preis auf Anfrage“ */
.ag-foot { flex-wrap: wrap; row-gap: 12px; }
.ag-foot b { flex-basis: 100%; white-space: nowrap; }
.ag-foot span { flex: 1; }
.ag-foot span a { flex: 1; text-align: center; }
/* 12.10.2026 Nutzer: Leiste mit der Maus ziehen wie das Logoband (anbau-uebersicht.js) */
@media (hover: hover) and (pointer: fine) { .ag-schau-leiste { cursor: grab; } }
.ag-schau-leiste { user-select: none; -webkit-user-select: none; }
.ag-schau-leiste img { -webkit-user-drag: none; pointer-events: none; }
.ag-schau-leiste.zieht { cursor: grabbing; scroll-snap-type: none; }
.ag-schau-leiste.zieht button { cursor: grabbing; }
.ag-schau.zieht, .ag-schau.zieht * { user-select: none; -webkit-user-select: none; }
/* 13.10.2026: netto auf der Karte zuerst, brutto klein darunter */
.ag-foot em { flex-basis: 100%; margin-top: -8px; font-style: normal; font-size: 12.5px; color: var(--muted, #6b6f66); white-space: nowrap; }
