@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

/* Plus Jakarta Sans, Variable Font (wght 200-800), lokal gehostet. Lizenz: fonts/OFL-Plus-Jakarta-Sans.txt */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #F4F0E8;
  --white: #FBF8F2;
  --wash: #ECE6DA;
  --line: #DAD3C6;
  --ink: #17161A;
  --muted: #55504A;
  --dark: #121114;
  --dark-line: #4A4640;
  --accent: #7A3B2A;
  --brass: #A8824A;
  --brass-light: #D7B985;
  --ink-hover: #302B2D;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Courier New", monospace;
  --sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --section-space: clamp(8rem, 11vw, 11rem);
  --section-inset: calc(var(--section-space) / 2);
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.58 var(--sans);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.work-index :focus-visible, .contact-section :focus-visible, .subpage-action :focus-visible, .film-section :focus-visible { outline-color: var(--brass-light); }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.25rem; }

.shell { width: min(100% - 96px, 1272px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 12px; left: 12px; padding: .5rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; text-decoration: none; }
.brand span { display: grid; font-size: .63rem; line-height: 1.25; letter-spacing: .16em; font-weight: 700; }
.site-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1.15rem, 3.7vw, 3.15rem); }
.site-nav a, .site-footer a { font-size: .91rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .32em; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 43px; padding: .55rem .9rem; border: 1px solid var(--ink); border-radius: 2px; text-decoration: none; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.header-contact:hover { background: var(--wash); }

.eyebrow { display: grid; gap: .4rem; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .145em; }
.eyebrow > span:first-child {
  width: min(120px, 100%);
  height: 8px;
  background:
    repeating-linear-gradient(90deg, var(--ruler-ink, var(--line)) 0 1px, transparent 1px 5px) bottom / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--ruler-ink, var(--line)) 0 1px, transparent 1px 25px);
}
.work-index, .contact-section, .subpage-action, .film-section { --ruler-ink: var(--brass); }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.042em; line-height: 1; }
h1 em, h2 em { font-weight: inherit; }
h2 { font-size: clamp(2.9rem, 5.65vw, 5.9rem); }
h2 em { color: var(--accent); }

.button, .text-link { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 48px; gap: .82rem; text-decoration: none; font-size: .91rem; font-weight: 730; }
.button { padding: .73rem 1.12rem; border-radius: 2px; transition: background-color .2s, color .2s; }
.button span, .text-link span { font-size: 1.13em; transition: transform .2s; }
.button:hover span, .text-link:hover span { transform: translate(2px, -2px); }
.button-light { border: 1px solid var(--brass-light); color: var(--white); }
.button-light:hover { background: var(--ink-hover); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--ink-hover); }

.craft { padding-block: var(--section-inset); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .67fr); align-items: end; column-gap: 2.5rem; margin-bottom: clamp(1.6rem, 3.8vw, 3rem); }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: .75rem; }
.section-intro > p:last-child { max-width: 29rem; padding-bottom: .25rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.motion { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: stretch; gap: clamp(1.4rem, 4vw, 4rem); }
.motion-figure { position: relative; align-self: start; overflow: hidden; border: 1px solid var(--dark-line); border-radius: 4px; background: var(--dark); color: var(--white); }
.diagram-top, .motion-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem .8rem; padding: .85rem 1rem; font: .68rem/1.35 var(--mono); letter-spacing: .035em; }
.diagram-top { border-bottom: 1px solid var(--dark-line); }
.diagram-top span:first-child { display: inline-flex; align-items: center; gap: .5rem; }
.diagram-top i { width: .35rem; height: .35rem; background: var(--brass-light); border-radius: 50%; }
.diagram-count { color: var(--brass-light); }
.diagram-stage { background: var(--ink-hover); }
.motion-figure svg { display: block; width: 100%; height: auto; }
.motion-figure figcaption { border-top: 1px solid var(--dark-line); }
.diagram-guides { stroke: var(--brass-light); stroke-opacity: .37; stroke-dasharray: 3 6; }
.diagram-guides .solid { stroke-dasharray: none; }
.wire-ghost, .base-ghost { stroke: var(--brass-light); stroke-width: 2; stroke-dasharray: 4 7; opacity: .68; }
.wire { stroke: url(#draht); stroke-width: 5.2; }
.acrylic { fill: url(#kunststoff); stroke: var(--brass-light); stroke-width: 1.65; }
.polish { stroke: var(--white); stroke-width: 2.4; }
.diagram-notes { stroke: var(--brass-light); opacity: .82; }
.diagram-notes circle { fill: var(--ink-hover); }
.diagram-labels { fill: var(--brass-light); font: 11px var(--mono); letter-spacing: .08em; }
.motion[data-ready][data-step="0"] .acrylic, .motion[data-ready]:not([data-step="2"]) .polish { opacity: 0; }
.motion[data-ready][data-step="0"] .label-base, .motion[data-ready][data-step="0"] .point-base { opacity: .48; }
.motion[data-step="0"] .point-wire, .motion[data-step="1"] .point-base, .motion[data-step="2"] .diagram-notes circle { fill: var(--brass-light); }
.motion[data-animate][data-step="0"] .wire { stroke-dasharray: 1; animation: trace 1.6s cubic-bezier(.22,.69,.3,1) both; }
.motion[data-animate][data-step="0"] .wire-inner { animation-delay: .26s; }
.motion[data-animate][data-step="1"] .acrylic { animation: develop 1.4s ease-out both; }
.motion[data-animate][data-step="2"] .polish { stroke-dasharray: 1; animation: trace 1.65s cubic-bezier(.22,.69,.3,1) both; }
.motion[data-paused] .wire, .motion[data-paused] .acrylic, .motion[data-paused] .polish, .motion[data-paused] .motion-step::after { animation-play-state: paused !important; }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes develop { from { opacity: .08; } to { opacity: 1; } }
.motion-content { min-width: 0; }
.motion-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 .6rem; min-height: 43px; margin-bottom: .55rem; }
.motion-heading .eyebrow { font-size: .65rem; }
.playback { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0; border: 0; background: transparent; font-size: .77rem; font-weight: 650; cursor: pointer; }
.playback:hover { text-decoration: underline; text-underline-offset: .25em; }
.playback [aria-hidden] { min-width: .9rem; text-align: center; }
.motion-step { position: relative; border-top: 1px solid var(--line); }
.motion-step:last-child { border-bottom: 1px solid var(--line); }
.motion-step::after { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.motion[data-sequence] .motion-step:has(button[aria-pressed="true"])::after { animation: progress 4.2s linear both; }
@keyframes progress { to { transform: scaleX(1); } }
.motion-step button { display: grid; grid-template-columns: 1.85rem minmax(0, 1fr) 1rem; align-items: center; gap: .55rem; width: 100%; min-height: 61px; padding: .65rem .45rem; border: 0; background: transparent; text-align: left; cursor: pointer; }
.motion-step button:hover { background: var(--wash); }
.motion-step button:disabled { cursor: default; }
.motion-step button:disabled .step-arrow { visibility: hidden; }
.motion-step button[aria-pressed="true"] { color: var(--accent); }
.motion-step button strong { font-size: 1.09rem; line-height: 1.25; }
.step-number { color: var(--accent); font: .81rem var(--mono); }
.step-arrow { opacity: .65; }
.motion-step p { margin: -.15rem 1.25rem 1rem 2.85rem; color: var(--muted); font-size: .95rem; }

.practice { background: var(--wash); border-block: 1px solid var(--line); }
.practice-inner { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(2rem, 5vw, 5.4rem); padding-block: var(--section-inset); }
.practice-intro h2 { margin-top: .22em; font-size: clamp(2.8rem, 4.7vw, 5rem); }
.practice-intro > p:last-of-type { max-width: 26rem; margin: 1.25rem 0 1.4rem; color: var(--muted); font-size: 1.06rem; }
.practice-list { min-width: 0; padding: clamp(1.25rem, 3vw, 2.1rem); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.workflow { padding: 0; margin: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.workflow li { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: .65rem; padding-block: .78rem; border-bottom: 1px solid var(--line); }
.workflow li > span { padding-top: .2rem; color: var(--accent); font: .77rem var(--mono); }
.workflow h3 { font-size: 1rem; line-height: 1.35; }
.workflow p { margin-top: .16rem; color: var(--muted); font-size: .9rem; }
.copy-note { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .35rem; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: .85rem; font-weight: 730; cursor: pointer; }
.copy-note:hover { text-decoration: underline; text-underline-offset: .25em; }
.copy-status { color: var(--muted); font-size: .84rem; }

.contact-section { background: var(--dark); color: var(--white); border-block: 1px solid var(--dark-line); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 1.9rem; padding-block: var(--section-inset); }
.contact-inner h2 { margin-top: .28em; font-size: clamp(2.5rem, 4.6vw, 4.9rem); }
.contact-inner h2 + p { margin-top: .8rem; color: var(--white); font-size: .95rem; }
.contact-details { display: grid; justify-items: start; gap: .38rem; }
.contact-phone { color: var(--brass-light); font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3.5rem); line-height: 1.12; text-decoration: none; white-space: nowrap; }
.contact-phone span { font: .45em var(--mono); vertical-align: middle; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: .15em; }
.contact-details address { color: var(--white); font-size: .94rem; }
.contact-details .text-link { font-size: .81rem; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: 1.3rem 1.55rem; color: var(--muted); font-size: .86rem; }
.site-footer nav { gap: 1.35rem; }
.site-footer a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }

@media (max-width: 1080px) {
  .shell { width: min(100% - 64px, 1272px); }
  .motion-heading { align-items: start; }
}

@media (max-width: 760px) {
  :root { --section-space: clamp(4.5rem, 12.6vw, 6rem); }
  .shell { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; min-height: 0; padding-top: .75rem; gap: .25rem .75rem; }
  .site-nav { order: 1; flex-basis: 100%; gap: 1.15rem; }
  .site-nav a { display: flex; align-items: center; min-height: 42px; font-size: .83rem; }
  .section-intro, .motion, .practice-inner, .contact-inner { grid-template-columns: 1fr; }
  .section-intro > p:last-child { margin-top: .8rem; }
  .motion { gap: 1.2rem; }
  .motion-heading { margin-bottom: .22rem; }
  .contact-inner { gap: 1.35rem; }
}

@media (max-width: 400px) {
  .brand img { width: 39px; height: 39px; }
  .header-contact { padding-inline: .65rem; gap: .42rem; font-size: .78rem; }
  .header-contact svg { width: 13px; }
  .diagram-labels { display: none; }
  .diagram-top, .motion-figure figcaption { padding: .65rem .7rem; font-size: .61rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .32em; }

.subpage-top { padding-block: 1.25rem clamp(2.5rem, 6.6vw, 6rem); border-block: 1px solid var(--line); background: var(--wash); }
.breadcrumb { display: flex; gap: .55rem; align-items: baseline; color: var(--muted); font-size: .82rem; }
.breadcrumb a { text-underline-offset: .2em; }
.subpage-intro { max-width: 55rem; padding-top: clamp(2.2rem, 5vw, 4.4rem); }
.subpage-intro h1 { margin-block: .2em .25em; font-size: clamp(3rem, 6.25vw, 6.3rem); overflow-wrap: anywhere; hyphens: auto; }
.subpage-intro h1 em { color: var(--accent); }
.subpage-intro > p:last-of-type { max-width: 38rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.subpage-intro .button { margin-top: 1rem; }
.subpage-body { padding-block: var(--section-inset); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: clamp(1.5rem, 6vw, 5rem); }
.subpage-body h2 { margin: .25em 0 .42em; font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.subpage-body p:not(.eyebrow) { max-width: 62ch; color: var(--muted); }
.subpage-body section > p:not(.eyebrow) + h2, .subpage-body section > a + h2 { margin-top: 1.25rem; }
.subpage-body section > .text-link { margin-top: .35rem; color: var(--accent); }
.photo-slot { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--wash); }
.photo-slot-art { position: relative; display: grid; aspect-ratio: 5 / 3; place-items: center; overflow: hidden; background-color: var(--wash); background-image: linear-gradient(color-mix(in srgb, var(--muted) 20%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--muted) 20%, transparent) 1px, transparent 1px); background-size: 28px 28px; color: var(--muted); }
.photo-slot-art::before, .photo-slot-art::after { position: absolute; width: 36%; aspect-ratio: 1; border: 1px solid var(--muted); border-radius: 50%; content: ""; }
.photo-slot-art::after { width: 25%; border-style: dashed; }
.photo-slot-art span { font: 1.2rem var(--mono); letter-spacing: .13em; }
.photo-slot figcaption { display: grid; gap: .12rem; padding: .85rem 1rem; border-top: 1px solid var(--line); }
.photo-slot figcaption span { color: var(--muted); font-size: .85rem; }
.editorial-slot, .draft-note { margin: 1.35rem 0 .4rem; padding: .85rem 1rem; border-left: 2px solid var(--accent); background: var(--wash); }
.editorial-slot p { margin-top: .24rem; }
.subpage-action { background: var(--dark); color: var(--white); }
.subpage-action .shell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; padding-block: clamp(1.8rem, 4vw, 3.5rem); }
.subpage-action h2 { font-size: clamp(1.9rem, 3.8vw, 3.35rem); letter-spacing: -.035em; }
.subpage-action p { margin-top: .55rem; color: var(--white); }
.note-actions { display: flex; flex-wrap: wrap; gap: .15rem 1.15rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: .85rem; font-weight: 700; cursor: pointer; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.faq details p { padding: 0 0 .9rem 1.1rem; }
.print-line { display: none; }
.contact-card { padding-block: clamp(1.1rem, 3vw, 2rem); border-block: 1px solid var(--line); }
.contact-card .button { margin: .3rem 0 .75rem; }
.contact-card address { color: var(--muted); }
.legal-content h2:not(:first-child) { margin-top: 1.8rem; }
.legal-content mark { padding: .05em .24em; background: var(--wash); }

@media (max-width: 760px) {
  .site-nav { gap: .45rem .65rem; }
  .site-nav a { font-size: .78rem; }
  .editorial-grid { grid-template-columns: 1fr; }
}

@media print {
  body:has(.practice-page) { background: var(--white); color: var(--ink); }
  body:has(.practice-page) .site-header,
  body:has(.practice-page) .skip-link,
  body:has(.practice-page) .subpage-top,
  body:has(.practice-page) .subpage-action,
  body:has(.practice-page) .site-footer,
  .practice-page .faq, .practice-page .note-actions, .practice-page .copy-status { display: none; }
  .practice-page { display: block; width: 100%; padding: 0; }
  .practice-page .practice-list { padding: 1rem; border: 0; background: var(--white); }
  .practice-page .practice-list::before { display: block; content: "KFO Labor Jödicke · 0221 691177"; margin-bottom: 1.2rem; font-weight: 700; }
  .print-line { display: block; min-height: 2rem; margin-block: .25rem .4rem; border-bottom: 1px solid var(--muted); }
}

.catalog-intro { padding-bottom: clamp(1.8rem, 4vw, 3.5rem); }
.catalog-intro .subpage-intro { max-width: 70rem; padding-top: clamp(1.6rem, 4vw, 3rem); }
.catalog-intro .subpage-intro h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
.catalog-section { padding-block: var(--section-inset); }
.catalog-tools { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) auto; gap: .65rem 1rem; align-items: end; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--wash); }
.catalog-tools label { display: block; margin-bottom: .25rem; font-size: .86rem; font-weight: 700; }
.catalog-tools input, .catalog-tools select { width: 100%; min-height: 45px; padding: .45rem .6rem; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); font: inherit; }
.catalog-tools input:focus-visible, .catalog-tools select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.catalog-reset { min-height: 45px; padding: .5rem .75rem; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); font-weight: 650; cursor: pointer; }
.catalog-reset:hover { background: var(--wash); }
.catalog-status { min-height: 1.4em; margin: .9rem 0; color: var(--muted); font-size: .89rem; }
.catalog-status:empty { min-height: 0; margin: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
.catalog-card { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog-card:target { outline: 2px solid var(--accent); outline-offset: 3px; }
.catalog-media { position: relative; display: grid; aspect-ratio: 2.25; place-items: center; overflow: hidden; background-color: var(--wash); background-image: linear-gradient(color-mix(in srgb, var(--muted) 20%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--muted) 20%, transparent) 1px, transparent 1px); background-size: 20px 20px; color: var(--muted); }
.catalog-media > .catalog-index { background: var(--dark); padding: .05em .18em; color: var(--brass); font: 500 clamp(2.7rem, 5vw, 4.75rem)/1 var(--serif); }
.catalog-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catalog-number, .catalog-media figcaption { position: absolute; color: var(--ink); font: .69rem var(--mono); }
.catalog-number { top: .85rem; left: .85rem; }
.catalog-media figcaption { bottom: .65rem; right: .65rem; padding: .25rem .35rem; background: var(--wash); }
.catalog-copy { padding: 1.05rem 1.1rem 1.2rem; }
.catalog-copy h2 { margin: 0 0 .4rem; font-family: inherit; font-size: 1.13rem; font-weight: 750; letter-spacing: -.018em; line-height: 1.28; overflow-wrap: anywhere; hyphens: auto; }
.catalog-copy p { color: var(--muted); font-size: .9rem; }
.catalog-empty { max-width: 44rem; padding: 1.3rem; border: 1px solid var(--line); }
.catalog-empty h2 { margin-bottom: .45rem; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.catalog-empty button { margin-top: 1rem; }
.legal-content .plain-list { margin: .5rem 0; padding-left: 1.2rem; color: var(--muted); max-width: 64ch; }
.legal-content p + p { margin-top: .55rem; }

@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .catalog-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .catalog-tools button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 520px) {
  .catalog-grid, .catalog-tools { grid-template-columns: 1fr; }
}

.site-masthead {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.skip-link { z-index: 6; }
[id] { scroll-margin-top: 102px; }
.brand span { gap: .15rem; font-size: .56rem; letter-spacing: .17em; }
.brand strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; letter-spacing: -.035em; line-height: .9; }

.studio-hero {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 1.4rem clamp(1.6rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 6vw, 5.7rem) 2.35rem;
}
.studio-intro { position: relative; min-width: 0; }
.studio-intro .eyebrow { margin-bottom: .72rem; }
.studio-intro h1 { font-size: clamp(3.1rem, 4.85vw, 5.1rem); line-height: .97; letter-spacing: -.045em; hyphens: auto; overflow-wrap: anywhere; }
.studio-intro h1 em { color: var(--accent); font-size: .9em; }
.studio-lead { max-width: 28rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.7; }
.studio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.15rem; margin-top: 1.35rem; }
.studio-actions .text-link { color: var(--accent); }
.studio-image { position: relative; aspect-ratio: 1.13; overflow: hidden; background: var(--dark); border-radius: 4px; isolation: isolate; }
.studio-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 54%; }
.studio-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid color-mix(in srgb, var(--white) 31%, transparent); border-radius: inherit; }
.image-corner { position: absolute; width: 18px; height: 18px; border-color: var(--brass-light); border-style: solid; pointer-events: none; }
.corner-nw { top: .8rem; left: .8rem; border-width: 1px 0 0 1px; }
.corner-se { right: .8rem; bottom: .8rem; border-width: 0 1px 1px 0; }
.studio-figure figcaption, .bench-picture figcaption { display: flex; justify-content: space-between; gap: .5rem; margin-top: .55rem; color: var(--muted); font: .7rem/1.4 var(--mono); }
.studio-scroll { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .7rem; width: fit-content; min-height: 45px; color: var(--muted); text-decoration: none; font-size: .81rem; font-weight: 650; }
.studio-scroll span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.studio-scroll:hover { color: var(--accent); }

.studio-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-block: 0;
  padding-block: .75rem var(--section-inset);
}
.studio-values > div {
  display: grid;
  gap: .35rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.studio-values dt { color: var(--accent); font: .73rem var(--mono); }
.studio-values dd { margin: 0; color: var(--ink); font-size: clamp(.95rem, 1.45vw, 1.2rem); font-weight: 650; }
.studio-values [data-count] { font-variant-numeric: tabular-nums; }

.work-index { background: var(--dark); color: var(--white); padding-block: var(--section-inset); }
.work-index-heading { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); align-items: end; gap: 1.1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.7rem); }
.work-index-heading h2 { margin-top: .25rem; line-height: .92; }
.work-index h2 em, .contact-section h2 em, .film-section h2 em, .subpage-action h2 em { color: var(--brass); }
.work-index-heading > p { max-width: 27rem; color: var(--wash); padding-bottom: .25rem; }
.work-catalog-link { margin-top: 1.2rem; }

.bench-story { background: var(--wash); }
.bench-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.7rem); padding-block: var(--section-inset); }
.bench-picture img { width: 100%; aspect-ratio: 1.55; object-fit: cover; object-position: 50% 57%; border-radius: 4px; }
.bench-copy h2 { margin: .25rem 0 .8rem; line-height: .92; }
.bench-copy p:not(.eyebrow) { max-width: 29rem; color: var(--muted); }
.bench-copy .text-link { margin-top: .35rem; color: var(--accent); }

.catalog-card { transition: border-color .2s; }
.catalog-card:hover { border-color: var(--muted); }
.practice { background: var(--paper); }
.practice-list { background: var(--wash); }
.contact-section { background: var(--dark); }

@media (max-width: 980px) {
  .studio-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .studio-figure { max-width: 46rem; }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 114px; }
  .studio-hero, .work-index-heading, .bench-grid { grid-template-columns: 1fr; }
  .studio-hero { padding-block: 2.05rem 1.35rem; }
  .studio-intro h1 { font-size: clamp(2.5rem, 8.7vw, 4.8rem); }
  .studio-lead { margin-top: 1rem; }
  .studio-actions { margin-top: .95rem; }
  .studio-image { aspect-ratio: 1.39; }
  .studio-values { grid-template-columns: 1fr; gap: .65rem; }
  .studio-values > div { padding-top: .7rem; }
}

@media (max-width: 420px) {
  .studio-intro h1 { font-size: clamp(1.95rem, 8.9vw, 2.75rem); }
  .studio-actions .button, .studio-actions .text-link { font-size: .84rem; }
}

.site-footer { display: block; padding-block: clamp(1.8rem, 5vw, 3.5rem) 1.25rem; }
.footer-main { display: grid; grid-template-columns: 1.35fr .72fr 1fr; gap: 1rem 2rem; align-items: start; }
.footer-brand > span { display: block; color: var(--ink); font: 500 2.55rem/.9 var(--serif); letter-spacing: -.045em; }
.footer-brand p { margin-top: .62rem; line-height: 1.55; }
/* Wortmarke auf dem Labialbogen: der Name bleibt als Text für Screenreader erhalten. */
.footer-brand > span { width: min(100%, 15.5rem); aspect-ratio: 428 / 240; background: url("logo-joedicke.svg") left center / contain no-repeat; text-indent: -200vw; overflow: hidden; }
.site-footer .footer-links { display: grid; gap: .55rem; justify-items: start; }
.footer-links a { overflow-wrap: anywhere; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .45rem 1.4rem; padding-top: 1rem; margin-top: 1.65rem; border-top: 1px solid var(--line); }
.footer-legal nav a { font-size: .83rem; }
@media (max-width: 760px) {
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem .8rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links a { font-size: .82rem; }
}
@media print {
  body:has(.practice-page) .site-masthead { display: none; }
}

.catalog-photo { background: var(--wash); }
.catalog-media.catalog-photo img { left: 50%; width: min(100%, 320px); object-fit: contain; transform: translateX(-50%); }
.catalog-number { padding: .16rem .28rem; background: var(--dark); color: var(--brass); }
.archive-workshop img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.archive-history { padding-block: var(--section-inset); background: var(--wash); }
.archive-history h2, .archive-gallery h2 { margin-top: .2em; font-size: clamp(2.6rem, 5vw, 5rem); }
.archive-gallery { padding-block: var(--section-inset); }
.archive-gallery-wide, .archive-gallery-grid figure { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--wash); }
.archive-gallery-wide { max-width: 32rem; margin-top: 1.25rem; }
.archive-gallery-wide img { width: 100%; height: auto; max-height: 370px; object-fit: contain; background: var(--wash); }
.archive-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: .85rem; }
.archive-gallery-grid figure { max-width: 320px; width: 100%; }
.archive-gallery-grid img { width: 100%; height: auto; aspect-ratio: 1.27; object-fit: contain; background: var(--wash); }
.archive-gallery figcaption { padding: .7rem .9rem; color: var(--muted); font-size: .85rem; font-weight: 650; }
@media (max-width: 520px) {
  .archive-gallery-grid { grid-template-columns: 1fr; }
}

/* Keep the archive photographs visually consistent without modifying the originals. */
img[src^="assets/archiv/"] { filter: sepia(.14) saturate(.82); }

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--dark-line);
}
.class-grid li { border-top: 1px solid var(--dark-line); }
.class-grid li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--dark-line); }
.class-grid a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) 1rem;
  align-items: start;
  gap: .65rem;
  height: 100%;
  min-height: 8rem;
  padding: clamp(.85rem, 2vw, 1.65rem);
  text-decoration: none;
}
.class-grid a:hover, .class-grid a:focus-visible { background: var(--ink); }
.class-grid a:focus-visible { outline-offset: -4px; }
.class-grid strong { display: block; font-size: 1rem; line-height: 1.25; hyphens: auto; }
.class-lead { display: block; margin-top: .4rem; color: var(--wash); font-size: .86rem; }
.class-number { margin-top: .15rem; color: var(--brass); font: .74rem var(--mono); }
.class-number, .catalog-number, .catalog-index, .studio-values { font-variant-numeric: tabular-nums; }
.class-arrow { color: var(--white); transition: transform 144ms ease-in; }
.class-grid a:hover .class-arrow { transform: translate(2px, -2px); transition: transform 240ms ease-out; }

.lab-intro { align-items: center; padding-top: clamp(1.8rem, 4vw, 3.7rem); }
.lab-intro .subpage-intro { padding-top: 0; }
.lab-intro h1 { font-size: clamp(3rem, 5.7vw, 5.65rem); }
.lab-leadership { border-top: 1px solid var(--line); }
.gallery-lead { margin-top: .8rem; color: var(--muted); }
.bench-timeline { padding-bottom: var(--section-inset); }
.bench-grid { padding-bottom: clamp(1.7rem, 4vw, 3.4rem); }
.timeline { position: relative; }
.timeline-track { position: absolute; inset: 7px 0 auto; height: 1px; background: var(--line); }
.timeline-track span { display: block; height: 100%; background: var(--accent); transform-origin: left; }
.timeline-entries {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 2.6vw, 2.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-entries li::before {
  display: block;
  width: 9px;
  height: 9px;
  margin: 3px 0 .8rem;
  border: 2px solid var(--wash);
  outline: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.timeline-year { display: block; color: var(--accent); font: 500 clamp(1.75rem, 3.5vw, 3.3rem)/1 var(--serif); }
.timeline-entries strong { display: block; margin-top: .35rem; font-size: .92rem; }
.timeline-entries p { max-width: 32ch; margin-top: .35rem; color: var(--muted); font-size: .9rem; }

@media (max-width: 980px) {
  .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-grid li:not(:nth-child(3n + 1)) { border-left: 0; }
  .class-grid li:nth-child(even) { border-left: 1px solid var(--dark-line); }
}

@media (max-width: 600px) {
  .class-grid { grid-template-columns: 1fr; }
  .class-grid li:nth-child(even) { border-left: 0; }
  .class-grid a { min-height: 0; padding-block: 1rem; }
  .timeline-entries { grid-template-columns: 1fr; gap: 1.3rem; padding-left: 1.45rem; }
  .timeline-entries li { position: relative; }
  .timeline-entries li::before { position: absolute; left: -1.45rem; top: .3rem; }
  .timeline-track { inset: 7px auto .9rem 4px; width: 1px; height: auto; }
  .timeline-track span { transform-origin: top; }
}

.studio-wire {
  display: block;
  width: clamp(5rem, 11vw, 9.25rem);
  height: auto;
  margin-block: 0 .75rem;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.25px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.studio-wire path { stroke-dasharray: 1; }
.hero-word { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.studio-intro h1 em { white-space: nowrap; }
.studio-intro h1 > .hero-word:first-child { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .reveal-heading { overflow: clip; }
  .reveal-heading > span { display: block; padding-bottom: .1em; }
  [data-reveal-heading] > span { transition: transform 650ms cubic-bezier(.215,.61,.355,1); }
  [data-reveal-photo] { transition: clip-path 900ms cubic-bezier(.215,.61,.355,1); }
  [data-reveal-heading="waiting"] > span { transform: translateY(110%); }
  [data-reveal-photo="waiting"] { clip-path: inset(0 0 100% 0); }
  [data-reveal-photo="shown"] { clip-path: inset(0); }
}

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

.craft-layout { display: grid; gap: clamp(1.5rem, 4vw, 4rem); justify-items: center; }
.film-feature, .craft-notes { width: min(100%, 740px); }
@media (width >= 760px) {
  .film-feature { width: min(740px, calc((100% - clamp(1.5rem, 4vw, 4rem)) * .625)); }
}
.craft-steps {
  margin: .85rem 0 1rem;
  padding-inline-start: 1.55rem;
}
.craft-steps li {
  border-top: 1px solid var(--line);
  padding-block: .75rem;
}
.craft-steps li:last-child { border-bottom: 1px solid var(--line); }
.craft-steps li::marker { color: var(--accent); font-family: var(--mono); }
.craft-steps p { margin-top: .2rem; color: var(--muted); font-size: .95rem; }
.craft-notes .text-link, .craft-film-link { color: var(--accent); }
.craft-film-link { margin-top: 1.1rem; }
.film-stage {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.film-stage :is(img, iframe) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.film-stage iframe:not([data-ready]) { visibility: hidden; }
.film-feature figcaption { margin-block-start: .55rem; color: var(--muted); font-size: .85rem; }

/* The seal is decorative and shares the existing caption and footer rows. */
.craft-seal { display: block; flex: none; width: 76px; height: 76px; }
.studio-figure figcaption, .film-feature figcaption { align-items: center; }
.film-feature figcaption { display: flex; justify-content: space-between; gap: .5rem; }
.footer-brand > .craft-seal { float: right; margin-inline-start: .55rem; }

.film-section { background: var(--dark); color: var(--white); border-block: 1px solid var(--dark-line); }
.film-section :is(.section-intro > p:last-child, .craft-steps p, .film-feature figcaption) { color: var(--wash); }
.film-section .craft-notes .text-link, .film-section .craft-steps li::marker { color: var(--white); }
.film-section .craft-steps li { border-color: var(--dark-line); }
.film-stage { background: var(--dark); outline: 1px solid var(--dark-line); }

.contact-section.subpage-top { border-color: var(--dark-line); }
.contact-section :is(.breadcrumb, .subpage-intro > p:last-of-type) { color: var(--wash); }
.contact-section h1 em { color: var(--brass); }

.lab-photos {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.lab-photos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.6rem, 3.8vw, 3rem);
}
.lab-photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--wash);
}
.lab-photo img {
  position: absolute;
  height: auto;
  max-width: none;
}
.lab-photo-workbench { aspect-ratio: 3 / 2; }
.lab-photo-workbench img {
  top: -20%;
  left: -12%;
  width: 128%;
  filter: brightness(1.055) saturate(.94);
}
.lab-photo-polisher { aspect-ratio: 4 / 5; }
.lab-photo-polisher img {
  top: -44%;
  right: 0;
  width: 126%;
  filter: brightness(1.035) saturate(.9);
}
.lab-photos figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font: .7rem/1.4 var(--mono);
}
@media (max-width: 760px) {
  .lab-photos-grid { grid-template-columns: minmax(0, 1fr); }
}
