/* Date-Seite und Ratgeber auf lottekeramik.berlin (max-claude, 27.11.2026).
   Baut auf /reservieren/buchung.css auf: gleiche Leiste, Knöpfe, Schrift (Gluten) und Fuß.
   Die Seiten erzeugt werkzeuge/seiten_bauen.py, Texte liegen in inhalte/. */

.leiste-links a[aria-current] { background-size: 100% 1.5px; }
/* Sonderzeiten verschwinden nach ihrem Tag von selbst (Klassen setzt das Skript im Kopf) */
.nach-eroeffnungstag [data-eroeffnungstag], .nach-zehnter [data-zehnter], .nach-feiertagen [data-feiertage] { display: none !important; }
.knopf.hell { background: var(--beige); border-color: var(--beige); color: var(--gruen); }
.knopf.hell:focus-visible { outline-color: var(--beige); }
@media (hover: hover) and (pointer: fine) { .knopf.hell:not(:disabled):hover { background: var(--hell); border-color: var(--hell); color: var(--gruen); } }
.text a, .lead a, .klein a, .faq a, .weiter-liste a, .pfad a { text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
/* Überschriften nie silbentrennen (Max, 28.11.): ganze Wörter umbrechen, Größe passt sich der Spalte an */
h1, h2, h3, summary, .uebersicht b { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }

/* Erster Bildschirm wie auf der Startseite: grün, großer beiger Knopf, Foto daneben */
.start { background: var(--gruen); color: var(--beige); padding-block: clamp(24px, 3.2vw, 48px) clamp(44px, 5vw, 72px); }
.start-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.start h1 { font-weight: 800; font-size: clamp(2.3rem, 4.2vw, 3.8rem); line-height: 1.08; text-wrap: balance; }
.start .lead { margin-top: clamp(12px, 1.5vw, 18px); max-width: 34ch; }
.gross-knopf {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: 560px;
  min-height: clamp(80px, 8vw, 104px); margin-top: clamp(22px, 2.6vw, 34px); padding: 0 clamp(22px, 2.6vw, 34px); border-radius: 12px;
  background: var(--beige); color: var(--gruen); font-weight: 800; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.05; text-decoration: none;
  transition: background-color .2s, transform .2s var(--weich);
}
.gross-knopf svg { flex: none; width: 1.15em; height: 1.15em; transition: transform .25s var(--weich); }
.gross-knopf:active { transform: scale(.98); }
.gross-knopf:focus-visible { outline: 2px solid var(--beige); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .gross-knopf:hover { background: var(--hell); } .gross-knopf:hover svg { transform: translateX(6px); } }
.start .klein { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: clamp(14px, 1.6vw, 20px); max-width: 560px; font-weight: 500; }
.start-bild img { display: block; width: 100%; height: auto; max-height: calc(100dvh - var(--leiste) - 48px); object-fit: cover; border-radius: 12px; }
@media (max-width: 899px) {
  .start-raster { grid-template-columns: minmax(0, 1fr); }
  .gross-knopf, .start .klein { max-width: none; }
  .start-bild img { aspect-ratio: 4 / 3; }
}
@media (max-width: 400px) { .start h1 { font-size: clamp(1.9rem, 9.4vw, 2.3rem); } }
/* Auf dem Handy passt „Für zwei reservieren“ in eine Zeile */
@media (max-width: 520px) {
  .gross-knopf { min-height: 64px; gap: 12px; padding-inline: 20px; font-size: clamp(1.1rem, 5.4vw, 1.45rem); white-space: nowrap; }
}

/* Abschnitte der Date-Seite */
.abschnitt { padding-block: clamp(64px, 8vw, 128px); }
.abschnitt.hell { background: var(--hell); }
.abschnitt.gruen { background: var(--gruen); color: var(--beige); }
.abschnitt > .w > .lead { margin-top: 14px; }
.gruende { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 96px); margin-top: clamp(32px, 4.4vw, 60px); max-width: 1100px; }
.gruende h3, .anlaesse h3 { font-weight: 800; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.15; }
.gruende p, .anlaesse p { margin-top: 8px; max-width: 44ch; text-wrap: pretty; }
@media (max-width: 760px) { .gruende { grid-template-columns: minmax(0, 1fr); } }

.anlass-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.anlass-raster img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 12px; margin-top: clamp(24px, 3vw, 36px); }
.anlaesse { display: grid; gap: clamp(28px, 3.4vw, 44px); list-style: none; padding: 0; }
@media (max-width: 899px) { .anlass-raster { grid-template-columns: minmax(0, 1fr); } }

.ablauf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(32px, 4.4vw, 60px); list-style: none; }
.ablauf img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.ablauf h3 { margin-top: 14px; font-weight: 800; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.12; }
.ablauf p { margin-top: 6px; max-width: 30ch; text-wrap: pretty; }
@media (max-width: 899px) { .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 520px) {
  .ablauf { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .ablauf li { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 16px; align-items: center; }
  .ablauf h3 { margin-top: 0; }
}

.preis-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.preis-satz { margin-top: 18px; font-weight: 800; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.2; max-width: 28ch; text-wrap: balance; }
.preis-raster .txt { margin-top: 12px; }
.preis-raster .knoepfe { margin-top: 24px; }
.besuch-kasten address + p { margin-top: 6px; }
.oeffnung { display: grid; gap: 10px; margin-top: 12px; }
.oeffnung dt { font-weight: 500; }
.oeffnung dd { font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; }
.besuch-kasten h3 { font-weight: 800; font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.besuch-kasten > * + h3 { margin-top: 24px; }
.besuch-kasten address { font-style: normal; font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; margin-top: 8px; }
.besuch-kasten .knoepfe { margin-top: 18px; }
.sonderzeiten { margin-top: 12px; font-weight: 600; max-width: 40ch; text-wrap: pretty; }
@media (max-width: 899px) { .preis-raster { grid-template-columns: minmax(0, 1fr); } }

/* Fragen: aufklappbar ohne Skript, die Antworten stehen für Suchmaschinen im Quelltext */
.faq { margin-top: clamp(28px, 3.6vw, 48px); max-width: 860px; }
.faq details { border-top: 1.5px solid var(--linie-g); }
.faq details:last-child { border-bottom: 1.5px solid var(--linie-g); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 16px; align-items: center; padding-block: clamp(16px, 1.8vw, 22px); cursor: pointer; list-style: none; font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 22px; height: 22px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s var(--weich); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.faq details > div { padding-bottom: clamp(18px, 2vw, 24px); max-width: 60ch; text-wrap: pretty; }
.faq details > div p + p { margin-top: 10px; }

/* Schluss: noch einmal reservieren */
.schluss { background: var(--gruen); color: var(--beige); padding-block: clamp(56px, 7vw, 112px); }
.schluss h2 { font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1.08; text-wrap: balance; }
.schluss .lead { margin-top: 14px; }
.schluss .klein { margin-top: 18px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Ratgeber: links Titel und Knopf (wie beim Reservieren), rechts der Text */
.artikel .seitlich { gap: 18px; grid-template-columns: minmax(0, 1fr); }
/* Titel kleiner als .d2, damit das längste Wort (Weihnachtsgeschenke, 12,6 em) in die Spalte passt, ohne Trennstrich */
.artikel h1 { font-size: clamp(1.5rem, 2.7vw, 2.4rem); line-height: 1.1; }
@media (max-width: 900px) { .artikel h1 { font-size: clamp(1.4rem, 7vw, 2.3rem); } }
.artikel .seitlich .lead { margin-top: -4px; }
.autor { font-size: max(15px, .94em); opacity: .82; }
.artikel .fakten { margin-top: 4px; }
.artikel .fakten li { padding-left: 1.1em; position: relative; }
.artikel .fakten li::before { content: ""; position: absolute; left: 0; top: .68em; width: .42em; height: 1.5px; background: currentColor; }
@media (max-width: 900px) {
  .artikel .seitlich .lead { display: block; margin-top: 0; }
  .artikel .seitlich .fakten { display: none; }
}
@media (min-width: 901px) and (max-height: 760px) { .artikel .seitlich { position: static; } }
.artikel-bild { margin: 0 0 clamp(28px, 3.6vw, 44px); }
.artikel-bild img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 12px; object-fit: cover; }
.artikel-bild figcaption { margin-top: 8px; font-size: max(15px, .94em); opacity: .78; }

.text { max-width: 64ch; line-height: 1.62; }
.text > * + * { margin-top: 1em; }
.text h2 { margin-top: clamp(40px, 4.6vw, 60px); font-weight: 800; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.14; text-wrap: balance; }
.text h3 { margin-top: 1.6em; font-weight: 800; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.2; }
.text h2 + *, .text h3 + * { margin-top: .6em; }
.text ul, .text ol { padding-left: 1.25em; display: grid; gap: .5em; }
.text ul { list-style: disc; }
.text ol { list-style: decimal; }
.text li::marker { font-weight: 800; }
.text strong { font-weight: 800; }
.text p, .text li { text-wrap: pretty; }

/* Kasten mitten im Text: direkt reservieren */
.kasten { margin-block: clamp(32px, 4vw, 48px) !important; padding: clamp(22px, 3vw, 34px); border-radius: 12px; background: var(--gruen); color: var(--beige); display: grid; gap: 14px; justify-items: start; }
.kasten p { max-width: 46ch; }
.kasten .kasten-titel { font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; }
.kasten .knoepfe { margin-top: 4px; }
.kasten .knopf.hohl { border-color: var(--beige); color: var(--beige); }
@media (hover: hover) and (pointer: fine) { .kasten .knopf.hohl:not(:disabled):hover { background: var(--beige); border-color: var(--beige); color: var(--gruen); } }

.weiter { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(28px, 3vw, 40px); border-top: 1.5px solid var(--linie-g); }
.weiter h2 { font-weight: 800; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.14; }
.weiter-liste { list-style: none; display: grid; gap: 4px; margin-top: 14px; }
.weiter-liste a { display: inline-block; padding-block: 6px; font-weight: 600; }
.pfad { margin-top: clamp(40px, 5vw, 64px); font-size: max(15px, .94em); }
.pfad ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.pfad li + li::before { content: "/"; padding-inline: .5em; opacity: .6; }
.pfad [aria-current] { opacity: .78; }

/* Ratgeber-Übersicht */
.uebersicht { list-style: none; display: grid; gap: clamp(22px, 2.6vw, 32px); max-width: 980px; }
.uebersicht a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: center; text-decoration: none; }
.uebersicht img { width: 120px; height: 96px; object-fit: cover; border-radius: 8px; }
.uebersicht b { display: block; font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.15; text-wrap: balance; }
.uebersicht span { display: block; margin-top: 4px; max-width: 58ch; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .uebersicht a:hover b { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1.5px; } }
@media (max-width: 520px) { .uebersicht a { grid-template-columns: 84px minmax(0, 1fr); } .uebersicht img { width: 84px; height: 84px; } .uebersicht b { font-size: clamp(1.1rem, 4.6vw, 1.25rem); } }

/* Fuß: zweite Zeile mit Seiten zum Weiterklicken */

@media (prefers-reduced-motion: reduce) {
  .gross-knopf, .gross-knopf svg, .faq summary i::before, .faq summary i::after { transition: none; }
}
