/* Eigene dunkle Version, damit Handy-Browser die Seite nicht selbst umfärben */
:root { color-scheme: light dark; }
/* Variante C: Fleischerpapier. Weißes Einschlagpapier, roter Stempeldruck. */
:root {
  --papier: #FFFFFF;
  --papier-schatten: #F1EEEA;
  --stempel: #B3122B;
  --stempel-tief: #8A0D20;
  --stempel-hauch: #F6DADD;
  --tinte: #1C1A19;
  --tinte-weich: #57514D;
  --stempel-schrift: "Anton", "Arial Narrow", sans-serif;
  --text: "Atkinson Hyperlegible Next", Verdana, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --max: 72rem;
  --rand: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--kopf-hoehe, 6rem) + 0.75rem); scrollbar-color: var(--stempel) var(--papier-schatten); }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--text); font-size: 1.1875rem; line-height: 1.55; }
::selection { background: var(--stempel); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--stempel); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.breite { max-width: var(--max); margin-inline: auto; padding-inline: var(--rand); }

.entwurf { background: var(--tinte); color: #fff; font-size: 0.9375rem; text-align: center; padding: 0.5rem var(--rand); }
.entwurf a { color: #fff; font-weight: 700; }
.platzhalter { outline: 2px dashed var(--tinte-weich); padding: 0.75rem 0.9rem; position: relative; }
.platzhalter::after { content: "Platzhalter"; position: absolute; top: -0.8rem; right: 0.5rem; background: var(--tinte); color: #fff; font-family: var(--text); font-size: 0.75rem; padding: 0 0.4rem; border-radius: 2px; }

/* Stempelschrift */
.stempel-titel {
  font-family: var(--stempel-schrift);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--stempel);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
}

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: var(--papier); border-bottom: 3px solid var(--stempel); }
.kopf-innen { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.7rem; }
.marke { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.marke-logo { height: 3.6rem; width: auto; flex: none; }
.marke-name { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: 1.7rem; color: var(--stempel); line-height: 1; }
.marke-zusatz { display: block; font-size: 0.875rem; color: var(--tinte-weich); line-height: 1.25; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { color: var(--stempel); }
.kopf-tel { font-family: var(--stempel-schrift); font-size: 1.3rem; letter-spacing: 0.02em; text-decoration: none; color: #fff; background: var(--stempel); padding: 0.45rem 0.9rem; border-radius: 3px; white-space: nowrap; }
.kopf-tel:hover { background: var(--stempel-tief); }

/* Papier mit Rapportdruck */
.rapport { position: relative; overflow: hidden; background: var(--papier); }
.rapport > svg.druck { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rapport > svg.druck text { font-family: var(--stempel-schrift); font-size: 30px; fill: var(--stempel); opacity: 0.09; letter-spacing: 2px; }

/* Heute: das Waagen-Etikett */
.heute { position: relative; padding-block: clamp(3rem, 8vw, 6.5rem); }
.heute-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.etikett {
  background: var(--papier);
  border: 2px solid var(--tinte);
  border-radius: 6px;
  box-shadow: 0 18px 40px -22px rgb(28 26 25 / 0.45), 0 2px 6px -2px rgb(28 26 25 / 0.2);
  transform: rotate(-1.4deg);
  overflow: hidden;
}
.etikett-kopf { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 1.2rem; background: var(--tinte); color: #fff; font-size: 0.875rem; font-weight: 700; }
.heute-gericht { padding: 1.4rem 1.6rem 1.6rem; }
.feld { display: block; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tinte-weich); }
.heute-datum { font-weight: 700; font-size: 1.125rem; margin: 0.2rem 0 1rem; }
.heute-titel { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: clamp(2.3rem, 4.6vw, 4.25rem); line-height: 0.95; color: var(--tinte); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.heute-beilage { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 0.8rem; max-width: 34ch; }
.heute-folge { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px dashed var(--tinte-weich); }
.heute-folge strong { font-family: var(--stempel-schrift); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; }
.ist-geschlossen .heute-titel { color: var(--stempel); }
.etikett-fuss { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 0.8rem 1.6rem 1rem; border-top: 2px solid var(--tinte); }
.etikett-fuss p { font-size: 0.9375rem; }
.strichcode { width: 7.5rem; height: 2.4rem; flex: none; }

.bestellen { display: grid; gap: 1rem; justify-items: start; }
.handnotiz { font-family: var(--hand); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; color: var(--tinte); transform: rotate(-2deg); }
.stempel-tel {
  display: inline-grid;
  gap: 0.1rem;
  padding: 1rem 1.4rem 1.1rem;
  color: var(--stempel);
  text-decoration: none;
  border: 4px solid var(--stempel);
  border-radius: 10px;
  box-shadow: inset 0 0 0 3px var(--papier), inset 0 0 0 5px var(--stempel);
  transform: rotate(2.5deg);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  background: var(--papier);
}
.stempel-tel:hover { background: var(--stempel); color: #fff; box-shadow: inset 0 0 0 3px var(--stempel), inset 0 0 0 5px #fff; transform: rotate(0deg) scale(1.02); }
.stempel-tel span:first-child { font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.stempel-tel span:last-child { font-family: var(--stempel-schrift); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.bestellen .klein { font-size: 1rem; color: var(--tinte-weich); }
.beispiel-hinweis { margin-top: 2rem; font-size: 0.9375rem; color: var(--tinte-weich); }

section { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* Woche: der Kassazettel */
.woche-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.woche-raster .stempel-titel { margin-bottom: 1rem; }
.bon {
  background: var(--papier);
  padding: 1.6rem 1.6rem 2.2rem;
  box-shadow: 0 14px 30px -20px rgb(28 26 25 / 0.5);
  border: 1px solid var(--papier-schatten);
  -webkit-mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) 0 0 / 20px 100% repeat-x;
          mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) 0 0 / 20px 100% repeat-x;
}
.bon-kopf { text-align: center; font-weight: 700; padding-bottom: 0.8rem; margin-bottom: 0.4rem; border-bottom: 2px dashed var(--tinte); }
.woche { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.woche-tag { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; gap: 0.2rem 1rem; padding: 0.75rem 0; border-bottom: 1px dashed color-mix(in srgb, var(--tinte) 40%, transparent); align-items: baseline; }
.woche-datum { font-weight: 700; }
.woche-gericht { font-weight: 700; }
.woche-gericht small { display: block; font-weight: 400; color: var(--tinte-weich); font-size: 0.9375rem; }
.woche-marke { font-family: var(--hand); color: var(--stempel); font-size: 1.3rem; transform: rotate(-4deg); }
.woche-tag.vorbei { color: var(--tinte-weich); }
.woche-tag.vorbei .woche-gericht { text-decoration: line-through; text-decoration-color: var(--stempel); text-decoration-thickness: 2px; }
.woche-tag.zu .woche-gericht { color: var(--stempel); }
.woche-tag.heute { background: var(--stempel-hauch); margin-inline: -0.6rem; padding-inline: 0.6rem; }
.woche-fuss { margin-top: 1rem; text-align: center; font-weight: 700; }

/* Strohschwein: das Papier umgedreht, voller Druck */
.rot { background: var(--stempel); color: #fff; }
.rot .stempel-titel { color: #fff; }
.stroh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stroh-lead { font-size: 1.3rem; margin: 1.2rem 0 1.6rem; max-width: 40ch; }
.stroh-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgb(255 255 255 / 0.6); }
.stroh-liste li { padding: 0.8rem 0; border-bottom: 2px solid rgb(255 255 255 / 0.6); }
.stroh-liste strong { font-family: var(--stempel-schrift); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.02em; display: block; }
.foto { margin: 0; background: #fff; padding: 0.7rem 0.7rem 0.9rem; box-shadow: 0 18px 36px -18px rgb(0 0 0 / 0.55); transform: rotate(1.5deg); }
.foto figcaption { font-family: var(--hand); color: var(--tinte); font-size: 1.15rem; margin-top: 0.5rem; }

/* Partyservice: handgeschriebene Liste */
.party { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.party-lead { font-size: 1.25rem; margin: 1.2rem 0 1.4rem; max-width: 42ch; }
.party-liste { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.party-hinweis { margin-bottom: 2rem; font-weight: 700; max-width: 42ch; }
.zeiten dd { text-align: right; white-space: nowrap; }
.party-liste li { font-family: var(--hand); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.3; padding: 0.2rem 0; border-bottom: 2px solid var(--stempel-hauch); }
.knopf { display: inline-block; background: var(--stempel); color: #fff; font-weight: 700; text-decoration: none; padding: 0.95rem 1.4rem; border-radius: 4px; }
.knopf:hover { background: var(--stempel-tief); }
.party-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.party-fotos .foto:last-child { transform: rotate(-2deg) translateY(2.5rem); }
.party-fotos img { aspect-ratio: 1; object-fit: cover; }

/* Familie: Gummistempel */
.jahre { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.jahr { display: grid; gap: 1rem; justify-items: start; }
.jahr-stempel {
  display: grid;
  place-items: center;
  width: 9.5rem;
  aspect-ratio: 1;
  border: 4px solid var(--stempel);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--papier), inset 0 0 0 6px var(--stempel);
  color: var(--stempel);
  font-family: var(--stempel-schrift);
  font-size: 2.6rem;
  transform: rotate(calc(-8deg + var(--i) * 5deg));
}
.jahr p { max-width: 30ch; font-size: 1.0625rem; }
.bewegung .jahr-stempel { opacity: 0; transform: rotate(calc(-8deg + var(--i) * 5deg)) scale(1.35); transition: opacity 0.35s ease-out, transform 0.45s var(--ease); transition-delay: calc(var(--i) * 180ms); }
.bewegung .jahre.abgelagert .jahr-stempel { opacity: 1; transform: rotate(calc(-8deg + var(--i) * 5deg)) scale(1); }
.familie-foto { max-width: 44rem; margin-top: 3.5rem; }

/* Kontakt */
.besuch { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
address { font-style: normal; font-size: 1.3rem; margin: 1.2rem 0 1.4rem; }
.kontakt { margin: 0 0 1.6rem; display: grid; gap: 0.5rem; }
.kontakt div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; }
.kontakt dt { font-weight: 700; }
.kontakt dd { margin: 0; overflow-wrap: anywhere; }
.zeiten h3 { font-family: var(--stempel-schrift); text-transform: uppercase; color: var(--stempel); font-size: 1.8rem; margin-bottom: 0.8rem; }
.zeiten dl { margin: 0; }
.zeiten dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--tinte-weich); }
.zeiten dd { margin: 0; font-weight: 700; }

.fuss { background: var(--stempel); color: #fff; padding-block: 2.4rem 2.8rem; }
.fuss-innen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; }
.fuss-marke { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: 1.8rem; }
.fuss nav { margin-left: auto; display: flex; gap: 1.2rem; }


/* Variante D: klassischer Willkommens-Start */
.willkommen { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); background: var(--papier); }
.willkommen-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.willkommen-titel { font-size: clamp(3rem, 7vw, 6rem); }
.willkommen-lead { font-size: clamp(1.2rem, 1.8vw, 1.35rem); margin-top: 1.4rem; max-width: 40ch; }
.willkommen-knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.knopf-rand { background: transparent; color: var(--stempel); box-shadow: inset 0 0 0 2px var(--stempel); }
.knopf-rand:hover { background: var(--stempel-hauch); }
.willkommen-adresse { margin-top: 1.6rem; font-size: 1rem; color: var(--tinte-weich); }
.willkommen-foto { transform: rotate(1.8deg); }
.willkommen-foto img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.willkommen-foto figcaption { font-size: 1.3rem; }
.band { background: var(--stempel); color: #fff; }
.band-liste { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.6rem; padding-block: 1rem; }
.band-liste li { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: 0.03em; }
.heute-kopf { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 960px) {
  .willkommen-raster { grid-template-columns: 1fr; }
  .band-liste { justify-content: flex-start; }
}

/* Platzhalter-Foto und Mittagstisch in einem Teil */
.foto-platzhalter { aspect-ratio: 4 / 3; display: grid; place-content: center; justify-items: center; gap: 0.5rem; padding: 1.5rem; text-align: center; background: var(--papier-schatten); outline: 2px dashed var(--tinte-weich); outline-offset: -10px; color: var(--tinte-weich); }
.foto-platzhalter svg { width: 3.2rem; height: 3.2rem; }
.foto-platzhalter strong { font-family: var(--stempel-schrift); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--tinte); letter-spacing: 0.02em; }
.foto-platzhalter span { font-size: 1rem; max-width: 26ch; }
.mittag-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.mittag-kopf .handnotiz { margin-right: auto; }
.mittag-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.mittag-raster .bon { margin-top: 0.6rem; }
@media (max-width: 960px) { .mittag-raster { grid-template-columns: 1fr; } .mittag-kopf .handnotiz { margin-right: 0; } }


.handy-anruf { display: none; }

/* Urlaubshinweis und Angebote: beides erscheint nur, wenn in der Verwaltung etwas eingetragen ist */
/* Urlaub: handgeschriebener Zettel, mit zwei Pinnnadeln über das Foto gehängt */
.willkommen-bild { position: relative; }
.tuerzettel { position: absolute; z-index: 2; top: -1.6rem; left: -2.2rem; width: min(78%, 19.5rem); background: #FFFDF6; color: #1C1A19; padding: 2rem 1.5rem 1.4rem; rotate: -3deg; box-shadow: 0 16px 26px -14px rgb(0 0 0 / 0.5); font-family: var(--hand); line-height: 1.25; }
.tuerzettel::before, .tuerzettel::after { content: ""; position: absolute; top: 0.6rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8A98 0 18%, #B3122B 45%, #6E0A19 100%); box-shadow: 1px 3px 3px rgb(0 0 0 / 0.35); }
.tuerzettel::before { left: 0.7rem; }
.tuerzettel::after { right: 0.7rem; }
.tuerzettel-anrede { font-size: 1.2rem; }
.tuerzettel-titel { display: block; font-size: clamp(1.8rem, 3vw, 2.2rem); line-height: 1.05; color: #B3122B; margin-block: 0.3rem 0.5rem; }
.tuerzettel-daten { font-size: 1.45rem; }
.tuerzettel-zurueck { margin-top: 0.8rem; font-size: 1.1rem; }
.tuerzettel-gruss { margin-top: 0.4rem; font-size: 1.1rem; }
@media (max-width: 960px) {
  .tuerzettel { position: relative; top: auto; left: auto; width: min(100%, 21rem); margin: 0 auto -1.2rem; rotate: -2deg; }
}

/* Angebote: Karten aus Fleischerpapier mit aufgeklebtem Preisstern */
#angebote { overflow-x: clip; padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
.angebote-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.angebote-kopf .handnotiz { margin: 0; }
.angebote-liste { list-style: none; margin: 0; padding: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2.4rem 1.6rem; }
.angebot { position: relative; background: var(--papier); border: 2px solid var(--tinte); padding: 1.2rem 6.2rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; box-shadow: 6px 6px 0 var(--stempel-hauch); min-height: 9.5rem; }
.angebot-marke { align-self: flex-start; font-family: var(--stempel-schrift); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; line-height: 1; color: var(--stempel); border: 2px solid currentColor; padding: 0.2rem 0.45rem 0.15rem; rotate: -2deg; }
.angebot h3 { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: 1.55rem; line-height: 1; overflow-wrap: break-word; }
.angebot p { color: var(--tinte-weich); }
.angebot .angebot-bis { margin-top: auto; padding-top: 0.3rem; font-family: var(--hand); color: var(--tinte); font-size: 1.15rem; }
.preisstern { position: absolute; top: -1.3rem; right: -1rem; width: 7.2rem; aspect-ratio: 1; display: grid; place-content: center; text-align: center; background: #B3122B; color: #fff; rotate: 9deg; filter: drop-shadow(2px 4px 0 rgb(0 0 0 / 0.18)); clip-path: polygon(100.0% 50.0%, 92.2% 58.4%, 96.2% 69.1%, 85.8% 73.9%, 85.4% 85.4%, 73.9% 85.8%, 69.1% 96.2%, 58.4% 92.2%, 50.0% 100.0%, 41.6% 92.2%, 30.9% 96.2%, 26.1% 85.8%, 14.6% 85.4%, 14.2% 73.9%, 3.8% 69.1%, 7.8% 58.4%, 0.0% 50.0%, 7.8% 41.6%, 3.8% 30.9%, 14.2% 26.1%, 14.6% 14.6%, 26.1% 14.2%, 30.9% 3.8%, 41.6% 7.8%, 50.0% 0.0%, 58.4% 7.8%, 69.1% 3.8%, 73.9% 14.2%, 85.4% 14.6%, 85.8% 26.1%, 96.2% 30.9%, 92.2% 41.6%); }
.preisstern b { font-family: var(--stempel-schrift); font-weight: 400; font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.preisstern.lang b { font-size: 1.35rem; }
.preisstern small { font-size: 0.8rem; font-weight: 700; line-height: 1.2; }
@media (max-width: 640px) { .preisstern { right: -0.5rem; width: 6.6rem; } .angebot { padding-right: 5.6rem; } }
/* Angebot mit Foto aus der Verwaltung: Foto bündig oben in der Karte, der Stern klebt auf der Fotoecke */
.angebot.mit-bild { padding-right: 1.3rem; }
.angebot-bild { display: block; width: calc(100% + 2.6rem); max-width: none; margin: -1.2rem -1.3rem 0.6rem; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--tinte); background: var(--papier-schatten); }
.woche-tag > .woche-gericht:only-child { grid-column: 1 / -1; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
section[tabindex="-1"]:focus { outline: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .kopf-tel { margin-left: auto; }
  .heute-raster, .woche-raster, .stroh, .party, .besuch { grid-template-columns: 1fr; }
  .jahre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; padding-bottom: 4rem; }
  .kopf-tel, .marke-zusatz { display: none; }
  .marke-logo { height: 3rem; }
  .etikett { transform: rotate(-0.8deg); }
  .heute-gericht { padding: 1.2rem 1.2rem 1.4rem; }
  .etikett-fuss { padding-inline: 1.2rem; }
  .strichcode { width: 5.5rem; }
  .woche-tag { grid-template-columns: 1fr auto; }
  .woche-gericht { grid-column: 1 / -1; grid-row: 2; }
  .jahr-stempel { width: 7.5rem; font-size: 2.1rem; }
  .jahre { gap: 2rem 1rem; }
  .party-fotos .foto:last-child { transform: rotate(-2deg) translateY(1rem); }
  .fuss nav { margin-left: 0; }
  .handy-anruf { display: block; position: fixed; inset: auto 0 0 0; z-index: 15; background: var(--stempel); color: #fff; text-align: center; font-weight: 700; text-decoration: none; padding: 1rem; box-shadow: 0 -6px 18px -8px rgb(0 0 0 / 0.4); }
}
/* Hinweis: Foto wird noch ersetzt */
.neues-foto { position: relative; }
.neues-foto::before { content: "Neues Foto nötig"; position: absolute; top: -0.9rem; right: 1rem; z-index: 1; background: var(--tinte); color: var(--papier); font-family: var(--text); font-size: 0.875rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 3px; transform: rotate(2deg); }
.foto-hinweis { margin-top: 0.6rem; padding: 0.6rem 0.8rem; outline: 2px dashed var(--tinte-weich); font-size: 0.9375rem; color: var(--tinte-weich); }
/* Rote Zeile am Handy: eine kurze, zentrierte Zeile */
.band-liste .kurz { display: none; }
@media (max-width: 640px) {
  .band-liste { flex-wrap: nowrap; justify-content: center; gap: 0; padding-block: 0.85rem; }
  .band-liste .lang, .band-liste .nur-gross { display: none; }
  .band-liste .kurz { display: inline; }
  .band-liste li { font-size: clamp(1.1rem, 5.2vw, 1.35rem); white-space: nowrap; }
  .band-liste li:not(.nur-gross) + li:not(.nur-gross)::before,
  .band-liste li:not(.nur-gross) + .nur-gross + li::before { content: "·"; margin-inline: 0.55em; opacity: 0.8; }
}
/* Dunkle Version: dunkler Hackstock als Grund, Etiketten, Kassazettel und Fotos bleiben weißes Papier */
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1A1817;
    --papier-schatten: #242120;
    --stempel: #F2596D;
    --stempel-tief: #FF7A8B;
    --stempel-hauch: #3A1C21;
    --tinte: #F2EEE9;
    --tinte-weich: #BDB5AD;
  }
  .etikett, .bon, .foto {
    --papier: #FFFFFF; --papier-schatten: #F1EEEA; --tinte: #1C1A19; --tinte-weich: #57514D;
    --stempel: #B3122B; --stempel-hauch: #F6DADD;
    color: var(--tinte);
  }
  .rot, .band, .fuss, .knopf, .kopf-tel, .handy-anruf { background: #B3122B; }
  .knopf:hover, .kopf-tel:hover { background: #8A0D20; }
  .knopf-rand { background: transparent; }
  .knopf-rand:hover { background: var(--stempel-hauch); }
  .stempel-tel:hover { background: #B3122B; box-shadow: inset 0 0 0 3px #B3122B, inset 0 0 0 5px #fff; }
  .entwurf, .platzhalter::after { background: #000; color: #fff; }

  .rapport > svg.druck text { opacity: 0.06; }
  .foto { box-shadow: 0 18px 36px -18px rgb(0 0 0 / 0.9); }
  ::selection { background: #B3122B; color: #fff; }
}

/* Titelbild (gewählt 2026-11-08, Beispiel 2): Foto über die ganze Breite, Text unten über der Theke.
   Köpfe im Foto: waagrecht 23–73 %, senkrecht 22–50 %. Der Schatten von unten trägt die Schrift, die Köpfe bleiben frei. */
.titelbild {
  --hoehe: clamp(32rem, calc(100svh - 5.9rem), 60rem);
  --titel-rand: max(var(--rand), calc((100vw - var(--max)) / 2 + var(--rand)));
  position: relative; isolation: isolate; overflow: clip; min-height: var(--hoehe); background: #1C1414; color: #fff;
}
.titelbild-foto { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.titelbild::after { content: ""; position: absolute; inset: 45% 0 0 0; z-index: -1; background: linear-gradient(to bottom, rgb(20 12 12 / 0) 0%, rgb(20 12 12 / 0.72) 45%, rgb(20 12 12 / 0.92) 100%); }
.titelbild-inhalt { position: absolute; left: var(--titel-rand); right: var(--titel-rand); bottom: clamp(1.6rem, 4.5vh, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem clamp(2rem, 4vw, 4rem); }
.titelbild-titel { grid-column: 1 / -1; font-family: var(--stempel-schrift); text-transform: uppercase; font-size: clamp(3.2rem, 6vw, 6.5rem); line-height: 0.92; letter-spacing: 0.01em; text-shadow: 0 2px 18px rgb(0 0 0 / 0.35); }
.titelbild-lead { max-width: 72ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: rgb(255 255 255 / 0.88); }
.titelbild-knoepfe { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.titelbild-knoepfe .knopf { padding: 0.9rem 1.15rem; }
.knopf-hell, .knopf-hell:hover { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.knopf-hell:hover { background: rgb(255 255 255 / 0.14); }
.titelbild-adresse { display: none; font-size: 1rem; color: rgb(255 255 255 / 0.75); }
.titelbild .tuerzettel { top: 1.6rem; bottom: auto; left: auto; right: var(--rand); width: 13.5rem; padding: 1.7rem 1.2rem 1.1rem; rotate: 3deg; }
.titelbild .tuerzettel-titel { font-size: 1.7rem; }
.titelbild .tuerzettel-daten { font-size: 1.25rem; }
.titelbild .tuerzettel-zurueck, .titelbild .tuerzettel-gruss { font-size: 1rem; }
@media (max-width: 1180px) {
  /* Tablet und Handy: Foto oben in voller Breite, Text darunter */
  .titelbild { min-height: 0; padding: 0 0 2.5rem; }
  .titelbild::after { display: none; }
  .titelbild-foto { position: static; width: 100%; height: min(62vw, 52svh); object-position: 50% 25%; }
  .titelbild-inhalt { position: static; display: block; padding: 1.8rem var(--rand) 0; }
  .titelbild-titel { font-size: clamp(2.6rem, 9vw, 4rem); text-shadow: none; }
  .titelbild-lead { margin-top: 1.2rem; }
  .titelbild-knoepfe { margin-top: 1.6rem; }
  .titelbild-adresse { display: block; margin-top: 1.4rem; }
  .titelbild .tuerzettel { position: relative; inset: auto; width: min(100% - 2rem, 21rem); margin: 2rem auto 0; rotate: -2deg; }
}

/* Früher als style-Attribut im HTML. Die Content-Security-Policy erlaubt keine Inline-Stile. */
#familie { background: var(--papier-schatten); }
.jahr:nth-child(1) { --i: 0; }
.jahr:nth-child(2) { --i: 1; }
.jahr:nth-child(3) { --i: 2; }
.jahr:nth-child(4) { --i: 3; }
