:root{
  --fg-red:#c8102e;
  --fg-red-dark:#7d0d1e;
  --fg-red-deep:#5f1429;
  --fg-burgundy:#331d33;
  --fg-orange:#f19a14;
  --fg-orange-dark:#ca6d10;
  --fg-gold:#ffd166;
  --fg-dark:#101821;
  --fg-ink:#18202b;
  --fg-muted:#667385;
  --fg-paper:#ffffff;
  --fg-paper-soft:rgba(255,255,255,.94);
  --fg-border:rgba(16,20,27,.08);
  --fg-shadow-soft:0 18px 48px rgba(13,19,29,.10);
  --fg-shadow:0 28px 72px rgba(13,19,29,.16);
  --fg-radius:24px;
  --fg-site-gradient:linear-gradient(135deg,#2d2137 0%,#83081f 34%,#aa0d22 56%,#d55a11 80%,#f2aa33 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.55) 62%,rgba(244,246,249,.96) 100%),
    var(--fg-site-gradient);
  color:var(--fg-ink);
  line-height:1.65;
  overflow-x:hidden;
}
a{color:var(--fg-red);text-decoration:none;text-underline-offset:.2em}a:hover{text-decoration:underline}
img,svg,video{max-width:100%;height:auto}
.container{width:min(1240px,calc(100% - 40px));margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:auto}.skip-link:focus{left:1rem;top:1rem;z-index:999;background:#fff;padding:.75rem 1rem;border-radius:14px;box-shadow:var(--fg-shadow)}
.fg-emergency-line{height:10px;background:linear-gradient(90deg,#111821 0 14%,#c8102e 14% 28%,#ef8f09 28% 42%,#111821 42% 56%,#c8102e 56% 70%,#ef8f09 70% 84%,#111821 84%)}
.topbar{background:#101821;color:#dce3ec;font-size:.9rem;border-bottom:1px solid rgba(255,255,255,.08)}
.topbar-inner{display:flex;justify-content:space-between;gap:1rem;align-items:center;min-height:40px;flex-wrap:wrap}.topbar p{margin:0}.topbar a{color:#ffd166}.topbar-right{font-weight:800;letter-spacing:.02em}
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);box-shadow:0 1px 0 rgba(16,20,27,.06)}
.header-grid{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.9rem 0}
.brand{display:flex;align-items:center;gap:.9rem;color:var(--fg-dark);min-width:max-content}.brand:hover{text-decoration:none}.brand img{width:58px;height:58px;filter:drop-shadow(0 10px 18px rgba(200,16,46,.18))}.brand-text{display:grid;line-height:1.08}.brand-text strong{font-size:1.08rem;letter-spacing:.01em}.brand-text small{margin-top:.24rem;color:var(--fg-red);font-weight:900;text-transform:uppercase;font-size:.74rem;letter-spacing:.09em}
.nav-toggle{display:none;position:relative;width:52px;height:52px;border:1px solid rgba(16,20,27,.08);border-radius:18px;background:#fff;box-shadow:var(--fg-shadow-soft);padding:0;cursor:pointer}.nav-toggle span{position:absolute;left:14px;right:14px;height:2px;background:#17202b;border-radius:999px;transition:.22s ease}.nav-toggle span:nth-child(1){top:18px}.nav-toggle span:nth-child(2){top:25px}.nav-toggle span:nth-child(3){top:32px}.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-wrap{justify-self:center}.nav-wrap ul,.nav.menu,.mod-menu{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none}.nav-wrap li{margin:0}.nav-wrap a,.nav-wrap span.separator{display:block;padding:.68rem 1rem;border-radius:999px;color:#1a222d;font-weight:850;letter-spacing:.01em;transition:.2s ease}.nav-wrap .current>a,.nav-wrap .active>a,.nav-wrap a:hover{background:linear-gradient(135deg,var(--fg-red),#b40f27);color:#fff;text-decoration:none;box-shadow:0 12px 24px rgba(200,16,46,.22);transform:translateY(-1px)}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem}.header-actions input[type="search"],.header-actions input[type="text"]{border:1px solid rgba(16,20,27,.1);border-radius:999px;padding:.68rem .95rem;background:#fff;max-width:220px}.header-actions button,.header-actions .btn{border:0;border-radius:999px;padding:.68rem .95rem;background:var(--fg-dark);color:#fff;font-weight:800}
.nav-overlay{position:fixed;inset:0;background:rgba(16,24,33,.42);backdrop-filter:blur(3px);z-index:54}
.alert-band{background:linear-gradient(90deg,#fff6d9,#ffeab8);border-block:1px solid rgba(255,176,0,.32);padding:.82rem 0;color:#5c4300;font-weight:700}.alert-band p{margin:.25rem 0}
.hero{position:relative;overflow:hidden;color:#fff;background:#101821}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.06),transparent 20rem),var(--fg-site-gradient);z-index:0}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 74%,rgba(238,242,246,.95) 100%);z-index:1}
.hero-glow{position:absolute;right:-12rem;bottom:-12rem;width:34rem;height:34rem;background:radial-gradient(circle,rgba(255,209,102,.40),transparent 68%);filter:blur(8px);z-index:1}
.hero-watermark{position:absolute;right:9%;top:16%;width:min(27vw,390px);height:min(27vw,390px);opacity:.05;border-radius:50%;border:2px solid rgba(255,255,255,.25);z-index:1}.hero-watermark:before,.hero-watermark:after{content:"";position:absolute;background:rgba(255,255,255,.22)}.hero-watermark:before{left:50%;top:12%;transform:translateX(-50%);width:18%;height:68%;border-radius:999px}.hero-watermark:after{left:25%;top:50%;transform:translateY(-50%);width:50%;height:18%;border-radius:999px}
.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.16fr) minmax(320px,.58fr);gap:2.4rem;align-items:center;padding:clamp(4rem,6.8vw,7.6rem) 0}.hero-content-only .hero-inner{grid-template-columns:minmax(0,1fr)}.hero-card-only .hero-inner{grid-template-columns:minmax(320px,560px);justify-content:end}
.badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff6d7;padding:.44rem .86rem;border-radius:999px;font-weight:900;text-transform:uppercase;font-size:.79rem;letter-spacing:.08em;backdrop-filter:blur(12px)}
.hero h1{font-size:clamp(2.7rem,5vw,5.45rem);line-height:1.02;margin:.95rem 0 1rem;max-width:11ch;letter-spacing:-.06em}.hero h2{font-size:clamp(1.6rem,2.6vw,2.3rem);line-height:1.1;margin:.5rem 0 1rem}.hero p{font-size:1.15rem;max-width:62ch;color:#f8f9fc;margin:0 0 1.25rem}.hero .hero-buttons,.hero .custom .buttons,.hero .custom .btn-group{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.45rem}
.hero-card,.hero .fg-module{position:relative;background:rgba(194,120,70,.55);border:1px solid rgba(255,255,255,.2);border-radius:30px;padding:1.5rem;box-shadow:0 30px 80px rgba(0,0,0,.18);backdrop-filter:blur(14px);overflow:hidden;color:#fff}.hero-card:before,.hero .fg-module:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--fg-red),var(--fg-orange))}.hero-card .fg-module,.hero-card .fg-module-body{background:transparent;border:0;box-shadow:none;padding:0}.hero-card .fg-module>h3{margin:0 0 .55rem;color:#fff;font-size:1.35rem}.hero-card .fg-module-body,.hero-card .fg-module-body *{color:#fff}.hero-card p{font-size:1rem}.hero-card .kicker,.hero-card .small,.hero-card .lead,.hero-card .subtitle{text-transform:uppercase;font-size:.78rem;font-weight:900;letter-spacing:.09em;color:#ffd166}
.hero-card .status-grid,.hero-card .button-list,.hero-card .chip-list{display:grid;grid-template-columns:repeat(4,1fr);gap:.55rem;margin-top:1rem}.hero-card .status-grid span,.hero-card .button-list span,.hero-card .chip-list span,.hero-card .chip-list a{display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.14);padding:.62rem .35rem;font-weight:900;color:#fff}
.feature-strip{position:relative;margin-top:-2.05rem;z-index:5}
.section{padding:2.3rem 0}.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.55rem;align-items:start}.layout.has-left{grid-template-columns:290px minmax(0,1fr)}.layout.has-right{grid-template-columns:minmax(0,1fr) 330px}.layout.has-left.has-right{grid-template-columns:290px minmax(0,1fr) 330px}.content-main{min-width:0}
.content-main>*,.item-page,.blog,.blog-featured,.contact,.category-list,.newsfeed,.search{position:relative}
.item-page,.blog-item,.com-content-article,.contact,.category-list,.newsfeed,.position-box,.fg-module,.card,.moduletable{
  background:var(--fg-paper-soft);
  border:1px solid rgba(255,255,255,.46);
  border-radius:24px;
  box-shadow:var(--fg-shadow-soft);
  padding:1.35rem;
  backdrop-filter:blur(10px);
}
.content-main>.item-page,.content-main>.blog,.content-main>.blog-featured,.content-main>.com-content-article{padding:1.85rem}
.content-main h1,.content-main h2,.content-main h3{letter-spacing:-.03em;line-height:1.14;color:#101821}.content-main h1{font-size:clamp(2rem,3vw,3.2rem);margin:.1rem 0 1rem}.content-main h2{font-size:clamp(1.55rem,2.2vw,2.25rem)}
.article-info,.muted,.small,.createdby,.published{color:var(--fg-muted);font-size:.92rem}.page-header h1,.page-header h2{margin-top:0}
.btn,.readmore a,.mod-articles-category-readmore a,.btn-primary,.button,input[type="submit"],button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;background:linear-gradient(135deg,var(--fg-red),#b20f26);color:#fff!important;border-radius:999px;padding:.82rem 1.16rem;font-weight:900;text-decoration:none;box-shadow:0 14px 30px rgba(200,16,46,.24);transition:.18s ease}.btn:hover,.readmore a:hover,.mod-articles-category-readmore a:hover,.button:hover,input[type="submit"]:hover,button:hover{text-decoration:none;transform:translateY(-1px);box-shadow:0 18px 36px rgba(200,16,46,.28)}
.btn-glass,.button.button-secondary,.btn-secondary{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.24);box-shadow:none;color:#fff!important}.content-main .btn-glass,.content-main .button.button-secondary,.content-main .btn-secondary{background:#fff;border:1px solid rgba(16,20,27,.12);color:var(--fg-dark)!important}
/* Modul-Titel jetzt farbig und klar sichtbar */
.fg-module>h3,.moduletable>h3,.module-title{
  display:flex;
  align-items:center;
  gap:.65rem;
  margin:-1.35rem -1.35rem 1rem;
  padding:1rem 1.15rem;
  border-radius:24px 24px 18px 18px;
  background:linear-gradient(135deg,var(--fg-red-deep) 0%,var(--fg-red) 55%,var(--fg-orange) 100%);
  color:#fff!important;
  font-size:1.04rem;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
  line-height:1.2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.fg-module>h3:before,.moduletable>h3:before,.module-title:before{
  content:"";
  width:.7rem;
  height:.7rem;
  border-radius:50%;
  background:#ffd166;
  box-shadow:0 0 0 6px rgba(255,209,102,.18);
  flex:0 0 auto;
}
.sidebar{display:grid;gap:1rem;align-content:start}
.sidebar .fg-module,.sidebar .moduletable,.sidebar .module,.sidebar .card{padding:1rem;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.92)}
.sidebar .fg-module h3,.sidebar .moduletable>h3,.sidebar .module-title{margin:-1rem -1rem 1rem;padding:.95rem 1rem;border-radius:22px 22px 16px 16px}
.sidebar ul,.category-module,ul.latestnews,ul.newsflash,.mod-articles-category{list-style:none;margin:0;padding:0}.sidebar li,.latestnews li,.newsflash li,.mod-articles-category li,.category-module li{position:relative;margin:0;padding:.78rem 0 .78rem 1.05rem;border-bottom:1px solid rgba(16,20,27,.08)}.sidebar li:before,.latestnews li:before,.newsflash li:before,.mod-articles-category li:before,.category-module li:before{content:"";position:absolute;left:0;top:1.22rem;width:.42rem;height:.42rem;border-radius:50%;background:linear-gradient(135deg,var(--fg-red),var(--fg-orange))}.sidebar li:last-child,.latestnews li:last-child,.newsflash li:last-child,.mod-articles-category li:last-child,.category-module li:last-child{border-bottom:0}
.sidebar img,.item-image img,.blog-item img{border-radius:18px;box-shadow:0 16px 35px rgba(13,19,29,.12)}
.sidebar table,.table,table{width:100%;max-width:100%;border-collapse:collapse}.sidebar td,.sidebar th,table td,table th{padding:.5rem;border-bottom:1px solid rgba(16,20,27,.08)}
.modules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.features-grid>.fg-module{border-top:5px solid var(--fg-red)}
.fg-module{position:relative}.fg-module-body>*:first-child{margin-top:0}.fg-module-body>*:last-child{margin-bottom:0}
.latestnews a,.mod-articles-category a,.category-module a{font-weight:900;color:#18202b}
.blog-items{display:grid;gap:1rem}.blog-item{padding:1.35rem}
/* Farbige Module */
.fg-module.module-einsaetze,.moduletable.module-einsaetze{border-top:5px solid #c8102e;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,246,247,.95) 100%)}
.fg-module.module-einsaetze>h3,.moduletable.module-einsaetze>h3{background:linear-gradient(135deg,#c8102e,#941126)!important;color:#fff!important}
.fg-module.module-fahrzeuge,.moduletable.module-fahrzeuge{border-top:5px solid #f19a14;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,248,236,.95) 100%)}
.fg-module.module-fahrzeuge>h3,.moduletable.module-fahrzeuge>h3{background:linear-gradient(135deg,#f19a14,#c47300)!important;color:#fff!important}
.fg-module.module-jugendfeuerwehr,.moduletable.module-jugendfeuerwehr{border-top:5px solid #2285c7;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(244,250,255,.95) 100%)}
.fg-module.module-jugendfeuerwehr>h3,.moduletable.module-jugendfeuerwehr>h3{background:linear-gradient(135deg,#2285c7,#125487)!important;color:#fff!important}
.fg-module.module-kontakt,.moduletable.module-kontakt{border-top:5px solid #263245;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(246,248,251,.95) 100%)}
.fg-module.module-kontakt>h3,.moduletable.module-kontakt>h3{background:linear-gradient(135deg,#263245,#101821)!important;color:#fff!important}
.breadcrumb-wrap{padding:1rem 0}.breadcrumb .breadcrumb{padding:0;margin:0;background:transparent}.system-message-container{margin:1rem 0}
.partners{padding:1.5rem 0;background:rgba(255,255,255,.58);border-block:1px solid rgba(255,255,255,.35);backdrop-filter:blur(12px)}.partners .fg-module{box-shadow:none;background:transparent;border:0;padding:0}
.footer{position:relative;overflow:hidden;margin-top:2.8rem;background:linear-gradient(180deg,rgba(14,21,32,.95) 0%,rgba(16,24,33,.98) 100%);color:#dce3ec}.footer:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 16%,rgba(200,16,46,.18),transparent 22rem),radial-gradient(circle at 92% 0%,rgba(241,154,20,.12),transparent 24rem);pointer-events:none}.footer-top{position:relative;padding:1.45rem 0;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03)}.footer-top-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.footer-main{position:relative;display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:1.35rem;padding:2rem 0}.footer-brand-block{padding:1.35rem;border:1px solid rgba(255,255,255,.09);border-radius:28px;background:rgba(255,255,255,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}.footer-brand{display:flex;align-items:center;gap:.9rem}.footer-brand img{width:60px;height:60px}.footer-brand strong{display:block;font-size:1.18rem;color:#fff}.footer-brand span{display:block;color:#ffd166;font-size:.9rem;font-weight:800;margin-top:.1rem}.footer-lead{margin:.95rem 0 0;color:#bcc7d4}
.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.footer .fg-module{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08);box-shadow:none;color:#dce3ec}.footer .fg-module h3{background:linear-gradient(135deg,#263245,#101821)!important;color:#fff!important}.footer .fg-module a{color:#ffd166}
.footer-bottom{position:relative;border-top:1px solid rgba(255,255,255,.09);padding:1rem 0;color:#aeb9c7;font-size:.92rem}.copyright{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.position-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem}.position-preview span{background:#fff;border:1px dashed #c7ccd2;border-radius:14px;padding:.65rem;font-size:.86rem;color:#4b5563}
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 rgba(16,20,27,.1);border-radius:16px;background:#fff;padding:.8rem .9rem;max-width:100%}
.pagination .page-link,.pager .btn{border-radius:999px}
@media(max-width:1100px){.header-grid{grid-template-columns:auto auto 1fr}.nav-wrap{grid-column:1/-1;order:4}.header-actions{justify-content:flex-end}.layout.has-left,.layout.has-right,.layout.has-left.has-right{grid-template-columns:1fr}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-inner,.footer-main{grid-template-columns:1fr}.feature-strip{margin-top:0}}
@media(max-width:860px){.nav-toggle{display:inline-block;justify-self:end;z-index:56}.header-grid{grid-template-columns:auto 1fr auto}.header-actions{display:none}.nav-wrap{position:fixed;top:86px;right:12px;left:12px;background:#fff;border:1px solid rgba(16,20,27,.08);border-radius:24px;box-shadow:var(--fg-shadow);padding:.8rem;z-index:55;transform:translateY(-8px);opacity:0;pointer-events:none;transition:.22s ease}.nav-wrap.is-open{transform:translateY(0);opacity:1;pointer-events:auto}.nav-wrap ul,.nav.menu,.mod-menu{display:grid;grid-template-columns:1fr;justify-items:stretch;gap:.28rem}.nav-wrap a,.nav-wrap span.separator{padding:.9rem 1rem}.site-header.menu-open{box-shadow:none}.topbar-right{font-size:.82rem}}
@media(max-width:760px){.container{width:min(100% - 24px,1240px)}.fg-emergency-line{height:7px}.topbar-inner{justify-content:center;text-align:center}.brand img{width:50px;height:50px}.hero-inner{padding:3.4rem 0}.hero h1{font-size:2.5rem}.hero p{font-size:1rem}.hero-card{border-radius:24px}.modules-grid,.footer-grid,.sidebar{grid-template-columns:1fr}.section{padding:1.4rem 0}.content-main>.item-page,.content-main>.blog,.content-main>.blog-featured,.content-main>.com-content-article,.item-page,.blog-item,.fg-module,.moduletable{padding:1rem;border-radius:20px}.fg-module>h3,.moduletable>h3,.module-title{margin:-1rem -1rem 1rem;padding:.9rem 1rem;border-radius:20px 20px 14px 14px}.hero-card .status-grid,.hero-card .button-list,.hero-card .chip-list{grid-template-columns:repeat(2,1fr)}.footer-brand-block{padding:1rem}}
@media print{.site-header,.topbar,.footer,.hero,.fg-emergency-line,.nav-overlay{display:none!important}.container{width:100%}.fg-module,.card,.item-page,.blog-item,.moduletable{box-shadow:none;border:1px solid #ddd}}

/* FireGuard 1.3.2 – lesbarere Schrift und sichere Modultitel */
body{
  font-family:"Segoe UI Variable","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  font-weight:400;
  letter-spacing:0;
}
.hero h1,
.content-main h1,
.content-main h2,
.content-main h3,
.brand-text strong,
.fg-module>h3,
.moduletable>h3,
.module-title,
.footer-brand strong{
  font-family:"Segoe UI Variable Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.hero h1{
  font-weight:900;
  letter-spacing:-.055em;
}
.content-main h1,
.content-main h2,
.content-main h3{
  font-weight:850;
  letter-spacing:-.025em;
}
.fg-module>h3,
.fg-module-title,
.moduletable>h3,
.module-title{
  display:flex!important;
  align-items:center!important;
  gap:.65rem!important;
  margin:-1.35rem -1.35rem 1rem!important;
  padding:.95rem 1.15rem!important;
  border-radius:24px 24px 18px 18px!important;
  background:linear-gradient(135deg,#5f1429 0%,#c8102e 58%,#f19a14 100%)!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:850!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
  line-height:1.25!important;
  text-shadow:0 1px 2px rgba(0,0,0,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 22px rgba(95,20,41,.12)!important;
}
.fg-module>h3:before,
.fg-module-title:before,
.moduletable>h3:before,
.module-title:before{
  content:"";
  width:.66rem;
  height:.66rem;
  border-radius:999px;
  background:#ffd166;
  box-shadow:0 0 0 6px rgba(255,209,102,.18);
  flex:0 0 auto;
}
.sidebar .fg-module>h3,
.sidebar .fg-module-title,
.sidebar .moduletable>h3,
.sidebar .module-title{
  margin:-1rem -1rem 1rem!important;
  padding:.9rem 1rem!important;
  border-radius:22px 22px 16px 16px!important;
  font-size:.96rem!important;
}
.hero-card .fg-module>h3,
.hero-card .fg-module-title{
  margin:0 0 .75rem!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:1.35rem!important;
  font-weight:900!important;
  text-shadow:none!important;
}
.hero-card .fg-module>h3:before,
.hero-card .fg-module-title:before{
  display:none!important;
}
.footer .fg-module>h3,
.footer .fg-module-title{
  background:linear-gradient(135deg,#263245,#101821)!important;
}
@media(max-width:760px){
  body{font-size:15.5px}
  .fg-module>h3,
  .fg-module-title,
  .moduletable>h3,
  .module-title{
    margin:-1rem -1rem 1rem!important;
    padding:.85rem 1rem!important;
    border-radius:20px 20px 14px 14px!important;
    font-size:.95rem!important;
  }
}


/* FireGuard v1.3.3: Modul-Titel und Schriftbild */
body{
  font-family:"Segoe UI Variable","Aptos","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  letter-spacing:-.005em;
}
.content-main h1,.content-main h2,.content-main h3,.hero h1,.hero h2,.brand-text strong{
  font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.fg-module-title-wrap{
  margin:-1.35rem -1.35rem 1rem;
  border-radius:24px 24px 18px 18px;
  background:linear-gradient(135deg,var(--fg-red-deep) 0%,var(--fg-red) 55%,var(--fg-orange) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 24px rgba(125,13,30,.12);
  overflow:hidden;
}
.fg-module-title{
  display:flex!important;
  align-items:center;
  gap:.65rem;
  margin:0!important;
  padding:1rem 1.15rem!important;
  color:#fff!important;
  font-size:1.06rem!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-transform:none!important;
  letter-spacing:-.01em!important;
}
.fg-module-title:before{
  content:"";
  width:.7rem;
  height:.7rem;
  border-radius:50%;
  background:#ffd166;
  box-shadow:0 0 0 6px rgba(255,209,102,.18);
  flex:0 0 auto;
}
/* Falls ein Fremdmodul eigene Headings setzt, trotzdem lesbar einfärben */
.fg-module > h3:not(.fg-module-title),
.moduletable > h3:not(.fg-module-title),
.module-title:not(.fg-module-title){
  color:#fff!important;
  background:linear-gradient(135deg,var(--fg-red-deep),var(--fg-red),var(--fg-orange))!important;
  border-radius:18px!important;
  padding:.85rem 1rem!important;
  font-weight:800!important;
  text-transform:none!important;
}
.sidebar .fg-module-title-wrap{
  margin:-1rem -1rem 1rem;
  border-radius:22px 22px 16px 16px;
}
.sidebar .fg-module-title{
  padding:.95rem 1rem!important;
  font-size:1rem!important;
}
.hero-card .fg-module-title-wrap{
  margin:0 0 .75rem;
  background:transparent;
  box-shadow:none;
}
.hero-card .fg-module-title{
  padding:0!important;
  font-size:1.35rem!important;
  color:#fff!important;
}
.hero-card .fg-module-title:before{display:none}
.footer .fg-module-title-wrap{
  background:linear-gradient(135deg,#263245,#101821)!important;
}
@media(max-width:760px){
  body{font-size:15.5px}
  .fg-module-title-wrap{margin:-1rem -1rem 1rem;border-radius:20px 20px 14px 14px}
  .fg-module-title{padding:.9rem 1rem!important;font-size:1rem!important}
}


/* FireGuard v1.3.4: Modul-Titel sichtbar + bessere Standardfarben */
.fg-module,
.moduletable,
.sidebar .fg-module,
.sidebar .moduletable,
.content-main .fg-module,
.content-main .moduletable{
  background:rgba(255,255,255,.94)!important;
  color:#18202b!important;
}
.fg-module-body,
.fg-module-body p,
.fg-module-body li,
.fg-module-body div,
.fg-module-body span,
.fg-module-body strong,
.fg-module-body td,
.fg-module-body th,
.fg-module-body small,
.fg-module-body a,
.fg-module-body .latestnews,
.fg-module-body .newsflash,
.fg-module-body .mod-articles-category,
.fg-module-body .category-module{
  color:#18202b!important;
}
.fg-module-body a{color:#b3172d!important}
.fg-module-body a:hover{color:#7d0d1e!important}
.fg-module-title-wrap{
  display:block!important;
  margin:-1.35rem -1.35rem 1rem!important;
  border-radius:24px 24px 18px 18px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#5f1429 0%,#c8102e 58%,#f19a14 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 24px rgba(125,13,30,.14)!important;
}
.fg-module-title{
  display:flex!important;
  align-items:center!important;
  gap:.65rem!important;
  margin:0!important;
  padding:1rem 1.15rem!important;
  color:#fff!important;
  font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;
  font-size:1.04rem!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-transform:none!important;
  letter-spacing:-.01em!important;
}
.fg-module-title:before{
  content:""!important;
  width:.68rem!important;
  height:.68rem!important;
  border-radius:50%!important;
  background:#ffd166!important;
  box-shadow:0 0 0 6px rgba(255,209,102,.18)!important;
  flex:0 0 auto!important;
}
/* fallback for modules that still output native titles */
.fg-module > h3,
.moduletable > h3,
.module-title{
  display:flex!important;
  align-items:center!important;
  gap:.65rem!important;
  margin:-1.35rem -1.35rem 1rem!important;
  padding:1rem 1.15rem!important;
  border-radius:24px 24px 18px 18px!important;
  background:linear-gradient(135deg,#5f1429 0%,#c8102e 58%,#f19a14 100%)!important;
  color:#fff!important;
  font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;
  font-size:1.04rem!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-transform:none!important;
}
.fg-module > h3:before,
.moduletable > h3:before,
.module-title:before{
  content:""!important;
  width:.68rem!important;
  height:.68rem!important;
  border-radius:50%!important;
  background:#ffd166!important;
  box-shadow:0 0 0 6px rgba(255,209,102,.18)!important;
  flex:0 0 auto!important;
}
.sidebar .fg-module-title-wrap,
.sidebar .fg-module > h3,
.sidebar .moduletable > h3,
.sidebar .module-title{
  margin:-1rem -1rem 1rem!important;
  border-radius:22px 22px 16px 16px!important;
}
.sidebar .fg-module-title,
.sidebar .fg-module > h3,
.sidebar .moduletable > h3,
.sidebar .module-title{
  padding:.92rem 1rem!important;
  font-size:.98rem!important;
}
.hero-card .fg-module-body,
.hero-card .fg-module-body p,
.hero-card .fg-module-body li,
.hero-card .fg-module-body span,
.hero-card .fg-module-body a{color:#fff!important}
.hero-card .fg-module-title-wrap{background:transparent!important;box-shadow:none!important;margin:0 0 .75rem!important}
.hero-card .fg-module-title{padding:0!important;font-size:1.35rem!important}
.hero-card .fg-module-title:before{display:none!important}
.footer .fg-module-title-wrap{background:linear-gradient(135deg,#263245,#101821)!important}
.footer .fg-module-title,
.footer .fg-module-body,
.footer .fg-module-body p,
.footer .fg-module-body li,
.footer .fg-module-body a{color:#dce3ec!important}
.footer .fg-module-body a{color:#ffd166!important}
body{
  font-family:"Aptos","Segoe UI Variable","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;
}
.hero h1,
.content-main h1,
.content-main h2,
.content-main h3,
.brand-text strong,
.fg-module-title,
.fg-module > h3,
.moduletable > h3,
.module-title,
.footer-brand strong{
  font-family:"Aptos Display","Segoe UI Variable Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;
}
@media(max-width:760px){
  .fg-module-title-wrap,
  .fg-module > h3,
  .moduletable > h3,
  .module-title{
    margin:-1rem -1rem 1rem!important;
    border-radius:20px 20px 14px 14px!important;
  }
  .fg-module-title,
  .fg-module > h3,
  .moduletable > h3,
  .module-title{
    padding:.88rem 1rem!important;
    font-size:.96rem!important;
  }
}


/* FireGuard v1.3.5: eigenes Logo und Slogan */
.brand-logo,
.footer-logo{
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
.brand-logo{
  width:58px!important;
  height:58px!important;
}
.footer-logo{
  width:60px!important;
  height:60px!important;
}
.brand-text small:empty,
.footer-brand span:empty{display:none!important}
@media(max-width:760px){
  .brand-logo{width:50px!important;height:50px!important}
  .footer-logo{width:54px!important;height:54px!important}
}


/* RescueGuard Multi 1.4.0 – Organisationsthemen */
body.theme-feuerwehr{
  --fg-red:#C8102E;--fg-red-dark:#701326;--fg-red-deep:#4B1F32;--fg-orange:#F19A14;--fg-gold:#FFD166;--fg-dark:#101821;
  --fg-site-gradient:linear-gradient(135deg,#2D2137 0%,#83081F 34%,#AA0D22 58%,#D55A11 82%,#F2AA33 100%);
  --theme-title-gradient:linear-gradient(135deg,#4B1F32 0%,#C8102E 62%,#F19A14 100%);
}
body.theme-thw{
  --fg-red:#003399;--fg-red-dark:#001E5A;--fg-red-deep:#071A3A;--fg-orange:#0066B3;--fg-gold:#F7D117;--fg-dark:#08172F;
  --fg-site-gradient:linear-gradient(135deg,#06152F 0%,#001E5A 30%,#003399 60%,#0066B3 84%,#F7D117 100%);
  --theme-title-gradient:linear-gradient(135deg,#06152F 0%,#003399 64%,#0066B3 100%);
}
body.theme-asb{
  --fg-red:#D71920;--fg-red-dark:#8F0E14;--fg-red-deep:#4A1618;--fg-orange:#F4C300;--fg-gold:#FFE36A;--fg-dark:#1B1B1B;
  --fg-site-gradient:linear-gradient(135deg,#1B1B1B 0%,#8F0E14 34%,#D71920 68%,#F4C300 100%);
  --theme-title-gradient:linear-gradient(135deg,#4A1618 0%,#D71920 68%,#F4C300 100%);
}
body.theme-drk{
  --fg-red:#E30613;--fg-red-dark:#8F0008;--fg-red-deep:#3B1013;--fg-orange:#333333;--fg-gold:#FFFFFF;--fg-dark:#161616;
  --fg-site-gradient:linear-gradient(135deg,#161616 0%,#3B1013 26%,#B6000B 60%,#E30613 84%,#F0F0F0 100%);
  --theme-title-gradient:linear-gradient(135deg,#3B1013 0%,#E30613 70%,#333333 100%);
}
body.theme-johanniter{
  --fg-red:#D71920;--fg-red-dark:#800E14;--fg-red-deep:#291B20;--fg-orange:#4A4A4A;--fg-gold:#FFFFFF;--fg-dark:#171717;
  --fg-site-gradient:linear-gradient(135deg,#171717 0%,#291B20 25%,#800E14 58%,#D71920 86%,#4A4A4A 100%);
  --theme-title-gradient:linear-gradient(135deg,#291B20 0%,#D71920 72%,#4A4A4A 100%);
}
body.theme-malteser{
  --fg-red:#C8102E;--fg-red-dark:#700016;--fg-red-deep:#26171B;--fg-orange:#525252;--fg-gold:#C5C7C9;--fg-dark:#151515;
  --fg-site-gradient:linear-gradient(135deg,#151515 0%,#26171B 28%,#700016 56%,#C8102E 82%,#6A6A6A 100%);
  --theme-title-gradient:linear-gradient(135deg,#26171B 0%,#C8102E 72%,#525252 100%);
}
body.theme-dlrg{
  --fg-red:#E30613;--fg-red-dark:#930009;--fg-red-deep:#002B52;--fg-orange:#00549F;--fg-gold:#FFED00;--fg-dark:#002440;
  --fg-site-gradient:linear-gradient(135deg,#002440 0%,#00549F 42%,#E30613 78%,#FFED00 100%);
  --theme-title-gradient:linear-gradient(135deg,#002B52 0%,#00549F 58%,#E30613 100%);
}
body.theme-wasserwacht{
  --fg-red:#E30613;--fg-red-dark:#8F0008;--fg-red-deep:#0B2741;--fg-orange:#005AA9;--fg-gold:#FFFFFF;--fg-dark:#081D31;
  --fg-site-gradient:linear-gradient(135deg,#081D31 0%,#005AA9 48%,#B1000A 78%,#E30613 100%);
  --theme-title-gradient:linear-gradient(135deg,#0B2741 0%,#005AA9 58%,#E30613 100%);
}
body.theme-bergwacht{
  --fg-red:#E30613;--fg-red-dark:#8F0008;--fg-red-deep:#1F2F24;--fg-orange:#2F7D32;--fg-gold:#F58220;--fg-dark:#17251B;
  --fg-site-gradient:linear-gradient(135deg,#17251B 0%,#2F7D32 44%,#E30613 76%,#F58220 100%);
  --theme-title-gradient:linear-gradient(135deg,#1F2F24 0%,#2F7D32 56%,#E30613 100%);
}
body.theme-rettungsdienst{
  --fg-red:#D71920;--fg-red-dark:#810D13;--fg-red-deep:#101820;--fg-orange:#F4D000;--fg-gold:#F4D000;--fg-dark:#101820;
  --fg-site-gradient:linear-gradient(135deg,#101820 0%,#0057A8 40%,#D71920 76%,#F4D000 100%);
  --theme-title-gradient:linear-gradient(135deg,#101820 0%,#0057A8 48%,#D71920 100%);
}
body.theme-katastrophenschutz{
  --fg-red:#003A70;--fg-red-dark:#10243C;--fg-red-deep:#101820;--fg-orange:#F4D000;--fg-gold:#F4D000;--fg-dark:#101820;
  --fg-site-gradient:linear-gradient(135deg,#101820 0%,#003A70 52%,#E30613 82%,#F4D000 100%);
  --theme-title-gradient:linear-gradient(135deg,#101820 0%,#003A70 68%,#E30613 100%);
}
body.theme-neutral{
  --fg-red:#007B83;--fg-red-dark:#004F55;--fg-red-deep:#15242A;--fg-orange:#3B8EA5;--fg-gold:#D5B55A;--fg-dark:#101C22;
  --fg-site-gradient:linear-gradient(135deg,#101C22 0%,#004F55 38%,#007B83 70%,#3B8EA5 100%);
  --theme-title-gradient:linear-gradient(135deg,#15242A 0%,#007B83 68%,#3B8EA5 100%);
}
body.theme-custom{--theme-title-gradient:linear-gradient(135deg,var(--fg-red-dark),var(--fg-red),var(--fg-orange))}

body[class*="theme-"]{
  background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.60) 58%,rgba(244,246,249,.98) 100%),var(--fg-site-gradient)!important;
}
body[class*="theme-"] .fg-emergency-line{
  background:linear-gradient(90deg,var(--fg-dark) 0 14%,var(--fg-red) 14% 28%,var(--fg-gold) 28% 42%,var(--fg-dark) 42% 56%,var(--fg-red) 56% 70%,var(--fg-gold) 70% 84%,var(--fg-dark) 84%)!important;
}
body[class*="theme-"] .topbar{background:var(--fg-dark)!important}
body[class*="theme-"] .topbar a{color:var(--fg-gold)!important}
body[class*="theme-"] .brand-text small{color:var(--fg-red)!important}
body[class*="theme-"] .nav-wrap .current>a,
body[class*="theme-"] .nav-wrap .active>a,
body[class*="theme-"] .nav-wrap a:hover,
body[class*="theme-"] .btn,
body[class*="theme-"] .readmore a,
body[class*="theme-"] .mod-articles-category-readmore a,
body[class*="theme-"] .btn-primary,
body[class*="theme-"] .button,
body[class*="theme-"] input[type="submit"]{
  background:linear-gradient(135deg,var(--fg-red),var(--fg-red-dark))!important;
  box-shadow:0 14px 30px rgba(13,19,29,.20)!important;
}
body[class*="theme-"] .hero:before{background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.06),transparent 20rem),var(--fg-site-gradient)!important}
body[class*="theme-"] .hero-glow{background:radial-gradient(circle,var(--fg-gold),transparent 68%)!important;opacity:.38}
body[class*="theme-"] .hero-card,
body[class*="theme-"] .hero .fg-module{background:rgba(255,255,255,.13)!important}
body[class*="theme-"] .hero-card:before,
body[class*="theme-"] .hero .fg-module:before{background:linear-gradient(90deg,var(--fg-red),var(--fg-gold))!important}
body[class*="theme-"] .fg-module-title-wrap,
body[class*="theme-"] .fg-module > h3,
body[class*="theme-"] .moduletable > h3,
body[class*="theme-"] .module-title,
body[class*="theme-"] .fg-module.module-einsaetze>h3,
body[class*="theme-"] .moduletable.module-einsaetze>h3,
body[class*="theme-"] .fg-module.module-fahrzeuge>h3,
body[class*="theme-"] .moduletable.module-fahrzeuge>h3,
body[class*="theme-"] .fg-module.module-jugendfeuerwehr>h3,
body[class*="theme-"] .moduletable.module-jugendfeuerwehr>h3,
body[class*="theme-"] .fg-module.module-kontakt>h3,
body[class*="theme-"] .moduletable.module-kontakt>h3{
  background:var(--theme-title-gradient)!important;
}
body[class*="theme-"] .fg-module-title:before,
body[class*="theme-"] .fg-module > h3:before,
body[class*="theme-"] .moduletable > h3:before,
body[class*="theme-"] .module-title:before{background:var(--fg-gold)!important}
body[class*="theme-"] .fg-module-body a{color:var(--fg-red)!important}
body[class*="theme-"] .fg-module-body a:hover{color:var(--fg-red-dark)!important}
body[class*="theme-"] .footer{background:linear-gradient(180deg,var(--fg-dark),#090E13)!important}
body[class*="theme-"] .footer .fg-module-title-wrap,
body[class*="theme-"] .footer .fg-module > h3{background:linear-gradient(135deg,var(--fg-dark),var(--fg-red-dark))!important}
body[class*="theme-"] .footer-brand span,
body[class*="theme-"] .footer a,
body[class*="theme-"] .footer .fg-module-body a{color:var(--fg-gold)!important}
body[class*="theme-"] .default-logo{display:inline-grid;place-items:center;width:58px;height:58px;flex:0 0 58px;filter:drop-shadow(0 10px 18px rgba(13,19,29,.18))}
body[class*="theme-"] .default-logo svg{width:100%;height:100%;display:block}
body[class*="theme-"] .default-logo .logo-shield{fill:var(--fg-red)}
body[class*="theme-"] .default-logo .logo-cross{fill:#fff}
body[class*="theme-"] .default-logo .logo-accent{fill:var(--fg-gold)}
body[class*="theme-"] .footer-logo.default-logo{width:60px;height:60px;flex-basis:60px}
@media(max-width:760px){
  body[class*="theme-"] .default-logo{width:50px;height:50px;flex-basis:50px}
  body[class*="theme-"] .footer-logo.default-logo{width:54px;height:54px;flex-basis:54px}
}
