/* MR Lasergravuren · Corporate Design (Werkstatt-Version)
   Layout: helle Werkstatt. Papier als Grund, echtes Birkenholz für Bühne und Bänder,
   Walnuss-Braun für Text (die Farbe einer Lasergravur auf Holz), Moosgrün für Aktionen,
   Laserglut nur im Intro. Weiche Rundungen, Inhalte linksbündig, max. 1200px. */

:root {
  /* Farben */
  --paper:     #fbf7f0;   /* Grund */
  --paper-2:   #f4ecdf;   /* Flächen */
  --card:      #fffdf9;
  --ink:       #3a2a1f;   /* Walnuss: Text */
  --ink-soft:  #786454;
  --burn:      #8b4a24;   /* Brandspur des Lasers */
  --moss:      #4f6d3a;   /* Aktionen */
  --moss-dark: #3f5a2d;
  --ember:     #e07a2e;   /* Laserglut */
  --uv:        #7a5cf0;   /* UV-Druck */
  --wood:      #ead8bb;
  --line:      rgba(58, 42, 31, .14);

  /* Schrift */
  --f-display: "Nunito", "Varela Round", "Segoe UI", system-ui, sans-serif;
  --f-body:    "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-hand:    "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  --f-mono:    "JetBrains Mono", Consolas, monospace;

  --t-xs: .8rem;
  --t-s:  .94rem;
  --t-m:  1.06rem;
  --t-l:  clamp(1.2rem, 1.08rem + .5vw, 1.4rem);
  --t-xl: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem);
  --t-xxl: clamp(2.2rem, 1.5rem + 3vw, 3.8rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --r-s: 10px;
  --r-l: 22px;
  --shadow: 0 1px 2px rgba(58,42,31,.06), 0 8px 24px -10px rgba(58,42,31,.18);
  --header-h: 70px;
  --wood-img: url("../img/holz.jpg");

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--t-m); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--wood); color: var(--ink); }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--t-xxl); letter-spacing: -.01em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-l); font-weight: 700; }
p { margin: 0; max-width: 65ch; }
.lead { font-size: var(--t-l); line-height: 1.55; color: var(--ink); max-width: 52ch; }
.muted { color: var(--ink-soft); }

.eyebrow { font-family: var(--f-hand); font-size: 1.55rem; line-height: 1; color: var(--burn); font-weight: 600; display: inline-block; transform: rotate(-1.5deg); }
.eyebrow.is-uv { color: var(--uv); }
.hand { font-family: var(--f-hand); font-size: 1.5rem; color: var(--burn); line-height: 1.1; }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); }

.placeholder-text { background: #fde7c8; color: #8a4510; padding: 0 .35em; border-radius: 4px; font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: rgba(58,42,31,.28);
  display: inline-flex; align-items: center; gap: .55em; min-height: 50px; padding: .7em 1.5em;
  font-family: var(--f-display); font-size: 1rem; font-weight: 700; text-decoration: none;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd); border-radius: 999px;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { --b-bd: var(--ink); transform: translateY(-1px); }
.btn-primary { --b-bg: var(--moss); --b-fg: #fff; --b-bd: var(--moss); }
.btn-primary:hover { --b-bg: var(--moss-dark); --b-bd: var(--moss-dark); box-shadow: 0 8px 20px -8px rgba(63,90,45,.6); }
.btn-uv { --b-bg: var(--uv); --b-fg: #fff; --b-bd: var(--uv); }
.btn-uv:hover { box-shadow: 0 8px 20px -8px rgba(122,92,240,.6); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink { color: var(--moss-dark); text-decoration: none; font-weight: 700; border-bottom: 2px solid rgba(79,109,58,.35); padding-bottom: 1px; }
.textlink:hover { border-color: var(--moss); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,247,240,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; height: 46px; width: auto; }
@media (max-width: 420px) { .brand img { height: 32px; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(4px, 1vw, 10px); align-items: center; }
.nav a { font-family: var(--f-display); font-size: .98rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--wood); }
.nav .nav-cta { color: #fff; background: var(--moss); }
.nav .nav-cta:hover { color: #fff; background: var(--moss-dark); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--line); background: var(--card); border-radius: 50%; cursor: pointer; position: relative; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform .25s, top .25s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; left: 0; right: 0; }
.nav-toggle span::after { top: 6px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--paper); padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav a { display: block; font-size: 1.2rem; padding: 14px 18px; color: var(--ink); }
  .nav-open { overflow: hidden; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head p { color: var(--ink-soft); }
.section.alt { background: var(--paper-2); }

/* Holzband: echtes Brett als Hintergrund */
.on-birch { background: var(--wood) var(--wood-img) center / cover; position: relative; }
.on-birch::before { content: ""; position: absolute; inset: 0; background: rgba(251,244,232,.35); pointer-events: none; }
.on-birch > .wrap { position: relative; }

/* ---------- Hero / Holzbrett ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.board {
  position: relative; max-width: 1080px; margin-inline: auto;
  border-radius: var(--r-l); overflow: hidden;
  background: var(--wood) var(--wood-img) center / cover;
  box-shadow: inset 0 0 0 1px rgba(110,70,30,.18), inset 0 -10px 30px rgba(120,80,40,.12), 0 30px 60px -30px rgba(70,45,20,.45), 0 4px 10px rgba(70,45,20,.08);
  padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 64px) clamp(16px, 3vw, 28px);
}
.board::after { /* Kantenfase */ content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(120,80,40,.2); pointer-events: none; }
.laser-stage { position: relative; width: 100%; }
.laser-stage canvas { display: block; width: 100%; height: auto; }
.laser-readout { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(18px, 3vw, 30px); color: #6b5440; min-height: 1.5em; }
.laser-readout .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); margin-right: 8px; box-shadow: 0 0 8px var(--ember); vertical-align: 1px; }
.laser-readout.is-idle .dot { background: var(--moss); box-shadow: none; }
.laser-controls { display: flex; gap: 14px; }
.laser-controls button { background: rgba(255,255,255,.55); border: 0; border-radius: 999px; color: var(--ink); font: inherit; font-family: var(--f-body); font-weight: 600; font-size: .85rem; cursor: pointer; padding: 6px 14px; }
.laser-controls button:hover { background: rgba(255,255,255,.85); }

.hero-copy { display: grid; gap: 18px; margin-top: clamp(32px, 5vw, 56px); justify-items: start; max-width: 1080px; margin-inline: auto; }
.hero-copy h1 { max-width: 17ch; }
.hero-note { font-family: var(--f-hand); font-size: 1.6rem; color: var(--burn); transform: rotate(-2deg); }

/* Intro: Inhalte warten, bis das Logo graviert ist (nur wenn JS läuft) */
.intro-pending .site-header, .intro-pending .after-engrave { opacity: 0; transform: translateY(10px); }
.site-header, .after-engrave { transition: opacity .8s ease, transform .8s ease; }
.after-engrave:nth-child(2) { transition-delay: .12s; }
.after-engrave:nth-child(3) { transition-delay: .24s; }
.after-engrave:nth-child(4) { transition-delay: .36s; }

/* Seitenkopf der Unterseiten */
.page-hero { padding-block: clamp(44px, 6vw, 84px) clamp(28px, 4vw, 52px); position: relative; }
.page-hero .wrap { display: grid; gap: 14px; }
.page-hero h1 { max-width: 20ch; }
.page-hero::after { content: ""; display: block; height: 14px; margin-top: clamp(32px, 5vw, 56px); background: var(--wood) var(--wood-img) center / cover; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(120,80,40,.25); }
.page-hero.uv::after { background: linear-gradient(90deg, #c7b8ff, #ffd0e4, #c9f0ff); }

/* ---------- Raster & Karten ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 26px); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }

.service { display: grid; gap: 14px; align-content: start; padding: 0 0 clamp(22px, 3vw, 30px); background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.service > :not(.ph) { margin-inline: clamp(20px, 3vw, 30px); }
.service:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(58,42,31,.06), 0 18px 36px -14px rgba(58,42,31,.3); }
.service .ph { border-radius: 0; border: 0; }
.service ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service .go { justify-self: start; }

.chip { display: inline-block; font-size: var(--t-xs); font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }

/* Bild-Platzhalter wie ein unbehandeltes Holzstück */
.ph { position: relative; display: grid; place-items: end start; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-s); overflow: hidden; color: var(--ink-soft);
  background: linear-gradient(rgba(251,247,240,.35), rgba(251,247,240,.35)), var(--wood) var(--wood-img) center / 260% auto; }
.ph figcaption, .ph .ph-label { position: relative; margin: 10px; font-size: .78rem; font-weight: 600; padding: 4px 10px; background: rgba(255,253,249,.88); color: var(--ink); border-radius: 999px; line-height: 1.4; }
.ph.tall { aspect-ratio: 3 / 4; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.square { aspect-ratio: 1; }
.ph.is-uv { background: linear-gradient(135deg, #e9e2ff, #ffe1ee 55%, #dff5ff); }
.ph:nth-of-type(3n+2) { background-position: 30% 60%; }
.ph:nth-of-type(3n) { background-position: 80% 20%; }

/* Anlässe */
.occasions { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.occasions .chip { font-size: 1rem; padding: 10px 18px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Ablauf: echte Reihenfolge */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 6px; align-content: start; counter-increment: step; background: rgba(255,253,249,.88); border-radius: var(--r-s); padding: 18px 18px 20px; box-shadow: 0 6px 18px -10px rgba(70,45,20,.4); }
.steps li::before { content: counter(step); font-family: var(--f-hand); font-size: 2.2rem; line-height: 1; color: var(--burn); font-weight: 700; }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: var(--t-s); color: var(--ink-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Galerie */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-filter button { font-family: var(--f-display); font-size: .95rem; font-weight: 700; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--ink-soft); cursor: pointer; }
.gallery-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(10px, 1.6vw, 18px); }
.gallery .item { margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: inherit; font: inherit; display: block; width: 100%; text-decoration: none; }
.gallery .item .ph { transition: transform .35s, box-shadow .3s; box-shadow: 0 4px 14px -8px rgba(70,45,20,.4); }
.gallery .item:hover .ph { transform: rotate(-.6deg) scale(1.015); box-shadow: 0 14px 30px -12px rgba(70,45,20,.5); }
.gallery .item.big { grid-column: span 2; grid-row: span 2; }
.gallery .item.big .ph { aspect-ratio: auto; height: 100%; min-height: 260px; }
.gallery .item[hidden] { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery .item.big { grid-column: span 2; grid-row: auto; } .gallery .item.big .ph { aspect-ratio: 4/3; min-height: 0; } }
.gallery-teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .gallery-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(43,30,20,.88); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.lightbox[hidden] { display: none; }
.lightbox-inner { width: min(960px, 100%); display: grid; gap: 14px; color: var(--paper); }
.lightbox .ph { aspect-ratio: 3 / 2; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lightbox-bar .muted { color: #d9c8b3; }
.lightbox-bar .btns { display: flex; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.icon-btn:hover { background: var(--wood); }

/* Materialtabelle */
.table-wrap { overflow-x: auto; border-radius: var(--r-s); background: var(--card); box-shadow: var(--shadow); }
table.spec { width: 100%; border-collapse: collapse; min-width: 620px; font-size: var(--t-s); }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-family: var(--f-display); font-weight: 800; font-size: .9rem; background: var(--paper-2); }
.spec tbody tr:last-child td { border-bottom: 0; }
.spec td:first-child { font-weight: 700; white-space: nowrap; }
.dotmark { display: inline-flex; gap: 4px; vertical-align: middle; }
.dotmark i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.dotmark i.on { background: var(--burn); box-shadow: none; }
.uvt .dotmark i.on { background: var(--uv); }

/* Feature-Liste */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.features > div { padding: 22px; border-radius: var(--r-s); background: var(--card); box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; }
.features h3 { font-size: 1.12rem; }
.features p { color: var(--ink-soft); font-size: var(--t-s); }
.features .k { font-family: var(--f-hand); font-size: 1.35rem; line-height: 1; color: var(--burn); }
.uv-scope .features .k { color: var(--uv); }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split .copy { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border-radius: var(--r-s); box-shadow: inset 0 0 0 1.5px var(--line); padding-inline: 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--moss); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* Preise wie ein Preisschild aus Holz */
.price-note { display: grid; gap: 8px; padding: 22px 24px; border-radius: var(--r-s); background: var(--wood) var(--wood-img) center / cover; box-shadow: var(--shadow); position: relative; }
.price-note > * { position: relative; }
.price-note .mono { font-family: var(--f-hand); font-size: 1.5rem; color: var(--burn); }
.uv-scope .price-note { background: linear-gradient(135deg, #efe9ff, #ffeef5); }
.uv-scope .price-note .mono { color: var(--uv); }

/* CTA */
.cta { background: var(--ink); color: var(--paper); }
.cta h2 { color: var(--paper); max-width: 22ch; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta .btn-primary { --b-bg: var(--ember); --b-bd: var(--ember); --b-fg: #2a1606; }
.cta .btn-primary:hover { --b-bg: #ec8a40; --b-bd: #ec8a40; }
.cta-line { display: none; }

/* Über mich */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values > div { display: grid; gap: 8px; align-content: start; background: rgba(255,253,249,.9); border-radius: var(--r-s); padding: 22px; box-shadow: 0 6px 18px -10px rgba(70,45,20,.4); }
.values .num { font-family: var(--f-hand); font-size: 1.35rem; color: var(--burn); line-height: 1.1; }
@media (max-width: 760px) { .values { grid-template-columns: minmax(0, 1fr); } }
.machine { display: grid; gap: 6px; padding: 22px; border-radius: var(--r-s); background: var(--card); box-shadow: var(--shadow); }
.machine dl { margin: 6px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; font-size: var(--t-s); }
.machine dt { color: var(--ink-soft); }
.machine dd { margin: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
form.contact { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-display); font-size: .95rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(79,109,58,.15); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-s); color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--moss); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 14px; font-size: var(--t-s); }
.form-status.ok { background: #e6efdc; color: #2f4520; }
.form-status.err { background: #fde7c8; color: #6e360c; }
.contact-card { display: grid; gap: 20px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow); }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-family: var(--f-display); font-weight: 800; font-size: .85rem; color: var(--ink-soft); margin-bottom: 2px; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }

/* Rechtstexte */
.legal { display: grid; gap: 26px; max-width: 760px; }
.legal section { display: grid; gap: 8px; }
.legal h2 { font-size: 1.3rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.notice { padding: 16px 18px; border-radius: 14px; background: #fde7c8; color: #6e360c; font-size: var(--t-s); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); color: var(--ink); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: var(--t-s); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { display: block; width: min(320px, 100%); height: auto; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.site-footer h3 { font-family: var(--f-hand); font-size: 1.45rem; font-weight: 600; color: var(--burn); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink); }
.site-footer a:hover { color: var(--moss-dark); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-soft); }

/* Einblenden beim Scrollen (sichtbar im Ruhezustand) */
.js .reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal.pre { opacity: .001; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Platzhalter auf Holzbändern: wie Fotos, die auf dem Brett liegen */
.on-birch .ph { background: var(--card); box-shadow: 0 10px 24px -12px rgba(70,45,20,.5); border: 6px solid var(--card); }
.on-birch 
/* Material der Gravurplatte */
.board { transition: background-color .4s; }
.board[data-material="metall"] {
  background: #c9ccd2 url("../img/metall.jpg") center / cover;
  box-shadow: inset 0 0 0 1px rgba(40,45,55,.25), inset 0 -10px 30px rgba(40,45,60,.15), 0 30px 60px -30px rgba(30,35,45,.5), 0 4px 10px rgba(30,35,45,.1);
}
.board[data-material="metall"] .laser-readout { color: #3c4048; }
.material-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.55); }
.material-switch button { border: 0; background: transparent; color: var(--ink); font: inherit; font-family: var(--f-display); font-weight: 700; font-size: .9rem; padding: 7px 16px; min-height: 36px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.material-switch button:hover { background: rgba(255,255,255,.7); }
.material-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.laser-readout { row-gap: 12px; }

/* ---------- Echte Fotos ---------- */
.ph.has-img { background: var(--paper-2); }
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img figcaption { position: relative; z-index: 1; }
.on-birch .ph.has-img { background: var(--card); }
.gallery-teaser .item .ph { box-shadow: 0 4px 14px -8px rgba(70,45,20,.4); }

/* Galerie: Mauerwerk-Layout, jedes Foto in seinem eigenen Format */
.gallery { display: flex; align-items: flex-start; gap: clamp(12px, 1.8vw, 20px); }
.gallery .gcol { flex: 1 1 0; min-width: 0; display: grid; gap: clamp(12px, 1.8vw, 20px); }
@media (max-width: 600px) { .gallery { flex-direction: column; align-items: stretch; } .gallery .gcol { width: 100%; } }
.gallery .item { margin: 0; background: var(--card); border-radius: var(--r-s); overflow: hidden; box-shadow: 0 4px 14px -8px rgba(70,45,20,.4); transition: transform .3s, box-shadow .3s; }
.gallery .item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(70,45,20,.5); }
.gallery .item img { display: block; width: 100%; height: auto; }
.gallery .item .cap { display: grid; gap: 2px; padding: 12px 14px 14px; font-family: var(--f-display); font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.gallery .item .cap .tag { font-family: var(--f-hand); font-weight: 600; font-size: 1.15rem; color: var(--burn); }
.gallery .item.is-uv .cap .tag { color: var(--uv); }
.gallery-teaser { display: grid; }
.gallery-teaser .item { margin: 0; background: none; box-shadow: none; overflow: visible; }
.gallery-teaser .item:hover { box-shadow: none; }

/* Großansicht */
.lightbox .lb-img { background: #1d150f; border-radius: var(--r-s); display: grid; place-items: center; max-height: calc(100vh - 140px); overflow: hidden; }
.lightbox .lb-img img { display: block; max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; }
figure.ph { margin: 0; }
/* Gefilterte Galerie: Bilder rücken von links auf */
.gallery.is-filtered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.gallery.is-filtered .gcol { display: contents; }
@media (max-width: 600px) { .gallery.is-filtered { grid-template-columns: minmax(0, 1fr); } }
