/* ALPE MOOS WEBSITE V2 — Joomla 6.1.x / Helix Ultimate — optimiert 31.07.2026 */
:root{
  --am-green-950:#304a35;
  --am-green-900:#3b5841;
  --am-green-800:#48684a;
  --am-green-700:#628064;
  --am-green-100:#e8f0e5;
  --am-cream:#fbf8f1;
  --am-gold:#d3a044;
  --am-text:#2e332f;
  --am-muted:#667068;
  --am-white:#fff;
  --am-red:#aa4545;
  --am-orange:#dd5b2a;
  --am-shadow-sm:0 8px 28px rgba(48,74,53,.07);
  --am-shadow:0 18px 48px rgba(48,74,53,.12);
  --am-radius-sm:14px;
  --am-radius:20px;
  --am-space-xs:clamp(.75rem,1vw,1rem);
  --am-space-sm:clamp(1.25rem,1.8vw,1.75rem);
  --am-space-md:clamp(1.75rem,2.5vw,2.5rem);
  --am-space-lg:clamp(2.25rem,3.5vw,3.5rem);
  --am-space-xl:clamp(3.5rem,5vw,5rem);
}

.am-page,.am-page *,.am-status,.am-status *{box-sizing:border-box}
.am-page{color:var(--am-text);line-height:1.72;font-size:1rem;background:var(--am-cream)}
.am-page img{display:block;max-width:100%;height:auto}
.am-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}

.am-section{padding:var(--am-space-lg) 0}
.am-section--compact{padding:var(--am-space-md) 0}
.am-section--large{padding:var(--am-space-xl) 0}
.am-section--soft{background:var(--am-cream)}
.am-section--green{background:var(--am-green-900);color:#fff}

.am-eyebrow{margin:0 0 .7rem;color:var(--am-gold);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem}
.am-page h1,.am-page h2,.am-page h3{line-height:1.18;margin-top:0}
.am-page h1{font-size:clamp(2.3rem,6vw,4.8rem)}
.am-page h2{font-size:clamp(1.75rem,4vw,3rem);color:var(--am-green-950)}
.am-page h3{font-size:1.3rem;color:var(--am-green-800)}
.am-section--green h2,.am-section--green h3{color:#fff}
.am-lead{font-size:clamp(1.08rem,2vw,1.3rem);max-width:780px}
.am-center{text-align:center}
.am-center .am-lead{margin-inline:auto}

.am-hero{position:relative;min-height:62vh;display:grid;place-items:center;color:#fff;border-radius:var(--am-radius);overflow:hidden;box-shadow:var(--am-shadow);background:linear-gradient(90deg,rgba(48,74,53,.62) 0%,rgba(48,74,53,.38) 38%,rgba(48,74,53,.10) 70%,rgba(48,74,53,.02) 100%),var(--am-hero-image,linear-gradient(135deg,#48684a,#a8bda9));background-size:cover;background-position:center}
.am-hero__inner{width:min(1180px,calc(100% - 32px));padding:var(--am-space-xl) 0;position:relative;z-index:1}
.am-hero h1{max-width:940px;margin-bottom:1rem}
.am-hero .am-lead{max-width:760px}
.am-hero h1,.am-hero .am-lead{text-shadow:0 2px 14px rgba(24,48,31,.28)}

.am-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.5rem}
.am-center .am-actions{justify-content:center}
.am-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.8rem 1.25rem;border:2px solid var(--am-green-800);border-radius:999px;background:var(--am-green-800);color:#fff!important;text-decoration:none!important;font-weight:800;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.am-btn:hover,.am-btn:focus{background:var(--am-gold);border-color:var(--am-gold);color:var(--am-green-950)!important;transform:translateY(-2px);box-shadow:0 8px 20px rgba(48,74,53,.12)}
.am-btn--light{background:#fff;border-color:#fff;color:var(--am-green-950)!important}
.am-btn--outline{background:transparent;color:var(--am-green-800)!important}
.am-hero .am-btn--outline,.am-section--green .am-btn--outline,.am-contact-panel .am-btn--outline{border-color:#fff;color:#fff!important}
.am-hero .am-btn--outline:hover,.am-hero .am-btn--outline:focus,.am-section--green .am-btn--outline:hover,.am-section--green .am-btn--outline:focus,.am-contact-panel .am-btn--outline:hover,.am-contact-panel .am-btn--outline:focus{background:rgba(255,255,255,.16);border-color:#fff;color:#fff!important}

.am-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1.25rem}
.am-card{grid-column:span 4;background:#fffdfa;border:1px solid #e7e2d8;border-radius:var(--am-radius);padding:1.5rem;box-shadow:var(--am-shadow-sm)}
.am-card--6{grid-column:span 6}
.am-card--12{grid-column:span 12}
.am-card__icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin-bottom:1rem;background:var(--am-green-100);font-size:1.35rem}

.am-feature{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.75rem,4vw,4rem);align-items:center}
.am-media{min-height:350px;border-radius:var(--am-radius);background:linear-gradient(rgba(48,74,53,.025),rgba(48,74,53,.025)),var(--am-image,linear-gradient(135deg,#dfe9dc,#9db49f));background-size:cover;background-position:center;box-shadow:var(--am-shadow)}

.am-list{padding-left:1.2rem}
.am-list li{margin-bottom:.48rem}
.am-notice{padding:1.1rem 1.25rem;border-left:5px solid var(--am-gold);border-radius:10px;background:#fff8e8}

.am-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1.5rem}
.am-fact{padding:1.2rem;border-radius:16px;background:rgba(255,255,255,.1)}
.am-fact strong{display:block;font-size:1.18rem}

.am-split-links{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.am-split-link{min-height:285px;padding:2rem;border-radius:var(--am-radius);display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(rgba(48,74,53,.05),rgba(48,74,53,.70)),var(--am-image,linear-gradient(135deg,#5f7c61,#9fb3a1));background-size:cover;background-position:center;color:#fff!important;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease}
.am-split-link:hover,.am-split-link:focus{transform:translateY(-4px);box-shadow:var(--am-shadow)}
.am-split-link h2{color:#fff;margin-bottom:.45rem}

.am-faq details{background:#fffdfa;border:1px solid #e7e2d8;border-radius:14px;padding:1rem 1.2rem;margin-bottom:.8rem}
.am-faq summary{cursor:pointer;font-weight:800;color:var(--am-green-950)}
.am-faq details p{margin-bottom:0}

.am-contact-panel{padding:var(--am-space-lg);border-radius:var(--am-radius);background:linear-gradient(135deg,var(--am-green-900),var(--am-green-800));color:#fff;text-align:center}
.am-contact-panel h2{color:#fff}
.am-address{font-style:normal}

.am-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.am-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}

/* Live-Status */
.am-status{font-family:inherit}
.am-status__bar{padding:.8rem 0;color:#fff}
.am-status__inner{width:min(1180px,calc(100% - 32px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.am-status__main{display:flex;align-items:center;gap:.75rem}
.am-status__dot{width:13px;height:13px;flex:0 0 13px;border-radius:50%;background:currentColor;box-shadow:0 0 0 5px rgba(255,255,255,.18)}
.am-status__label{font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.am-status__text{font-weight:600}
.am-status__link{color:#fff!important;font-weight:800;text-decoration:underline}
.am-status--open .am-status__bar{background:var(--am-green-700)}
.am-status--closed .am-status__bar{background:var(--am-red)}
.am-status--pause .am-status__bar{background:var(--am-orange)}
.am-status [data-status-panel]{display:none}
.am-status.am-status--open [data-status-panel="open"],.am-status.am-status--closed [data-status-panel="closed"],.am-status.am-status--pause [data-status-panel="pause"]{display:block}
.am-status__detail{padding:.8rem 0;background:#f3f7f1;border-bottom:1px solid #dce6d9}
.am-status__detail-inner{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.am-status__detail p{margin:.15rem 0}

/* =========================================================
   HELIX ULTIMATE – MODERNER HEADER UND KONTAKTLEISTE
   ========================================================= */

body{background:var(--am-cream);color:var(--am-text)}

/* Topbar */
#sp-top-bar{
  min-height:42px;
  padding:0;
  border-bottom:1px solid rgba(255,255,255,.1);
  background:linear-gradient(90deg,var(--am-green-950),var(--am-green-900));
  color:#fff;
  font-size:.86rem;
}
#sp-top-bar>.container,#sp-header>.container{width:min(1420px,calc(100% - 32px));max-width:none}
#sp-top-bar .container-inner,#sp-top-bar .row{min-height:42px;align-items:center}
#sp-top-bar .sp-column,#sp-top-bar .sp-module,#sp-top-bar .sp-module-content,
#sp-top-bar .mod-custom,#sp-top-bar .custom{width:100%;margin:0;padding:0}
#sp-top-bar a{color:inherit;text-decoration:none}
#sp-top-bar i,#sp-top-bar .fa,#sp-top-bar [class*="fa-"]{color:#f0c56f}

/* Inhalt des Custom-Moduls */
.am-topbar{display:flex;align-items:center;justify-content:flex-end;gap:1rem;min-height:42px;padding:.3rem 0}
.am-topbar__contacts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.35rem}
.am-topbar__item{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  min-height:30px;
  padding:.28rem .58rem;
  border:1px solid transparent;
  border-radius:999px;
  color:rgba(255,255,255,.94)!important;
  text-decoration:none!important;
  line-height:1.1;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}
.am-topbar__item:hover,.am-topbar__item:focus-visible{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.1);
  color:#fff!important;
  transform:translateY(-1px);
}
.am-topbar__icon{
  display:grid;
  flex:0 0 22px;
  width:22px;
  height:22px;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  color:#f3ca76;
  font-size:.76rem;
}
.am-topbar__text{display:inline-flex;align-items:center;gap:.25rem;white-space:nowrap}
.am-topbar__text strong{color:#f6d58f;font-weight:800}
.am-topbar__text strong::after{content:":"}
.am-topbar__cta{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:32px;
  padding:.38rem .82rem;
  border:1px solid var(--am-gold);
  border-radius:999px;
  background:var(--am-gold);
  color:var(--am-green-950)!important;
  text-decoration:none!important;
  font-size:.84rem;
  font-weight:900;
  line-height:1;
  box-shadow:0 5px 16px rgba(0,0,0,.1);
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.am-topbar__cta:hover,.am-topbar__cta:focus-visible{
  border-color:#f1c76f;
  background:#f1c76f;
  color:var(--am-green-950)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.16);
  transform:translateY(-1px);
}

/* Hauptheader */
#sp-header{
  height:auto;
  border-bottom:3px solid rgba(72,104,74,.82);
  background:rgba(255,253,248,.97);
  box-shadow:0 7px 26px rgba(48,74,53,.09);
  backdrop-filter:blur(12px);
  transition:background-color .25s ease,box-shadow .25s ease;
}
#sp-header .container-inner,#sp-header .row{min-height:74px;align-items:center}
#sp-header .sp-column{height:auto}
#sp-header .logo{display:flex;align-items:baseline;min-height:74px}
#sp-header .logo a{
  color:var(--am-orange);
  text-decoration:none;
  font-size:clamp(1.75rem,2vw,2.15rem);
  font-weight:650;
  letter-spacing:-.025em;
  line-height:1.1;
}
#sp-header .logo-slogan{
  position:relative;
  margin-left:.55rem;
  padding-left:.8rem;
  color:var(--am-text);
  font-size:.96rem;
  font-weight:500;
  letter-spacing:.01em;
}
#sp-header .logo-slogan::before{
  position:absolute;
  top:50%;
  left:0;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--am-gold);
  content:"";
  transform:translateY(-50%);
}

/* Hauptmenü */
#sp-header .sp-megamenu-parent,#sp-header .sp-megamenu-parent>li{
  display:flex;
  align-items:center;
  height:74px;
}
#sp-header .sp-megamenu-parent>li{position:relative}
#sp-header .sp-megamenu-parent>li>a,#sp-header .sp-megamenu-parent>li>span{
  position:relative;
  display:flex;
  align-items:center;
  gap:.35rem;
  height:74px;
  padding:0 clamp(.65rem,1.15vw,1.05rem);
  color:var(--am-text);
  font-size:.96rem;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  transition:color .2s ease;
}
#sp-header .sp-megamenu-parent>li>a::after,#sp-header .sp-megamenu-parent>li>span::after{
  position:absolute;
  right:clamp(.65rem,1.15vw,1.05rem);
  bottom:15px;
  left:clamp(.65rem,1.15vw,1.05rem);
  height:2px;
  border-radius:999px;
  background:var(--am-orange);
  content:"";
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
}
#sp-header .sp-megamenu-parent>li:hover>a,
#sp-header .sp-megamenu-parent>li:hover>span,
#sp-header .sp-megamenu-parent>li.active>a,
#sp-header .sp-megamenu-parent>li.active>span,
#sp-header .sp-megamenu-parent>li:focus-within>a,
#sp-header .sp-megamenu-parent>li:focus-within>span{color:var(--am-orange)}
#sp-header .sp-megamenu-parent>li:hover>a::after,
#sp-header .sp-megamenu-parent>li:hover>span::after,
#sp-header .sp-megamenu-parent>li.active>a::after,
#sp-header .sp-megamenu-parent>li.active>span::after,
#sp-header .sp-megamenu-parent>li:focus-within>a::after,
#sp-header .sp-megamenu-parent>li:focus-within>span::after{transform:scaleX(1)}

/* Dropdown und Burger */
#sp-header .sp-dropdown .sp-dropdown-inner{
  padding:.55rem;
  border:1px solid rgba(72,104,74,.13);
  border-radius:14px;
  background:#fffdfa;
  box-shadow:0 18px 45px rgba(48,74,53,.16);
}
#sp-header .sp-dropdown li>a{
  padding:.68rem .8rem;
  border-radius:9px;
  color:var(--am-text);
  font-weight:600;
  transition:background-color .2s ease,color .2s ease;
}
#sp-header .sp-dropdown li:hover>a,#sp-header .sp-dropdown li.active>a{background:var(--am-green-100);color:var(--am-orange)}
#offcanvas-toggler{
  display:grid;
  width:44px;
  height:44px;
  margin-left:.5rem;
  place-items:center;
  border:1px solid rgba(72,104,74,.12);
  border-radius:12px;
  background:rgba(72,104,74,.04);
  color:var(--am-green-950);
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
#offcanvas-toggler:hover,#offcanvas-toggler:focus-visible{
  border-color:rgba(221,91,42,.25);
  background:rgba(221,91,42,.08);
  color:var(--am-orange);
  transform:translateY(-1px);
}
#offcanvas-toggler .burger-icon{width:25px}
#offcanvas-toggler .burger-icon>span{height:2px;margin:5px 0;border-radius:999px;background:currentColor}
#sp-header.header-sticky,#sp-header.sticky-header,.sticky-wrapper.is-sticky #sp-header{
  background:rgba(255,253,248,.95);
  box-shadow:0 12px 34px rgba(48,74,53,.14);
}

@media(max-width:1199px){
  #sp-header .sp-megamenu-parent>li>a,#sp-header .sp-megamenu-parent>li>span{padding-right:.62rem;padding-left:.62rem;font-size:.9rem}
  #sp-header .sp-megamenu-parent>li>a::after,#sp-header .sp-megamenu-parent>li>span::after{right:.62rem;left:.62rem}
  .am-topbar{gap:.55rem}
  .am-topbar__item{padding-right:.42rem;padding-left:.42rem}
}

@media(max-width:991px){
  #sp-top-bar>.container,#sp-header>.container{width:min(100% - 24px,1420px)}
  .am-topbar{justify-content:space-between}
  .am-topbar__contacts{justify-content:flex-start}
  .am-topbar__optional{display:none}
  #sp-header .container-inner,#sp-header .row,#sp-header .logo{min-height:68px}
  #sp-header .logo a{font-size:1.75rem}
  #sp-header .logo-slogan{font-size:.86rem}
}

@media(max-width:650px){
  #sp-top-bar,#sp-top-bar .container-inner,#sp-top-bar .row,.am-topbar{min-height:40px}
  .am-topbar{gap:.4rem}
  .am-topbar__item{padding:.25rem .35rem}
  .am-topbar__text{display:block}
  .am-topbar__text strong{display:none}
  .am-topbar__text span{font-size:.78rem}
  .am-topbar__cta{min-height:30px;padding:.34rem .65rem;font-size:.78rem}
  #sp-header .logo-slogan{display:none}
}

@media(max-width:420px){
  .am-topbar__item{display:none}
  .am-topbar{justify-content:flex-end}
  .am-topbar__cta{width:100%}
}

@media(prefers-reduced-motion:reduce){
  .am-topbar__item,.am-topbar__cta,#sp-header,
  #sp-header .sp-megamenu-parent>li>a::after,
  #sp-header .sp-megamenu-parent>li>span::after,
  #offcanvas-toggler{transition:none}
  .am-topbar__item:hover,.am-topbar__item:focus-visible,
  .am-topbar__cta:hover,.am-topbar__cta:focus-visible,
  #offcanvas-toggler:hover,#offcanvas-toggler:focus-visible{transform:none}
}

/* Startseite und Joomla-Rahmen aufräumen */
body.view-featured #sp-main-body,body.itemid-101 #sp-main-body{padding-top:0;padding-bottom:0}
body.view-featured #sp-main-body .page-header,body.view-featured #sp-main-body .article-header,body.itemid-101 #sp-main-body .page-header,body.itemid-101 #sp-main-body .article-header{display:none}
body.itemid-101 #sp-main-body>.container,body.itemid-101 #sp-main-body>.container>.container-inner{max-width:none;width:100%;padding-left:0;padding-right:0}
body.itemid-101 .article-details,body.itemid-101 .article-details .articleBody,body.itemid-101 .article-details [itemprop="articleBody"]{margin:0;padding:0}

/* Footer */
#sp-bottom,#sp-footer{background:var(--am-green-950);color:rgba(255,255,255,.9)}
#sp-bottom a,#sp-footer a{color:#fff}

@media(max-width:900px){
  .am-card,.am-card--6{grid-column:span 12}
  .am-feature{grid-template-columns:1fr}
  .am-facts{grid-template-columns:repeat(2,1fr)}
  .am-split-links,.am-gallery{grid-template-columns:1fr}
  .am-media{min-height:320px}
}

@media(max-width:650px){
  .am-container,.am-hero__inner,.am-status__inner,.am-status__detail-inner{width:min(100% - 24px,1180px)}
  .am-section{padding:var(--am-space-md) 0}
  .am-section--compact{padding:var(--am-space-sm) 0}
  .am-section--large{padding:var(--am-space-lg) 0}
  .am-hero{min-height:56vh;border-radius:var(--am-radius-sm)}
  .am-hero__inner{padding:var(--am-space-lg) 0}
  .am-actions{flex-direction:column;margin-top:1.25rem}
  .am-btn{width:100%}
  .am-facts{grid-template-columns:1fr}
  .am-media{min-height:270px}
  .am-status__inner{align-items:flex-start;flex-direction:column}
  .am-status__main{align-items:flex-start;flex-wrap:wrap}
  .am-status__link{margin-left:1.75rem}
  .am-contact-panel{padding:var(--am-space-md)}
}

@media(prefers-reduced-motion:reduce){
  .am-btn,.am-split-link{transition:none}
  .am-btn:hover,.am-btn:focus,.am-split-link:hover,.am-split-link:focus{transform:none}
}

/* =========================================================
   IMPRESSUM UND DATENSCHUTZ – GEMEINSAMER KOMPAKTER BLOCK
   ========================================================= */

.am-legal-page{--am-legal-border:#e7e2d8;--am-legal-soft:#f2f6ef;--am-legal-muted:#5c675e;background:var(--am-cream)}
.am-legal-page a{overflow-wrap:anywhere}
.am-legal-page :target{scroll-margin-top:110px}

/* Hero */
.am-legal-hero{position:relative;overflow:hidden;padding:var(--am-space-xl) 0 var(--am-space-lg);background:linear-gradient(135deg,var(--am-green-950),var(--am-green-800));color:#fff}
.am-legal-hero h1{margin:0 0 .75rem;color:#fff}
.am-legal-hero .am-eyebrow{color:#f0c56f}
.am-legal-hero .am-lead{margin-bottom:0;color:rgba(255,255,255,.9)}
.am-legal-photo-hero{min-height:430px;place-items:end center;border-radius:0 0 var(--am-radius) var(--am-radius)}
.am-legal-photo-hero .am-hero__inner{padding:var(--am-space-xl) 0 var(--am-space-lg)}
.am-legal-badges{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
.am-legal-badges span{padding:.45rem .8rem;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.12);font-size:.86rem;font-weight:800}

/* Karten und Übersicht */
.am-legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.am-legal-card,.am-legal-overview{min-width:0;padding:clamp(1.35rem,2.5vw,2rem);border:1px solid var(--am-legal-border);border-radius:var(--am-radius);background:#fffdfa;box-shadow:var(--am-shadow-sm)}
.am-legal-card h2,.am-legal-overview h2{margin:0 0 1rem;font-size:clamp(1.35rem,2.5vw,1.8rem)}
.am-legal-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.am-legal-checks{display:grid;gap:.7rem;margin:0;padding:0;list-style:none}
.am-legal-checks li{position:relative;padding:.75rem .9rem .75rem 2.7rem;border-radius:12px;background:var(--am-legal-soft);font-weight:700}
.am-legal-checks li::before{content:"✓";position:absolute;left:.9rem;top:50%;width:1.35rem;height:1.35rem;display:grid;place-items:center;transform:translateY(-50%);border-radius:50%;background:var(--am-green-800);color:#fff;font-size:.72rem}

/* Inhaltsnavigation */
.am-legal-nav{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}
.am-legal-nav a{padding:.55rem .9rem;border:1px solid var(--am-legal-border);border-radius:999px;background:#fff;color:var(--am-green-950);font-size:.9rem;font-weight:800;text-decoration:none}
.am-legal-nav a:hover,.am-legal-nav a:focus{border-color:var(--am-green-700);background:var(--am-legal-soft);color:var(--am-orange)}

/* Verantwortliche */
.am-legal-responsible{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center;padding:clamp(1.5rem,4vw,2.8rem);border-radius:var(--am-radius);background:linear-gradient(135deg,var(--am-green-950),var(--am-green-800));color:#fff}
.am-legal-responsible h2{margin:0 0 .8rem;color:#fff}
.am-legal-responsible .am-address{color:rgba(255,255,255,.84)}
.am-legal-contact-links{display:grid;gap:.7rem}
.am-legal-contact-links a{display:grid;padding:.85rem 1rem;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.09);color:#fff;text-decoration:none}
.am-legal-contact-links small{color:rgba(255,255,255,.68);font-weight:800;text-transform:uppercase;letter-spacing:.08em}

/* Impressum */
.am-legal-data{display:grid;grid-template-columns:minmax(180px,38%) minmax(0,1fr);column-gap:1rem;margin:0}
.am-legal-data dt,.am-legal-data dd{margin:0;padding:.65rem 0;border-bottom:1px solid #ece7dd}
.am-legal-data dt{color:var(--am-green-950);font-weight:800}
.am-legal-data dt::after{content:":"}
.am-legal-data dd{min-width:0;overflow-wrap:anywhere}
.am-legal-data--compact{max-width:760px;margin-bottom:1.5rem}
.am-legal-text{max-width:960px}
.am-legal-text h2{margin:2rem 0 .75rem;font-size:clamp(1.35rem,2.5vw,1.8rem)}
.am-legal-text h2:first-child{margin-top:0}

/* Datenschutz-Akkordeon */
.am-legal-heading{max-width:800px;margin-bottom:1.5rem}
.am-legal-faq details{padding:0}
.am-legal-faq summary{position:relative;padding:1rem 3.2rem 1rem 1.2rem;list-style:none}
.am-legal-faq summary::-webkit-details-marker{display:none}
.am-legal-faq summary::after{content:"+";position:absolute;right:1rem;top:50%;width:1.7rem;height:1.7rem;display:grid;place-items:center;transform:translateY(-50%);border-radius:50%;background:var(--am-legal-soft);color:var(--am-green-800);font-size:1.15rem}
.am-legal-faq details[open] summary::after{content:"−"}
.am-legal-detail{padding:1rem 1.2rem 1.2rem;border-top:1px solid var(--am-legal-border);color:var(--am-legal-muted)}
.am-legal-detail>:first-child{margin-top:0}
.am-legal-detail>:last-child{margin-bottom:0}
.am-legal-detail code{padding:.1rem .35rem;border-radius:5px;background:var(--am-legal-soft);color:var(--am-green-950)}

/* Rechte und Aufsichtsbehörde */
.am-legal-rights{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
  margin:1.4rem 0;
}
.am-legal-rights span{
  min-width:0;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:.8rem 1rem;
  border-radius:12px;
  background:var(--am-legal-soft);
  text-align:center;
  font-weight:800;
  line-height:1.25;
  overflow-wrap:anywhere;
  hyphens:auto;
}
.am-legal-rights span:last-child:nth-child(odd){
  grid-column:1/-1;
}
.am-legal-authority{padding:1.2rem;border-radius:14px;background:var(--am-legal-soft)}
.am-legal-note{padding:1rem 1.1rem;border-left:4px solid var(--am-gold);border-radius:0 10px 10px 0;background:var(--am-legal-soft)}
.am-legal-update{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem;color:var(--am-muted);font-size:.9rem}

@media(max-width:900px){
  .am-legal-grid,.am-legal-overview,.am-legal-responsible{grid-template-columns:1fr}
}

@media(max-width:650px){
  .am-legal-photo-hero{min-height:380px;border-radius:0 0 var(--am-radius-sm) var(--am-radius-sm)}
  .am-legal-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.3rem}
  .am-legal-nav a{flex:0 0 auto}
  .am-legal-data{grid-template-columns:1fr}
  .am-legal-data dt{padding-bottom:.1rem;border-bottom:0}
  .am-legal-data dd{padding-top:0}
  .am-legal-rights{grid-template-columns:1fr}
  .am-legal-update{flex-direction:column;gap:.25rem}
}

/* =========================================================
   KONTAKT & ANREISE – KOMPAKTE ERGÄNZUNGEN

   Die Reihenfolge von „Weitere Informationen“ und Formular
   wird im Joomla-Template-Override geregelt, nicht per CSS.
   ========================================================= */

/* Joomla- und Helix-Rahmen */
body.com-contact.view-contact #sp-main-body{padding:0}
body.com-contact.view-contact #sp-main-body>.container,
body.com-contact.view-contact #sp-main-body>.container>.container-inner,
body.com-contact.view-contact #sp-component,
body.com-contact.view-contact #sp-component>.sp-column{width:100%;max-width:none;padding-right:0;padding-left:0}

.com-contact.contact{width:100%;margin:0;padding:0;background:var(--am-cream)}
.com-contact.contact>.page-header,
.com-contact.contact>.row,
.com-contact.contact>h2{display:none}

.com-contact__miscinfo,
.contact-miscinfo,
.contact-misc{width:100%;margin:0;padding:0}
.com-contact__miscinfo>.d-flex,
.contact-miscinfo>.d-flex{display:block}
.com-contact__miscinfo>.d-flex>.me-2,
.contact-miscinfo>.d-flex>.me-2{display:none}

/* Kontaktseiten-Bausteine */
.am-contact-page{width:100%}
.am-contact-hero{background-position:center}
.am-contact-grid{margin-top:var(--am-space-md)}
.am-contact-card{display:flex;flex-direction:column}
.am-contact-card p{flex:1 1 auto}
.am-contact-card .am-actions{margin-top:auto;padding-top:1rem}
.am-contact-address{margin:1rem 0;font-size:1.08rem;line-height:1.7}
.am-address--light{color:rgba(255,255,255,.92)}
.am-contact-toll-note{margin-top:var(--am-space-sm)}
.am-contact-post{text-align:center}
.am-contact-post .am-address{margin:1rem 0}
.am-contact-form-intro{padding-bottom:var(--am-space-sm);background:var(--am-cream)}
.am-contact-privacy-note{max-width:900px;margin:var(--am-space-md) auto 0}
.am-contact-privacy-note a{color:var(--am-green-950);font-weight:800;text-decoration:underline;text-underline-offset:3px}
#kontaktformular{scroll-margin-top:120px}

/* Joomla-Kontaktformular */
.com-contact__form.contact-form{box-sizing:border-box;width:min(860px,calc(100% - 32px));margin:0 auto var(--am-space-lg);padding:clamp(1.35rem,4vw,2.6rem);border:1px solid #e7e2d8;border-radius:var(--am-radius);background:#fffdfa;box-shadow:var(--am-shadow)}
.com-contact__form.contact-form *{box-sizing:border-box}
#contact-form{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
#contact-form fieldset{min-width:0;margin:0;padding:0;border:0}
#contact-form fieldset+fieldset{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e7e2d8}
#contact-form>fieldset:first-child>legend{display:none}
#contact-form .control-group{margin-bottom:1.2rem}
#contact-form label{display:block;margin:0 0 .4rem;color:var(--am-green-950);font-weight:800;line-height:1.45}
#contact-form .star{color:var(--am-red)}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea,
#contact-form select{display:block;width:100%;min-height:50px;margin:0;padding:.8rem .9rem;border:1px solid #cfd7ce;border-radius:12px;outline:0;background:#fff;color:var(--am-text);font:inherit;line-height:1.45;transition:border-color .2s ease,box-shadow .2s ease}
#contact-form textarea{min-height:190px;resize:vertical}
#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus{border-color:var(--am-green-800);box-shadow:0 0 0 4px rgba(72,104,74,.13)}
#contact-form input::placeholder,
#contact-form textarea::placeholder{color:#7b847d;opacity:1}

#contact-form .field-spacer{margin:0 0 1rem;padding:.65rem .8rem;border-radius:10px;background:var(--am-green-100);color:var(--am-muted);font-size:.92rem}
#contact-form .field-spacer label{margin:0;color:var(--am-muted);font-weight:650}
#contact-form .control-group:has(#jform_contact_email_copy){display:none}

#contact-form .form-check{display:flex;gap:.7rem;align-items:flex-start;margin-top:.5rem}
#contact-form input[type="checkbox"]{flex:0 0 auto;width:20px;height:20px;margin:.15rem .55rem 0 0;accent-color:var(--am-green-800)}
#contact-form .form-check label,
#contact-form .checkboxes label{display:inline;font-size:.95rem;font-weight:600;line-height:1.6}
#contact-form fieldset#jform_consentbox{margin-top:.7rem;padding:1rem;border:1px solid #e7e2d8;border-radius:12px;background:#f6f3e9}
#contact-form a[data-bs-toggle="modal"]{color:var(--am-green-950);font-weight:800;text-decoration:underline;text-underline-offset:3px}

#contact-form altcha-widget{display:block;width:100%;margin-top:.35rem}
#contact-form altcha-widget .altcha{width:100%;max-width:none;border:1px solid #d8ded7;border-radius:12px;background:#f7f9f6}
#contact-form altcha-widget .altcha-main{min-height:54px;padding:.8rem 1rem}

#contact-form button[type="submit"]{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:.8rem 1.4rem;border:2px solid var(--am-green-800);border-radius:999px;background:var(--am-green-800);color:#fff;font:inherit;font-weight:800;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
#contact-form button[type="submit"]:hover,
#contact-form button[type="submit"]:focus-visible{border-color:var(--am-gold);background:var(--am-gold);color:var(--am-green-950);box-shadow:0 8px 20px rgba(48,74,53,.12);transform:translateY(-2px)}
#contact-form .invalid,
#contact-form .form-control-danger{border-color:var(--am-red)}
#contact-form .invalid-feedback,
#contact-form .form-error-message{display:block;margin-top:.35rem;color:var(--am-red);font-size:.9rem;font-weight:700}

/* Anreisegrafik und Bootstrap-Popup */
.am-anreise-preview{position:relative;display:block;align-self:center;width:100%;overflow:hidden;border:1px solid #e7e2d8;border-radius:var(--am-radius);background:#fffdfa;color:#fff;text-decoration:none!important;box-shadow:var(--am-shadow);cursor:zoom-in}
.am-anreise-preview__image{display:block;width:100%;height:auto;margin:0;object-fit:contain;transition:transform .25s ease,filter .25s ease}
.am-anreise-preview:hover .am-anreise-preview__image,
.am-anreise-preview:focus-visible .am-anreise-preview__image{transform:scale(1.015);filter:brightness(.92)}
.am-anreise-preview:focus-visible{outline:4px solid rgba(211,160,68,.55);outline-offset:4px}
.am-anreise-preview__label{position:absolute;right:1rem;bottom:1rem;display:inline-flex;gap:.5rem;align-items:center;min-height:42px;padding:.55rem .9rem;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(48,74,53,.94);color:#fff;font-size:.9rem;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.2);pointer-events:none}

.am-anreise-modal{z-index:1070}
.am-anreise-modal .modal-dialog{width:calc(100% - 24px);max-width:1080px;margin-right:auto;margin-left:auto}
.am-anreise-modal .modal-content{max-height:calc(100vh - 24px);overflow:hidden;border:0;border-radius:var(--am-radius);background:#fffdfa;box-shadow:0 28px 90px rgba(25,42,29,.35)}
.am-anreise-modal .modal-header{padding:.9rem 1.2rem;border-bottom:0;background:var(--am-green-950)}
.am-anreise-modal .modal-title{margin:0;color:#fff;font-size:clamp(1.15rem,2.5vw,1.5rem)}
.am-anreise-modal .btn-close{filter:invert(1) grayscale(1) brightness(2);opacity:.95}
.am-anreise-modal .modal-body{display:flex;align-items:center;justify-content:center;min-height:0;padding:0;overflow:auto;background:#e9eee7}
.am-anreise-modal__image{display:block;width:min(1024px,100%);max-width:1024px;height:auto;max-height:calc(100vh - 145px);margin:auto;object-fit:contain}
.am-anreise-modal .modal-footer{padding:.8rem 1.2rem;border-top:1px solid #e7e2d8;background:#fffdfa}

@media(max-width:650px){
  .com-contact__form.contact-form{width:calc(100% - 24px);margin-bottom:var(--am-space-md);padding:1.15rem;border-radius:var(--am-radius-sm)}
  .am-contact-hero{background-position:62% center}
  .am-contact-card .am-btn,#contact-form button[type="submit"]{width:100%}
  .am-anreise-preview__label{right:.65rem;bottom:.65rem;min-height:38px;padding:.45rem .7rem;font-size:.82rem}
  .am-anreise-modal .modal-dialog{width:100%;max-width:none;margin:0}
  .am-anreise-modal .modal-content{height:100%;max-height:none;border-radius:0}
  .am-anreise-modal .modal-body{padding:.5rem}
  .am-anreise-modal__image{width:100%;max-height:calc(100vh - 135px)}
  .am-anreise-modal .modal-footer{padding:.7rem}
  .am-anreise-modal .modal-footer .am-btn{width:100%}
}

@media(prefers-reduced-motion:reduce){
  .am-anreise-preview__image,#contact-form button[type="submit"]{transition:none}
  .am-anreise-preview:hover .am-anreise-preview__image,
  .am-anreise-preview:focus-visible .am-anreise-preview__image,
  #contact-form button[type="submit"]:hover,
  #contact-form button[type="submit"]:focus-visible{transform:none}
}
/* =========================================================
   ALPE MOOS – HEADER-KORREKTUR
   Diesen Block ganz am Ende der bestehenden custom.css einfügen.
   ========================================================= */

/* Topbar und Header immer oberhalb des Seiteninhalts halten */
#sp-top-bar{
  position:relative;
  z-index:1002;
}

#sp-header{
  position:relative;
  z-index:1000;
  overflow:visible;
}

/* Topbar: Inhalt in einer Reihe halten */
#sp-top-bar .container-inner,
#sp-top-bar .row,
.am-topbar,
.am-topbar__contacts{
  flex-wrap:nowrap;
}

.am-topbar{
  width:100%;
  justify-content:flex-end;
}

.am-topbar__contacts{
  min-width:0;
}

/* Headerzeile darf nicht umbrechen */
#sp-header .container-inner > .row,
#sp-header > .container > .container-inner > .row{
  flex-wrap:nowrap;
  align-items:center;
}

/* Logo und Menü sauber aufteilen */
#sp-logo{
  flex:0 0 25%;
  width:25%;
  max-width:25%;
}

#sp-menu{
  display:flex;
  flex:0 0 75%;
  width:75%;
  max-width:75%;
  align-items:center;
  justify-content:flex-end;
  margin-left:auto;
}

#sp-header .logo{
  min-width:0;
  min-height:72px;
  align-items:center;
}

/* Der Slogan neben dem Logo beansprucht zu viel Platz */
#sp-header .logo-slogan{
  display:none;
}

/* Desktop-Menü ausdrücklich horizontal */
@media (min-width:1200px){

  #sp-header .sp-megamenu-parent{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center;
    justify-content:flex-end;
    height:72px;
    margin:0;
    padding:0;
    white-space:nowrap;
  }

  #sp-header .sp-megamenu-parent > li{
    display:flex !important;
    flex:0 0 auto;
    align-items:center;
    height:72px;
  }

  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span{
    display:flex;
    align-items:center;
    height:72px;
    padding-right:.68rem;
    padding-left:.68rem;
    font-size:.92rem;
    white-space:nowrap;
  }

  /* Hamburger auf Desktop nicht erzwingen */
  #offcanvas-toggler{
    display:none !important;
  }
}

/* Tablet: rechtzeitig auf ein sauberes Hamburger-Menü wechseln */
@media (max-width:1199.98px){

  #sp-logo{
    flex:1 1 auto;
    width:auto;
    max-width:calc(100% - 64px);
  }

  #sp-menu{
    flex:0 0 auto;
    width:auto;
    max-width:none;
    margin-left:auto;
  }

  #sp-header .sp-megamenu-parent{
    display:none !important;
  }

  #offcanvas-toggler{
    display:flex !important;
    align-items:center;
    justify-content:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    margin:0;
    padding:0;
  }
}

/* Smartphone: Topbar kompakt halten */
@media (max-width:767.98px){

  #sp-top-bar > .container,
  #sp-header > .container{
    width:calc(100% - 24px);
  }

  .am-topbar{
    gap:.45rem;
  }

  .am-topbar__contacts{
    flex:1 1 auto;
    overflow:hidden;
  }

  .am-topbar__optional{
    display:none !important;
  }

  .am-topbar__item{
    flex:0 1 auto;
    min-width:0;
  }

  .am-topbar__text{
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .am-topbar__cta{
    flex:0 0 auto;
  }
}

/* Hero und Hauptinhalt bleiben sicher unterhalb des Headers */
#sp-main-body{
  position:relative;
  z-index:1;
}