.fuehrung-start,
.fuehrung-dialog button {
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  max-width: 100%;
  padding: 0.5rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.fuehrung-start[hidden] {
  display: none;
}
.fuehrung-start {
  font-size: 0.85rem;
  justify-self: start;
}
.fuehrung-dialog {
  --fuehrung-papier: #faf7f0;
  --fuehrung-text: #26201a;
  --fuehrung-akzent: #705035;
  box-sizing: border-box;
  position: fixed;
  inset: auto 12px max(12px, env(safe-area-inset-bottom));
  margin: 0 auto;
  width: min(36rem, calc(100% - 24px));
  max-height: min(60dvh, calc(100dvh - 24px));
  overflow: hidden;
  padding: 12px 16px;
  border: 2px solid var(--fuehrung-akzent);
  border-radius: 0;
  color: var(--fuehrung-text);
  background: var(--fuehrung-papier);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
}
.fuehrung-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.fuehrung-dialog button {
  padding: 6px 10px;
  overflow-wrap: anywhere;
}
.fuehrung-inhalt {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.fuehrung-dialog::backdrop {
  background: #18120b21;
}
.fuehrung-dialog .fuehrung-kopf,
.fuehrung-dialog .fuehrung-aktionen {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fuehrung-dialog .fuehrung-kopf {
  font-size: 0.8rem;
}
.fuehrung-dialog .fuehrung-kopf button {
  border: 0;
  padding-inline: 0;
}
.fuehrung-dialog h2 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}
.fuehrung-dialog p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: inherit;
}
.fuehrung-dialog [data-fuehrung-weiter] {
  background: var(--fuehrung-akzent);
  color: #fff;
  border-color: var(--fuehrung-akzent);
}
/* Produktweite Hover-Stile dürfen die helle/dunkle Hauptaktion nicht umfärben. */
.fuehrung-dialog button[data-fuehrung-weiter]:hover:not(:disabled) {
  background: var(--fuehrung-akzent);
}
.fuehrung-dialog button:disabled {
  opacity: 0.45;
  cursor: default;
}
.fuehrung-dialog button:focus-visible,
.fuehrung-start:focus-visible {
  outline: 3px solid #a57744;
  outline-offset: 3px;
}
.fuehrung-dialog h2:focus {
  outline: none;
}
.fuehrung-ziel {
  outline: 3px solid #a57744 !important;
  outline-offset: 6px;
}
html[data-theme="dark"] .fuehrung-dialog {
  --fuehrung-papier: #24201b;
  --fuehrung-text: #f2ece2;
  --fuehrung-akzent: #dac5ab;
}
html[data-theme="dark"] .fuehrung-dialog [data-fuehrung-weiter] {
  color: #24201b;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .fuehrung-dialog {
    --fuehrung-papier: #24201b;
    --fuehrung-text: #f2ece2;
    --fuehrung-akzent: #dac5ab;
  }
  html:not([data-theme="light"]) .fuehrung-dialog [data-fuehrung-weiter] {
    color: #24201b;
  }
}
@media (max-height: 450px) {
  .fuehrung-dialog {
    max-height: 55dvh;
    padding-block: 8px;
  }
}

[data-fuehrung-bild].fuehrung-ziel {
  height: min(22rem, calc(100dvh - var(--fuehrung-hoehe, 240px) - 48px));
  min-height: 0;
}
[data-fuehrung-bild].fuehrung-ziel img {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
