/* Reservieren und Buchung ansehen auf lottekeramik.berlin (max-claude, 30.10.2026, HQ #41).
   Gleiche Werte wie die Startseite: Gluten (Schrift des Logos), Grün #33683D und Beige #E8DDC9, Knöpfe 6 px. */
:root {
  --gruen: #33683D; --gruen-tief: #2A5733; --beige: #E8DDC9; --hell: #F6F0E6;
  --linie-g: rgba(51, 104, 61, .26); --linie-b: rgba(232, 221, 201, .4);
  --text: "Gluten", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 64px);
  --weich: cubic-bezier(.23, 1, .32, 1);
  --leiste: 68px;
}
@font-face { font-family: "Gluten"; src: url("/fonts/gluten-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Gluten"; src: url("/fonts/gluten-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--gruen); scroll-padding-top: calc(var(--leiste) + 24px); }
body { background: var(--beige); color: var(--gruen); font-family: var(--text); font-size: clamp(18px, 1.25vw, 20px); line-height: 1.5; font-weight: 450; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--beige); color: var(--gruen); padding: 12px 16px; border-radius: 6px; font: 500 max(15px, .94em)/1.1 var(--text); text-decoration: none; }
.sprung:focus { top: 12px; }

/* Leiste oben: immer im festen Zustand der Startseite */
.leiste {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; min-height: var(--leiste);
  padding: max(12px, env(safe-area-inset-top)) var(--gut) 12px; background: var(--gruen); color: var(--beige); box-shadow: 0 1px 0 var(--linie-b);
}
.leiste-marke { display: block; width: clamp(150px, 16vw, 220px); margin-right: auto; color: var(--beige); }
.leiste-marke svg, .fuss .marke { display: block; width: 100%; height: auto; fill: currentColor; }
.leiste-marke:focus-visible { outline: 2px solid var(--beige); outline-offset: 6px; }
.leiste-links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.leiste-links a, .linkpfeil {
  font: 500 max(15px, .94em)/1.1 var(--text); color: inherit; text-decoration: none; padding: 8px 0 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--weich);
}
.linkpfeil { background-size: 100% 1.5px; }
.leiste-links a:hover, .leiste-links a:focus-visible, .linkpfeil:hover, .linkpfeil:focus-visible { background-size: 100% 1.5px; }
.leiste-links a:focus-visible, .linkpfeil:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 760px) { .leiste-links a:not(.immer) { display: none; } }
/* Reservieren oben rechts wie auf der Startseite (Gutschein-Seiten); schmal ersetzt er den Link „Startseite“, das Logo führt auch dahin */
.leiste .leiste-knopf { min-height: 46px; padding: 0 22px; border-color: var(--beige); background: var(--beige); color: var(--gruen); font-weight: 600; }
.leiste .leiste-knopf:focus-visible { outline-color: var(--beige); }
@media (hover: hover) and (pointer: fine) { .leiste .leiste-knopf:not(:disabled):hover { border-color: var(--hell); background: var(--hell); color: var(--gruen); } }
@media (max-width: 520px) { .leiste:has(.leiste-knopf) .leiste-links { display: none; } }
/* Mittlere Breiten: höchstens drei Links plus Startseite, Logo schrumpft nicht, Links brechen nicht um */
.leiste-marke { flex-shrink: 0; }
.leiste-links a { white-space: nowrap; }
@media (max-width: 1100px) { .leiste-links a:not(.immer):nth-child(n+4) { display: none; } }

/* Knöpfe wie auf der Startseite, hier meist dunkel auf Beige */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 28px; border-radius: 6px;
  border: 1.5px solid var(--gruen); background: var(--gruen); color: var(--beige);
  font: 500 max(15px, .94em)/1.1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--weich), background-color .2s, color .2s, border-color .2s;
}
.knopf.hohl { background: transparent; color: var(--gruen); }
.knopf:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }
.knopf:active { transform: scale(.97); }
.knopf:disabled { opacity: .6; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .knopf:not(:disabled):hover { background: var(--gruen-tief); border-color: var(--gruen-tief); }
  .knopf.hohl:not(:disabled):hover { background: var(--gruen); border-color: var(--gruen); color: var(--beige); }
}
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Schrift */
.w { max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.mono { font: 500 max(15px, .94em)/1.35 var(--text); }
.d2 { font-weight: 800; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.08; text-wrap: balance; }
.d4 { font-weight: 800; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.12; text-wrap: balance; }
.lead { font-size: clamp(1.15rem, 1.65vw, 1.5rem); line-height: 1.38; max-width: 36ch; text-wrap: pretty; }
.txt { max-width: 52ch; text-wrap: pretty; }
.leise { opacity: .78; }

/* Reservieren: links fest, rechts die Schritte */
.seite { padding-block: clamp(48px, 7vw, 112px) clamp(80px, 9vw, 144px); }
.raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 128px); align-items: start; }
.seitlich { position: sticky; top: calc(var(--leiste) + 40px); display: grid; gap: 28px; }
.fakten { list-style: none; display: grid; gap: 8px; }
.fakten b { font-weight: 800; }
@media (max-width: 900px) { .raster { grid-template-columns: minmax(0, 1fr); gap: 32px; } .seitlich { position: static; gap: 10px; } .seitlich .lead, .fakten { display: none; } }

.schritte { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); }
/* Platzhalter für den Kalender, bis die Öffnungszeiten geladen sind: sonst springt der Fuß beim ersten Laden nach unten.
   Gleiche Höhe wie „Welcher Tag?“ mit fünf Wochenzeilen (Tage quadratisch, deshalb 7 : 5), verschwindet mit dem echten Schritt oder bei einem Fehler. */
.schritte:has(> #schritt-tag[hidden]):not(:has(> #rahmen-fehler:not(:empty)))::after {
  content: ""; box-sizing: content-box; width: min(560px, 100%); aspect-ratio: 7 / 5; padding-top: calc(191px + 1.12 * clamp(1.45rem, 2.2vw, 2rem));
}
.schritt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.schritt[hidden] { display: none; }
.js .schritt.neu { animation: auf .3s var(--weich) both; }
@keyframes auf { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.schritt-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* Auswahlfelder: Personen, Tage, Uhrzeiten */
.wahlen { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl span {
  display: grid; place-items: center; min-width: 54px; min-height: 54px; padding: 0 14px; border-radius: 6px;
  border: 1.5px solid transparent; background: var(--hell); font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; cursor: pointer; user-select: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--weich);
}
.wahl input:checked + span { background: var(--gruen); border-color: var(--gruen); color: var(--beige); }
.wahl input:focus-visible + span { outline: 2px solid var(--gruen); outline-offset: 3px; }
.wahl input:disabled + span { background: none; opacity: .32; cursor: default; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.wahl:active input:not(:disabled) + span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .wahl input:not(:disabled):not(:checked) + span:hover { border-color: var(--gruen); } }

.kalender, .wahlen, .zeiten, .form { max-width: 560px; }
.monat { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.monat-name { font-weight: 800; font-size: 1.35rem; }
.pfeil { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 6px; border: 0; background: var(--hell); cursor: pointer; }
.pfeil:disabled { visibility: hidden; }
.pfeil:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .pfeil:hover { border-color: var(--gruen); } }
.wochentage, .tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wochentage { margin-top: 14px; text-align: center; }
.wochentage span { padding: 4px 0; }
.tage { margin-top: 6px; transition: opacity .2s; }
.tage[aria-busy="true"] { opacity: .45; }
.tage .wahl span { min-width: 0; min-height: 0; aspect-ratio: 1; padding: 0; font-size: 1rem; }
.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.zeiten .wahl span { min-width: 0; width: 100%; }

/* Formular */
.form { display: grid; gap: 20px; }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .zwei { grid-template-columns: minmax(0, 1fr); } }
.feld { display: grid; gap: 8px; }
.feld label { font-weight: 700; }
.feld input, .feld textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 6px; border: 1.5px solid transparent; background: var(--hell);
  color: var(--gruen); font: inherit; font-size: max(16px, 1rem);
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld-code input { max-width: 260px; text-transform: uppercase; letter-spacing: .04em; }
#fertig-rabatt-hinweis { margin-block: 16px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(51, 104, 61, .18); }
.feld [aria-invalid="true"] { border-color: var(--gruen); border-width: 2.5px; }
.fehler { font-weight: 700; }
.haken { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; line-height: 1.4; }
.haken input { appearance: none; -webkit-appearance: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 6px; background: var(--hell); box-shadow: inset 0 0 0 1.5px var(--gruen); cursor: pointer; }
.haken input:checked { background: var(--gruen); }
.haken input:checked::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border: solid var(--beige); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.haken input:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }
.haken + .fehler { padding-left: 38px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.abschluss { display: grid; gap: 16px; padding-top: 6px; }
.zusammen { font-size: 1.15rem; }

.meldung { border: 2px solid var(--gruen); border-radius: 6px; padding: 14px 16px; font-weight: 700; }
.meldung:empty { display: none; }

/* Bestätigung und Buchung ansehen */
.karte { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 14px 32px; background: var(--hell); border-radius: 6px; padding: clamp(22px, 3vw, 36px); max-width: 640px; }
.karte dt { font: 500 max(15px, .94em)/1.6 var(--text); }
.karte dd { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.karte.durch dd { text-decoration: line-through; text-decoration-thickness: 2px; }
@media (max-width: 480px) { .karte { grid-template-columns: minmax(0, 1fr); gap: 4px; } .karte dd { margin-bottom: 10px; } }
.einzeln { display: grid; gap: 28px; max-width: 720px; }
.frage { border: 2px solid var(--gruen); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; max-width: 640px; }
.frage[hidden] { display: none; }

/* Datenschutz zur Reservierung */
.datenschutz { margin-top: clamp(64px, 8vw, 128px); padding-top: 18px; }
.datenschutz summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.datenschutz summary::-webkit-details-marker { display: none; }
.datenschutz summary::after { content: "+"; font: 600 20px/1 var(--text); }
.datenschutz[open] summary::after { content: "–"; }
.datenschutz summary:focus-visible { outline: 2px solid var(--gruen); outline-offset: 4px; }
.datenschutz .txt { margin-top: 16px; max-width: 72ch; opacity: .85; }

/* Fuß wie auf der Startseite */
.fuss { background: var(--gruen); color: var(--beige); padding: clamp(32px, 4vw, 52px) 0 max(24px, env(safe-area-inset-bottom)); }
.fuss .w { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.fuss .marke { width: 96px; }
.fuss-zeile { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.fuss-zeile a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .fuss-zeile a:hover { text-decoration: underline; } }
/* Vertrag widerrufen steht im Fuß jeder Seite als umrandeter Knopf (gesetzliche Widerrufsfunktion) */
.fuss-zeile { align-items: center; row-gap: 10px; }
.fuss-zeile a.hervor { padding: .35em .85em; border: 1.5px solid currentColor; border-radius: 6px; font-weight: 600; }
.fuss-zeile .umbruch { flex-basis: 100%; height: 0; }
@media (hover: hover) and (pointer: fine) { .fuss-zeile a.hervor:hover { text-decoration: none; background: var(--beige); color: var(--gruen); } }

@media (prefers-reduced-motion: reduce) {
  .js .schritt.neu { animation: none; }
  .knopf, .wahl span, .tage, .leiste-links a { transition: none; }
}

/* Drucken (AGB, Widerrufsbelehrung, Bestätigungen): schwarz auf Weiß, ohne Leiste, Fuß und Knöpfe */
@media print {
  :root { --gruen: #000; --gruen-tief: #000; --beige: #fff; --hell: #fff; --linie-g: #bbb; }
  html, body { background: #fff; color: #000; }
  body { font-size: 11pt; line-height: 1.45; }
  .leiste, .fuss, .sprung, .honig, .knopf, .knoepfe { display: none !important; }
  .seite { min-height: 0 !important; padding-block: 0; }
  .w { max-width: none; padding-inline: 0; }
  .raster { display: block; }
  .seitlich { position: static; }
  .d2 { font-size: 22pt; } .d4 { font-size: 15pt; }
  .karte, .kasse, .muster { border: 1px solid #bbb; }
  a { text-decoration: underline; }
  h1, h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
