/* Beispielseiten: was alle drei erfundenen Betriebe teilen. Das Aussehen steht in der Datei des jeweiligen Betriebs. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-kerning: normal; }
h1, h2, h3, p, ul, ol, figure, address, fieldset { margin: 0; padding: 0; border: 0; font-style: normal; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
th { font-weight: inherit; text-align: left; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Der Hinweis, dass der Betrieb erfunden ist, steht auf jeder Seite ganz oben */
.demo-leiste { background: #17171a; color: #fff; padding: 0.45rem var(--rand); font: 400 0.875rem/1.35 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.demo-leiste a { color: #fff; text-underline-offset: 2px; }

.sprung { position: absolute; left: -999px; top: 0; z-index: 10; padding: 0.75rem 1rem; background: #fff; color: #111; }
.sprung:focus { left: 0; }

/* Kopf: Marke, Links, eine Aktion. Unter 60rem klappt das Menü ohne Skript über details auf. */
.kopf { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem var(--rand); }
.marke { text-decoration: none; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { display: inline-block; padding: 0.5rem 0; text-decoration: none; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.kopf .kopf-knopf { display: none; }
.menue:not([open]) nav { display: none; }
.menue summary { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0.25rem; cursor: pointer; list-style: none; font-weight: 500; }
.menue summary::-webkit-details-marker { display: none; }
.menue nav { position: absolute; left: 0; right: 0; top: 100%; padding: 0.5rem var(--rand) 1.25rem; background: var(--menue-grund); color: var(--menue-tinte); box-shadow: 0 1rem 2rem rgb(0 0 0 / 0.25); }  /* taste-skill-ignore: aufgeklapptes Menü schwebt über der Seite */
.menue nav a { display: flex; align-items: center; min-height: 3rem; text-decoration: none; font-size: 1.25rem; }
.menue nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
@media (min-width: 60rem) {
  .nav { display: block; }
  .kopf .kopf-knopf { display: inline-flex; }
  .menue { display: none; }
}

.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.5rem 1.4rem; border: 0; cursor: pointer; font-weight: 500; text-decoration: none; transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, color 160ms ease; }
.knopf:active { transform: scale(0.97); }

/* Formulare */
.feld { display: grid; gap: 0.35rem; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 3rem; padding: 0.6rem 0.75rem; border: 2px solid currentColor; border-radius: 0; background: transparent; }
.feld textarea { min-height: 8rem; resize: vertical; }
input[type="range"] { width: 100%; min-height: 2.75rem; cursor: pointer; }
.formular-status { min-height: 1.5em; font-weight: 500; }

/* Bewegung: nur was gleich von unten hereinkommt; das Skript setzt die Klasse, ohne Skript bleibt alles stehen */
.kommt { opacity: 0; transform: translateY(1.5rem); }
.kommt.ist-da { opacity: 1; transform: none; transition: opacity 520ms ease-out calc(var(--i, 0) * 80ms), transform 620ms cubic-bezier(0.23, 1, 0.32, 1) calc(var(--i, 0) * 80ms); }
