/* Anton Wertkabinett – Entwurf 10 (01.12.2026)
   Farben am Flyer gemessen: Creme #F7EADA, Bronzebraun #7A3E06, Schrift #24130E bis #311A12, Gold #B97A13.
   Oben die dunkle Bühne: Schaufenster mit allen Fotos und die Leistungen als heller Aushang wie eine Preisliste. */

:root {
  --papier: #f7eada;
  --papier-hell: #fbf3e8;
  --papier-tief: #efdcc2;
  --tinte: #2b1810;
  --tinte-weich: #5c4436;
  --bronze: #7a3e06;
  --gold: #b97a13;
  --gold-hell: #f2c766;
  --espresso: #2a170d;
  --schrift-zier: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --schrift: "EB Garamond", Garamond, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --rand: clamp(20px, 5vw, 48px);
  --abstand: clamp(56px, 7vw, 96px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.1875rem;
  line-height: 1.6;
  background-color: var(--papier);
  /* Papier: helle Mitte oben, feines Korn */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, var(--papier-hell) 0%, rgba(251, 243, 232, 0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .22 0 0 0 0 .1 .16 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--bronze); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.innen { width: min(calc(100% - 2 * var(--rand)), 1120px); margin-inline: auto; }

/* Entwurfsleiste und Platzhalter (fallen beim Livegang weg) */
.ph { background: #fff1a8; color: #4a3800; border-radius: 3px; padding: 0 .25em; font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ph-block { display: block; margin: 0 0 1.6em; padding: .8em 1em; background: #fff6c9; border: 1px dashed #c9a400; border-radius: 6px; color: #4a3800; font-size: 1rem; line-height: 1.5; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 234, 218, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 62, 6, .16);
}
.kopf .innen { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); min-height: 64px; }
.marke {
  padding-block: 10px;
  margin-right: auto;
  font-family: var(--schrift-zier); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em;
  color: var(--bronze); text-decoration: none; white-space: nowrap;
}
.marke:hover { color: var(--bronze); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--tinte); text-decoration: none; font-size: 1.1rem; }
.nav a:hover { color: var(--bronze); text-decoration: underline; }

/* Knöpfe: wie kleine Messingschilder */
.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .5em 1.35em;
  border-radius: 5px;
  font-family: var(--schrift); font-weight: 600; font-size: 1.15rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: filter .15s, background-color .15s, transform .1s;
}
a, .knopf { -webkit-tap-highlight-color: rgba(122, 62, 6, .14); }
.knopf svg { width: 1.05em; height: 1.05em; flex: none; }
.knopf-gold {
  color: var(--tinte);
  background: linear-gradient(180deg, #f7da92 0%, #e3ae4b 48%, #c78c25 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(92, 52, 0, .35), 0 2px 6px rgba(90, 50, 10, .22);
}
.knopf-gold:hover { color: var(--tinte); filter: brightness(1.06); }
.knopf-rand { color: var(--bronze); border: 1.5px solid currentColor; background: rgba(251, 243, 232, .4); }
.knopf-rand:hover { color: var(--bronze); background: rgba(122, 62, 6, .08); }
.knopf-klein { min-height: 40px; padding: .35em 1em; font-size: 1.05rem; }
/* spürbarer Druck beim Antippen (steht nach :hover, damit es auf dem Handy greift) */
.knopf:active { filter: brightness(.94); transform: translateY(1px); }

/* Ornament wie auf dem Flyer */
.zier { display: block; width: 240px; max-width: 70%; height: 24px; margin: 0 auto; color: var(--gold); }

/* Aktionsband zur Neueröffnung als Goldband wie „Vom 15.12. bis 23.12.“ auf dem Flyer. NACH DEM 23.12. ENTFERNEN (samt <aside class="aktion">) */
.aktion {
  background: linear-gradient(180deg, #f8dc95 0%, #e9b956 55%, #d39a32 100%);
  color: var(--tinte);
  border-bottom: 1px solid #a96f1b;
}
.aktion p { margin-block: 0; padding: 8px 0 9px; text-align: center; font-size: 1.05rem; line-height: 1.3; text-wrap: balance; }
.aktion b { font-style: italic; font-weight: 700; color: #5b2b03; }

/* Bühne: dunkle Fläche wie die braunen Kästen auf dem Flyer. Darauf ein Schaufenster mit allen Fotos
   und die Leistungen als heller Aushang.
   Schmal: Name, Schaufenster, Aushang, Knöpfe, Kurzliste untereinander.
   Breit (ab 1000 px): links Name, Kurzliste, Knöpfe; rechts das Schaufenster; darunter der Aushang in zwei Spalten. */
.buehne {
  padding: clamp(16px, 3vw, 40px) 0 clamp(24px, 3.5vw, 44px);
  background: #2b1a10;
  color: rgba(247, 234, 218, .9);
  border-bottom: 1px solid rgba(240, 209, 142, .4);
}
.buehne-raster {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "schild" "vitrine" "aushang" "knoepfe" "kurz";
  row-gap: 14px;
  max-width: 600px;
}
.buehne-text { display: contents; }

/* Name: Messinggelb, ohne Verlauf und Schein, wie die Großbuchstaben auf dem Flyer */
.schild { grid-area: schild; justify-self: center; font-size: clamp(2.1rem, 10vw, 3.6rem); text-align: center; }
.schild h1 {
  position: relative; margin: 0; padding-top: .2em;
  font-family: var(--schrift-zier); font-weight: 700; font-size: 1em; line-height: 1.02;
  color: #f0d18e;
}
.schild h1::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 56%; height: 1px;
  transform: translateX(-50%); background: rgba(240, 209, 142, .55);
}
.schild-vorname, .schild-name { display: block; }
.schild-vorname { font-size: .56em; letter-spacing: .12em; padding-left: .12em; }
.schild-name { letter-spacing: .015em; }
.schild-zeile {
  display: flex; justify-content: space-between; align-items: center; gap: .5em;
  margin: .4em 0 0; padding-top: .55em;
  border-top: 1px solid rgba(240, 209, 142, .55);
  font-family: var(--schrift-zier); font-weight: 600; font-size: max(.72rem, .24em); letter-spacing: .16em;
  line-height: 1.2; color: var(--papier);
}
.kugel {
  display: inline-block; flex: none; width: .58em; height: .58em; margin-left: -.16em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff6d2 0 7%, #f2c766 22%, #c98a1c 55%, #7c5313 90%);
}

/* Schaufenster: alle Fotos dicht an dicht, jedes mit einem Schildchen.
   Kein Foto wird größer als seine Vorlage: Spalten und Zeilen sind danach bemessen (siehe README). */
.vitrine {
  grid-area: vitrine;
  display: grid; gap: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: clamp(80px, 23vw, 170px) clamp(62px, 18vw, 130px) clamp(62px, 18vw, 110px);
  grid-template-areas:
    "gk gk ch ca"
    "an si po be"
    "ge bs pe sc";
}
.vitrine figure { position: relative; margin: 0; overflow: hidden; background: #3a2416; }
.vitrine img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--fokus, 50% 50%);
}
.vitrine figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: 1px 7px 2px;
  background: var(--papier); color: var(--bronze);
  font-style: italic; font-weight: 600; font-size: .86rem; line-height: 1.25; white-space: nowrap;
}
.v-gk { grid-area: gk; } .v-ch { grid-area: ch; } .v-ca { grid-area: ca; }
.v-an { grid-area: an; } .v-si { grid-area: si; } .v-po { grid-area: po; } .v-be { grid-area: be; }
.v-ge { grid-area: ge; } .v-bs { grid-area: bs; } .v-pe { grid-area: pe; } .v-sc { grid-area: sc; }

/* Aushang: die Leistungen wie eine Preisliste im Schaufenster. Helles Papier mit doppelter Goldlinie (wie die Kontaktkarte),
   eine Zeile je Leistung: links die Leistung, Punktlinie, rechts die Angabe. */
.aushang {
  grid-area: aushang; position: relative;
  padding: clamp(16px, 2.4vw, 26px) clamp(16px, 3vw, 34px) clamp(14px, 2vw, 22px);
  background: var(--papier-hell); color: var(--tinte);
}
.aushang::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid rgba(185, 122, 19, .7);
  box-shadow: inset 0 0 0 3px var(--papier-hell), inset 0 0 0 4px rgba(185, 122, 19, .4);
}
.aushang-titel {
  margin: 0 0 .4em; text-align: center;
  font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.15;
  color: var(--bronze);
}
.leistungen { list-style: none; margin: 0; padding: 0; display: grid; row-gap: clamp(6px, 1vw, 10px); }
.leistungen li { display: flex; flex-wrap: wrap; align-items: baseline; line-height: 1.3; font-size: clamp(1.05rem, 1.45vw, 1.2rem); }
.leistungen b { font-style: italic; font-weight: 600; color: var(--bronze); }
.leistungen i { flex: 1 1 1.2em; min-width: 1.2em; margin: 0 .45em; border-bottom: 2px dotted rgba(122, 62, 6, .45); transform: translateY(-.25em); }
.leistungen li > span { font-weight: 600; text-align: right; }
.leistungen small { flex-basis: 100%; font-size: .82em; font-style: italic; line-height: 1.3; color: var(--tinte-weich); }
.leistung-angebot span { padding: 0 .4em; background: #e8b54e; color: #3b1c02; }

.kurzliste { grid-area: kurz; margin: 0; font-size: 1rem; line-height: 1.45; color: rgba(247, 234, 218, .78); }
.kurzliste b { font-style: italic; font-weight: 600; color: #f0d18e; }

.buehne .knoepfe { grid-area: knoepfe; justify-content: flex-start; }
.buehne .knopf-rand { color: #f0d18e; background: transparent; }
.buehne .knopf-rand:hover { color: #f0d18e; background: rgba(240, 209, 142, .1); }
.buehne :focus-visible { outline-color: #f0d18e; }

/* nur für Screenreader (Gliederung) */
.unsichtbar {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Ankauf: die ganze Liste, die Fotos stehen oben im Schaufenster */
.ankauf {
  padding: var(--abstand) 0;
  background: linear-gradient(180deg, rgba(239, 220, 194, .7) 0%, rgba(239, 220, 194, 0) 100%);
}
.ankauf-raster { max-width: 900px; text-align: center; }
.ankauf h2, .kontakt h2 {
  margin: 0 0 .45em;
  font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.005em;
  color: var(--bronze);
}
.ankauf-intro { max-width: 40ch; margin: 0 auto 1.5em; font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.4; color: var(--tinte-weich); text-wrap: balance; }
.ankauf .liste {
  display: block; columns: 2; column-gap: clamp(18px, 3vw, 34px);
  max-width: 560px; margin: 0 auto; text-align: left; font-size: clamp(1.05rem, 1.4vw, 1.18rem);
}
.ankauf .liste li { break-inside: avoid; margin-bottom: .5em; }
.ankauf-schluss { margin: 1em 0 0; font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--bronze); }

.liste {
  list-style: none; margin: 0; padding: 0;
  font-style: italic; font-weight: 600; line-height: 1.3;
}
.liste li { position: relative; padding-left: 1.25em; text-wrap: pretty; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .36em;
  width: .6em; height: .6em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff6d2 0 7%, #f2c766 22%, #c98a1c 55%, #7c5313 90%);
  box-shadow: 0 1px 1px rgba(60, 35, 5, .35);
}
.liste .und { font-style: normal; font-weight: 500; }
.liste small { font-size: .74em; font-weight: 500; color: var(--tinte-weich); }

/* Kontakt: dunkle Fläche, darauf die Karte */
.kontakt {
  padding: var(--abstand) 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, #432817 0%, var(--espresso) 75%);
  color: var(--papier);
}
.kontakt h2 { text-align: center; color: var(--gold-hell); }
.kontakt-intro { max-width: 44ch; margin: -.15em auto 1.7em; text-align: center; color: rgba(247, 234, 218, .82); text-wrap: balance; }
.karte {
  position: relative; max-width: 880px; margin: 0 auto;
  padding: clamp(36px, 5.5vw, 60px) clamp(26px, 5.5vw, 64px);
  background: var(--papier-hell); color: var(--tinte); border-radius: 10px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
  font-variant-numeric: lining-nums;
}
/* doppelte Goldlinie wie auf einer alten Geschäftskarte */
.karte::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(185, 122, 19, .75); border-radius: 6px;
  box-shadow: inset 0 0 0 4px var(--papier-hell), inset 0 0 0 5px rgba(185, 122, 19, .45);
}
.karte-marke {
  margin: 0 0 1.3em; text-align: center;
  font-family: var(--schrift-zier); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: .1em;
  color: var(--bronze);
}
.karte-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px clamp(28px, 5vw, 56px); margin-bottom: 2em; }
.angaben { display: grid; grid-template-columns: auto 1fr; gap: .55em 1.1em; margin: 0; align-content: start; }
.angaben dt, .zeiten dt { font-style: italic; color: var(--tinte-weich); }
.angaben dd, .zeiten dd { margin: 0; overflow-wrap: anywhere; }
.angaben a { color: var(--tinte); text-decoration: none; }
.angaben a:hover { color: var(--bronze); text-decoration: underline; }
.zeiten h3 { margin: 0 0 .45em; font-weight: 600; font-size: 1.3rem; color: var(--bronze); }
.zeiten dl { display: grid; grid-template-columns: auto 1fr; gap: .55em 1.1em; margin: 0; }
.hausbesuch { display: flex; align-items: center; gap: .5em; margin: 1.1em 0 0; font-style: italic; color: var(--bronze); }
.hausbesuch svg { flex: none; width: 1.3em; height: 1.3em; }

/* Fuß */
.fuss {
  padding: 38px 0 46px; text-align: center;
  background: var(--espresso); color: rgba(247, 234, 218, .72);
  border-top: 1px solid rgba(242, 199, 102, .22);
  font-size: 1.02rem;
}
.fuss p { margin: 0; }
.fuss-marke { font-family: var(--schrift-zier); font-weight: 700; letter-spacing: .1em; color: var(--gold-hell); margin-bottom: .7em !important; }
.fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.7em; margin-bottom: .8em; }
.fuss-links a { color: var(--papier); text-decoration-color: rgba(242, 199, 102, .55); }
.fuss-links a:hover { color: var(--gold-hell); }
.fuss :focus-visible, .kontakt h2:focus-visible { outline-color: var(--gold-hell); }

/* Rechtstexte */
.recht { padding: clamp(44px, 6vw, 80px) 0 var(--abstand); }
.recht .innen { max-width: 760px; }
.recht h1 { margin: 0 0 .6em; font-weight: 600; font-size: clamp(2.2rem, 4.2vw, 3rem); line-height: 1.1; color: var(--bronze); }
.recht h2 { margin: 1.9em 0 .5em; font-weight: 600; font-size: 1.45rem; line-height: 1.25; color: var(--bronze); }
.recht h3 { margin: 1.4em 0 .3em; font-weight: 600; font-size: 1.2rem; }
.recht p, .recht ul, .recht ol { margin: 0 0 1em; hyphens: auto; -webkit-hyphens: auto; }
.recht ul, .recht ol { padding-left: 1.3em; }
.recht li { margin-bottom: .3em; }
.recht .stand { margin-top: 2.4em; color: var(--tinte-weich); font-style: italic; }
.zurueck { display: inline-block; margin-top: 2.2em; }

/* Bildschirmbreiten */
@media (min-width: 700px) {
  .ankauf .liste { columns: 3; max-width: 860px; }
}
/* breite Schirme: links Name, Kurzliste und Knöpfe, rechts das Schaufenster (6 Spalten), darunter der Aushang.
   Schaufenster höchstens 700 px breit: so bleiben alle Fotos höchstens so groß wie ihre Vorlage. */
@media (min-width: 1000px) {
  .buehne-raster {
    width: min(calc(100% - 2 * var(--rand)), 1240px); max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "text vitrine" "aushang aushang";
    column-gap: clamp(36px, 4.5vw, 64px); row-gap: 26px; align-items: center;
  }
  .buehne-text { grid-area: text; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .schild { font-size: clamp(2.3rem, calc(4.2vw + 4px), 4rem); }
  .vitrine {
    width: 100%; max-width: 700px; justify-self: end;
    grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 160px 110px 110px;
    grid-template-areas:
      "gk gk gk ch ch ca"
      "an an si si be bs"
      "po po ge ge pe sc";
  }
  /* Leistungen in zwei Spalten zu je drei Zeilen */
  .leistungen { grid-auto-flow: column; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); column-gap: clamp(36px, 5vw, 72px); }
}
@media (max-width: 700px) {
  .nav { display: none; }
  .karte-raster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .aktion p { padding: 8px 0 9px; font-size: .95rem; }
  .schild-zeile { letter-spacing: .1em; }
  .knoepfe { flex-direction: column; align-items: stretch; }
  /* in der Bühne zwei Knöpfe nebeneinander, damit alles in den ersten Bildschirm passt */
  .buehne .knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .buehne .knopf { padding-inline: .6em; }
  .kopf .innen { min-height: 58px; gap: 12px; }
  .kopf .knopf-klein { padding: .35em .9em; }
  .marke { font-size: .95rem; letter-spacing: .05em; }
  .vitrine { gap: 4px; }
  .vitrine figcaption { padding: 0 4px 1px; font-size: .7rem; }
  /* zwei schmale Spalten: Trennung bei langen Wörtern, Klammerzusätze in eigener Zeile */
  .nur-breit { display: none; }
  .leistungen li { font-size: clamp(.95rem, 4.3vw, 1.05rem); }
  .aushang { padding-inline: 14px; }
  .ankauf .liste { column-gap: 14px; hyphens: auto; -webkit-hyphens: auto; }
  .ankauf .liste li { padding-left: 1.05em; }
  .ankauf .liste small { display: block; }
}
/* Touch-Geräte (Handy und Tablet): Tippflächen mindestens 44 px hoch, ohne das Layout zu verschieben */
@media (pointer: coarse) {
  .nav a { padding-block: 8px; }
  .kopf .knopf-klein { min-height: 44px; }
  .angaben a { padding-block: .4em; }
  .fuss-links { gap: 0 1.1em; }
  .fuss-links a { display: inline-block; padding: .6em .25em; }
  .zurueck { padding-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}
