/* Vogeler – Anhänger & Gartengeräte · Stylesheet */
:root {
  --ink: #16202a;
  --ink-soft: #4a5866;
  --muted: #6b7783;
  --line: #e3e1db;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --brand: #0e3a59;
  --brand-dark: #092a41;
  --accent: #ee6a1f;
  --accent-dark: #c9530f;
  --accent-soft: #fdeee4;
  --ok: #1f7a4d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 32, 42, .06), 0 8px 24px rgba(22, 32, 42, .06);
  --shadow-lg: 0 2px 4px rgba(22, 32, 42, .08), 0 18px 48px rgba(22, 32, 42, .12);
  --wrap: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--brand-dark); color: #c9d6e2; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffd2b5; }
.topbar .tb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7cd99f; margin-right: 6px; vertical-align: 1px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark { width: 44px; height: 44px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.45rem; box-shadow: inset 0 -5px 0 var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.35rem; font-weight: 850; letter-spacing: .02em; }
.logo-text span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { background: var(--accent-soft); color: var(--accent-dark); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; vertical-align: 3px; opacity: .6; }
.main-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.main-nav .sub a { font-weight: 500; padding: 9px 12px; }
.main-nav .sub a:hover { background: var(--bg); color: var(--accent-dark); }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: block; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--accent-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--brand-dark); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9, 42, 65, .95) 0%, rgba(9, 42, 65, .75) 45%, rgba(9, 42, 65, .15) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: end; padding-top: 96px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; color: #dce6ef; max-width: 34em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffc8a6; margin-bottom: 14px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hours-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-lg); }
.hours-card h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr:last-child td { border-bottom: 0; }
.hours-card .phone { display: block; margin-top: 16px; font-size: 1.3rem; font-weight: 800; color: var(--brand); text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }

.division-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: -40px; position: relative; z-index: 2; }
.division { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 300px; color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); background: var(--brand); }
.division img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.division:hover img { transform: scale(1.04); }
.division::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 25, 38, .92) 5%, rgba(9, 25, 38, .15) 70%); }
.division-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
.division h2 { margin-bottom: .25em; font-size: 1.8rem; }
.division p { margin: 0 0 14px; color: #d9e2ea; }
.division .more { font-weight: 700; color: #ffc8a6; }
.division:hover { color: #fff; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.tile-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tile-img.photo img { object-fit: cover; padding: 0; }
.tile-img.empty { background: linear-gradient(135deg, var(--brand) 0%, #1b5680 100%); color: #fff; font-size: 2.4rem; font-weight: 800; }
.tile-body { padding: 14px 16px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tile-body strong { font-size: 1.02rem; line-height: 1.3; }
.tile-body .arrow { color: var(--accent); font-weight: 800; flex: none; }
.tile-group + .tile-group { margin-top: 40px; }
.tile-group h2 { font-size: 1.3rem; }

/* ---------- Page layout ---------- */
.page-head { background: var(--brand); color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(238, 106, 31, .18); }
.page-head h1 { margin: 0; position: relative; z-index: 1; }
.crumbs { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: #b8cad9; position: relative; z-index: 1; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.crumbs a { color: #e3ecf3; text-decoration: none; }
.crumbs a:hover { color: #ffc8a6; }

.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding: 44px 0 80px; align-items: start; }
.layout.full { grid-template-columns: minmax(0, 1fr); }
.sidenav { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-height: calc(100vh - 120px); overflow: auto; }
.sidenav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 8px 10px; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav ul ul { margin: 2px 0 8px 10px; padding-left: 8px; border-left: 2px solid var(--line); }
.sidenav a { display: block; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-soft); font-size: .94rem; line-height: 1.35; }
.sidenav a:hover { background: var(--bg); color: var(--ink); }
.sidenav a.current { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }
.sidenav .grp { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 10px 2px; }

.content { overflow-wrap: anywhere; }
.content > *:first-child { margin-top: 0; }
.content h2 { margin-top: 1.6em; padding-top: .2em; }
.content h3 { margin-top: 1.4em; }
.prose { max-width: 75ch; }
.prose ul { padding-left: 1.2em; }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.6em; }
.notice p:last-child { margin: 0; }
.notice.warn { border-left-color: #c62828; background: #fff6f5; }
.notice.warn strong { color: #b71c1c; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin: 0 0 1.8em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-img { display: block; background: #fff; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card-body { padding: 18px 20px 20px; font-size: .97rem; }
.card-body p { margin: 0 0 .6em; }
.card-body > *:last-child { margin-bottom: 0; }
.cards.wide { grid-template-columns: 1fr; }
.cards.wide .card { flex-direction: row; }
.cards.wide .card-img { flex: 0 0 38%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); min-height: 240px; }

.prices { list-style: none; margin: 0 0 .4em; padding: 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.prices li:last-child { border-bottom: 0; }
.prices .model { color: var(--ink); }
.prices .model b { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0 7px; margin-right: 6px; font-size: .85rem; font-weight: 700; color: var(--brand); }
.prices .price { font-weight: 800; color: var(--accent-dark); white-space: nowrap; }
.prices .price small { font-weight: 500; color: var(--muted); font-size: .78rem; margin-right: 3px; }
.pricegroup { margin-bottom: 14px; }
.pricegroup .note { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.pricegroup + .pricegroup { padding-top: 12px; border-top: 1px solid var(--line); }
.price, strong.price, p.price { color: var(--accent-dark); font-weight: 800; }
p.price { font-size: 1.2rem; margin-top: .4em; }

/* ---------- Gallery & tables ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0 0 1.8em; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 22%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.strip a { scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
figure.single { margin: 0 0 1.6em; max-width: 640px; }
figure.single img { border-radius: var(--radius); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.6em; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap td, .table-wrap th { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #faf9f6; }
.table-wrap td:first-child { font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.table-filter { width: 100%; max-width: 420px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; margin-bottom: 14px; background: #fff; }

/* ---------- Offer / Contact ---------- */
.offer { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.offer .gallery { grid-template-columns: repeat(2, 1fr); margin: 0; }
.offer .gallery a:first-child { grid-column: span 2; }
.badge { display: inline-block; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-bottom: 2em; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card h2, .contact-card h3 { font-size: 1.2rem; margin: 0 0 .2em; }
.contact-card .tag { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.contact-card address { font-style: normal; margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { padding: 6px 0; display: flex; gap: 10px; align-items: center; }
.contact-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.map-box { border-radius: var(--radius); overflow: hidden; background: #dfe6ec; border: 1px solid var(--line); min-height: 380px; display: grid; place-items: center; text-align: center; padding: 30px; }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-box.loaded { padding: 0; display: block; }
.map-box p { max-width: 46ch; color: var(--ink-soft); font-size: .93rem; }

.cta-band { background: var(--accent); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #fff3ea; }
.cta-band .btn-light { color: var(--accent-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb9c4; font-size: .93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #dfe6ec; text-decoration: none; }
.site-footer a:hover { color: #ffc8a6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; grid-template-columns: none; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Lightbox ---------- */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(10, 16, 22, .88); }
dialog.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 6px; background: #fff; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; }
.lb-count { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; }
  .hours-card { max-width: 420px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 76px); overflow: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; padding: 10px 16px 18px; }
  .main-nav .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .header-cta { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sidenav { position: static; max-height: none; order: 2; }
  .offer { grid-template-columns: 1fr; padding: 22px; }
  .cards.wide .card { flex-direction: column; }
  .cards.wide .card-img { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar .tb-hours { display: none; }
  .division-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .division { min-height: 240px; }
  .section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile-body { padding: 10px 12px 12px; }
  .tile-body strong { font-size: .92rem; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .strip { grid-auto-columns: 78%; }
  .logo-text span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .sidenav, .site-footer, .cta-band { display: none; }
  .layout { display: block; }
  .page-head { background: none; color: #000; }
}

/* Linkliste für Unterseiten mit eigenem Inhalt */
.more-links { list-style: none; padding: 0; margin: 0 0 1.5em; display: flex; flex-wrap: wrap; gap: 10px; }
.more-links a { display: inline-block; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.more-links a:hover { border-color: var(--accent); }

/* ---------- Anhänger-Katalog & Verleih (PHP) ---------- */
.vtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.vtabs a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.vtabs a span { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--bg); font-size: .8rem; text-align: center; color: var(--muted); }
.vtabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.vtabs a.on span { background: rgba(255,255,255,.18); color: #fff; }
.vfilter { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.vfilter label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: flex; flex-direction: column; gap: 4px; }
.vfilter select, .vfilter input { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 9px 10px; border: 1px solid #d5d2ca; border-radius: var(--radius-sm); background: #fff; width: 100%; }
.vfilter .vsearch { grid-column: span 2; }
.vresult { display: flex; gap: 16px; align-items: baseline; margin: 6px 0 16px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.vcard-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.vcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.vcard-img.photo img { object-fit: cover; padding: 0; }
.vcard-img .vbadge { position: absolute; top: 10px; left: 10px; }
.noimg { color: var(--muted); font-size: .9rem; }
.vcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.vcard-body h3 { font-size: 1.05rem; margin: 4px 0 8px; }
.vcard-body h3 a { color: var(--ink); text-decoration: none; }
.vcard-body h3 a:hover { color: var(--accent-dark); }
.vmeta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.vbrand { font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.vbadge { font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #e6eef5; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.vb-lager { background: #def3e6; color: var(--ok); }
.vb-gebraucht { background: #f3e9df; color: #7a4a1c; }
.vfacts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.vfacts li { font-size: .82rem; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.vspecs { list-style: none; padding: 0; margin: 0 0 10px; font-size: .93rem; }
.vspecs li { padding: 5px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.vspecs span { color: var(--muted); }
.vprice { margin-top: auto; font-size: 1.3rem; font-weight: 800; color: var(--accent-dark); }
.vprice small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.vmore { margin-top: 12px; justify-content: center; padding: 9px 16px; font-size: .92rem; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.vempty { background: var(--surface); border: 1px dashed #cfccc4; border-radius: var(--radius); padding: 32px; text-align: center; }
.vbrands { margin-top: 48px; }
.vbrand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.vbrand-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.vbrand-card strong { font-size: 1.15rem; }
.vbrand-card a { font-size: .92rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; margin-bottom: 24px; align-items: start; }
.detail-main { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden; }
.detail-main img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.detail-thumbs { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
.detail-title { margin-top: 6px !important; padding-top: 0 !important; }
.vtable th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #faf9f6; }
.vtable .r { text-align: right; white-space: nowrap; }
.detail-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
@media (max-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .vfilter { grid-template-columns: 1fr 1fr; } .vfilter .vsearch { grid-column: span 2; } .vgrid { grid-template-columns: 1fr; } }
.vtable { overflow-wrap: normal; }
.vtable td, .vtable th { white-space: nowrap; padding: 9px 10px !important; }
.vtable td:first-child { white-space: normal; color: var(--ink) !important; }
@media (max-width: 1180px) { .layout:has(.detail) { grid-template-columns: minmax(0, 1fr); } .layout:has(.detail) .sidenav { display: none; } }

/* ---------- Leihanhänger: rote Nummer wie der Aufkleber am Anhänger */
.leihnr { position: absolute; top: 10px; left: 10px; display: flex; align-items: baseline; gap: 3px; min-width: 2.6em; justify-content: center;
  padding: 4px 10px 5px; border-radius: 8px; background: #d81f26; color: #fff; font-weight: 900; font-size: 1.75rem; line-height: 1;
  box-shadow: 0 3px 10px rgba(120, 0, 0, .3); border: 2px solid #fff; font-variant-numeric: tabular-nums; }
.leihnr small { font-size: .5em; font-weight: 700; opacity: .9; }
.leihnr-mini { position: static; display: inline-flex; font-size: 1rem; min-width: 2em; padding: 2px 7px; border-width: 1px; box-shadow: none; vertical-align: -2px; margin-right: 4px; }
.leihnr-text { color: #c4171d; }
.leihcard:target { outline: 3px solid #d81f26; outline-offset: 2px; }
.leih-tipp { margin-top: .5em; }
.leihcard .vmore { margin-top: auto; }

/* ---------- Kontaktformular */
.kform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); margin: 2em 0; }
.kform h2 { margin-top: 0; }
.kform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.kform label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.kform label.voll { grid-column: 1 / -1; }
.kform input, .kform select, .kform textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.kform textarea { min-height: 150px; resize: vertical; }
.kform input:focus, .kform select:focus, .kform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.kform .pflicht { color: var(--accent); }
.kform .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.kform .check input { width: auto; margin-top: 4px; }
.kform .feldfehler input, .kform .feldfehler textarea, .kform .feldfehler select { border-color: #c62828; background: #fff6f5; }
.kform .fehlertext { color: #b71c1c; font-weight: 400; font-size: .85rem; }
.kform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kform-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.kform-ok { border-left-color: #2e7d32; }
@media (max-width: 640px) { .kform-grid { grid-template-columns: 1fr; } }

/* ---------- Kupplungen (Restposten) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kfilter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 1.4em 0 .6em; }
.kfilter label { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kfilter select, .kfilter input { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.ktable { width: 100%; border-collapse: collapse; }
.ktable th { white-space: nowrap; overflow-wrap: normal; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.ktable td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ktable tbody tr:hover { background: #fbfaf7; }
.k-marke { font-weight: 800; color: var(--brand); white-space: nowrap; }
.k-nr { font-variant-numeric: tabular-nums; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92rem; white-space: nowrap; color: var(--ink-soft); }
.k-tel { text-align: right; width: 1%; }
.k-call { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--accent); border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 12px; }
.k-call svg { width: 16px; height: 16px; }
.k-call:hover { background: var(--accent); color: #fff; }
@media (max-width: 700px) {
  .kfilter { grid-template-columns: 1fr; }
  .ktable thead { display: none; }
  .ktable, .ktable tbody { display: block; }
  .ktable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marke tel" "modell tel" "nr tel"; column-gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ktable tbody tr:nth-child(even) { background: #faf9f6; }
  .ktable tr[hidden] { display: none; }
  .ktable td { border: 0; padding: 0; background: none !important; }
  .k-marke { grid-area: marke; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
  .k-modell { grid-area: modell; font-weight: 600; }
  .k-nr { grid-area: nr; font-size: .85rem; white-space: normal; }
  .k-nr::before { content: "Best.-Nr. "; font-family: var(--font); color: var(--muted); }
  .k-tel { grid-area: tel; align-self: center; }
  .k-call span { display: none; }
  .k-call { padding: 10px; }
  .k-call svg { width: 20px; height: 20px; }
}

/* Verleih: Mindest-Innenmaße */
.vfilter .vmasse { grid-column: span 2; border: 0; padding: 0; margin: 0; min-width: 0; }
.vfilter .vmasse legend { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0; margin-bottom: 4px; }
.vfilter .vmasse-felder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vfilter .vmasse label { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .78rem; }

/* Knopf „Alle Filter löschen“ */
.vreset { align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .9rem; font-weight: 700;
  color: var(--accent); background: #fff; border: 1.5px solid var(--accent); border-radius: 999px; padding: 9px 16px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.vreset:hover { background: var(--accent); color: #fff; }
.vreset.is-off { color: var(--muted); border-color: var(--line); background: transparent; pointer-events: none; opacity: .7; }
.kfilter { grid-template-columns: minmax(200px, 1fr) minmax(0, 1.4fr) auto; }
@media (max-width: 700px) { .kfilter { grid-template-columns: 1fr; } }
