/* Entwurf "Ausstellungsstück" – angelehnt an livingartconcepts.co.uk
   Graphit-Rahmen, große Fotos, Metall-Flächen, breite Versalien (Michroma ~ Eurostile Extended). Eisblau nur im Logo. */

:root {
  --bar: #050608;
  --bg: #0a0b0f;
  --ink: #16181d;
  --ink-soft: #4a4d55;
  --cream: #f0ede4;
  --paper: #eceae4;
  --muted: #9195a0;
  --ice: #52b8cc;
  --wa: #25d366;
  --wa-dark: #1da851;
  --on-bg: var(--cream);
  --on-bg-muted: var(--muted);
  --radius: 10px;
  --gap: 10px;
  --bar-h: 56px;
  --font: 'Poppins', system-ui, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;
  --wide: 'Michroma', 'Poppins', sans-serif;
  /* gebürstetes Metall: Rauschen, waagrecht in die Länge gezogen */
  --brushed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--gap)); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
p { margin: 0 0 1em; }

/* ---------- Leiste oben ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 16px;
  background: var(--bar);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
}
.logo {
  grid-column: 2;
  font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: .06em;
  text-decoration: none; color: var(--cream); line-height: 1;
}
.logo span { color: var(--ice); }
.bar-nav { display: none; }
.bar-menu {
  grid-column: 1; grid-row: 1; justify-self: start;
  width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-content: center; gap: 7px;
}
.bar-menu span { display: block; width: 22px; height: 1px; background: var(--cream); transition: transform .3s var(--ease); }
.bar-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.bar-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.bar-wa {
  grid-column: 3; justify-self: end;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-family: var(--wide); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--wa); color: #06210f; border-radius: 999px; padding: 8px 10px;
}
.bar-wa:hover { background: var(--wa-dark); }
.bar-wa span { display: none; }

.menu {
  position: fixed; inset: var(--bar-h) 0 0 0; z-index: 19;
  background: var(--bar);
  display: flex; flex-direction: column; gap: 6px;
  padding: 40px 24px;
}
.menu[hidden] { display: none; }
.menu a {
  text-decoration: none; font-family: var(--wide); font-size: 19px; line-height: 2;
  text-transform: uppercase; letter-spacing: -.01em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  padding-top: var(--bar-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: var(--bar-h) 0 0 0; will-change: transform; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,11,15,.45) 0%, rgba(10,11,15,0) 60%),
    linear-gradient(180deg, rgba(10,11,15,.6) 0%, rgba(10,11,15,.05) 45%, rgba(10,11,15,.45) 100%);
}
.hero-text {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 9vh 22px 32px;
}
.hero h1 {
  margin: 0;
  font-family: var(--wide); font-weight: 400; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(25px, 7vw, 60px); line-height: 1.18;
}
.hero h1 .line { display: block; }
.hero h1 .gap { margin-top: .45em; }
.hero-sub { margin: auto 0 18px; max-width: 30ch; font-size: 14px; color: rgba(240,237,228,.85); }

/* ---------- Pill-Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--wide); font-size: 9.5px; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  background: transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pill--light { border: 1px solid rgba(240,237,228,.8); color: var(--cream); }
.pill--light:hover { background: var(--cream); color: var(--ink); }
.pill--dark { border: 1px solid var(--ink); color: var(--ink); }
.pill--dark:hover { background: var(--ink); color: var(--cream); }
.pill--wide { width: 100%; }
.pill--wa {
  gap: 8px; border: 1px solid var(--wa); background: var(--wa); color: #06210f;
  box-shadow: 0 8px 20px rgba(37,211,102,.25);
}
.pill--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: #06210f; }
.wa-icon { flex: none; }

/* ---------- Rahmen & Panels ---------- */
.frame { padding: var(--gap); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }

.split { display: grid; gap: var(--gap); }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.panel {
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.4);
  padding: 36px 24px 32px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.panel > * { max-width: 470px; }
.panel--light {
  color: var(--ink);
  background:
    var(--brushed),
    radial-gradient(90% 70% at 90% 0%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, #eeede9 0%, #e1e0dc 55%, #e9e8e4 100%);
  background-blend-mode: soft-light, normal, normal;
}
.panel--light p { color: var(--ink-soft); }
.panel--light .lead { color: var(--ink); }
.panel--metal {
  /* nachgebaut nach dem CORE-Panel: Lichtpunkt oben rechts, grauer Schimmer unten rechts, sonst Graphit */
  background:
    var(--brushed),
    radial-gradient(circle at 92% 92%, rgba(84,86,92,.9) 0%, rgba(84,86,92,0) 38%),
    radial-gradient(circle at 92% 12%, rgba(238,238,234,.62) 0%, rgba(238,238,234,.16) 22%, rgba(238,238,234,0) 46%),
    radial-gradient(circle at 4% 10%, #121318 0%, rgba(18,19,24,0) 70%),
    linear-gradient(180deg, #15161b 0%, #111216 100%);
  background-blend-mode: overlay, normal, normal, normal, normal;
}
.panel--metal p, .panel--metal li { color: #c3c6cd; }
.panel--metal .lead { color: var(--cream); }
.panel--center { align-items: center; text-align: center; }
.panel--center > * { margin-left: auto; margin-right: auto; }

.title {
  margin: 0 0 22px;
  font-family: var(--wide); font-weight: 400; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(18px, 2vw, 26px); line-height: 1.2;
}
.title--big { font-size: clamp(24px, 3.6vw, 44px); }
.lead { font-weight: 300; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.35; margin-bottom: 1.1em; }
.panel .pill { margin-top: 14px; }

/* ---------- Preise: drei Objekte ---------- */
.series { padding: 48px 0 8px; }
.series-head { padding: 0 14px 26px; }
.series-head, .craft-head, .series-foot, .piece figcaption, .pair figcaption, .foot { color: var(--on-bg); }
.series-head p { color: var(--on-bg-muted); margin: 0; }
.series-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%;
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.series-row::-webkit-scrollbar { display: none; }
.piece { margin: 0; scroll-snap-align: start; }
.piece-stage {
  border-radius: var(--radius); aspect-ratio: 4 / 5;
  padding: 26px 22px;
  display: flex; flex-direction: column;
  color: var(--ink);
  background:
    var(--brushed),
    radial-gradient(120% 70% at 85% 0%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(165deg, #ecedeb 0%, #cfd0ce 42%, #e2e3e1 58%, #b4b5b3 100%);
  background-blend-mode: soft-light, normal, normal;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.12), 0 14px 30px -12px rgba(0,0,0,.35);
}
.piece-price {
  margin: auto 0; font-family: var(--wide); font-size: clamp(54px, 16vw, 84px); line-height: 1; letter-spacing: -.04em;
}
.piece-price .from { font-family: var(--font); font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin-right: 8px; vertical-align: top; }
.piece-price .eur, .calc-total .eur { font-family: var(--font); font-weight: 300; font-size: .4em; margin-left: 6px; letter-spacing: 0; }
.spec { margin: 0 0 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; }
.spec div { display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; padding: 7px 0; border-top: 1px solid rgba(22,24,29,.15); }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; }
.spec .v { text-align: right; }
.piece-note { margin: 0; font-size: 13px; color: var(--ink-soft); }
.piece figcaption {
  padding: 14px 4px 0;
  font-family: var(--wide); font-size: 13px; letter-spacing: -.01em; text-transform: uppercase;
}
.series-foot { padding: 26px 14px 0; margin: 0; color: var(--on-bg-muted); font-size: 13.5px; }
.soon { color: var(--cream); white-space: nowrap; }

/* ---------- Vorher/Nachher beim Scrollen ---------- */
.scrub { height: 260vh; position: relative; }
.scrub-sticky {
  position: sticky; top: calc(var(--bar-h) + var(--gap));
  height: calc(100svh - var(--bar-h) - var(--gap) * 2);
  border-radius: var(--radius); overflow: hidden;
}
.scrub-img { position: absolute; inset: 0; }
.scrub-after { clip-path: inset(0 0 0 100%); }
.scrub-line {
  position: absolute; top: 0; bottom: 0; left: 100%; width: 1px;
  background: rgba(240,237,228,.9);
}
.scrub-label {
  position: absolute; bottom: 22px; margin: 0;
  font-family: var(--wide); text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(22px, 5.6vw, 48px); line-height: 1;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
  transition: opacity .4s var(--ease);
}
.scrub-label--before { left: 22px; }
.scrub-label--after { right: 22px; opacity: 0; }
.scrub-hint {
  position: absolute; top: 20px; left: 22px; margin: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(240,237,228,.8); transition: opacity .4s var(--ease);
}

/* ---------- Video-Kachel ---------- */
.split-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Handarbeit: vier hohe Bilder (wie Craftsmanship-Seite) ---------- */
.craft { padding: 48px 0 8px; }
.craft-head { padding: 0 14px 26px; max-width: 640px; }
.craft-head p { color: var(--on-bg-muted); margin: 0; }
.craft-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64%;
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.craft-row::-webkit-scrollbar { display: none; }
.craft-row figure { margin: 0; aspect-ratio: 1 / 2; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }

/* ---------- Ablauf ---------- */
.flow { align-items: stretch; }
.flow > * { max-width: none; }
.steps { list-style: none; margin: 4px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 38px 1fr; padding: 14px 0; border-top: 1px solid rgba(240,237,228,.14); }
.steps li span { font-family: var(--mono); font-size: 12px; color: var(--cream); padding-top: 3px; }

/* ---------- Preisrechner ---------- */
.calc { align-items: stretch; }
.calc > * { max-width: 620px; width: 100%; }
.calc-step { padding: 18px 0; border-top: 1px solid rgba(22,24,29,.14); }
.calc-k { margin: 0 0 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.calc-k em { font-style: normal; color: var(--ink-soft); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.calc-empty { margin: 0 0 10px; font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips[hidden] { display: none; }
.chip {
  font-family: var(--font); font-size: 14px; color: var(--ink);
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(22,24,29,.28); background: transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.chip:focus-visible, .pill:focus-visible, .calc-place input:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.calc-place { display: flex; gap: 10px; align-items: center; }
.calc-place input {
  flex: 1; min-width: 0;
  font-family: var(--font); font-size: 15px; color: var(--ink);
  padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(22,24,29,.4); background: transparent;
}
.calc-place .pill { margin-top: 0; padding: 11px 18px; }
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0 18px; border-top: 1px solid rgba(22,24,29,.14);
}
.calc-total span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.calc-total strong { font-family: var(--wide); font-size: 40px; line-height: 1; letter-spacing: -.04em; }
.calc .pill--wide { margin-top: 0; }

.calc-note { font-size: 13.5px; margin-top: -8px; }
.calc-k { display: flex; align-items: center; gap: 10px; }
.calc-check {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(22,24,29,.35); position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.calc-check.is-done { background: var(--ink); border-color: var(--ink); }
.calc-check.is-done::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
  border: solid var(--cream); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.chip em { font-style: normal; opacity: .6; margin-left: 4px; }
.chips--stack { flex-direction: column; }
.chips--stack .chip {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: left; border-radius: 12px; padding: 12px 16px;
}
.chip b { font-weight: 500; white-space: nowrap; }
.calc-distance-result { margin-top: 12px; }
.calc-distance-result.is-free { color: var(--ink); }
.calc-distance-result.is-error { color: #8a3b2f; }
.calc-sent {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 12px 0 0; font-size: 13.5px;
  opacity: 0; transition: opacity .4s var(--ease);
}
.calc-sent.is-visible { opacity: 1; }

/* ---------- Kontakt & Fuß ---------- */
.contact-mail { margin: 18px 0 4px; }
.contact-mail a { text-decoration: none; border-bottom: 1px solid rgba(22,24,29,.3); }
.contact-area { font-size: 13.5px; }
.foot {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 26px 20px 34px; font-size: 12px; color: var(--on-bg-muted);
}
.foot a { text-decoration: none; }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .hero h1 .line, .js .hero-sub, .js .hero .pill { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) { animation-delay: .5s; }
.js .hero h1 .line:nth-child(4) { animation-delay: .62s; }
.js .hero-sub { animation-delay: .9s; }
.js .hero .pill { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero h1 .line, .js .hero-sub, .js .hero .pill { opacity: 1; transform: none; filter: none; animation: none; transition: none; }
}

/* ---------- Ab Tablet/Desktop ---------- */
@media (min-width: 860px) {
  :root { --bar-h: 60px; }
  .bar { padding: 0 28px; }
  .bar-menu { display: none; }
  .bar-nav { display: flex; gap: 28px; grid-column: 1; grid-row: 1; }
  .bar-nav a { text-decoration: none; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(240,237,228,.75); }
  .bar-nav a:hover { color: var(--cream); }
  .bar-wa span { display: inline; }
  .bar-wa { padding: 9px 16px; }
  .hero-text { padding: 12vh 6vw 56px; }
  .hero-sub { font-size: 15px; }

  .split { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .split-media { aspect-ratio: auto; }
  .split--flip .split-media { order: 2; }
  .panel { padding: 64px 56px; }

  .series { padding: 80px 0 20px; }
  .series-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 30px; }
  .series-head .title { margin: 0; }
  .series-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; }
  #preise .series-row { grid-template-columns: repeat(4, 1fr); }
  .craft { padding: 80px 0 20px; }
  .craft-head { padding: 0 6px 34px; }
  .craft-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
  .flow { padding: 56px; }
  .flow .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flow .steps li { grid-template-columns: 1fr; gap: 10px; }
  .series-foot { padding: 30px 6px 0; }

  .calc-wrap .calc { padding: 64px 8vw; align-items: center; }
  .calc > * { max-width: 680px; }
  .foot { padding: 30px 28px 40px; }
}

/* ---------- Vorher/Nachher-Paare ---------- */
.pair { margin: 0; scroll-snap-align: start; }
.pair-imgs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
}
.pair-imgs div { position: relative; min-width: 0; }
.pair-imgs span {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 1px 10px rgba(0,0,0,.7);
}
.pair figcaption {
  padding: 14px 4px 0;
  font-family: var(--wide); font-size: 13px; letter-spacing: -.01em; text-transform: uppercase;
}
