/*
  Nyanko Tee — Design-System nach Styleguide (docs/kunden/nyanko/styleguide.md),
  abgeleitet aus dem A4-Flyer des Kunden. Alles first-party, keine externen Fonts/CDNs.
  Grundprinzip: Creme als einziger Hintergrund, alle Typografie und alles Linienwerk grün.
  Kein Grau, keine neutralen Template-Flächen — Blöcke entstehen durch grüne Rahmen auf Creme.
  Struktur: Font → Design-Tokens (:root) → Grundlagen → Header → Hero → Sektionen → Kontakt → Rechtstexte → Footer.
*/

/* Jost (Futura-Homage, OFL — Lizenz: assets/fonts/ofl.html): eine variable Datei
   für alle Gewichte, self-hosted, Latin-Subset. Annäherung an die geometrische
   Flyer-Headline, bis der Kunde eine echte CD-Schrift liefert. */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farb-Tokens — per Pixel-Sampling aus dem Flyer extrahiert (Styleguide §1).
     Kontraste rechnerisch geprüft: Markengrün auf Creme 3,42:1 (nur große fette
     Headlines), Textgrün auf Creme 6,22:1, Weiß auf Aktionsgrün 4,97:1. */
  --bg: #e7e3d2;         /* Creme — Flyer-Hintergrund */
  --fg: #435636;         /* Textgrün — Markengrün abgedunkelt, besteht überall */
  --brand: #658054;      /* Markengrün — Wortmarke/Headlines/Linienwerk (nur groß+fett als Text) */
  --action: #5e774e;     /* Aktionsgrün — Button-Flächen, weiße Schrift darauf 4,97:1 */
  --brand-ink: #ffffff;
  --matcha: #86976c;     /* Matcha-Kreisfläche — nie als Textfarbe (2,45:1) */
  --link: #4c6140;       /* Textlinks: auf Creme 5,28:1 */
  --border: color-mix(in srgb, var(--brand) 45%, var(--bg));
  --badge-disc: #e7e3d2; /* Creme-Scheibe hinter der Bildmarke — fix, auch im Dark Mode */

  /* Herbst-Akzent — ausschließlich für saisonale Specials (Pumpkin Pie, Pumpkin
     Spice Matcha), nirgends sonst. Bewusst zusätzlich zu Creme/Grün, damit die
     Specials aus der sonst durchgehend grünen Karte herausstechen. */
  --autumn: #c1702f;
  --autumn-bg: color-mix(in srgb, var(--autumn) 12%, var(--bg));
  --autumn-border: color-mix(in srgb, var(--autumn) 45%, var(--bg));

  /* Layout-Tokens */
  --maxw: 68rem;
  --maxw-prose: 42rem;
  --radius: 10px;        /* geradliniger als das Template — der Flyer ist kaum gerundet */

  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Die Marke IST Creme/Grün — die Seite ist bewusst auf den hellen Markenlook
     gesperrt (Styleguide §5): kein prefers-color-scheme-Override, und color-scheme
     verhindert, dass der Browser Formulare/Scrollbars eigenmächtig dunkel rendert. */
  color-scheme: light;
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link);  text-decoration: none !important;}
::selection { background: var(--matcha); color: var(--bg); }

/* Schrift-Utilities: gezielte Gewicht-Overrides für einzelne Elemente. */
.fw-bold { font-weight: 700; }
.fw-normal { font-weight: 400; }

/* Sichtbarer Tastatur-Fokus (A11y): gilt für alle interaktiven Elemente. */
:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Skip-Link (Barrierefreiheit) — Clip-Muster statt Off-Screen-Position:
   das Element bleibt im Viewport (1 px, unsichtbar geclippt) und wird erst
   bei Tastatur-Fokus sichtbar. So melden Layout-Checker keinen unerreichbaren
   Control außerhalb des Viewports. */
.skip {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--action);
  color: var(--brand-ink);
  z-index: 10;
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  padding: .6rem 1rem;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  z-index: 5;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .85rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand);
  /* Markenname nie umbrechen — auf schmalen Screens rückt die Nav in eine eigene Zeile. */
  white-space: nowrap;
}
/* Bildmarke: Original-SVG des Kunden (Nyanko_RGB_Logo_clean, transparenter
   Hintergrund) auf der Creme-Scheibe — die Scheibe hält die dunklen Konturen
   auch im Dark Mode sichtbar. */
.logo .mark-img {
  height: 52px;
  width: auto;
  background: var(--badge-disc);
  border-radius: 50%;
  padding: 2px;
}
nav.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 1.5rem;
  row-gap: .15rem;
}
nav.main a {
  color: var(--fg);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
nav.main a:hover,
nav.main a:focus { color: var(--brand); }
/* Schmale Screens: Logo und Nav übereinander statt nebeneinander. Die vier Links
   bleiben nach Möglichkeit in einer Zeile (enger gesetzt, kleiner); reicht der Platz
   nicht, bricht die Nav sauber zwischen zwei Links um — nie mitten in einem Wort. */
@media (max-width: 600px) {
  .bar {
    flex-direction: column;
    gap: .35rem;
    padding-block: .7rem;
  }
  nav.main {
    width: 100%;
    flex-wrap: wrap;
    column-gap: .8rem;
    row-gap: .2rem;
    justify-content: center;
  }
  nav.main a {
    white-space: nowrap;
    font-size: .78rem;
    letter-spacing: .04em;
  }
}

/* ---------- Hero — die Flyer-Treppe: Versal-Headline → Haarlinie → Subline ---------- */
.hero { padding-block: clamp(3rem, 8vw, 5.5rem); }
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .01em;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
/* Haarlinie — das Linien-Motiv unter dem Titelblock des Flyers. */
.rule {
  width: 72px;
  height: 2px;
  background: var(--brand);
  border: 0;
  margin: 0 0 1.25rem;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 0 2rem;
}
.cta {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  background: var(--action);
  color: var(--brand-ink);
  text-decoration: none;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .03em;
}
.cta:hover { filter: brightness(1.07); }
.hero-meta {
  margin: 1.25rem 0 0;
  font-size: .95rem;
}

/* Hero-Illustration: die große Flyer-Szene (Katze schlägt Matcha auf dem
   texturierten Kreis) — auf Kundenwunsch statt des Logo-Badges (Review 12.08.).
   Quelle 702 px für max. 351 px Anzeige → 2×-Bildregel eingehalten. */
.hero-mark {
  width: clamp(280px, 36vw, 351px);
  height: auto;
  flex-shrink: 0;
}
/* Vertikaler japanischer Gruß am Hero-Rand — Deko-Motiv vom linken Flyer-Rand. */
.jp-greeting {
  writing-mode: vertical-rl;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .4em;
  color: var(--brand);
  flex-shrink: 0;
  user-select: none;
}
/* Auf schmalen Screens stapelt der Hero: Text zuerst, die Illustration folgt
   zentriert darunter. Nur der vertikale Deko-Gruß entfällt — ihm fehlt neben
   der gestapelten Spalte schlicht der Rand, an dem er im Flyer steht. */
@media (max-width: 720px) {
  .hero-inner { flex-direction: column; align-items: stretch; }
  .hero-mark {
    width: min(300px, 78vw);
    align-self: center;
  }
  .jp-greeting { display: none; }
}

/* ---------- Hero-Variante für Unterseiten (Getränke & Kuchen) ----------
   Eigener Look fürs Hero, wie vom Kunden gewünscht: getönte Fläche statt Creme,
   Text links/Illustration rechts wie im Hero der Startseite (Reihenfolge kommt
   direkt aus dem Markup), horizontaler Kicker statt des vertikalen Grußes auf
   der Startseite. Die Sprung-Anker sitzen bewusst NICHT mehr hier drin, sondern
   erst im .wrap danach — außerhalb der getönten Fläche. */
/* Volle Bildschirmbreite wie header.site/footer.site: die Section selbst liegt
   außerhalb von .wrap, ein eigenes .wrap innen zentriert nur den Inhalt — so
   trägt die getönte Fläche über die ganze Breite statt nur bis zur Textspalte. */
.hero--menu {
  background: color-mix(in srgb, var(--brand) 9%, var(--bg)); 
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.hero-mark--menu {
  width: clamp(200px, 28vw, 280px);
}
.hero-kicker {
  margin: 0 0 .6rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--brand);
}
.jumpnav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}
.jumpnav a {
  flex: 1 1 auto;
  text-align: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--fg);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
  padding: .65rem 1rem;
  border-radius: 999px;
}
.jumpnav a:hover,
.jumpnav a:focus-visible {
  background: var(--action);
  border-color: var(--action);
  color: var(--brand-ink);
}
/* ---------- Sektionen ---------- */
section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 1.75rem;
}
/* Haarlinie unter jeder Sektions-Headline (Flyer-Motiv). */
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--brand);
  margin-top: .6rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
/* Karten: grünes Linienwerk auf Creme statt grauer Flächen (Styleguide §3).
   Oben ein randloses Foto (lockert die Sektion auf), das durch overflow:hidden
   die runden Kartenecken übernimmt; der Text sitzt darunter im .card-body. */
.card {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.card-body { padding: 1.5rem; }
.card h3 {
  margin: .5rem 0 .5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card p { margin: 0; }
.icon { width: 40px; height: 40px; color: var(--brand); }
/* Karten-CTA für die beiden Umsatz-Leistungen (Feiern, Kuchenbestellung — hinweise.md). */
.card-link {
  display: inline-block;
  margin-top: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover,
.card-link:focus { text-decoration: underline; }
.about p { max-width: 60ch; }

/* Kurze Einleitung unter einer Sektions-Headline. */
.section-lead {
  max-width: 52ch;
  margin: -0.5rem 0 1.75rem;
}

/* Über uns — Text links, rechts die beiden Fotos (Café in Leipzig, Teefeld in
   Ujitawara) leicht versetzt übereinander. Auf schmalen Screens stapeln sie. */
.about-inner {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
}
.about-text {
  max-width: 60ch;
  margin: 0;
}
@media (min-width: 820px) {
  .about-inner {
    grid-template-columns: 1fr minmax(15rem, 38%);
    align-items: start;
  }
}

.about-figs { position: relative; }
.about-fig {
  width: 80%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
/* Farm-Foto liegt hinten, das Café-Foto überdeckt es oben. */
.about-fig--farm {
  margin-left: auto;
  margin-top: -14%;
}
.about-fig--cafe {
  margin-right: auto;
  position: relative;
  z-index: 1;
}
@media (max-width: 480px) {
  .about-fig { width: 88%; }
  .about-fig--farm { margin-top: -11%; }
}

/* ---------- Galerie ----------
   Desktop: Mauerwerk über CSS-Spalten — die Bilder behalten ihr echtes Seiten-
   verhältnis, Hoch- und Querformate mischen sich, das wirkt bewusst verspielt.
   Telefon-Breiten: ein horizontaler Slider mit Scroll-Snap, damit die Galerie
   beim Scrollen wenig vertikalen Platz frisst. Alles first-party, kein externer Code. */
.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3 15rem;
  column-gap: 1rem;
}
.gallery-grid > li {
  break-inside: avoid;
  margin: 0 0 1rem;
}
.tile {
  display: block;
  width: 100%;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}
.tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.tile:hover img,
.tile:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1.03);
}
.tile:focus-visible { outline-offset: -3px; }

/* Video-Kacheln in der Galerie: gleiche Optik wie .tile, aber ohne Button/
   Lightbox-Verhalten — autoplay/loop/muted-Clips sind reine Deko, kein Inhalt
   zum Aufklappen. */
.gallery-video {
  display: block;
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-video video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: color-mix(in srgb, var(--fg) 8%, var(--bg));
}
/* Eiswürfel-Clip ist im Rohmaterial hochkant — hier fest ins Porträtformat
   gecroppt, damit er sich als Hochformat-Kachel ins Mauerwerk einfügt. */
.gallery-video--portrait video {
  aspect-ratio: 3 / 4;
}

/* Slider-Modus: unter 700 px wird die Galerie zu einer wischbaren Reihe.
   78 % Breite pro Kachel lassen die nächste anschneiden — der sichtbare
   Hinweis, dass es seitwärts weitergeht. */
@media (max-width: 700px) {
  .gallery-grid {
    columns: auto;
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--brand) transparent;
  }
  .gallery-grid > li {
    flex: 0 0 78%;
    margin: 0;
    scroll-snap-align: center;
  }
  .tile,
  .gallery-video { aspect-ratio: 4 / 5; }
  .tile img,
  .gallery-video video { height: 100%; object-fit: cover; }
}

/* ---------- Karte ----------
   Getränke als Namensliste mit ❄/🌡-Marker (aus der Kunden-Karte). Ab Tablet
   stehen beide Gruppen nebeneinander; auf dem Telefon schaltet die Segment-Leiste
   um (main.js setzt data-menu-ready + .is-active). Ohne JS bleiben beide sichtbar.
   Darunter eine Foto-Reihe der Getränke (Desktop mehrere, Telefon nur eines). */
.menu {
  position: relative;
  overflow: hidden;
}
.menu-deko {
  position: absolute;
  top: clamp(.25rem, 3vw, 1.25rem);
  right: -0.75rem;
  width: min(40%, 260px);
  height: auto;
  opacity: .45;
  pointer-events: none;
  user-select: none;
}
.menu > :not(.menu-deko) { position: relative; }
@media (max-width: 600px) {
  .menu-deko { width: 170px; opacity: .32; }
}

.menu-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.1rem;
  margin: 0 0 1.5rem;
  font-size: .82rem;
  color: color-mix(in srgb, var(--fg) 72%, var(--bg));
}
.menu-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.menu-legend svg { width: .95rem; height: .95rem; color: var(--matcha); display: block; }

.menu-tabs {
  display: inline-flex;
  gap: .25rem;
  margin: 0 0 1.5rem;
  padding: .28rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
}
.menu-tab {
  border: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
}
.menu-tab[aria-selected="true"] {
  background: var(--action);
  color: var(--brand-ink);
}
@media (min-width: 720px) {
  .menu-tabs { display: none; }
}

.menu-groups {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
}
@media (min-width: 720px) {
  .menu-groups { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 4rem); }
}
@media (max-width: 719px) {
  .menu[data-menu-ready] .menu-group { display: none; }
  .menu[data-menu-ready] .menu-group.is-active { display: block; }
  .menu[data-menu-ready] .menu-group > .menu-group-title { display: none; }
}

.menu-group-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.menu-group-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--brand);
  margin-top: .5rem;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: .4rem 0; }
.menu-item-name { font-weight: 600; }
.menu-item-temp {
  display: inline-flex;
  gap: .1rem;
  margin-left: .35rem;
  color: var(--matcha);
  vertical-align: middle;
}
.menu-item-temp svg { width: .82rem; height: .82rem; display: block; }
.menu-item-desc {
  display: block;
  margin-top: .05rem;
  font-size: .78rem;
  line-height: 1.25;
  color: color-mix(in srgb, var(--fg) 70%, var(--bg));
}

.menu-milk { margin-top: clamp(2rem, 5vw, 3rem); }
.menu-milk p { margin: 0; }

.menu-note {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  font-size: .85rem;
  color: color-mix(in srgb, var(--fg) 70%, var(--bg));
}

/* Foto-Reihe der Matcha Lattes unter dem Menü — dieselbe Foto-Reihen-Optik
   trägt auch die Kuchen-Sektion (.cake-photos). */
.menu-photos,
.cake-photos {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, 1fr);
}
.menu-photos img,
.menu-photos video,
.cake-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: color-mix(in srgb, var(--fg) 8%, var(--bg));
}
@media (max-width: 900px) {
  .menu-photos,
  .cake-photos { grid-template-columns: 1fr 1fr; }
  .menu-photos li:nth-child(n + 3),
  .cake-photos li:nth-child(n + 3) { display: none; }
}
@media (max-width: 620px) {
  .menu-photos,
  .cake-photos { grid-template-columns: 1fr; }
  .menu-photos li:nth-child(n + 2),
  .cake-photos li:nth-child(n + 2) { display: none; }
}

/* ---------- Teeauswahl ----------
   Volle Breite, vier Geschmacksgruppen als Karten-Akkordeon (name="tee" → immer
   nur eine offen). Jede Karte: Foto-Chip + Name + Geschmack + Ein-Satz-Erklärung.
   Ausgeklappt fließen die Sorten in ein mehrspaltiges Raster (füllt die Breite). */
.tea-groups {
  margin-top: 1.5rem;
  display: grid;
  gap: .9rem;
}
.tea-group {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 4%, var(--bg));
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}
.tea-group > summary {
  cursor: pointer;
  display: block;
  list-style: none;
  padding: .9rem 2rem .9rem 0;
  position: relative;
}
.tea-group > summary::-webkit-details-marker { display: none; }
/* Plus/Minus-Indikator rechts. */
.tea-group > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--brand);
}
.tea-group[open] > summary::after { content: "\2013"; }
.tea-cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .7rem;
}
.tea-group-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand);
  font-size: .98rem;
}
.tea-group-taste {
  font-size: .78rem;
  font-style: italic;
  color: color-mix(in srgb, var(--fg) 66%, var(--bg));
}
.tea-group-hint {
  display: block;
  margin-top: .15rem;
  font-size: .86rem;
  color: color-mix(in srgb, var(--fg) 80%, var(--bg));
}
.tea-list {
  list-style: none;
  margin: 0;
  padding: .25rem 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .3rem 1.25rem;
}
/* Tablet: zwei nebeneinander, Desktop: immer drei in einer Reihe. */
@media (min-width: 560px) {
  .tea-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .tea-list { grid-template-columns: repeat(3, 1fr); }
}
.tea-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .3rem 0;
}
/* Foto der losen Teeblätter (freigestellt, PNG-Herkunft → WebP mit Alpha). */
.tea-img {
  flex-shrink: 0;
  width: clamp(52px, 13vw, 66px);
  height: clamp(52px, 13vw, 66px);
  object-fit: contain;
}
.tea-text { min-width: 0; }
.tea-name { font-weight: 600; font-size: .96rem; }
.tea-meta {
  display: block;
  margin-top: .1rem;
  font-size: .8rem;
  color: color-mix(in srgb, var(--fg) 70%, var(--bg));
}
.tea-tag {
  display: inline-block;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--action);
  border: 1px solid color-mix(in srgb, var(--action) 45%, var(--bg));
  border-radius: 999px;
  padding: 0 .4em;
  vertical-align: .1em;
  white-space: nowrap;
}
.tea-legend {
  display: block;
  margin-top: .4rem;
  font-size: .82rem;
  color: color-mix(in srgb, var(--fg) 68%, var(--bg));
}

/* Herbst-Special-Pille auf der Matcha-Karte (Pumpkin Spice Matcha) — gleiche
   Form wie .tea-tag, aber als volle Fläche in Kürbis-Orange, damit sie aus der
   sonst grünen Liste heraussticht. */
.seasonal-tag {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--autumn);
  border-radius: 999px;
  padding: .18em .55em;
  margin-left: .4rem;
  vertical-align: .1em;
  white-space: nowrap;
}

/* ---------- Kuchen ----------
   Foto-Reihe (Bestandsbilder aus der Galerie, bewusst nicht pro Kuchen
   sondern als Sektions-Aufmacher) + Namensliste der Dauerbrenner + ein
   Herbst-Banner für das saisonale Special. Selbe Bausteine wie Karte/Tee
   (section-lead, menu-note, tea-tag für „vegan"), nur der Herbst-Banner ist neu. */
.cake-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 560px) {
  .cake-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
.cake-item {
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

/* Zweispaltiges Layout der Kuchen-Sektion auf der Getränke-&-Kuchen-Unterseite
   (Text links, Fotos rechts) — gleiches Prinzip wie .about-inner. */
.cakes-layout {
  margin-top: 1.5rem;
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
}
@media (min-width: 820px) {
  .cakes-layout { grid-template-columns: 1fr minmax(15rem, 38%); align-items: start; }
}

/* Zwei versetzte Fotos — gleiches Prinzip wie .about-figs (Café/Farm), als
   eigenständige, wiederverwendbare Komponente. */
.photo-duo { position: relative; }
/* Einzelfoto statt Duo (z. B. Zeremoniell/Kulinarisch): mittig statt oben
   ausgerichtet, damit bei kürzerem Bild kein Leerraum unten entsteht. */
@media (min-width: 820px) {
  .photo-duo--single { align-self: center; }
}
.photo-duo img {
  width: 80%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.photo-duo img:first-child:not(:only-child) {
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.photo-duo img:last-child:not(:only-child) {
  margin-left: auto;
  margin-top: -14%;
}
@media (max-width: 480px) {
  .photo-duo img { width: 88%; }
  .photo-duo img:last-child:not(:only-child) { margin-top: -11%; }
}

/* Bestell-Hinweis am Ende des Kuchen-Abschnitts — gleiche Box wie .contact
   (Rahmen/Radius/Padding), aber schlank einzeilig: Text links, CTA rechts. */
.cake-order {
  margin-top: clamp(2rem, 5vw, 3rem);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: color-mix(in srgb, var(--brand) 9%, var(--bg));
}
.cake-order p { margin: 0; max-width: 38ch; }

/* ---------- Getränke-&-Kuchen-Teaser (Startseite) ----------
   Bewusst kein Karten-Grid wie „Unser Angebot" direkt darüber — sonst sehen
   sich beide Sektionen zum Verwechseln ähnlich. Stattdessen wie .about-inner:
   ein Foto-Duo auf der einen Seite, auf der anderen eine schlanke Link-Liste
   (Icon + verlinkte Überschrift + ein Satz) statt dreier randloser Bild-Karten. */
.teaser-layout {
  margin-top: 1.75rem;
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
}
@media (min-width: 820px) {
  .teaser-layout { grid-template-columns: 1fr minmax(15rem, 38%); align-items: center; }
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.link-list-item:first-child { padding-top: 0; }
.link-list-item .icon {
  width: 34px;
  height: 34px;
  margin-top: .15rem;
  flex-shrink: 0;
}
.link-list-item h3 { margin: 0 0 .3rem; }
.link-list-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--brand);
}
.link-list-title:hover,
.link-list-title:focus-visible { text-decoration: underline !important; }
.link-list-item p { margin: 0; font-size: .92rem; }

/* Herbst-Banner fürs saisonale Special — Kürbis-Orange statt Markengrün,
   damit „nur ab und zu im Laden" auch optisch als Ausnahme lesbar ist. */
.seasonal-banner {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--autumn-bg);
  border: 1.5px solid var(--autumn-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.seasonal-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--autumn);
}
.seasonal-kicker {
  margin: 0 0 .2rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--autumn);
}
.seasonal-title {
  margin: 0 0 .35rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
}
.seasonal-text {
  margin: 0;
  font-size: .9rem;
  color: color-mix(in srgb, var(--fg) 78%, var(--bg));
}
@media (max-width: 480px) {
  .seasonal-banner { flex-direction: column; }
}

/* ---------- Gästestimme ----------
   Eine einzelne Stimme in freiem, asymmetrischem Layout — bewusst keine Karte,
   kein Rahmen, kein Slider. Das Erlebnis-Foto steht leicht schräg neben einem
   großen Zitat, ein übergroßes Anführungszeichen bricht aus dem Text aus.
   Verspielter Markenton („kleine Portion Kawaii"), aber Creme/Grün wie überall. */
.testimonial {
  margin: 0;
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 780px) {
  .testimonial {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* Erlebnis-Foto: schräg gestellt, weich gerundet, mit gestecktem „… gebucht"-Sticker.
   Quelle 560 px für max. ~330 px Anzeige → 2×-Bildregel eingehalten. */
.testimonial-photo {
  position: relative;
  width: min(20rem, 78%);
  justify-self: center;
  rotate: -2.5deg;
}
.testimonial-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.testimonial-badge {
  position: absolute;
  right: -0.9rem;
  bottom: 1.4rem;
  background: var(--action);
  color: var(--brand-ink);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .4rem .85rem;
  border-radius: 999px;
  rotate: 5deg;
  box-shadow: 0 3px 0 color-mix(in srgb, var(--brand) 35%, transparent);
}

.testimonial-body {
  position: relative;
  min-width: 0;
  padding-top: 1.5rem;
}
/* Übergroßes Deko-Anführungszeichen, bricht oben links aus dem Zitat aus. */
.testimonial-body::before {
  content: "\201E";
  position: absolute;
  top: -1.4rem;
  left: -0.5rem;
  font-size: 5.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--brand) 26%, transparent);
  pointer-events: none;
}
.testimonial-kicker {
  margin: 0 0 .6rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
}
.testimonial-quote {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.5;
  color: var(--fg);
  text-wrap: pretty;
}
.testimonial-by {
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.testimonial-stars {
  color: var(--matcha);
  letter-spacing: .18em;
  font-size: 1rem;
  margin-bottom: .3rem;
}
.testimonial-name {
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .9rem;
}
.testimonial-what {
  font-size: .95rem;
  color: color-mix(in srgb, var(--fg) 78%, var(--bg));
}

.reviews-note {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  font-size: .9rem;
  color: color-mix(in srgb, var(--fg) 72%, var(--bg));
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-photo { rotate: none; }
  .testimonial-badge { rotate: none; }
}

/* ---------- Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--fg) 93%, transparent);
}
.lb-stage {
  margin: 0;
  max-width: min(72rem, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg);
}
.lb-btn {
  position: absolute;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover { filter: brightness(0.95); }
.lb-close { top: clamp(1rem, 4vw, 2rem); right: clamp(1rem, 4vw, 2rem); }
.lb-prev { left: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev { top: auto; bottom: clamp(1rem, 4vw, 2rem); transform: none; }
  .lb-next { top: auto; bottom: clamp(1rem, 4vw, 2rem); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tile img { transition: none; }
}

/* ---------- Zeremoniell vs. kulinarisch ----------
   Zwei gleich aufgebaute Blöcke nebeneinander ab Desktop — je ein Icon,
   dieselbe Größe/Farbe, damit beide wirklich analog aussehen. */
.matcha-duo {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .matcha-duo { grid-template-columns: 1fr 1fr; }
}
.matcha-mini { display: flex; flex-direction: column; align-items: flex-start; }
.matcha-mini h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--brand);
}
.matcha-mini p { margin: 0; }
.matcha-icon { width: 32px; height: 32px; margin-bottom: .9rem; color: var(--brand); }

/* Hervorgehobener Hinweis auf den puren Matcha-Shot — gleicher Grundton wie
   .cake-order (Rahmen/Radius/Markengrün-Tint), aber als reiner Textblock
   ohne CTA, da hier an der Theke statt per Mail bestellt wird. */
.matcha-highlight {
  margin-top: 1.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  background: color-mix(in srgb, var(--brand) 9%, var(--bg));
}
.matcha-highlight p { margin: 0; max-width: 52ch; }

/* ---------- Events-Seite ----------
   Eigene Bausteine für events.html, bewusst anders als die Icon-Listen der
   übrigen Seiten: Event-Karten als <details> mit Datums-Chip (Termine bleiben
   auf den ersten Blick überschaubar, Details öffnen sich erst per Antippen
   — mobile first, kein Infowall), dazu ein kräftig grünes CTA-Banner für
   Gruppentreffen und ein zweispaltiges Text/Foto-Layout fürs Event-Mieten. */
.event-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.event-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.event-card[open] { background: color-mix(in srgb, var(--brand) 4%, var(--bg)); }
.event-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.event-summary::-webkit-details-marker { display: none; }
.event-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.event-date {
  flex-shrink: 0;
  width: 54px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .35rem 0;
  background: var(--bg);
}
.event-date-day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}
.event-date-month {
  display: block;
  margin-top: .2rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fg) 68%, var(--bg));
}
.event-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.event-summary-body { flex: 1; min-width: 0; }
.event-title {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .96rem;
}
.event-teaser {
  display: block;
  margin-top: .2rem;
  font-size: .86rem;
  color: color-mix(in srgb, var(--fg) 78%, var(--bg));
}
/* Fällt schon auf der zugeklappten Karte auf: Aktionsgrün statt der sonst
   dezenten Teaser-Farbe, damit "Anmeldung nötig" nicht im Antippen der Karte
   untergeht. Kein eigener Link (die ganze Kachel ist schon der Klick-Bereich
   zum Aufklappen) — der tatsächliche Anmelde-Button steckt in den Details. */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--action);
  border-radius: 999px;
  padding: .25em .7em;
}
.event-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.event-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-toggle svg { width: 16px; height: 16px; color: var(--brand); transition: transform .25s ease; }
.event-card[open] .event-toggle svg { transform: rotate(180deg); }

/* Schmale Screens: Datum und Bild kosten nebeneinander zu viel Breite für den
   Titeltext. Untereinander gestapelt bleibt der Klick-Bereich gleich groß,
   braucht aber nur noch die Breite des breiteren der beiden Elemente. */
@media (max-width: 400px) {
  .event-summary { gap: .75rem; padding: .85rem 1rem; }
  .event-visual { flex-direction: column; gap: .35rem; }
  .event-date { width: 48px; }
  .event-thumb { width: 48px; height: 48px; }
}

.event-details { padding: 0 1.25rem 1.5rem; }
.event-details p { margin: 0 0 1rem; }
.event-details h3 { margin: 0 0 .75rem; font-size: .92rem; }

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.slot {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 700;
  color: var(--brand);
}

/* Kräftiges CTA-Banner für Community-Treffen (Buchclub, Häkelclub …) — volle
   Aktionsgrün-Fläche statt der sonst üblichen Creme-mit-Rahmen-Bausteine,
   damit der Aufruf zwischen den Event-Karten als eigener Blickfang steht. */
.cta-banner {
  margin-top: 1.75rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--action);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.cta-banner-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--brand-ink); }
.cta-banner-kicker {
  margin: 0 0 .3rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-ink) 85%, transparent);
}
.cta-banner-title { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--brand-ink); }
.cta-banner-text { margin: 0 0 1.1rem; font-size: .92rem; color: color-mix(in srgb, var(--brand-ink) 92%, transparent); }
.cta--ghost {
  background: transparent;
  border: 1.5px solid var(--brand-ink);
}
.cta--ghost:hover { background: color-mix(in srgb, var(--brand-ink) 16%, transparent); filter: none; }
@media (max-width: 480px) {
  .cta-banner { flex-direction: column; }
}

.rent-layout {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
}
@media (min-width: 820px) {
  .rent-layout { grid-template-columns: 1fr minmax(15rem, 38%); align-items: center; }
}
.rent-fig {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ---------- Kontakt — zweispaltig mit vertikaler Trennlinie wie die Flyer-Fußzeile ---------- */
.contact {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 2rem;
}
@media (min-width: 720px) {
  .contact { grid-template-columns: 1fr 1fr; }
  .contact > div + div {
    border-left: 2px solid var(--brand);
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
  }
}
.contact h3 {
  margin: 0 0 .9rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
}
.contact p { margin: 0 0 .35rem; }
.contact address {
  font-style: normal;
  margin: 0 0 .35rem;
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal .prose {
  max-width: var(--maxw-prose);
}
.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 1.5rem;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
}
/* In den Rechtstexten keine Haarlinien unter jeder Zwischenüberschrift — zu unruhig. */
.legal h2::after { display: none; }
.legal p,
.legal address { margin: 0 0 1rem; }
.legal address { font-style: normal; }
/* Platzhalter, die pro Kunde gefüllt werden — sichtbar markiert. */
.legal mark,
.ph {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: inherit;
  padding: 0 .25em;
  border-radius: 4px;
}
.back-home {
  display: inline-block;
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  font-size: .9rem;
}
footer.site .fbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
footer.site a { color: var(--link); }
footer.site .social-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--link);
}
footer.site .social-link:hover { color: var(--fg); }
footer.site .social-link svg { display: block; }

/* Nur für Screenreader — visuell entfernt, aber als Überschrift im
   Accessibility-Baum erhalten (die Sektion behält so ihren Namen). */
.se-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Japanische Deko-Akzente ----------
   Kleine, rein visuelle Elemente hinter dem Inhalt: Kirschblüten-/Teeblatt-SVGs
   in den Ecken (aus dem Kunden-Design abgeleitet), ein paar sehr blasse japanische
   Wörter als Textur und leise rieselnde Kirschblütenblätter. Macht die Seite
   lebendiger und persönlicher. Alles first-party, aria-hidden, pointer-events:none
   und per isolation/z-index immer HINTER dem Text — Kontrast bleibt unberührt.
   Die SVG-Motive haben ~18–24 px Innenrand, damit an keiner Kante etwas
   abgeschnitten wirkt; die Motiv-Boxen bleiben zudem vollständig in der Sektion. */
/* Inhalt liegt vor der Blätter-Ebene (.petals, z-index:0); die Flächen von
   main/section sind transparent, daher rieseln die Blätter sichtbar dahinter. */
main {
  position: relative;
  z-index: 1;
}
main > .wrap > section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

[data-deko]::before,
[data-deko]::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .5;
}

/* Kirschblütenzweig — oben rechts bzw. (gespiegelt) unten rechts. */
[data-deko~="sakura-tr"]::before,
[data-deko~="sakura-br"]::after {
  background-image: url("../img/deko-sakura.svg");
  width: min(42vw, 288px);
  aspect-ratio: 408 / 248;
}
[data-deko~="sakura-tr"]::before { top: clamp(1rem, 4vw, 2rem); right: 0; }
[data-deko~="sakura-br"]::after {
  bottom: clamp(1rem, 4vw, 2rem);
  right: 0;
  opacity: .4;
  transform: scaleX(-1) rotate(4deg);
}

/* Kleiner Blütenzweig in einer Ecke. */
[data-deko~="sprig-tr"]::before,
[data-deko~="sprig-bl"]::after,
[data-deko~="sprig-br"]::after {
  background-image: url("../img/deko-sprig.svg");
  width: clamp(66px, 12vw, 118px);
  aspect-ratio: 156 / 196;
}
[data-deko~="sprig-tr"]::before { top: clamp(1rem, 4vw, 2rem); right: .5rem; }
[data-deko~="sprig-br"]::after { bottom: clamp(.75rem, 3vw, 1.5rem); right: .5rem; opacity: .42; }
[data-deko~="sprig-bl"]::after {
  bottom: clamp(.75rem, 3vw, 1.5rem);
  left: .5rem;
  transform: scaleX(-1) rotate(-8deg);
  opacity: .4;
}

/* Teeblatt-Zweig, unten links. */
[data-deko~="leaf-bl"]::after {
  background-image: url("../img/deko-leaf.svg");
  width: clamp(52px, 9vw, 84px);
  aspect-ratio: 156 / 196;
  bottom: .25rem;
  left: .25rem;
  opacity: .34;
  transform: rotate(-10deg);
}

/* Sehr blasse japanische Wörter — reine Textur, in den Randzonen ohne Fließtext. */
.jp-accent {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  white-space: nowrap;
  color: color-mix(in srgb, var(--brand) 24%, var(--bg));
}
.jp-accent--angebot { bottom: 3%; right: 3%; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.jp-accent--getraenke { bottom: 3%; right: 3%; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.jp-accent--kuchen { top: 1rem; left: 1.5rem; font-size: clamp(1.05rem, 2.3vw, 1.5rem); }
.jp-accent--ueber { bottom: 3%; right: 3%; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.jp-accent--galerie { top: 1rem; left: 1.5rem; font-size: clamp(1.05rem, 2.3vw, 1.5rem); }
.jp-accent--kontakt { bottom: 5%; left: 3%; font-size: clamp(1.2rem, 2.8vw, 1.75rem); }
.jp-accent--events { top: 1rem; left: 1.5rem; font-size: clamp(1.05rem, 2.3vw, 1.5rem); }
.jp-accent--mieten { bottom: 3%; right: 3%; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.jp-accent--unterwegs { top: 1rem; left: 1.5rem; font-size: clamp(1.05rem, 2.3vw, 1.5rem); }

/* Japanisches Pendant, klein über der Überschrift. */
.h-jp {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: none;
  color: var(--fg);
  margin-bottom: .35rem;
}

/* Footer: ein kleines Blütenmotiv am Rand. */
footer.site {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 1;
}
footer.site::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  width: 60px;
  aspect-ratio: 156 / 196;
  background: url("../img/deko-sprig.svg") no-repeat center / contain;
  opacity: .35;
}

/* ---------- Rieselnde Kirschblütenblätter ----------
   Eine feste Ebene hinter dem Inhalt (main/footer liegen per z-index davor,
   ihre Flächen sind transparent, daher scheinen die Blätter durch). Zehn
   Blätter, langsamer, leicht schwingender Fall. Bei prefers-reduced-motion aus. */
.petals {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.petals i {
  position: absolute;
  top: -6%;
  width: var(--sz, 12px);
  height: calc(var(--sz, 12px) * 1.08);
  background: linear-gradient(135deg, #f4d0dc 0%, #e7aec1 100%);
  border-radius: 100% 0 60% 100% / 100% 0 100% 60%;
  opacity: 0;
  will-change: transform;
  animation: petal-fall linear infinite;
}
@keyframes petal-fall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: .6; }
  25%  { transform: translate(-26px, 26vh) rotate(120deg); }
  50%  { transform: translate(20px, 52vh) rotate(220deg); }
  75%  { transform: translate(-16px, 78vh) rotate(320deg); }
  92%  { opacity: .55; }
  100% { transform: translate(10px, 106vh) rotate(430deg); opacity: 0; }
}
.petals i:nth-child(1)  { left:  4%; --sz: 12px; animation-duration: 15s; animation-delay:  -1s; }
.petals i:nth-child(2)  { left: 16%; --sz: 10px; animation-duration: 19s; animation-delay:  -7s; }
.petals i:nth-child(3)  { left: 27%; --sz: 13px; animation-duration: 13s; animation-delay:  -3s; }
.petals i:nth-child(4)  { left: 38%; --sz: 14px; animation-duration: 21s; animation-delay: -12s; }
.petals i:nth-child(5)  { left: 49%; --sz:  9px; animation-duration: 17s; animation-delay:  -5s; }
.petals i:nth-child(6)  { left: 60%; --sz: 12px; animation-duration: 16s; animation-delay:  -9s; }
.petals i:nth-child(7)  { left: 70%; --sz: 11px; animation-duration: 20s; animation-delay:  -2s; }
.petals i:nth-child(8)  { left: 80%; --sz: 13px; animation-duration: 14s; animation-delay: -11s; }
.petals i:nth-child(9)  { left: 89%; --sz: 13px; animation-duration: 18s; animation-delay:  -6s; }
.petals i:nth-child(10) { left: 96%; --sz: 10px; animation-duration: 22s; animation-delay:  -4s; }

@media (max-width: 600px) {
  [data-deko~="sakura-tr"]::before,
  [data-deko~="sakura-br"]::after { width: 172px; opacity: .38; }
  footer.site::before { display: none; }
  .petals i:nth-child(2),
  .petals i:nth-child(5),
  .petals i:nth-child(8) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
}