/* ============================================================
   HEYZEL COFFEE — Rathausplatz Augsburg — Design-Entwurf
   Palette aus den echten Marken-/Filialfotos abgeleitet:
   tiefes Schwarz, warmes Kupfer/Orange, Creme-Weiß.
   ============================================================ */
:root {
  --ink:         #141110;
  --ink-2:       #221D1A;
  --ink-3:       #6B6058;
  --paper:       #FBF6EF;
  --paper-2:     #F1E7D8;
  --line:        #E4D6C1;
  --copper:      #C6672B;
  --copper-dk:   #9C4D1D;
  --amber:       #E8A23D;
  --white:       #FFFFFF;

  --display: 'Avenir Next', 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --t-xs: .75rem; --t-sm: .875rem; --t-base: 1rem; --t-lg: 1.125rem;
  --t-xl: 1.375rem; --t-2xl: 1.75rem; --t-3xl: 2.5rem; --t-4xl: clamp(2.4rem, 7vw, 4.6rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px;
  --s8: 32px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  --r-sm: 4px; --r-md: 10px; --r-lg: 18px; --r-full: 999px;

  --sh-sm: 0 1px 2px rgba(20,17,16,.08), 0 2px 6px rgba(20,17,16,.06);
  --sh-md: 0 4px 14px rgba(20,17,16,.12), 0 2px 4px rgba(20,17,16,.06);
  --sh-lg: 0 18px 44px rgba(20,17,16,.2), 0 6px 14px rgba(20,17,16,.1);

  --ease: cubic-bezier(.22,.61,.36,1);
  --bar-h: 68px;
}

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.wrap-narrow { width: min(760px, 92vw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 var(--s3); display: flex; align-items: center; gap: var(--s3);
}
.eyebrow::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, var(--line), transparent); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { display: none; }

/* ============================================================ Buttons */
.btn {
  --bg: var(--copper); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 14px 26px; border: 0; border-radius: var(--r-full);
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: var(--t-base); font-weight: 700; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--sh-md);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); background: var(--copper-dk); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { padding: 17px 34px; font-size: var(--t-lg); }
.btn--ghost {
  --bg: transparent; --fg: currentColor;
  border: 1.5px solid currentColor; box-shadow: none; font-weight: 600;
}
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--dark:hover { background: var(--ink-2); }

/* ============================================================ Header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.hdr__in { display: flex; align-items: center; gap: var(--s6); width: min(1200px, 92vw); margin-inline: auto; }
.hdr.is-stuck { background: rgba(20,17,16,.94); backdrop-filter: blur(14px) saturate(1.3); box-shadow: var(--sh-sm); }

.logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; margin-right: auto; color: #fff; }
.logo b { font-family: var(--display); font-size: 1.5rem; font-weight: 900; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
.logo i { font-family: var(--sans); font-style: normal; font-size: .68rem; font-weight: 700; color: var(--amber); letter-spacing: .18em; text-transform: uppercase; align-self: flex-end; margin-left: 4px; }

.nav { display: flex; gap: var(--s6); align-items: center; }
.nav a {
  font-size: var(--t-sm); font-weight: 600; text-decoration: none; letter-spacing: .03em;
  position: relative; padding: 6px 0; color: #fff;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--copper); transition: right .3s var(--ease);
}
.nav a:hover::after { right: 0; }

.burger {
  display: none; width: 44px; height: 44px; margin-left: var(--s2);
  border: 0; background: transparent; color: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================ Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,11,9,.92) 0%, rgba(14,11,9,.68) 40%, rgba(14,11,9,.2) 75%),
    linear-gradient(180deg, rgba(14,11,9,.5) 0%, rgba(14,11,9,.1) 30%, rgba(14,11,9,.55) 75%, rgba(14,11,9,.92) 100%);
}
.hero__in { padding: calc(var(--bar-h) + var(--s16)) 0 var(--s20); color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); border-radius: var(--r-full); padding: 7px 16px 7px 12px;
  font-size: var(--t-sm); font-weight: 600; margin-bottom: var(--s6);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FCF7A; flex: none; }
.hero__badge.is-closed .dot { background: #C6672B; }
.hero h1 {
  font-size: var(--t-4xl); font-weight: 900; letter-spacing: -.03em; line-height: .96;
  margin: 0 0 var(--s4); text-shadow: 0 2px 40px rgba(0,0,0,.5); text-transform: uppercase;
}
.hero h1 em { display: block; font-style: normal; color: var(--amber); }
.hero__lead {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem); max-width: 44ch; color: rgba(255,255,255,.88);
  margin-bottom: var(--s8); text-shadow: 0 1px 20px rgba(0,0,0,.5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ============================================================ Abschnitte */
.sec { padding: var(--s24) 0; position: relative; }
.sec--dark { background: var(--ink); color: var(--paper); }
.sec--paper { background: var(--paper-2); }
.sec__head { max-width: 62ch; margin-bottom: var(--s12); }
.sec__head.center { margin-inline: auto; text-align: center; }
.sec h2 { font-size: var(--t-3xl); margin-bottom: var(--s3); text-transform: uppercase; }
.sec__sub { color: var(--ink-3); font-size: var(--t-lg); margin: 0; }
.sec--dark .sec__sub { color: rgba(251,246,239,.7); }
.sec--dark .eyebrow::after { background: linear-gradient(90deg, rgba(251,246,239,.25), transparent); }

/* ============================================================ Über uns */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: center; }
.story__imgs { position: relative; }
.story__imgs img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story__quote { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.3; color: var(--ink); margin: 0 0 var(--s6); }
.story p { color: var(--ink-2); }

/* ============================================================ Angebot */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-bottom: var(--s16); }
.offer {
  background: var(--ink-2); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--sh-md);
  transition: transform .3s var(--ease);
}
.offer:hover { transform: translateY(-4px); }
.offer__media { aspect-ratio: 4/3; overflow: hidden; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.offer:hover .offer__media img { transform: scale(1.06); }
.offer__body { padding: var(--s6); }
.offer h3 { font-size: var(--t-xl); margin-bottom: var(--s2); text-transform: uppercase; }
.offer p { color: rgba(251,246,239,.68); font-size: var(--t-sm); margin: 0; }

.pricelist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); }
.pricelist__group h4 { font-family: var(--display); font-size: var(--t-lg); font-weight: 800; text-transform: uppercase; margin-bottom: var(--s4); color: var(--amber); }
.pricelist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.pricelist li { display: flex; justify-content: space-between; gap: var(--s4); padding: 9px 0; border-bottom: 1px dashed rgba(251,246,239,.16); font-size: var(--t-sm); }
.pricelist li b { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--paper); }
.pricelist__note { margin-top: var(--s8); font-size: var(--t-xs); color: rgba(251,246,239,.55); font-style: italic; }

/* ============================================================ Ambiente-Galerie */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.gal figure { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal figure:hover img { transform: scale(1.05); }

/* ============================================================ Events */
.events { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s16); align-items: center; }
.events__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.events__imgs img { border-radius: var(--r-md); box-shadow: var(--sh-md); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.events__imgs img:first-child { grid-row: span 2; aspect-ratio: 3/5; }

/* ============================================================ Standort */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); }
.hours { list-style: none; padding: 0; margin: 0 0 var(--s8); }
.hours li { display: flex; justify-content: space-between; gap: var(--s4); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-base); }
.hours span:first-child { color: var(--ink-3); }
.hours b { font-variant-numeric: tabular-nums; font-weight: 700; }

.cinfo { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.cinfo li { display: flex; gap: var(--s3); align-items: flex-start; }
.cinfo svg { width: 20px; height: 20px; color: var(--copper); flex: none; margin-top: 3px; }
.cinfo a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cinfo a:hover { border-color: var(--copper); }
.cinfo small { display: block; color: var(--ink-3); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; }

.map-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); position: relative; aspect-ratio: 4/3; background: var(--ink); }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card__over {
  position: absolute; inset: auto 0 0 0; padding: var(--s6);
  background: linear-gradient(transparent, rgba(14,11,9,.9));
  color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4);
}
.map-card__over b { font-family: var(--display); font-size: var(--t-xl); display: block; text-transform: uppercase; }
.map-card__over span { font-size: var(--t-sm); color: rgba(255,255,255,.75); }

/* ============================================================ Pitch-Banner (Demo-Kennzeichnung) */
.pitch {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: var(--s3);
  font-size: var(--t-xs); text-align: center; box-shadow: 0 -6px 24px rgba(20,17,16,.25);
  border-top: 1px solid rgba(251,246,239,.14);
}
.pitch b { color: var(--amber); }

/* ============================================================ Footer */
.ft { background: var(--ink); color: rgba(251,246,239,.6); padding: var(--s16) 0 calc(var(--s8) + 56px); font-size: var(--t-sm); }
.ft__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s12); margin-bottom: var(--s12); }
.ft h4 { color: var(--paper); font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 var(--s4); }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.ft a { text-decoration: none; }
.ft a:hover { color: var(--amber); }
.ft__logo { font-family: var(--display); font-size: 1.8rem; color: var(--paper); font-weight: 900; letter-spacing: -.01em; margin-bottom: var(--s2); text-transform: uppercase; }
.ft__social { display: flex; gap: var(--s3); margin-top: var(--s6); }
.ft__social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(251,246,239,.2);
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.ft__social a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.ft__social svg { width: 17px; height: 17px; }
.ft__btm { border-top: 1px solid rgba(251,246,239,.12); padding-top: var(--s6); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: var(--t-xs); }

/* ============================================================ Einblenden */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; } }

/* ============================================================ Rechtstexte */
.legal-hdr { padding: var(--s6) 0; border-bottom: 1px solid var(--line); background: var(--ink); }
.legal-hdr .wrap { display: flex; align-items: center; justify-content: space-between; }
.legal-back { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: rgba(251,246,239,.7); text-decoration: none; }
.legal-back:hover { color: #fff; }
.legal { padding: var(--s16) 0 var(--s24); }
.legal h1 { font-size: var(--t-3xl); margin-bottom: var(--s8); text-transform: uppercase; }
.legal h2 { font-size: var(--t-xl); margin: var(--s12) 0 var(--s3); color: var(--ink-2); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--copper-dk); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal__note { font-size: var(--t-sm); font-style: italic; color: var(--ink-3); background: var(--paper-2); border-radius: var(--r-md); padding: var(--s4); margin-top: var(--s12); }

/* ============================================================ Responsiv */
@media (max-width: 980px) {
  :root { --s24: 68px; --s20: 56px; --s16: 44px; }
  .story { grid-template-columns: 1fr; gap: var(--s12); }
  .offers { grid-template-columns: 1fr; }
  .pricelist { grid-template-columns: 1fr; gap: var(--s8); }
  .events { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: var(--s12); }
  .ft__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .burger { display: flex; }
  #nav {
    position: fixed; inset: calc(var(--bar-h) + env(safe-area-inset-top)) 0 auto 0; z-index: 89;
    flex-direction: column; gap: 0; margin: 0;
    padding: var(--s2) var(--s6) calc(var(--s6) + env(safe-area-inset-bottom));
    background: rgba(20,17,16,.98); backdrop-filter: blur(16px);
    box-shadow: var(--sh-lg); border-top: 1px solid rgba(251,246,239,.12);
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s var(--ease), visibility 0s linear .25s;
  }
  #nav.is-open {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .25s var(--ease), opacity .2s var(--ease), visibility 0s;
  }
  #nav a { font-size: var(--t-lg); padding: 15px 2px; border-bottom: 1px solid rgba(251,246,239,.12); }
  #nav a::after { display: none; }
}
@media (max-width: 640px) {
  :root { --t-3xl: 1.9rem; --bar-h: 60px; }
  body { padding-bottom: 54px; }
  .hero { min-height: 92svh; }
  .hero__cta .btn { flex: 1; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .events__imgs { grid-template-columns: 1fr 1fr; }
  .ft__grid { grid-template-columns: 1fr; gap: var(--s8); }
  .cinfo a, .ft ul a { display: inline-block; padding: 8px 0; }
  .pitch { font-size: 11px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
}
