/* ---------------------------------------------------------------
   Kloster Marienthal – Monteurzimmer und Wohnungen
   Farbwelt: tiefes Klostergrün, warmer Sandstein, Akzent Bernstein
   --------------------------------------------------------------- */

:root {
  --green: #2f4b3f;
  --green-deep: #1d3128;
  --green-ink: #14241c;
  --green-soft: #e6ede8;
  --cream: #faf7f1;
  --sand: #f1ebdf;
  --line: #e2dacb;
  --ink: #1f1f1c;
  --muted: #66625a;
  --amber: #c08a2e;
  --amber-deep: #a3721f;
  --amber-soft: #f8eed7;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 16px 44px rgba(29, 49, 40, 0.10);
  --shadow-sm: 0 4px 16px rgba(29, 49, 40, 0.07);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  color: var(--green-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.measure { max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Platzhalter für noch nicht bestätigte Angaben ----------------- */
.platzhalter {
  background: var(--amber-soft);
  color: #7a5314;
  border-bottom: 1px dashed var(--amber);
  padding: 0 0.3em;
  border-radius: 3px;
  cursor: help;
}

/* Einblenden beim Scrollen --------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  font-family: var(--font-body);
  line-height: 1.2;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--white); border-color: var(--amber); box-shadow: 0 6px 18px rgba(192, 138, 46, 0.3); }
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-sm { padding: 0.62em 1.15em; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* Header --------------------------------------------------------- */
#site-header { position: sticky; top: 0; z-index: 50; }
.header {
  position: relative;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--green-deep); }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; color: var(--green-deep); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block;
  padding: 0.5em 0.75em;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--green-soft); color: var(--green-deep); }
.nav-list a.active { color: var(--green-deep); font-weight: 600; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--green-deep); transition: transform 0.2s, opacity 0.2s; }
.header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.75rem 24px 1.25rem;
    flex-direction: column; align-items: stretch; gap: 0.75rem;
  }
  .header.nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 0.85em 0.5em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav-list a.active { box-shadow: none; color: var(--amber); }
  .nav .btn { width: 100%; }
}

/* Hero mit Foto -------------------------------------------------- */
.hero-photo {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  background: var(--green-deep);
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29, 49, 40, 0.10) 0%, rgba(29, 49, 40, 0.28) 40%, rgba(29, 49, 40, 0.94) 100%);
}
.hero-photo .container { position: relative; z-index: 1; padding-top: clamp(7rem, 16vw, 12rem); padding-bottom: clamp(6rem, 9vw, 8rem); }
.hero-content { max-width: 820px; }
.hero-photo .eyebrow { color: #f2d9a8; }
.hero-photo h1 { color: var(--white); text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3); margin-bottom: 1.1rem; }
.hero-photo .lead { color: #eaf0eb; font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-bottom: 2rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.facts-bar { position: relative; z-index: 2; margin-top: -3.5rem; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fact { border-left: 2px solid var(--amber); padding-left: 1rem; }
.fact-num { display: block; font-family: var(--font-head); font-size: clamp(1.4rem, 1.9vw, 1.9rem); font-weight: 600; color: var(--green-deep); line-height: 1.1; letter-spacing: -0.02em; }
.fact-label { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); padding: 1.4rem; gap: 1.25rem; }
}

/* Abschnitte ----------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--green-deep); color: #e6ede8; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .lead, .section-dark .muted { color: #b9c8be; }
.section-dark .eyebrow { color: #f2d9a8; }
.section-dark a { color: #f2d9a8; }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head.row > div { max-width: 720px; }
.section-dark .section-head p { color: #b9c8be; }

.page-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.8rem; }
.page-head .lead { max-width: 760px; }

/* Grids ---------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* Karten --------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; padding-top: 1rem; font-weight: 600; text-decoration: none; }
.card .card-link::after { content: " →"; }

/* Angebotskarten Zimmer / Wohnung --------------------------------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.offer {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); position: relative; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.offer:hover .offer-media img { transform: scale(1.03); }
.offer-media .tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,0.92); }
.offer-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.offer-body h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.offer-body .offer-kurz { color: var(--muted); margin-bottom: 1.1rem; }
.offer-facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.45rem; }
.offer-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.offer-facts li span:last-child { font-weight: 600; color: var(--green-deep); white-space: nowrap; }
.offer-body .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 800px) { .offer-grid { grid-template-columns: 1fr; } }

/* Zielgruppen ---------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.audience > div { padding-top: 1.25rem; border-top: 2px solid var(--amber); }
.audience h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.audience p { color: var(--muted); margin-bottom: 0.75rem; }
.audience a { font-weight: 600; text-decoration: none; }
.audience a::after { content: " →"; }
@media (max-width: 1000px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .audience { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Inklusive-Leistungen (dunkel) ---------------------------------- */
.inclusive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2.5rem; }
.inclusive > div { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,0.14); }
.inclusive .icon { background: rgba(255,255,255,0.1); color: #f2d9a8; margin: 0; width: 42px; height: 42px; }
.inclusive h4 { color: var(--white); margin: 0 0 0.2rem; }
.inclusive p { margin: 0; color: #b9c8be; font-size: 0.95rem; }
@media (max-width: 900px) { .inclusive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .inclusive { grid-template-columns: 1fr; } }

.icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  flex: 0 0 auto;
}
.icon svg { width: 22px; height: 22px; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon { margin-bottom: 0; }
.feature h4 { margin: 0 0 0.25rem; color: var(--green-deep); }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Listen --------------------------------------------------------- */
.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { position: relative; padding-left: 1.7em; margin-bottom: 0.5em; }
.list-check li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 1em; height: 1em;
  border-radius: 50%;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232f4b3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E");
  background-size: 100%;
}
.section-dark .list-check li::before { background-color: rgba(255,255,255,0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23f2d9a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E"); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.25rem; margin: 0; }
.kv dt { color: var(--muted); font-size: 0.92rem; }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 500px) { .kv { grid-template-columns: 1fr; gap: 0.1rem; } .kv dd { margin-bottom: 0.6rem; } }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

/* Fotos ---------------------------------------------------------- */
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; display: block; background: var(--sand); }
.photo.r-4-3 { aspect-ratio: 4 / 3; }
.photo.r-4-5 { aspect-ratio: 4 / 5; }
.photo.r-3-2 { aspect-ratio: 3 / 2; }
.photo.r-16-9 { aspect-ratio: 16 / 9; }
.photo.r-21-9 { aspect-ratio: 21 / 9; }
figure.fig { margin: 0; }
figure.fig figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.55rem; }

.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.photo-strip a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-strip a:hover img { transform: scale(1.05); }
@media (max-width: 800px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }

.img-ph {
  position: relative;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(47,75,63,0.06) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--green-soft), var(--sand));
  border: 1px dashed var(--line);
  aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  min-height: 180px;
}
.img-ph::before {
  content: "Foto folgt";
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--amber-soft); color: #7a5314;
  padding: 0.25em 0.6em; border-radius: 4px;
}
.img-ph.tall { aspect-ratio: 4 / 5; }

/* Unterkünfte (Detailseite) -------------------------------------- */
.unit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.unit:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.unit:nth-child(even) .unit-media { order: 2; }
.unit-media .photo { aspect-ratio: 4 / 5; height: 100%; }
.unit-body h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.unit-kurz { font-size: 1.08rem; color: var(--muted); }
.unit-price-box {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  align-items: baseline; justify-content: space-between;
}
.unit-price-box strong { font-size: 1.15rem; color: var(--green-deep); }
.unit-price-box small { color: var(--muted); }
.unit-body .btn { margin-top: 1.25rem; }
@media (max-width: 800px) {
  .unit, .unit:nth-child(even) { grid-template-columns: 1fr; padding: 1.4rem; }
  .unit:nth-child(even) .unit-media { order: 0; }
  .unit-media .photo { aspect-ratio: 4 / 3; height: auto; }
}

/* Preise --------------------------------------------------------- */
.price-box { background: var(--white); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow); }
.price-main { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.price-main .amount { font-family: var(--font-head); font-size: 3.4rem; font-weight: 600; color: var(--green-deep); line-height: 1; letter-spacing: -0.03em; }
.price-main .unit-label { color: var(--muted); }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.price-row:first-of-type { border-top: 0; }
.price-row .label { color: var(--ink); }
.price-row .value { font-weight: 600; text-align: right; white-space: nowrap; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-width: 600px; }
table.table th, table.table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.table th { background: var(--green-deep); color: var(--white); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
table.table tr:last-child td { border-bottom: 0; }
table.table td strong { color: var(--green-deep); }
table.table td:first-child { font-weight: 600; color: var(--green-deep); }

/* FAQ / Akkordeon ------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  padding: 1.2rem 2.75rem 1.2rem 0;
  font-weight: 600; font-size: 1.1rem; color: var(--green-deep);
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 400; color: var(--amber);
}
.accordion details[open] summary::after { content: "–"; }
.accordion .answer { padding: 0 0 1.35rem; color: var(--ink); max-width: 780px; }

/* Galerie -------------------------------------------------------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.gallery-filter button {
  font: inherit; font-size: 0.92rem; font-weight: 600;
  padding: 0.55em 1.2em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--green-deep);
  cursor: pointer;
}
.gallery-filter button:hover { border-color: var(--green); }
.gallery-filter button.active { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 0.9rem 0.7rem; font-size: 0.85rem; color: var(--white); background: linear-gradient(transparent, rgba(29, 49, 40, 0.85)); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 28, 24, 0.94); display: flex; align-items: center; justify-content: center; padding: 1rem 4rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox figcaption { color: #dfe7e1; font-size: 0.95rem; text-align: center; }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%;
  width: 46px; height: 46px; cursor: pointer; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 1rem 0.5rem 4.5rem; }
  .lb-prev { left: 0.75rem; top: auto; bottom: 1rem; transform: none; }
  .lb-next { right: 0.75rem; top: auto; bottom: 1rem; transform: none; }
}

/* Schritte ------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-deep); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* CTA: großes Band (Startseite) und schmale Leiste (Unterseiten) - */
.cta-band {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.25rem, 4.5vw, 3.5rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(242,217,168,0.18), transparent 70%); }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: #b9c8be; margin: 0; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; position: relative; }
.cta-band .cta-contact { font-size: 0.95rem; color: #b9c8be; text-align: center; }
.cta-band .cta-contact a { color: var(--white); }
.cta-band .platzhalter, .cta-bar .platzhalter { background: rgba(247,234,208,0.15); color: #f2d9a8; border-color: #f2d9a8; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

.cta-bar {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.cta-bar p { margin: 0; font-size: 1.1rem; font-family: var(--font-head); font-weight: 600; }
.cta-bar .cta-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cta-bar .cta-contact { font-size: 0.92rem; color: #b9c8be; }
.cta-bar .cta-contact a { color: var(--white); }

/* Hinweise ------------------------------------------------------- */
.notice { border-left: 4px solid var(--amber); background: var(--amber-soft); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.97rem; }
.notice.green { border-color: var(--green); background: var(--green-soft); }

/* Adresse -------------------------------------------------------- */
.address-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.address-card address { font-style: normal; font-size: 1.15rem; line-height: 1.5; margin-bottom: 1rem; }

/* Formular ------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.form legend { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--green-deep); margin-bottom: 1rem; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 0.72em 0.9em;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.check input { margin-top: 0.3em; width: auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-result { margin-top: 1.5rem; }
.form-result pre { white-space: pre-wrap; word-wrap: break-word; background: var(--sand); border-radius: var(--radius-sm); padding: 1rem; font-size: 0.9rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 1.4rem; } }

.aside-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.15rem; }

/* Footer --------------------------------------------------------- */
.footer { background: var(--green-ink); color: #b9c8be; padding: 3.5rem 0 1.5rem; margin-top: 2rem; font-size: 0.95rem; }
.footer a { color: #e6ede8; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.45rem; }
.footer address { font-style: normal; line-height: 1.6; }
.footer .brand { color: var(--white); margin-bottom: 1rem; }
.footer .brand-mark { color: var(--white); }
.footer .brand-sub { color: #8fa397; }
.footer .platzhalter { background: rgba(247,234,208,0.15); color: #f2d9a8; border-color: #f2d9a8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; color: #8fa397; }
.footer-bottom ul { display: flex; gap: 1.25rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Hilfsklassen --------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Entfernung: Karte + Routenformular ----------------------------- */
.route-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.route-map { position: relative; min-height: 320px; }
.route-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.route-map .photo { height: auto; }
.map-credit {
  position: absolute; left: 0.5rem; bottom: 0.45rem;
  font-size: 0.7rem; color: var(--muted); text-decoration: none;
  background: rgba(255, 255, 255, 0.88); padding: 2px 7px; border-radius: 4px;
}
.route-body { padding: clamp(1.5rem, 3vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.route-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.4rem; }
.route-body > p { color: var(--muted); margin-bottom: 1.25rem; }
.route-form label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.45rem; }
.route-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.route-row input {
  flex: 1 1 220px; min-width: 0;
  font: inherit; font-size: 1.05rem;
  padding: 0.8em 1.1em;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--cream); color: var(--ink);
}
.route-row input:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); background: var(--white); }
.route-form .small { margin: 0.75rem 0 0; }
@media (max-width: 800px) {
  .route-card { grid-template-columns: 1fr; }
  .route-map { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Interaktive Karte (Leaflet), erst nach Klick ------------------- */
.map-activate {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  z-index: 2;
  font: inherit; font-size: 0.92rem; font-weight: 600;
  padding: 0.65em 1.2em; border-radius: 999px;
  border: 2px solid var(--white); background: rgba(29, 49, 40, 0.88); color: var(--white);
  cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.map-activate:hover { background: var(--green-deep); }
.map-activate:disabled { opacity: 0.7; cursor: default; }
.route-map.is-live { aspect-ratio: 16 / 9; }
.map-live { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
figure.fig .route-map { border-radius: var(--radius); overflow: hidden; }
/* In der Karten-Kachel bestimmt die Textspalte die Hoehe; Seitenverhaeltnis nur im Einspaltenlayout */
.route-card .route-map.is-live { aspect-ratio: auto; }
@media (max-width: 800px) { .route-card .route-map.is-live { aspect-ratio: 16 / 9; } }
/* Spam-Falle im Formular: fuer Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
