/* Atelier am Viadukt, by Paint Events */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* The atelier's own palette: cream walls, pine green, terracotta, birch and sage */
  --bg: #F5EEE2;
  --paper: #FCF9F3;
  --pine: #24433F;
  --ink: #20302C;
  --muted: #56615C;
  --accent: #C2513A;       /* buttons: white text passes AA */
  --accent-ink: #A8432F;   /* small accent text on cream, button hover */
  --teal: #2F5D57;
  --sage: #A9CBBB;
  --sage-soft: #DDE9E0;
  --butter: #F2BE55;
  --butter-soft: #F9E6B5;
  --clay-soft: #F3D5C8;
  --stone: #E2D7C6;
  --stone-deep: #CDBFA9;
  --line: rgba(32, 48, 44, .14);

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 28px;
  --shadow: 0 1px 2px rgba(32, 48, 44, .05), 0 12px 32px -12px rgba(32, 48, 44, .18);
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--pine);
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); line-height: 1.15; letter-spacing: -.01em; }
h4 { font-size: 1.15rem; line-height: 1.2; letter-spacing: 0; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--pine); color: #fff; padding: .7rem 1rem; border-radius: 12px;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--large { font-size: 1.06rem; padding: 1.05em 1.8em; }
.btn--small { font-size: .94rem; padding: .7em 1.25em; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(194, 81, 58, .7); }
.btn--primary:hover { background: var(--accent-ink); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--pine); }
.btn--ghost:hover { border-color: var(--pine); }
.btn--outline { border-color: var(--pine); color: var(--pine); }
.btn--outline:hover { background: var(--pine); color: #fff; }
.btn--dark { background: var(--pine); color: #fff; }
.btn--dark:hover { background: #17302C; transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 238, 226, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(32, 48, 44, .5); }
.site-header__inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--pine); min-width: 0; }
.brand__mark { width: 42px; flex: none; }
.brand__mark svg { width: 100%; height: auto; }
.brand__text { display: grid; gap: .22rem; }
.brand__name {
  font-family: var(--display); font-size: 1.32rem; line-height: 1; letter-spacing: -.015em;
  font-variation-settings: "SOFT" 100, "WONK" 0; white-space: nowrap;
}
.brand__by { font-size: .78rem; font-weight: 500; letter-spacing: .01em; color: var(--muted); line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
.site-nav ul a {
  position: relative; text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--pine); padding: .4rem 0;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover::after, .site-nav ul a:focus-visible::after { transform: scaleX(1); }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; line-height: 1;
  transition: border-color .2s;
}
.lang:hover { border-color: var(--pine); }
.lang span { padding: .45rem .65rem; border-radius: 999px; }
.lang__current { background: var(--pine); color: #fff; }
.lang__other { color: var(--muted); }
.lang:hover .lang__other { color: var(--pine); }
/* German page: DE first. English page: keep DE first too, so the order never jumps. */
html[lang="en"] .lang { flex-direction: row-reverse; }

.nav-toggle { display: none; }

/* Hero */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 0; }
.hero__inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title {
  font-size: clamp(3.4rem, 1.3rem + 8.2vw, 7.4rem);
  line-height: .93; letter-spacing: -.035em; font-weight: 380;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.hero__title em {
  font-style: normal; color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  position: relative; display: inline-block; white-space: nowrap;
}
.hero__title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16C52 5 96 5 150 11s98 6 146-3' fill='none' stroke='%23F2BE55' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.hero__copy { position: relative; z-index: 1; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); max-width: 34em; color: var(--ink); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }

.status {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0;
  padding: .5rem 1rem .5rem .8rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500; color: var(--pine);
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--butter); flex: none; }
.status[data-state="open"] .status__dot { background: #2F9E73; box-shadow: 0 0 0 0 rgba(47, 158, 115, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 158, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 115, 0); } }

.hero__photo {
  margin: 0 0 0 auto; width: 100%; max-width: 640px; aspect-ratio: 5 / 4; overflow: hidden;
  border-radius: calc(var(--radius) + 8px); background: var(--stone); box-shadow: 0 30px 60px -32px rgba(32, 48, 44, .45);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }

.facts {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: clamp(2rem, 4vw, 3.5rem) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.facts__item { padding: 1.4rem 1.5rem 1.4rem 0; border-top: 1.5px solid var(--pine); }
.facts__item + .facts__item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.facts dd { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.2; color: var(--pine); font-variation-settings: "SOFT" 100; }

/* Sections */
.section { padding: var(--section) 0; }
.section__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; }
.step {
  position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.9rem; box-shadow: var(--shadow);
}
.step__icon {
  width: 104px; height: 118px; margin-bottom: 1.4rem; padding: 14px 12px 8px;
  border-radius: 52px 52px 16px 16px; background: var(--clay-soft);
}
.step:nth-child(2) .step__icon { background: var(--sage-soft); }
.step:nth-child(3) .step__icon { background: var(--butter-soft); }
.step:nth-child(4) .step__icon { background: var(--stone); }
.step__icon svg { width: 100%; height: 100%; }
.step__num {
  position: absolute; top: 1.5rem; right: 1.6rem;
  font-family: var(--display); font-size: 2.4rem; line-height: 1; font-weight: 300; color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1; opacity: .9;
}
.step h3 { margin-bottom: .55rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* Studio */
.studio { background: var(--paper); }
.studio__intro {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.studio__copy h2 { margin-bottom: 1.5rem; }
.studio__copy p { max-width: 33em; }
.studio__photos { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(.9rem, 2vw, 1.5rem); align-items: end; }
.photo { margin: 0; overflow: hidden; background: var(--stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.035); }
.photo--arch { --ar: calc(3 / 4.3); aspect-ratio: 3 / 4.3; border-radius: 50% 50% 22px 22px / calc(50% * var(--ar)) calc(50% * var(--ar)) 22px 22px; }
.photo--soft { aspect-ratio: 4 / 4.6; border-radius: 22px; margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }

.painter {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch;
  background: var(--bg); border-radius: calc(var(--radius) + 8px); overflow: hidden;
}
.painter__stage { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: var(--sage-soft); }
.painter__mug { width: min(100%, 300px); height: auto; }
.painter__mug [stroke="var(--glaze)"], .painter__mug [fill="var(--glaze)"] { transition: fill .35s, stroke .35s; }
.painter__pattern { display: none; }
.painter[data-pattern="dots"] .painter__pattern[data-pattern="dots"],
.painter[data-pattern="stripes"] .painter__pattern[data-pattern="stripes"],
.painter[data-pattern="speckle"] .painter__pattern[data-pattern="speckle"] { display: block; animation: pop .35s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.painter__controls { padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; }
.painter__controls h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); margin-bottom: .5rem; }
.painter__controls > p { color: var(--muted); margin-bottom: 1.6rem; }
.painter__group { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.painter__label { width: 4.5rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.swatch {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--bg); background: var(--c);
  box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; transition: transform .2s, box-shadow .2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--pine); }
.chip {
  font: inherit; font-size: .94rem; font-weight: 500; padding: .5rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--pine); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--pine); }
.chip[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }

/* Prices */
.section__lead { margin-top: 1.1rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); max-width: 36em; }
.sum { background: var(--pine); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 3.5vw, 2.75rem); margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.sum__label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #F2B8A6; margin-bottom: 1.2rem; }
.sum__row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: clamp(.75rem, 2.5vw, 2rem); }
.sum__item { display: grid; gap: .15rem; }
.sum__what { font-size: .95rem; color: #C9D6D0; }
.sum__amount { font-family: var(--display); font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "SOFT" 100; white-space: nowrap; }
.sum__note { font-size: .86rem; color: #A9B8B2; }
.sum__op { font-family: var(--display); font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem); color: var(--butter); line-height: 1; }
.sum__item--total .sum__amount { color: var(--butter); }
.prices__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.price-list div:first-child { border-top: 1px solid var(--line); }
.price-list dt { color: var(--ink); }
.price-list dd { margin: 0; font-weight: 600; color: var(--pine); white-space: nowrap; font-variant-numeric: tabular-nums; }
.piece-list { display: grid; }
.piece-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.piece-row:first-child { border-top: 1px solid var(--line); }
.piece-row__icon { width: 54px; height: 60px; padding: 7px 6px 3px; border-radius: 27px 27px 10px 10px; background: var(--clay-soft); }
.piece-row:nth-child(2) .piece-row__icon { background: var(--sage-soft); }
.piece-row:nth-child(3) .piece-row__icon { background: var(--butter-soft); }
.piece-row:nth-child(4) .piece-row__icon { background: var(--stone); }
.piece-row:nth-child(5) .piece-row__icon { background: var(--sage-soft); }
.piece-row__icon svg { width: 100%; height: 100%; }
.piece-row__name { font-family: var(--display); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); line-height: 1.2; color: var(--pine); font-variation-settings: "SOFT" 100; }
.piece-row__price { font-weight: 600; color: var(--accent-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Booking confirmation page */
.thanks-page .site-header__inner { justify-content: space-between; }
.thanks { padding: clamp(2rem, 5vw, 4.5rem) 0 0; }
.thanks__inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.thanks__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.2rem); line-height: .98; letter-spacing: -.035em; font-weight: 380; margin-bottom: 1.5rem; }
.thanks__title em { font-style: normal; color: var(--accent); font-variation-settings: "SOFT" 100, "WONK" 1; }
.thanks__niche {
  --ar: calc(1 / 1.18); position: relative;
  width: min(100%, 340px); aspect-ratio: 1 / 1.18; margin: 0 auto; padding: 16% 12% 6%;
  border-radius: 50% 50% 26px 26px / calc(50% * var(--ar)) calc(50% * var(--ar)) 26px 26px; background: var(--sage-soft);
}
.thanks__niche > svg { width: 100%; height: 100%; }
.thanks__check {
  position: absolute; right: 8%; top: 20%; width: 64px; height: 64px; padding: 15px; border-radius: 50%;
  background: var(--accent); color: #fff; box-shadow: 0 12px 24px -10px rgba(194, 81, 58, .8); animation: stamp .6s cubic-bezier(.2, 1.4, .4, 1) .35s both;
}
@keyframes stamp { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
.thanks-next__title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin-bottom: 1.8rem; }
.thanks-next__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.thanks-next .card p { color: var(--muted); }
.thanks-next .card .link-arrow { margin-top: .9rem; }
.thanks-contact {
  margin-top: clamp(1rem, 2vw, 1.5rem); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--sage-soft);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center;
}
.thanks-contact h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .4rem; }
.thanks-contact .contact__link { background: var(--paper); border-color: transparent; }
.thanks-page .site-footer { margin-top: clamp(4rem, 8vw, 7rem); }

/* Booking */
.book { background: var(--pine); color: #F3ECE6; position: relative; overflow: hidden; overflow: clip; }
.book::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(194, 81, 58, .45), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(169, 203, 187, .22), transparent 38%);
}
.book__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.book h2 { color: #fff; margin-bottom: 1.25rem; }
.book .eyebrow { color: #F2B8A6; }
.book__copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.book__copy > p { max-width: 30em; color: #DAD5D2; }
.ticks { margin-top: 1.75rem; display: grid; gap: .8rem; }
.ticks li { display: flex; align-items: flex-start; gap: .8rem; font-weight: 500; line-height: 1.4; }
.ticks svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; }
.ticks a { color: inherit; font-weight: 600; text-decoration-color: var(--butter); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ticks a:hover { color: var(--butter); }
.ticks--dark { margin-top: 0; gap: .65rem; }
.ticks--dark li { font-weight: 400; }
.ticks--dark svg { background: var(--sage-soft); color: var(--teal); }
.book__panel { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(.8rem, 1.5vw, 1.1rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.book__embed { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: #fff; }
.book__embed iframe { display: block; width: 100%; border: 0; }
.book__embed.is-blocked { display: none; }
.book__blocked { padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); text-align: center; border: 2px dashed rgba(32, 48, 44, .22); border-radius: var(--radius); }
.book__blocked h3 { margin-bottom: .6rem; }
.book__blocked p { color: var(--muted); max-width: 30em; margin: 0 auto 1.4rem; }
.book__fallback { margin: .9rem .6rem .3rem; font-size: .92rem; color: var(--muted); text-align: center; }
.book__fallback a, .book__noscript a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.book__fallback svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.book__noscript { padding: 2rem; text-align: center; }
.book__embed--placeholder {
  background: transparent;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem); border: 2px dashed rgba(32, 48, 44, .22);
}
.book__embed--placeholder h3 { margin-bottom: .6rem; }
.book__embed--placeholder p { color: var(--muted); max-width: 28em; }
.book__placeholder-art { width: 104px; height: 118px; padding: 14px 12px 8px; margin-bottom: 1.4rem; border-radius: 52px 52px 16px 16px; background: var(--clay-soft); }
.badge {
  position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; background: var(--butter-soft); color: #6B4E0F;
}

/* Visit */
.visit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2.25rem); box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.card h4 { margin: 1.7rem 0 .7rem; font-family: var(--body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--clay-soft); color: var(--accent-ink); flex: none; }
.card__icon svg { width: 22px; height: 22px; }
.card__icon--art svg { width: 30px; height: 30px; }
.card__note { margin-top: 1.3rem; font-size: .92rem; color: var(--muted); }
.card address { margin-bottom: 1.2rem; line-height: 1.5; }
.opening-note { display: inline-block; margin: -.4rem 0 1rem; padding: .35rem .8rem; border-radius: 999px; background: var(--butter-soft); color: #5F4508; font-size: .88rem; font-weight: 600; }

/* Pick-up: a different address from the studio, so it gets its own highlighted card */
.pickup {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--butter-soft); box-shadow: none; border: 2px solid var(--butter);
}
.pickup__badge {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; padding: .4rem .85rem .4rem .6rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.pickup__badge svg { width: 16px; height: 16px; }
.pickup h3 { display: block; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); margin-bottom: .8rem; }
.pickup__main > p { max-width: 34em; }
.pickup mark { background: var(--paper); color: var(--accent-ink); font-weight: 700; padding: .08em .45em; margin: 0 .12em; border-radius: 8px; box-shadow: 0 0 0 1.5px var(--accent); white-space: nowrap; }
.places { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.places__item { display: grid; align-content: start; gap: .1rem; padding: 1rem 1.1rem; border-radius: 18px; background: rgba(252, 249, 243, .6); line-height: 1.35; font-size: .95rem; }
.places__item--pickup { background: var(--paper); box-shadow: 0 0 0 2px var(--accent); }
.places__icon { width: 44px; height: 44px; margin-bottom: .4rem; }
.places__icon svg { width: 100%; height: 100%; }
.places__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.places__item strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--pine); font-variation-settings: "SOFT" 100; }
.places__arrow { display: grid; place-items: center; color: var(--accent-ink); }
.places__arrow svg { width: 26px; height: 26px; }
.pickup__hours { padding: clamp(1.1rem, 2vw, 1.5rem); border-radius: 20px; background: var(--paper); align-self: start; }
.pickup__hours h4 { margin-top: 0; }
.pickup__note { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.pickup .mini-hours { margin-bottom: 1rem; }
.pickup .btn { white-space: normal; text-align: left; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .62rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-closed { color: #7D7E84; }
.hours .is-open th, .hours .is-open td { font-weight: 600; color: var(--pine); }
.hours .is-open td { color: var(--accent-ink); }
.hours tr.is-today th::after {
  content: attr(data-today); margin-left: .6rem; padding: .15rem .5rem; border-radius: 999px;
  background: var(--butter-soft); color: #6B4E0F; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}

.directions { margin: 0; display: grid; gap: .9rem; }
.directions div { display: grid; grid-template-columns: 4.6rem 1fr; gap: .8rem; }
.directions dt { font-weight: 600; color: var(--pine); }
.directions dd { margin: 0; color: var(--muted); font-size: .96rem; }
.mini-hours { margin: 0 0 1.4rem; display: grid; gap: .35rem; font-variant-numeric: tabular-nums; }
.mini-hours div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(32, 48, 44, .12); padding-bottom: .35rem; }
.mini-hours dt { font-weight: 500; }
.mini-hours dd { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-underline-offset: 4px; }
.link-arrow svg { width: 1.1em; height: 1.1em; }

/* Markthalle */
.markthalle { background: var(--sage-soft); }
.markthalle__inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.markthalle__niche {
  --ar: calc(1 / 1.18);
  width: min(100%, 360px); aspect-ratio: 1 / 1.18; margin: 0 auto; padding: 14% 10% 4%;
  border-radius: 50% 50% 26px 26px / calc(50% * var(--ar)) calc(50% * var(--ar)) 26px 26px; background: var(--teal);
}
.markthalle__niche svg { width: 100%; height: 100%; }
.markthalle .eyebrow { color: var(--teal); }
.markthalle h2 { margin-bottom: 1.5rem; }
.markthalle__copy p { max-width: 36em; }
.markthalle__copy .btn { margin-top: .8rem; }
.markthalle__nearby { margin-top: 1.6rem; font-size: .96rem; color: #45524E; }

/* FAQ */
.faq__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.contact { margin-top: clamp(1.75rem, 3vw, 2.5rem); padding: 1.5rem; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.contact h3 { margin-bottom: .35rem; }
.contact p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }
.contact__links { display: grid; gap: .55rem; }
.contact__link {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .95rem; border-radius: 14px;
  border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; color: var(--pine);
  transition: border-color .2s, background-color .2s;
}
.contact__link:hover { border-color: var(--pine); background: var(--bg); }
.contact__link svg { width: 22px; height: 22px; flex: none; color: var(--accent-ink); }
.contact__link span { overflow-wrap: anywhere; }
.faq__item { border-top: 1.5px solid var(--line); }
.faq__item:last-child { border-bottom: 1.5px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.25; color: var(--pine);
  font-variation-settings: "SOFT" 100;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: background-color .25s, border-color .25s, transform .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item summary:hover .faq__plus { border-color: var(--pine); }
.faq__item[open] .faq__plus { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(180deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); }
.faq__answer a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.faq__answer strong { color: var(--pine); font-weight: 600; }
.faq__item[open] .faq__answer { animation: pop .3s ease-out; }

/* Closing call to action */
.cta { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem); text-align: center; }
.cta h2 { font-size: clamp(3rem, 1.5rem + 6vw, 6rem); letter-spacing: -.035em; margin-bottom: 1rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.cta p { font-size: 1.15rem; margin-bottom: 2rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--pine); color: #DCE3DF; position: relative; }
.site-footer__arches {
  position: absolute; left: 0; right: 0; bottom: 100%; height: 64px; background: var(--pine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 64'%3E%3Cpath d='M0 0h128v64h-18a46 46 0 0 0-92 0H0z'/%3E%3C/svg%3E") repeat-x center bottom / 128px 64px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 64'%3E%3Cpath d='M0 0h128v64h-18a46 46 0 0 0-92 0H0z'/%3E%3C/svg%3E") repeat-x center bottom / 128px 64px;
}
.site-footer__inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1fr; gap: 2.5rem;
}
.site-footer__name { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: #fff; margin-bottom: .5rem; font-variation-settings: "SOFT" 100; }
.site-footer__by { display: inline-flex; flex-direction: column; gap: .6rem; margin-top: 1.7rem; font-size: .86rem; color: #B9C4BF; }
.site-footer__by img { height: 44px; width: auto; }
.site-footer h2 { font-family: var(--body); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #A9B8B2; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer ul a { border-bottom: 1px solid rgba(255, 255, 255, .25); transition: border-color .2s, color .2s; }
.site-footer ul a:hover { color: #fff; border-color: var(--accent); }
.site-footer__legal {
  width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; padding: 1.4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: #A9B8B2;
}

.sticky-cta { display: none; }

/* 404 */
.not-found__main { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1.25rem; text-align: center; padding: 2rem; }
.not-found__mark { width: 96px; }
.not-found__mark svg { width: 100%; height: auto; }
.not-found h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* Scroll reveal (only when JavaScript is running) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1020px) {
  .steps, .pieces__grid { grid-template-columns: repeat(2, 1fr); }
  .book__inner, .faq__inner { grid-template-columns: 1fr; }
  .contact__links { grid-template-columns: repeat(3, auto); justify-content: start; }
  .book__copy, .faq__head { position: static; }
  .faq__head { margin-bottom: 0; }
}

/* Navigation collapses */
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
    border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: var(--pine); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, background-color .25s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1rem var(--gutter) 1.75rem; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(32, 48, 44, .45);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .9rem 0; font-family: var(--display); font-size: 1.5rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .lang { align-self: flex-start; }
  .site-nav__cta { font-size: 1.05rem; padding: 1em 1.5em; }
}

/* Small tablet */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { margin: 0 auto; max-width: none; aspect-ratio: 4 / 3; }
  .studio__intro, .markthalle__inner, .painter { grid-template-columns: 1fr; }
  .markthalle__niche { width: min(60%, 260px); }
  .painter__mug { width: min(70%, 240px); }
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .prices__grid, .thanks__inner, .thanks-contact, .pickup { grid-template-columns: minmax(0, 1fr); }
  .thanks__art { order: -1; }
  .thanks__niche { width: min(52%, 220px); margin: 0; }
  .thanks__check { width: 48px; height: 48px; padding: 11px; }
}

/* Phone */
@media (max-width: 640px) {
  .brand { gap: .6rem; }
  .brand__mark { width: 36px; }
  .brand__name { font-size: 1.14rem; }
  .brand__by { font-size: .72rem; }
  .sum__row { grid-template-columns: 1fr; gap: .5rem; }
  .sum__item { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 1rem; }
  .sum__what { grid-column: 1; }
  .sum__amount { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 2rem; }
  .sum__note { grid-column: 1; }
  .sum__op { font-size: 1.5rem; }
  .sum__item--total { margin-top: .25rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .2); }
  .sum__op:last-of-type { display: none; }
  .piece-row { grid-template-columns: 46px 1fr; row-gap: .1rem; column-gap: .9rem; }
  .piece-row__icon { width: 46px; height: 52px; grid-row: 1 / span 2; border-radius: 23px 23px 9px 9px; }
  .piece-row__name { align-self: end; }
  .piece-row__price { align-self: start; }
  .contact__links { grid-template-columns: 1fr; }
  .thanks-next__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .facts__item { padding: 1rem 0; }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 1.2rem; align-items: start; padding: 1.3rem; }
  .step__icon { width: 84px; height: 96px; margin: 0; grid-row: 1 / span 2; border-radius: 42px 42px 14px 14px; }
  .step__num { font-size: 1.7rem; top: 1.1rem; right: 1.2rem; }
  .step h3 { padding-right: 2.6rem; align-self: end; }
  .visit__grid { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .places__arrow svg { transform: rotate(90deg); }
  .places__item { grid-template-columns: 44px 1fr; column-gap: .9rem; }
  .places__icon { grid-row: 1 / span 3; margin: 0; }
  .faq__answer { padding-right: 0; }
  .painter__label { width: 100%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .site-footer__arches { height: 44px; -webkit-mask-size: 88px 44px; mask-size: 88px 44px; }

  .sticky-cta {
    position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
    display: inline-flex; align-items: center; gap: .5em; padding: .95em 1.7em; border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap;
    box-shadow: 0 14px 30px -10px rgba(32, 48, 44, .55);
    transform: translate(-50%, 160%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .sticky-cta svg { width: 1.15em; height: 1.15em; flex: none; }
  .sticky-cta.is-shown { transform: translate(-50%, 0); }
  .site-footer__legal { padding-bottom: 5.5rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  h2, h3 { hyphens: auto; }
  .step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 1rem; padding: 1.1rem; }
  .step__icon { width: 64px; height: 74px; padding: 9px 8px 5px; border-radius: 32px 32px 12px 12px; }
  .hero__title { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sticky-cta, .painter, .book { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
