/* Manifaktur – neue Website (statisch)
   Layout: rote Kopfleiste wie bisher, darunter ruhige Papierfläche;
   Inhalte in einer 1120px-Spalte, Bilder als Hochformat-Kacheln wie die Verpackungsfotos. */
:root {
  --red: #c1001f;          /* Markenrot der Kopfleiste */
  --red-ink: #a3001a;      /* Rot für Text/Links auf hellem Grund */
  --paper: #f6efe2;        /* helles Beige */
  --card: #ffffff;
  --ink: #3b302d;
  --muted: #6f625d;
  --line: #ddd3c9;
  --on-red: #ffffff;
  --img-bg: #e4ddd4;
  color-scheme: light;

  --f-display: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --f-body: "Asap", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.5vw, 3rem);
  --step-4: clamp(2.4rem, 7vw, 4.4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--red); }
img { max-width: 100%; display: block; }
a { color: var(--red-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap > * { min-width: 0; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.eyebrow {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 1.1rem; font-weight: 600; color: var(--red-ink);
}
.lead { font-size: 1.2rem; color: var(--ink); }
.prose { display: grid; gap: 1em; }
.prose h2 { margin-top: 0.8em; font-size: var(--step-1); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.35em; }
.muted { color: var(--muted); }

/* ---------- Kopfleiste ---------- */
.site-header { background: var(--red); color: var(--on-red); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--on-red); line-height: 1; flex: none; }
.brand img { height: 52px; width: auto; }
.brand-text { font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; letter-spacing: 0.04em; }
.brand-sub { font-family: var(--f-display); font-size: 0.8rem; letter-spacing: 0.08em; margin-top: 4px; }
.nav { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.nav a {
  color: var(--on-red); text-decoration: none; font-family: var(--f-display);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 0.95rem;
  padding: 6px 0; border-bottom: 2px solid transparent; opacity: 0.88;
}
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--on-red); }
.nav a:focus-visible, .lang a:focus-visible, .icon-link:focus-visible, .menu-btn:focus-visible { outline-color: var(--on-red); }
.lang { display: flex; align-items: center; gap: 10px; line-height: 1; font-family: var(--f-display); font-weight: 600; font-size: 0.9rem; }
.lang a, .lang span { color: var(--on-red); text-decoration: none; opacity: 0.65; }
.lang [aria-current] { opacity: 1; }
.icon-link { color: var(--on-red); display: inline-flex; opacity: 0.88; }
.icon-link:hover { opacity: 1; }
.icon-link svg { width: 22px; height: 22px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--on-red); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--red); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.15); text-decoration: underline; text-underline-offset: 6px; }
  .nav .nav-extra { display: flex; gap: 20px; align-items: center; padding-top: 14px; }
  .site-header .wrap { min-height: 72px; }
  .brand img { height: 44px; }
}
@media (min-width: 901px) { .nav .nav-extra { display: flex; gap: 18px; align-items: center; margin-left: 10px; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--img-bg); color: #fff; overflow: hidden; }
.hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,14,10,0.72) 0%, rgba(30,14,10,0.35) 55%, rgba(30,14,10,0.05) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 11vw, 140px); display: grid; gap: 20px; }
.hero h1 { font-size: var(--step-4); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; max-width: 12ch; }
.hero p { font-size: 1.2rem; max-width: 60ch; }
.hero .eyebrow { color: #fff; opacity: 0.9; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem;
  padding: 14px 22px; border-radius: 2px; border: 2px solid var(--red); background: var(--red); color: #fff;
}
.btn:hover { background: var(--red-ink); border-color: var(--red-ink); }
.btn.ghost { background: transparent; color: var(--red-ink); border-color: currentColor; }
.btn.ghost:hover { background: var(--red); color: #fff; border-color: var(--red); }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: #3b302d; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }
.page-head { padding-block: clamp(44px, 6vw, 72px) 8px; display: grid; gap: 14px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Fakten mit Linie oben */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.fact { border-top: 2px solid var(--red); padding-top: 14px; display: grid; gap: 6px; }
.fact strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.fact span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Kategorie-Kacheln (Hochformat wie bisher) */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.cat { text-decoration: none; color: var(--ink); display: grid; gap: 10px; }
.cat .ph { aspect-ratio: 1 / 1; background: var(--img-bg); overflow: hidden; max-width: 100%; }
.cat .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat:hover .ph img { transform: scale(1.04); }
.cat b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; font-weight: 600; }
.cat small { color: var(--muted); font-size: 0.85rem; display: block; margin-top: -8px; }

/* Bezugsquellen */
.where { background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.where > div { padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; align-content: start; }
.where > div + div { border-left: 1px solid var(--line); }
@media (max-width: 720px) { .where { grid-template-columns: 1fr; } .where > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Service-Band */
.band { background: var(--red); color: #fff; }
.band .wrap { padding-block: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: var(--step-3); }
.band .eyebrow { color: #fff; opacity: 0.85; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.band li { border-top: 1px solid rgba(255,255,255,0.35); padding: 14px 0; font-family: var(--f-display); font-size: 1.15rem; display: flex; justify-content: space-between; gap: 16px; }
.band li:last-child { border-bottom: 1px solid rgba(255,255,255,0.35); }
.band li span { opacity: 0.8; font-family: var(--f-body); font-size: 0.95rem; text-align: right; }
.band .btn { background: #fff; color: #3b302d; border-color: #fff; }
.band .btn:hover { background: transparent; color: #fff; }
.band .btn:focus-visible { outline-color: #fff; }
@media (max-width: 820px) { .band .wrap { grid-template-columns: 1fr; } }

/* Sortiment */
.jump { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); z-index: 10; background: var(--paper); padding-block: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .jump { top: calc(72px + env(safe-area-inset-top, 0px)); } }
.jump a { text-decoration: none; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; }
.jump a:hover { border-color: var(--red-ink); color: var(--red-ink); }
.range { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.range:last-of-type { border-bottom: 0; }
.range .ph { aspect-ratio: 1 / 1; background: var(--img-bg); overflow: hidden; max-width: 100%; }
.range .ph img { width: 100%; height: 100%; object-fit: cover; }
.range-body { display: grid; gap: 16px; align-content: start; }
.range-body .count { font-family: var(--f-display); color: var(--muted); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }
.products { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.products li { padding: 10px 0; border-top: 1px solid var(--line); }
.products li small { color: var(--muted); display: block; font-size: 0.85rem; }
@media (max-width: 760px) { .range { grid-template-columns: 1fr; } .range .ph { max-width: 260px; } .products { grid-template-columns: 1fr; } }

/* Bilderreihe */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .ph { aspect-ratio: 4 / 3; background: var(--img-bg); overflow: hidden; max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .ph:first-child { grid-column: 1 / -1; } }

.specs { display: grid; gap: 0; margin: 0; }
.specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem; color: var(--red-ink); padding-top: 2px; }
.specs dd { margin: 0; }
@media (max-width: 520px) { .specs div { grid-template-columns: 1fr; gap: 4px; } }

.contact-card { background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.contact-card .row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.contact-card .row b { font-family: var(--f-display); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); min-width: 64px; }
.contact-card .sel { user-select: all; }

/* Team */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.member { display: grid; gap: 8px; align-content: start; }
.member .ph { aspect-ratio: 3 / 4; background: var(--img-bg); overflow: hidden; max-width: 100%; }
.member img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.member b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.member span { color: var(--muted); font-size: 0.92rem; line-height: 1.35; }

.job { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; }
.job h2 { font-size: var(--step-2); }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--f-display); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.job h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red-ink); margin-bottom: 8px; }
.job ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.35em; }

.draft { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px dashed var(--red-ink); padding: 14px 16px; font-size: 0.95rem; }
.draft b { color: var(--red-ink); font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; padding-top: 3px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: #2b2220; color: #e9e1db; margin-top: 0; }
.site-footer .wrap { padding-block: 48px 28px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; }
.site-footer h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #bfb2ab; margin-bottom: 10px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #473b38; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: #bfb2ab; }
.site-footer .legal a { color: #bfb2ab; }
.site-footer .icon-link { color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badges span { font-family: var(--f-display); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid #5a4b47; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Piktogramme */
.pictos { display: grid; grid-template-columns: 1fr; }
.picto { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.picto > div { display: grid; gap: 6px; min-width: 0; }
.picto h2 { font-size: var(--step-1); }
.picto-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.picto-icon img { width: 72px; height: 72px; }
.picto-icon.square { border-radius: 6px; background: var(--red); overflow: hidden; }
.picto-icon.square img { width: 72px; height: 72px; }
@media (max-width: 760px) { .picto { grid-template-columns: 56px 1fr; gap: 16px; } .picto-icon, .picto-icon img { width: 56px; height: 56px; } }


/* Piktogramme in den Fakten */
.fact .ico { width: 72px; height: 72px; object-fit: contain; margin-bottom: 6px; }

/* Illustrationen im Sortiment */
.cat .ph, .range .ph { background: transparent; aspect-ratio: 334 / 600; }

@media (max-width: 760px) { .range .ph { max-width: 180px; } }

/* Sprachumschalter und Icon im Menü ohne Linie */
.nav .nav-extra a { border-bottom: 0; padding: 0; }

/* Markenzeichen */
sup.reg { font-size: 0.6em; line-height: 0; vertical-align: super; margin-left: 1px; }
