/*
Theme Name: Erika
Description: Website der Erika im Festspielhaus Hellerau. Öffnungszeiten, Hinweis, Wochenangebote und Kontakt werden im WordPress-Menü "Erika" gepflegt.
Version: 1.0.0
Author: Mumble Events und Gastronomie UG
Text Domain: erika
*/

:root {
  --sand: #c6ae84;
  --paper: #efe7d6;
  --ink: #17110e;
  --ink-soft: #4a3d35;
  --plum: #8e506e;
  --rule: #8e506e;
  --foot: #8e506e;
  --foot-ink: #f6eee0;
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --f-body: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181210; --ink: #f0e6d2; --ink-soft: #c9bba3;
    --plum: #c58aa6; --rule: #8e506e; --foot: #3a2230; --foot-ink: #f0e6d2;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
}
a { color: inherit; text-decoration-color: var(--plum); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.wrap {
  max-width: 980px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Kopf (bleibt in beiden Farbmodi sandfarben, passend zum Logo) */
.top { background: var(--sand); color: #17110e; text-align: center; padding: 22px 0 20px; }
.logo { width: min(300px, 62%); height: auto; display: block; margin: 0 auto; }
.tag { margin: 2px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; }
.nav { margin-top: 14px; display: flex; gap: 8px 26px; justify-content: center; flex-wrap: wrap; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: #8e506e; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--plum); margin: 0; }

/* Vorstellung */
.intro { padding: 64px 0 40px; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; text-align: center; }
.intro p { margin: 0; font-size: 1.12rem; color: var(--ink-soft); }
.intro .lead { color: var(--ink); }
.pill { display: inline-block; justify-self: center; margin-top: 6px; padding: 7px 16px; border: 1.5px solid var(--plum); color: var(--plum); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; }

/* Hinweis */
.hinweis { margin: 0 auto 28px; max-width: 760px; padding: 14px 18px; border: 1.5px solid var(--plum); border-radius: 6px; color: var(--plum); font-weight: 600; text-align: center; }

/* Wochenangebote */
.section { padding: 48px 0; }
.head { text-align: center; margin-bottom: 36px; display: grid; gap: 10px; justify-items: center; }
.days { display: grid; grid-template-columns: repeat(2, 1fr); }
.day { position: relative; padding: 34px 20px 40px; text-align: center; display: grid; justify-items: center; align-content: start; gap: 10px; border-top: 1.5px solid var(--rule); }
.day:nth-child(odd) { border-right: 1.5px solid var(--rule); }
.day:nth-child(-n+2) { border-top: 0; }
.day .wd { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
.day svg { width: 112px; height: 84px; stroke: var(--plum); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.day h3 { margin: 4px 0 0; font-weight: 400; font-size: clamp(1.8rem, 4.4vw, 2.7rem); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.day .text { margin: 0; max-width: 34ch; color: var(--ink-soft); }
.day .preis { margin: 0; font-weight: 600; color: var(--plum); font-variant-numeric: tabular-nums; }
.day .now { position: absolute; top: 14px; right: 14px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; background: var(--plum); color: var(--paper); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 560px) {
  .days { grid-template-columns: 1fr; }
  .day:nth-child(odd) { border-right: 0; }
  .day:nth-child(2) { border-top: 1.5px solid var(--rule); }
  .day { padding: 28px 8px 32px; }
}

/* Zeiten + Kontakt */
.info { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.info > div { padding: 36px 28px; min-width: 0; }
.info > div + div { border-left: 1.5px solid var(--rule); }
.info h2 { font-size: 1.7rem; margin-bottom: 18px; }
.hours { margin: 0; display: grid; gap: 14px; }
.hours div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; align-items: baseline; }
.hours dt, .contact .lab { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours small { display: block; color: var(--ink-soft); font-size: 0.9rem; }
.contact { display: grid; gap: 12px; font-style: normal; }
.contact .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; min-width: 0; }
.contact .lab { min-width: 5.5rem; }
.contact .val { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.insta { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; overflow-wrap: anywhere; }
.insta svg { width: 22px; height: 22px; stroke: var(--plum); fill: none; stroke-width: 1.8; flex: none; }
.insta:hover span { text-decoration: underline; text-decoration-color: var(--plum); }
.note { margin: 18px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.note + .note { margin-top: 8px; }
@media (max-width: 720px) {
  .info { grid-template-columns: 1fr; }
  .info > div + div { border-left: 0; border-top: 1.5px solid var(--rule); }
  .info > div { padding: 30px 6px; }
  .hours div { grid-template-columns: 6.2rem 1fr; }
}

/* Unterseiten (Impressum, Datenschutz) */
.page-content { padding-top: 56px; padding-bottom: 64px; max-width: 760px; }
.page-content h1 { margin-bottom: 28px; }
.page-content h2 { margin: 34px 0 10px; }
.page-content h3 { margin: 26px 0 6px; font-family: var(--f-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); }
.page-content p, .page-content li { font-size: 0.98rem; overflow-wrap: anywhere; }
.page-content p { margin: 0 0 8px; }
.page-content a { text-decoration-color: var(--plum); }

/* Fuß */
.foot { background: var(--foot); color: var(--foot-ink); padding-top: 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 0.9rem; text-align: center; }
.foot a { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Status und Öffnungszeiten oben */
.status { display: inline-flex; align-items: center; gap: 10px; justify-self: center; margin-top: 8px !important; padding: 8px 18px; border-radius: 999px; font-size: 0.9rem !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.status-open { background: #2f6b4f; color: #f4f1e8 !important; }
.status-closed { background: var(--plum); color: var(--paper) !important; }
.hours-top { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.hours-top > div { padding: 22px 12px; display: grid; gap: 4px; justify-items: center; min-width: 0; }
.hours-top > div + div { border-left: 1.5px solid var(--rule); }
.hours-top .lab { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); }
.hours-top .val { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-top small { color: var(--ink-soft); font-size: 0.9rem; }
.intro .note-top { font-size: 0.98rem; margin: 0; }
@media (max-width: 560px) {
  .hours-top { grid-template-columns: 1fr; }
  .hours-top > div + div { border-left: 0; border-top: 1.5px solid var(--rule); }
}

.head .sub { margin: 0; max-width: 46ch; color: var(--ink-soft); }

/* Permanentes Angebot */
.perm { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.perm > div { padding: 36px 28px; min-width: 0; }
.perm > div + div { border-left: 1.5px solid var(--rule); }
.perm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.perm-head h3 { font-size: 1.7rem; }
.perm .price { font-weight: 600; font-size: 1.15rem; color: var(--plum); font-variant-numeric: tabular-nums; white-space: nowrap; }
.perm-sub { margin: 6px 0 18px; color: var(--ink-soft); font-size: 0.95rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--rule) 35%, transparent); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list .tag { flex: none; text-align: right; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum); }
.dips { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--rule) 35%, transparent); font-size: 0.95rem; color: var(--ink-soft); }
.dips .lab { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); margin-right: 8px; }
@media (max-width: 720px) {
  .perm { grid-template-columns: 1fr; }
  .perm > div + div { border-left: 0; border-top: 1.5px solid var(--rule); }
  .perm > div { padding: 30px 6px; }
}
