/* Velowerk – Stylesheet */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #0B6B58;
  --ink: #16181a;
  --muted: #5c6461;
  --soft: #f4f4f2;
  --line: #ececec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
img, video { max-width: 100%; }
.heading { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Kopfzeile */
.topbar { background: var(--soft); border-bottom: 1px solid #e6e6e3; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 80px; }
.site-header .logo img { width: 240px; height: auto; display: block; }
.site-header .logo .logo-light { display: none; }
.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.nav-links a { transition: color .3s; }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 600; border: none; font: inherit; cursor: pointer; }
.btn-accent { background: var(--accent); color: #fff !important; }
.btn-accent:hover { background: #09594a; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-outline { background: #fff; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-pill:disabled { background: #c9ccca; color: #6b6f6c !important; cursor: not-allowed; }

/* Transparente Navigation über dem Video (Startseite) */
.has-hero .site-header:not(.scrolled) { background: transparent; border-color: transparent; }
.has-hero .site-header:not(.scrolled) .nav-links a:not(.btn-accent) { color: #fff; }
.has-hero .site-header:not(.scrolled) .logo .logo-dark { display: none; }
.has-hero .site-header:not(.scrolled) .logo .logo-light { display: block; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(22,24,26,.08); }

/* Hero */
.hero { background: var(--soft); margin-top: -81px; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; min-height: 400px; overflow: hidden; background: #e6e7e4; }
.hero-media::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(22,24,26,.55), rgba(22,24,26,0)); }
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.hero-media > .active { opacity: 1; }
.hero-text { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; padding-top: 40px; padding-bottom: 56px; }
.hero-kicker { margin: 0 0 16px; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.hero-title { margin: 0 0 20px; font-size: 40px; line-height: 1.2; white-space: pre-line; }
.hero-copy { margin: 0; font-size: 19px; line-height: 1.55; color: #3a3a3a; max-width: 640px; }
.slider-ctrl { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.slider-ctrl button.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; cursor: pointer; font-size: 18px; }
.dots { display: flex; gap: 8px; }
.dots button { height: 10px; width: 10px; border-radius: 999px; border: none; background: #b5b8b4; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 36px; background: var(--accent); }

/* Abschnitte */
.section { padding-top: 96px; padding-bottom: 96px; }
.band { background: var(--soft); }
.band-dark { background: var(--ink); color: #fff; }
.kicker { margin: 0 0 8px; font-size: 13px; letter-spacing: 2.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; }
.card { border: 1px solid #e6e6e3; border-radius: 20px; background: #fff; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Formulare */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b5b8b4; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.notice { border-top: 3px solid var(--accent); background: var(--soft); padding: 16px 20px; font-size: 15px; }
.notice.error { border-color: #b42318; }
.hp { position: absolute; left: -9999px; }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; font-size: 16px; line-height: 1.75; color: #2e2e2e; }
.legal h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.35; color: var(--ink); }
.legal h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 19px; margin: 48px 0 16px; line-height: 1.4; color: var(--ink); }
.legal h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; color: var(--ink); }
.legal p { margin: 0 0 14px; }
.legal a { color: var(--accent); }

/* Fußzeile */
.site-footer { background: var(--ink); color: #b9b9b9; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links .btn-widerruf { background: #fff; color: var(--ink); font-weight: 700; padding: 10px 18px; border-radius: 999px; }

/* Shop */
.shop-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 32px; padding-bottom: 96px; }
.shop-side { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 28px; }
.shop-main { flex: 999 1 560px; min-width: 0; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list button { width: 100%; display: flex; justify-content: space-between; min-height: 44px; align-items: center; border: none; background: none; font: inherit; font-size: 15px; cursor: pointer; padding: 0; text-align: left; color: var(--ink); }
.cat-list button[aria-current="true"] { font-weight: 700; color: var(--accent); }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); grid-auto-rows: 1fr; gap: 24px 20px; }
.product-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.product-card .thumb { display: block; width: 100%; padding: 0; border: none; background: var(--soft); aspect-ratio: 1 / 1; cursor: pointer; color: #8a8f8c; font: inherit; font-size: 13px; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.product-card .body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex-grow: 1; }
.product-card .cat { margin: 0; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.product-card .name { padding: 0; border: none; background: none; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: left; color: var(--ink); cursor: pointer; height: 63px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-card .price { margin: auto 0 0; padding-top: 8px; font-size: 18px; font-weight: 700; }
.price-note { font-size: 12px; font-weight: 500; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager button { min-width: 44px; min-height: 44px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pager button[aria-current="page"] { background: var(--ink); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid #b5b8b4; border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 46px; border: none; background: #fff; font-size: 20px; cursor: pointer; }
.qty input { width: 56px; height: 46px; border: none; text-align: center; font: inherit; font-size: 17px; font-weight: 600; }
table.cart { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.cart th { text-align: left; padding: 12px 8px; border-bottom: 2px solid var(--ink); }
table.cart td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.steps li { padding: 8px 16px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; }
.steps li.done { background: #dfe9e5; }
.steps li[aria-current="step"] { background: var(--accent); color: #fff; }
.radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid #d9dbd9; border-radius: 12px; background: #fff; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); }
.radio-card input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }

@media (max-width: 720px) {
  .hero-title { font-size: 28px; }
  .site-header .logo img { width: 180px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
}

[hidden] { display: none !important; }
.pd-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }

/* Mobile Navigation */
.menu-toggle { display: none; width: 48px; height: 48px; border: none; background: none; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.has-hero .site-header:not(.scrolled):not(.open) .menu-toggle span { background: #fff; }
.site-header.open .menu-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
@media (max-width: 900px) {
  .site-header nav { position: relative; flex-wrap: nowrap; min-height: 80px; }
  .menu-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 12px 24px 24px; box-shadow: 0 12px 24px rgba(22,24,26,.12); font-size: 17px; }
  .nav-links a:not(.btn-pill) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn-pill { justify-content: center; margin-top: 8px; }
  .site-header.open .nav-links { display: flex; }
  .site-header.open { background: #fff !important; border-color: var(--line) !important; }
  .has-hero .site-header.open .nav-links a:not(.btn-accent) { color: var(--ink) !important; }
  .has-hero .site-header.open .logo .logo-dark { display: block !important; }
  .has-hero .site-header.open .logo .logo-light { display: none !important; }
  .site-header .logo img { width: 180px; }
  .hero-media { min-height: 300px; }
}
@media (max-width: 720px) {
  .shop-side { max-width: none; flex-basis: 100%; }
  .cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .cat-list li { border: none; }
  .cat-list button { gap: 6px; border: 1px solid #d9dbd9; border-radius: 999px; padding: 0 14px; width: auto; }
  .cat-list button[aria-current="true"] { border-color: var(--accent); }
}
