:root {
  --creme: #FFF2DF;     
  --braun: #9E6A4C;     
  --hell: #FFDEC6;      
  --dunkel: #75482C;    
  --text: #111827;
  --weiss: #FFFFFF;
  --zack: 6.08vw;       
  --ueberlapp: calc(var(--zack) + 1px);
  --kopf: 132px;        
  --absatz: 20px;       
}
@media (min-width: 1024px) {
  :root { --kopf: 232px; --absatz: 28px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: 'Quattrocento', Georgia, serif;
  font-size: 16px;
  line-height: 24px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Ovo', Georgia, serif; font-weight: 400; margin: 0; }
p { margin: 0 0 var(--absatz); }
p:last-child { margin-bottom: 0; }

.container { width: 100%; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px)  { .container { max-width: 640px;  padding: 0 24px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.block { position: relative; }
.block > .inhalt { position: relative; z-index: 2; }
.ebene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ebene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ebene .ton { position: absolute; inset: 0; }

.zack-l, .zack-r { padding-bottom: var(--ueberlapp); }
.zack-l { clip-path: polygon(0 0, 100% 0, 100% 100%, 66.667% calc(100% - var(--zack)), 33.333% 100%, 0 calc(100% - var(--zack))); }
.zack-r { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--zack)), 66.667% 100%, 33.333% calc(100% - var(--zack)), 0 100%); }
.unter { margin-top: calc(-1 * var(--ueberlapp)); padding-top: var(--ueberlapp); }

.z8 { z-index: 8; } .z7 { z-index: 7; } .z6 { z-index: 6; } .z5 { z-index: 5; }
.z4 { z-index: 4; } .z3 { z-index: 3; } .z2 { z-index: 2; } .z1 { z-index: 1; }

.kopf { position: relative; z-index: 20; }
.kopf .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.kopf .logo { grid-column: 2; display: block; }
.kopf .logo img { height: 100px; width: auto; }
.kopf .rechts { grid-column: 3; display: flex; justify-content: flex-end; align-items: center; }
.kopf .knoepfe { display: none; gap: 16px; }
.menue-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 6px;
  background: transparent; color: var(--text); cursor: pointer;
}
.menue-knopf svg { width: 20px; height: 20px; }
.menue {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  padding: 16px 20px 20px; background: var(--creme);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  flex-direction: column; align-items: center; gap: 12px;
}
.menue.offen { display: flex; }
.kopf.seite { background: var(--creme); }
@media (min-width: 1024px) {
  .kopf .logo img { height: 200px; }
  .kopf .knoepfe { display: flex; }
  .menue-knopf, .menue { display: none !important; }
}

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border: 2px solid var(--braun); border-radius: 8px;
  background: var(--braun); color: var(--weiss);
  font: 500 16px/20px 'Quattrocento', Georgia, serif; text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
.button:hover { background: var(--dunkel); border-color: var(--dunkel); }

.ein { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out; transition-delay: var(--verzug, 0s); }
.ein.da { opacity: 1; transform: none; }

.start { color: var(--text); }
.start .ebene .ton { background: linear-gradient(var(--creme), var(--braun)); opacity: 0.73; }
.start .banner { position: relative; z-index: 2; padding: 0 20px 32px; text-align: center; }
.start h1 { font-size: 24px; line-height: 32px; max-width: 768px; margin: 0 auto; }
@media (min-width: 640px) { .start .banner { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) {
  .start .banner { padding-bottom: 128px; }
  .start h1 { font-size: 32px; line-height: 40px; }
}

.laden { color: var(--weiss); }
.laden .ebene img { object-position: 50% 80%; }
.laden .ebene .ton { background: var(--braun); opacity: 0.83; }
.laden .inhalt { padding-top: 32px; padding-bottom: 48px; }
.laden .text { max-width: 1024px; font-size: 18px; line-height: 26px; text-align: justify; }
@media (min-width: 1024px) {
  .laden .inhalt { padding-top: 48px; padding-bottom: 80px; }
  .laden .text { font-size: 24px; line-height: 36px; }
}

.leistungen { background: var(--creme); }
.leistungen .inhalt { padding-top: 32px; }
.mehr { background: linear-gradient(var(--creme), var(--braun)); }
.mehr .inhalt { padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 1024px) {
  .leistungen .inhalt { padding-top: 48px; }
  .mehr .inhalt { padding-top: 48px; padding-bottom: 80px; }
}

.karten-deck { display: grid; grid-template-columns: 100%; grid-auto-rows: 1fr; gap: 40px; justify-content: center; }
.karte-deck { position: relative; overflow: hidden; color: var(--weiss); text-align: center; }
.karte-deck img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.karte-deck .ton { position: absolute; inset: 0; background: rgba(158, 106, 76, 0.65); }
.karte-deck .text { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.karte-deck h2 { font-size: 24px; line-height: 32px; margin-bottom: 16px; }
.karte-deck p { font-size: 16px; line-height: 24px; }

.karten-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.karte { display: flex; flex-direction: column; text-align: center; }
.karte .bild { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.karte .bild img { width: 100%; height: 100%; object-fit: contain; }
.karte .text { padding: 24px 0; }
.karte p { font-size: 16px; line-height: 24px; }
@media (min-width: 768px) {
  .karten-deck { grid-template-columns: repeat(2, calc((100% - 40px) / 2)); }
  .karte { width: calc((100% - 40px) / 2); }
}
@media (min-width: 1024px) {
  .karten-deck { grid-template-columns: repeat(2, calc((100% - 80px) / 3)); }
  .karte { width: calc((100% - 80px) / 3); }
  .karte-deck h2 { font-size: 32px; line-height: 40px; }
  .karte-deck p, .karte p { font-size: 18px; line-height: 28px; }
}

.marken { background: var(--creme); }
.marken .inhalt { padding-bottom: 4px; }
.marken-liste { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 13px 39px; margin: 0; padding: 0; list-style: none; }
.marken-liste li { width: 282px; padding: 10px 10px 18px; display: flex; align-items: center; justify-content: center; }
.marken-liste img { width: 262px; height: auto; }

.ort { background: var(--braun); color: var(--weiss); }
.ort .inhalt { padding-top: 32px; padding-bottom: 32px; }
.ort .zeilen { display: flex; flex-direction: column; gap: 40px; }
.ort .karte-box { width: 100%; height: 160px; border-radius: 8px; overflow: hidden; background: #e8e0d6; }
.ort .anfahrt { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ort h2 { font-size: 24px; line-height: 32px; }
.ort .adresse { margin: 0; font: inherit; white-space: pre-wrap; }
.ort .geschichte { margin-top: 8px; }
.ort .route { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .ort .karte-box { width: 50%; height: 288px; border-radius: 12px; }
  .ort .anfahrt { width: 50%; }
}
@media (min-width: 1024px) {
  .ort .inhalt { padding-top: 48px; padding-bottom: 48px; }
  .ort .zeilen { flex-direction: row; gap: 80px; }
  .ort .karte-box { height: 384px; border-radius: 16px; }
  .ort h2 { font-size: 32px; line-height: 40px; }
  .ort .anfahrt, .ort .adresse, .ort .geschichte { font-size: 18px; line-height: 28px; }
}

.leaflet-container { font-family: 'Quattrocento', Georgia, serif; }
.karte-marke { background: none; border: 0; }
.leaflet-container .leaflet-control-attribution { font-size: 9px; line-height: 1; padding: 2px 5px; background: rgba(255, 255, 255, 0.6); color: #555; margin: 0; }
.leaflet-container .leaflet-control-attribution a { color: #555; text-decoration: none; }
.leaflet-container { background: #f3f1ec; }

.zeiten { background: linear-gradient(var(--braun), var(--weiss)); }
.zeiten .inhalt { padding-bottom: 4px; display: flex; justify-content: center; }
.zeiten-tafel { width: 318px; max-width: 100%; background: var(--dunkel); color: var(--weiss); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.zeiten-tafel h2 { font-family: 'Quattrocento', Georgia, serif; font-weight: 700; font-size: 18px; line-height: 18px; padding: 10px 15px; text-align: center; }
.zeiten-tafel ul { list-style: none; margin: 0; padding: 0; }
.zeiten-tafel li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 15px; background: var(--creme); color: #000; font-size: 16px; line-height: 16px; }
.zeiten-tafel li + li { padding-top: 9px; border-top: 1px solid rgba(117, 72, 44, 0.12); }
.zeiten-tafel .tag { display: flex; align-items: center; gap: 5px; }
.zeiten-tafel .heute { display: none; font-size: 10px; line-height: 10px; padding: 4px 6px; border-radius: 20px; background: rgba(158, 106, 76, 0.18); }
.zeiten-tafel li.ist-heute .heute { display: inline-block; }
.zeiten-tafel li.ist-heute { background: var(--hell); }
.zeiten-tafel .stunden { display: flex; flex-direction: column; gap: 5px; text-align: right; }
.zeiten-tafel .status { padding: 20px 15px; text-align: center; font-size: 19px; line-height: 19px; font-weight: 700; }

.fuss { color: var(--text); text-align: center; }
.fuss .ebene .ton { background: linear-gradient(var(--creme), var(--braun)); opacity: 0.73; }
.fuss .inhalt { padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.fuss .logo img { height: 100px; width: auto; }
.fuss nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.fuss nav a { display: block; padding-bottom: 6px; border-bottom: 2px solid transparent; text-decoration: none; font-size: 18px; line-height: 28px; transition: border-color 0.3s; }
.fuss nav a:hover { border-bottom-color: currentColor; }
@media (min-width: 1024px) {
  .fuss .inhalt { padding-bottom: 48px; }
  .fuss .logo img { height: 200px; }
}

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #4FC65A; color: var(--weiss);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 30px; height: 30px; }

.textseite { background: var(--weiss); min-height: calc(100vh - var(--kopf)); }
.textseite .inhalt { padding-top: 48px; padding-bottom: 48px; }
.textseite .text { max-width: 1024px; font-size: 18px; line-height: 28px; }
.textseite h1 { font-size: 32px; line-height: 40px; padding-bottom: 8px; margin-bottom: 28px; }
.textseite h3 { font-size: 22px; line-height: 30px; margin: 36px 0 12px; }
.textseite a { text-decoration: underline; text-underline-offset: 3px; }
.textseite .hinweis { padding: 12px 16px; border-left: 4px solid var(--braun); background: var(--creme); margin-bottom: 28px; }
.textseite ul { padding-left: 24px; margin: 0 0 var(--absatz); }
@media (min-width: 1024px) {
  .textseite .inhalt { padding-top: 80px; padding-bottom: 80px; }
}
