/* =========================================================
   Herrentor 3D Solution – Design v2
   Schrift: Poppins (selbst gehostet, OFL) · Akzentfarbe im Admin wählbar
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("/fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #f3f4f8;
  --surface-2: #e9ebf2;
  --ink: #161a2b;
  --muted: #5a6072;
  --line: #e1e4ec;

  --accent: #2d5bff;
  --accent-dark: #1b3fcc;
  --accent-soft: #e7edff;

  --yellow: #ffc53d;
  --green: #12a173;
  --coral: #f0524f;
  --violet: #6e4cf5;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --wrap: 1280px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 96px;
  --logo: 72px;
  color-scheme: light;
}

:root[data-accent="gruen"]   { --accent: #0f9d6e; --accent-dark: #0a7652; --accent-soft: #dcf4ea; }
:root[data-accent="koralle"] { --accent: #e8483f; --accent-dark: #b9322b; --accent-soft: #fde5e3; }
:root[data-accent="violett"] { --accent: #6e4cf5; --accent-dark: #4f31cf; --accent-soft: #ebe6ff; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--accent-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: #fff; border-radius: var(--r-s); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b3150; color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .94rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand img { width: var(--logo); height: var(--logo); object-fit: contain; flex: none; }
.brand-name { display: block; font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; }
.brand-sub { display: block; font-size: .85rem; color: var(--muted); }

.main-nav ul { display: flex; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  display: block; padding: .5rem .95rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem;
}
.main-nav a:hover { background: var(--surface); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }

.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 46px; padding: .45rem 1rem .45rem .85rem;
  border-radius: 999px; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 500;
}
.cart-link:hover { background: var(--accent-dark); color: #fff; }
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: #fff; color: var(--accent-dark); font-size: .8rem; font-weight: 700;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
}
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .cart-label { display: none; }
  .cart-link { padding: .45rem .8rem; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    display: none; padding: 1rem var(--gutter) 1.5rem;
    height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--line);
  }
  .main-nav.is-open { display: block; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .main-nav a { padding: 1rem 1.1rem; font-size: 1.35rem; font-weight: 700; border-radius: var(--r-s); }
}

.notice-bar { background: var(--ink); color: #fff; font-size: .93rem; text-align: center; padding: .6rem var(--gutter); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-head p { margin-top: 1rem; max-width: 40rem; font-size: 1.12rem; color: var(--muted); }

/* ---------- Startseite: Hero ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 2rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--accent-soft);
  border-radius: var(--r-l);
}
.hero-title {
  color: var(--ink);
  /* "gedruckter" Schriftzug: Schichten in Akzentfarbe */
  text-shadow:
    1px 1px 0 var(--accent), 2px 2px 0 var(--accent), 3px 3px 0 var(--accent),
    4px 4px 0 var(--accent), 5px 5px 0 var(--accent), 6px 6px 0 var(--accent-dark);
}
.hero-text { max-width: 33rem; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #3a4057; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { justify-self: center; width: min(100%, 420px); }
.hero-art .spool-disc { fill: var(--ink); }
.hero-art .spool-hub { fill: var(--accent-soft); }
.hero-art .spool-wind { fill: none; stroke-width: 2; opacity: .35; stroke: #fff; }

@media (max-width: 700px) {
  .hero-panel { grid-template-columns: 1fr; }
  .hero-art { width: min(80%, 320px); order: -1; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-surface { background: var(--surface); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.section-head p { margin-top: .6rem; max-width: 36rem; color: var(--muted); }

/* ---------- Produktkarten ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
}
.product-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; left: .75rem; top: .75rem;
  padding: .2rem .7rem; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 500;
}
.product-tag.is-out { background: var(--ink); color: #fff; }
.product-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.product-body p { color: var(--muted); font-size: .94rem; }
.product-price { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .75rem; }
.product .field { margin-top: .35rem; }

/* Platzhalterbild: Schichten wie im Druck */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px),
    var(--ph, var(--accent));
  color: #fff; font-weight: 700; font-size: clamp(3rem, 8vw, 4.5rem); letter-spacing: -.04em;
}
.ph-0 { --ph: var(--accent); }
.ph-1 { --ph: var(--green); }
.ph-2 { --ph: var(--coral); }
.ph-3 { --ph: var(--violet); }
.ph-4 { --ph: #e2a516; }

/* Kategorie-Filter */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  min-height: 42px; padding: .45rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: .94rem;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Teaser (Start) ---------- */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.teaser { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-l); background: var(--surface); display: flex; flex-direction: column; gap: 1rem; }
.teaser p { color: var(--muted); }
.teaser .btn { align-self: flex-start; margin-top: auto; }
.teaser-ink { background: var(--ink); color: #fff; }
.teaser-ink p { color: #c5c9d8; }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.video-card h3 { margin-top: .9rem; }
.video-card p { margin-top: .25rem; color: var(--muted); font-size: .95rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: var(--ink); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent {
  position: absolute; inset: 0; display: grid; place-items: center; gap: .75rem; align-content: center;
  padding: 1.25rem; text-align: center; color: #fff;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, var(--ink), var(--accent-dark));
}
.video-consent small { max-width: 26rem; color: #d3d7e6; font-size: .82rem; line-height: 1.5; }
.play {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 52px; padding: .7rem 1.4rem; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; cursor: pointer;
}
.play:hover { background: var(--accent-soft); }
.play svg { width: 18px; height: 18px; }
.video-ext { display: grid; place-items: center; gap: .6rem; height: 100%; padding: 1rem; color: #fff; text-align: center; }
.video-ext a { color: #fff; }

/* ---------- Social ---------- */
.social-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.social-link {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: .55rem 1.2rem .55rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500;
}
.social-link:hover { border-color: var(--ink); color: var(--ink); }
.social-link svg { width: 22px; height: 22px; }
.site-footer .social-link { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.site-footer .social-link:hover { border-color: #fff; color: #fff; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-grid .lead { font-size: 1.2rem; font-weight: 500; }
.about-grid .prose p { color: var(--muted); }
.about-grid .prose p + p { margin-top: 1rem; }
.facts { display: grid; gap: .75rem; margin: 0; }
.facts div { padding: 1.1rem 1.3rem; border-radius: var(--r-m); background: var(--surface); }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.dept { padding: 1.5rem; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); }
.dept-dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 1rem; background: var(--accent); }
.dept:nth-child(4n+2) .dept-dot { background: var(--green); }
.dept:nth-child(4n+3) .dept-dot { background: var(--coral); }
.dept:nth-child(4n+4) .dept-dot { background: var(--yellow); }
.dept p { margin-top: .4rem; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Projekte ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.project-img { aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--surface); }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project h3 { margin-top: .9rem; }
.project p { margin-top: .25rem; color: var(--muted); font-size: .95rem; }

.empty {
  padding: clamp(2rem, 5vw, 3rem); border-radius: var(--r-l);
  border: 2px dashed var(--line); text-align: center; color: var(--muted);
}
.empty .btn { margin-top: 1.25rem; }

/* ---------- Formulare ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .94rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem;
  border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-hint { font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-s); font-size: .95rem; }
.form-msg.is-error { background: #fde8e7; color: #8c1f1a; }
.form-msg.is-ok { background: #dcf4ea; color: #0a5c40; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.card { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { margin: 0; display: grid; gap: 1rem; }
.info-list dt { font-size: .85rem; color: var(--muted); }
.info-list dd { margin: .1rem 0 0; font-weight: 500; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); max-width: 42rem; }

/* ---------- Warenkorb ---------- */
.cart-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-thumb { width: 84px; height: 84px; border-radius: var(--r-s); overflow: hidden; background: var(--surface); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph { font-size: 2rem; }
.cart-item small { display: block; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { background: var(--surface); }
.qty span { min-width: 1.8rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sum-row { display: flex; justify-content: space-between; padding-top: 1rem; font-size: 1.25rem; font-weight: 700; }
.pickup { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-s); background: var(--accent-soft); font-size: .92rem; }
.link-btn { padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .88rem; }
.link-btn:hover { color: var(--coral); }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } .cart-side { position: static; } }
@media (max-width: 480px) { .cart-item { grid-template-columns: 64px 1fr; } .cart-thumb { width: 64px; height: 64px; } .cart-item .qty-wrap { grid-column: 2; } }

.done { text-align: center; padding-block: 2rem; }
.done-number { display: inline-block; margin-top: 1rem; padding: .6rem 1.2rem; border-radius: 999px; background: var(--accent-soft); font-weight: 700; font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(3rem, 7vw, 5rem); padding-block: 3.5rem 2rem; background: var(--ink); color: #c5c9d8; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { display: block; color: #9ba1b8; }
.footer-about { margin-top: 1rem; max-width: 24rem; }
.footer-title { margin-bottom: .75rem; color: #fff; font-weight: 500; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.site-footer a { color: #c5c9d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { margin-top: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #9ba1b8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Rechtliches ---------- */
.legal h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.4rem; font-size: 1.05rem; }
.legal p, .legal ul, .legal address { margin-top: .75rem; color: var(--muted); }
.legal address { font-style: normal; }
.todo { padding: .05rem .35rem; border-radius: 4px; background: #fff1c7; color: var(--ink); font-weight: 500; }

.loading { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .nav-toggle { display: none !important; } }

/* Spulen-Illustration */
.f-accent { fill: var(--accent); }
.f-yellow { fill: var(--yellow); }
.f-green { fill: var(--green); }
.f-coral { fill: var(--coral); }
.strand { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.cart-side .btn { width: 100%; margin-top: 1.25rem; }
.cart-side .field-hint { margin-top: .5rem; }
.cart-items + .card { margin-top: 2rem; }
.card > h3 { margin-bottom: 1.25rem; }
.done p { margin-top: 1rem; color: var(--muted); }
.done .btn { margin-top: .5rem; }
.page-head + .wrap.about-grid { padding-bottom: 1rem; }
.product-row { flex-wrap: wrap; }
.product-row .btn { flex: 1 1 auto; white-space: nowrap; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .product-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid.three { grid-template-columns: 1fr; } }
.video-consent a { color: #fff; }

/* =========================================================
   Responsive Feinschliff: Handy · Tablet · PC · großer Monitor
   ========================================================= */
@media (min-width: 1280px) { html { font-size: 106.25%; } }
@media (min-width: 1680px) { html { font-size: 112.5%; } :root { --wrap: 1400px; --logo: 80px; --header-h: 104px; } }

@media (max-width: 1080px) { :root { --header-h: 84px; --logo: 60px; } }
@media (max-width: 600px) {
  :root { --header-h: 72px; --logo: 52px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: .76rem; }
  .header-inner { gap: .6rem; }
  .cart-link { min-height: 44px; padding: .4rem .7rem; }
}
@media (max-width: 600px) { .brand-sub { display: none; } :root { --logo: 56px; } .brand-name { font-size: 1.05rem; line-height: 1.15; } }

/* Footer-Logo größer */
.site-footer .brand img { --logo: 88px; }
.site-footer .brand-name { font-size: 1.3rem; }

/* Logo auf „Über uns“ */
.page-head-logo { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.page-head-logo img { width: clamp(120px, 18vw, 200px); height: auto; flex: none; }
@media (max-width: 700px) { .page-head-logo { flex-direction: column-reverse; align-items: flex-start; } }

/* Tablet & Handy: Startseite */
@media (max-width: 1080px) and (min-width: 701px) { .hero-panel { grid-template-columns: 1.35fr .65fr; } }
@media (max-width: 700px) { .hero-art { width: min(64%, 260px); } }
@media (max-width: 600px) {
  .hero { padding-top: 1rem; }
  .hero-panel { padding: 1.75rem 1.4rem 2rem; border-radius: 22px; }
  .hero-title { text-shadow: 1px 1px 0 var(--accent), 2px 2px 0 var(--accent), 3px 3px 0 var(--accent), 4px 4px 0 var(--accent-dark); }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head .btn { width: 100%; }
}

/* Produktkarten */
@media (max-width: 700px) {
  .product-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .product-media { aspect-ratio: 4 / 3; }
}
@media (min-width: 601px) and (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.three { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 601px) and (max-width: 760px) { .product-grid.three { grid-template-columns: 1fr 1fr; } }

/* Teaser & Videos auf Tablets */
@media (min-width: 601px) and (max-width: 1080px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } .page-head { padding-top: 2rem; } }

/* Logo deutlich größer – Höhe bestimmt die Größe, Breite passt sich an (auch für breite Logos) */
:root { --header-h: 120px; --logo: 100px; }
.brand img { height: var(--logo); width: auto; max-width: calc(var(--logo) * 1.8); }
.brand { gap: 1rem; }
.brand-name { font-size: 1.3rem; }
.brand-sub { font-size: .92rem; }
@media (min-width: 1680px) { :root { --header-h: 128px; --logo: 108px; } }
@media (max-width: 1200px) { :root { --header-h: 100px; --logo: 80px; } .brand-name { font-size: 1.2rem; } }
@media (max-width: 600px) { :root { --header-h: 84px; --logo: 66px; } .brand { gap: .6rem; } .brand-name { font-size: 1.05rem; } }
.site-footer .brand img { --logo: 120px; }

.video-grid > .empty { grid-column: 1 / -1; }
.video-ext a.play { color: var(--ink); text-decoration: none; }
/* Logo auf dunklem Footer: weiße Fläche, damit ein dunkles Logo sichtbar bleibt */
.site-footer .brand img { background: #fff; border-radius: 18px; padding: 10px; box-sizing: content-box; height: calc(var(--logo) - 20px); }
