:root {
  --ink: #1a1a1a;
  --paper: #ffffff;
  --line: #c9c9c9;
  --muted: #4d4d4d;
  --accent-green: #3f7d3a;
}

.afb-menu, .afb-menu * { box-sizing: border-box; }

.afb-menu {
  color: var(--ink);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.45;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---- Title ---- */
.afb-menu-title {
  text-align: center;
  margin-bottom: 2.4rem;
}
.afb-menu-title h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.afb-menu-title p {
  margin: .5rem 0 0;
  font-style: italic;
  font-size: .98rem;
  color: var(--muted);
}

/* ---- Section headings & Accordion ---- */
.afb-accordion {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.afb-accordion summary {
  cursor: pointer;
  list-style: none !important;
  outline: none;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  padding: 0.5rem 0;
}

/* Standard Browser-Pfeile zwingend ausblenden */
.afb-accordion summary::-webkit-details-marker,
.afb-accordion summary::marker {
  display: none !important;
}

/* Überschrift innerhalb des Ausklappmenüs */
.afb-accordion summary h2.afb-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
  color: var(--ink);
}

/* Rechter Bereich: Elegantes + mit sanfter Drehanimation */
.afb-accordion summary::after {
  content: '+';
  font-family: "EB Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-left: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

/* Dreht das Plus beim Öffnen sanft um 45 Grad */
.afb-accordion[open] summary::after {
  transform: rotate(45deg);
}

.afb-accordion-content {
  padding-top: 0.5rem;
}

p.afb-category-note {
  text-align: center;
  font-style: italic;
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
hr.afb-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: .3rem 0 1.3rem;
}

h3.afb-subgroup {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 1.8rem 0 .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
p.afb-subgroup-note {
  text-align: center;
  font-style: italic;
  font-size: .82rem;
  color: var(--muted);
  margin: -.4rem 0 1rem;
}

/* ---- Item grid, two columns ---- */
.afb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 1rem;
}
@media (max-width: 600px) {
  .afb-grid { grid-template-columns: 1fr; }
}

.afb-item { break-inside: avoid; }

.afb-item-line {
  display: flex;
  align-items: baseline;
  gap: .35rem;
}
.afb-item-name {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.afb-leader {
  flex: 1 1 auto;
  border-bottom: 1px dotted #9a9a9a;
  height: .6em;
  margin: 0 .2rem;
}
.afb-item-price {
  font-weight: 600;
  font-size: .97rem;
  white-space: nowrap;
}
.afb-item-desc {
  font-size: .9rem;
  color: var(--muted);
  margin: .1rem 0 0;
}
sup.afb-aller {
  font-size: .6rem;
  font-weight: 400;
  margin-left: 1px;
}
.afb-diet-icon {
  font-size: .72rem;
}

/* Drinks */
.afb-drink-item { margin-bottom: .15rem; }
.afb-drink-name { font-weight: 600; }
.afb-drink-desc {
  font-style: italic;
  font-size: .85rem;
  color: var(--muted);
  display: block;
  margin: .05rem 0 .1rem;
}
.afb-drink-prices { font-size: .92rem; }

/* Legend for vegan/veggie */
.afb-diet-legend {
  text-align: center;
  margin-top: 1.6rem;
  font-size: .9rem;
  color: var(--muted);
}
.afb-diet-legend span { margin: 0 .9rem; }

/* Allergen footer legend */
.afb-allergen-legend {
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.9;
}

.afb-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1rem;
  font-size: .82rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.afb-toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.afb-toc a:hover { color: var(--accent-green); }

section { scroll-margin-top: 1rem; }

/* ---- Override #menu-frame ---- */
#menu-frame.afb-menu-wrap {
  background-color: #ffffff !important;
  display: block !important;
  min-height: auto !important;
  padding: 3rem 1rem 4rem !important;
}
/* Perfekt zentrierte Box für den Drehpunkt */
		.afb-accordion summary::after {
			content: '' !important;
			display: inline-block !important;
			width: 16px !important;
			height: 16px !important;
			margin-left: 1rem !important;
			position: relative !important;
			flex-shrink: 0 !important;
			transition: transform 0.3s ease !important;
			transform: rotate(0deg) !important;
		}

		/* Waagerechte Linie (Minus) */
		.afb-accordion summary::after {
			background: linear-gradient(#1a1a1a, #1a1a1a) center / 100% 1.5px no-repeat,
			            linear-gradient(#1a1a1a, #1a1a1a) center / 1.5px 100% no-repeat !important;
		}

		/* Dreht sich um die eigene Achse und wird zum echten Minus */
		.afb-accordion[open] summary::after {
			transform: rotate(180deg) !important;
			background: linear-gradient(#1a1a1a, #1a1a1a) center / 100% 1.5px no-repeat !important;
		}
		
@media screen and (max-width: 768px) {
  .buttons.mt-4.is-justify-content-center {
    flex-direction: column;
    align-items: center;
  }

  .buttons.mt-4.is-justify-content-center .button {
    width: auto;
    min-width: 160px;
    max-width: 220px;
    margin: 4px 0 !important;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    box-shadow: none;
    margin-top: 2.5rem;
  }
}