/* ==========================================================
   Schreinerei Heil-Saeger
   ========================================================== */

@font-face { font-family: "Bricolage"; src: url(../fonts/bricolage.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(../fonts/inter-tight.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(../fonts/instrument-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Mono"; src: url(../fonts/mono.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #15100c;
  --ink-2: #1f1813;
  --ink-3: #2b221b;
  --walnut: #8b5634;      /* Logo-Braun */
  --amber: #d39a62;
  --sawdust: #ead8bb;
  --cream: #f4ede2;
  --paper: #faf6ef;
  --steel: #c9c6c1;       /* Logo-Grau */
  --ruler: #f2c230;       /* Zollstock-Gelb */
  --text: #2a211a;
  --muted: #74675b;
  --muted-d: #b3a596;
  --line: rgba(42, 33, 26, .12);
  --line-d: rgba(244, 237, 226, .1);

  --f-head: "Bricolage", "Inter Tight", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument", Georgia, serif;
  --f-mono: "Mono", ui-monospace, Consolas, monospace;

  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 22px; display: flex; align-items: center; gap: 10px;
}
.light .eyebrow { color: var(--walnut); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(211,154,98,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(211,154,98,0); } 100% { box-shadow: 0 0 0 0 rgba(211,154,98,0); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cream); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-ghost:hover { color: var(--ink); border-color: var(--cream); }
.light .btn-ghost:hover { color: var(--cream); }
.light .btn-ghost::before { background: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link { color: var(--walnut); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .arr { transition: transform .3s var(--ease); }
.link:hover .arr { transform: translateX(4px); }

/* ---------- Späne-Canvas ---------- */
#shavings { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ---------- Zollstock (Scroll-Fortschritt) ---------- */
.ruler {
  position: fixed; top: 0; left: 0; right: 0; height: 7px; z-index: 70;
  background: rgba(21, 16, 12, .6); overflow: hidden;
}
.ruler-fill {
  position: absolute; inset: 0; background: var(--ruler);
  transform-origin: 0 50%; transform: scaleX(0);
}
.ruler-ticks {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(21,16,12,.85) 0 1px, transparent 1px 10px) top / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, rgba(21,16,12,.9) 0 1.5px, transparent 1.5px 50px) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(21,16,12,.9) 0 2px, transparent 2px 100px) top / 100% 7px no-repeat;
  mix-blend-mode: multiply; pointer-events: none;
}
.ruler-mm {
  position: fixed; top: 12px; right: 14px; z-index: 70;
  font: 500 10px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink);
  background: var(--ruler); padding: 4px 7px; border-radius: 3px;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s;
}
.ruler.is-moving .ruler-mm { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 7px; left: 0; right: 0; z-index: 50;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s, transform .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(21, 16, 12, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line-d);
}
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { position: relative; width: 44px; height: 44px; flex: none; }
.brand-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bm-blade { fill: var(--walnut); transition: transform 1.2s var(--ease); }
.bm-plane { fill: var(--steel); transform: scale(.52) translateY(4%); }
.brand:hover .bm-blade { transform: rotate(180deg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt small { font: 500 10px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 5px; }
.brand-txt b { font: 700 19px/1 var(--f-head); letter-spacing: -.01em; }
.brand-mark.big { width: 64px; height: 64px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(244,237,226,.82); position: relative; padding: 6px 0; transition: color .25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--cream); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: 50%; background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(139,86,52,.28), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(211,154,98,.08), transparent 60%),
    var(--ink);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.09' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.34 0 0 0 0 0.2 0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  background-size: 600px 600px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(52px, 8.4vw, 124px); font-weight: 800; letter-spacing: -.045em; line-height: .92; margin-bottom: 30px; }
.hero-title .line { display: block; position: relative; }
.hero-title em { color: var(--amber); font-size: 1.08em; letter-spacing: -.02em; }

/* Hobel-Reveal */
.plane-line { width: max-content; max-width: 100%; }
.plane-text { display: inline-block; clip-path: inset(-10% 100% -10% 0); }
.hero-plane {
  position: absolute; left: 0; bottom: 6%; width: .95em; height: .55em; fill: var(--steel);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.5));
  transform: translateX(-110%); opacity: 0;
}
.line-2 > span { display: inline-block; transform: translateY(105%); opacity: 0; }
.hero.is-ready .line-2 > span { transform: none; opacity: 1; transition: transform 1s var(--ease) 1.65s, opacity .6s 1.65s; }
.hero .eyebrow, .hero .lead, .hero-actions, .hero-facts { opacity: 0; transform: translateY(18px); }
.hero.is-ready .eyebrow { opacity: 1; transform: none; transition: all .8s var(--ease) .1s; }
.hero.is-ready .lead { opacity: 1; transform: none; transition: all .9s var(--ease) 1.85s; }
.hero.is-ready .hero-actions { opacity: 1; transform: none; transition: all .9s var(--ease) 2s; }
.hero.is-ready .hero-facts { opacity: 1; transform: none; transition: all .9s var(--ease) 2.15s; }

.lead { font-size: clamp(17px, 1.4vw, 20px); color: rgba(244,237,226,.78); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-facts { list-style: none; padding: 26px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 34px; border-top: 1px solid var(--line-d); max-width: 580px; }
.hero-facts b { display: block; font: 700 34px/1 var(--f-head); letter-spacing: -.03em; color: var(--cream); margin-bottom: 8px; }
.hero-facts span { font-size: 13px; color: var(--muted-d); line-height: 1.4; display: block; max-width: 170px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.saw-wrap { position: relative; width: min(100%, 520px); aspect-ratio: 1; opacity: 0; transform: scale(.85) rotate(-20deg); }
.hero.is-ready .saw-wrap { opacity: 1; transform: none; transition: opacity 1.2s, transform 1.6s var(--ease) .2s; }
.saw { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--walnut); filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); will-change: transform; }
.saw-photo {
  position: absolute; inset: 15.5%; margin: 0; border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 0 6px var(--ink), 0 0 0 1px rgba(255,255,255,.06);
}
.saw-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.saw-wrap:hover .saw-photo img { transform: scale(1.2); }
.tag {
  position: absolute; z-index: 2; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(21,16,12,.82); border: 1px solid var(--line-d); backdrop-filter: blur(8px);
  padding: 9px 13px; border-radius: 999px; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.tag-a { left: -4%; bottom: 14%; }
.tag-b { right: -2%; top: 12%; color: var(--ink); background: var(--ruler); border: 0; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(244,237,226,.35); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--walnut); color: var(--cream); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: -16px -10px 0; position: relative; z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 700 clamp(24px, 3vw, 38px)/1 var(--f-head); letter-spacing: -.02em; white-space: nowrap; }
.marquee svg { width: 30px; height: 30px; fill: var(--sawdust); animation: spin 6s linear infinite; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.light { background: var(--paper); color: var(--text); }
.dark { background: var(--ink); color: var(--cream); }
.sec-head { max-width: 780px; margin-bottom: 64px; }
.sec-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(40px, 5.6vw, 78px); }
.sec-head h2 em, .about-copy h2 em, .contact-copy h2 em { color: var(--walnut); }
.dark .sec-head h2 em, .about-copy h2 em { color: var(--amber); }
.sec-lead { font-size: 19px; color: var(--muted); margin-top: 26px; max-width: 600px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* Holzmaserung-Trenner am Sektionsanfang */
.light::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 120px; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='120'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.11' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.34 0 0 0 0 0.2 0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, #000, transparent);
}

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.svc::after {
  /* Maserung erscheint beim Hover */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.07' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.34 0 0 0 0 0.2 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(42,33,26,.35); border-color: rgba(139,86,52,.35); }
.svc:hover::after { opacity: 1; }
.svc-n { font: 500 12px/1 var(--f-mono); color: var(--walnut); letter-spacing: .1em; display: block; margin-bottom: 26px; }
.svc h3 { font-size: 27px; margin-bottom: 14px; }
.svc p { color: var(--muted); font-size: 16px; margin: 0; }
.svc-ico { width: 52px; height: 52px; fill: none; stroke: var(--walnut); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; transition: transform .6s var(--ease); }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
.svc-big { grid-column: span 2; grid-row: span 2; padding: 0; display: flex; flex-direction: column; }
.svc-big .svc-media { flex: 1; min-height: 300px; }
.svc-media { overflow: hidden; position: relative; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-big .svc-body { padding: 34px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--walnut); font-weight: 500; }
.svc-wide { grid-column: span 2; padding: 0; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--ink); color: var(--cream); border-color: transparent; }
.svc-wide .svc-body { padding: clamp(34px, 5vw, 64px); align-self: center; }
.svc-wide h3 { font-size: clamp(30px, 3.4vw, 46px); }
.svc-wide p { color: var(--muted-d); font-size: 17px; max-width: 520px; margin-bottom: 26px; }
.svc-wide .svc-n, .svc-wide .link { color: var(--amber); }
.svc-wide .svc-media { max-height: 420px; }
.svc-wide .svc-media img { object-position: 50% 40%; }
.svc-wide::after { filter: invert(1); }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-photo { position: sticky; top: 120px; }
.about-photo figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.about-photo figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21,16,12,.7)); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.08); will-change: transform; }
.sign { display: flex; align-items: center; gap: 14px; margin: -38px 0 0 24px; position: relative; z-index: 2; }
.sign-blade { width: 64px; height: 64px; fill: var(--walnut); animation: spin 18s linear infinite; flex: none; }
.sign b { display: block; font: 700 18px/1.2 var(--f-head); }
.sign span { font-size: 13px; color: var(--muted-d); line-height: 1.4; }
.about-copy > p { color: rgba(244,237,226,.78); font-size: 18px; max-width: 560px; }
.about-copy h2 { margin-bottom: 34px; }

.rings { display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: center; margin-top: 56px; padding: 32px; border: 1px solid var(--line-d); border-radius: var(--r); background: linear-gradient(135deg, rgba(139,86,52,.14), transparent 70%); }
.rings-svg { width: 100%; overflow: visible; }
.ring { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 760; stroke-dashoffset: 760; opacity: .9; transition: stroke-dashoffset 1.6s var(--ease); }
.ring.r1 { stroke: var(--sawdust); transition-delay: .1s; }
.ring.r2 { transition-delay: .45s; stroke-width: 3; }
.ring.r3 { transition-delay: .8s; stroke: var(--walnut); stroke-width: 6; }
.ring.r4 { transition-delay: 1.15s; stroke-width: 2.5; }
.ring-core { fill: var(--walnut); transform-origin: 130px 130px; transform: scale(0); transition: transform .8s var(--ease); }
.rings.is-in .ring { stroke-dashoffset: 0; }
.rings.is-in .ring-core { transform: scale(1); }
.rings-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.rings-list li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--line-d); opacity: 0; transform: translateX(14px); transition: all .7s var(--ease); transition-delay: calc(.35s * var(--i) + .2s); }
.rings-list li:last-child { border: 0; padding: 0; }
.rings.is-in .rings-list li { opacity: 1; transform: none; }
.rings-list b { font: 700 20px/1 var(--f-head); color: var(--amber); white-space: nowrap; }
.rings-list span { color: rgba(244,237,226,.75); font-size: 15px; }

/* ---------- Zitat ---------- */
.quote { position: relative; padding: clamp(110px, 15vw, 200px) 0; overflow: hidden; text-align: center; background: var(--ink); }
.quote-bg { position: absolute; inset: -15% 0; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.42); will-change: transform; }
.quote-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(21,16,12,.25), rgba(21,16,12,.85) 75%); }
.quote blockquote { position: relative; margin: 0 auto; max-width: 980px; }
.quote p { font: 700 clamp(34px, 5.2vw, 72px)/1.05 var(--f-head); letter-spacing: -.035em; margin-bottom: 28px; }
.quote p em { color: var(--amber); }
.quote footer { font: 500 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--sawdust); }
.quote footer::before { content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; }

/* ---------- Ablauf ---------- */
.steps { position: relative; }
.steps-rule {
  position: absolute; left: 0; right: 0; top: 22px; height: 22px; border-radius: 3px; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(42,33,26,.18) 0 1px, transparent 1px 12px) bottom / 100% 6px no-repeat,
              repeating-linear-gradient(90deg, rgba(42,33,26,.3) 0 1px, transparent 1px 60px) bottom / 100% 11px no-repeat,
              var(--cream);
}
.steps-rule span {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: repeating-linear-gradient(90deg, rgba(21,16,12,.55) 0 1px, transparent 1px 12px) bottom / 100% 6px no-repeat,
              repeating-linear-gradient(90deg, rgba(21,16,12,.8) 0 1.5px, transparent 1.5px 60px) bottom / 100% 11px no-repeat,
              var(--ruler);
}
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step-n { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--ruler); font: 500 15px/1 var(--f-mono); margin-bottom: 30px; box-shadow: 0 0 0 8px var(--paper); transition: transform .5s var(--ease); }
.steps li:hover .step-n { transform: rotate(-12deg) scale(1.06); }
.steps h3 { font-size: 24px; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line-d); background: transparent; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(244,237,226,.8); transition: all .3s; }
.filters button sup { font: 500 10px var(--f-mono); color: var(--amber); margin-left: 2px; }
.filters button:hover { border-color: var(--amber); color: var(--cream); }
.filters button.is-active { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.filters button.is-active sup { color: var(--ink); }
.gallery { columns: 3 300px; column-gap: 18px; }
.g-item {
  break-inside: avoid; margin: 0 0 18px; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  background: var(--ink-2); display: block; width: 100%; border: 0; padding: 0; text-align: left;
  opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.g-item.is-in { opacity: 1; transform: none; }
.g-item img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21,16,12,.85)); opacity: 0; transition: opacity .5s; }
.g-item figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; transform: translateY(12px); opacity: 0; transition: all .5s var(--ease); }
.g-item figcaption b { display: block; font: 700 18px/1.2 var(--f-head); color: var(--cream); }
.g-item figcaption span { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; opacity: 1; }
.g-item.is-hidden { display: none; }
.gallery-more { text-align: center; margin-top: 40px; }
.gallery-more[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,9,7,.94); backdrop-filter: blur(8px); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 92vh; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox figcaption { font: 500 13px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--sawdust); text-align: center; }
.lightbox button { background: transparent; border: 1px solid var(--line-d); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; font-size: 20px; justify-self: center; transition: all .3s; }
.lightbox button:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.lb-close { position: absolute; top: 20px; right: 20px; font-size: 28px !important; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 18px; max-width: 480px; margin: 28px 0 40px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { font: 500 11px/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 18px; transition: color .25s; word-break: break-word; }
.contact-list a:hover { color: var(--walnut); }

.form { background: var(--ink); color: var(--cream); border-radius: 24px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(42,33,26,.6); }
.form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font: 700 22px/1 var(--f-head); }
.form-blade { width: 34px; height: 34px; fill: var(--walnut); transition: transform 1s var(--ease); }
.form:focus-within .form-blade { animation: spin 2.4s linear infinite; }
.topics { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 12px; padding: 0; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; transition: all .25s; }
.topics input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.topics input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 12px; color: var(--cream);
  font: 400 16px/1.4 var(--f-body); padding: 24px 16px 10px; resize: vertical; transition: border-color .25s, background .25s;
}
.field textarea { min-height: 120px; }
.field span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted-d); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--amber); background: var(--ink-3); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 8px; font-size: 11px; color: var(--amber); letter-spacing: .04em; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e0795a; }
.form .btn { margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted-d); margin: 16px 0 0; line-height: 1.5; }
.form-note a { color: var(--sawdust); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-d); padding: 80px 0 30px; border-top: 1px solid var(--line-d); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; }
.foot-brand p { max-width: 340px; }
.foot-brand b { color: var(--cream); font-family: var(--f-head); font-size: 18px; }
.site-footer h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.site-footer a, .site-footer .foot-grid span { display: block; text-decoration: none; margin-bottom: 8px; transition: color .25s; }
.site-footer a:hover { color: var(--cream); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; }
.foot-links { display: flex; gap: 22px; align-items: center; }
.foot-links a { display: inline !important; margin: 0 !important; }
.fx-toggle { background: transparent; border: 1px solid var(--line-d); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--muted-d); }
.fx-toggle:hover { color: var(--cream); border-color: var(--amber); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Rechtliches ---------- */
.legal { padding: 160px 0 100px; background: var(--paper); color: var(--text); min-height: 80vh; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; }
.legal p { color: var(--muted); }
.legal a { color: var(--walnut); }
.legal .eyebrow { color: var(--walnut); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
  .svc-big { grid-column: span 2; grid-row: auto; }
  .svc-wide, .svc-tueren { grid-column: span 2; }
  .steps ol { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps-rule { display: none; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px;
    background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav a:not(.btn) { font: 700 34px/1 var(--f-head); }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .burger { display: block; }
  .hero { padding-top: 120px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .saw-wrap { width: min(74vw, 340px); }
  .about-photo { position: relative; top: 0; }
  .about-photo figure { aspect-ratio: 4 / 3.4; }
  .svc-wide { grid-template-columns: 1fr; }
  .svc-wide .svc-media { max-height: 320px; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .services { grid-template-columns: 1fr; }
  .svc-big, .svc-wide, .svc-tueren { grid-column: auto; }
  .svc-big .svc-media { min-height: 240px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-facts li:last-child { grid-column: span 2; }
  .hero-facts span { max-width: none; }
  .tag-a { left: 0; } .tag-b { right: 0; }
  .rings { grid-template-columns: 1fr; padding: 24px; }
  .rings-svg { max-width: 180px; margin: 0 auto; }
  .rings-list li { grid-template-columns: 100px 1fr; }
  .ruler-mm { display: none; }
  .steps ol { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .marquee { padding: 14px 0; }
  .gallery { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 10px; }
  .g-item figcaption { left: 10px; right: 10px; bottom: 10px; }
  .g-item figcaption b { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .plane-text { clip-path: none; }
}
