/* Lumaya Coffee & Matcha – Website
   Aufbau nach dem Vorbild klassischer Foodtruck-Seiten, Optik aber boho/hell.
   Diese Datei gilt für alle Seiten. Farben und Abstände stehen ganz oben. */

@import url("schriften/lumaya-schriften.css");

:root {
  /* Farben */
  --creme:        #FAF6EF;   /* Grundfläche */
  --sand:         #F1E8DA;   /* zweite Fläche, für abwechselnde Abschnitte */
  --sand-tief:    #E7DAC7;
  --gruen:        #2E5E4E;   /* Markenfarbe */
  --gruen-tief:   #1E4034;
  --gruen-hell:   #4C8071;
  --matcha:       #A9C0A0;
  --terra:        #C08462;   /* warmer Akzent */
  --text:         #2B2622;
  --text-leise:   #6E6459;
  --linie:        rgba(46, 94, 78, 0.18);

  /* Schrift */
  --serif:  "Playfair Display", Georgia, serif;
  --sans:   "Karla", "Segoe UI", system-ui, sans-serif;

  /* Abstände */
  --breite:    1180px;
  --schmal:    720px;
  --abstand:   clamp(4.5rem, 9vw, 8rem);
  --rand:      clamp(1.25rem, 5vw, 3rem);
  --rundung:   18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Schrift ---------- */

h1, h2, h3, .zahl {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--gruen-tief);
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gruen); }

/* kleine Vorzeile über Überschriften */
.vorzeile {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 1.1rem;
}

.gross { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.65; color: var(--text-leise); }

/* ---------- Bausteine ---------- */

.huelle { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.huelle-schmal { max-width: var(--schmal); margin-inline: auto; padding-inline: var(--rand); }

section { padding-block: var(--abstand); }
.flaeche-sand { background: var(--sand); }
.mitte { text-align: center; }

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;              /* groß genug für den Daumen */
  padding: 0 2rem;
  border: 1.5px solid var(--gruen);
  border-radius: 999px;
  background: var(--gruen);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.knopf:hover { background: var(--gruen-tief); border-color: var(--gruen-tief); transform: translateY(-2px); }

.knopf-leer { background: transparent; color: var(--gruen); }
.knopf-leer:hover { background: var(--gruen); color: var(--creme); }

.knopf-hell { background: transparent; border-color: rgba(250,246,239,.7); color: var(--creme); }
.knopf-hell:hover { background: var(--creme); border-color: var(--creme); color: var(--gruen-tief); }

.knopf-voll-hell { background: var(--creme); border-color: var(--creme); color: var(--gruen-tief); }
.knopf-voll-hell:hover { background: #fff; border-color: #fff; color: var(--gruen-tief); transform: translateY(-2px); }

.knopf-reihe { display: flex; flex-wrap: wrap; gap: 1rem; }
.mitte .knopf-reihe { justify-content: center; }

/* Bildflächen: solange kein Foto da ist, greift der Farbverlauf dahinter.
   Sobald die Datei in bilder/ liegt, erscheint sie automatisch. */
.bild {
  background-color: var(--sand-tief);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bild-gruen  { background-image: linear-gradient(150deg, #376A58 0%, #24503F 55%, #1A3B2F 100%); }
.bild-matcha { background-image: linear-gradient(150deg, #B9CDA9 0%, #8FAE86 60%, #5E8465 100%); }
.bild-sand   { background-image: linear-gradient(150deg, #EBDCC5 0%, #D9C3A4 60%, #BFA484 100%); }
.bild-terra  { background-image: linear-gradient(150deg, #D9A183 0%, #C08462 60%, #96603F 100%); }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem var(--rand);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.kopf.gescrollt {
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--linie);
  padding-block: 0.6rem;
}

/* Die Logo-Dateien (2000x2000) sind quadratisch mit viel Luft oben und unten.
   Wir zeigen nur den Ausschnitt mit dem Schriftzug.

   Gemessen in allen drei Dateien: Inhalt liegt bei y 768..1267, also 500 px hoch
   bei 1942 px Breite -> 3,88 : 1. Der Schriftzug sitzt aber NICHT mittig, sondern
   18 px zu tief (Mitte y=1018 statt 1000). Bei einem zentrierten 3,89er Zuschnitt
   endet das Fenster deshalb bei y 1257 und kappt die untere Kante von
   "COFFEE & MATCHA".

   3,6 macht das Fenster hoch genug (y 722..1278), damit der Versatz aufgeht.
   Wer diesen Wert erhoehen will, muss vorher nachmessen - ab 3,74 wird geschnitten. */
.logo-bild { aspect-ratio: 3.6; object-fit: cover; object-position: center; width: auto; }

.kopf-logo img { height: 38px; transition: height .3s; }
.kopf.gescrollt .kopf-logo img { height: 32px; }
.kopf-logo .hell { display: block; }
.kopf-logo .dunkel { display: none; }
.kopf.gescrollt .kopf-logo .hell { display: none; }
.kopf.gescrollt .kopf-logo .dunkel { display: block; }

.kopf-menue { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.kopf-menue a {
  color: var(--creme);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.kopf-menue a:hover { border-bottom-color: currentColor; }
.kopf.gescrollt .kopf-menue a { color: var(--gruen-tief); }

.kopf-menue .knopf { min-height: 46px; padding: 0 1.4rem; font-size: 0.9rem; border-bottom: none; text-transform: uppercase; }
.kopf-menue .knopf:hover { border-bottom: none; }
.kopf.gescrollt .kopf-menue .knopf { background: var(--gruen); color: var(--creme); border-color: var(--gruen); }

/* Menü-Knopf fürs Handy */
.menue-knopf {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  border: 0; background: transparent;
  cursor: pointer;
  color: var(--creme);
}
.kopf.gescrollt .menue-knopf { color: var(--gruen-tief); }
.menue-knopf span {
  display: block; height: 2px; width: 26px;
  background: currentColor; margin: 5px auto;
  transition: transform .25s, opacity .25s;
}

/* Handy-Menü, das sich über die Seite legt */
.menue-tafel {
  position: fixed; inset: 0; z-index: 99;
  background: var(--gruen-tief);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 0.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.menue-tafel.offen { opacity: 1; visibility: visible; }
.menue-tafel a {
  color: var(--creme);
  font-family: var(--serif);
  font-size: 1.9rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
}
.menue-tafel .knopf { font-family: var(--sans); font-size: 1rem; margin-top: 1.5rem; }

@media (max-width: 940px) {
  .kopf-menue { display: none; }
  .menue-knopf { display: block; }
}

/* ---------- Kopfbereich der Startseite ---------- */

.buehne {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6.5rem var(--rand) 5.5rem;
  color: var(--creme);
  overflow: hidden;
}
/* Schleier über dem Video. Zwei Lagen:
   1. ein weicher dunkler Fleck genau hinter Logo, Überschrift und Knöpfen –
      der hält die Schrift auch in den hellsten Momenten des Videos lesbar,
   2. ein Verlauf oben/unten für Kopfzeile und unteren Rand.
   Außen bleibt das Video dadurch fast unverändert hell. */
.buehne::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 72% 62% at 50% 47%,
      rgba(22,48,39,.64) 0%, rgba(22,48,39,.42) 55%, rgba(22,48,39,0) 85%),
    linear-gradient(180deg,
      rgba(22,48,39,.58) 0%, rgba(22,48,39,.22) 45%, rgba(22,48,39,.70) 100%);
}
/* Auf dem Handy wird das Video seitlich beschnitten, dadurch bleibt genau der
   hellste Bildbereich stehen. Deshalb hier ein kräftigerer Schleier. */
@media (max-width: 820px) {
  .buehne::after {
    background:
      radial-gradient(ellipse 88% 56% at 50% 45%,
        rgba(22,48,39,.68) 0%, rgba(22,48,39,.45) 60%, rgba(22,48,39,.18) 88%),
      linear-gradient(180deg,
        rgba(22,48,39,.62) 0%, rgba(22,48,39,.35) 45%, rgba(22,48,39,.72) 100%);
  }
}

.buehne > * { position: relative; z-index: 2; }

/* Hintergrundvideo: füllt den Bereich, wird notfalls beschnitten statt verzerrt */
.buehne-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.buehne-logo { width: min(340px, 72vw); margin: 0 auto 1.8rem; }
.buehne h1 { color: var(--creme); font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 16ch; margin-inline: auto; }
.buehne p { color: rgba(250,246,239,.9); font-size: clamp(1.02rem, 1.8vw, 1.22rem); max-width: 46ch; margin-inline: auto; margin-bottom: 2rem; }

.buehne-hinweis {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 1;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250,246,239,.75);
}
.buehne-hinweis::after {
  content: ""; display: block; width: 1px; height: 34px; margin: 0.6rem auto 0;
  background: rgba(250,246,239,.5);
  animation: tropfen 2s ease-in-out infinite;
}
@keyframes tropfen { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* kleinerer Kopfbereich für Unterseiten */
.buehne-klein { min-height: 58svh; }
.buehne-klein h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }

/* ---------- Zahlen ---------- */

.zahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--linie);
}
.zahl { font-size: clamp(2.8rem, 5vw, 3.8rem); color: var(--gruen); margin-bottom: 0.15em; }
.zahl-titel { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); margin-bottom: 0.4rem; }
.zahl-text { font-size: 0.95rem; color: var(--text-leise); margin: 0; }

/* ---------- Kacheln ---------- */

.kacheln { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.kachel {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px;
  padding: 2rem;
  border-radius: var(--rundung);
  overflow: hidden;
  color: var(--creme);
  text-decoration: none;
  isolation: isolate;
}
.kachel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: inherit; background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.kachel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,44,36,0) 30%, rgba(20,44,36,.78) 100%);
}
.kachel:hover::before { transform: scale(1.06); }
.kachel h3 { color: var(--creme); margin-bottom: 0.3rem; }
.kachel p { color: rgba(250,246,239,.85); font-size: 0.98rem; margin-bottom: 1.2rem; }
.kachel .mehr {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.kachel .mehr::after { content: "→"; transition: transform .25s; }
.kachel:hover .mehr::after { transform: translateX(5px); }

.kachel-hoch { min-height: 500px; }

/* ---------- Sortenübersicht ---------- */

.sorten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
/* Am Handy zwei nebeneinander – einzeln untereinander wäre eine endlose Kolonne */
@media (max-width: 700px) { .sorten { grid-template-columns: repeat(2, 1fr); } }

.sorte { margin: 0; }
.sorte-bild {
  aspect-ratio: 2 / 3;
  border-radius: var(--rundung);
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .3s ease;
}
.sorte:hover .sorte-bild { transform: translateY(-4px); }
.sorte figcaption {
  margin-top: 0.7rem;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--gruen-tief);
}

.bild-hinweis { margin-top: 2rem; font-size: 0.85rem; color: var(--text-leise); }

@media (prefers-reduced-motion: reduce) {
  .sorte:hover .sorte-bild { transform: none; }
}

/* ---------- Breites Bildband ---------- */

.band {
  position: relative;
  display: grid; place-items: center;
  text-align: center;
  min-height: 60vh;
  padding: var(--abstand) var(--rand);
  color: var(--creme);
  overflow: hidden;
}
.band::after { content: ""; position: absolute; inset: 0; background: rgba(20,44,36,.5); }

/* Langsames Zoomen/Wandern des Hintergrundbildes ("Ken Burns").
   ::before erbt das Hintergrundbild der Sektion und wird bewegt – das Bild
   selbst bleibt unangetastet. Der Schleier (::after) liegt darüber, der
   Kontrast ändert sich also nicht. */
.band-bewegt::before {
  content: ""; position: absolute; inset: -6%;
  background: inherit; background-size: cover; background-position: center;
  animation: schweben 26s ease-in-out infinite alternate;
}
@keyframes schweben {
  from { transform: scale(1)    translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, 1.5%, 0); }
}
.band > * { position: relative; z-index: 1; }
.band h2 { color: var(--creme); font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
.band p { color: rgba(250,246,239,.9); max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Zweispalter Text + Bild ---------- */

.zweispalt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.zweispalt .bild { min-height: 440px; border-radius: var(--rundung); }
@media (max-width: 820px) {
  .zweispalt { grid-template-columns: 1fr; }
  .zweispalt .bild { min-height: 300px; }
}

/* ---------- Standort-Anzeige ---------- */

.standort-karte {
  background: var(--creme);
  border: 1px solid var(--linie);
  border-radius: var(--rundung);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}
.standort-punkt {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1rem;
}
.standort-punkt::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--terra);
  animation: pochen 2s ease-in-out infinite;
}
@keyframes pochen { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(192,132,98,.5); } 50% { opacity: .6; box-shadow: 0 0 0 8px rgba(192,132,98,0); } }
.standort-ort { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--gruen-tief); margin-bottom: 0.4rem; }
.standort-zeit { color: var(--text-leise); margin-bottom: 1.6rem; }

/* ---------- Tabelle (technische Daten) ---------- */

/* Rahmen scrollt seitwärts, damit die Tabelle am Handy nichts sprengt */
.tabelle-rahmen { overflow-x: auto; border-radius: var(--rundung); border: 1px solid var(--linie); }
.daten-tabelle { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.98rem; }
.daten-tabelle th, .daten-tabelle td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; }
.daten-tabelle thead th {
  background: var(--sand); color: var(--gruen-tief);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.daten-tabelle tbody tr + tr { border-top: 1px solid var(--linie); }
.daten-tabelle td:first-child { font-weight: 600; color: var(--gruen-tief); }
.daten-tabelle td:nth-child(2) { white-space: nowrap; }
.daten-tabelle td:last-child { color: var(--text-leise); font-size: 0.92rem; }

/* ---------- Aufklappbare Fragen ---------- */

.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--gruen-tief);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--terra); line-height: 1;
}
.frage[open] summary::after { content: "–"; }
.frage p { padding-bottom: 1.3rem; color: var(--text-leise); }

/* ---------- Formular ---------- */

.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .feld-reihe { grid-template-columns: 1fr; } }

.feld { display: block; margin-bottom: 1.2rem; }
.feld > span {
  display: block; margin-bottom: 0.45rem;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gruen-tief);
}
.feld > span em { color: var(--terra); font-style: normal; }
.feld > span small { font-weight: 400; color: var(--text-leise); }

.feld input, .feld select, .feld textarea {
  width: 100%;
  min-height: 56px;              /* wie die Knöpfe: groß genug für den Daumen */
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--linie);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;          /* unter 16px zoomt iOS beim Antippen hinein */
  line-height: 1.5;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(46,94,78,.15);
}

/* Der Honigtopf muss für Bots im Quelltext stehen, für Menschen aber weg sein.
   display:none würde von manchen Bots erkannt – deshalb aus dem Bild schieben. */
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.feld-hinweis { font-size: 0.9rem; color: var(--text-leise); margin: 1.5rem 0; }

.formular-meldung { margin-top: 1rem; font-weight: 600; }
.formular-meldung.fehler { color: #A33B2A; }
.formular-danke { text-align: center; padding-block: 2rem; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--gruen-tief); color: rgba(250,246,239,.8); padding-block: 4rem 2rem; }
.fuss a { color: rgba(250,246,239,.8); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.fuss img { width: 190px; margin-bottom: 1.2rem; }
.fuss h4 {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--matcha);
  margin: 0 0 1rem;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fuss-unten {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(250,246,239,.15);
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
  font-size: 0.85rem;
}
@media (max-width: 780px) { .fuss-raster { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Sanftes Einblenden beim Scrollen ---------- */

.zeigen { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.zeigen.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zeigen { opacity: 1; transform: none; transition: none; }
  .buehne-hinweis::after, .standort-punkt::before, .band-bewegt::before { animation: none; }
}
