/* HKF — Hömberg Kunststofftechnik · Mehrwegbecher und The Smoking Bandit
   Stylesheet, keine externen Ressourcen */

:root {
  --c-bg: #FAFAF7;
  --c-bg-white: #FFFFFF;
  --c-bg-dark: #0F0F0F;
  --c-bg-darker: #060606;
  --c-text: #1A1A1A;
  --c-text-on-dark: #FAFAF7;
  --c-text-muted: #666666;
  --c-text-dim: #9A9A9A;
  --c-border: #E5E5E2;
  --c-border-dark: #2A2A2A;
  --c-accent: #F38E0F;

  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Helvetica Neue", "Helvetica", "Arial Black", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Cascadia Mono", monospace;

  --w-max: 1200px;
  --w-narrow: 720px;

  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

p { margin: 0 0 var(--s-2); }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 var(--s-3);
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: var(--s-1); }

.container {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

.container--narrow { max-width: var(--w-narrow); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0 0 var(--s-3);
}

/* ─── Header ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-text-on-dark);
  border-bottom: 1px solid var(--c-border-dark);
}

.header-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: var(--s-2) var(--s-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.header-brand {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: inherit;
}

.header-nav {
  display: flex;
  gap: var(--s-3);
  font-size: 0.875rem;
}

.header-nav a {
  color: inherit;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  border-bottom-color: var(--c-accent);
  outline: none;
}

@media (max-width: 640px) {
  .header-nav { display: none; }
}

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
  padding: var(--s-7) 0 var(--s-6);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--c-accent) 0,
    var(--c-accent) 18px,
    transparent 18px,
    transparent 32px
  );
}

.hero .eyebrow { color: var(--c-text-dim); }

.hero-title { margin-bottom: var(--s-4); }

.hero-lead {
  font-size: 1.125rem;
  max-width: 560px;
  color: var(--c-text-dim);
}

/* ─── Sections ───────────────────────────────────────── */

.section { padding: var(--s-7) 0; }

.section--light  { background: var(--c-bg-white); }
.section--neutral { background: var(--c-bg); }
.section--dark    { background: var(--c-bg-dark); color: var(--c-text-on-dark); }
.section--dark .eyebrow { color: var(--c-text-dim); }

.section-hero {
  margin: 0 0 var(--s-6);
}

.section-hero img {
  width: 100%;
}

.section-header { max-width: 720px; margin-bottom: var(--s-3); }
.section-intro  { max-width: 640px; margin-bottom: var(--s-6); font-size: 1.0625rem; }

/* ─── Becher ─────────────────────────────────────────── */

.becher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.becher-variant {
  background: var(--c-bg);
  padding: var(--s-4);
  border: 1px solid var(--c-border);
}

.material-label {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 3.5rem;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0 0 var(--s-1);
}

.material-label::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 4px;
  background: var(--c-accent);
  margin-top: var(--s-2);
}

.variant-desc {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  margin: 0 0 var(--s-3);
}

.variants-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 0.9375rem;
}

.variants-table th {
  text-align: left;
  padding: var(--s-1) 0;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-text);
}

.variants-table td {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--c-border);
}

.variants-table tbody tr:last-child td { border-bottom: none; }

.variants-table td:last-child,
.variants-table th:last-child { text-align: right; }

/* ─── Callout ────────────────────────────────────────── */

.callout {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
  padding: var(--s-4);
  border-left: 4px solid var(--c-accent);
}

.callout h3 {
  color: var(--c-text-on-dark);
  font-size: 1.125rem;
  margin-bottom: var(--s-1);
}

.callout p { color: var(--c-text-dim); }

/* ─── Split (Cigarette Maker) ────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: var(--s-4); }
}

.split-text p {
  color: var(--c-text-dim);
  margin-bottom: var(--s-2);
}

.split-image { margin: 0; }
.split-image img { width: 100%; }

/* ─── Aschenbecher Karten ────────────────────────────── */

.ascher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-4);
}

.ascher-card { display: flex; flex-direction: column; }

.ascher-card figure {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  margin: 0 0 var(--s-3);
}

.ascher-card h3 { margin-bottom: var(--s-1); }

.ascher-card p {
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}

/* ─── Info-Liste (Versand) ───────────────────────────── */

.info-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
  border-top: 1px solid var(--c-text);
  padding-top: var(--s-4);
  margin: 0;
}

.info-list > div { padding: var(--s-1) 0; }

.info-list dt {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--s-1);
}

.info-list dd {
  margin: 0;
  font-size: 1rem;
}

/* ─── Kontakt ────────────────────────────────────────── */

.contact-lead {
  font-size: 1.0625rem;
  color: var(--c-text-dim);
  max-width: 540px;
  margin-bottom: var(--s-4);
}

.contact-mail {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 900;
  text-transform: lowercase;
}

.contact-mail a {
  color: var(--c-text-on-dark);
  text-decoration: none;
  border-bottom: 3px solid var(--c-accent);
  padding-bottom: 4px;
  transition: color 0.15s ease;
}

.contact-mail a:hover,
.contact-mail a:focus-visible {
  color: var(--c-accent);
  outline: none;
}

.mail-display { user-select: all; }

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  background: var(--c-bg-darker);
  color: var(--c-text-dim);
  padding: var(--s-6) 0 var(--s-3);
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--c-text-dim);
}

.footer-logo {
  max-width: 180px;
  margin: 0 0 var(--s-2);
  background: var(--c-text-on-dark);
  padding: var(--s-1) var(--s-2);
}

.footer-impressum h2,
.footer-meta h2 {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c-text-on-dark);
  margin: 0 0 var(--s-2);
}

.footer-impressum address {
  font-style: normal;
  font-size: 0.8125rem;
}

.footer-impressum p {
  margin-top: var(--s-2);
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.footer-meta a {
  color: var(--c-text-on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border-dark);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  border-bottom-color: var(--c-accent);
  outline: none;
}

.footer-meta .copy {
  font-size: 0.75rem;
  margin-top: var(--s-3);
  color: var(--c-text-muted);
}

/* ─── Datenschutz-Subpage ────────────────────────────── */

.subpage {
  max-width: var(--w-narrow);
  margin: 0 auto;
  padding: var(--s-7) var(--s-3) var(--s-6);
}

.subpage h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: var(--s-4);
}

.subpage h2 {
  font-size: 1.25rem;
  margin-top: var(--s-4);
  margin-bottom: var(--s-2);
}

.subpage p { margin-bottom: var(--s-2); }

.subpage a {
  color: inherit;
  border-bottom: 1px solid var(--c-accent);
  text-decoration: none;
  padding-bottom: 1px;
}

.subpage .back {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  display: inline-block;
  border-bottom: none;
}

.subpage .back::before { content: '← '; }

/* ─── Focus visibility ────────────────────────────────── */

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}