:root{
  --bg:#dad3ca;
  --ink:#000000;
  --red:#a00000;
  --max:520px;
  --side:18px;
  --gap:18px;
}

*{box-sizing:border-box}

html{
  background:var(--bg);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}

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

button,a{
  -webkit-tap-highlight-color:transparent;
}

a{
  color:#890000;
  text-decoration:none;
}

.shell{
  width:min(100%,var(--max));
  margin:0 auto;
  padding:12px var(--side) 34px;
}

.header{
  display:block;
  width:100%;
  height:auto;
  margin:0 0 18px;
  padding:0;
}

.header.placeholder{
  height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:48px;
  font-weight:900;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--gap);
  width:100%;
  align-items:start;
}

.stamp{
  display:block;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ink);
  text-decoration:none;
  cursor:pointer;
  overflow:visible;
}

.stamp img{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  object-fit:contain;
}

.stamp.fallback{
  aspect-ratio:1/1.12;
  border:4px solid var(--ink);
  border-radius:18px;
  font-size:clamp(18px,5vw,28px);
  font-weight:900;
  text-transform:uppercase;
}

footer{
  margin-top:30px;
  padding-bottom:24px;
  font-size:13px;
  line-height:1.7;
  text-align:left;
}

footer a{
  display:block;
  width:max-content;
  max-width:100%;
  color:inherit;
  text-decoration:none;
}


/* OVERLAY */

.overlay{
  position:fixed;
  inset:0;
  z-index:20;
  display:none;
  overflow:auto;
  background:var(--bg);
  color:var(--ink);
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.overlay.open{
  display:block;
}

.overlay-inner{
  width:min(100%,var(--max));
  min-height:100%;
  margin:0 auto;
  padding:14px var(--side) 50px;
}

.overlay-top{
  position:sticky;
  top:0;
  z-index:3;
  display:flex;
  justify-content:flex-end;
  background:var(--bg);
  padding:4px 0 10px;
}

.close{
  border:0;
  background:transparent;
  color:inherit;
  font:700 38px/1 Arial,sans-serif;
  cursor:pointer;
}

.content h1,
.hours h1{
  margin:10px 0 22px;
  font-size:28px;
  line-height:1;
  text-transform:uppercase;
}

.content img{
  max-width:100%;
  height:auto;
}


/* GALERIE */

.gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}

.gallery button{
  display:block;
  aspect-ratio:1/1;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  overflow:hidden;
  cursor:pointer;
}

.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* LIGHTBOX */

.lightbox{
  position:fixed;
  inset:0;
  z-index:40;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.96);
  touch-action:pan-y pinch-zoom;
}

.lightbox.open{
  display:flex;
}

.lightbox img{
  display:block;
  max-width:100%;
  max-height:100vh;
  width:auto;
  height:auto;
  object-fit:contain;
}

.lightbox .close{
  position:absolute;
  right:15px;
  top:10px;
  color:#fff;
  z-index:2;
}


/* ÖFFNUNGSZEITEN */

.hours-section{
  margin:0 0 28px;
}

.hours-section h2{
  margin:0 0 12px;
  font-size:22px;
  text-transform:uppercase;
}

.hours-row{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid var(--ink);
}

.hours-row.today{
  font-weight:900;
}

.hours-row.closed{
  opacity:.5;
}


@media(max-width:380px){
  :root{
    --side:14px;
    --gap:14px;
  }

  .shell{
    padding-top:10px;
  }

  .header{
    margin-bottom:14px;
  }
}

@media(min-width:700px){
  :root{
    --side:20px;
    --gap:20px;
  }

  .shell{
    padding-top:18px;
  }
}


/* V2.33 - FOOTER */

.site-footer{
  width:100%;
  max-width:100%;
  margin:30px auto 0;
  padding:0 0 24px;
  text-align:center;
  font-size:13px;
  line-height:1.7;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  column-gap:0;
  row-gap:2px;
  width:100%;
  margin:0 auto;
}

.footer-item{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
}

.footer-item:not(:last-child)::after{
  content:"|";
  display:inline-block;
  margin:0 .55em;
  color:currentColor;
}

.site-footer a{
  display:inline;
  color:inherit;
  text-decoration:none;
}

.site-footer a:hover{
  text-decoration:underline;
}


/* VERSION 3 - FIXIERTER ICON-HEADER */

:root{
  --fixed-header-h:148px;
  --fixed-header-line:12px;
}

body{
  padding-top:var(--fixed-header-h);
}

.fixed-header{
  position:fixed;
  top:0;
  left:0;
  right:0;

  /* FIX:
     Header liegt über der normalen Seite,
     aber UNTER Overlay (20) und Lightbox (40) */
  z-index:10;

  height:var(--fixed-header-h);
  background:var(--bg);
  border-bottom:var(--fixed-header-line) solid rgba(0,0,0,.08);
}

.fixed-header-inner{
  width:min(100%,var(--max));
  height:calc(var(--fixed-header-h) - var(--fixed-header-line));
  margin:0 auto;
  padding:12px var(--side);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:center;
  justify-items:center;
}

.fixed-header-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  margin:0;
  padding:12px;
  color:inherit;
  text-decoration:none;
}

.fixed-header-icon img{
  display:block;
  width:100%;
  max-width:74px;
  max-height:88px;
  height:auto;
  object-fit:contain;
}

.fixed-header a:hover{
  opacity:.72;
}

@media(max-width:380px){
  :root{
    --fixed-header-h:124px;
  }

  .fixed-header-icon{
    padding:8px;
  }

  .fixed-header-icon img{
    max-width:62px;
    max-height:72px;
  }
}

@media(min-width:700px){
  :root{
    --fixed-header-h:148px;
  }
}