:root {
  --green: #3d7a5a;
  --green-dark: #2a5640;
  --green-soft: #eaf2ec;
  --ink: #26332c;
  --muted: #5d6b63;
  --bg: #fbfaf6;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; font-weight: 600; }
h2 { font-size: 1.9rem; margin: 0 0 .6rem; color: var(--green-dark); }
h3 { font-size: 1.2rem; margin: 1.4rem 0 .4rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem 1.25rem;
  background: rgba(251,250,246,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e3e8e3;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 1.25rem; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--green); }
.nav-toggle, .nav-burger { display: none; }

/* Hero */
.hero {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  padding: 4rem 1.25rem 3rem;
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--green); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .4rem; }
.quote-by { color: var(--muted); font-style: italic; margin: 0 0 1.2rem; }
.hero-img { justify-self: center; max-height: 340px; width: auto; }
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  padding: .7rem 1.4rem; border-radius: 999px; margin-top: .6rem;
}
.btn:hover { background: var(--green-dark); }

/* Sections */
.section { padding: 3.5rem 1.25rem; }
.section > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.section.alt { background: var(--green-soft); }
.note { color: var(--muted); font-size: .9rem; margin-top: 0; }

/* Termine */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid #e6ebe6; }
th { background: var(--green); color: #fff; font-weight: 500; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; margin-top: 1.5rem; max-width: 900px; }
.gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }

/* Karten */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
.card { background: #fff; padding: 1.5rem; border-radius: var(--radius); border-top: 4px solid var(--green); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.card h3 { margin-top: 0; }
.sub { color: var(--green); font-style: italic; margin: 0 0 .6rem; }
.person-h { margin-top: 2.5rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact h3 { margin-top: 0; }

/* Formular */
.form { display: grid; gap: 1rem; margin: 1.25rem auto 2rem; }
.form label { display: grid; gap: .3rem; font-size: .92rem; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  font: inherit; color: var(--ink); padding: .65rem .8rem; border: 1px solid #cdd7cf; border-radius: 10px; background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.form .check input { margin-top: .3rem; }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: .8rem 1rem; border-radius: 10px; }
.form-status.ok { background: #dff0e4; color: #1f4a32; }
.form-status.err { background: #f8e1de; color: #7a2a20; }

.legal { font-size: .92rem; color: var(--muted); }
.legal h2 { font-size: 1.4rem; }
.legal h2 + p, .legal h2 ~ h2 { margin-top: 2rem; }

.site-footer { text-align: center; padding: 2rem 1rem; font-size: .9rem; color: var(--muted); }
.site-footer p { margin: .2rem 0; }

/* Mobil */
@media (max-width: 760px) {
  .nav-burger { display: block; cursor: pointer; padding: .6rem; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    display: block; width: 24px; height: 2px; background: var(--ink); position: relative; content: "";
  }
  .nav-burger span::before { position: absolute; top: -7px; }
  .nav-burger span::after { position: absolute; top: 7px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid #e3e8e3;
  }
  .nav a { padding: .85rem 1.25rem; border: 0; border-top: 1px solid #eef1ee; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-img { max-height: 220px; order: -1; }
  .cards, .contact { grid-template-columns: 1fr; }

  table, thead, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { background: #fff; border-radius: var(--radius); margin-bottom: .75rem; padding: .4rem 0; }
  td { border: 0; padding: .3rem 1rem; }
  td::before { content: attr(data-l) ": "; color: var(--muted); font-size: .85rem; }
  td:first-child { font-weight: 600; }
}

/* Termine */
.termine-liste { display: grid; gap: 1rem; margin-top: 1rem; }
.termin { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.4rem; border-left: 4px solid var(--green); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.termin h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.tage { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tage li { background: var(--green-soft); color: var(--green-dark); padding: .15rem .6rem; border-radius: 999px; font-size: .9rem; }
.zusatz { margin: 0 0 .6rem; font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; color: var(--muted); font-size: .92rem; }
.meta .preis { margin-left: auto; color: var(--green-dark); font-weight: 600; font-size: 1.05rem; }
.termin h3, h3.jahr { }
h3.jahr { font-size: 1.4rem; color: var(--green); margin: 1.2rem 0 0; }

/* Karte */
.map { margin-top: 1.5rem; height: 380px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid #d8e2da; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; gap: .4rem; }
.map-consent p { margin: 0; max-width: 420px; color: var(--muted); font-size: .92rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(20,28,24,.88); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; cursor: pointer; border-radius: 999px; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; font-size: 2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 2.8rem; height: 2.8rem; font-size: 2.2rem; padding-bottom: .25rem; }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }

/* Rechtstexte */
.legal-page > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.legal-page h1 { font-size: 2.1rem; color: var(--green-dark); }
.legal-page h2 { font-size: 1.2rem; margin: 1.8rem auto .3rem; }
.stand { color: var(--muted); font-size: .9rem; margin-top: 2rem; }

/* Nach-oben-Button */
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 20;
  width: 2.9rem; height: 2.9rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; text-decoration: none; font-size: 1.4rem;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.to-top:hover { background: var(--green-dark); }
.to-top[hidden] { display: none; }

/* Hinweis-Banner */
.banner { background: var(--green-dark); text-align: center; }
.banner[hidden] { display: none; }
.banner a { display: block; padding: 1.1rem 1.25rem; color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 500; letter-spacing: .01em; }
.banner a:hover span { text-decoration: underline; }
