:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #28221d;
  --muted: #65594e;
  --clay: #91452f;
  --line: #d9cbb9;
  --sand: #efe5d6;
  --dark: #30251f;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; object-fit: cover; background: var(--sand); }
figure, h1, h2, h3, p { margin: 0; }
em { font-weight: inherit; }
.shell { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .6rem; left: .6rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: .85rem;
}
.brand {
  --sign-blue: #354368;
  --sign-orange: #b64a23;
  display: inline-grid;
  justify-items: center;
  gap: .22rem;
  width: 6rem;
  flex: none;
  color: var(--sign-blue);
  text-align: center;
  text-decoration: none;
}
.mark {
  width: 2.43rem;
  height: 2.98rem;
  object-fit: fill;
  background: transparent;
}
.brand-sign { display: grid; width: max-content; gap: .25rem; }
.brand-frame {
  display: grid;
  contain: inline-size;
  gap: .06rem;
  border: 2px solid var(--sign-blue);
  padding: .15rem 0 .18rem;
  font: 700 1.17rem/1.04 var(--sans);
  letter-spacing: .10em;
}
.brand-line { display: block; padding-left: .10em; }
.brand-line > span { color: var(--sign-orange); }
.brand-caption {
  color: var(--sign-orange);
  font: 700 .63rem/1.15 var(--sans);
  text-transform: uppercase;
  white-space: nowrap;
}
nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.8rem); font-size: .9rem; font-weight: 600; }
nav a:hover, .back:hover { text-decoration: underline; text-underline-offset: .35em; }
.label { color: var(--clay); font-size: .73rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(2rem, 6vw, 6.2rem); padding-block: 4rem 5rem; }
.hero-copy { padding-bottom: 1.45rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h1 { margin-top: .8rem; font-size: clamp(4.9rem, 9.7vw, 9.3rem); line-height: .85; }
h1 em, .workshop em { color: var(--clay); }
.intro { color: var(--muted); max-width: 29rem; margin-top: 1.8rem; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.45rem; min-height: 3.15rem; margin-top: 1.6rem; padding: .55rem 1.05rem .55rem 1.25rem; background: var(--clay); color: #fff8ed; font-size: .88rem; font-weight: 700; transition: background .18s ease; }
.button:hover { background: #703421; }
.button span { font-size: 1.15rem; font-weight: 400; }
.hero-figure { position: relative; }
.hero-figure img { height: auto; aspect-ratio: 1.24; object-position: center; }
.workshop { background: var(--sand); border-block: 1px solid var(--line); }
.workshop-inner { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 6vw, 6.2rem); align-items: center; padding-block: 4.3rem; }
h2 { font-size: clamp(3.6rem, 6.8vw, 6.1rem); line-height: .94; margin-top: .5rem; }
.workshop-figure img { height: auto; aspect-ratio: 1.24; object-position: center 44%; }
.workshop-copy { margin-top: 1.4rem; max-width: 32rem; color: var(--muted); font-size: 1.06rem; }
.workshop-copy p + p { margin-top: 1rem; }
.courses, .tech, .gallery { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2.35rem; }
.section-head > p { max-width: 25rem; color: var(--muted); padding-bottom: .25rem; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5.5vw, 5rem); align-items: center; }
.course-info { border: 1px solid var(--line); background: var(--sand); padding: clamp(1.4rem, 3vw, 2.7rem); }
.course-info p { max-width: 25rem; color: var(--muted); }
.course-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; cursor: pointer; padding: 1rem .2rem; font: 2.5rem/1 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--clay); }
details p { padding: 0 2rem 1.25rem .2rem; color: var(--muted); }
.toggle { position: relative; flex: none; width: 1.65rem; height: 1.65rem; border: 1px solid var(--line); border-radius: 50%; color: var(--clay); }
.toggle::before, .toggle::after { content: ""; position: absolute; width: .6rem; height: 1px; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); }
.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle::after { display: none; }
.tech { background: var(--dark); color: #f8ecdb; }
.tech .label { color: #e9aa8d; }
.tech .section-head > p, .tech-copy p { color: #e1cec0; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.4rem); }
.tech-grid article { border-top: 1px solid #806a5c; padding-top: 1.3rem; }
h3 { font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; margin-bottom: .45rem; }
.tech-copy p { max-width: 31rem; }
.text-link { display: inline-block; color: var(--clay); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: .3em; }
.text-link:hover { color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.4rem); }
.gallery-grid img { height: auto; aspect-ratio: 1; object-fit: contain; }
.contact { background: var(--sand); border-block: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(1.75rem, 5.5vw, 5rem); padding-block: clamp(3rem, 6vw, 5.25rem); }
address { font-style: normal; margin: 1rem 0 .65rem; }
.contact-links { align-self: center; border-top: 1px solid var(--line); }
.contact-links a { display: block; padding: .78rem 0; border-bottom: 1px solid var(--line); font-size: 1.07rem; font-weight: 700; }
.contact-links a:hover { color: var(--clay); }
.contact-links a span:not(.out) { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.contact-links .out { margin-left: .25rem; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.1rem; }
.foot p { margin-top: .55rem; color: var(--muted); font-size: .8rem; }
.back { color: var(--clay); font-size: .83rem; font-weight: 700; white-space: nowrap; }
.back span { margin-left: .45rem; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .hero { gap: 1.8rem; }
  h1 { font-size: clamp(4.5rem, 10vw, 6.8rem); }
  .desktop { display: none; }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 2.5rem); }
  .top-inner { min-height: 0; flex-wrap: wrap; justify-content: space-between; padding-block: .75rem; gap: .6rem 1.25rem; }
  nav { gap: .85rem; font-size: .8rem; flex-wrap: wrap; }
  nav a { display: inline-block; padding-block: .25rem; }
  .hero, .workshop-inner, .course-grid, .tech-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 2.8rem 3.6rem; gap: 1.65rem; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(4.7rem, 14vw, 7rem); }
  .intro { margin-top: 1.35rem; }
  .button { margin-top: 1.15rem; }
  .workshop-inner { padding-block: 2.9rem; gap: 1.25rem; }
  .section-head { display: grid; margin-bottom: 1.4rem; }
  .tech-grid { gap: 2.2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .foot { align-items: start; flex-direction: column; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 2rem); }
  h1 { font-size: 4.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Language navigation */
.header-tools { display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; min-width: 0; }
.header-tools > nav:not(.languages) { flex-wrap: wrap; justify-content: flex-end; }
.languages { gap: .2rem; font-size: 1.4rem; letter-spacing: 0; }
.languages a { padding: .35rem .5rem; border: 1px solid transparent; line-height: 1.2; }
.languages a[aria-current="page"] { border-color: var(--clay); color: var(--clay); }
.hero-copy, .section-head > div { min-width: 0; }
html[lang="de"] h2, html[lang="de"] h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 660px) {
  .top-inner { flex-wrap: nowrap; align-items: flex-start; }
  .header-tools { flex: 1; gap: .45rem; }
  .header-tools > nav:not(.languages) { gap: .15rem .8rem; }
}

.languages a { min-width: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .2rem; }
.languages a span { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }

.contact-links a { overflow-wrap: anywhere; }

/* Full-width black ceramic gallery preview. */
.gallery { background: #000; color: var(--paper); }
.gallery .label, .gallery .text-link { color: #e8b799; }
.gallery .text-link:hover { color: #fff; }
.gallery-black-preview { margin: 0 auto; max-width: 70rem; }
.gallery-black-preview img { width: 100%; height: auto; background: #000; }
