/* Terminbuchung - Stylesheet */
:root {
  /* Schwarz auf Beige: Die Hierarchie trägt weiterhin der Kontrast, die
     Neutraltöne sind ins Warme verschoben. Bedeutung steht immer im Text. */
  --bg: #f2ece2;
  --surface: #fffdf9;
  --surface-2: #faf5ec;
  --surface-3: #efe7da;
  --text: #17140f;
  --text-2: #453f35;
  --muted: #6f675a;
  --line: #e2d9c9;
  --line-stark: #c4b8a3;
  --accent: #17140f;
  --accent-soft: #efe7da;
  --accent-hover: #322c22;
  --auf-dunkel: #fffdf9;
  --ok: #17140f;
  --ok-soft: #efe7da;
  --warn: #17140f;
  --warn-soft: #efe7da;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(23, 20, 15, .04), 0 8px 24px rgba(23, 20, 15, .07);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .5rem; letter-spacing: -.022em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .75rem; }

/* ---------- Layout ---------- */
.wrap { max-width: 980px; margin: 0 auto; padding: 0 1.1rem; }
.wrap-wide { max-width: 1180px; }

header.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-inner { display: flex; align-items: center; gap: 1rem; height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-weight: 650; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: .95rem; font-weight: 700;
}
.brand small { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); }
nav.mainnav { margin-left: auto; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
nav.mainnav a { text-decoration: none; color: var(--muted); padding: .45rem .7rem; border-radius: 9px; font-size: .92rem; }
nav.mainnav a:hover { background: var(--surface-2); color: var(--text); }
nav.mainnav a.active { color: var(--text); font-weight: 600; }

main { padding: 2rem 0 4rem; }
.page-head { margin-bottom: 1.4rem; }
.page-head p { color: var(--muted); margin: 0; }

/* ---------- Bausteine ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 1rem; }
.card-flat { box-shadow: none; }
.grid { display: grid; gap: .75rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
button, .btn {
  font: inherit;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: .6rem 1.1rem;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: background .15s, border-color .15s, transform .05s;
}
button:hover, .btn:hover { background: var(--accent-hover); }
button:active, .btn:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost, button.ghost {
  background: var(--surface); color: var(--text); border-color: var(--line);
}
.btn-ghost:hover, button.ghost:hover { background: var(--surface-2); }
.btn-danger, button.danger { background: var(--surface); color: var(--text);
  border-color: var(--line-stark); font-weight: 650; }
.btn-danger:hover, button.danger:hover { background: var(--text); color: var(--auf-dunkel); }
.btn-sm { padding: .38rem .7rem; font-size: .87rem; border-radius: 8px; }
.linkbtn {
  background: none; border: none; color: var(--accent); padding: 0; font-weight: 600;
  text-decoration: underline; cursor: pointer;
}
.linkbtn:hover { background: none; color: var(--accent-hover); }

/* ---------- Formulare ---------- */
label.field { display: block; margin-bottom: .8rem; }
label.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=date], input[type=time], input[type=datetime-local],
select, textarea {
  width: 100%;
  font: inherit;
  padding: .6rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
  border-color: var(--text);
}
/* Sichtbarer Fokus auch beim Bedienen mit der Tastatur */
a:focus-visible, button:focus-visible, .tab:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-radius: 6px;
}
textarea { min-height: 84px; resize: vertical; }
input[type=color] { width: 46px; height: 38px; padding: 2px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.checkline { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; font-size: .93rem; }
.checkline input { width: auto; }

/* ---------- Meldungen ---------- */
.msg { padding: .7rem .9rem; border-radius: 10px; font-size: .92rem; margin-bottom: .9rem; }
.msg-error { background: var(--surface); color: var(--text); border: 1px solid var(--line-stark);
  border-left: 4px solid var(--text); }
.msg-ok { background: var(--surface-3); color: var(--text); border: 1px solid var(--line);
  border-left: 4px solid var(--line-stark); }
.msg-info { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line);
  border-left: 4px solid var(--line-stark); }

/* ---------- Schritte / Wizard ---------- */
.steps { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.step-chip {
  display: flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 999px; font-size: .85rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.step-chip b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--line); color: var(--muted); font-size: .74rem; }
.step-chip.done { color: var(--text); }
.step-chip.done b { background: var(--ok); color: #fff; }
.step-chip.current { border-color: var(--text); color: var(--text); background: var(--surface); }
.step-chip.current b { background: var(--accent); color: #fff; }

/* ---------- Auswahlkacheln ---------- */
.pick {
  display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: .9rem 1rem; font-weight: 500; cursor: pointer;
}
.pick:hover { background: var(--surface-2); border-color: var(--line-stark); }
.pick.selected {
  border-color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--text);
}
.pick .pick-main { flex: 1; min-width: 0; }
.pick .pick-title { font-weight: 650; }
.pick .pick-sub { font-size: .85rem; color: var(--muted); }
.pick .pick-meta { text-align: right; font-size: .88rem; white-space: nowrap; color: var(--muted); }
.pick .pick-meta b { display: block; color: var(--text); }

.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1rem; flex: none;
}
.avatar-sm { width: 32px; height: 32px; font-size: .8rem; }

.cat-title {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin: 1.2rem 0 .5rem; font-weight: 700;
}
.cat-title:first-child { margin-top: 0; }

/* ---------- Datum & Slots ---------- */
.datestrip { display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.datestrip .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; flex: 1; }
.daybtn {
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: .5rem .2rem; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; font-weight: 500;
}
.daybtn span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.daybtn b { font-size: 1.05rem; }
.daybtn small { font-size: .68rem; color: var(--muted); }
.daybtn:hover { border-color: var(--line-stark); background: var(--surface-2); }
.daybtn.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.daybtn.selected span, .daybtn.selected small { color: rgba(255,255,255,.85); }
.daybtn.empty { opacity: .45; }
.navbtn { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: .55rem .7rem; }
.navbtn:hover { background: var(--surface-2); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; }
.slot {
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: .55rem .3rem; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.slot:hover { border-color: var(--text); background: var(--surface-3); color: var(--text); }
.slot.selected { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Termin-Karten ---------- */
.appt {
  display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: var(--surface);
}
.appt + .appt { margin-top: .7rem; }
.appt.cancelled { opacity: .68; }
.appt-date {
  flex: none; width: 78px; text-align: center; border-right: 1px solid var(--line); padding-right: .9rem;
}
.appt-date span { display: block; font-size: .74rem; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.appt-date b { display: block; font-size: 1.6rem; line-height: 1.1; }
.appt-body { flex: 1; min-width: 0; }
.appt-actions { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }

.badge {
  display: inline-block; padding: .14rem .55rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
}
.badge-ok { background: var(--text); color: var(--auf-dunkel); }
.badge-cancel { background: var(--surface); color: var(--text); border: 1px solid var(--text); }
.badge-past { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Tabellen ---------- */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; flex-wrap: wrap; }
.tab {
  background: none; border: none; border-bottom: 2px solid transparent; color: var(--muted);
  padding: .6rem .8rem; border-radius: 0; font-weight: 600;
}
.tab:hover { background: none; color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(23, 20, 15, .5); display: grid; place-items: center;
  padding: 1rem; z-index: 60;
}
.modal {
  background: var(--surface); border-radius: 16px; padding: 1.4rem; width: min(560px, 100%);
  max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 70px rgba(23,20,15,.3);
}

/* ---------- Hero ---------- */
.hero {
  color: #fff; border-radius: 18px; padding: 2.2rem; margin-bottom: 1.6rem; overflow: hidden;
}
.hero h1 {
  color: #fff; font-size: 2.4rem; letter-spacing: -.03em;
  text-shadow: 0 2px 14px rgba(20, 13, 6, .75);
}
.hero p {
  color: rgba(255, 255, 255, .95); max-width: 46ch; margin-bottom: 0;
  text-shadow: 0 1px 10px rgba(20, 13, 6, .8);
}
.hero-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.2rem; font-size: .9rem; color: rgba(255,255,255,.8); }

.footer { border-top: 1px solid var(--line); padding: 1.6rem 0; color: var(--muted); font-size: .87rem; }

.empty {
  text-align: center; padding: 2.4rem 1rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-2);
}

.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.summary-line:last-child { border-bottom: none; }
.summary-line span { color: var(--muted); }
.summary-line b { text-align: right; }

@media (max-width: 640px) {
  h1 { font-size: 1.55rem; }
  .hero { padding: 1.5rem; }
  .hero h1 { font-size: 1.65rem; }
  .topbar-inner { height: auto; padding: .7rem 0; flex-wrap: wrap; }
  nav.mainnav { width: 100%; margin-left: 0; }
  .datestrip .days { grid-template-columns: repeat(4, 1fr); }
  .appt { flex-wrap: wrap; }
  .appt-actions { flex-direction: row; width: 100%; justify-content: flex-start; }
}

/* ---------- Verzeichnis (Startseite) ---------- */
.search-hero {
  color: #fff; border-radius: 18px; padding: 2.4rem 2rem; margin-bottom: 1.6rem;
  overflow: hidden;
}
.search-hero h1 {
  color: #fff; font-size: 2.6rem; max-width: 18ch; letter-spacing: -.03em; font-weight: 700;
  text-shadow: 0 2px 14px rgba(20, 13, 6, .75);
}
.search-hero p {
  color: rgba(255, 255, 255, .95); max-width: 50ch;
  text-shadow: 0 1px 10px rgba(20, 13, 6, .8);
}
.search-bar { display: flex; gap: .5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.search-bar input, .search-bar select {
  flex: 1; min-width: 180px; border: none; padding: .8rem .9rem; font-size: 1rem;
}
.search-bar button { padding: .8rem 1.4rem; background: #fff; color: var(--text); }
.search-bar button:hover { background: var(--surface-3); }

.company-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.company-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s;
}
.company-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(23,20,15,.14);
  border-color: var(--line-stark); }
.company-card .thumb {
  height: 150px; position: relative;
  display: grid; place-items: center; overflow: hidden; flex: none;
}
/* absolut positioniert, damit das Bild den Rahmen nie aufdrückt */
.company-card .thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.company-card .thumb .fallback {
  color: #fff; font-size: 2.2rem; font-weight: 700; letter-spacing: .04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7); position: relative; z-index: 1;
}
.company-card .cat {
  position: absolute; top: .6rem; left: .6rem; background: rgba(0,0,0,.62); color: #fff;
  padding: .2rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
}
.company-card .body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.company-card h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.015em; }
.company-card .meta {
  margin-top: auto; padding-top: .7rem; display: flex; gap: .8rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}

/* ---------- Betriebsseite ---------- */
.company-hero {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; margin-bottom: 1.4rem; box-shadow: var(--shadow);
}
.company-hero .cover {
  height: 230px; position: relative; overflow: hidden;
}
.company-hero .cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.company-hero .info { padding: 1.4rem; }
.company-hero h1 { margin-bottom: .3rem; }
.company-hero .facts { display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-top: .8rem; }
.whatsapp-link {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--text);
  padding: .6rem 1.1rem; border-radius: 10px; text-decoration: none; font-weight: 650;
}
.whatsapp-link:hover { background: var(--text); color: var(--auf-dunkel); }

.company-switch { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.company-switch select { width: auto; min-width: 220px; }

/* ---------- Nächster freier Termin im Verzeichnis ---------- */
.next-free { margin-top: .5rem; }
.next-free .frei {
  display: inline-block; font-size: .82rem; background: var(--surface);
  color: var(--text); border: 1px solid var(--text); padding: .18rem .6rem;
  border-radius: 999px; font-weight: 500;
}
.next-free .frei b { font-weight: 700; }
.next-free .frei-keiner { background: var(--surface-2); color: var(--muted);
  border-color: var(--line); }

/* ---------- Bewertungen ---------- */
.stars { letter-spacing: .06em; white-space: nowrap; }
.stars .on { color: var(--text); }
.stars .off { color: #cdc2ae; }
.stars-lg { font-size: 1.3rem; }
.rating-none { color: var(--muted); font-size: .86rem; }
.price-level { margin-left: .4rem; font-weight: 700; letter-spacing: .02em; }
.price-level .on { color: var(--text); }
.price-level .off { color: #cdc2ae; }

.review {
  border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: var(--surface);
}
.review + .review { margin-top: .7rem; }
.review .head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .4rem; }
.review .head b { font-weight: 650; }
.review .reply {
  margin-top: .7rem; padding: .7rem .9rem; background: var(--surface-2);
  border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; font-size: .92rem;
}
.rating-bar { display: flex; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: .25rem; }
.rating-bar .track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.rating-bar .fill { height: 100%; background: var(--text); }
.rating-big { font-size: 2.6rem; font-weight: 700; line-height: 1; }

.star-pick { display: flex; gap: .25rem; font-size: 2rem; cursor: pointer; }
.star-pick span { color: #cdc2ae; transition: color .1s; }
.star-pick span.on { color: var(--text); }

.ranking-note {
  font-size: .82rem; color: var(--muted); margin-top: 1.2rem;
  border-top: 1px solid var(--line); padding-top: .8rem;
}

/* ---------- Rechtsseiten ---------- */
.legal-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-nav a { color: var(--muted); text-decoration: none; font-size: .87rem; }
.legal-nav a:hover { color: var(--accent); text-decoration: underline; }

.luecke {
  background: var(--surface-3); color: var(--text); border: 1px dashed var(--text);
  padding: .05rem .4rem; border-radius: 6px; font-size: .86rem; font-weight: 600;
}
.legal-page h2 { margin-top: 2rem; }
.legal-page h3 { margin-top: 1.4rem; }
.legal-page p, .legal-page li { max-width: 78ch; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page li { margin-bottom: .35rem; }
.legal-page .stand { color: var(--muted); font-size: .85rem; }
.legal-block {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem; margin: .8rem 0;
}

/* ---------- Bildergalerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.gallery figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); }
.gallery img { width: 100%; height: 110px; object-fit: cover; display: block; }
.gallery figcaption { padding: .4rem .5rem; font-size: .78rem; color: var(--muted); }
.gallery .tools { display: flex; gap: .3rem; padding: 0 .5rem .5rem; }

.hero-gallery { display: flex; gap: .4rem; padding: .6rem 1.4rem 0; flex-wrap: wrap; }
.hero-gallery button {
  padding: 0; border: 1px solid var(--line); background: none; border-radius: 8px;
  overflow: hidden; width: 78px; height: 56px;
}
.hero-gallery button.aktiv { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox img { max-width: 100%; max-height: 70vh; border-radius: 10px; display: block; margin: auto; }

/* ---------- Merken ---------- */
.company-card .merken {
  position: absolute; top: .5rem; right: .5rem; z-index: 2;
  background: rgba(0,0,0,.55); color: #fff; border: none; width: 32px; height: 32px;
  border-radius: 50%; padding: 0; font-size: 1rem; line-height: 1; display: grid; place-items: center;
}
.company-card .merken:hover { background: rgba(0,0,0,.75); }
.company-card .merken.an { background: var(--text); }

.merken-gross {
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  padding: .55rem 1rem; border-radius: 10px; font-weight: 600;
}
.merken-gross.an { background: var(--text); border-color: var(--text); color: var(--auf-dunkel); }

/* ---------- Übersichtsseiten ---------- */
.orte-liste { display: flex; flex-wrap: wrap; gap: .5rem; }
.orte-liste a {
  display: inline-block; padding: .4rem .8rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); text-decoration: none;
  color: var(--text); font-size: .9rem;
}
.orte-liste a:hover { border-color: var(--accent); color: var(--accent); }
.orte-liste a.aktiv { background: var(--accent); border-color: var(--accent); color: #fff; }
.orte-liste a .zahl { color: var(--muted); font-size: .8rem; }
.orte-liste a.aktiv .zahl { color: rgba(255,255,255,.8); }

/* ---------- Holz-Akustikpaneel ----------
   Vertikale Lamellen, komplett aus CSS-Verläufen: keine Bilddatei, kein
   Nachladen, jede Auflösung scharf. Aufbau je Lamelle:
   Schattenfuge -> Lichtkante -> gewölbte Fläche -> Schattenkante. */
.holz {
  position: relative;
  background-color: #9c7c55;
  background-image:
    /* Lamelle: Fuge, Lichtkante, gewölbte Fläche, abfallende Schattenkante */
    repeating-linear-gradient(90deg,
      rgba(58, 40, 22, .80) 0px,
      rgba(58, 40, 22, .80) 4px,
      rgba(255, 242, 218, .48) 4px,
      rgba(255, 242, 218, .48) 6px,
      rgba(255, 236, 206, .30) 6px,
      rgba(255, 236, 206, .30) 14px,
      rgba(120, 88, 52, .10) 14px,
      rgba(120, 88, 52, .10) 24px,
      rgba(74, 52, 30, .26) 24px,
      rgba(74, 52, 30, .26) 31px,
      rgba(58, 40, 22, .48) 31px,
      rgba(58, 40, 22, .48) 34px),
    /* Maserung, ganz zurückhaltend */
    repeating-linear-gradient(87deg,
      rgba(255, 240, 214, .06) 0px,
      rgba(255, 240, 214, .06) 1px,
      transparent 1px,
      transparent 6px),
    /* Grundton mit Lichtabfall */
    linear-gradient(168deg, #b8945f 0%, #9c7c55 55%, #7d6244 100%);
}

.holz-hell {
  background-color: #d9c4a0;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(74, 54, 32, .62) 0px,
      rgba(74, 54, 32, .62) 4px,
      rgba(255, 252, 244, .75) 4px,
      rgba(255, 252, 244, .75) 6px,
      rgba(255, 249, 236, .42) 6px,
      rgba(255, 249, 236, .42) 14px,
      rgba(120, 92, 56, .10) 14px,
      rgba(120, 92, 56, .10) 24px,
      rgba(92, 68, 40, .26) 24px,
      rgba(92, 68, 40, .26) 31px,
      rgba(74, 54, 32, .42) 31px,
      rgba(74, 54, 32, .42) 34px),
    repeating-linear-gradient(87deg,
      rgba(128, 98, 60, .055) 0px,
      rgba(128, 98, 60, .055) 1px,
      transparent 1px,
      transparent 6px),
    linear-gradient(168deg, #e8d5b4 0%, #d6c09a 55%, #c0a67e 100%);
}

/* Damit Schrift auf dem Paneel lesbar bleibt, liegt ein Schleier darüber.
   Ohne ihn stünde heller Text auf wechselnd hellen und dunklen Lamellen. */
.holz-schleier::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 18, 9, .58) 0%,
                                      rgba(26, 18, 9, .42) 45%,
                                      rgba(26, 18, 9, .18) 100%);
  pointer-events: none;
}
.holz-schleier > * { position: relative; z-index: 1; }

/* ---------- Startseite für Betriebe ---------- */
.schritt-nummer {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--auf-dunkel); font-weight: 700; font-size: .95rem;
  margin-bottom: .6rem;
}

/* ---------- Teamkarte ---------- */
.team-block { margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.team-titel {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); font-weight: 700; margin-bottom: .45rem;
}

.wochenplan { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; }
.wochentag {
  display: flex; gap: .8rem; align-items: baseline;
  background: var(--surface); padding: .32rem .6rem; font-size: .86rem;
}
.wochentag .tag { width: 2.2rem; font-weight: 700; flex: none; }
.wochentag .zeiten { font-variant-numeric: tabular-nums; }
.wochentag.frei { background: var(--surface-2); }
.wochentag.frei .tag, .wochentag.frei .zeiten { color: var(--muted); font-weight: 400; }

.marken { display: flex; flex-wrap: wrap; gap: .3rem; }
.marke {
  display: inline-block; font-size: .8rem; padding: .18rem .55rem;
  border: 1px solid var(--line-stark); border-radius: 999px; background: var(--surface);
}
