/* ==========================================================================
   Töpferei Falkenhan – „Glasurkatalog“ (Neuentwurf November 2026)
   Idee: Jedes Stück steht wie ein Präparat auf einem Farbfeld – auf der
   Farbe seiner Schwesterglasur. Türkis (Effektglasur) und Blau sind die
   Farben der Seite; die Türkis-Fläche ist ein echtes Foto der Glasur.
   Mobile first, ohne Build-Schritt.
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Grund und Schrift */
  --grund: #eeeeea;          /* Stein, neutral */
  --grund-2: #e2e2dc;        /* eine Stufe dunkler */
  --papier: #f8f8f6;
  --tinte: #1b2027;
  --tinte-2: #4b525b;

  /* Marke und Glasuren */
  --nacht: #16395a;          /* Visitenkarte: Schrift, Aktion, Fuß */
  --nacht-tief: #0f2a43;
  --blau: #1f2749;           /* Glasur „Blau“ */
  --blau-hell: #dce0ec;
  --tuerkis: #6f8a82;        /* Effektglasur „Türkis“ */
  --tuerkis-tief: #3d544e;
  --tuerkis-hell: #dbe4e0;
  --braun: #6b4a35;          /* Glasur „Braun“, rustikal */
  --braun-hell: #ece3d9;
  --glasur: url("../img/glasur/tuerkis-platte.webp");
  --glasur-2: url("../img/glasur/tuerkis-krug.webp");

  /* Schrift */
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --s-display: clamp(3rem, 0.9rem + 6.6vw, 7.25rem);
  --s-h2: clamp(2rem, 1.25rem + 2.6vw, 3.6rem);
  --s-lead: clamp(1.25rem, 1.12rem + 0.5vw, 1.55rem);
  --s-text: 1.125rem;
  --s-klein: 0.9375rem;

  /* Raster */
  --rand: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --breite: 86rem;
  --luecke: clamp(0.5rem, 0.3rem + 0.6vw, 0.75rem);
  --abstand: clamp(5rem, 3rem + 7vw, 11rem);

  /* Bewegung */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font: 400 var(--s-text)/1.6 var(--sans);
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: lining-nums;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: var(--tuerkis-hell); color: var(--nacht-tief); }
:focus-visible { outline: 3px solid var(--nacht); outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--nacht);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 0.4em;
}
h1 { font-size: var(--s-display); letter-spacing: -0.035em; line-height: 0.95; }
h2 { font-size: var(--s-h2); }
h3 { font-size: var(--s-lead); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
a { color: var(--nacht); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
.lead { font-size: var(--s-lead); line-height: 1.45; color: var(--tinte); }
.klein { font-size: var(--s-klein); }
.wrap, .rahmen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: calc(var(--abstand) * 0.6) var(--abstand); }
.abschnitt--eng { padding-top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Sichtbare Platzhalter für fehlende Inhalte (bewusst auffällig, damit sie nicht online bleiben) */
.ph {
  background: #f6e6c9; color: #5f3a10; border: 1px dashed #a8692a; border-radius: 4px;
  padding: 0.02em 0.3em; font: 400 1em/inherit var(--sans);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hinweis-entwurf {
  background: #f6e6c9; color: #5f3a10; border: 1px dashed #a8692a; border-radius: 4px;
  padding: 0.85rem 1rem; font-size: 1rem; max-width: none;
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.7rem 1.6rem;
  border-radius: 999px; border: 2px solid var(--nacht);
  background: var(--nacht); color: #fff;
  font: 500 1.125rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s var(--ease);
}
.btn:hover { background: var(--nacht-tief); border-color: var(--nacht-tief); }
.btn:active { transform: scale(0.97); }
.btn--leise { background: transparent; color: var(--nacht); }
.btn--leise:hover { background: var(--nacht); color: #fff; }
.btn--ocker, .btn--salbei { background: var(--nacht); border-color: var(--nacht); }
.btn--hell { background: #fff; border-color: #fff; color: var(--nacht); }
.btn--hell:hover { background: var(--tuerkis-hell); border-color: var(--tuerkis-hell); color: var(--nacht-tief); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.textlink .icon { transition: transform 0.3s var(--ease); }
.textlink:hover .icon { transform: translateX(4px); }

/* ---------- Sprunglink ---------- */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--nacht); color: #fff; padding: 0.7rem 1.1rem; border-radius: 999px;
  text-decoration: none; transition: top 0.2s ease;
}
.skip:focus { top: 1rem; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--grund);
  transition: background-color 0.3s ease;
}
.kopf.ist-gescrollt { background: var(--papier); }
.kopf__innen { display: flex; align-items: center; gap: 0.75rem; min-height: 4.5rem; }
.marke { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; text-decoration: none; padding-block: 0.5rem; }
.marke picture { flex: none; display: block; }
.marke__logo { width: 52px; max-width: none; height: auto; }
.marke__name { font: 700 clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem)/1 var(--serif); color: var(--nacht); letter-spacing: -0.01em; white-space: nowrap; }
.tel-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.1rem; border-radius: 999px;
  background: var(--nacht); color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.2s var(--ease);
}
.tel-btn:hover { background: var(--nacht-tief); }
.tel-btn:active { transform: scale(0.96); }
.tel-btn .icon { width: 1.15rem; height: 1.15rem; }
.tel-btn__nr { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 3rem; min-width: 3rem; padding: 0 0.95rem; border-radius: 999px;
  border: 2px solid var(--nacht); background: transparent; color: var(--nacht);
  font: 500 1.05rem var(--sans); cursor: pointer;
}
.menu-btn .icon-zu { display: none; }
.menu-btn[aria-expanded="true"] .icon-auf { display: none; }
.menu-btn[aria-expanded="true"] .icon-zu { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--tinte); }
.js .nav { display: none; }
.js .nav.ist-offen {
  display: flex; flex-direction: column; position: fixed; inset: 4.5rem 0 0;
  background: var(--papier); overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--grund-2);
  animation: menue-auf 0.35s var(--ease) both;
}
html.menue-offen { overflow: hidden; }
html.menue-offen .kopf { background: var(--papier); }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-0.75rem); } }
@media (prefers-reduced-motion: reduce) { .js .nav.ist-offen { animation: none; } }
.nav li + li { border-top: 1px solid var(--grund-2); }
.nav__fuss { display: none; }
.js .nav.ist-offen .nav__fuss {
  display: block; margin: auto 0 0; padding: 1.25rem var(--rand) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--tuerkis-tief); color: #fff; font-size: 1.05rem; line-height: 1.5;
}
.js .nav.ist-offen .nav__fuss a { display: inline; padding: 0; font: 700 1.35rem/1.4 var(--sans); color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.nav ul { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; padding-block: 0.5rem 1.5rem; }
.nav a { display: block; padding: 0.55rem 0; font: 700 1.75rem/1.2 var(--serif); color: var(--nacht); }
.nav a[aria-current="page"] { color: var(--tuerkis-tief); }
html:not(.js) .kopf__innen { flex-wrap: wrap; }
html:not(.js) .nav { flex-basis: 100%; }
html:not(.js) .menu-btn { display: none; }
/* Handy: Menü nur als Symbol, Logo erst ab ausreichender Breite */
@media (max-width: 47.99em) {
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 0; width: 3rem; flex: none; }
  .tel-btn { flex: none; }
  .marke { min-width: 0; }
}
@media (max-width: 29.99em) {
  .marke picture { display: none; }
  .marke__name { font-size: 1.2rem; }
}
@media (max-width: 22.49em) {
  .tel-btn { padding: 0; width: 3rem; justify-content: center; }
  .tel-btn__kurz { display: none; }
  .marke__name { font-size: 1.1rem; }
}
@media (min-width: 48em) {
  .tel-btn__kurz { display: none; }
  .tel-btn__nr { display: inline; }
}
@media (min-width: 75em) {
  .kopf__innen { min-height: 5.25rem; gap: 2rem; }
  .menu-btn { display: none; }
  .js .nav, .nav { display: block; position: static; }
  .nav ul { display: flex; gap: 1.6rem; width: auto; padding: 0; }
  .nav a { font: 500 1.0625rem/1 var(--sans); color: var(--tinte); padding: 0.5rem 0; position: relative; }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
    background: var(--tuerkis); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: var(--nacht); }
}

/* ---------- Präparat-Kachel (der Grundbaustein) ---------- */
.tafel { position: relative; overflow: hidden; background: var(--grund-2); }
.tafel--tuerkis-hell { background: var(--tuerkis-hell); }
.tafel--blau-hell { background: var(--blau-hell); }
.tafel--blau { background: var(--blau); }
.tafel--braun-hell { background: var(--braun-hell); }
.tafel--braun { background: var(--braun); }
.tafel--nacht { background: var(--nacht); }
.tafel--grund { background: var(--grund-2); }
.tafel--papier { background: var(--papier); }
.tafel--glasur { background: var(--tuerkis) var(--glasur) center / cover; }
.tafel--gross > img { inset: 5%; width: 90%; height: 90%; }
.seitenkopf__stueck.seitenkopf__foto { aspect-ratio: 896 / 608; background: var(--papier); }
.seitenkopf__stueck.seitenkopf__foto--hoch { aspect-ratio: 478 / 850; max-width: 21rem; justify-self: end; width: 100%; }
@media (max-width: 55.99em) { .seitenkopf__stueck.seitenkopf__foto--hoch { justify-self: start; max-width: 16rem; } }
.seitenkopf__stueck.seitenkopf__foto > picture > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tafel--glasur-2 { background: var(--tuerkis) var(--glasur-2) center / cover; }
.tafel > img, .tafel > picture > img {
  position: absolute; inset: 12%; width: 76%; height: 76%;
  object-fit: contain; transition: transform 0.8s var(--ease);
}
a.tafel:hover > img, a:hover > .tafel > img, button:hover > .tafel > img { transform: scale(1.05) translateY(-2%); }

/* ---------- Startseite: Einstieg ---------- */
.held { display: grid; min-height: calc(100svh - 4.5rem); }
.held__text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: clamp(2rem, 1rem + 4vw, 4.5rem) var(--rand) clamp(2rem, 1rem + 3vw, 3.5rem);
}
.held h1 { margin: 0 0 0.35em; max-width: 9ch; }
.held__satz { font-size: var(--s-lead); line-height: 1.45; max-width: 30ch; margin: 0; }
.held__fuss { display: grid; gap: 1.25rem; }
.held__motto { font: italic 500 var(--s-lead)/1.3 var(--serif); color: var(--tuerkis-tief); margin: 0; }
.held__mosaik { background: var(--grund-2); overflow: hidden; position: relative; min-height: 34rem; }
.mosaik {
  position: absolute; inset: clamp(1rem, 2vw, 2rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: var(--luecke); list-style: none; margin: 0; padding: 0;
}
.mosaik li { display: contents; }
.mosaik .tafel { display: block; }
.m1 { grid-area: 1 / 1 / 3 / 3; }
.m2 { grid-area: 1 / 3 / 2 / 4; }
.m3 { grid-area: 2 / 4 / 4 / 5; }
.m4 { grid-area: 3 / 1 / 4 / 2; }
.m5 { grid-area: 3 / 2 / 4 / 4; }
.m6 { grid-area: 1 / 4 / 2 / 5; }
.m7 { grid-area: 2 / 3 / 3 / 4; }
.mosaik .m1 > img { inset: 8%; width: 84%; height: 84%; }
@media (max-width: 55.99em) {
  /* Handy & Tablet: Mosaik bleibt vollständig im Bild, als ruhiges Raster */
  .held { min-height: 0; }
  .held__text { gap: 1.5rem; padding-block: 1.75rem 1.5rem; }
  .held h1 { font-size: clamp(2.75rem, 1rem + 10vw, 5rem); margin-bottom: 0.25em; }
  .held__satz { max-width: 34ch; }
  .held .btn-reihe { margin-top: 1.5rem; }
  .held__mosaik { min-height: 0; height: auto; padding: var(--luecke); }
  .mosaik {
    position: static; inset: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .mosaik .tafel { aspect-ratio: 1; }
  .m1 { grid-area: 1 / 1 / 3 / 3; aspect-ratio: auto !important; }
  .m2 { grid-area: 1 / 3 / 2 / 4; } .m7 { grid-area: 2 / 3 / 3 / 4; }
  .m4 { grid-area: 3 / 1 / 4 / 2; } .m5 { grid-area: 3 / 2 / 4 / 4; aspect-ratio: auto !important; }
  .m3, .m6 { display: none !important; }
}
@media (max-width: 25.99em) {
  .held .btn-reihe { flex-direction: column; align-items: stretch; }
  .held .btn-reihe .btn { justify-content: center; text-align: center; }
}
@media (min-width: 56em) {
  .held { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .held__text { padding-left: max(var(--rand), (100vw - var(--breite)) / 2); }
}

/* ---------- Eine Form, zwei Glasuren ---------- */
.paar { display: grid; }
.paar__feld { position: relative; min-height: 78svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.paar__feld--links { background: var(--blau); color: #fff; }
.paar__feld--rechts { background: var(--tuerkis-hell); }
.paar__kopf { position: relative; z-index: 2; padding: clamp(1.5rem, 1rem + 2vw, 3rem) var(--rand) 0; }
.paar__kopf h2 { color: #fff; max-width: 15ch; }
.paar__kopf p { color: #e8ebf3; max-width: 34ch; margin-bottom: 1.25rem; }
.schalter { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.3rem; border-radius: 999px; background: rgb(255 255 255 / 0.12); }
.schalter button {
  min-height: 2.75rem; padding: 0.4rem 1.15rem; border-radius: 999px; border: 0;
  background: transparent; color: #fff; font: 500 1.0625rem/1 var(--sans); cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s var(--ease);
}
.schalter button:hover { background: rgb(255 255 255 / 0.16); }
.schalter button:active { transform: scale(0.96); }
.schalter button[aria-pressed="true"] { background: #fff; color: var(--blau); }
.schalter button:focus-visible { outline-color: #fff; }
.paar__bild { position: relative; flex: 1; min-height: 20rem; margin-block: 1rem; }
.paar__bild img {
  position: absolute; inset: 0 6%; width: 88%; height: 100%; max-width: none;
  object-fit: contain;
  transition: opacity 0.45s ease, transform 0.9s var(--ease);
}
.paar__bild img.ist-weg { opacity: 0; transform: translateY(1.5rem) scale(0.97); }
.paar__fuss {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 0 var(--rand) clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.paar__name { font: 700 var(--s-lead)/1.15 var(--serif); margin: 0; }
.paar__glasur { margin: 0.15rem 0 0; font-size: var(--s-text); }
.paar__feld--links .paar__glasur { color: #dfe3ef; }
.paar__feld--rechts .paar__name { color: var(--nacht); }
.paar__feld--links .textlink { color: #fff; }
@media (min-width: 56em) {
  .paar { grid-template-columns: 1fr 1fr; }
  .paar__feld { min-height: min(92svh, 58rem); }
  .paar__kopf { padding-left: max(var(--rand), (100vw - var(--breite)) / 2); }
  .paar__feld--links .paar__fuss { padding-left: max(var(--rand), (100vw - var(--breite)) / 2); }
  .paar__feld--rechts .paar__fuss { padding-right: max(var(--rand), (100vw - var(--breite)) / 2); }
}

/* ---------- Türkis fällt immer anders aus ---------- */
.effekt__kopf { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.effekt__kopf h2 { margin: 0; max-width: 16ch; }
.effekt__kopf p { margin: 0; font-size: var(--s-lead); line-height: 1.45; max-width: 36ch; }
.muster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--luecke); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .muster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .muster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.muster li { min-width: 0; }
.muster figure { margin: 0; }
.muster .bildrahmen { overflow: hidden; background: var(--grund-2); aspect-ratio: 1200 / 904; }
.muster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.muster li:hover img { transform: scale(1.06); }
.muster figcaption { font-size: var(--s-klein); color: var(--tinte-2); margin-top: 0.4rem; }
.muster figcaption strong { color: var(--tinte); font-weight: 500; }

/* ---------- Sortiment als Liste mit Bildpunkten ---------- */
.sortiment__kopf { display: grid; gap: 1rem 4rem; margin-bottom: 1rem; }
.sortiment__kopf h2 { margin: 0; }
.sortiment__kopf p { margin: 0; max-width: 40ch; font-size: var(--s-lead); line-height: 1.45; }
.gruppe { margin-top: clamp(3rem, 2rem + 3vw, 5.5rem); }
.gruppe__kopf { display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 0.25rem 1rem; margin-bottom: 1.5rem; padding-bottom: 0.9rem; }
.gruppe__kopf h3 { font-size: var(--s-h2); margin: 0; }
.gruppe__kopf span { color: var(--tinte-2); }
.posten { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem 4rem; }
@media (min-width: 56em) { .posten { grid-template-columns: 1fr 1fr; } }
.posten a {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: center;
  padding: 0.6rem; margin-inline: -0.6rem; border-radius: 4px; text-decoration: none; color: var(--tinte);
  transition: background-color 0.3s ease;
}
.posten a:hover { background: var(--grund-2); }
.posten .tafel { width: 5.5rem; aspect-ratio: 1; border-radius: 4px; }
.posten .tafel > img { inset: 8%; width: 84%; height: 84%; }
.posten .tafel--foto > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.posten strong { display: block; font: 700 1.25rem/1.25 var(--serif); color: var(--nacht); }
.posten span.beschreibung { display: block; color: var(--tinte-2); font-size: 1.0625rem; line-height: 1.45; margin-top: 0.15rem; }
.punkte { display: inline-flex; gap: 0.3rem; vertical-align: middle; margin-left: 0.35rem; }

/* Glasurpunkte: echte Glasurfotos als kleine Muster */
.glasurpunkt { width: 0.95rem; height: 0.95rem; border-radius: 50%; display: inline-block; flex: none; background: var(--tuerkis) url("../img/glasur/tuerkis-glocke.webp") center / 300%; }
.glasurpunkt--blau { background: var(--blau) url("../img/glasur/blau.webp") center / 260%; }
.glasurpunkt--punkte { background: var(--blau) url("../img/glasur/blau-punkte.webp") 70% 75% / 360%; }
.glasurpunkt--braun { background: var(--braun) url("../img/glasur/braun.webp") center / 200%; }
.glasurpunkt--flammiert { background: var(--blau) url("../img/glasur/flammiert.webp") center / 120%; }

/* ---------- Über die Töpferei (Startseite) ---------- */
.werkstatt { display: grid; gap: 2.5rem; align-items: center; }
.werkstatt__bild { margin: 0; }
.werkstatt__bild img { width: 100%; height: auto; }
.werkstatt__bild figcaption { font-size: var(--s-klein); color: var(--tinte-2); margin-top: 0.5rem; }
.fakten { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--luecke); }
.fakten li { background: var(--grund-2); padding: 1.1rem 1.2rem; }
.fakten strong { display: block; font: 700 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--serif); color: var(--nacht); margin-bottom: 0.35rem; }
.fakten span { color: var(--tinte-2); font-size: 1rem; line-height: 1.35; display: block; }
@media (min-width: 56em) { .werkstatt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }

/* ---------- Orte: Fotostreifen + drei Felder ---------- */
.orte { background: var(--nacht); color: #e8edf3; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; margin-bottom: var(--luecke); }
.band { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--luecke); }
@media (min-width: 48em) { .band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band > li { aspect-ratio: 1; overflow: hidden; min-width: 0; }
.band > li > video, .band > li > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.band .tafel { height: 100%; }
.orte h2 { color: #fff; margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; }
.orte__felder { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--luecke); }
@media (min-width: 56em) { .orte__felder { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.orte__felder a {
  display: flex; flex-direction: column; min-height: 13rem; padding: 1.5rem 1.6rem;
  background: rgb(255 255 255 / 0.08); color: #fff; text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.orte__felder a:hover, .orte__felder a:focus-visible { background: #fff; color: var(--nacht); }
.orte__felder a:focus-visible { outline-color: #fff; }
.orte__felder strong { font: 700 var(--s-lead)/1.15 var(--serif); }
.orte__felder .gross { font: 700 clamp(2.6rem, 2rem + 2vw, 3.6rem)/1 var(--serif); margin: auto 0 0.2rem; letter-spacing: -0.02em; }
.orte__felder span.weiter { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.75rem; font-weight: 500; }
.orte__felder .icon { transition: transform 0.3s var(--ease); }
.orte__felder a:hover .icon { transform: translateX(5px); }

/* ---------- Fuß aus Kacheln ---------- */
.fuss { padding: var(--luecke); background: var(--grund); }
.fuss__brett { display: grid; gap: var(--luecke); grid-template-columns: 1fr 1fr; }
.fuss__kachel { padding: 1.5rem 1.4rem; background: var(--grund-2); min-height: 11rem; display: flex; flex-direction: column; }
.fuss__kachel h2 { font: 500 var(--s-klein)/1.3 var(--sans); letter-spacing: 0; color: var(--tinte-2); margin: 0 0 0.75rem; }
.fuss__kachel ul { list-style: none; margin: 0; padding: 0; }
.fuss__kachel li { padding-block: 0.15rem; }
.fuss__kachel a { color: var(--tinte); text-decoration: none; }
.fuss__kachel a:hover { color: var(--nacht); text-decoration: underline; }
.fuss__kachel address { font-style: normal; line-height: 1.5; }
.fuss__motto { font: 700 var(--s-lead)/1.25 var(--serif); color: var(--nacht); margin: 0 0 auto; max-width: 18ch; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 1.5rem; font-size: var(--s-klein); color: var(--tinte-2); }
.fuss__recht a { color: var(--tinte-2); }
.fuss__tel { font: 700 1.5rem/1.2 var(--serif); }
.fuss__marke { grid-column: 1 / -1; background: var(--nacht); min-height: clamp(9rem, 6rem + 12vw, 20rem); display: grid; place-items: center; padding: 1.5rem; overflow: hidden; }
.fuss__marke p { margin: 0; max-width: none; font: 700 clamp(2.2rem, 0.4rem + 8.4vw, 6.6rem)/0.9 var(--serif); color: #fff; letter-spacing: -0.04em; white-space: nowrap; }
.fuss__einladung {
  grid-column: 1 / -1; position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 17rem; padding: 1.5rem 1.6rem; color: #fff; text-decoration: none;
  background: var(--nacht) url("../img/windlichter-abend-quer-800.webp") right center / cover; isolation: isolate; overflow: hidden;
}
.fuss__einladung::before { content: ""; position: absolute; inset: 0; background: rgb(15 20 24 / 0.3); z-index: -1; transition: background-color 0.35s ease; }
.fuss__einladung:hover::before { background: rgb(15 20 24 / 0.55); }
.fuss__einladung strong { font: 700 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.1 var(--serif); max-width: 20ch; }
.fuss__einladung svg { align-self: flex-end; width: 3rem; height: 3rem; stroke: #fff; stroke-width: 2.2; transition: transform 0.4s var(--ease); }
.fuss__einladung:hover svg { transform: translateX(8px); }
.fuss__einladung:focus-visible { outline-offset: -6px; outline-color: #fff; }
.fuss .kontaktzeile { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (min-width: 64em) {
  .fuss__marke p { font-size: clamp(3rem, 0.4rem + 5.6vw, 7.4rem); }
  .fuss__brett { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .fuss__kachel { min-height: 14rem; }
  .k-motto { grid-column: 1 / 5; } .k-seiten { grid-column: 5 / 8; } .k-ort { grid-column: 8 / 10; } .k-kontakt { grid-column: 10 / 13; }
  .fuss__marke { grid-column: 1 / 9; min-height: 20rem; }
  .fuss__einladung { grid-column: 9 / 13; min-height: 20rem; }
}
@media (max-width: 63.99em) { .k-motto { grid-column: 1 / -1; } }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf { padding-top: clamp(1.5rem, 1rem + 3vw, 4rem); }
.seitenkopf__raster { display: grid; gap: 2rem; align-items: end; }
.seitenkopf h1 { margin: 0 0 0.3em; }
.seitenkopf .lead { margin: 0; max-width: 40ch; }
.seitenkopf .lead + p { margin-top: 0.75rem; }
.seitenkopf__stueck { aspect-ratio: 4 / 3; }
@media (min-width: 56em) {
  .seitenkopf__raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}
.seitenkopf + .abschnitt { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }

/* ---------- Produktkatalog ---------- */
.filterleiste { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.filter { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; align-items: center; }
.filter__titel { font-size: var(--s-klein); color: var(--tinte-2); margin-right: 0.4rem; min-width: 5.5rem; }
.filter button {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.4rem 1.05rem;
  border-radius: 999px; border: 2px solid var(--grund-2); background: var(--grund-2); color: var(--tinte);
  font: 500 1.0625rem/1 var(--sans); cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s var(--ease);
}
.filter button:hover { border-color: var(--nacht); }
.filter button:active { transform: scale(0.96); }
.filter button[aria-pressed="true"] { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.katalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem var(--luecke); list-style: none; margin: 0; padding: 0; grid-auto-flow: dense; }
@media (min-width: 48em) { .katalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75em) { .katalog { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.katalog li[hidden] { display: none; }
.katalog .gross { grid-column: span 2; }
.stueck { margin: 0; }
.stueck__knopf { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; text-align: left; font: inherit; color: inherit; }
.stueck__knopf .tafel { aspect-ratio: 1; }
.katalog .gross .stueck__knopf .tafel { aspect-ratio: 2 / 1; }
.katalog .gross .tafel > img { inset: 8% 14%; width: 72%; height: 84%; }
.stueck__knopf .tafel--foto > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stueck figcaption { padding-top: 0.75rem; }
.stueck__titel { display: block; font: 700 1.25rem/1.25 var(--serif); color: var(--nacht); }
.stueck__kat { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; font-size: var(--s-klein); color: var(--tinte-2); margin-top: 0.2rem; }
.katalog__leer { padding: 2rem; background: var(--grund-2); }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: auto; width: min(100vw - 1.5rem, 72rem); max-height: calc(100dvh - 1.5rem);
  background: var(--papier); color: var(--tinte); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgb(10 20 30 / 0.6);
}
.lightbox[open] { animation: lb-auf 0.5s var(--ease); }
@keyframes lb-auf { from { opacity: 0; transform: translateY(1.5rem) scale(0.98); } }
.lightbox::backdrop { background: rgb(15 32 50 / 0.82); }
.lightbox__innen { display: grid; grid-template-rows: minmax(0, 1fr) auto; max-height: calc(100dvh - 1.5rem); }
.lightbox__buehne { position: relative; background: var(--lb-grund, var(--grund-2)); display: grid; place-items: center; min-height: 0; touch-action: pan-y; user-select: none; }
.lightbox__buehne img { max-width: 100%; max-height: min(70dvh, 44rem); width: auto; object-fit: contain; }
.lightbox__text { padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: 0.35rem; align-content: start; }
.lightbox__text h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem); margin: 0; }
.lightbox__text p { margin: 0; color: var(--tinte-2); }
.lightbox__kat { font-weight: 500; color: var(--tuerkis-tief) !important; }
.lightbox__zaehler { font-size: var(--s-klein); }
.lb-knopf {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / 0.94); color: var(--nacht); cursor: pointer; transition: transform 0.2s var(--ease);
}
.lb-knopf:hover { background: #fff; }
.lb-knopf:active { transform: scale(0.92); }
.lb-knopf .icon { width: 1.4rem; height: 1.4rem; }
.lb-zu { top: 0.75rem; right: 0.75rem; }
.lb-zurueck { left: 0.75rem; top: 50%; translate: 0 -50%; }
.lb-vor { right: 0.75rem; top: 50%; translate: 0 -50%; }
@media (min-width: 56em) {
  .lightbox__innen { grid-template-columns: minmax(0, 1fr) 21rem; grid-template-rows: auto; }
  .lightbox__buehne img { max-height: min(84dvh, 48rem); }
  .lightbox__text { align-content: end; padding: 2rem; }
}

/* ---------- Kacheln (Unterseiten) ---------- */
.kachel { display: flex; flex-direction: column; padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); background: var(--tuerkis-hell); color: var(--tinte); }
.kachel--salbei { background: var(--tuerkis) var(--glasur) center / cover; color: #fff; position: relative; isolation: isolate; }
.kachel--salbei::before { content: ""; position: absolute; inset: 0; background: rgb(15 20 24 / 0.32); z-index: -1; }
.kachel--kobalt { background: var(--blau); color: #eef0f6; }
.kachel h2, .kachel h3 { color: inherit; }
.kachel p { color: inherit; }
.kachel__gross { font: 700 clamp(5rem, 3rem + 7vw, 9rem)/0.85 var(--serif); letter-spacing: -0.04em; margin: 0.25rem 0 0.75rem; }

/* ---------- Über uns ---------- */
.zweispaltig { display: grid; gap: 3rem; }
@media (min-width: 56em) { .zweispaltig { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; align-items: start; } }
.zeitleiste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: var(--luecke); }
.zeitleiste li { background: var(--grund-2); padding: 1.25rem 1.4rem; }
.zeitleiste__jahr { display: block; font: 700 1.75rem/1.1 var(--serif); color: var(--nacht); margin-bottom: 0.3rem; }
.zeitleiste p { margin: 0; }
.inhaber { margin: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--tuerkis-hell); }
.inhaber__foto { width: 9rem; aspect-ratio: 1; border: 1px dashed #a8692a; background: #f6e6c9; display: grid; place-items: center; text-align: center; font-size: 0.95rem; color: #5f3a10; padding: 1rem; margin-bottom: 1.5rem; }
.inhaber__foto .icon { width: 2rem; height: 2rem; margin: 0 auto 0.4rem; }
.inhaber blockquote { margin: 0; font: 400 var(--s-lead)/1.45 var(--serif); }
.inhaber figcaption { margin-top: 1rem; font-weight: 500; }
.ueber-bild { margin-top: var(--luecke); aspect-ratio: 4 / 3; }

/* ---------- Hofladen ---------- */
.hofladen-raster { display: grid; gap: 3rem; }
@media (min-width: 60em) { .hofladen-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; align-items: start; } }
.ablauf { list-style: none; counter-reset: schritt; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: var(--luecke); }
.ablauf li { counter-increment: schritt; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; background: var(--grund-2); padding: 1rem 1.1rem; }
.ablauf li::before { content: counter(schritt); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--tuerkis) var(--glasur) center / cover; color: #fff; font: 700 1.3rem var(--serif); }
.ablauf strong { display: block; font-weight: 700; color: var(--nacht); }
.ablauf span { color: var(--tinte-2); }
.formular { background: var(--papier); padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.75rem); }
.formular h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); }
.feld { display: grid; gap: 0.35rem; margin-bottom: 1.15rem; }
.feld-reihe { display: grid; gap: 0 1rem; }
@media (min-width: 36em) { .feld-reihe { grid-template-columns: 1fr 1fr; } }
.formular label { font-weight: 500; }
.optional { font-weight: 400; color: var(--tinte-2); }
.feld__hilfe { font-size: 1rem; color: var(--tinte-2); margin: 0; }
.formular input, .formular textarea {
  width: 100%; min-height: 3.1rem; padding: 0.7rem 0.95rem; font: 1.125rem/1.4 var(--sans); color: var(--tinte);
  background: #fff; border: 1.5px solid #8b8f95; border-radius: 4px; caret-color: var(--nacht);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.formular textarea { min-height: 7rem; resize: vertical; }
.formular input:hover, .formular textarea:hover { border-color: var(--tuerkis-tief); }
.formular input:focus-visible, .formular textarea:focus-visible { outline: none; border-color: var(--nacht); box-shadow: 0 0 0 3px rgb(22 57 90 / 0.25); }
.formular input::placeholder, .formular textarea::placeholder { color: #6d7177; }
.formular input[aria-invalid="true"], .formular textarea[aria-invalid="true"] { border-color: #a3341f; }
.formular input[type="checkbox"] { width: 1.4rem; height: 1.4rem; min-height: 0; margin: 0.2rem 0 0; accent-color: var(--nacht); }
.feld__fehler { color: #9a2f1b; font-size: 1rem; font-weight: 500; margin: 0; }
.feld__fehler:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin: 0.5rem 0 1.25rem; }
.formular__fehlerliste { background: #f8e3dc; color: #7c2412; padding: 0.85rem 1rem; margin-bottom: 1.25rem; }
.formular__fehlerliste a { color: inherit; }
.formular__fehlerliste[hidden] { display: none; }
.erfolg__symbol { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--tuerkis-hell); color: var(--tuerkis-tief); display: grid; place-items: center; margin-bottom: 1rem; }
.erfolg__symbol .icon { width: 1.75rem; height: 1.75rem; }
.erfolg dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--grund); }
.erfolg dt { font-weight: 500; color: var(--tinte-2); }
.erfolg dd { margin: 0; }
.anruf { margin-top: 2rem; padding: 1.5rem; background: var(--blau); color: #eef0f6; }
.anruf p { margin-bottom: 1rem; }
.anruf .btn { background: #fff; border-color: #fff; color: var(--blau); }
.anruf .btn:hover { background: var(--tuerkis-hell); border-color: var(--tuerkis-hell); }
.anruf--gross { margin-top: 0; padding: clamp(1.5rem, 4vw, 2.5rem); }
.anruf--gross h2 { color: #fff; margin-bottom: 0.75rem; }

/* ---------- Anfragen verwalten ---------- */
.anfragen { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--luecke); }
.anfrage { background: var(--papier); padding: 1.25rem 1.35rem; display: grid; gap: 0.75rem; }
.anfrage__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; }
.anfrage__kopf h2 { font-size: 1.5rem; margin: 0 auto 0 0; }
.anfrage__termin { font-weight: 500; color: var(--nacht); }
.anfrage dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; margin: 0; }
.anfrage dt { color: var(--tinte-2); }
.anfrage dd { margin: 0; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1rem; font-weight: 500; padding: 0.15rem 0.7rem; border-radius: 999px; }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.status--offen { background: #f6e6c9; color: #5f3a10; }
.status--bestaetigt { background: var(--tuerkis-hell); color: var(--tuerkis-tief); }
.status--abgesagt { background: #efe1dc; color: #7c2412; }
.anfrage__aktionen { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.anfrage__aktionen .btn { min-height: 2.75rem; padding: 0.45rem 1.05rem; font-size: 1.05rem; }
.btn--absagen { background: transparent; color: #7c2412; border-color: #b9897b; }
.btn--absagen:hover { background: #f6e7e2; border-color: #b9897b; }
.leer { padding: 2.5rem 1.5rem; background: var(--grund-2); text-align: center; color: var(--tinte-2); }
.leer p { margin-inline: auto; }

/* ---------- Töpfermarkt ---------- */
.markt { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 56em) { .markt { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; } }
.termin { display: inline-grid; gap: 0.15rem; margin: 0.5rem 0 1.75rem; }
.termin__label { color: var(--tinte-2); }
.termin__wert { font: 700 1.75rem/1.2 var(--serif); color: var(--nacht); }
.markt__foto { margin: var(--luecke) 0 0; }
.markt__foto img { width: 100%; }
.markt__foto figcaption { font-size: var(--s-klein); color: var(--tinte-2); margin-top: 0.5rem; }

/* ---------- Lübbenau & Kontakt ---------- */
.karte-info { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.karte-info a, .karte-info address { overflow-wrap: anywhere; }
@media (min-width: 56em) { .karte-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: start; } }
.adresse { font-style: normal; font-size: var(--s-lead); line-height: 1.5; }
.adresse strong { font: 700 1.6rem/1.3 var(--serif); color: var(--nacht); }
.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; margin-top: 0.5rem; color: inherit; }
.zeiten caption { text-align: left; font: 700 1.45rem/1.3 var(--serif); padding-bottom: 0.4rem; }
.zeiten th, .zeiten td { text-align: left; padding: 0.7rem 0; border-top: 1px solid rgb(255 255 255 / 0.3); vertical-align: top; }
.zeiten th { font-weight: 500; padding-right: 1rem; }
.zeiten-block + .zeiten-block { margin-top: 1.75rem; }
.zeiten__zusatz { font: 400 1rem var(--sans); }
.kontakt-liste { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: var(--luecke); }
.kontakt-liste a, .kontakt-liste .zeile {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: center; padding: 0.9rem 1rem;
  background: var(--grund-2); text-decoration: none; color: var(--tinte); transition: background-color 0.3s ease;
}
.kontakt-liste a:hover { background: var(--tuerkis-hell); }
.kontakt-liste__icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--nacht); color: #fff; display: grid; place-items: center; }
.kontakt-liste__art { display: block; font-size: var(--s-klein); color: var(--tinte-2); }
.kontakt-liste__wert { font-size: 1.3rem; font-weight: 500; color: var(--nacht); overflow-wrap: anywhere; }
.gefaesse-bild { margin: 0; background: var(--papier); }
.gefaesse-bild img { width: 100%; }
.regal { display: grid; gap: var(--luecke); }
.regal figure { margin: 0; }
.regal video, .regal img { width: 100%; height: 100%; object-fit: cover; background: var(--tinte); }
.regal figcaption { font-size: var(--s-klein); color: var(--tinte-2); margin-top: 0.5rem; }
.regal__video video { aspect-ratio: 478 / 850; max-height: 85vh; }
.regal__bild img { aspect-ratio: 4 / 3; }
@media (min-width: 48em) {
  .regal { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto auto; }
  .regal__video { grid-row: span 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  .regal__video video { height: 100%; max-height: none; aspect-ratio: auto; }
  .regal__bild img { aspect-ratio: 16 / 9; }
}
.regal-kopf { display: grid; gap: 1rem 4rem; margin-bottom: 2.5rem; }
.regal-kopf h2 { margin: 0; }
.regal-kopf p { margin: 0; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.8rem; margin-top: 2.25rem; }
.rechtstext address { font-style: normal; margin-bottom: 1em; }

/* ==========================================================================
   Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Signatur: Das große Stück im Einstieg öffnet sich wie ein Verschluss */
  .verschluss { animation: verschluss 1.15s var(--ease) 0.15s both; }
  .verschluss > img { animation: setzen 1.6s var(--ease) 0.15s both; }
  @keyframes verschluss { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes setzen { from { transform: scale(1.14); } }

  /* Die übrigen Kacheln des Mosaiks steigen versetzt auf */
  .mosaik .tafel:not(.verschluss) { animation: aufsteigen 0.9s var(--ease) both; animation-delay: calc(0.35s + var(--i, 0) * 80ms); }
  .held__text > * { animation: aufsteigen 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes aufsteigen { from { opacity: 0; transform: translateY(1.5rem); } }

  /* Teile jedes Abschnitts erscheinen nacheinander beim Hineinscrollen */
  .js [data-teile] > * { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-teile].ist-sichtbar > * { opacity: 1; transform: none; }

  /* Glasurmuster ziehen beim Scrollen langsam heran */
  @supports (animation-timeline: view()) {
    .muster img { animation: heran linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes heran { from { scale: 1.18; } to { scale: 1; } }
    .paar__bild img { animation: schweben linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes schweben { from { translate: 0 4%; } to { translate: 0 -4%; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Auszug aus dem Sortiment (Hofladen) ---------- */
.auszug { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem var(--luecke); }
@media (min-width: 56em) { .auszug { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.auszug a { display: block; text-decoration: none; color: inherit; }
.auszug .tafel { display: block; aspect-ratio: 1; margin-bottom: 0.75rem; }
@media (max-width: 47.99em) { .adresse { font-size: 1.2rem; } .adresse strong { font-size: 1.3rem; } }

/* ---------- Glasuren (Über uns) ---------- */
.glasuren { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem var(--luecke); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40em) { .glasuren { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .glasuren { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.glasuren__bild { aspect-ratio: 1; overflow: hidden; margin-bottom: 1rem; }
.glasuren li:hover .glasuren__bild > img { transform: scale(1.05) translateY(-2%); }
.glasuren h3 { margin-bottom: 0.3rem; }
.glasuren p { margin: 0; }

/* Telefon zuerst bei Terminen */
.lieber-anrufen { font-size: var(--s-lead); margin: 1.25rem 0 0; max-width: 36rem; }
.seitenkopf__text .btn-reihe { margin-top: 1.25rem; }
.fuss__einladung-tel { display: block; margin-top: 0.6rem; font-size: 1.05rem; font-weight: 500; }

/* Ganzes Sortiment als Liste */
.sortiment-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--luecke); }
@media (min-width: 40em) { .sortiment-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .sortiment-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sortiment-liste li { padding: 0.85rem 0; border-top: 1px solid var(--grund-2); }
.sortiment-liste strong { display: block; font: 600 1.15rem/1.3 var(--serif); }
.sortiment-liste span { display: block; color: var(--tinte-2); margin-top: 0.15rem; }
.sortiment-liste__mehr strong { font-style: italic; font-weight: 500; }
.sortiment-anruf { margin: 2rem 0 0; font-size: var(--s-lead); }
.sortiment-mehr { margin: 2.5rem 0 0; max-width: 48rem; color: var(--tinte-2); }

/* „seit über 100 Jahren“ neben dem Titel */
.held__zeile { display: block; white-space: nowrap; }
.held__plakette { display: inline-block; vertical-align: top; margin: 0.12em 0 0 0.3em; font-size: 0.4em; line-height: 1; text-align: center; letter-spacing: 0.01em; color: var(--nacht); white-space: nowrap; }

/* Breites Foto mit Unterschrift (alte Fotos, max. 800 px breit) */
.foto-breit { margin: 1.25rem 0 0; max-width: 50rem; }
.foto-breit img { display: block; width: 100%; height: auto; }
.foto-breit figcaption { margin-top: 0.75rem; color: var(--tinte-2); }
.foto-hoch { margin-top: 0; max-width: 24rem; }
.geschichte-text .foto-breit { margin-top: 2rem; }

/* ==========================================================================
   Zeitstrahl (Über uns)
   Eine senkrechte Linie läuft durch alle Stationen. Beim Lesen füllt sie sich
   und ein Punkt fährt mit (main.js setzt --fortschritt). Die Station in der
   Bildmitte ist „aktiv“, die anderen treten zurück. Fotos öffnen sich wie
   der Verschluss im Seitenkopf.
   ========================================================================== */
.zeit-kopf { max-width: 46rem; margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.zeit-kopf .lead { margin: 0; }

.zeit {
  --zeit-spalte: 0rem;
  --linie-x: 0.75rem;
  --linie-top: 1.1rem;
  --fortschritt: 0;
  --apfel: cubic-bezier(0.32, 0.72, 0, 1);     /* ruhig, ohne Nachfedern */
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Schiene (hell) und Füllung (dunkel) */
.zeit::before,
.zeit::after {
  content: "";
  position: absolute;
  top: var(--linie-top);
  bottom: var(--linie-unten, 0px);
  left: calc(var(--linie-x) - 1.5px);
  width: 3px;
  border-radius: 3px;
}
.zeit::before { background: var(--grund-2); }
.zeit::after {
  background: var(--nacht);
  transform: scaleY(var(--fortschritt));
  transform-origin: top;
}
/* der mitfahrende Punkt an der Spitze der Füllung */
.zeit__kopf {
  position: absolute;
  z-index: 2;
  top: var(--linie-top);
  left: calc(var(--linie-x) - 0.5rem);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--nacht);
  box-shadow: 0 0 0 5px rgb(22 57 90 / 0.14);
  transform: translateY(calc(var(--kopf-y, 0px) - 50%));
  pointer-events: none;
}

.station {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  padding-left: calc(var(--linie-x) + 2rem);
  padding-bottom: clamp(4rem, 2rem + 6vw, 9rem);
}
.station:last-child { padding-bottom: 0; }

/* Punkt auf der Linie: hohler Ring, wird beim Erreichen zur Glasurperle */
.station::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--linie-top) - 0.7rem);
  left: calc(var(--linie-x) - 0.7rem);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--grund);
  box-shadow: inset 0 0 0 3px var(--grund-2), 0 0 0 5px var(--grund);
  transition: transform 0.6s var(--apfel), box-shadow 0.6s var(--apfel), background-color 0.6s var(--apfel);
}
.station.ist-erreicht::before {
  background: var(--tuerkis) url("../img/glasur/tuerkis-glocke.webp") center / 300%;
  box-shadow: inset 0 0 0 0 transparent, 0 0 0 5px var(--grund);
}
.station.ist-aktiv::before { transform: scale(1.25); }
.station--heute.ist-erreicht::before { background: var(--nacht); box-shadow: 0 0 0 5px var(--grund), 0 0 0 7px var(--tuerkis); }

.station__zeit {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--nacht);
  text-wrap: balance;
}
.station__text h3 { margin-bottom: 0.5em; }
.station__text > :last-child { margin-bottom: 0; }

.station__bild { margin: 0.75rem 0 0; max-width: 34rem; }
.station__bild picture { display: block; overflow: hidden; background: var(--grund-2); }
.station__bild img { display: block; width: 100%; height: auto; }
.station__bild--hoch { max-width: 20rem; }
.station__bild figcaption { margin-top: 0.6rem; font-size: var(--s-klein); color: var(--tinte-2); }

/* Ab Tablet: eigene Spalte für die Zeit links von der Linie */
@media (min-width: 48em) {
  .zeit { --zeit-spalte: 12rem; --linie-x: calc(var(--zeit-spalte) + 2.25rem); --linie-top: 1.4rem; }
  .station { grid-template-columns: var(--zeit-spalte) minmax(0, 1fr); column-gap: 4.5rem; padding-left: 0; }
  .station__zeit { grid-column: 1; grid-row: 1 / span 2; text-align: right; }
  .station__text, .station__bild { grid-column: 2; }
}

/* Ab Desktop: Zeit bleibt beim Scrollen stehen, Text und Foto nebeneinander */
@media (min-width: 64em) {
  .zeit { --zeit-spalte: 15rem; }
  .station { grid-template-columns: var(--zeit-spalte) minmax(0, 6fr) minmax(0, 5fr); }
  .station__zeit { grid-row: 1; align-self: start; position: sticky; top: 7rem; }
  .station__text { grid-column: 2; max-width: 34rem; align-self: start; position: sticky; top: 7.25rem; }
  .station__bild { grid-column: 3; grid-row: 1; margin-top: 0.3rem; justify-self: start; }
  .station__bild--hoch { max-width: 24rem; }
}

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Fokus: nur die Station in der Bildmitte ist ganz da */
  .js .station__zeit,
  .js .station__text { transition: opacity 0.7s var(--apfel), color 0.7s var(--apfel), filter 0.7s var(--apfel), transform 0.9s var(--apfel); }
  .js .zeit.ist-bereit .station:not(.ist-aktiv) .station__zeit { color: #a9b0ad; }
  .js .zeit.ist-bereit .station:not(.ist-aktiv) .station__text { opacity: 0.38; }

  /* Ankommen: Zeit wird scharf, Text steigt auf, Foto öffnet sich */
  .js .station:not(.ist-da) .station__zeit { opacity: 0; filter: blur(10px); transform: translateY(0.75rem); }
  .js .station:not(.ist-da) .station__text { opacity: 0; transform: translateY(1.75rem); }
  .js .station__text { transition-delay: 0s, 0s, 0s, 0.08s; }

  .js .station__bild picture { clip-path: inset(18% 10% 18% 10%); transition: clip-path 1.2s var(--apfel) 0.12s; }
  .js .station__bild img { transform: scale(1.18); transition: transform 1.6s var(--apfel) 0.12s; }
  .js .station__bild figcaption { opacity: 0; transition: opacity 0.8s var(--apfel) 0.6s; }
  .js .station.ist-da .station__bild picture { clip-path: inset(0 0 0 0); }
  .js .station.ist-da .station__bild img { transform: none; }
  .js .station.ist-da .station__bild figcaption { opacity: 1; }

  /* „Heute“: einmaliger Ring, wenn der Punkt ankommt */
  .station--heute.ist-erreicht::after {
    content: "";
    position: absolute;
    top: calc(var(--linie-top) - 0.7rem);
    left: calc(var(--linie-x) - 0.7rem);
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    border: 2px solid var(--tuerkis);
    animation: ring 1.4s var(--apfel) both;
    pointer-events: none;
  }
  @keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
}
/* Ohne Bewegung: Linie voll, alle Punkte gefüllt, kein Kopf */
@media (prefers-reduced-motion: reduce) {
  .zeit { --fortschritt: 1; }
  .zeit__kopf { display: none; }
}
.zeit__liste { list-style: none; margin: 0; padding: 0; }

/* Hinweise unter der Produktgalerie */
.katalog__leer a, .katalog__fuss a { white-space: nowrap; }
.katalog__fuss { margin: 3rem 0 0; color: var(--tinte-2); max-width: 52ch; }
.zeiten__hinweis { margin: 0.75rem 0 0; font-size: var(--s-klein); opacity: 0.85; }

/* ==========================================================================
   Feinschliff (Dezember 2026)
   ========================================================================== */
/* Fußbereich: Links mit ausreichend großer Klickfläche (mind. 24 px hoch) */
.fuss__kachel li { padding-block: 0; }
.fuss__kachel li a { display: inline-block; padding-block: 0.3rem; }

/* Töpfermarkt: zwei Knöpfe nebeneinander, Text bleibt am Rechner neben dem Foto stehen */
.markt__knoepfe { margin-top: 0; }
@media (min-width: 56em) { .markt > :first-child { position: sticky; top: 7rem; } }

/* Produktbilder heben sich beim Darüberfahren leicht an – zeigt: lässt sich vergrößern */
.stueck__knopf .tafel { overflow: hidden; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .stueck__knopf .tafel img { transition: transform 0.6s var(--ease); }
  .stueck__knopf:hover .tafel img { transform: scale(1.04); }
}

/* Filter: Stücke springen nicht, sondern blenden kurz nacheinander ein */
@media (prefers-reduced-motion: no-preference) {
  .js .katalog > li { transition-duration: 0.5s; }
  .js .katalog.ist-sichtbar > li:not([hidden]) {
    @starting-style { opacity: 0; transform: translateY(0.75rem) scale(0.98); }
  }
  .js .katalog__leer:not([hidden]) {
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    @starting-style { opacity: 0; transform: translateY(0.5rem); }
  }
}
