/* BierAkademie Celle – Übergangsseite
   Handgesetzte Anmutung: warme Tinte, Messing, Serifen, Haarlinien. */

:root {
  --tinte:      #171310;
  --tinte-weich:#241d18;
  --creme:      #efe7d9;
  --creme-matt: #c9bdaa;
  --messing:    #b8933f;
  --messing-hell:#d9b86a;
  --rot:        #9e1b1b;
  --rot-hell:   #b82525;

  --serife: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Hoefler Text", Georgia, "Times New Roman", serif;
  --rand: clamp(1.35rem, 6vw, 4.5rem);
  /* rechter Rand haelt den Griff vom Fliesstext frei */
  --rand-r: var(--rand);
  --sicher-rechts: env(safe-area-inset-right, 0px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body.ist-fixiert { overflow: hidden; }

a { color: var(--messing-hell); }

:focus-visible {
  outline: 2px solid var(--messing-hell);
  outline-offset: 3px;
}

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

/* --- wiederkehrende Kleinteile ---------------------------------------- */

.aufschrift {
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--messing);
  margin: 0 0 1.1em;
}

/* Linie – Raute – Linie */
.ornament {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 2.4rem 0;
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, rgba(184,147,63,.55), transparent);
}
.ornament span {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--messing);
  flex: none;
}
.ornament--links { margin-left: 0; }
.ornament--links::before { display: none; }
.ornament--links::after { max-width: 9rem; background: linear-gradient(to right, rgba(184,147,63,.55), transparent); }

/* --- Kopf -------------------------------------------------------------- */

.kopf {
  position: relative;
  z-index: 2;
  padding: clamp(1.6rem, 5vw, 2.6rem) var(--rand-r) 0 var(--rand);
}

.wortmarke {
  margin: 0;
  font-size: clamp(1.55rem, 5.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.1;
}
.wortmarke a { color: inherit; text-decoration: none; }

.wortmarke em {
  font-style: normal;
  color: var(--messing-hell);
}

.beizeile {
  margin: .5rem 0 0;
  font-size: .6875rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--creme-matt);
}

/* --- Bühne ------------------------------------------------------------- */

.buehne {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.buehne__bild {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  /* Die Vorlage ist stark abgedunkelt - hier wieder aufhellen. */
  filter: brightness(2.15) contrast(1.04) saturate(1.3);
}

.buehne::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(23,19,16,.82) 0%, rgba(23,19,16,.5) 46%, rgba(23,19,16,.22) 100%),
    linear-gradient(to bottom, rgba(23,19,16,.5) 0%, rgba(23,19,16,.26) 30%, rgba(23,19,16,.78) 80%, var(--tinte) 100%);
}

.buehne__inhalt {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 11vh, 7rem) var(--rand-r) clamp(4rem, 12vh, 7rem) var(--rand);
}

.ansage {
  max-width: 34rem;
  border-left: 1px solid rgba(184,147,63,.45);
  padding-left: clamp(1.1rem, 4vw, 2rem);
}

.ansage h1 {
  margin: 0 0 .85rem;
  font-size: clamp(1.85rem, 7.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .005em;
  text-wrap: balance;
}

.ansage p {
  margin: 0 0 1.15rem;
  max-width: 34ch;
  color: #e4dccd;
  font-size: clamp(1.02rem, 3.6vw, 1.15rem);
}

.ansage p:last-child { margin-bottom: 0; }

.ansage strong {
  font-weight: 400;
  color: var(--messing-hell);
  white-space: nowrap;
}

.runter {
  align-self: flex-start;
  margin: 0 0 clamp(1.4rem, 4vh, 2.4rem);
  padding: .6rem var(--rand);
  font-size: .625rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--creme-matt);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.runter::after {
  content: "";
  width: 1px; height: 1.8rem;
  background: linear-gradient(to bottom, var(--messing), transparent);
}
.runter:hover { color: var(--messing-hell); }

/* --- Tafel (Öffnungszeiten & Kontakt) ---------------------------------- */

.tafel {
  position: relative;
  isolation: isolate;
  padding: clamp(3.4rem, 11vw, 6.5rem) var(--rand-r) clamp(3.4rem, 10vw, 5.5rem) var(--rand);
  overflow: hidden;
}

.tafel__bild {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: .9;
  filter: brightness(1.95) contrast(1.02) saturate(1.25);
}

.tafel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--tinte) 0%, rgba(23,19,16,.86) 26%, rgba(23,19,16,.9) 100%);
}

.tafel__innen {
  max-width: 62rem;
  margin: 0 auto;
  display: grid;
  gap: clamp(2.6rem, 7vw, 4.5rem);
}

@media (min-width: 62rem) {
  .tafel__innen {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}

.tafel h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: .01em;
}

/* Aushang mit Führungspunkten */
.zeiten {
  margin: 0;
  border-top: 1px solid rgba(184,147,63,.28);
}

.zeiten__reihe {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .78rem 0 .78rem 1.05rem;
  border-bottom: 1px solid rgba(184,147,63,.18);
  position: relative;
}

.zeiten dt {
  flex: none;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--creme);
}

.zeiten__fuehrung {
  flex: 1;
  height: 1px;
  min-width: 1.5rem;
  background-image: radial-gradient(circle, rgba(201,189,170,.6) 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  background-position: 0 100%;
  transform: translateY(-.28em);
}

.zeiten dd {
  margin: 0;
  flex: none;
  text-align: right;
  color: #e4dccd;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.zeiten dd small {
  display: block;
  font-size: inherit;
}

.zeiten__reihe--ruhetag dd { color: var(--creme-matt); font-style: italic; }

/* heutiger Tag */
.zeiten__reihe--heute::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.28rem;
  width: 5px; height: 5px;
  transform: rotate(45deg);
  background: var(--messing);
}
.zeiten__reihe--heute dt { color: var(--messing-hell); }
.zeiten__reihe--heute dd { color: #fff6e6; }

.heute-notiz {
  margin: 1rem 0 0;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--creme-matt);
}
.heute-notiz b { font-weight: 400; color: var(--messing-hell); }

/* Kontaktspalte */
.kontakt {
  font-style: normal;
}

.kontakt__zeile {
  padding: .9rem 0;
  border-bottom: 1px solid rgba(184,147,63,.18);
}
.kontakt__zeile:first-of-type { border-top: 1px solid rgba(184,147,63,.28); }

.kontakt__was {
  display: block;
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--messing);
  margin-bottom: .2rem;
}

.kontakt__wert {
  color: var(--creme);
  text-decoration: none;
  font-size: 1.08rem;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
}
a.kontakt__wert:hover { border-bottom-color: rgba(184,147,63,.7); }

.kontakt__wert span { display: block; }

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

.fuss {
  background: var(--tinte);
  border-top: 1px solid rgba(184,147,63,.22);
  padding: 1.8rem var(--rand) calc(2rem + env(safe-area-inset-bottom, 0px));
}

.fuss__innen {
  max-width: 62rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .2rem 1.4rem;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .1em;
}

.fuss a {
  color: var(--creme-matt);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .2rem;
  border-bottom: 1px solid transparent;
}
.fuss a:hover { color: var(--messing-hell); border-bottom-color: rgba(184,147,63,.6); }

.fuss__zeichen {
  color: rgba(184,147,63,.55);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.fuss__marke {
  color: var(--creme-matt);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 34rem) {
  .fuss__innen { flex-direction: column; gap: 0; }
  .fuss__zeichen { display: none; }
}

/* ====================================================================== */
/* Roter Griff am rechten Rand                                            */
/* ====================================================================== */

.griff {
  position: fixed;
  top: 50%;
  right: var(--sicher-rechts);
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.griff__knopf {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: var(--rot);
  box-shadow: -4px 4px 18px rgba(0,0,0,.4);
  color: #fff;
  font: inherit;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: width .28s cubic-bezier(.22,.61,.36,1), background-color .2s ease;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: rgba(0,0,0,.15);
}

.griff__knopf:first-child { border-top-left-radius: 3px; }
.griff__knopf:last-child { border-bottom: 0; border-bottom-left-radius: 3px; }

.griff__knopf svg {
  flex: none;
  width: 22px; height: 22px;
  margin: 0 17px;
}

.griff__wort {
  flex: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s ease .04s, transform .28s cubic-bezier(.22,.61,.36,1);
  padding-left: 18px;
}

.griff__knopf:hover,
.griff__knopf:focus-visible { background: var(--rot-hell); }

@media (hover: hover) and (min-width: 44rem) {
  .griff__knopf:hover,
  .griff__knopf:focus-visible {
    width: 192px;
  }
  .griff__knopf:hover .griff__wort,
  .griff__knopf:focus-visible .griff__wort {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 68.99rem) {
  :root { --rand-r: calc(var(--rand) + 3.9rem); }
}

@media (max-width: 43.99rem) {
  .griff__wort {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .griff__knopf, .griff__wort, .blende, .blatt { transition: none !important; }
}

/* --- Info-Blatt -------------------------------------------------------- */

.blende {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10,8,6,.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.blatt {
  position: fixed;
  z-index: 80;
  top: 0; right: 0; bottom: 0;
  width: min(24rem, 100vw);
  background: var(--tinte-weich);
  border-left: 1px solid rgba(184,147,63,.35);
  padding: clamp(1.6rem, 6vw, 2.4rem);
  padding-right: calc(clamp(1.6rem, 6vw, 2.4rem) + var(--sicher-rechts));
  padding-top: calc(clamp(1.6rem, 6vw, 2.4rem) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(clamp(1.6rem, 6vw, 2.4rem) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(101%);
  visibility: hidden;
  transition: transform .34s cubic-bezier(.22,.61,.36,1), visibility .34s;
  box-shadow: -14px 0 40px rgba(0,0,0,.42);
}

.blatt[data-offen="true"],
.blende[data-offen="true"] {
  visibility: visible;
}
.blatt[data-offen="true"] { transform: none; }
.blende[data-offen="true"] { opacity: 1; }

.blatt h2 {
  margin: 0 0 1.4rem;
  font-size: 1.3rem;
  font-weight: 400;
  padding-right: 2.5rem;
}

.blatt .zeiten dt { font-size: .72rem; }
.blatt .zeiten dd { font-size: .95rem; }

.blatt__zu {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  right: calc(1rem + var(--sicher-rechts));
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid rgba(184,147,63,.35);
  color: var(--creme);
  border-radius: 2px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.blatt__zu:hover { border-color: var(--messing); color: var(--messing-hell); }

.blatt__anschrift {
  font-style: normal;
  margin: 0 0 1.5rem;
  color: #e4dccd;
}

.blatt__aktion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 50px;
  margin-top: 1.8rem;
  background: var(--rot);
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 2px;
}
.blatt__aktion:hover { background: var(--rot-hell); }
.blatt__aktion svg { width: 18px; height: 18px; }

.blatt__zweit {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--creme-matt);
  text-decoration: none;
  min-height: 44px;
  line-height: 44px;
}
.blatt__zweit:hover { color: var(--messing-hell); }

/* ====================================================================== */
/* Rechtsseiten                                                            */
/* ====================================================================== */

.schriftstueck {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 3.5rem) var(--rand-r) clamp(3rem, 9vw, 5rem) var(--rand);
}

.schriftstueck h1 {
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 400;
  margin: 0 0 .4rem;
  line-height: 1.16;
}

.schriftstueck h2 {
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--messing-hell);
  margin: 2.6rem 0 .7rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(184,147,63,.25);
}

.schriftstueck h3 {
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--creme);
  margin: 1.8rem 0 .5rem;
}

.schriftstueck p,
.schriftstueck li { color: #ded6c7; }
.schriftstueck p { margin: 0 0 1rem; }
.schriftstueck ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.schriftstueck li { margin-bottom: .4rem; }
.schriftstueck address { font-style: normal; margin: 0 0 1rem; }
.schriftstueck a { color: var(--messing-hell); }
.schriftstueck hr {
  border: 0;
  border-top: 1px solid rgba(184,147,63,.22);
  margin: 2.5rem 0;
}

.zurueck {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--creme-matt);
  text-decoration: none;
}
.zurueck:hover { color: var(--messing-hell); }

.stand {
  font-size: .78rem;
  color: var(--creme-matt);
  letter-spacing: .06em;
}

/* Offene Platzhalter in Impressum und Datenschutz.
   Bewusst ohne jede optische Auszeichnung: fuer Besucher unsichtbar,
   im Quelltext ueber class="todo" bzw. die Kommentare auffindbar.

   Zum Bearbeiten die folgenden drei Zeilen kurz einkommentieren, dann
   werden alle offenen Stellen sichtbar hervorgehoben – vor dem Hochladen
   wieder auskommentieren.

.todo { background: rgba(158,27,27,.9); color: #fff; padding: .08em .4em; border-radius: 2px; }
*/
.todo { /* absichtlich leer */ }
