
:root{
 --org-primary:#c8102e;--org-secondary:#6f1022;--org-accent:#f39a17;--org-dark:#17131b;--org-light:#f7f3f4;
 --org-primary-rgb:200,16,46;--org-secondary-rgb:111,16,34;--org-accent-rgb:243,154,23;
 --hero-image:none;--hero-position:center center;
 --ink:#111827;--muted:#667085;--line:rgba(17,24,39,.10);--surface:#fff;--surface-soft:#f6f8fb;
 --shadow:0 24px 70px rgba(17,24,39,.15);--shadow-soft:0 12px 32px rgba(17,24,39,.09);--radius:18px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"Aptos","Segoe UI Variable","Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:var(--org-primary);text-decoration:none}a:hover{text-decoration:none}.container{width:min(1280px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;left:-999px}.skip-link:focus{left:1rem;top:1rem;z-index:999;padding:.65rem 1rem;background:#fff;border-radius:10px}.brand-logo,.brand-logo-generated{width:70px;height:70px;object-fit:contain}.emergency-line{height:5px;background:linear-gradient(90deg,var(--org-secondary),var(--org-primary),var(--org-accent))}
.site-header{position:relative;z-index:70;background:#fff;box-shadow:0 1px 0 rgba(17,24,39,.07)}.has-home-hero .site-header{position:absolute;left:0;right:0;top:5px;background:linear-gradient(180deg,rgba(5,8,13,.40),rgba(5,8,13,.04));box-shadow:none;color:#fff}.utility-row{min-height:30px;display:flex;justify-content:flex-end;align-items:center;font-size:.84rem}.utility-row .mod-custom,.utility-row .hiorg-topbar-links{display:flex;gap:.9rem;align-items:center}.utility-row a,.has-home-hero .utility-row a{color:inherit}.header-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1.25rem;min-height:92px;border-top:1px solid rgba(255,255,255,.12)}.brand{display:flex;align-items:center;gap:.85rem;color:inherit;min-width:max-content}.brand-copy{display:grid;line-height:1.0}.brand-copy strong{font-family:"Aptos Display","Segoe UI Variable Display","Segoe UI",Arial,sans-serif;font-weight:900;font-size:2rem;letter-spacing:-.035em;text-transform:uppercase}.brand-copy small{margin-top:.3rem;font-size:.88rem;opacity:.88}.nav-wrap{justify-self:end}.nav-wrap ul,.nav.menu,.mod-menu{display:flex;align-items:center;gap:.05rem;list-style:none;margin:0;padding:0}.nav-wrap a,.nav-wrap span.separator{display:block;padding:1.05rem .8rem;color:inherit;font-weight:750;border-bottom:2px solid transparent}.nav-wrap .active>a,.nav-wrap .current>a,.nav-wrap a:hover{border-bottom-color:var(--org-primary);color:inherit}.header-light:not(.has-home-hero) .site-header{color:#111}.header-dark:not(.has-home-hero) .site-header{color:#111}.header-actions{display:flex;gap:.5rem;align-items:center}.header-actions input{display:none}.nav-toggle{display:none;width:46px;height:46px;border:0;border-radius:12px;background:rgba(255,255,255,.14);color:inherit;position:relative}.nav-toggle span{position:absolute;left:12px;right:12px;height:2px;background:currentColor;border-radius:999px}.nav-toggle span:nth-child(1){top:15px}.nav-toggle span:nth-child(2){top:22px}.nav-toggle span:nth-child(3){top:29px}.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.nav-toggle.is-open span:nth-child(2){opacity:0}.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.nav-overlay{position:fixed;inset:0;background:rgba(2,6,23,.48);backdrop-filter:blur(2px);z-index:60}.alert-band{background:#fff4cf;border-block:1px solid rgba(243,154,23,.3);color:#5c4300}.alert-band .container{padding:.72rem 0}
.hero{position:relative;min-height:650px;overflow:hidden;background:var(--org-dark);color:#fff}.hero-bg{position:absolute;inset:0;background-image:var(--hero-image);background-size:cover;background-position:var(--hero-position);transform:scale(1.01)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,12,.82) 0%,rgba(5,7,12,.66) 28%,rgba(5,7,12,.18) 58%,rgba(5,7,12,.06) 74%,rgba(5,7,12,.24) 100%),linear-gradient(180deg,rgba(var(--org-secondary-rgb),.20),rgba(var(--org-primary-rgb),.10) 56%,rgba(255,255,255,.94) 100%)}.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.55fr);gap:2rem;align-items:end;min-height:650px;padding:150px 0 126px}.hero-content{padding-bottom:48px;max-width:710px}.hero-badge{display:inline-flex;padding:.42rem .78rem;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.20);font-weight:850;font-size:.78rem;letter-spacing:.05em;text-transform:uppercase}.hero-content h1{margin:.8rem 0 1rem;font-family:"Aptos Display","Segoe UI Variable Display","Segoe UI",Arial,sans-serif;font-weight:900;font-size:clamp(3.1rem,4.8vw,4.85rem);line-height:1.02;letter-spacing:-.055em;color:#fff}.hero-content p{font-size:1.1rem;max-width:41rem;color:rgba(255,255,255,.96)}.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.3rem}.btn,.button,.readmore a,input[type=submit],button.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 1.12rem;border:0;border-radius:13px;background:var(--org-primary);color:#fff!important;font-weight:850;box-shadow:0 10px 24px rgba(var(--org-primary-rgb),.25)}.btn:hover,.button:hover,.readmore a:hover{transform:translateY(-1px)}.btn-glass,.btn-secondary{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.24);box-shadow:none}.hero-showcase{padding-bottom:48px;display:flex;justify-content:flex-end}.hero-showcase .hio-card{max-width:410px;background:linear-gradient(180deg,rgba(207,95,72,.78),rgba(180,74,54,.70));border-color:rgba(255,255,255,.26);backdrop-filter:blur(16px);box-shadow:0 25px 65px rgba(0,0,0,.20);color:#fff}.hero-showcase .hio-card-head{background:transparent;border:0;padding:1rem 1.1rem .1rem}.hero-showcase .hio-card-title{color:#fff!important;font-size:1.05rem!important}.hero-showcase .hio-card-title:before{content:"🔥";background:#ff6944}.hero-showcase .hio-card-body{padding:.45rem 1.1rem 1.1rem;color:#fff}.hero-showcase .hio-card-body *{color:#fff}.hero-showcase .hio-card-body h2,.hero-showcase .hio-card-body h3{margin:.25rem 0 .5rem;color:#fff}.hero-showcase .btn{background:#ef233c}
.home-dashboard{position:relative;z-index:5;margin-top:-72px;padding-bottom:1.4rem}.dashboard-grid,.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.hio-card{height:100%;background:#fff;border:1px solid rgba(17,24,39,.09);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-soft)}.hio-card-head{padding:.85rem 1rem;background:linear-gradient(180deg,#fff,#f5f7fa);border-bottom:1px solid rgba(17,24,39,.08)}.hio-card-title{display:flex;align-items:center;gap:.6rem;margin:0!important;font-family:"Aptos Display","Segoe UI Variable Display","Segoe UI",Arial,sans-serif;font-size:1rem!important;font-weight:850!important;line-height:1.2!important;color:#111827!important}.hio-card-title:before{content:"";display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:7px;background:var(--org-primary);color:#fff;font-size:.78rem;flex:0 0 auto}.hio-card-body{padding:.9rem 1rem}.hio-card-body>*:first-child{margin-top:0}.hio-card-body>*:last-child{margin-bottom:0}.hio-card-body ul{list-style:none;padding:0;margin:.2rem 0}.hio-card-body li{padding:.55rem 0;border-bottom:1px solid rgba(17,24,39,.08)}.hio-card-body li:last-child{border-bottom:0}.hio-card-body a{font-weight:800}.hio-card-body img{display:block;width:100%;height:auto;border-radius:10px}.module-einsaetze .hio-card-title:before{content:"🚨";background:#e11d48}.module-wetter .hio-card-title:before{content:"☁";background:#1261b3}.module-termine .hio-card-title:before{content:"🗓";background:#e11d48}.module-kontakt .hio-card-title:before{content:"✉";background:#111827}.module-links .hio-card-title:before{content:"↗";background:var(--org-primary)}.module-notruf .hio-card-title:before{content:"112";font-size:.62rem;background:#e11d48}.status-ok{padding:.45rem .7rem;border-radius:5px;background:#baf25d;color:#173100}.section,.feature-strip{padding:1.25rem 0}.breadcrumb-wrap{padding:.9rem 0}.main-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem;padding:1.3rem 0 2rem}.main-layout.has-left{grid-template-columns:290px minmax(0,1fr)}.main-layout.has-right{grid-template-columns:minmax(0,1fr) 320px}.main-layout.has-left.has-right{grid-template-columns:280px minmax(0,1fr) 310px}.sidebar{display:grid;gap:1rem;align-content:start}.sidebar .hio-card-head{background:linear-gradient(135deg,var(--org-secondary),var(--org-primary));border:0}.sidebar .hio-card-title{color:#fff!important}.sidebar .hio-card-title:before{background:rgba(255,255,255,.18)}.content-main{min-width:0}.item-page,.blog,.blog-featured,.com-content-article,.contact,.category-list,.newsfeed,.search{background:#fff;border:1px solid rgba(17,24,39,.09);border-radius:18px;box-shadow:var(--shadow-soft);padding:1.35rem}.content-main h1,.content-main h2,.content-main h3{font-family:"Aptos Display","Segoe UI Variable Display","Segoe UI",Arial,sans-serif;letter-spacing:-.03em;color:#111827}.content-main h1{font-size:clamp(2rem,3vw,3rem)}.article-info,.muted,.small{color:var(--muted)}
.partners{padding:1rem 0;background:#f8fafc;border-block:1px solid var(--line)}.footer{margin-top:1.8rem;background:#0d1b2a;color:#d9e2ec}.footer-top{padding:1rem 0;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.08)}.footer-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;padding:1.7rem 0}.footer .hio-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);box-shadow:none;height:100%;display:flex;flex-direction:column}.footer .hio-card-head{background:transparent;border-bottom:1px solid rgba(255,255,255,.08)}.footer .hio-card-body{flex:1}.footer .hio-card-title,.footer .hio-card-body,.footer .hio-card-body *{color:#fff!important}.footer .hio-card-title:before{background:var(--org-accent);color:#111}.footer .hio-card-body a{color:var(--org-accent)!important}.footer .hio-card-body img{display:block;max-width:100%;height:auto;border-radius:14px}.footer-brand{display:flex;align-items:flex-start;gap:.9rem}.footer-brand .brand-logo,.footer-brand .brand-logo-generated{width:62px;height:62px;flex:0 0 auto}.footer-brand-copy strong{display:block;color:var(--org-accent);font-size:1rem;line-height:1.4}.footer-intro-card .hio-card-body p{margin:.95rem 0 0;color:#c5d0dc!important}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 0;border-top:1px solid rgba(255,255,255,.08);font-size:.88rem;color:#aeb9c6}
input,textarea,select{font:inherit}input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],textarea,select{border:1px solid var(--line);border-radius:11px;background:#fff;padding:.7rem .8rem;max-width:100%}
@media(max-width:1120px){.header-main{grid-template-columns:auto 1fr auto}.nav-toggle{display:block;justify-self:end}.nav-wrap{position:fixed;top:84px;left:12px;right:12px;z-index:68;background:#fff;color:#111;border-radius:18px;padding:.65rem;box-shadow:var(--shadow);opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.nav-wrap.is-open{opacity:1;transform:none;pointer-events:auto}.nav-wrap ul,.nav.menu,.mod-menu{display:grid;grid-template-columns:1fr}.nav-wrap a{color:#111;padding:.78rem .85rem;border-radius:10px;border:0}.nav-wrap .active>a,.nav-wrap a:hover{background:rgba(var(--org-primary-rgb),.08);color:var(--org-primary)}.hero-inner{grid-template-columns:1fr}.hero-showcase{justify-content:flex-start;padding-bottom:60px}.hero-content{padding-bottom:0}.main-layout.has-left,.main-layout.has-right,.main-layout.has-left.has-right{grid-template-columns:1fr}.footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.container{width:min(100% - 24px,1280px)}.utility-row{display:none}.header-main{min-height:78px}.brand-logo,.brand-logo-generated{width:54px;height:54px}.brand-copy strong{font-size:1.45rem}.brand-copy small{font-size:.72rem}.nav-wrap{top:78px}.hero{min-height:610px}.hero-inner{min-height:610px;padding:112px 0 120px}.hero-content h1{font-size:2.75rem}.hero-content p{font-size:1rem}.hero-showcase{padding-bottom:30px}.home-dashboard{margin-top:-42px}.dashboard-grid,.module-grid,.sidebar{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr;padding:1.25rem 0}.footer-bottom{display:block}.footer-bottom>*+*{display:block;margin-top:.4rem}}
@media print{.site-header,.footer,.hero,.emergency-line,.nav-overlay{display:none!important}.container{width:100%}.hio-card,.item-page,.blog{box-shadow:none;border:1px solid #ddd}}

/* Organisationsabhängige Header wie in der Referenz */
.has-home-hero.org-thw .site-header{background:linear-gradient(90deg,#003f7c,#0055a4);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.12)}
.has-home-hero.org-asb .site-header{background:linear-gradient(90deg,#d10a15,#ef151f);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.12)}
.has-home-hero.org-drk .site-header,.has-home-hero.org-johanniter .site-header,.has-home-hero.org-malteser .site-header,.has-home-hero.org-bergwacht .site-header{background:rgba(255,255,255,.97);color:#111827;box-shadow:0 1px 0 rgba(17,24,39,.08)}
.has-home-hero.org-dlrg .site-header{background:linear-gradient(90deg,var(--org-primary),var(--org-secondary));color:#fff}
.has-home-hero.org-wasserwacht .site-header{background:var(--org-secondary);color:#fff}
.has-home-hero.org-rettungsdienst .site-header{background:var(--org-primary);color:#fff}
.has-home-hero.org-katastrophenschutz .site-header{background:var(--org-secondary);color:#fff}
.has-home-hero.org-drk .utility-row,.has-home-hero.org-johanniter .utility-row,.has-home-hero.org-malteser .utility-row,.has-home-hero.org-bergwacht .utility-row{color:#374151}
.has-home-hero.org-drk .header-main,.has-home-hero.org-johanniter .header-main,.has-home-hero.org-malteser .header-main,.has-home-hero.org-bergwacht .header-main{border-top-color:rgba(17,24,39,.08)}


/* HiOrg Multi 2.1 – Abgleich mit realem Server-Screenshot */
@media(min-width:1121px){
  .header-main{min-height:84px}
  .brand-logo,.brand-logo-generated{width:62px;height:62px}
  .brand-copy strong{font-size:1.78rem}
  .brand-copy small{font-size:.82rem}
  .hero{min-height:565px}
  .hero-inner{min-height:565px;grid-template-columns:minmax(0,1.22fr) minmax(315px,.50fr);gap:1.5rem;padding:116px 0 78px}
  .hero-content{padding-bottom:8px;max-width:780px}
  .hero-content h1{font-size:clamp(3rem,4.35vw,4.45rem);line-height:1.015;max-width:760px;margin:.65rem 0 .8rem}
  .hero-content p{font-size:1.04rem;max-width:40rem;margin:.45rem 0}
  .hero-actions{margin-top:1rem}
  .hero-showcase{padding-bottom:12px;align-items:flex-end}
  .hero-showcase .hio-card{max-width:390px}
  .home-dashboard{margin-top:-48px;padding-bottom:1.15rem}
  .dashboard-grid{gap:1rem}
}
.hero-bg{background-size:cover;background-position:var(--hero-position);transform:none}
.hero-overlay{background:linear-gradient(90deg,rgba(5,7,12,.83) 0%,rgba(5,7,12,.62) 30%,rgba(5,7,12,.16) 58%,rgba(5,7,12,.03) 77%,rgba(5,7,12,.14) 100%),linear-gradient(180deg,rgba(var(--org-secondary-rgb),.12),rgba(var(--org-primary-rgb),.06) 70%,rgba(255,255,255,.64) 100%)}
.hero-showcase .hio-card{background:linear-gradient(145deg,rgba(156,45,40,.86),rgba(220,105,75,.76));border-color:rgba(255,255,255,.28);box-shadow:0 24px 55px rgba(0,0,0,.25)}
.hero-showcase .hio-card-body{font-size:.96rem}
.home-dashboard .hio-card{box-shadow:0 18px 42px rgba(17,24,39,.13)}
.module-wetter .hio-card-body img{max-height:178px;object-fit:cover}
.module-termine .hio-card-body>img{display:none}
.module-einsaetze .hio-card-body,.module-termine .hio-card-body{font-size:.94rem}
.module-einsaetze .hio-card-body li,.module-termine .hio-card-body li{padding:.48rem 0}
@media(max-width:1120px){
  .hero{min-height:640px}.hero-inner{min-height:640px;padding:122px 0 92px}.home-dashboard{margin-top:-44px}
}
@media(max-width:760px){
  .hero{min-height:610px}.hero-inner{min-height:610px;padding:96px 0 82px}.hero-content h1{font-size:2.7rem}.home-dashboard{margin-top:-30px}
}


/* HiOrg Multi 2.2 – real-server fixes */
@media(min-width:1121px){
  .hero{min-height:555px!important}
  .hero-inner{min-height:555px!important;padding:112px 0 84px!important}
  .hero-content{padding-bottom:6px!important}
  .hero-content h1{font-size:clamp(3rem,4.25vw,4.35rem)!important;line-height:1.02!important;margin:.62rem 0 .72rem!important}
  .hero-showcase{padding-bottom:8px!important;align-items:flex-end!important}
  .hero-showcase .hio-card{width:100%;max-width:390px!important}
  .home-dashboard{margin-top:-44px!important;padding-bottom:1.2rem!important}
}
.hero-showcase .hio-card{
  background:linear-gradient(145deg,rgba(108,31,34,.92),rgba(191,76,58,.88))!important;
  border:1px solid rgba(255,255,255,.30)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.32)!important;
  backdrop-filter:blur(18px)!important;
}
.hero-showcase .hio-card-head{background:transparent!important;border:0!important}
.hero-showcase .hio-card-title,.hero-showcase .hio-card-body,.hero-showcase .hio-card-body *{color:#fff!important}
.home-dashboard{position:relative!important;z-index:10!important}
.dashboard-grid{align-items:stretch!important}
.dashboard-grid>.hio-card{min-height:280px!important;background:#fff!important}
.module-wetter .hio-card-body img{width:100%!important;max-height:185px!important;object-fit:cover!important}
.is-home .footer{margin-top:0!important}


/* HiOrg Multi v2.3.0: Seitenbreite + bestehende Startseitenmodule */
body.width-fixed .container{
  width:min(1280px,calc(100% - 48px))!important;
  max-width:1280px!important;
}
body.width-fluid .container{
  width:calc(100% - 48px)!important;
  max-width:none!important;
}
.home-existing-modules{
  position:relative;
  z-index:4;
  padding:.4rem 0 2rem;
  background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%);
}
.home-existing-grid{
  display:grid;
  gap:1rem;
  align-items:start;
}
.home-existing-grid.has-both{
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
}
.home-existing-grid.has-one{
  grid-template-columns:minmax(0,1fr);
}
.home-existing-column{
  display:grid;
  gap:1rem;
  min-width:0;
}
.home-existing-column .hio-card{
  height:auto;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(17,24,39,.08);
  border:1px solid rgba(17,24,39,.08);
}
.home-existing-column .hio-card-head{
  padding:.9rem 1rem;
  background:linear-gradient(135deg,rgba(var(--org-primary-rgb),.09),rgba(var(--org-accent-rgb),.10));
  border-bottom:1px solid rgba(17,24,39,.07);
}
.home-existing-column .hio-card-title{
  color:#111827!important;
}
.home-existing-column .hio-card-title:before{
  background:var(--org-primary)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.home-existing-column .hio-card-body{
  padding:1rem;
  color:#111827;
}
.home-existing-column .hio-card-body img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}
.home-existing-column .hio-card-body iframe{
  max-width:100%;
}
.home-existing-left .hio-card-body > *:first-child,
.home-existing-right .hio-card-body > *:first-child{
  margin-top:0;
}
.home-existing-left .hio-card-body > *:last-child,
.home-existing-right .hio-card-body > *:last-child{
  margin-bottom:0;
}
/* Auf der Startseite bleibt nur die Joomla-Komponente weg. Die alten Seitenleistenmodule werden oben separat weitergerendert. */
@media(max-width:1050px){
  .home-existing-grid.has-both{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body.width-fixed .container,
  body.width-fluid .container{
    width:calc(100% - 24px)!important;
    max-width:none!important;
  }
  .home-existing-grid.has-both{grid-template-columns:1fr}
  .home-existing-modules{padding:.2rem 0 1.35rem}
}

/* HiOrg Multi v2.3.1 – Home-Beiträge wieder aktiv */
.home-main-layout{grid-template-columns:minmax(0,1fr)!important;padding-top:.7rem}
.home-content-main{min-width:0}
.home-content-main>.item-page,.home-content-main>.blog,.home-content-main>.blog-featured,.home-content-main>.com-content-article{margin-top:.25rem}
.is-home .home-existing-modules + .home-main-layout{padding-top:.4rem}
.is-home .footer{margin-top:0}

.footer .hio-card ul{margin:0;padding-left:1.1rem}.footer .hio-card p{margin:.35rem 0}.footer-main--uniform > *{min-width:0}
