/* Oeffentliche Buchungsseiten (iframe-tauglich). Farben wie online-marketing49.de */
:root {
  --navy: #043d63;
  --primary: #5d7490;
  --primary-dark: #4a5f78;
  --accent: #2ea3f2;
  --text: #1c1d21;
  --muted: #5c6470;
  --surface: #f7f8f7;
  --line: #dfe3e8;
  --radius: 3px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body.pub {
  margin: 0; background: transparent; color: var(--text);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.5;
}
h1, h2 { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.25; margin: 0 0 .5rem; font-weight: 600; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.2rem; }
a { color: var(--accent); }
.shell { max-width: 980px; margin: 0 auto; padding: .5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem 1.5rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; min-height: 2rem; margin-bottom: .5rem; }
.back { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 2px solid var(--line); border-radius: 50%; color: var(--muted); text-decoration: none; font-size: 1.3rem; line-height: 1; }
.back:hover { border-color: var(--primary); color: var(--primary-dark); }
.range { font-size: .88rem; color: var(--muted); text-align: right; margin-left: auto; }

.cols2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 760px) { .cols2 { grid-template-columns: 5fr 6fr; gap: 2.5rem; } }

.info .photo { display: block; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 0 1rem; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.info .meta { color: var(--muted); font-weight: 600; margin: 0 0 .5rem; display: flex; align-items: center; gap: .4rem; }
.info .meta.where { font-weight: 400; }
.info .desc { margin: .75rem 0; }
.ico { width: 1.2rem; height: 1.2rem; }
.chosen { margin-top: 1.25rem; display: grid; color: var(--navy); }
.chosen strong { font-size: 1.5rem; }

/* Auswahl der Terminart */
.start { text-align: center; }
.startHead .photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.types { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; text-align: left; }
.typecard { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: .9rem 1.1rem; text-decoration: none; color: var(--text); }
.typecard:hover { border-left-color: var(--accent); box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.tname { font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.tdur { color: var(--muted); font-weight: 600; }
.tdesc { grid-column: 1 / -1; color: var(--muted); font-size: .98rem; }

/* Kalender */
.main h2 { text-align: center; margin-bottom: 1rem; }
.calnav { display: grid; grid-template-columns: 2rem 1fr 2rem; align-items: center; text-align: center; margin: 1rem 0 .5rem; }
.calnav a { font-size: 1.6rem; text-decoration: none; color: var(--primary-dark); line-height: 1; }
.month { font-family: "Source Serif 4", Georgia, serif; font-size: 1.15rem; color: var(--navy); }
.calgrid { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.calgrid th { font-size: .85rem; color: var(--muted); padding: .35rem 0; }
.calgrid td { padding: .15rem; height: 2.9rem; }
.day { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.05rem; }
.day.off { color: #b9bec6; }
.day.on { color: var(--navy); font-weight: 700; text-decoration: none; background: #e3effa; }
.day.on:hover { background: #cfe3f6; }
.day.on.sel { background: var(--primary); color: #fff; }

.dayhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.times { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .5rem; }
.times a { display: block; text-align: center; padding: .6rem 0; border: 1px solid var(--primary); border-radius: var(--radius); background: #fff; color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.times a:hover { background: var(--primary); color: #fff; }
.tznote { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }

/* Formular */
.main form label { display: block; font-size: .95rem; margin: .8rem 0 .2rem; }
.main form input:not([type=checkbox]), .main form textarea {
  width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; color: var(--text);
}
.main form input[aria-invalid=true], .main form textarea[aria-invalid=true] { border-color: #b33; }
label.check { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: .92rem; }
label.check input { width: auto; margin-top: .3rem; }
.fielderr { color: #8a1f1f; font-size: .9rem; margin: .25rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; padding: .65rem 1.2rem; border: 1px solid var(--primary); border-radius: var(--radius); background: #fff; color: var(--primary-dark); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: #f0f2f4; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.danger { border-color: #b33; color: #b33; }
.btn.wide { width: 100%; margin-top: 1.25rem; font-size: 1.05rem; padding: .8rem; }
.notice { padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.notice.err { background: #fdecec; color: #8a1f1f; }

/* Gebuchter Termin */
.booked h1 { margin-bottom: .75rem; }
.okbadge { display: inline-block; background: #e8f4ec; color: #1d5a32; padding: .2rem .7rem; border-radius: 99px; font-weight: 600; margin: 0 0 .5rem; }
.detailbox { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1rem 0 1.5rem; display: grid; gap: .2rem; }
.detailbox strong { color: var(--navy); font-size: 1.1rem; }
.calbuttons { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.message { text-align: center; }
