/* HOGES – modernes Stylesheet
   CI-Farben aus dem Logo: Rot / Weiß / helles Blau */

:root {
  --red: #c0261f;
  --red-dark: #971a15;
  --blue: #4b9cc9;
  --blue-dark: #2f7ba6;
  --blue-tint: #eef6fb;
  --ink: #23292c;
  --muted: #5c666b;
  --line: #e5e5e1;
  --bg: #ffffff;
  --bg-alt: #f5f7f8;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --radius: 12px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.75rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.9rem); margin: 2.2em 0 .7em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Kopfzeile / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px; max-width: 1180px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img {
  width: 172px; height: auto; display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.14));
}
@media (max-width: 600px) {
  .site-header .wrap { min-height: 68px; }
  .brand img { width: 150px; }
}
.brand span { font-weight: 700; color: var(--red); font-size: 1.05rem; letter-spacing: .02em; }

.nav-toggle, .nav-toggle-label { display: none; }

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; gap: 2px;
}
.main-nav a {
  display: block; padding: 7px 8px; border-radius: 8px; white-space: nowrap;
  color: var(--ink); font-size: .82rem; font-weight: 600;
}
.main-nav a:hover { background: var(--blue-tint); color: var(--blue-dark); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a[aria-current="page"]:hover { background: #fdeceb; color: var(--red); }

@media (max-width: 1180px) {
  .nav-toggle-label {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
    cursor: pointer; color: var(--ink); background: #fff;
  }
  .nav-toggle-label svg { width: 22px; height: 22px; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    box-shadow: var(--shadow);
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle:checked ~ .main-nav { max-height: 70vh; overflow: auto; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--blue-tint), #fff);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding-top: 54px; padding-bottom: 54px;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.5em; }
.hero img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--red); cursor: pointer;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; text-decoration: none; }
.btn.secondary { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn.secondary:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Allgemeine Sektionen ---------- */
main { padding-bottom: 64px; }
.section { padding-top: 8px; }
.lead-block { max-width: 62ch; }
.muted { color: var(--muted); }

.page-head {
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 40px 0 30px;
}
.page-head h1 { margin: 0; }
.page-head p { margin: .6em 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Info-Boxen ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.highlight {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--red);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 8px 0;
}
.highlight img { height: 100%; object-fit: cover; }
.highlight .body { padding: 24px 26px 24px 4px; }
.badge {
  display: inline-block; background: var(--red); color: #fff; font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 10px;
}
.price { font-size: 1.5rem; font-weight: 700; color: var(--red); }
@media (max-width: 640px) {
  .highlight { grid-template-columns: 1fr; }
  .highlight img { max-height: 260px; }
  .highlight .body { padding: 4px 22px 24px; }
}

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { font-weight: 600; }
@media (max-width: 560px) {
  .hours li { flex-direction: column; gap: 2px; }
  .hours span:last-child { color: var(--muted); }
}

/* ---------- Produkt-Raster ---------- */
.group-title {
  display: flex; align-items: center; gap: 12px;
  margin: 2.4em 0 1em;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-title h2 { margin: 0; }
.group-title .size { color: var(--muted); font-size: .95rem; font-weight: 600; }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.product-card .frame {
  margin: 0; background: var(--bg-alt); aspect-ratio: 4 / 3; overflow: hidden;
  cursor: zoom-in;
}
.product-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card .frame:hover img { transform: scale(1.04); }
.product-card .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .name { font-weight: 700; }
.product-card .attr { color: var(--muted); font-size: .93rem; }
.product-card .price { font-size: 1.15rem; margin-top: auto; padding-top: 6px; }

.note { font-size: .95rem; color: var(--muted); }

/* ---------- Merkmalliste ---------- */
.features { list-style: none; margin: 1em 0; padding: 0; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 30px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); box-shadow: inset 0 0 0 3px #fff;
}
.subhead { color: var(--blue-dark); font-weight: 700; margin: 1.4em 0 .3em; }

/* ---------- Zielgruppen ---------- */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.audience .card h3 { margin-top: 0; color: var(--red); }
.audience ul { margin: 0; padding-left: 1.1em; }
.audience li { padding: 2px 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid dl { margin: 0; }
.contact-grid dt { font-weight: 700; margin-top: 14px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-grid dd { margin: 2px 0 0; }

/* ---------- Bestellungen ---------- */
.terms { display: grid; gap: 12px; margin: 1.2em 0; padding: 0; list-style: none; }
.terms li { padding-left: 30px; position: relative; }
.terms li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--ink); color: #cfd6da; font-size: .95rem;
  padding: 44px 0 28px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--blue); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 .6em; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .bar {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #96a0a5;
}
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(18,20,22,.9);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .close {
  position: absolute; top: 16px; right: 20px; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.lightbox .close:hover { background: rgba(255,255,255,.28); }

/* ---------- Diverses ---------- */
.skip-link {
  position: absolute; left: -999px;
}
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; border-radius: 6px; z-index: 200; }

@media print {
  .site-header, .site-footer, .lightbox { display: none; }
  body { font-size: 12pt; }
}
