/* ==========================================================================
   Das Klein(e) Café und Hoflädchen  ·  Stylesheet
   Konzept „Wirtshausschild & Kreidetafel"
   CI: Gelb #feb71b + Schwarz · Papier-Creme als Grund
   Schriften lokal (DSGVO): Fraunces · Source Serif 4 · Caveat
   ========================================================================== */

/* ----------------------------------------------------------- Schriften */
@font-face {
  font-family: 'Fraunces';
  src: url('../schriften/fraunces-v38-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../schriften/fraunces-v38-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../schriften/fraunces-v38-latin-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../schriften/source-serif-4-v14-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../schriften/source-serif-4-v14-latin-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../schriften/source-serif-4-v14-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../schriften/caveat-v23-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../schriften/caveat-v23-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ----------------------------------------------------------- Grundwerte */
:root {
  --papier:        #f9f4e8;
  --papier-tief:   #f0e8d3;
  --karton:        #fffdf6;
  --tinte:         #191512;
  --braun:         #5c4a33;
  --gelb:          #feb71b;
  --gelb-tief:     #e09c00;
  --tafel:         #201d1a;
  --tafel-holz:    #7c5227;
  --kreide:        #f2efe6;
  --kreide-rot:    #ff7a63;
  --kreide-blass:  #c9c4b4;

  --schrift:       'Source Serif 4', Georgia, 'Times New Roman', serif;
  --schrift-kopf:  'Fraunces', Georgia, serif;
  --schrift-hand:  'Caveat', 'Segoe Print', cursive;

  --schatten-karte: 0 1px 2px rgba(25, 21, 18, .18), 0 6px 18px -6px rgba(25, 21, 18, .28);
  --kante: 2px solid var(--tinte);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background-color: var(--papier);
  /* dezente Papierstruktur, als Daten-URI (keine externen Anfragen) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.35 0 0 0 0 0.23 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23p)'/%3E%3C/svg%3E");
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--schrift-kopf);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .16em; }

:focus-visible {
  outline: 3px solid var(--gelb-tief);
  outline-offset: 3px;
  border-radius: 2px;
}

.nur-vorlese {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.sprung {
  position: absolute; left: .75rem; top: -4rem; z-index: 99;
  background: var(--gelb); color: var(--tinte);
  padding: .5rem 1rem; border: var(--kante); font-weight: 600;
  transition: top .15s ease;
}
.sprung:focus { top: .75rem; }

.bund { width: min(1120px, 92vw); margin-inline: auto; }

/* --------------------------------------------------- wiederkehrende Teile */

.hand {
  font-family: var(--schrift-hand);
  font-weight: 600;
  letter-spacing: .01em;
}

/* Textmarker-Effekt in CI-Gelb (nur hinter dunkler Schrift) */
.marker {
  background-image: linear-gradient(104deg,
    rgba(254, 183, 27, 0) 1%,
    rgba(254, 183, 27, .95) 3%,
    rgba(254, 183, 27, .95) 96%,
    rgba(254, 183, 27, 0) 98%);
  background-size: 100% 46%;
  background-position: 0 68%;
  background-repeat: no-repeat;
  padding-inline: .12em;
}

.knopf {
  display: inline-block;
  font-family: var(--schrift-kopf);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--tinte);
  background: var(--gelb);
  border: var(--kante);
  border-radius: .3rem;
  box-shadow: .22rem .22rem 0 var(--tinte);
  padding: .62rem 1.25rem;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.knopf:hover, .knopf:focus-visible {
  transform: translate(.1rem, .1rem);
  box-shadow: .1rem .1rem 0 var(--tinte);
}
.knopf:active { transform: translate(.22rem, .22rem); box-shadow: 0 0 0 var(--tinte); }

.knopf--gross { font-size: 1.35rem; padding: .8rem 1.6rem; }

/* Sektions-Überschrift mit handgezeichnetem gelbem Schwung */
.titelzeile { margin-bottom: 2.2rem; }
.titelzeile .vorzeile {
  font-family: var(--schrift-hand);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--braun);
  display: block;
  margin-bottom: .1rem;
  transform: rotate(-1.2deg);
  transform-origin: left bottom;
}
.titelzeile h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  margin-bottom: .2em;
}
.titelzeile .schwung {
  display: block;
  width: 150px;
  color: var(--gelb);
}

/* Polaroid-Rahmen für Fotos */
.polaroid {
  background: var(--karton);
  border: 1px solid rgba(25, 21, 18, .12);
  padding: .55rem .55rem 0;
  box-shadow: var(--schatten-karte);
  margin: 0;
}
.polaroid > a { display: block; }
.polaroid figcaption {
  font-family: var(--schrift-hand);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
  text-align: center;
  color: var(--braun);
  padding: .45rem .3rem .55rem;
}

/* ------------------------------------------------------------- Kopfleiste */
.kopfleiste {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--karton);
  color: var(--tinte);
  border-bottom: 3px solid var(--gelb);
  box-shadow: 0 2px 12px rgba(25, 21, 18, .08);
}
.kopfleiste .bund {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.1rem;
  padding-block: .4rem;
}

.logo-schild {
  display: inline-block;
  flex: 0 0 auto;
  line-height: 0;
  background: var(--gelb);
  border: var(--kante);
  border-radius: .25rem;
  padding: .3rem .45rem;
  transform: rotate(-1.6deg);
  box-shadow: .18rem .18rem 0 rgba(25, 21, 18, .3);
}
.logo-schild img { width: 118px; height: 64px; }

.hauptnav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 1.35rem;
  row-gap: .1rem;
}
.hauptnav a {
  font-family: var(--schrift-kopf);
  font-weight: 600;
  font-size: 1rem;
  color: var(--tinte);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 3px solid transparent;
}
.hauptnav a:hover, .hauptnav a:focus-visible { border-bottom-color: var(--gelb); }

.kopf-telefon {
  flex: 0 0 auto;
  font-family: var(--schrift-kopf);
  font-weight: 600;
  color: var(--tinte);
  background: var(--gelb);
  text-decoration: none;
  padding: .4rem .85rem;
  border-radius: .3rem;
  border: 2px solid var(--tinte);
  white-space: nowrap;
}
.kopf-telefon:hover, .kopf-telefon:focus-visible { background: var(--tinte); color: var(--gelb); }

/* ------------------------------------- Geschlossen-Banner (aktiver Urlaub) */
.urlaubsband {
  background: #a92318;
  border-bottom: 3px solid var(--tinte);
  color: #fff;
  padding: .9rem 0;
  font-size: 1.06rem;
}
.urlaubsband .bund {
  display: flex;
  gap: .35rem .9rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.urlaubsband strong {
  font-family: var(--schrift-kopf);
  font-size: 1.2em;
  letter-spacing: .01em;
  white-space: nowrap;
}
.urlaubsband p { margin: 0; font-weight: 600; }

/* ------------------------------------------------------------------ Hero */
.buehne { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }

.buehne-satz {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.buehne .gruss {
  font-family: var(--schrift-hand);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--braun);
  display: inline-block;
  transform: rotate(-1.5deg);
  margin-bottom: .4rem;
}
.buehne h1 {
  font-weight: 900;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  letter-spacing: -.01em;
  margin-bottom: .45em;
}
.buehne .einleitung {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  max-width: 34em;
}

.ruf-zeile { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.ruf-hinweis {
  margin: .65rem 0 0;
  font-weight: 600;
  max-width: 34em;
}
.status-zeile {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--braun);
  font-style: italic;
}
.status-punkt {
  flex: 0 0 auto;
  width: .68rem; height: .68rem;
  border-radius: 50%;
  border: 2px solid var(--tinte);
  background: var(--papier-tief);
}
.status-punkt--offen { background: #47a025; }

/* Foto-Stapel rechts im Hero */
.buehne-fotos { position: relative; }
.buehne-fotos .polaroid--gross { transform: rotate(1.6deg); }
.buehne-fotos .polaroid--klein {
  position: absolute;
  width: 42%;
  bottom: -2.2rem;
  left: -1.8rem;
  transform: rotate(-4deg);
}

/* Großes Hofbild mit handgezeichneter Wellen-Unterkante */
.hofpanorama { margin-top: clamp(1rem, 3vw, 2rem); }
.hofpanorama img {
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  /* Bildausschnitt nach unten schieben: Kaffeetheke und Blumen statt Dachfläche */
  object-position: center 78%;
  clip-path: polygon(0 0, 100% 0, 100% 91%, 94% 96%, 82% 90%, 68% 97%, 52% 92%, 38% 98%, 22% 93%, 10% 98%, 0 94%);
}

/* ------------------------------------------------------------ Sektionen */
.sektion { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sektion--tief { background: var(--papier-tief); }

/* Zweispalter mit Text + Fotostapel */
.duett {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.duett-text > p { max-width: 36em; }

.zitat {
  font-family: var(--schrift-hand);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  color: var(--braun);
  border: 0;
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.1rem;
  border-left: .35rem solid var(--gelb);
  transform: rotate(-.6deg);
}

.stapel { position: relative; padding-bottom: 2.5rem; }
.stapel .polaroid--eins { transform: rotate(1.8deg); }
.stapel .polaroid--zwei {
  position: absolute;
  width: 46%;
  right: -1rem;
  bottom: 0;
  transform: rotate(-3.4deg);
}

.breitbild { margin: clamp(2rem, 5vw, 3rem) 0 0; }
.breitbild img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 4%, 8% 0, 24% 5%, 41% 1%, 60% 6%, 77% 1%, 92% 5%, 100% 2%, 100% 96%, 90% 100%, 74% 95%, 55% 100%, 36% 96%, 18% 100%, 6% 95%, 0 99%);
}

/* Jakobsweg-Notiz */
.pilgernotiz {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  border: var(--kante);
  border-radius: .4rem;
  background: var(--karton);
  box-shadow: .3rem .3rem 0 rgba(25, 21, 18, .16);
  padding: 1.3rem 1.5rem;
}
.pilgernotiz .muschel { flex: 0 0 auto; width: 54px; color: var(--gelb-tief); }
.pilgernotiz p { margin: 0; max-width: 52em; }

/* ----------------------------------------------- Genuss / Küchen-Sektion */
.gang {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
}
.gang:nth-of-type(even) .gang-bild { order: 2; }
.gang h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.gang .randnotiz {
  font-family: var(--schrift-hand);
  font-weight: 600;
  font-size: 1.45rem;
  color: #a06a00;
  display: inline-block;
  transform: rotate(-2deg);
  margin-top: .2rem;
}
.gang-text p { max-width: 33em; }

/* Gelbes Band mit Telefonhinweis */
.rufband {
  margin-top: clamp(2.8rem, 6vw, 4rem);
  background: var(--gelb);
  border: var(--kante);
  border-radius: .45rem;
  box-shadow: .35rem .35rem 0 var(--tinte);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.rufband p { margin: 0; font-weight: 600; max-width: 40em; }
.rufband .knopf { background: var(--tinte); color: var(--gelb); box-shadow: .22rem .22rem 0 rgba(25,21,18,.35); }

/* ------------------------------------------------------------- Garten */
.garten-gitter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: start;
}
.garten-gitter .polaroid:nth-child(1) { grid-column: 1 / span 7; transform: rotate(-1.1deg); }
.garten-gitter .polaroid:nth-child(2) { grid-column: 8 / span 5; transform: rotate(1.8deg); margin-top: 2.5rem; }
.garten-gitter .polaroid:nth-child(3) { grid-column: 3 / span 6; transform: rotate(1.9deg); margin-top: -1rem; }

/* Pfotenspur (Hund & Katze aus dem Logo) */
.pfoten {
  display: block;
  width: min(420px, 60vw);
  margin: 2.5rem auto 0;
  color: rgba(25, 21, 18, .35);
}

/* ------------------------------------------------------------- Galerie */
.galerie-gitter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}
.galerie-gitter > :nth-child(odd)  { transform: rotate(-1.4deg); }
.galerie-gitter > :nth-child(even) { transform: rotate(1.5deg); }
.galerie-gitter .polaroid a img { transition: transform .18s ease; }
.galerie-gitter .polaroid a:hover img, .galerie-gitter .polaroid a:focus-visible img { transform: scale(1.02); }

/* Querformate stapeln sich zwischen den hohen Bildern – nur auf großen Schirmen */
@media (min-width: 901px) {
  .galerie-gitter { grid-template-columns: repeat(12, 1fr); }
  .galerie-gitter > :nth-child(1) { grid-column: 1 / 5;  grid-row: 1 / 3; }
  .galerie-gitter > :nth-child(2) { grid-column: 5 / 9;  grid-row: 1; }
  .galerie-gitter > :nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 3; }
  .galerie-gitter > :nth-child(4) { grid-column: 5 / 9;  grid-row: 2; }
  .galerie-gitter > :nth-child(5) { grid-column: 1 / 5;  grid-row: 3 / 5; }
  .galerie-gitter > :nth-child(6) { grid-column: 5 / 13; grid-row: 3; }
  .galerie-gitter > :nth-child(7) { grid-column: 5 / 13; grid-row: 4; }
}

/* Veranstaltungs-Illustration (Platzhalter bis zum echten Foto) */
.feier-illu { transform: rotate(1.4deg); }
.feier-illu svg { display: block; width: 100%; height: auto; }

/* gelbe Notiz-Karte in der Galerie */
.galerie-notiz {
  background: var(--gelb);
  border: var(--kante);
  border-radius: .25rem;
  box-shadow: .3rem .3rem 0 rgba(25, 21, 18, .25);
  padding: 1.3rem 1.6rem;
  align-self: center;
}
.galerie-notiz p { margin: 0; font-size: 1.6rem; line-height: 1.3; }

/* Leuchtkasten (Lightbox) */
.leuchtkasten {
  border: var(--kante);
  border-radius: .4rem;
  padding: .6rem;
  background: var(--karton);
  max-width: min(94vw, 1100px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.leuchtkasten::backdrop { background: rgba(15, 12, 9, .82); }
.leuchtkasten img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; }
.leuchtkasten figure { margin: 0; }
.leuchtkasten figcaption {
  font-family: var(--schrift-hand);
  font-size: 1.4rem;
  text-align: center;
  color: var(--braun);
  padding-top: .5rem;
}
.leuchtkasten .schliessen {
  position: absolute;
  top: .45rem; right: .45rem;
  font-family: var(--schrift-kopf);
  font-weight: 600;
  font-size: 1rem;
  background: var(--gelb);
  border: var(--kante);
  border-radius: .3rem;
  padding: .2rem .6rem;
  cursor: pointer;
}

/* -------------------------------------------------------- Kreidetafel */
.tafel-sektion {
  background: var(--papier-tief);
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.tafel-uebergang { display: block; width: 100%; height: auto; color: var(--papier-tief); margin-bottom: -1px; }
.tafel-uebergang--unten { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

.tafel-anordnung {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* die Tafel selbst: Holzrahmen + Kreidestruktur */
.tafel {
  position: relative;
  color: var(--kreide);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.94 0 0 0 0 0.9 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23k)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 20%, #2b2723 0%, #23201c 55%, #1c1916 100%);
  border: 10px solid var(--tafel-holz);
  border-radius: 6px;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, .55),
    0 10px 30px -8px rgba(0, 0, 0, .6);
  padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.2rem, 3.5vw, 2.4rem);
}
.tafel h3 {
  font-family: var(--schrift-hand);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  text-align: center;
  color: var(--kreide);
  margin-bottom: .4em;
  text-shadow: 0 0 6px rgba(242, 239, 230, .25);
}
.tafel .kreideschwung { display: block; width: 130px; margin: -0.4rem auto 1.2rem; color: var(--gelb); }

.zeiten { list-style: none; margin: 0; padding: 0; }
.zeiten li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  padding: .35rem 0;
}
.zeiten .tage { font-weight: 600; }
.zeiten .zeit { font-variant-numeric: tabular-nums; white-space: nowrap; }
.zeiten li.ruhetag { color: var(--kreide-rot); }
.zeiten li.ruhetag .zeit { font-family: var(--schrift-hand); font-size: 1.5rem; }

.tafel .trennlinie { display: block; width: 80%; margin: 1rem auto; color: rgba(242, 239, 230, .4); }

.tafel .kueche { text-align: center; font-size: 1.1rem; margin: 0; }
.tafel .kueche strong { color: var(--gelb); font-weight: 600; }
.tafel .ganzjahr {
  font-family: var(--schrift-hand);
  font-weight: 400;
  font-size: 1.7rem;
  text-align: center;
  color: var(--gelb);
  margin: .8rem 0 0;
  transform: rotate(-1.4deg);
}

/* Urlaubs-Zettel an der Tafel */
.zettel {
  position: relative;
  background: var(--gelb);
  color: var(--tinte);
  border: var(--kante);
  border-radius: .2rem;
  box-shadow: .35rem .4rem 0 rgba(0, 0, 0, .45);
  padding: 1.1rem 1.3rem 1.2rem;
  transform: rotate(2.2deg);
  max-width: 26rem;
}
.zettel + .zettel { margin-top: 1.4rem; transform: rotate(-1.6deg); }
.zettel::before {
  /* „Klebestreifen" */
  content: '';
  position: absolute;
  top: -0.85rem; left: 50%;
  width: 5.5rem; height: 1.5rem;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(249, 244, 232, .82);
  border: 1px solid rgba(25, 21, 18, .25);
}
.zettel .zettel-kopf {
  font-family: var(--schrift-hand);
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.1;
  display: block;
  margin-bottom: .3rem;
}
.zettel p { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.zettel .zeitraum { font-weight: 600; }

.tafel-neben .status-zeile { margin-top: 0; }
.tafel-neben .zettel + .status-zeile,
.tafel-neben .zettel ~ .status-zeile { margin-top: 1.6rem; }
.tafel-neben .hinweisliste { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.tafel-neben .hinweisliste li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .65rem;
}
.tafel-neben .hinweisliste li::before {
  content: '';
  position: absolute;
  left: 0; top: .52em;
  width: .7rem; height: .7rem;
  background: var(--gelb);
  border-radius: 1px;
  transform: rotate(45deg);
}
.tafel-neben .knopf { margin-top: 1.8rem; }

.geplante { margin-top: 1.8rem; color: var(--braun); }
.geplante h4 { font-family: var(--schrift-kopf); color: var(--tinte); margin: 0 0 .4rem; font-size: 1.05rem; }
.geplante ul { margin: 0; padding-left: 1.2rem; }
.geplante li { margin-bottom: .3rem; }

/* ------------------------------------------------------ Anfahrt & Kontakt */
.anfahrt-anordnung {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.adresskarte {
  border: var(--kante);
  border-radius: .45rem;
  background: var(--karton);
  box-shadow: .35rem .35rem 0 var(--gelb);
  padding: 1.6rem 1.8rem;
}
.adresskarte .wo {
  font-family: var(--schrift-hand);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--braun);
  display: block;
  transform: rotate(-1deg);
  margin-bottom: .3rem;
}
.adresskarte address {
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.adresskarte address strong { font-family: var(--schrift-kopf); font-weight: 600; }
.kleingedruckt { font-size: .88rem; color: var(--braun); margin-top: .8rem; }

.kontakt-spalte h3 { font-size: 1.5rem; }
.telefon-gross {
  font-family: var(--schrift-kopf);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  text-decoration: none;
  display: inline-block;
  margin: .2rem 0 .6rem;
  border-bottom: .28rem solid var(--gelb);
}
.telefon-gross:hover, .telefon-gross:focus-visible { border-bottom-color: var(--tinte); }

.wichtigbox {
  border: var(--kante);
  border-left: .55rem solid var(--gelb);
  border-radius: .3rem;
  background: var(--karton);
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  max-width: 38em;
}
.wichtigbox p { margin: 0; }
.wichtigbox strong { font-family: var(--schrift-kopf); }

/* ---------------------------------------------------------------- Fußzeile */
.fusszeile {
  background: var(--papier-tief);
  color: var(--tinte);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: 2.6rem 0 1.8rem;
  border-top: 4px solid var(--gelb);
}
.fusszeile .anordnung {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
}
.fusszeile .motto {
  font-family: var(--schrift-hand);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--braun);
  max-width: 15em;
  margin: .8rem 0 0;
  transform: rotate(-1.2deg);
}
.fusszeile address { font-style: normal; line-height: 1.6; }
.fusszeile a { color: var(--tinte); }
.fusszeile a:hover, .fusszeile a:focus-visible { color: var(--gelb-tief); }
.fusszeile .rechtsnav { display: flex; flex-direction: column; gap: .35rem; }
.fusszeile .schlusszeile {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(25, 21, 18, .18);
  font-size: .88rem;
  color: var(--braun);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: space-between;
}
.fusszeile .schlusszeile p { margin: 0; }

/* ------------------------------------------------------------ Rechtsseiten */
.prosa { max-width: 46em; padding-block: clamp(2.5rem, 6vw, 4rem); }
.prosa h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.prosa h2 { font-size: 1.45rem; margin-top: 2em; }
.prosa h3 { font-size: 1.15rem; margin-top: 1.6em; }

/* E-Mail-Anzeige: Text kommt aus einem Pseudo-Element und ist dadurch
   nicht markier-/kopierbar; die Adresse steht nie als Klartext im HTML. */
.email-anzeige { white-space: nowrap; font-weight: 600; }
.email-anzeige,
.email-anzeige::after {
  user-select: none;
  -webkit-user-select: none;
}
.email-anzeige::after { content: attr(data-anzeige); }

/* --------------------------------------------------------------- Responsiv */
@media (max-width: 900px) {
  .buehne-satz, .duett, .tafel-anordnung, .anfahrt-anordnung { grid-template-columns: 1fr; }
  .buehne-fotos { margin-top: .5rem; }
  .gang, .gang:nth-of-type(even) { grid-template-columns: 1fr; }
  .gang:nth-of-type(even) .gang-bild { order: 0; }
  .gang-bild { max-width: 34rem; }
  .garten-gitter .polaroid:nth-child(1) { grid-column: 1 / span 12; }
  .garten-gitter .polaroid:nth-child(2) { grid-column: 1 / span 6; margin-top: 0; }
  .garten-gitter .polaroid:nth-child(3) { grid-column: 7 / span 6; margin-top: 0; }
  .zettel { max-width: none; }
  .fusszeile .anordnung { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .kopfleiste .bund { flex-wrap: wrap; justify-content: center; padding-block: .55rem; }
  .logo-schild img { width: 96px; height: 52px; }
  .hauptnav { margin-left: 0; justify-content: center; column-gap: .95rem; }
  .hauptnav a { font-size: .92rem; }
  .galerie-gitter { grid-template-columns: 1fr; }
  .stapel .polaroid--zwei { right: 0; }
  .buehne-fotos .polaroid--klein { left: 0; }
  .rufband { box-shadow: .25rem .25rem 0 var(--tinte); }
}

/* ------------------------------------------------------ Verwaltungsbereich
   Mobil zuerst gedacht: große Berührflächen, native Datumswähler. */
body.vw { background: var(--papier); }
.vw-kopf {
  background: var(--karton);
  border-bottom: 3px solid var(--gelb);
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem 1rem;
}
.vw-kopf strong { font-family: var(--schrift-kopf); font-size: 1.15rem; }
.vw-bund { width: min(560px, 94vw); margin: 1.2rem auto 3rem; }

.vw-meldung {
  border: var(--kante);
  border-radius: .4rem;
  padding: .8rem 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.vw-meldung--ok { background: #e4f3d9; border-color: #47a025; }
.vw-meldung--fehler { background: #fbe3df; border-color: #a92318; }

.vw-karte {
  background: var(--karton);
  border: var(--kante);
  border-radius: .5rem;
  box-shadow: .3rem .3rem 0 rgba(25, 21, 18, .14);
  padding: 1.2rem 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
}
.vw-karte h2 { font-size: 1.3rem; margin-bottom: .9rem; }

.vw-feld { display: block; margin-bottom: 1rem; }
.vw-feld span { display: block; font-weight: 600; margin-bottom: .3rem; }
.vw-feld small { font-weight: 400; color: var(--braun); }
.vw-feld input {
  width: 100%;
  font: inherit;
  font-size: 1.15rem;
  padding: .65rem .7rem;
  border: 2px solid var(--tinte);
  border-radius: .35rem;
  background: #fff;
  min-height: 3rem;
}

.vw-haken {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.1rem;
  font-weight: 600;
  padding: .55rem .2rem;
  cursor: pointer;
}
.vw-haken input {
  width: 1.7rem;
  height: 1.7rem;
  accent-color: var(--gelb-tief);
  flex: 0 0 auto;
}

.vw-breit { width: 100%; text-align: center; font-size: 1.2rem; margin-top: .4rem; }

.vw-eintrag {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(25, 21, 18, .15);
  padding: .9rem 0;
}
.vw-eintrag:first-of-type { border-top: 0; }
.vw-eintrag-text { display: flex; flex-direction: column; gap: .3rem; }
.vw-eintrag-text strong { font-family: var(--schrift-kopf); font-size: 1.1rem; }
.vw-eintrag-text em { color: var(--braun); font-size: .95rem; }

.vw-chip {
  align-self: flex-start;
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--tinte);
  border-radius: 1rem;
  padding: .1rem .6rem;
  background: var(--papier-tief);
}
.vw-chip--gesellschaft { background: var(--gelb); }
.vw-chip--aktiv { background: #a92318; border-color: #a92318; color: #fff; }
.vw-chip--wartet { background: #fff; border-style: dashed; }

.vw-loeschen {
  font: inherit;
  font-weight: 600;
  color: #a92318;
  background: #fff;
  border: 2px solid #a92318;
  border-radius: .35rem;
  padding: .55rem .9rem;
  min-height: 3rem;
  cursor: pointer;
  flex: 0 0 auto;
}
.vw-loeschen:hover, .vw-loeschen:focus-visible { background: #a92318; color: #fff; }

.vw-hinweis { color: var(--braun); font-size: .95rem; margin: .6rem 0 0; }
.vw-fuss { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.vw-schlicht {
  font: inherit;
  color: var(--braun);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  padding: .5rem 0;
}

/* --------------------------------------------------- Bewegungsreduzierung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------------ Druck */
@media print {
  .kopfleiste, .fusszeile .rechtsnav, .knopf, .sprung { display: none; }
  body { background: #fff; }
}
