/* Rainer Groh - Möbel & Schreinerei. Grundlagen: Farben, Schriften, Abstände. */
@font-face { font-family: "Young Serif"; src: url("/assets/schrift/YoungSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/schrift/InstrumentSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/schrift/InstrumentSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --papier: #F7F3EC;
  --flaeche: #EFE8DC;
  --weiss: #FFFFFF;
  --tinte: #221C16;
  --tinte-leise: #5E5347;
  --linie: rgb(34 28 22 / 14%);
  --nuss: #2B211A;
  --nuss-text: #F3EBDD;
  --nuss-leise: #CBBFAE;
  --nuss-grau: #A39684;
  --nuss-linie: rgb(243 235 221 / 18%);
  --bernstein: #F09C00;
  --bernstein-dunkel: #DB8D00;
  --bernstein-tief: #8F4E00;
  --rot: #A12B1D;
  --gruen: #1F6B3A;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rund: 6px;
  --breite: 80rem;
  --rand: clamp(1.25rem, 4vw, 3rem);
  --raum: clamp(4rem, 9vw, 7.5rem);
  --kopf: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 1.5rem); }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 1.0625rem/1.6 var(--sans); overflow-wrap: break-word; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; hyphens: auto; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: 0; }
p, ul, ol { margin: 0 0 1em; }
p, li { max-width: 62ch; text-wrap: pretty; }
ul { padding-left: 1.2em; }
a { color: var(--bernstein-tief); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--bernstein-tief); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--bernstein); color: var(--tinte); }

.breite { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.unsichtbar { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.leise { color: var(--tinte-leise); }
.schlicht { list-style: none; padding: 0; }
.bild-fehlt { display: block; aspect-ratio: 4 / 3; background: var(--flaeche); border-radius: var(--rund); }

.sprung { position: absolute; left: 1rem; top: -6rem; z-index: 50; background: var(--tinte); color: var(--papier); padding: 0.75rem 1rem; border-radius: var(--rund); }
.sprung:focus { top: 1rem; }
.entwurf { margin: 0; max-width: none; padding: 0.35rem var(--rand); background: var(--nuss); color: var(--nuss-text); font-size: 0.875rem; text-align: center; }
.entwurf-hinweis { border-left: 4px solid var(--bernstein); background: var(--weiss); padding: 0.75rem 1rem; font-size: 0.9375rem; max-width: 62ch; border-radius: 0 var(--rund) var(--rund) 0; }
.hinweis { border: 1px solid var(--linie); background: var(--weiss); padding: 0.9rem 1.1rem; border-radius: var(--rund); }

/* Dachzeile über Überschriften, mit kleinem Schwalbenschwanz */
.dach { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.1rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinte-leise); }
.dach::before { content: ""; flex: none; width: 1.1rem; height: 0.65rem; background: var(--bernstein); clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%); }
.einleitung { font-size: 1.2rem; line-height: 1.5; color: var(--tinte-leise); max-width: 46ch; }
@media (min-width: 900px) { .einleitung { font-size: 1.3rem; } }

/* Knöpfe: eine Form */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.1rem; padding: 0.7rem 1.5rem; border: 1.5px solid transparent; border-radius: var(--rund); background: var(--bernstein); color: var(--tinte); font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.knopf:hover { background: var(--bernstein-dunkel); }
.knopf-linie { background: transparent; border-color: var(--tinte); }
.knopf-linie:hover { background: var(--tinte); color: var(--papier); }
.knopf-klein { min-height: 2.6rem; padding: 0.45rem 1.1rem; }
.knopf-breit { width: 100%; }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; max-width: none; }
.pfeil { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 700; white-space: nowrap; }
.pfeil::after { content: "→"; transition: transform 0.2s; }
.pfeil:hover::after { transform: translateX(4px); }

/* Aufklappen */
.mehr { margin: 0.25rem 0 1rem; }
.mehr > summary { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--bernstein-tief); }
.mehr > summary::-webkit-details-marker { display: none; }
.mehr > summary::before { content: "+"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 400; line-height: 1; }
.mehr[open] > summary::before { content: "–"; }
.mehr-inhalt { padding-top: 0.5rem; }

/* Abschnitte */
.block { padding: var(--raum) 0; }
.block-eng { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.band { background: var(--flaeche); }
.titelzeile { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2.25rem; }
.titelzeile h2 { margin-bottom: 0.2em; }
.titelzeile p { margin: 0; }

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

/* Kopf, Navigation, Schlussband, Fuß */
.kopf { position: sticky; top: 0; z-index: 30; background: var(--papier); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: var(--kopf); }
.marke { display: flex; flex-direction: column; margin-right: auto; padding: 0.6rem 0; color: var(--tinte); text-decoration: none; line-height: 1.15; }
.marke-name { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.marke-satz { font-size: 0.875rem; color: var(--tinte-leise); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-liste { display: flex; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.nav-liste li { max-width: none; }
.nav-liste a { display: inline-flex; align-items: center; min-height: 2.75rem; border-bottom: 2px solid transparent; color: var(--tinte); font-size: 1rem; text-decoration: none; }
.nav-liste a:hover { border-bottom-color: var(--tinte); }
.nav-liste a[aria-current="page"] { border-bottom-color: var(--bernstein); }
.nav-rand { display: flex; align-items: center; gap: 0.35rem; }
.nav-rand .knopf { margin-left: 0.6rem; }
.nav-zeichen { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 2.75rem; min-height: 2.75rem; border-radius: var(--rund); color: var(--tinte); font-size: 1rem; text-decoration: none; }
.nav-zeichen:hover { background: var(--flaeche); }
.nav-zeichen[aria-current="page"] { background: var(--flaeche); }
.korb-zahl { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 0.3rem; border-radius: 0.7rem; background: var(--tinte); color: var(--papier); font-size: 0.875rem; font-weight: 700; line-height: 1; }
.korb-zahl[hidden] { display: none; }
.kopf-korb { display: none; }

.menue-knopf { display: none; align-items: center; gap: 0.65rem; min-height: 2.75rem; padding: 0.4rem 0.95rem; border: 1.5px solid var(--tinte); border-radius: var(--rund); background: transparent; color: var(--tinte); font: inherit; font-weight: 700; cursor: pointer; }
.menue-striche { position: relative; width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

@media (min-width: 70em) {
  .nav-zeichen > span:not(.korb-zahl) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-zeichen .korb-zahl { position: absolute; top: 0; right: -0.35rem; }
}

@media (max-width: 69.99em) {
  .kopf-innen { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 0.5rem; }
  .nav { grid-column: 1 / -1; }
  .menue-knopf, .kopf-korb { display: inline-flex; }
  .kopf-korb .korb-zahl { position: absolute; top: 0; right: -0.35rem; }
  .nav { display: none; }
  .menue-offen .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--kopf)); max-height: calc(100dvh - var(--kopf)); overflow-y: auto; overscroll-behavior: contain; padding: 0.25rem var(--rand) 1.75rem; background: var(--papier); border-bottom: 1px solid var(--linie); }
  .menue-offen .nav-liste { flex-direction: column; }
  .menue-offen .nav-liste a { display: flex; min-height: 3.4rem; border-bottom: 1px solid var(--linie); font-family: var(--serif); font-size: 1.5rem; }
  .menue-offen .nav-liste a[aria-current="page"] { border-bottom-color: var(--bernstein); }
  .menue-offen .nav-rand { flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.25rem; }
  .menue-offen .nav-zeichen { justify-content: flex-start; padding: 0 0.5rem; }
  .menue-offen .nav-rand .knopf { margin-left: 0; }
  .menue-offen .menue-striche { background: transparent; box-shadow: none; }
  .menue-offen .menue-striche::before, .menue-offen .menue-striche::after { content: ""; position: absolute; inset: 0; height: 2px; background: var(--tinte); transform: rotate(45deg); }
  .menue-offen .menue-striche::after { transform: rotate(-45deg); }

  /* Ohne Skript: Navigation offen und umbrechend, kein Menüknopf */
  .ohne-skript .menue-knopf, .ohne-skript .kopf-korb { display: none; }
  .ohne-skript .nav { display: flex; flex-wrap: wrap; width: 100%; gap: 0.25rem 1.5rem; padding-bottom: 0.75rem; }
  .ohne-skript .nav-liste { flex-wrap: wrap; }
  .ohne-skript .nav-rand { flex-wrap: wrap; }
}
@media (max-width: 26em) {
  .marke-satz { display: none; }
  .marke-name { font-size: clamp(1.15rem, 5.2vw, 1.4rem); }
  .menue-knopf { gap: 0.5rem; padding: 0.4rem 0.7rem; }
}
@media (max-width: 22em) {
  .menue-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menue-knopf { justify-content: center; min-width: 2.75rem; padding: 0.4rem; }
}

/* Schlussband mit Schwalbenschwanz: die dunklen Zinken greifen in die helle Fläche darüber */
.schluss { position: relative; background: var(--nuss); color: var(--nuss-text); }
.zinken, .fuss-allein::before { position: absolute; left: 0; right: 0; top: -29px; height: 30px; background: url("/assets/zinken.svg") repeat-x center top / 64px 30px; pointer-events: none; }
.fuss-allein::before { content: ""; }
.schluss-innen { padding-block: clamp(4rem, 9vw, 7rem); }
.schluss h2 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4rem); }
.schluss-text { max-width: 44ch; color: var(--nuss-leise); font-size: 1.2rem; }
.schluss-wege { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 2.5rem; max-width: none; margin: 2rem 0 0; }
.schluss-tel { color: var(--bernstein); font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; text-decoration: none; white-space: nowrap; }
.schluss-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.schluss-mail { color: var(--nuss-text); font-size: 1.15rem; }
.schluss :focus-visible, .fuss :focus-visible { outline-color: var(--bernstein); }

.fuss { background: var(--nuss); color: var(--nuss-leise); font-size: 1rem; border-top: 1px solid var(--nuss-linie); }
.fuss-allein { position: relative; margin-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 0; }
.fuss a { color: var(--nuss-text); }
.fuss-raster { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 48em) { .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss h2 { margin-bottom: 1rem; color: var(--nuss-leise); font: 700 0.875rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.fuss-marke { color: var(--nuss-text); font-family: var(--serif); font-size: 1.4rem; }
.fuss .schlicht a { display: inline-flex; align-items: center; min-height: 2.25rem; }
.widerruf-knopf { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.5rem; padding: 0.5rem 1.1rem; border: 1.5px solid var(--nuss-text); border-radius: var(--rund); font-weight: 700; text-decoration: none; }
.widerruf-knopf:hover { background: var(--nuss-text); color: var(--nuss); }
.fuss-ende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; padding-block: 1.25rem 2rem; font-size: 0.875rem; }
.fuss-ende p { margin: 0; max-width: none; }
/* Zugang zur Verwaltung: bewusst zurückhaltend, aber lesbar (5,4 zu 1) und gut zu treffen. */
.fuss .fuss-zugang a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-block: -0.75rem; color: var(--nuss-grau); text-decoration: none; }
.fuss .fuss-zugang a:hover, .fuss .fuss-zugang a:focus-visible { color: var(--nuss-text); text-decoration: underline; }

/* Startseite und Inhaltsseiten */
@keyframes auf { from { opacity: 0; transform: translateY(12px); } }
.aufmacher { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.aufmacher-innen { display: grid; gap: 2.5rem 4rem; align-items: center; }
.aufmacher-text { animation: auf 0.7s ease both; }
.aufmacher-bild { animation: auf 0.7s 0.12s ease both; }
.aufmacher h1 { font-size: clamp(3rem, 8vw, 5.75rem); line-height: 1; }
.aufmacher-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
@media (min-width: 56.25em) {
  .aufmacher-innen { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .aufmacher-bild img { aspect-ratio: 6 / 5; max-height: 74vh; }
}

.seitenkopf { padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.seitenkopf-innen { display: grid; gap: 2rem 4rem; align-items: center; }
.seitenkopf h1 { max-width: 17ch; font-size: clamp(2.4rem, 5.5vw, 4rem); }
.seitenkopf-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rund); }
@media (min-width: 56.25em) { .seitenkopf.mit-bild .seitenkopf-innen { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* Karten: ein Rezept. Haarlinie, kein Schatten, ein Radius. */
.fotokarten, .produktkarten { display: grid; gap: 1.25rem; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.fotokarten li, .produktkarten li { max-width: none; display: flex; }
@media (min-width: 38.75em) { .fotokarten, .produktkarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68.75em) { .fotokarten, .produktkarten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fotokarte, .produktkarte { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--weiss); color: var(--tinte); text-decoration: none; transition: border-color 0.15s; }
.fotokarte:hover, .produktkarte:hover { border-color: var(--tinte); }
.fotokarte-bild { overflow: hidden; }
.fotokarte-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.fotokarte:hover .fotokarte-bild img { transform: scale(1.04); }
.fotokarte h3, .produktkarte h3 { margin: 1.1rem 1.25rem 0.35rem; }
.fotokarte p, .produktkarte p { margin: 0 1.25rem 1.25rem; color: var(--tinte-leise); font-size: 1rem; }
.fotokarte h3::after { content: " →"; color: var(--bernstein-tief); }

/* Produktkarten: kleine Bilder bleiben in ihrer echten Größe auf weißem Grund */
.produktkarte-bild { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--linie); }
.produktkarte-bild img { position: absolute; top: 1rem; left: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; }
.produktkarte .produktkarte-kurz { flex: 1; margin-bottom: 0.75rem; }
.produktkarte .preis { color: var(--tinte); font-weight: 700; font-size: 1.125rem; }
.preis-hinweis { max-width: none; margin: 1.25rem 0 0; color: var(--tinte-leise); font-size: 0.9375rem; }

.brief-innen { display: grid; gap: 1.5rem 4rem; }
.brief h2 { max-width: 14ch; }
.brief-text > p:first-child { font-size: 1.25rem; line-height: 1.5; }
.unterschrift { margin-top: 1.75rem; font-family: var(--serif); font-size: 1.3rem; }
@media (min-width: 56.25em) { .brief-innen { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* Bilder, die sich groß öffnen lassen */
.gross { display: block; overflow: hidden; border-radius: var(--rund); cursor: zoom-in; }
.gross img { transition: transform 0.5s ease; }
.gross:hover img { transform: scale(1.03); }

.blick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.blick li { max-width: none; }
.blick .gross, .blick img { width: 100%; height: 100%; }
.blick img { object-fit: cover; }
@media (min-width: 56.25em) {
  .blick { grid-template-columns: repeat(20, minmax(0, 1fr)); grid-auto-rows: auto; gap: 1rem; }
  .blick li { position: relative; }
  .blick .gross { position: absolute; inset: 0; }
  .blick li:nth-child(6n + 1), .blick li:nth-child(6n + 3) { grid-column: span 5; aspect-ratio: 2 / 3; }
  .blick li:nth-child(6n + 2) { grid-column: span 10; }
  .blick li:nth-child(6n + 4), .blick li:nth-child(6n) { grid-column: span 8; }
  .blick li:nth-child(6n + 5) { grid-column: span 4; aspect-ratio: 2 / 3; }
}

.besuch { display: grid; gap: 2rem 3.5rem; }
@media (min-width: 56.25em) { .besuch { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.zeiten h3, .anschrift h3 { margin-bottom: 0.75rem; color: var(--tinte-leise); font: 700 0.875rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.zeiten li { margin-bottom: 0.2rem; }

/* Abschnitte der Leistungsseiten: Schlagworte sichtbar, Details zum Aufklappen */
.abschnitt { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.abschnitt-innen { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 56.25em) {
  .abschnitt-innen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .abschnitt.gedreht .abschnitt-innen { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .abschnitt.gedreht .abschnitt-text { order: 2; }
  .abschnitt.ohne-bilder .abschnitt-innen { grid-template-columns: minmax(0, 46rem); }
}
.schlagworte { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.schlagworte li { padding: 0.3rem 0.75rem; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--weiss); font-size: 0.9375rem; font-weight: 700; }
.abschnitt-text .zeiten, .abschnitt-text .anschrift { margin-top: 1.5rem; }
.bilderreihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.bilderreihe li { max-width: none; }
.bilderreihe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bilderreihe li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.bilderreihe li:first-child:nth-last-child(odd) img { aspect-ratio: 3 / 2; }

.wege { display: grid; gap: 1.25rem; }
@media (min-width: 43.75em) { .wege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.weg { padding: 1.75rem; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--weiss); }
.weg h2 { margin-bottom: 1rem; color: var(--tinte-leise); font: 700 0.875rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.weg p:last-child, .weg ul:last-child { margin-bottom: 0; }
.weg-gross { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.2; overflow-wrap: anywhere; }

.rechtstext > * { max-width: 46rem; }
.rechtstext section { margin-top: 2.5rem; }
.rechtstext h2 { font-size: 1.6rem; line-height: 1.2; }
.rechtstext p, .rechtstext li { max-width: 68ch; }

/* Verweis auf den eigenen Shop außerhalb dieser Webseite (Solid-Shop). */
.extern-kasten { display: grid; gap: 1rem 2rem; align-items: center; margin: 0 0 2rem; padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--linie); border-left: 4px solid var(--bernstein); border-radius: 0 var(--rund) var(--rund) 0; background: var(--weiss); }
@media (min-width: 46em) { .extern-kasten { grid-template-columns: minmax(0, 1fr) auto; } }
.extern-kasten p { margin: 0; max-width: 60ch; }
.extern-titel { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.extern-titel + p { margin-top: 0.35rem; color: var(--tinte-leise); }
.extern-knopf { max-width: none; }
.knopf-extern::after { content: "\2197"; font-weight: 400; line-height: 1; }
.produktkarte .preis-extern { color: var(--tinte-leise); font-weight: 400; font-size: 1rem; }

/* Galerie und Großbild */
.sprungmarken { position: sticky; top: var(--kopf); z-index: 20; background: var(--papier); border-block: 1px solid var(--linie); }
.sprungmarken ul { display: flex; gap: 0.25rem 1.5rem; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: thin; }
.sprungmarken li { flex: none; max-width: none; }
.sprungmarken a { display: inline-flex; align-items: center; min-height: 3rem; color: var(--tinte); font-weight: 700; font-size: 1rem; text-decoration: none; }
.sprungmarken a:hover { text-decoration: underline; }
.galerie-gruppe { padding: clamp(2.5rem, 5vw, 4.5rem) 0 0; scroll-margin-top: calc(var(--kopf) + 3rem); }
.galerie-gruppe:last-of-type { padding-bottom: var(--raum); }
.galerie-gruppe h2 { scroll-margin-top: calc(var(--kopf) + 4.5rem); }
.mosaik { columns: 1; column-gap: 1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
@media (min-width: 38.75em) { .mosaik { columns: 2; } }
@media (min-width: 62.5em) { .mosaik { columns: 3; } }
.mosaik li { max-width: none; margin: 0 0 1rem; break-inside: avoid; }
.mosaik img { width: 100%; }

.grossbild { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(24 18 13 / 96%); color: var(--nuss-text); }
.grossbild::backdrop { background: rgb(24 18 13 / 96%); }
.grossbild-innen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; }
.grossbild-leiste { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem var(--rand); }
.grossbild-zahl { margin: 0; color: var(--nuss-leise); font-size: 0.9375rem; }
.grossbild-buehne { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--rand); }
.grossbild-buehne img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.grossbild-text { min-height: 3.5rem; max-width: none; margin: 0; padding: 0.9rem var(--rand) 1.25rem; text-align: center; color: var(--nuss-text); font-size: 1rem; }
.grossbild-knopf { display: inline-grid; place-items: center; min-width: 3rem; min-height: 3rem; padding: 0 0.9rem; border: 1.5px solid var(--nuss-linie); border-radius: var(--rund); background: rgb(24 18 13 / 70%); color: var(--nuss-text); font: inherit; font-weight: 700; cursor: pointer; }
.grossbild-knopf:hover { border-color: var(--nuss-text); }
.grossbild :focus-visible { outline-color: var(--bernstein); }
.grossbild-vor, .grossbild-zurueck { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.4rem; }
.grossbild-zurueck { left: var(--rand); }
.grossbild-vor { right: var(--rand); }
.grossbild-knopf[hidden] { display: none; }
.grossbild-offen { overflow: hidden; }
