/* Haus der Familien – Contao-Theme Variante C (Facelift). Quelle: templates/ce_template_hdf_css_schreiben.html5 */
@font-face{font-family:"Open Sans";src:url("/files/hdf/fonts/opensans-var-latin.woff2") format("woff2");font-weight:300 800;font-style:normal;font-display:swap}
@font-face{font-family:"Gabriela";src:url("/files/hdf/fonts/gabriela-400-latin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{--hdf-orange:#fa8a3a;--hdf-rot:#ba1010;--hdf-rot-dunkel:#8f0c0c;--hdf-text:#212529;--hdf-grau:#5c5f66;--hdf-creme:#fff4ec;--hdf-braun:#a84300;--hdf-linie:#e6e6e6;--hdf-breite:1140px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:"Open Sans",system-ui,-apple-system,sans-serif;font-size:1rem;line-height:1.65;color:var(--hdf-text);background:#fff}
img{max-width:100%;height:auto}
figure{margin:0}
a{color:var(--hdf-rot)}
a:hover{color:var(--hdf-rot-dunkel)}
:focus-visible{outline:3px solid var(--hdf-rot);outline-offset:2px}
h1,h2,h3,h4{font-family:Gabriela,Georgia,serif;font-weight:400;line-height:1.2;margin:0 0 .5em}
.hdf-sr,.invisible{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hdf-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;color:var(--hdf-rot);padding:12px 16px;font-weight:700;border-radius:4px}
.hdf-skip:focus{left:8px}
.hdf-wrap{max-width:var(--hdf-breite);margin:0 auto;padding:0 16px}
.hdf-topbar a::before,.layout_full .info::before,.layout_full .location::before,.hdf-termin__meta li::before,.hdf-kontakt::before,.hdf-btn--tel::before,.hdf-menu-btn::before,#hdf-nav li:last-child>a::before,#hdf-nav li:last-child>strong::before,#footer li a::before,.hdf-nach-oben::before{content:"";display:inline-block;flex-shrink:0;width:1em;height:1em;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}

/* Topbar */
.hdf-topbar{background:var(--hdf-rot);color:#fff;font-size:.875rem}
.hdf-topbar .hdf-wrap{display:flex;justify-content:space-between;align-items:center;gap:0 24px;min-height:40px;flex-wrap:wrap}
.hdf-topbar__kontakt{display:flex;gap:0 24px;flex-wrap:wrap}
.hdf-topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:7px;min-height:40px}
.hdf-topbar a:hover{color:#fff;text-decoration:underline}
.hdf-topbar a[href^="tel"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")}
.hdf-topbar a[href^="mailto"]{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E")}
.hdf-topbar :focus-visible{outline-color:#fff;outline-offset:-3px}
@media (max-width:759px){.hdf-topbar__adresse{display:none}.hdf-topbar .hdf-wrap{justify-content:center}}

/* Kopf */
#header{background:var(--hdf-orange)}
#header>.inside{max-width:var(--hdf-breite);margin:0 auto;padding:0 16px;min-height:96px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;column-gap:24px}
#header :focus-visible{outline-color:#000}
.hdf-logo{display:block;line-height:0;padding:8px 0}
.hdf-logo img{display:block;width:275px;height:auto}
.hdf-menu-btn{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");display:none;align-items:center;gap:8px;min-height:44px;padding:0 14px;background:transparent;border:2px solid #000;border-radius:999px;color:#000;font:400 14px/1 Gabriela,Georgia,serif;letter-spacing:1px;text-transform:uppercase;cursor:pointer}
.hdf-menu-btn::before{width:20px;height:20px}
#header.hdf-nav-offen .hdf-menu-btn{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E")}
#hdf-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
#hdf-nav a,#hdf-nav strong{display:block;padding:12px 16px;font-family:Gabriela,Georgia,serif;font-size:15px;font-weight:400;letter-spacing:1px;text-transform:uppercase;color:#000;text-decoration:none}
#hdf-nav a:hover,#hdf-nav strong,#hdf-nav .trail{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
#hdf-nav li:last-child>a,#hdf-nav li:last-child>strong{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");display:flex;align-items:center;gap:8px;margin-left:8px;padding:9px 16px;border:2px solid #000;border-radius:999px}
@media (max-width:959px){
  #header>.inside{min-height:76px}
  .hdf-logo img{width:220px}
  .hdf-menu-btn{display:inline-flex}
  #hdf-nav{display:none;flex-basis:100%;padding:4px 0 16px}
  #header.hdf-nav-offen #hdf-nav{display:block}
  #hdf-nav ul{flex-direction:column;align-items:stretch;gap:0}
  #hdf-nav a,#hdf-nav strong{padding:13px 4px;border-top:1px solid rgba(0,0,0,.18)}
  #hdf-nav li:last-child>a,#hdf-nav li:last-child>strong{margin:14px 0 0;display:inline-flex;padding:9px 16px;border-top:2px solid #000}
}
@media (max-width:420px){.hdf-logo img{width:190px}}

/* Inhaltsbereich */
#main .mod_article{padding:56px 16px 8px}
#main .mod_article>*{max-width:var(--hdf-breite);margin-left:auto;margin-right:auto}
#main .mod_article.hdf-band{background:var(--hdf-creme);padding-top:56px;padding-bottom:56px}
.rte p,.rte ul{margin:0 0 1em}
.rte>:last-child{margin-bottom:0}

/* Einstieg */
.hdf-einstieg{display:grid;gap:36px;align-items:center}
@media (min-width:960px){.hdf-einstieg{grid-template-columns:1fr 1fr;gap:56px}}
.hdf-einstieg .content-text{display:flex;flex-direction:column}
.hdf-einstieg .content-text>.rte{display:contents}
.hdf-einstieg h1{font-size:clamp(2rem,1.25rem + 2.4vw,2.875rem);line-height:1.15;margin:0 0 .45em}
.hdf-eyebrow{order:-1;margin:0 0 .7em!important;font-size:.9rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hdf-braun)}
.hdf-einstieg .rte p{font-size:1.125rem}
.hdf-einstieg img{display:block;width:100%;height:auto;border-radius:12px}
.hdf-knoepfe{display:flex;flex-wrap:wrap;gap:12px;margin-top:.5em!important}

/* Knoepfe */
.hdf-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border:2px solid var(--hdf-rot);border-radius:6px;background:var(--hdf-rot);color:#fff!important;font-weight:700;font-size:1rem;line-height:1.2;text-decoration:none}
.hdf-btn:hover{background:var(--hdf-rot-dunkel);border-color:var(--hdf-rot-dunkel)}
.hdf-btn--rahmen{background:transparent;color:var(--hdf-rot)!important}
.hdf-btn--rahmen:hover{background:var(--hdf-rot);color:#fff!important}
.hdf-btn--tel{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")}
@media (max-width:479px){.hdf-knoepfe .hdf-btn,.hdf-termin__aktionen .hdf-btn{flex:1 1 100%}}

/* Terminliste */
.mod_eventlist>h2{font-size:clamp(1.75rem,1.4rem + 1.2vw,2.125rem);margin-bottom:.8em}
.hdf-termin{display:grid;grid-template-columns:1fr;margin:0 0 28px;border:1px solid var(--hdf-linie);border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.05)}
@media (min-width:760px){.hdf-termin{grid-template-columns:minmax(240px,340px) 1fr}}
.hdf-termin__bild{position:relative;min-height:120px;background:var(--hdf-creme)}
.hdf-termin__bild figure,.hdf-termin__bild picture{display:block;height:100%}
.hdf-termin__bild img{display:block;width:100%;height:220px;object-fit:cover}
@media (min-width:760px){.hdf-termin__bild img{height:100%;min-height:260px}}
.hdf-termin__datum{position:absolute;left:16px;top:16px;width:68px;height:68px;border-radius:50%;background:var(--hdf-rot);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;box-shadow:0 0 0 6px #fff,0 3px 10px 6px rgba(0,0,0,.15)}
.hdf-termin__tag{font-size:22px;font-weight:700}
.hdf-termin__monat{font-size:14px}
.hdf-termin__jahr{font-size:12px}
.hdf-termin__text{padding:20px 18px 22px;display:flex;flex-direction:column;gap:14px;min-width:0}
@media (min-width:760px){.hdf-termin__text{padding:28px 32px}}
.hdf-termin__kopf{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px 24px}
.hdf-termin__titel{font-size:clamp(1.5rem,1.3rem + .6vw,1.75rem);margin:0}
.hdf-termin__titel a{text-decoration:none}
.hdf-termin__titel a:hover{text-decoration:underline}
.hdf-termin__preis{margin:0;padding:6px 14px;border-radius:4px;background:var(--hdf-rot);color:#fff;font-size:1.125rem;font-weight:600;white-space:nowrap}
.hdf-termin__meta{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 28px}
.hdf-termin__meta li{display:flex;align-items:flex-start;gap:8px}
.hdf-termin__meta li::before{width:18px;height:18px;margin-top:4px;color:var(--hdf-rot)}
.hdf-termin__zeit{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.hdf-termin__ort{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
.hdf-termin__beschreibung p{margin:0 0 .9em}
.hdf-termin__beschreibung>:last-child{margin-bottom:0}
.hdf-kontakt{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");position:relative;padding:12px 16px 12px 44px;border-radius:6px;background:var(--hdf-creme)}
.hdf-kontakt::before{position:absolute;left:16px;top:16px;width:18px;height:18px;color:var(--hdf-rot)}
.hdf-kontakt a{font-weight:700;white-space:nowrap}
.hdf-termin__aktionen{display:flex;flex-wrap:wrap;gap:12px;margin:2px 0 0}
.empty{padding:20px;border-radius:8px;background:var(--hdf-creme)}

/* Kacheln */
.hdf-kacheln{display:grid;gap:32px;padding-bottom:40px}
@media (min-width:760px){.hdf-kacheln{grid-template-columns:repeat(3,minmax(0,1fr))}}
.hdf-kacheln>.content-text{border-top:5px solid var(--hdf-orange);padding-top:18px}
.hdf-kacheln h2{font-size:1.5rem}
.hdf-kacheln .rte p{margin:0 0 .6em}
.hdf-mehr{font-weight:700}

/* Fusszeile */
#footer{margin-top:40px;background:var(--hdf-rot);color:#fff}
#footer a{color:#fff}
#footer a:hover{color:#fff;text-decoration:underline}
#footer :focus-visible{outline-color:#fff}
.hdf-footer__spalten{display:grid;gap:32px;padding-top:44px;padding-bottom:32px}
@media (min-width:760px){.hdf-footer__spalten{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}}
#footer h2{font-size:1.375rem;margin:0 0 .5em}
#footer p{margin:0 0 .8em;font-size:.95rem}
#footer ul{list-style:none;margin:0;padding:0}
#footer li a{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");display:inline-flex;align-items:center;gap:8px;min-height:32px;text-decoration:none}
#footer li a::before{width:12px;height:12px}
.hdf-footer__unten{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 20px;padding-top:16px;padding-bottom:24px;border-top:1px solid rgba(255,255,255,.4);font-size:.875rem}
.hdf-footer__links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
.hdf-nach-oben{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 15 7-7 7 7'/%3E%3C/svg%3E");display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:4px;background:var(--hdf-rot-dunkel)}
.hdf-nach-oben::before{width:18px;height:18px}
/* PATCH 2026-09-26-a */
/* Terminansicht */
.layout_full{max-width:760px}
.layout_full>h1{font-size:clamp(2rem,1.4rem + 2vw,2.625rem);margin-bottom:.5em}
.layout_full .info,.layout_full .location{display:flex;align-items:flex-start;gap:8px;margin:0 0 .4em;font-size:1.0625rem}
.layout_full .info{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.layout_full .location{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
.layout_full .info::before,.layout_full .location::before{width:18px;height:18px;margin-top:4px;color:var(--hdf-rot)}
.layout_full figure{margin:1.2em 0}
.layout_full img{border-radius:10px}
.hdf-preis{display:inline-block;padding:6px 14px;border-radius:4px;background:var(--hdf-rot);color:#fff;font-size:1.125rem;font-weight:600}
.hdf-zurueck{margin-top:1.5em}

/* PATCH 2026-09-26-b */
/* Unterseiten */
h1{font-size:clamp(2rem,1.4rem + 2vw,2.625rem)}
h2{font-size:clamp(1.5rem,1.25rem + 1vw,1.875rem)}
#main .content-text .rte{max-width:75ch}
.hdf-einstieg .content-text .rte,.hdf-kacheln .content-text .rte{max-width:none}
.rte ul,.rte ol{padding-left:1.25em}
.rte li{margin:.25em 0}
.rte h2{margin-top:1.4em}
.rte h3{font-size:1.25rem;margin-top:1.2em}
.content-headline{margin-top:1.2em}
#main .mod_article>.content-text+.mod_eventlist,#main .mod_article>.content-text+.content-module{margin-top:1.5em}
.mod_eventlist+.content-text{margin-top:1.5em}

/* Team */
.hdf-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px;margin-top:8px;padding-bottom:24px}
@media (min-width:760px){.hdf-team{grid-template-columns:repeat(3,minmax(0,1fr))}}
.hdf-team figure{text-align:center}
.hdf-team img{display:block;width:180px;height:180px;margin:0 auto;border-radius:50%;object-fit:cover;box-shadow:0 0 0 6px var(--hdf-creme)}
@media (max-width:479px){.hdf-team img{width:140px;height:140px}}
.hdf-team figcaption{margin-top:14px;font-weight:600;line-height:1.35}

/* Galerie */
.content-gallery{margin-top:2em}
.content-gallery ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:760px){.content-gallery ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
.content-gallery li{margin:0}
.content-gallery img{display:block;width:100%;height:auto;border-radius:8px}
.content-gallery a:focus-visible img{outline:3px solid var(--hdf-rot);outline-offset:2px}

/* Terminansicht */
.hdf-termin-voll__text p{margin:0 0 1em}
.hdf-termin-voll__details{margin-top:1.5em}

/* Suche */
.mod_search form{margin:0 0 2em}
.mod_search .formbody{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.mod_search label{display:block;font-weight:600;margin-bottom:6px}
.mod_search input[type=search],.mod_search input[type=text]{min-height:48px;width:100%;max-width:420px;padding:0 14px;border:2px solid #767676;border-radius:6px;font:inherit;color:var(--hdf-text);background:#fff}
.mod_search button,.mod_search input[type=submit]{min-height:48px;padding:0 22px;border:2px solid var(--hdf-rot);border-radius:6px;background:var(--hdf-rot);color:#fff;font:700 1rem/1.2 "Open Sans",sans-serif;cursor:pointer}
.mod_search button:hover,.mod_search input[type=submit]:hover{background:var(--hdf-rot-dunkel);border-color:var(--hdf-rot-dunkel)}
.search_default{padding:16px 0;border-bottom:1px solid var(--hdf-linie)}
.search_default h3{font-size:1.25rem;margin:0 0 .3em}
.search_default .relevance,.search_default .url{color:var(--hdf-grau);font-size:.875rem}
.pagination ul{list-style:none;margin:1.5em 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pagination a,.pagination strong{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 10px;border:2px solid var(--hdf-rot);border-radius:6px;text-decoration:none}
.pagination strong{background:var(--hdf-rot);color:#fff}
/* PATCH 2026-09-26-c */
/* Lange URLs und Woerter auf schmalen Bildschirmen umbrechen */
#main .rte,#main .rte a,#footer a{overflow-wrap:anywhere}
/* PATCH 2026-09-26-d */
/* Kalender (iCal) */
.hdf-btn--kal{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E")}
.hdf-btn--kal::before{content:"";display:inline-block;flex-shrink:0;width:1em;height:1em;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.hdf-termin-voll__aktionen{margin:1em 0 1.5em!important}
.hdf-kalender-abo{margin-top:2.5em;padding:24px;border-radius:12px;background:var(--hdf-creme)}
.hdf-kalender-abo h2{margin-top:0}
.hdf-kalender-abo .rte{max-width:none}
.hdf-kalender-abo p:last-child{margin-bottom:0}
.hdf-kalender-abo code{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:4px;background:#fff;font-size:.95em;overflow-wrap:anywhere}
@media (max-width:479px){.hdf-kalender-abo{padding:18px 16px}.hdf-kalender-abo .hdf-btn,.hdf-termin-voll__aktionen .hdf-btn{flex:1 1 100%}}
/* PATCH 2026-09-26-e */
.hdf-btn{text-align:center}
.hdf-kalender-abo+.content-text,.hdf-kalender-abo+*{margin-top:2em}
.hdf-kalender-abo>.content-text+.content-text,.hdf-kalender-abo>.content-unfiltered-html+.content-text{margin-top:1em}
/* PATCH 2026-09-26-f */
/* Galerie-Grossansicht (js_hdf_lightbox) */
.content-gallery a[data-lightbox]{display:block;cursor:zoom-in;border-radius:8px}
html.hdf-lb-offen{overflow:hidden}
.hdf-lb{box-sizing:border-box;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:64px 80px 72px;border:0;background:rgba(18,18,18,.96);color:#fff;touch-action:pan-y pinch-zoom}
.hdf-lb[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}
.hdf-lb::backdrop{background:rgba(0,0,0,.7)}
.hdf-lb__fig{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:100%;min-height:0}
.hdf-lb__img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain;border-radius:4px;background:#2a2a2a}
.hdf-lb__cap{max-width:70ch;font-size:1rem;line-height:1.5;text-align:center}
.hdf-lb__zaehler{margin:12px 0 0;font-size:.95rem;font-weight:600}
.hdf-lb__btn{position:absolute;display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border:2px solid #fff;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;cursor:pointer}
.hdf-lb__btn svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hdf-lb__btn:hover{background:var(--hdf-rot);border-color:var(--hdf-rot)}
.hdf-lb__btn:focus-visible{outline:3px solid var(--hdf-orange,#fa8a3a);outline-offset:3px}
.hdf-lb__btn[hidden]{display:none}
.hdf-lb__zu{top:12px;right:12px}
.hdf-lb__zurueck{top:50%;left:14px;transform:translateY(-50%)}
.hdf-lb__weiter{top:50%;right:14px;transform:translateY(-50%)}
@media (max-width:599px){
.hdf-lb{padding:68px 8px 92px}
.hdf-lb__img{max-height:calc(100dvh - 230px)}
.hdf-lb__zurueck,.hdf-lb__weiter{top:auto;bottom:18px;transform:none}
.hdf-lb__zurueck{left:calc(50% - 76px)}
.hdf-lb__weiter{right:calc(50% - 76px)}
.hdf-lb__zaehler{position:absolute;bottom:34px;left:0;right:0;margin:0;text-align:center;pointer-events:none}
}
/* PATCH 2026-09-26-g */
@media (max-width:599px){.hdf-lb__zurueck{left:16px}.hdf-lb__weiter{right:16px}.hdf-lb__zaehler{bottom:32px}}
/* PATCH 2026-09-28-h */
/* Liste: Haekchen in zwei Spalten (Formatvorlage „Liste: Häkchen“, ul.hdf-liste-haken) */
.rte ul.hdf-liste-haken{list-style:none;margin:0 0 1.4em;padding:0;display:grid;grid-template-columns:minmax(0,1fr);column-gap:32px}
@media (min-width:600px){.rte ul.hdf-liste-haken{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rte .hdf-liste-haken>li{position:relative;margin:0;padding:9px 0 9px 38px;border-bottom:1px solid var(--hdf-linie);line-height:1.45}
.rte .hdf-liste-haken>li::before{content:"";position:absolute;left:0;top:8px;width:26px;height:26px;border-radius:50%;background:var(--hdf-creme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ba1010' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat}
.rte .hdf-liste-haken ul{list-style:disc;margin:.3em 0 0;padding-left:1.25em}
/* PATCH 2026-09-28-i */
/* Haekchen-Liste luftiger: mehr Zeilenabstand, breitere Spaltenluecke */
.rte ul.hdf-liste-haken{column-gap:56px;margin:.5em 0 1.8em}
.rte .hdf-liste-haken>li{padding:14px 0 14px 42px;line-height:1.5}
.rte .hdf-liste-haken>li::before{top:13px}
/* PATCH 2026-09-28-j */
/* Neuer Abschnitt: Ueberschrift-Element direkt nach Text-Element bekommt mehr Luft */
#main .content-text+.content-headline{margin-top:2.4em}
/* PATCH 2026-09-28-k */
/* Grossansicht: mehr Bildflaeche, Zaehler oben als Pille, Lupe neben Schliessen, Zoom mit Verschieben */
.hdf-lb{padding:64px 80px 20px}
.hdf-lb__zaehler{position:absolute;top:24px;right:auto;bottom:auto;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 300px);margin:0;padding:4px 14px;border-radius:999px;background:rgba(0,0,0,.7);text-align:center;pointer-events:none}
.hdf-lb__zaehler[hidden]{display:none}
.hdf-lb__buehne{display:block;max-width:100%;min-height:0;line-height:0}
.hdf-lb__img{max-height:calc(100dvh - 88px);cursor:zoom-in}
.hdf-lb--cap .hdf-lb__img{max-height:calc(100dvh - 150px)}
.hdf-lb__lupe{top:12px;right:76px}
.hdf-lb--zoom{padding:0}
.hdf-lb--zoom .hdf-lb__fig{position:absolute;inset:0;max-width:none;gap:0}
.hdf-lb--zoom .hdf-lb__buehne{position:absolute;inset:0;display:flex;max-width:none;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;cursor:grab}
.hdf-lb--zoom .hdf-lb__buehne--zieht{cursor:grabbing}
.hdf-lb--zoom .hdf-lb__img{flex:none;margin:auto;max-width:none;max-height:none;height:auto;border-radius:0;cursor:inherit}
.hdf-lb--zoom .hdf-lb__cap{display:none}
@media (max-width:599px){
.hdf-lb{padding:68px 8px 92px}
.hdf-lb__img{max-height:calc(100dvh - 168px)}
.hdf-lb--cap .hdf-lb__img{max-height:calc(100dvh - 224px)}
.hdf-lb__zaehler{top:auto;bottom:32px;max-width:calc(100% - 180px)}
.hdf-lb--zoom{padding:0}
}
/* PATCH 2026-09-28-l */
/* Terminansicht: Anlagen */
.hdf-anlagen{margin:1.5em 0;padding:20px 24px;border-radius:12px;background:var(--hdf-creme)}
.hdf-anlagen__titel{font-size:1.375rem;margin:0 0 .6em}
.hdf-anlagen__liste{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hdf-anlagen__link{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M12 12v6M9 15l3 3 3-3'/%3E%3C/svg%3E");display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;min-height:48px;padding:8px 14px 8px 48px;position:relative;border-radius:8px;background:#fff;color:var(--hdf-rot);text-decoration:none;overflow-wrap:anywhere}
.hdf-anlagen__link::before{content:"";position:absolute;left:14px;top:50%;width:22px;height:22px;margin-top:-11px;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.hdf-anlagen__name{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hdf-anlagen__info{color:var(--hdf-grau);font-size:.9rem}
.hdf-anlagen__link:hover{color:var(--hdf-rot-dunkel)}
.hdf-anlagen__link:hover .hdf-anlagen__name{text-decoration-thickness:2px}
@media (max-width:479px){.hdf-anlagen{padding:18px 16px}}
/* PATCH 2026-09-29-m */
/* Terminliste: quadratische Bilder (Bildgroesse 2 = 400x400 crop) */
.hdf-termin__bild img{height:auto;aspect-ratio:1/1;object-fit:cover}
@media (min-width:560px){
.hdf-termin{grid-template-columns:200px minmax(0,1fr)}
.hdf-termin__bild{align-self:start}
}
@media (min-width:760px){
.hdf-termin{grid-template-columns:minmax(240px,300px) minmax(0,1fr)}
.hdf-termin__bild img{height:auto;min-height:0}
}
/* Haus der Familien – Ergaenzungen zu hdf.css (wird danach geladen). Neue Bloecke mit Datums-Marker unten anfuegen. */
/* PATCH 2026-09-29-n */
/* Preis-Badge in Terminkarten darf umbrechen (lange Preistexte liefen auf dem Handy aus der Karte) */
.hdf-termin__preis{white-space:normal;max-width:100%;overflow-wrap:anywhere}
/* Fusszeile: Impressum/Datenschutz mind. 24 px hoch (WCAG 2.2 AA, 2.5.8) */
.hdf-footer__links a{display:inline-flex;align-items:center;min-height:32px}
/* Rueckblick-Liste: Ueberschrift nur fuer Screenreader (Gliederung H1 > H2 > H3) */
.mod_eventlist.hdf-rueckblick>h2{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* ENDE PATCH 2026-09-29-n */

