/* myBoldis – Übergangsseite. Keine externen Quellen, Schriften liegen in /fonts. */
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --tinte: #23295e;      /* Navy aus dem Logo */
  --beere: #8b1e4b;      /* Lederfarbe Beere */
  --senf: #efbf3a;       /* Lederfarbe Senf */
  --apfel: #9cbc3c;      /* Lederfarbe Apfelgrün */
  --papier: #ffffff;
  --sand: #f3eee8;       /* helle Lederrückseite */
  --text: #2b2d3a;
  --leise: #5d6070;
  --mass: 40rem;
  --breit: 68rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  overflow-wrap: break-word;
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 1.0625rem/1.6 "Figtree", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--beere); text-underline-offset: .18em; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: "Young Serif", Georgia, serif; font-weight: 400; overflow-wrap: break-word; color: var(--tinte); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.huelle { width: min(100% - 2rem, var(--breit)); margin-inline: auto; }
.schmal { max-width: var(--mass); }

/* Kopf */
.kopf { padding: 1rem 0; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.kopf img { width: 170px; }
.kopf nav { display: flex; gap: 1.25rem; font-size: .95rem; }
.kopf nav a { white-space: nowrap; }
.kopf nav a { color: var(--tinte); text-decoration: none; }
.kopf nav a:hover { text-decoration: underline; }

/* Bühne: großes Foto, Text auf einer Lederfarben-Tafel (schräg geteilt wie die Produktfotos) */
.buehne { position: relative; background: var(--beere); color: #fff; }
.buehne-text { position: relative; padding: 2.25rem 1rem 2.5rem; background: var(--beere); }
.buehne h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.buehne .einleitung { font-size: 1.1rem; margin: 0; max-width: 34rem; }
.buehne-bild { margin: 0; }
.buehne-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% center; }
@media (min-width: 40rem) {
  .buehne-text { padding: 3rem max(1rem, calc((100% - var(--breit)) / 2)) 3rem; }
  .buehne-bild img { aspect-ratio: 16 / 9; object-position: 70% center; }
}
@media (min-width: 72rem) {
  /* ganzes Foto zeigen, Tafel nur über der Lederwand links */
  .buehne-bild img { aspect-ratio: 1280 / 500; height: auto; }
  .buehne-text {
    position: absolute; z-index: 1;
    left: clamp(1rem, 4vw, calc((100% - var(--breit)) / 2));
    top: 50%; transform: translateY(-50%);
    width: min(32rem, 40%);
    padding: 2.25rem;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(60, 10, 30, .28);
  }
  .buehne h1 { font-size: clamp(2rem, 1rem + 1.6vw, 2.6rem); }
  .buehne .einleitung { font-size: 1.05rem; }
}

/* Naht: gestrichelte Linie wie eine Steppnaht */
.naht {
  background: var(--sand);
  border-radius: 18px;
  outline: 2px dashed rgba(35, 41, 94, .5);
  outline-offset: -10px;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2rem);
}
.naht h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin: 0; }
.hinweis { margin-top: -1px; padding: 3rem 0 1rem; }


section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.sand { background: var(--sand); }

/* Ablauf: echte Reihenfolge */
.schritte { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); counter-reset: s; }
.schritte li { counter-increment: s; position: relative; padding-left: 3.2rem; }
.schritte li::before {
  content: counter(s);
  position: absolute; left: 0; top: .05rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--beere); color: #fff;
  font: 1.05rem/2.2rem "Young Serif", Georgia, serif; text-align: center;
}
.schritte strong { display: block; color: var(--tinte); margin-bottom: .2rem; }
.schritte li { line-height: 1.55; }

/* Produkte: jede Gruppe als eigene Karte, überall gleicher Aufbau */
.gruppen { display: grid; gap: 1.5rem; margin-top: 2rem; }
.gruppe {
  display: grid; gap: 1.25rem 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center;
  background: var(--sand); border-radius: 20px; padding: clamp(1rem, 3vw, 2rem);
}
.gruppe-bild img { border-radius: 12px; aspect-ratio: 800 / 472; object-fit: cover; object-position: center 40%; width: 100%; }
.gruppe-text h3 { font-size: 1.6rem; }
.gruppe-text p { color: var(--leise); margin-bottom: 0; }
.galerie { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.galerie a { display: block; border-radius: 10px; overflow: hidden; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.galerie a:hover img { transform: scale(1.04); }
@media (min-width: 40rem) {
  .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
  .galerie.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.galerie.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 52rem) {
  .gruppe { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .galerie { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .galerie img { transition: none; } }

/* Über Kerstin */
.kerstin { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.kerstin img { border-radius: 50% 50% 14px 14px; max-width: min(20rem, 100%); }
@media (min-width: 48rem) { .kerstin { grid-template-columns: 18rem minmax(0, 1fr); gap: 3rem; } }

/* Besuch */
#besuch .huelle > h2 { margin-bottom: 2rem; }
.besuch { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.zeiten { border-collapse: collapse; width: 100%; }
.zeiten th, .zeiten td { text-align: left; padding: .45rem 0; vertical-align: top; border-bottom: 1px dashed #c9c2b8; }
.zeiten th { font-weight: 700; padding-right: 1rem; color: var(--tinte); white-space: nowrap; }
address { font-style: normal; }
.knopf {
  display: inline-block; background: var(--tinte); color: #fff; text-decoration: none;
  padding: .7rem 1.2rem; border-radius: 999px; font-weight: 700; margin: .25rem .5rem .25rem 0;
}
.knopf:hover { background: var(--beere); color: #fff; }
.knopf.hell { background: transparent; color: var(--tinte); border: 2px solid var(--tinte); }
.knopf.hell:hover { background: var(--tinte); color: #fff; }

/* EU-Hinweis */
.gewaehr h2 { font-family: "Figtree", system-ui, sans-serif; font-size: 1.25rem; font-weight: 400; letter-spacing: .02em; margin-bottom: 1rem; }
.gewaehr-kopf { display: block; max-width: 20rem; }
.gewaehr-kopf img { display: block; width: 100%; height: auto; }
.gewaehr p { margin: .9rem 0 0; }

/* Fuß */
.fuss { background: var(--tinte); color: #dfe1f0; padding: 2.5rem 0; font-size: .95rem; }
.fuss a { color: #fff; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.fuss nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Rechtstexte */
.recht { padding: 2.5rem 0 4rem; }
.recht h1 { font-size: clamp(1.9rem, 1.5rem + 2vw, 2.6rem); }
.recht h2 { font-size: 1.4rem; margin-top: 2rem; }
.recht ul { padding-left: 1.2rem; }
.stand { color: var(--leise); font-size: .9rem; }

@media (max-width: 30rem) {
  .kopf img { width: 140px; }
  .kopf .huelle { gap: .5rem; }
  .kopf nav { width: 100%; justify-content: space-between; font-size: 1rem; }
}
@media print {
    .buehne, .buehne-text { background: none; color: var(--text); position: static; transform: none; box-shadow: none; }
  .buehne h1 { color: var(--tinte); }
  .kopf nav, .knopf, .nach-oben { display: none; }
}
.nobr { white-space: nowrap; }

/* Bildvorschau (lupe.js) */
.galerie a { cursor: zoom-in; }
.lupe {
  border: 0; padding: 0; background: transparent; color: #fff;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lupe::backdrop { background: rgba(20, 22, 40, .88); }
.lupe[open] { display: flex; align-items: center; justify-content: center; }
.lupe figure { margin: 0; padding: 3.5rem 1rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; max-width: 100%; max-height: 100%; }
.lupe img { max-width: min(92vw, 1100px); max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 12px; background: #fff; }
.lupe figcaption { font-size: .95rem; text-align: center; max-width: 40rem; color: #e8e9f3; }
.lupe-knopf {
  position: fixed; border: 0; cursor: pointer;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--tinte);
  font: 2rem/1 "Young Serif", Georgia, serif;
  display: grid; place-items: center;
}
.lupe-knopf:hover { background: var(--senf); }
.lupe-knopf[hidden] { display: none; }
.lupe-zu { top: 1rem; right: 1rem; }
.lupe-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lupe-vor { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) {
  .lupe-zurueck, .lupe-vor { top: auto; bottom: 1rem; transform: none; }
}

/* Was Boldis anders machen */
.kerstin h3 { margin-top: 1.75rem; }
.merkmale { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.merkmale li { position: relative; padding-left: 1.6rem; }
.merkmale li::before {
  content: ""; position: absolute; left: .1rem; top: calc(.8em - .3rem);
  width: .6rem; height: .6rem; border-radius: 50%;
  background: var(--beere);
}
.merkmale strong { color: var(--tinte); }

/* Nach-oben-Knopf (erscheint nach dem Scrollen, lupe.js) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.nach-oben {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--tinte); color: #fff;
  box-shadow: 0 4px 14px rgba(20, 22, 40, .25);
  opacity: 0; visibility: hidden; transform: translateY(.5rem);
  transition: opacity .2s, transform .2s, visibility .2s, background .2s;
}
.nach-oben.sichtbar { opacity: 1; visibility: visible; transform: none; }
.nach-oben:hover, .nach-oben:focus-visible { background: var(--beere); }
