
.menu-taste { display: none; }

@media (max-width: 680px) {
  html.burger { --header-h: 60px; }
  html.burger .site-header .bar {
    height: var(--header-h); flex-wrap: nowrap; padding-block: 0;
  }
  html.burger .brand img { height: 34px; }
  html.burger .header-right { display: flex; }

  html.burger .menu-taste {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: var(--header-h); margin-right: calc(-1 * var(--gutter));
    padding-right: calc(var(--gutter) - 20px);
    background: none; border: 0; border-radius: 0; color: var(--ink);
    cursor: pointer;
    touch-action: manipulation;
  }
  .menu-taste span,
  .menu-taste span::before,
  .menu-taste span::after {
    display: block; position: relative;
    width: 22px; height: 1.5px; background: currentColor; border-radius: 1px;
    transition: transform 200ms var(--ease, ease), background-color 200ms;
  }
  .menu-taste span::before,
  .menu-taste span::after { content: ""; position: absolute; left: 0; }
  .menu-taste span::before { top: -7px; }
  .menu-taste span::after  { top: 7px; }
  .menu-taste[aria-expanded="true"] span { background: transparent; }
  .menu-taste[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-taste[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

  html.burger .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; order: 0; width: auto;
    grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; gap: 0;
    justify-items: stretch;
    padding: 8px var(--gutter) 20px;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(60, 52, 42, 0.06);
  }
  html.burger .site-header.menue-offen .nav { display: grid; }
  html.burger .nav a {
    display: flex; align-items: center; min-height: 52px;
    padding: 0 4px; font-size: 18px; text-align: left;
    background: none; border: 0; border-bottom: 1px solid var(--border);
    border-radius: 0; box-shadow: none;
  }
  html.burger .nav a:last-child { border-bottom: 0; }
  html.burger .nav a[aria-current="page"] { background: none; color: var(--ink); font-weight: 600; }
  html.burger .nav a:not([href]) { color: var(--muted); }

  .footer-col a { display: inline-block; padding-block: 6px; }
  .footer-bottom { font-size: 13px; }
}

.einwilligung {
  position: fixed; z-index: 100;
  left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  width: min(344px, calc(100vw - 24px));
  max-height: calc(100vh - 24px); overflow-y: auto;
  padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface, #FFFDF9);
  border: 1px solid var(--border, #E7DFD3);
  border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(60, 52, 42, 0.28);
  font-family: var(--sans); color: var(--text, #3A342D);
}
.einwilligung[hidden] { display: none; }
.einwilligung-kopf { display: flex; justify-content: space-between; align-items: baseline; }
.einwilligung-marke {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted, #8A8176);
}
.einwilligung-kopf a {
  font-size: 12px; color: var(--muted, #8A8176);
  text-decoration: underline; text-underline-offset: 3px;
}
.einwilligung-kopf a:hover { color: var(--ink); }
.einwilligung-text { display: flex; flex-direction: column; gap: 6px; }
.einwilligung h2 {
  font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05;
  letter-spacing: 0; color: var(--ink); margin: 0;
}
.einwilligung p { font-size: 14px; line-height: 1.55; text-wrap: pretty; color: var(--text, #3A342D); }
.einwilligung-liste { display: flex; flex-direction: column; border-top: 1px solid var(--border, #E7DFD3); }
.einwilligung-liste[hidden] { display: none; }
.einwilligung-zeile {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--border, #E7DFD3);
}
.einwilligung-zeile > div { display: flex; flex-direction: column; gap: 2px; }
.einwilligung-zeile > div > span { font-size: 14px; font-weight: 500; color: var(--ink); }
.einwilligung-zeile small { font-size: 12px; color: var(--muted, #8A8176); }
.einwilligung-immer { font-family: var(--mono); font-size: 10.5px; color: var(--muted, #8A8176); white-space: nowrap; }
.einwilligung-schalter {
  flex: none; width: 34px; height: 20px; padding: 2px; border: 0; border-radius: 999px;
  background: var(--border, #E7DFD3); cursor: var(--cursor-link, pointer);
  transition: background 180ms ease-out;
}
.einwilligung-schalter span {
  display: block; width: 16px; height: 16px; border-radius: 999px; background: var(--surface, #FFFDF9);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.einwilligung-schalter[aria-checked="true"] { background: var(--ink); }
.einwilligung-schalter[aria-checked="true"] span { transform: translateX(14px); }
.einwilligung-tasten { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.einwilligung-tasten button {
  height: 40px; border-radius: 6px; font: 500 14px/1 var(--sans);
  cursor: var(--cursor-link, pointer); transition: background 200ms, border-color 200ms;
}
.einwilligung-tasten [data-wahl="nein"] {
  border: 1px solid var(--border, #E7DFD3); background: var(--surface, #FFFDF9); color: var(--ink);
  box-shadow: 0 1px 2px rgba(60, 52, 42, 0.04);
}
.einwilligung-tasten [data-wahl="nein"]:hover { border-color: var(--ink); }
.einwilligung-tasten [data-wahl="ja"] { border: 1px solid var(--ink); background: var(--ink); color: var(--surface, #FFFDF9); }
.einwilligung-tasten [data-wahl="ja"]:hover { background: #000; }
.einwilligung-mehr {
  align-self: flex-start; background: none; border: 0; padding: 0;
  font: 13px/1.4 var(--sans); color: var(--text, #3A342D); cursor: var(--cursor-link, pointer);
  text-decoration: underline; text-decoration-color: #C9C0B3; text-underline-offset: 3px;
}
.einwilligung-mehr:hover { text-decoration-color: var(--ink); }
.einwilligung button:focus-visible,
.einwilligung a:focus-visible,
.einwilligung-oeffnen:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.einwilligung-knopf {
  position: fixed; z-index: 90;
  left: clamp(12px, 2vw, 24px); bottom: max(clamp(12px, 2vw, 24px), env(safe-area-inset-bottom));
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface, #FFFDF9); color: var(--ink);
  border: 1px solid var(--border, #E7DFD3);
  box-shadow: 0 10px 24px -14px rgba(60, 52, 42, 0.35);
  cursor: var(--cursor-link, pointer);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms;
}
.einwilligung-knopf[hidden] { display: none; }
.einwilligung-knopf:hover { transform: translateY(-2px); border-color: var(--border-strong, #D6CAB8); }
.einwilligung-knopf:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.einwilligung-knopf svg { width: 24px; height: 24px; display: block; overflow: visible; }
@media print { .einwilligung-knopf { display: none; } }

.einwilligung-oeffnen {
  font: inherit; font-size: 14px; color: var(--muted);
  background: none; border: 0; padding: 0; text-align: left;
  cursor: var(--cursor-link, pointer); transition: color 200ms;
}
.einwilligung-oeffnen:hover { color: var(--ink); }

@media print { .einwilligung { display: none; } }
.legal .einwilligung-oeffnen {
  font-size: inherit; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong);
}
