/* HaLi Café — Design-DNA: „Der Querschnitt".
   Alles ist eine Lage. Die Seite ist so aufgebaut wie der Mille Crêpe Cake des Hauses:
   dünne Schichten, übereinandergelegt, an der Kante sichtbar.
   Palette aus den echten Bildern und zwei Presseartikeln hergeleitet (Marmor, Samtgrün, Matcha,
   Rosé, Gold nur als Haarlinie) — nichts geraten. */
@import url('fonts.css');

:root {
  --matcha:      #6f8f5e;
  --matcha-satt: #46603d;
  --matcha-hell: #cfdcc4;
  --creme:       #faf6ef;
  --marmor:      #fffdfa;
  --rose:        #e9d3cb;
  --rose-tief:   #c58f80;
  --gold:        #c0a062;
  --tinte:       #2b2723;
  --tinte-weich: #6a6259;

  --h-crepe: clamp(5px, 1.05vw, 11px);
  --h-creme: clamp(2px, 0.36vw, 4px);
  --rund: 22px;
  --spalte: min(1180px, 92vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font: 400 clamp(16px, 1.05rem, 18px)/1.65 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 100, 'SOFT' 30;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
}

.spalte { width: var(--spalte); margin-inline: auto; }
img { max-width: 100%; display: block; }

/* ══════════ Ladebild: die Lagen stapeln sich auf ══════════ */
#lader {
  position: fixed; inset: 0; z-index: 90;
  background: var(--creme);
  display: grid; place-items: center;
  transition: opacity .7s ease .25s, visibility .7s ease .25s;
}
#lader.weg { opacity: 0; visibility: hidden; }
.stapel { width: min(240px, 58vw); display: grid; gap: 0; justify-items: center; }
.stapel i {
  display: block; width: 100%;
  background: var(--lage, var(--matcha-hell));
  transform: translateY(38px) scaleX(.6);
  opacity: 0;
  animation: lage-legen .42s cubic-bezier(.22,.9,.3,1) forwards;
}
.stapel i.crepe { height: var(--h-crepe); }
.stapel i.creme { height: var(--h-creme); }
.stapel i:first-child { border-radius: 5px 5px 0 0; }
.stapel i:last-of-type { border-radius: 0 0 5px 5px; }
@keyframes lage-legen { to { transform: none; opacity: 1; } }
.stapel-name {
  margin-top: 20px; font-size: clamp(30px, 8vw, 46px);
  opacity: 0; animation: name-auf .7s ease 1.5s forwards;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}
.stapel-zeile {
  margin-top: 6px; font: 500 11px/1 'Manrope', sans-serif;
  letter-spacing: .28em; text-transform: uppercase; color: var(--tinte-weich);
  opacity: 0; animation: name-auf .7s ease 1.75s forwards;
}
@keyframes name-auf { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .stapel i, .stapel-name, .stapel-zeile { animation: none; opacity: 1; transform: none; }
}

/* ══════════ Statusleiste ══════════ */
.status {
  position: sticky; top: 0; z-index: 40;
  background: var(--tinte); color: var(--creme);
  font: 500 13px/1 'Manrope', sans-serif;
  display: flex; gap: 14px; align-items: center; justify-content: center;
  padding: 11px 16px; flex-wrap: wrap;
}
.punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--matcha); flex: none; }
.punkt.zu { background: var(--rose-tief); }
.status a { color: var(--creme); text-decoration: none; border-bottom: 1px solid rgba(250,246,239,.4); }
/* Auf schmalen Schirmen bricht die Nummer die Leiste zweizeilig — sie steht ohnehin
   zweimal weiter unten (Knopf „Anrufen" und Anschrift). */
@media (max-width: 559px) { .status a { display: none; } }

/* ══════════ Kopf ══════════ */
.kopf { padding: clamp(46px, 9vw, 96px) 0 clamp(30px, 5vw, 54px); }
.marke { font-size: clamp(52px, 15vw, 132px); font-variation-settings: 'opsz' 144, 'SOFT' 45; }
.marke em { font-style: normal; color: var(--matcha-satt); }
.unterzeile {
  font: 500 12px/1.5 'Manrope', sans-serif; letter-spacing: .26em;
  text-transform: uppercase; color: var(--tinte-weich); margin-top: 14px;
}
.anriss {
  font-family: 'Fraunces', serif; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.28;
  font-variation-settings: 'opsz' 60, 'SOFT' 40; max-width: 20ch; margin-top: clamp(26px, 4vw, 40px);
}
.anriss b { font-weight: 600; color: var(--matcha-satt); }

/* ══════════ Der Querschnitt (Wow) ══════════ */
.querschnitt { padding: clamp(20px, 4vw, 40px) 0 clamp(50px, 8vw, 90px); }
.schnitt {
  display: grid; gap: 0; padding: clamp(14px, 3vw, 26px); border-radius: var(--rund);
  background: var(--marmor); box-shadow: 0 1px 0 var(--gold) inset, 0 18px 50px -34px rgba(43,39,35,.5);
  overflow: hidden;
}
.schnitt i {
  display: block;
  background: var(--lage);
  transform-origin: left center;
  transform: scaleX(var(--x, 1));
  transition: transform 1s cubic-bezier(.2,.8,.25,1);
}
.schnitt i.crepe { height: var(--h-crepe); }
.schnitt i.creme { height: var(--h-creme); }
.schnitt i:first-child { border-radius: 6px 6px 0 0; }
.schnitt i:last-of-type { border-radius: 0 0 6px 6px; }
.schnitt-fuss {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; font: 500 12px/1.4 'Manrope', sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: var(--tinte-weich);
}

/* ══════════ Lagen-Abschnitte ══════════ */
.lage-block {
  position: relative; background: var(--marmor);
  border-radius: var(--rund) var(--rund) 0 0;
  padding: clamp(34px, 6vw, 66px) 0;
  margin-top: -14px;
  box-shadow: 0 -1px 0 var(--gold);
}
.lage-block.matcha { background: var(--matcha-hell); }
.lage-block.creme  { background: var(--marmor); }
.lage-block.rose   { background: var(--rose); }
.lage-innen { display: grid; gap: clamp(22px, 4vw, 44px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .lage-innen { grid-template-columns: 1fr 1fr; } .lage-block:nth-of-type(even) .lage-bild { order: -1; } }

.lage-nr {
  font: 500 12px/1 'Manrope', sans-serif; letter-spacing: .3em; color: var(--tinte-weich);
  display: flex; align-items: center; gap: 10px;
}
.lage-nr::after { content: ''; height: 1px; flex: 1; background: var(--gold); opacity: .55; }
.lage-titel { font-size: clamp(32px, 5.6vw, 54px); margin-top: 14px; font-variation-settings: 'opsz' 96, 'SOFT' 40; }
.lage-unter { color: var(--matcha-satt); font-family: 'Fraunces', serif; font-size: clamp(17px, 2.2vw, 21px); margin-top: 6px; }
.lage-text { margin-top: 16px; max-width: 46ch; color: var(--tinte); }
.lage-bild img { border-radius: 14px; box-shadow: 0 20px 46px -30px rgba(43,39,35,.65); width: 100%; }

/* ══════════ Vitrine ══════════ */
.vitrine { background: var(--tinte); color: var(--creme); border-radius: var(--rund) var(--rund) 0 0; padding: clamp(40px, 7vw, 80px) 0; margin-top: -14px; }
.vitrine h2 { font-size: clamp(30px, 5vw, 48px); font-variation-settings: 'opsz' 96, 'SOFT' 40; }
.vitrine p { color: #cfc7bc; max-width: 46ch; margin-top: 12px; }
.sorten { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sorten li {
  border: 1px solid rgba(250,246,239,.28); border-radius: 999px; padding: 7px 15px;
  font: 500 13px/1 'Manrope', sans-serif;
}
.vitrine-innen { display: grid; gap: clamp(24px, 4vw, 44px); }
@media (min-width: 900px) { .vitrine-innen { grid-template-columns: 1fr 1fr; align-items: center; } }
.vitrine img { border-radius: 14px; }

/* ══════════ Karte ══════════ */
.karte-abschnitt { padding: clamp(44px, 7vw, 86px) 0; }
.gruppe + .gruppe { margin-top: 34px; }
.gruppe h3 { font-size: clamp(24px, 3.6vw, 34px); font-variation-settings: 'opsz' 72, 'SOFT' 40; }
.gruppe > p { color: var(--tinte-weich); max-width: 50ch; margin: 8px 0 16px; }
.zeile { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(43,39,35,.1); }
/* Auf schmalen Schirmen brechen lange Namen zweizeilig und die Beschreibung rutscht
   daneben ins Nichts („Vietnamesischer Kaffee", „Zen Garden Sandwich"). Dort untereinander. */
@media (max-width: 520px) { .zeile { display: block; } .zeile span { display: block; margin-top: 2px; } }
.zeile b { font-weight: 500; }
.zeile span { color: var(--tinte-weich); font-size: .92em; }

/* ══════════ Galerie ══════════ */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(3, 1fr); } }
.galerie img { border-radius: 12px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ══════════ Besuch ══════════ */
.besuch { background: var(--matcha-satt); color: var(--creme); border-radius: var(--rund) var(--rund) 0 0; padding: clamp(44px, 7vw, 84px) 0 clamp(30px, 5vw, 56px); margin-top: -14px; }
.besuch h2 { font-size: clamp(30px, 5vw, 48px); font-variation-settings: 'opsz' 96, 'SOFT' 40; }
.besuch-gitter { display: grid; gap: clamp(24px, 4vw, 42px); margin-top: 28px; }
@media (min-width: 860px) { .besuch-gitter { grid-template-columns: 1fr 1fr; } }
.tage { list-style: none; padding: 0; margin: 0; }
.tage li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(250,246,239,.18); }
.tage li.heute { font-weight: 700; }
.tage li.heute::before { content: '▸'; margin-right: 8px; }
.tage .zu { color: var(--rose); }
.knopf {
  display: inline-block; margin-top: 18px; background: var(--creme); color: var(--tinte);
  text-decoration: none; padding: 13px 24px; border-radius: 999px;
  font: 700 14px/1 'Manrope', sans-serif;
}
.knopf.leer { background: transparent; color: var(--creme); border: 1px solid rgba(250,246,239,.45); margin-left: 8px; }
.adresse { font-style: normal; line-height: 1.8; }
.adresse a { color: var(--creme); }
#karte-svg { width: 100%; height: auto; border-radius: 14px; background: var(--creme); display: block; }

/* ══════════ Fuß ══════════ */
.fuss { background: var(--tinte); color: #a49b91; padding: 30px 0; font-size: 13px; }
.fuss a { color: #cfc7bc; }
.fuss-innen { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.aufblende { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.25,1); }
.aufblende.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .aufblende { opacity: 1; transform: none; } }
