/* holzmann-auto: geschrieben vom Inhalts-Installer und bei dessen Updates erneuert (vorher wird eine .bak-Kopie angelegt).
   Eigene Änderungen? Dann diese Zeile mit "holzmann-auto" löschen – danach bleibt die Datei unangetastet. */

/* Seitenhintergrund: ganz leichter, warmer Grün-Schein statt reinem Weiß */
body.site {
  background:
    radial-gradient(1100px 700px at 0% 0%, color-mix(in srgb, var(--imhof-glow) 24%, transparent), transparent 65%),
    radial-gradient(1000px 800px at 100% 40%, color-mix(in srgb, var(--imhof-accent) 12%, transparent), transparent 62%),
    linear-gradient(180deg, #fbfdf6, #f5faee);
  background-attachment: fixed;
}

/* Module in "Unten A" untereinander statt nebeneinander (Cassiopeia stellt sie sonst in Spalten) */
body.site .container-bottom-a { display: block; }
body.site .container-bottom-a > * { margin-inline: 0; }

.hz-slogan { font-family: var(--imhof-font-headings); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
body.headings-light .hz-slogan { font-weight: 200; letter-spacing: .06em; text-transform: uppercase; }
.hz-xmas .photo-ring { margin-block: 3rem; }
.hz-split .fx-squeegee { display: block; }
.fx-window .hz-logo { display: block; width: min(70%, 300px); height: auto; margin: .5rem auto; }

.hz-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767.98px) { .hz-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
.hz-gallery figure { margin: 0; overflow: hidden; border-radius: var(--imhof-radius); box-shadow: var(--imhof-shadow); }
.hz-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--imhof-ease); }
.hz-gallery figure:hover img { transform: scale(1.06); }

.hz-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; opacity: .85; margin-bottom: .5rem; }
.hz-lead { font-size: 1.15rem; max-width: 62ch; }
.hz-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.imhof-parallax .hz-actions { justify-content: center; }
.hz-center { text-align: center; margin-top: 1.5rem; }

.hz-facts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.hz-facts li { padding: .45rem 1rem; border-radius: 999px; background: var(--imhof-light); color: var(--imhof-dark); font-weight: 600; font-size: .9rem; }
.hz-facts li::before { content: "✓ "; color: var(--imhof-primary); }

.hz-section { margin: clamp(2.5rem, 6vw, 5rem) 0; }
.hz-section > h2 { text-align: center; margin-bottom: 2rem; }
.hz-section > .grid-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.hz-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin: clamp(2rem, 5vw, 4rem) 0; }
.hz-split img { display: block; width: 100%; height: auto; border-radius: var(--imhof-radius); box-shadow: var(--imhof-shadow); }
.hz-split .photo-ring img { border-radius: 50%; box-shadow: none; }
@media (min-width: 700px) { .hz-split--rev > :first-child { order: 2; } }

.hz-quote { font-size: 1.4rem; font-weight: 600; color: var(--imhof-primary); margin: 0 0 1rem; }
.hz-reviews figure { margin: 0; }
.hz-reviews blockquote { margin: 0 0 1rem; font-style: italic; }
.hz-reviews figcaption { font-size: .85rem; }

.hz-faq { max-width: 52rem; margin-inline: auto; }
.hz-faq details { border-bottom: 1px solid color-mix(in srgb, var(--imhof-dark) 15%, transparent); padding: 1rem 0; }
.hz-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.hz-faq details p { margin: .75rem 0 0; }

.hz-check { list-style: none; padding: 0; }
.hz-check li { position: relative; padding-left: 1.8rem; margin: .45rem 0; }
.hz-check li::before { content: "✓"; position: absolute; left: 0; color: var(--imhof-primary); font-weight: 700; }

.hz-steps { counter-reset: hz-step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.hz-steps li { counter-increment: hz-step; padding: 1.25rem; border-radius: var(--imhof-radius); background: var(--imhof-light); }
.hz-steps li::before { content: counter(hz-step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: .6rem; border-radius: 50%; background: var(--imhof-primary); color: #fff; font-weight: 700; }

.hz-tip { margin: 2.5rem 0; padding: 1.5rem; border-left: 4px solid var(--imhof-accent); border-radius: var(--imhof-radius); background: var(--imhof-light); }
.hz-tip h2 { margin-top: 0; font-size: 1.25rem; }

.hz-portrait { float: right; width: min(40%, 280px); height: auto; margin: 0 0 1rem 1.5rem; border-radius: var(--imhof-radius); box-shadow: var(--imhof-shadow); }
@media (max-width: 600px) { .hz-portrait { float: none; width: 100%; margin: 0 0 1rem; } }

/* v1.4.0: Fuß wie beim Wohnmobilstellplatz – 3 Spalten über die volle Breite (links bündig mit dem Logo,
   rechts bündig mit dem Menü, Mitte gleichmäßig dazwischen), mobil untereinander */
.hz-footer { display: grid; gap: 1.5rem 2rem; padding-block: 2.5rem 1.5rem; line-height: 1.7; }
@media (min-width: 800px) {
  .hz-footer { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: clamp(2rem, 4vw, 5rem); }
}

/* v1.4.1: Kopf ab 992 px – Logo + Wortmarke mittig und größer, Menü mittig darunter (wie Betriebsmed. Dienst, aber kompakt:
   nur 5 Punkte, daher nicht über die volle Breite verteilt). Beim Scrollen wird er wieder kompakter. Handy unverändert. */
@media (min-width: 992px) {
  body.site .container-header > .grid-child:has(> .navbar-brand) { justify-content: center; }
  body.site .container-header .navbar-brand { margin-inline: auto; padding-block: 1.4rem .4rem; }
  body.site .container-header .brand-logo { gap: 1rem; }
  body.site .container-header .brand-logo img[src$=".svg"] { height: 72px; }
  body.site .container-header .brand-logo .brand-text b { font-size: 2.1rem; }
  body.site .container-header .brand-logo .brand-text small { font-size: .86rem; }
  body.site .container-header .container-nav > .mod-menu { justify-content: center; gap: 0 2.6rem; margin-inline: auto; }
  body.site .container-header.is-scrolled .navbar-brand { padding-block: .6rem .2rem; }
  body.site .container-header.is-scrolled .brand-logo img[src$=".svg"] { height: 48px; }
  body.site .container-header.is-scrolled .brand-logo .brand-text b { font-size: 1.6rem; }
}
.hz-footer a, .hz-credits a { color: inherit; }
.hz-credits { margin-top: 2rem; font-size: .8rem; opacity: .75; }

/* v1.4.3: Kontaktformular – Joomla setzt über die Zusatzfelder (Telefon, PLZ/Ort …) die Überschrift „Felder“ → ausblenden */
#contact-form fieldset:has([name^="jform[com_fields]"]) > legend { display: none; }

/* v1.4.5: WhatsApp – grüner Kreis mit weißem Symbol (wie das bekannte Logo), im Startbild, auf Kontakt und im Fuß */
.btn-wa { display: inline-flex; align-items: center; gap: .55rem; }
.btn-wa svg, .hz-wa-link svg { flex: none; border-radius: 50%; background: #25d366; color: #fff; }
.btn-wa svg { width: 1.9em; height: 1.9em; padding: .3em; margin-block: -.45em; margin-inline-start: -.35em; }
.hz-wa-link { display: inline-flex; align-items: center; gap: .45rem; }
.hz-wa-link svg { width: 1.45em; height: 1.45em; padding: .2em; }
.imhof-parallax .hz-actions { margin-top: 1.25rem; }
@media (max-width: 575.98px) { .imhof-parallax .hz-actions .btn { font-size: .9rem; } }

/* v1.4.6: Buttons auf Grün/Foto (Startbild, Band, Kopfbilder) – beim Überfahren Gelb statt Dunkelgrün (Wunsch Peter) */
body.site .hz-actions .btn:hover,
body.site .hz-actions .btn:focus-visible {
  background: #ffd23f;
  border-color: #ffd23f;
  color: #13301d;
}

/* v1.4.6: Kontaktblock – Feld „Webseite“ ist der WhatsApp-Link: Text „WhatsApp 0178 8755110“ und grünes Symbol statt Haus */
.contact-webpage a[href*="wa.me"] { font-size: 0; }
.contact-webpage a[href*="wa.me"]::after { content: "WhatsApp 0178 8755110"; font-size: 1rem; }
.com-contact dt:has(+ dd a[href*="wa.me"]) [class^="icon-"]::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2325d366'/%3E%3Cpath fill='%23fff' transform='translate(3.6 3.6) scale(.7)' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3a.5.5 0 0 0 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .1-1.3c0-.1-.2-.2-.4-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* v1.4.7: Startbild – Titel ist jetzt ein Absatz (.h2), damit die h1 die erste Überschrift der Seite ist; Schatten wie vorher bei der h2 */
body.site .imhof-parallax .hz-hero-title { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
body.site .imhof-parallax.px-light .hz-hero-title { text-shadow: none; }

/* v1.4.7: Spamschutz „Ich bin kein Roboter“ (plg_captcha_imhof) in den Farben der Website */
body.site .imhof-captcha { --ic-bg: var(--imhof-light); --ic-ok: var(--imhof-primary); }