/* Ahari Media – Website-Vorlage. Farben werden in daten.js (farben) gesetzt. */
:root {
  --v-brand: #c2410c;
  --v-akzent: #f59e0b;
  --v-dunkel: #1c1917;
  --v-bg: #fffaf5;
  --v-bg-alt: #f5eee6;
  --v-card: #ffffff;
  --v-text: #292524;
  --v-muted: #6b625c;
  --v-linie: #e7ddd3;
  --v-radius: 16px;
  --v-schatten: 0 1px 2px rgba(28, 25, 23, .06), 0 8px 24px -12px rgba(28, 25, 23, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--v-bg); color: var(--v-text); line-height: 1.6; overflow-x: hidden;
  padding-bottom: 64px; /* Platz für die Aktionsleiste auf dem Handy */
}
a { color: var(--v-brand); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.v-container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.v-klein { font-size: .85rem; color: var(--v-muted); }

.v-demo { background: var(--v-dunkel); color: #fff; text-align: center; font-size: .8rem; padding: 6px 16px; }
.v-demo a { color: var(--v-akzent); }

/* Navigation */
.v-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--v-bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--v-linie); }
.v-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.v-logo { min-width: 0; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--v-text); text-decoration: none; }
.v-logo img { height: 40px; width: auto; }
.v-logo-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--v-brand); color: #fff; font-size: 1.2rem; }
.v-nav-links { display: flex; gap: 22px; margin-inline-start: auto; }
.v-nav-rechts { display: flex; align-items: center; gap: 10px; order: 3; margin-inline-start: 22px; }
.v-sprachen { display: flex; border: 1px solid var(--v-linie); border-radius: 999px; overflow: hidden; }
.v-sprache { border: 0; background: transparent; color: var(--v-muted); font: inherit; font-size: .75rem; font-weight: 700; padding: 5px 9px; cursor: pointer; }
.v-sprache.aktiv { background: var(--v-brand); color: #fff; }
.v-nav-links a { color: var(--v-muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.v-nav-links a:hover { color: var(--v-brand); }
.v-nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.v-nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--v-text); }

/* Buttons */
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--v-brand); background: var(--v-brand); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.v-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.v-btn-klein { padding: 8px 16px; font-size: .9rem; }
.v-btn-rand { background: transparent; color: var(--v-brand); }
.v-btn-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; }

/* Hero */
.v-hero {
  color: #fff; padding: 88px 0 96px;
  background:
    radial-gradient(700px circle at 85% 10%, color-mix(in srgb, var(--v-akzent) 45%, transparent), transparent 60%),
    linear-gradient(135deg, var(--v-dunkel), color-mix(in srgb, var(--v-brand) 70%, var(--v-dunkel)));
}
.v-hero-bild { background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), var(--hero-bild) center / cover; }
.v-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--v-akzent); }
.v-hero h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.v-slogan { font-size: clamp(1.05rem, 2.5vw, 1.3rem); opacity: .9; margin-top: 14px; max-width: 620px; }
.v-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: rgba(239, 68, 68, .2); border: 1px solid rgba(248, 113, 113, .6); }
.v-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #f87171; }
.v-status.offen { background: rgba(34, 197, 94, .2); border-color: rgba(74, 222, 128, .6); }
.v-status.offen::before { background: #4ade80; }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
.v-chips li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .88rem; }
.v-sonder { margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--v-akzent); }
.v-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Abschnitte */
.v-section { padding: 72px 0; }
.v-section-alt { background: var(--v-bg-alt); }
.v-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.v-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--v-brand); margin-top: 10px; }
.v-intro { color: var(--v-muted); max-width: 640px; margin-bottom: 28px; }
.v-title + .v-grid, .v-title + .v-karte, .v-title + .v-filter, .v-title + .v-ueber, .v-title + .v-kontakt, .v-title + .v-form { margin-top: 28px; }
.v-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.v-grid-klein { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.v-card { background: var(--v-card); border: 1px solid var(--v-linie); border-radius: var(--v-radius); box-shadow: var(--v-schatten); padding: 22px; }

/* Angebote */
.v-angebot { position: relative; display: flex; flex-direction: column; gap: 6px; }
.v-angebot h3 { font-size: 1.1rem; padding-inline-end: 70px; }
.v-angebot p { color: var(--v-muted); font-size: .93rem; }
.v-badge { position: absolute; top: 18px; inset-inline-end: 18px; padding: 3px 10px; border-radius: 999px; background: var(--v-akzent); color: var(--v-dunkel); font-size: .75rem; font-weight: 800; }
.v-preiszeile { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.v-preis { color: var(--v-brand); font-weight: 800; white-space: nowrap; }
.v-angebot .v-preis { font-size: 1.6rem; }
.v-statt { color: var(--v-muted); font-size: .9rem; }
[dir="rtl"] .v-preis, [dir="rtl"] .v-statt, [dir="rtl"] .v-korb-summe strong { direction: ltr; unicode-bidi: isolate; }

/* Karte / Sortiment */
.v-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.v-filter-btn { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--v-linie); background: var(--v-card); color: var(--v-text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.v-filter-btn.aktiv { background: var(--v-brand); border-color: var(--v-brand); color: #fff; }
.v-karte { columns: 2 380px; column-gap: 40px; }
.v-kategorie { break-inside: avoid; margin-bottom: 36px; }
.v-kategorie h3 { font-size: 1.25rem; padding-bottom: 8px; border-bottom: 2px solid var(--v-linie); }
.v-kategorie > .v-klein { margin-top: 6px; }
.v-kategorie ul { list-style: none; }
.v-artikel { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--v-linie); }
.v-artikel-name { font-weight: 700; }
.v-nr { display: inline-block; min-width: 28px; color: var(--v-muted); font-weight: 600; }
.v-artikel-text { color: var(--v-muted); font-size: .9rem; }
.v-merkmale { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.v-merkmale span { font-size: .75rem; padding: 1px 8px; border-radius: 999px; background: var(--v-bg-alt); color: var(--v-muted); }
.v-hinweis { margin-top: 8px; }

.v-artikel-rechts { display: flex; align-items: center; gap: 10px; flex: none; }
.v-plus { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--v-brand); background: var(--v-card); color: var(--v-brand); font: inherit; font-size: 1.2rem; font-weight: 800; line-height: 1; cursor: pointer; }
.v-plus.drin, .v-plus:hover { background: var(--v-brand); color: #fff; }
.v-plus-menge { position: absolute; top: -8px; inset-inline-end: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--v-akzent); color: var(--v-dunkel); font-size: .72rem; line-height: 20px; }
.v-bestellinfo { margin-top: 16px; margin-bottom: 0; }

/* Galerie */
.v-galerie { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 28px; }
.v-galerie-bild { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--v-radius); overflow: hidden; cursor: zoom-in; background: var(--v-bg-alt); font: inherit; }
.v-galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.v-galerie-bild:hover img, .v-galerie-bild:hover .v-platzhalter { transform: scale(1.04); }
.v-galerie-text { position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font-weight: 600; font-size: .9rem; text-align: start; }
.v-platzhalter { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3.4rem; transition: transform .3s;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--v-akzent) 55%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--v-brand) 80%, white), var(--v-dunkel)); }

/* Dialoge (Galerie, Warenkorb) */
.v-dialog { margin: auto; width: min(640px, 100% - 24px); max-height: calc(100% - 24px); border: 0; border-radius: var(--v-radius); padding: 24px; background: var(--v-card); color: var(--v-text); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.v-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.v-dialog h2 { font-size: 1.3rem; margin-bottom: 14px; }
.v-dialog-zu { position: absolute; top: 10px; inset-inline-end: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--v-bg-alt); color: var(--v-text); font-size: 1.4rem; cursor: pointer; }
.v-lightbox { width: min(960px, 100% - 24px); padding: 16px; }
.v-lightbox-bild { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.v-lightbox-bild img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.v-lightbox figcaption { margin-top: 10px; font-weight: 600; }
.v-lightbox-nav { display: flex; justify-content: space-between; margin-top: 12px; }

/* Bewertungen */
.v-sterne { color: #f59e0b; letter-spacing: 2px; }
.v-bewertung-schnitt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 24px; font-size: 1.1rem; }
.v-bewertung-schnitt .v-sterne { font-size: 1.4rem; }
.v-bewertung { display: flex; flex-direction: column; gap: 10px; }
.v-bewertung blockquote { font-size: .95rem; }
.v-bewertung figcaption { color: var(--v-muted); font-size: .85rem; margin-top: auto; }

/* Warenkorb */
.v-korb-leiste { position: fixed; z-index: 25; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 420px; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--v-brand); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); cursor: pointer; }
.v-korb-leiste strong { margin-inline-start: auto; }
.v-korb-liste { list-style: none; }
.v-korb-liste li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--v-linie); }
.v-korb-menge { display: flex; align-items: center; gap: 8px; }
.v-korb-menge button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--v-linie); background: var(--v-bg); color: var(--v-text); font: inherit; font-weight: 800; cursor: pointer; }
.v-korb-summe { display: flex; justify-content: space-between; padding: 14px 0; font-size: 1.1rem; }
.v-korb-form { max-width: none; margin-top: 6px; }
.v-wahl { display: flex; gap: 18px; border: 0; }
.v-form .v-wahl label { flex-direction: row; align-items: center; gap: 6px; }
.v-zeiten h4 { margin-top: 16px; font-size: .95rem; }
.v-sonderliste { list-style: none; font-size: .9rem; margin-top: 6px; }
.v-sonderliste li { padding: 4px 0; }
.v-cta-dunkel { margin-top: 24px; }

/* Leistungen */
.v-leistung { display: flex; gap: 14px; align-items: flex-start; }
.v-leistung-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--v-brand) 12%, white); font-size: 1.4rem; }
.v-leistung h3 { font-size: 1.02rem; }
.v-leistung p { color: var(--v-muted); font-size: .9rem; }

/* Über uns */
.v-ueber { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.v-ueber p + p { margin-top: 14px; }
.v-ueber-bild { border-radius: var(--v-radius); box-shadow: var(--v-schatten); }

/* Formular */
.v-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 640px; }
.v-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9rem; }
.v-form input:not([type=radio]), .v-form select, .v-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--v-linie); background: var(--v-bg); color: var(--v-text); min-width: 0; }
.v-form input:focus, .v-form select:focus, .v-form textarea:focus { outline: 2px solid var(--v-brand); outline-offset: 1px; }
.v-voll { grid-column: 1 / -1; }
.v-fehler { color: #b91c1c; font-weight: 600; font-size: .9rem; }

/* Kontakt */
.v-kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.v-adresse { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.v-adresse .v-btn { margin-top: 6px; }
.v-social { display: flex; gap: 14px; text-transform: capitalize; }
.v-zeiten h3 { margin-bottom: 10px; }
.v-zeiten table { width: 100%; border-collapse: collapse; }
.v-zeiten th, .v-zeiten td { text-align: start; padding: 7px 8px; border-bottom: 1px solid var(--v-linie); vertical-align: top; }
.v-zeiten th { font-weight: 600; }
.v-zeiten td { text-align: end; }
.v-zeiten tr.heute { background: color-mix(in srgb, var(--v-brand) 10%, white); font-weight: 800; }
.v-zeiten .v-klein { margin-top: 10px; }

/* Footer */
.v-footer { background: var(--v-dunkel); color: #d6d3d1; padding: 36px 0; font-size: .9rem; }
.v-footer details { border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 10px 0; }
.v-footer summary { cursor: pointer; font-weight: 700; color: #fff; }
.v-footer details p { margin-top: 8px; }
.v-footer a { color: var(--v-akzent); }
.v-copy { margin-top: 18px; opacity: .75; }

/* Schnellzugriff (nur Handy) */
.v-aktionen { position: fixed; inset: auto 0 0 0; z-index: 30; display: none; background: var(--v-card); border-top: 1px solid var(--v-linie); box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .3); padding-bottom: env(safe-area-inset-bottom); }
.v-aktionen a { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 0; font-size: 1.2rem; text-decoration: none; color: var(--v-text); }
.v-aktionen span { font-size: .72rem; font-weight: 700; }

@media (max-width: 800px) {
  .v-nav-toggle { display: block; }
  .v-nav-rechts { margin-inline-start: auto; }
  .v-logo { font-size: 1rem; }
  .v-logo > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .v-korb-leiste { bottom: 76px; }
  .v-nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--v-bg); border-bottom: 1px solid var(--v-linie); padding: 8px 16px 16px; }
  .v-nav-links.offen { display: flex; }
  .v-nav-links a { padding: 10px 0; }
  .v-ueber, .v-kontakt { grid-template-columns: 1fr; }
  .v-aktionen { display: flex; }
  .v-hero { padding: 60px 0 68px; }
  .v-section { padding: 56px 0; }
}
@media (min-width: 801px) { body { padding-bottom: 0; } body.v-mit-korb { padding-bottom: 88px; } }
@media (max-width: 800px) { body.v-mit-korb { padding-bottom: 140px; } }
@media (max-width: 480px) { .v-form { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .v-btn { transition: none; } }
@media print { .v-korb-leiste, .v-sprachen { display: none !important; }
}
@media print { .v-nav, .v-aktionen, .v-demo, .v-cta, .v-filter { display: none !important; } .v-hero { color: #000; background: none; padding: 0 0 20px; } }
