/* Gärtnerei Stahl – Template-Stile
   Schriften: Source Sans 3 + Lora, beide lokal (SIL OFL). */

@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #fbfaf6;
  --surface: #fff;
  --sand: #f3efe5;
  --line: #e2dbcb;
  --text: #1e2721;
  --muted: #4b564e;
  --green-900: #163222;
  --green-800: #1f422e;
  --green-700: #2b5a3e;
  --green-100: #e6eee4;
  --leaf: #a8c43a;
  --leaf-light: #d4e49a;
  --earth: #75582f;
  --focus: #c0620a;
  --on-dark: #e4ebe1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(22 50 34 / .06), 0 10px 30px rgb(22 50 34 / .1);
  --container: 80rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
}

html[data-font="l"] { font-size: 112.5%; }
html[data-font="xl"] { font-size: 125%; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 400 1.25rem/1.6 var(--font); }
img, video { max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--green-900); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 1.35rem + 1.3vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.15rem; }
p, ul, ol, table, figure, address, blockquote { margin: 0 0 1.1em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 100; background: var(--green-900); color: #fff; padding: .8rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Knöpfe ---------- */
.btn, .btn-primary, .btn-secondary, .readmore a {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius-sm);
  font: 700 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary, .btn-primary, .readmore a { background: var(--green-700); color: #fff; }
.btn--primary:hover, .btn-primary:hover, .readmore a:hover { background: var(--green-900); color: #fff; }
.btn--ghost, .btn-secondary { background: transparent; color: var(--green-800); border-color: currentColor; }
.btn--ghost:hover, .btn-secondary:hover { background: var(--green-100); color: var(--green-900); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--leaf-light); color: var(--green-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .75); }
.btn--outline-light:hover { background: rgb(255 255 255 / .14); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Infoleiste ---------- */
.topbar { background: var(--green-900); color: var(--on-dark); font-size: 1rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 2rem; min-height: 2.9rem; padding-block: .35rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { color: var(--leaf); }
.topbar__phone { margin-left: auto !important; font-weight: 700; }
.fontsize { display: flex; gap: .3rem; }
.fontsize button { font: 700 1rem/1 var(--font); color: inherit; background: transparent; border: 1px solid rgb(255 255 255 / .35); border-radius: 8px; min-width: 2.75rem; min-height: 2.25rem; cursor: pointer; }
.fontsize button:hover { border-color: #fff; }
.fontsize button[aria-pressed="true"] { background: var(--on-dark); color: var(--green-900); border-color: var(--on-dark); }

/* Öffnungsstatus (wird per Skript gesetzt) */
.status.is-open::before, .status.is-closed::before { content: ""; display: inline-block; width: .65em; height: .65em; border-radius: 50%; margin-right: .45em; vertical-align: .05em; }
.status.is-open::before { background: #4caf50; box-shadow: 0 0 0 3px rgb(76 175 80 / .25); }
.status.is-closed::before { background: #d9822b; box-shadow: 0 0 0 3px rgb(217 130 43 / .25); }

/* ---------- Kopfzeile ---------- */
.site-header { position: relative; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.sticky-header .site-header { position: sticky; top: 0; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; min-height: 5.75rem; padding-block: .6rem; }
.brand { display: flex; flex-direction: column; gap: .2rem; margin-right: auto; min-width: 0; text-decoration: none; }
.brand img { display: block; height: 3.25rem; width: auto; }
.header-call { flex: none; white-space: nowrap; }
.brand__name { font: 600 1.6rem/1.1 var(--font-head); color: var(--green-900); }
.brand__tagline { font-size: .9rem; color: var(--muted); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .15rem; }
.site-nav li { position: relative; }
.site-nav a, .site-nav .mod-menu__heading, .site-nav .mod-menu__separator {
  position: relative; display: flex; align-items: center; min-height: 3rem; padding: .5rem .85rem;
  color: var(--text); font-weight: 700; font-size: 1.0625rem; text-decoration: none; border-radius: var(--radius-sm);
}
.site-nav a:hover { background: var(--green-100); color: var(--green-900); }
.site-nav > ul > .active > a::after, .site-nav > ul > .current > a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 3px; border-radius: 2px; background: var(--leaf);
}
.site-nav ul ul { position: absolute; top: 100%; left: 0; min-width: 15rem; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }

.nav-toggle { display: none; align-items: center; gap: .6rem; min-height: 3rem; padding: .5rem 1rem; font: 700 1.0625rem/1 var(--font); color: var(--green-900); background: var(--surface); border: 2px solid var(--green-700); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 71.99em) {
  .js .nav-toggle { display: inline-flex; order: 3; }
  .header-call { order: 2; padding-inline: .9rem; }
  .header-call span { display: none; }
  .site-nav { order: 4; flex-basis: 100%; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 6rem); overflow: auto; padding: .5rem var(--gutter) 1.5rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; }
  .site-nav a, .site-nav .mod-menu__heading { min-height: 3.5rem; font-size: 1.25rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav > ul > .active > a::after, .site-nav > ul > .current > a::after { left: 0; right: auto; top: .75rem; bottom: .75rem; width: 4px; height: auto; }
  .site-nav ul ul { position: static; display: block; min-width: 0; padding: 0 0 0 1.25rem; border: 0; box-shadow: none; }
}
@media (min-width: 72em) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav { flex: 0 1 auto; min-width: 0; }
  .site-nav > ul { flex-wrap: nowrap; gap: 0; }
  .site-nav > ul > li > a { padding-inline: clamp(.45rem, .9vw - .2rem, .85rem); white-space: nowrap; }
  .site-nav > ul > .active > a::after, .site-nav > ul > .current > a::after { left: clamp(.45rem, .9vw - .2rem, .85rem); right: clamp(.45rem, .9vw - .2rem, .85rem); }
  /* Große Schrift (A+/A++): Menü bekommt eine eigene Zeile unter dem Logo */
  html[data-font] .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  html[data-font] .site-nav { order: 4; flex-basis: 100%; border-top: 1px solid var(--line); padding-block: .25rem; }
  html[data-font] .site-nav > ul { justify-content: flex-start; }
}
@media (max-width: 89.99em) {
  html[data-font] .topbar__address { display: none; }
}
@media (min-width: 72em) and (max-width: 79.99em) {
  .header-call { padding-inline: .9rem; }
  .header-call span { display: none; }
}
@media (max-width: 36em) {
  .site-header__inner { gap: .75rem; min-height: 4.5rem; }
  .brand img { height: 2.4rem; }
  .brand__tagline, .header-call { display: none !important; }
  .qi__value { font-size: 1.3rem; }
  .nav-toggle { padding-inline: .8rem; }
  .topbar__address, .fontsize { display: none !important; }
}
@media (max-width: 60em) { .topbar__address { display: none !important; } }

/* ---------- Startbild ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(28rem, 68vh, 42rem); background: var(--green-900); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(14 32 21 / .9) 0%, rgb(14 32 21 / .65) 42%, rgb(14 32 21 / .05) 80%),
  linear-gradient(0deg, rgb(14 32 21 / .5), transparent 45%); }
.hero__inner { padding-block: 5rem 4.5rem; }
.hero--overlap .hero__inner { padding-bottom: 8.5rem; }
.hero__content { max-width: 40rem; }
.hero__eyebrow { margin-bottom: .75rem; font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-light); }
.hero__title { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.9rem); margin-bottom: .5em; }
.hero__text { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.35rem); color: #f0f3ec; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
@media (max-width: 40em) {
  .hero::before { background: linear-gradient(0deg, rgb(14 32 21 / .94) 35%, rgb(14 32 21 / .4)); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Info-Kacheln ---------- */
.quickinfo { position: relative; z-index: 2; margin-top: 2.5rem; }
.hero + .quickinfo { margin-top: -5rem; }
.quickinfo__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.qi { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem 1.6rem; background: var(--surface); border-top: 4px solid var(--leaf); border-radius: var(--radius); box-shadow: var(--shadow); }
.qi p { margin: 0; }
.qi__label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--earth); }
.qi__value { font: 600 1.45rem/1.3 var(--font-head); color: var(--green-900); }
.qi__value a { color: inherit; text-decoration: none; }
.qi__value a:hover { text-decoration: underline; }
.qi__text { color: var(--muted); font-size: 1.125rem; }
.qi__link { margin-top: auto; padding-top: .6rem; font-weight: 700; }
.qi__link::after { content: " →"; }

/* ---------- Inhalt ---------- */
.breadcrumbs { padding-top: 1.5rem; font-size: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; margin-right: .5rem; color: var(--muted); }
.breadcrumbs .float-start, .breadcrumbs .divider { display: none; }

.site-body { flex: 1 0 auto; display: grid; gap: 3rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.site-body.has-sidebar { grid-template-columns: minmax(0, 1fr) 23rem; align-items: start; }
.site-main { min-width: 0; outline: 0; }
.site-body:not(.has-sidebar) .site-main { width: 100%; max-width: 52rem; margin-inline: auto; }
.site-sidebar { display: grid; gap: 1.5rem; }
@media (max-width: 60em) { .site-body.has-sidebar { grid-template-columns: 1fr; } }

.site-main img { border-radius: var(--radius-sm); }
.page-header h1, .page-header h2, .item-title { margin-bottom: .5em; }
.article-info, .article-info-term { color: var(--muted); font-size: 1rem; }
.article-info dd { margin: 0; }
.com-content-article__body > :last-child { margin-bottom: 0; }
.blog-item, .com-content-category-blog__item { margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
table { border-collapse: collapse; }
.table, .site-main table:not(.hours) { width: 100%; }
.site-main table:not(.hours) th, .site-main table:not(.hours) td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
blockquote { margin-inline: 0; padding: 1rem 1.5rem; border-left: 4px solid var(--leaf); background: var(--sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-head); font-size: 1.25rem; }
.pagination, .com-content-category-blog__navigation ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.pagination .page-link { display: grid; place-items: center; min-width: 3rem; min-height: 3rem; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; }
.pagination .active .page-link { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.float-start, .float-left, .pull-left, .item-image.float-start { float: left; margin: 0 1.5rem 1rem 0; }
.float-end, .float-right, .pull-right { float: right; margin: 0 0 1rem 1.5rem; }
.list-unstyled { list-style: none; padding-left: 0; }

/* Formulare (Kontaktformular u. a.) */
label, .form-label { display: block; font-weight: 700; margin-bottom: .35rem; }
input:not([type=checkbox]):not([type=radio]):not([type=submit]), select, textarea, .form-control, .form-select {
  width: 100%; min-height: 3.25rem; padding: .65rem .9rem; font: inherit; color: var(--text); background: var(--surface); border: 2px solid #b9b19f; border-radius: var(--radius-sm);
}
input:focus, select:focus, textarea:focus { border-color: var(--green-700); }
input[type=checkbox], input[type=radio] { width: 1.3rem; height: 1.3rem; accent-color: var(--green-700); }
.control-group, .mb-3, .form-group { margin-bottom: 1.25rem; }
.invalid, .form-control-feedback { color: #a1260d; }

/* Systemmeldungen */
joomla-alert, .alert { position: relative; display: block; margin-bottom: 1.5rem; padding: 1rem 3rem 1rem 1.25rem; border-left: 5px solid var(--green-700); border-radius: var(--radius-sm); background: var(--green-100); color: var(--text); }
joomla-alert[type="warning"], .alert-warning { border-color: #c88a12; background: #fbf1da; }
joomla-alert[type="danger"], joomla-alert[type="error"], .alert-danger { border-color: #a1260d; background: #fbe6e1; }
joomla-alert .joomla-alert--close, .alert .btn-close { position: absolute; top: .5rem; right: .5rem; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
joomla-alert .alert-heading { font-weight: 700; }

/* ---------- Bausteine für Beiträge & Module ---------- */
.lead { font-size: clamp(1.25rem, 1.15rem + .35vw, 1.4rem); line-height: 1.55; color: var(--muted); }
.eyebrow { margin-bottom: .6rem; font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--earth); }
.center { text-align: center; }
.intro, .is-home .com-content-article__body { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 16rem)), 1fr)); margin-bottom: 1.5rem; }
.grid--wide { --min: 21rem; }
.tile { display: flex; flex-direction: column; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.tile > :last-child { margin-bottom: 0; }
.tile h3 { margin-bottom: .4em; }
.tile p { color: var(--muted); }
.tile--accent { border-top: 4px solid var(--leaf); }
.tile--photo { padding: 0; overflow: hidden; }
.tile--photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; margin: 0; }
.tile--photo .tile__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.75rem; }
.tile--photo .tile__body > :last-child { margin-bottom: 0; }
.tile .more { margin-top: auto; font-weight: 700; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.split img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.facts { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); list-style: none; padding: 0; margin: 2rem 0; }
.facts li { padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--leaf); font-size: 1.0625rem; }
.facts strong { display: block; font: 600 2rem/1.15 var(--font-head); color: var(--green-900); }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .45rem; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .9rem; height: .5rem; border-left: 3px solid var(--green-700); border-bottom: 3px solid var(--green-700); transform: rotate(-45deg); }
.timeline { list-style: none; margin: 0 0 1.5rem .5rem; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.6rem 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -.6rem; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--bg); border: 3px solid var(--green-700); }
.timeline strong { display: block; font: 600 1.3rem/1.3 var(--font-head); color: var(--green-900); }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-bottom: 2rem; }
.gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.notice { padding: 1.25rem 1.5rem; background: var(--sand); border-radius: var(--radius-sm); border-left: 4px solid var(--leaf); }

/* ---------- Modul-Stile ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section__title { text-align: center; margin-bottom: 2.5rem; }
.section > .container > :last-child { margin-bottom: 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--surface); }
.section--green { background: var(--green-900); color: var(--on-dark); }
.section--green h2, .section--green h3, .section--green .facts strong { color: #fff; }
.section--green .eyebrow { color: var(--leaf-light); }
.section--green .lead { color: var(--on-dark); }
.section--green a:not(.btn) { color: var(--leaf-light); }
.section--green .btn--ghost { color: #fff; }
.section--green .btn--ghost:hover { background: rgb(255 255 255 / .12); }
.section--green .tile { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .15); }
.section--green .tile p { color: var(--on-dark); }
.card { padding: 1.5rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card__title { font-size: 1.3rem; }
.card > :last-child { margin-bottom: 0; }

/* ---------- Öffnungszeiten-Block ---------- */
.visit__title { font-size: 1.35rem; margin-bottom: .75rem; }
.visit .status { font-weight: 700; margin-bottom: .75rem; }
.hours { width: 100%; margin-bottom: 1rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 400; text-align: left; padding-right: 1rem; }
.hours td { font-weight: 700; text-align: right; white-space: nowrap; }
.hours .is-today th, .hours .is-today td { color: var(--green-900); font-weight: 700; }
.hours .is-today th::after { content: "Heute"; display: inline-block; margin-left: .5rem; padding: .1rem .5rem; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: .8rem; vertical-align: .1em; }
.visit__note { font-size: 1rem; color: var(--muted); }
.visit address { font-style: normal; margin-bottom: 1rem; }
.visit__links { list-style: none; padding: 0; margin: 0; }
.visit__links li { display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; }
.visit__links .icon { color: var(--green-700); }
.visit--card { display: grid; gap: 1.75rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.visit--full { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-block: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: var(--radius); box-shadow: var(--shadow); }
.visit--full .hours { font-size: 1.25rem; }

/* ---------- Fußzeile ---------- */
.site-footer { margin-top: auto; background: var(--green-900); color: var(--on-dark); font-size: 1.0625rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--leaf-light); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.site-footer .visit { display: contents; }
.site-footer h2, .site-footer h3, .site-footer .card__title { color: #fff; font-size: 1.25rem; }
.site-footer .hours th, .site-footer .hours td { border-color: rgb(255 255 255 / .14); }
.site-footer .hours .is-today th, .site-footer .hours .is-today td { color: #fff; }
.site-footer .hours .is-today th::after { background: var(--leaf); color: var(--green-900); }
.site-footer .visit__note { color: var(--on-dark); opacity: .85; }
.site-footer .visit__links .icon { color: var(--leaf); }
.site-footer .card { padding: 0; background: none; border: 0; }
.footer-brand img { display: block; width: 100%; max-width: 17rem; height: auto; margin-bottom: 1.25rem; }
.footer-brand .brand__name { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / .14); font-size: 1rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer__bottom a { display: inline-block; padding-block: .5rem; }

.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--green-700); color: #fff; box-shadow: var(--shadow); }
.to-top:hover { background: var(--green-900); color: #fff; }
.to-top[hidden] { display: none; }

/* ---------- Rückfrage „Route planen“ ---------- */
.route-dialog { width: min(34rem, calc(100% - 2rem)); padding: clamp(1.5rem, 4vw, 2.25rem); border: 0; border-top: 4px solid var(--leaf); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.route-dialog::backdrop { background: rgb(22 50 34 / .6); }
.route-dialog__note { font-size: 1.0625rem; color: var(--muted); }
.route-dialog .btn-row { margin-bottom: .75rem; }
.route-dialog .btn { flex: 1 1 auto; }
.route-dialog form { margin: 0; }

/* ---------- Fehlerseite ---------- */
.error-page { padding-block: 2rem; text-align: center; }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }
.error-page pre { text-align: left; white-space: pre-wrap; }

/* ---------- Alte Editor-Formatierungen glätten ---------- */
.clean-legacy .site-main [style*="font-family"] { font-family: inherit !important; }
.clean-legacy .site-main [style*="color"] { color: inherit !important; }
.clean-legacy .site-main [style*="background"] { background-color: transparent !important; }
.clean-legacy .site-main [style*="font-size"] { font-size: inherit !important; }
.clean-legacy .site-main [style*="padding-left"] { padding-left: 0 !important; }
.clean-legacy .site-main [style*="justify"] { text-align: left !important; }

/* ---------- Bewegung & Druck ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .site-nav, .nav-toggle, .header-call, .to-top, .hero::before, .skip-link { display: none !important; }
  .site-header { position: static !important; }
  body { background: #fff; }
  .site-footer { background: none; color: #000; }
  .site-footer a, .site-footer h2 { color: #000; }
}

/* Galerie-Plugin „Simple Image Gallery“ ({gallery}…{/gallery}) als Raster */
.site-main .sigFreeContainer { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; list-style: none; margin: 2rem 0; padding: 0; }
.site-main .sigFreeThumb, .site-main .sigFreeLink, .site-main .sigFreeImg { display: block; float: none !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background-color: transparent; }
.site-main .sigFreeImg { aspect-ratio: 4 / 3; background-size: cover !important; background-position: center !important; border-radius: var(--radius-sm); transition: transform .2s; }
.site-main .sigFreeLink:hover .sigFreeImg { transform: scale(1.02); }
.site-main .sigFreeClear { display: none !important; }

/* Cookie-Hinweis „RD Cookiehint“ (reDim) im Look des Templates – gilt für jeden Skin und jede Farbeinstellung des Plugins.
   Dreifache ID, weil das Plugin selbst mit doppelter ID und !important arbeitet. */
html body #redim-cookiehint-modal { background: rgb(22 50 34 / .55) !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl {
  --redim-cc-btn-bg: var(--green-700) !important; --redim-cc-btn-fg: #fff !important; --redim-cc-accent: var(--green-700) !important;
  --redim-cc-skin-btn-bg: var(--green-700) !important; --redim-cc-skin-btn-fg: #fff !important; --redim-cc-skin-accent: var(--green-700) !important;
  --redim-cc-skin-surface: var(--surface) !important; --redim-cc-skin-divider: var(--line) !important; --redim-cc-skin-knob: #fff !important; --redim-cc-skin-muted: var(--muted) !important;
  background: var(--surface) !important; color: var(--text) !important; color-scheme: light !important;
  border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important;
  font-family: var(--font) !important; font-size: 1.0625rem !important;
}
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-headline { font: 600 1.5rem/1.25 var(--font-head) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--green-900) !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-content,
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-content p { font-size: 1.0625rem !important; line-height: 1.55 !important; color: var(--text) !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-btn {
  min-height: 3rem !important; padding: .6rem 1.2rem !important; border-radius: var(--radius-sm) !important;
  font: 700 1.0625rem/1.2 var(--font) !important; text-transform: none !important; letter-spacing: 0 !important;
  background: var(--surface) !important; color: var(--green-900) !important; border: 2px solid var(--green-700) !important; box-shadow: none !important;
}
/* Annehmen und Ablehnen gleich gewichtet (Datenschutz-Aufsicht), Einstellungen zurückhaltend */
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-accept-all, #redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-reject,
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl #cookiehintsubmit, #redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl #cookiehintsubmitno { background: var(--green-700) !important; color: #fff !important; border-color: var(--green-700) !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-btn:hover { background: var(--green-900) !important; border-color: var(--green-900) !important; color: #fff !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl a, #redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl #cookiehintinfo a { color: var(--green-700) !important; text-decoration: underline !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl #cookiehintinfo { font-size: 1rem !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-cat { border-color: var(--line) !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-cat-desc, #redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-detail-toggle { color: var(--muted) !important; font-size: 1rem !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-slider { border-radius: 999px !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-slider::before { border-radius: 50% !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl a:focus-visible, #redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl button:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 2px !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-watermark, #redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-watermark a { color: var(--muted) !important; font-size: .8rem !important; }
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-switch input:checked + .redim-cc-slider,
#redim-cookiehint#redim-cookiehint#redim-cookiehint.redim-tpl .redim-cc-switch input[aria-disabled="true"] + .redim-cc-slider { background-color: var(--green-700) !important; }
