/* FreiSchnauze – Designsystem (aus Variante B) */
:root {
  --lime: #B7D025;
  --lime-dunkel: #5F7700;
  --lime-hell: #EEF3D2;
  --braun: #3B2A1C;
  --braun-tief: #2A1D12;
  --braun-mittel: #4C3928;
  --text-leise: #6B5A4A;
  --sand: #F4F1EA;
  --creme: #FAFAF5;
  --linie: #E5DED3;
  --weiss: #FFFFFF;
  --font-titel: 'Unbounded', system-ui, sans-serif;
  --font-text: 'Manrope', system-ui, sans-serif;
  --breite: 1360px;
  --rand: clamp(16px, 3vw, 32px);
  --schatten: 0 24px 48px rgba(59, 42, 28, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe, 90px) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--creme); color: var(--braun); font-family: var(--font-text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--braun); }
a:hover { color: var(--braun-tief); }
:focus-visible { outline: 3px solid var(--braun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-titel); letter-spacing: -0.04em; line-height: 1.03; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 99; background: #fff; padding: 12px 16px; border-radius: 12px; }

.wrap { max-width: var(--breite); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.sektion { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.reihe { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-dunkel); }
.h1 { font-weight: 900; font-size: clamp(42px, 6.2vw, 84px); line-height: 0.98; letter-spacing: -0.045em; }
.h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); margin-top: 14px; }
.h2-klein { font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; line-height: 1.1; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-leise); }
.markiert { background: var(--lime); padding: 0 0.16em; border-radius: 0.2em; display: inline-block; transform: rotate(-2deg); }
.pat { background-color: var(--lime); background-image: url(/img/pattern.jpg); background-size: cover; background-position: center bottom; }
.dunkel-bg { background: var(--braun); color: var(--creme); }
.dunkel-bg .lead, .dunkel-bg .leise { color: #D9CCBC; }
.dunkel-bg .eyebrow { color: var(--lime); }
.sand-bg { background: var(--sand); }
.foto-platz { border-radius: 40px; background: var(--braun-mittel); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #CBBBA8; font-weight: 600; min-height: 420px; }
.foto-quer { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 40%; border-radius: 40px; }
.foto-rund { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dunkel { background: var(--braun); color: var(--weiss); }
.btn-dunkel:hover { color: var(--weiss); background: var(--braun-tief); }
.btn-weich { background: var(--lime-hell); color: var(--braun); }
.btn-lime { background: var(--lime); color: var(--braun-tief); }
.btn-lime:hover { color: var(--braun-tief); }
.btn-weiss { background: var(--weiss); color: var(--braun-tief); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-klein { min-height: 46px; padding: 0 20px; font-size: 15px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Ticker */
.ticker { background: var(--lime); color: var(--braun-tief); font-family: var(--font-titel); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; overflow: hidden; padding: 12px 0; }
.ticker-band { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: lauf 40s linear infinite; }
@keyframes lauf { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-band { animation: none; } }

/* Header */
.kopf { background: rgba(250, 250, 245, 0.96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.kopf .wrap { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.kopf-logo img { height: 44px; width: auto; }
.kopf-nav { display: flex; flex-wrap: wrap; gap: 4px 30px; font-weight: 700; }
.kopf-nav a { text-decoration: none; padding: 10px 0; }
.kopf-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--lime); }
.kopf-aktionen { display: flex; align-items: center; gap: 10px; }
.korb-knopf { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--braun); color: var(--weiss); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.korb-knopf:hover { color: var(--weiss); }
.korb-zahl { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--lime); color: var(--braun-tief); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.korb-zahl[hidden] { display: none; }
@media (max-width: 760px) {
  .kopf .wrap { gap: 6px 16px; padding-top: 10px; padding-bottom: 8px; }
  .kopf-logo img { height: 34px; }
  .kopf-nav { order: 3; width: 100%; gap: 0 20px; font-size: 15px; }
  .kopf-aktionen .btn { display: none; }
}

/* Hero */
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 32px 0 56px; }
.hero-bild { flex: 1 1 440px; min-width: 0; position: relative; min-height: clamp(440px, 52vw, 720px); }
.hero-bild .pat { position: absolute; right: calc(-1 * var(--rand)); top: 60px; bottom: 0; left: 80px; border-radius: 48px 0 0 0; }
.hero-bild > img { position: absolute; left: 0; top: 0; width: 82%; height: 92%; object-fit: cover; object-position: 50% 32%; border-radius: 40px; box-shadow: 0 30px 60px rgba(59,42,28,.18); }
.hero-badge { position: absolute; right: 8px; bottom: 40px; background: #fff; border-radius: 24px; padding: 16px 20px; box-shadow: 0 20px 40px rgba(59,42,28,.16); display: flex; gap: 14px; align-items: center; max-width: 320px; }
.hero-badge .kreis { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; flex: none; font-family: var(--font-titel); font-weight: 800; font-size: 13px; }

/* Karten */
.karten { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.angebot { flex: 1 1 300px; min-width: 0; background: var(--weiss); border-radius: 36px; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--schatten); transition: background-color .25s ease, color .25s ease; }
.angebot .angebot-text, .angebot a { transition: color .25s ease; }
.angebot:hover, .angebot:focus-within { background: var(--braun); color: var(--creme); }
.angebot:hover .angebot-text, .angebot:focus-within .angebot-text { color: #D9CCBC; }
.angebot:hover a, .angebot:focus-within a { color: var(--creme); }
.angebot-link { font-weight: 700; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .angebot, .angebot .angebot-text, .angebot a { transition: none; } }
.etikett { align-self: flex-start; background: var(--lime); color: var(--braun-tief); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.angebot-text { color: var(--text-leise); }
.haken { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.haken li { display: flex; gap: 10px; align-items: flex-start; }
.haken li::before { content: ''; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1D12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.angebot-fuss { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.preis { font-family: var(--font-titel); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.kachel { background: #fff; border-radius: 24px; padding: 22px 24px; font-weight: 700; }
.schritte { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.schritte li { background: var(--braun-mittel); border-radius: 32px; padding: 32px; }
.schritte .nr { font-family: var(--font-titel); font-weight: 800; font-size: 40px; color: var(--lime); }
.pillen { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pillen li { font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--lime-hell); }
.pillen li:first-child { background: var(--lime); }

/* Produkte */
.produkte { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.produkt { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.produkt-bild { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; background: var(--sand); overflow: hidden; }
.produkt-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 28px; mix-blend-mode: multiply; transition: transform .3s ease; }
.produkt:hover .produkt-bild img { transform: scale(1.04); }
.platzhalter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 14px; font-weight: 600; color: var(--text-leise); }
.produkt-kat { font-size: 13px; font-weight: 700; color: var(--lime-dunkel); text-transform: uppercase; letter-spacing: 0.08em; }
.produkt-name { font-family: var(--font-text); font-size: 19px; font-weight: 800; letter-spacing: 0; line-height: 1.3; margin-top: 2px; }
.produkt-name a { text-decoration: none; }
.produkt-name a::after { content: ''; position: absolute; inset: 0; }

/* Welten / Produktschaufenster */
.schaufenster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.schaufenster .welt { min-height: 400px; }
.welten { display: flex; flex-wrap: wrap; gap: 20px; }
.welt { flex: 1 1 320px; min-width: 0; min-height: 480px; border-radius: 36px; position: relative; overflow: hidden; text-decoration: none; display: block; }
.welt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s ease; }
.welt:hover img { transform: scale(1.03); }
.welt .platzhalter { padding-bottom: 140px; }
.welt-karte { position: absolute; left: 20px; right: 20px; bottom: 20px; background: var(--weiss); border-radius: 26px; padding: 22px 24px; }
.welt-karte strong { display: block; font-family: var(--font-titel); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; }
.welt-karte span { display: block; margin-top: 6px; color: var(--text-leise); font-size: 16px; }

/* Produktseite */
.pdp-bild { position: relative; aspect-ratio: 1 / 1; border-radius: 40px; background: var(--sand); overflow: hidden; }
.pdp-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: clamp(24px, 4vw, 48px); mix-blend-mode: multiply; }
.vorteile { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.vorteile div { background: #fff; border-radius: 28px; padding: 28px; }
.vorteile strong { display: block; font-family: var(--font-titel); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
.vorteile p { margin-top: 8px; color: var(--text-leise); font-size: 16px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 17px; }
.tabelle th, .tabelle td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--linie); }
.tabelle thead th { border-bottom: 2px solid var(--braun); }
.tipp { margin-top: 24px; background: var(--lime); border-radius: 28px; padding: 24px 26px; color: var(--braun-tief); }

/* Formulare */
.feld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.feld input, .feld textarea { min-height: 52px; border-radius: 16px; border: 1px solid #B8AC9B; background: var(--weiss); padding: 12px 16px; font: inherit; font-weight: 500; color: var(--braun); }
.feld textarea { resize: vertical; min-height: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { font-weight: 800; margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 56px; padding: 0 20px; border-radius: 999px; background: var(--lime-hell); font-weight: 700; font-size: 15px; }
.chip input:checked + span { background: var(--braun); color: var(--weiss); }
.chip input:focus-visible + span { outline: 3px solid var(--braun); outline-offset: 3px; }
.menge { width: 90px; min-height: 60px; border-radius: 999px; border: 0; background: var(--sand); text-align: center; font: inherit; font-weight: 800; font-size: 18px; color: var(--braun); }
.formkarte { background: #fff; border-radius: 36px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--schatten); }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.formgrid .voll { grid-column: 1 / -1; }

/* Warenkorb */
.korb-zeile { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.korb-bild { width: 88px; height: 88px; border-radius: 20px; background: var(--sand); flex: none; overflow: hidden; }
.korb-bild img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.korb-menge { width: 76px; min-height: 48px; border-radius: 999px; border: 0; background: var(--sand); text-align: center; font: inherit; font-weight: 800; }
.link-knopf { border: 0; background: none; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; color: var(--braun); }

/* FAQ */
details.faq { border-top: 1px solid var(--linie); padding: 22px 0; }
details.faq summary { cursor: pointer; font-family: var(--font-titel); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
details.faq p { margin-top: 12px; color: var(--text-leise); }

/* Textseiten */
.text h2 { font-size: 26px; margin: 40px 0 12px; letter-spacing: -0.03em; }
.text p, .text ul { margin: 0 0 14px; }
.text li { margin-bottom: 6px; }

/* Footer */
.fuss { background: var(--braun-tief); color: #D9CCBC; }
.fuss a { color: #D9CCBC; text-decoration: none; }
.fuss a:hover { color: var(--weiss); }
.fuss-oben { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 88px; }
.fuss-nav { display: flex; flex-direction: column; gap: 6px; flex: 0 1 200px; }
.fuss-nav strong { color: var(--weiss); margin-bottom: 6px; }
.fuss-unten { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-top: 72px; padding-bottom: 40px; }
.fuss-unten img { height: clamp(70px, 9vw, 130px); width: auto; }
.fuss-info { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: 14px; }
@media (max-width: 600px) { .fuss-info { align-items: flex-start; } }

/* Lagerbestand */
.lager-info { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--text-leise); display: flex; align-items: center; gap: 8px; }
.lager-info::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #5E9E2F; flex: none; }
.lager-info.knapp::before { background: #E0A100; }
.lager-info.leer { color: #A23B2A; }
.lager-info.leer::before { background: #A23B2A; }
.lager-info.gross { margin-top: -6px; font-size: 16px; }
.chip.aus span { background: var(--sand); color: var(--text-leise); text-decoration: line-through; }
.chip.aus input:checked + span { background: var(--text-leise); color: var(--weiss); }
.korb-hinweis { color: #A23B2A; font-size: 14px; font-weight: 700; }
.lager-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.lager-kacheln > div { background: var(--sand); border-radius: 24px; padding: 22px 24px; }
.lager-kacheln span { font-family: var(--font-titel); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; }
.lager-kacheln p { color: var(--text-leise); font-weight: 700; font-size: 15px; }
.lager-leiste { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; margin-top: 32px; }
.lager-check { display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 48px; }
.lager-check input { width: 20px; height: 20px; accent-color: var(--braun); }
.lager-produkt { margin-top: 24px; border: 1px solid var(--linie); border-radius: 24px; padding: 20px; }
.lager-produkt-kopf { display: flex; align-items: center; gap: 16px; }
.lager-produkt-kopf img { width: 56px; height: 56px; object-fit: contain; background: var(--sand); border-radius: 14px; mix-blend-mode: multiply; flex: none; }
.lager-produkt-kopf h2 { font-family: var(--font-text); font-size: 18px; font-weight: 800; flex: 1 1 auto; min-width: 0; }
.lager-produkt-kopf .summe { font-weight: 800; white-space: nowrap; }
.lager-zeilen { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px 20px; }
.lager-zeile { display: flex; align-items: center; gap: 8px; min-height: 52px; border-top: 1px solid var(--linie); padding-top: 6px; }
.lager-zeile .name { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.lager-zeile.leer .name { color: #A23B2A; }
.lager-zeile input { width: 70px; min-height: 44px; border: 2px solid var(--linie); border-radius: 12px; text-align: center; font: inherit; font-weight: 800; }
.lager-zeile button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lime-hell); font: inherit; font-weight: 800; font-size: 20px; cursor: pointer; }
.lager-zeile.geaendert input { border-color: var(--braun); background: var(--lime-hell); }
.lager-speichern { position: sticky; bottom: 0; margin-top: 32px; padding: 16px 0; border-top: 2px solid var(--braun); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: flex-end; background: var(--creme); }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .lager-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lager-kacheln > div { padding: 14px; border-radius: 18px; }
  .lager-kacheln span { font-size: 26px; }
  .lager-kacheln p { font-size: 12px; line-height: 1.3; }
}
.lager-speichern .btn { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 600px) { .lager-speichern { padding: 10px 0; gap: 8px; } .lager-speichern [data-status] { font-size: 14px; } }

/* Angebote: Raster mit 3 / 2 / 1 Spalten */
.karten:has(> .angebot) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1040px) { .karten:has(> .angebot) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .karten:has(> .angebot) { grid-template-columns: 1fr; } }
