/* AgraGen 6.2.0-r8 · Korrekturlayer
   Behebt Layoutkonflikte aus dem Bereichs-Finish und verhindert statische Preisoptik. */
html{scroll-padding-top:calc(var(--topbar,76px) + 18px)}
html,body{max-width:100%;overflow-x:clip}
body.future-community-theme ::selection{background:#bfe9d8;color:#082b20}
body.future-community-theme .topbar{isolation:isolate}
body.future-community-theme .topbar-inner{width:100%}
body.future-community-theme .portal-main{overflow:visible;min-width:0}
body.future-community-theme .portal-main>*,body.future-community-theme .mc-grid>*,body.future-community-theme .ae-ap-shell>*{min-width:0}
body.future-community-theme .portal-main>section:first-child,
body.future-community-theme .public-main>section:first-child{scroll-margin-top:calc(var(--topbar,76px) + 18px)}

/* Maschinenzentrum: KPIs und Filter bleiben helle Arbeitsflächen; Hero wird nicht von der Navigation verdeckt. */
body.future-community-theme .mc-hero{
  position:relative!important;
  margin-top:0!important;
  min-height:210px;
  align-items:center;
}
body.future-community-theme .mc-hero>div{max-width:860px}
body.future-community-theme .mc-hero h1{font-size:clamp(2rem,4vw,3.45rem)!important;line-height:1.02!important;margin:.35rem 0 .8rem!important}
body.future-community-theme .mc-hero p{font-size:1rem!important;line-height:1.7!important;max-width:760px!important;margin:0!important}
body.future-community-theme .mc-kpi{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:inherit!important;
  backdrop-filter:none!important;
  gap:14px!important;
  margin:16px 0!important;
}
body.future-community-theme .mc-kpi article{
  background:linear-gradient(180deg,#fff,#f7fbf9)!important;
  border:1px solid rgba(16,101,78,.13)!important;
  border-radius:20px!important;
  padding:17px 18px!important;
  box-shadow:0 10px 28px rgba(7,57,44,.07)!important;
}
body.future-community-theme .mc-kpi b{font-size:2rem!important;line-height:1!important;color:#0b6a50!important;background:none!important}
body.future-community-theme .mc-kpi span{display:block;margin-top:7px;color:#4e675e!important;font-weight:750!important;background:none!important}
body.future-community-theme .mc-filter.panel{margin-top:0!important;background:rgba(255,255,255,.94)!important}
body.future-community-theme .mc-filter input,
body.future-community-theme .mc-filter select{width:100%;min-height:48px!important}
body.future-community-theme .mc-grid{align-items:start}
body.future-community-theme .mc-card>div{padding:1.15rem!important}
body.future-community-theme .mc-card h2{font-size:1.2rem;line-height:1.2}
body.future-community-theme .mc-card p{line-height:1.55}
body.future-community-theme .mc-card dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.future-community-theme .mc-card dt,
body.future-community-theme .mc-card dd{overflow-wrap:anywhere}

/* AckerPilot: Live-Preisstand statt zu kleiner, statischer Preiskarten. */
body.future-community-theme .ae-home .ae-ap-shell{
  grid-template-columns:minmax(310px,.82fr) minmax(0,1.55fr)!important;
  gap:2.2rem!important;
  align-items:start!important;
}
body.future-community-theme .ae-home .ae-ap-intro p{font-size:.98rem!important;line-height:1.68!important;color:rgba(255,255,255,.78)!important}
body.future-community-theme .ae-home .ae-ap-benefits{gap:.55rem!important}
body.future-community-theme .ae-home .ae-price-live-head{
  grid-column:2;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:13px 15px;margin-bottom:12px;border-radius:16px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);
  color:#fff;backdrop-filter:blur(12px)
}
body.future-community-theme .ae-home .ae-price-live-head span{display:flex;flex-direction:column;gap:2px}
body.future-community-theme .ae-home .ae-price-live-head b{font-size:.9rem}
body.future-community-theme .ae-home .ae-price-live-head small{font-size:.78rem;color:rgba(255,255,255,.72)}
body.future-community-theme .ae-home .ae-price-live-head em{font-style:normal;font-size:.76rem;font-weight:800;color:#ffe5a4;text-align:right}
body.future-community-theme .ae-home .ae-price-cards-live{
  grid-column:2;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  max-width:none!important;
}
body.future-community-theme .ae-home .ae-price-cards-live article{
  min-height:0!important;
  padding:19px!important;
  border-radius:20px!important;
  background:linear-gradient(160deg,rgba(255,255,255,.13),rgba(255,255,255,.07))!important;
  border:1px solid rgba(255,255,255,.20)!important;
  color:#fff!important;
  display:flex;flex-direction:column;
  box-shadow:0 12px 30px rgba(0,0,0,.13)!important;
}
body.future-community-theme .ae-home .ae-price-cards-live article:hover{transform:translateY(-2px);border-color:rgba(255,226,154,.42)!important}
body.future-community-theme .ae-home .ae-price-cards-live small{font-size:.72rem!important;line-height:1.3!important;color:#c7e4de!important;font-weight:850!important;letter-spacing:.09em!important}
body.future-community-theme .ae-home .ae-price-cards-live h3{font-size:1.08rem!important;line-height:1.25!important;margin:.45rem 0 1rem!important;color:#fff!important}
body.future-community-theme .ae-home .ae-price-cards-live strong{font-size:1.5rem!important;line-height:1.1!important;color:#fff!important}
body.future-community-theme .ae-home .ae-price-cards-live strong i{font-size:.8rem!important;color:#d9ece6!important}
body.future-community-theme .ae-home .ae-price-cards-live del{font-size:.82rem!important;color:#efc7c3!important;margin-top:.45rem!important}
body.future-community-theme .ae-home .ae-price-cards-live span{font-size:.82rem!important;line-height:1.55!important;color:rgba(255,255,255,.78)!important;margin-top:1rem!important}
body.future-community-theme .ae-home .ae-price-cards-live ul{margin:13px 0 0;padding:0;list-style:none;display:grid;gap:5px}
body.future-community-theme .ae-home .ae-price-cards-live li{font-size:.8rem;color:rgba(255,255,255,.80);padding-left:18px;position:relative}
body.future-community-theme .ae-home .ae-price-cards-live li:before{content:"✓";position:absolute;left:0;color:#f2cc72;font-weight:900}
body.future-community-theme .ae-home .ae-price-sync-pending{
  grid-column:2;
  min-height:220px;display:flex;align-items:flex-start;gap:18px;padding:24px;border-radius:22px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);color:#fff
}
body.future-community-theme .ae-home .ae-price-sync-pending>span{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;background:#f1c968;color:#082d22;font-size:1.4rem;font-weight:900}
body.future-community-theme .ae-home .ae-price-sync-pending strong{font-size:1.05rem}
body.future-community-theme .ae-home .ae-price-sync-pending p{color:rgba(255,255,255,.75)!important;line-height:1.65;margin:.5rem 0 0}

/* Portal AckerPilot: sieben Tarife dürfen nicht in zu schmale Spalten gepresst werden. */
body.future-community-theme .bridge-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
body.future-community-theme .bridge-plan-card{min-width:0!important}
body.future-community-theme .bridge-plan-card .bridge-price{align-items:baseline!important;flex-wrap:wrap}
body.future-community-theme .bridge-plan-card .bridge-price strong{font-size:1.65rem!important}
body.future-community-theme .bridge-plan-card .bridge-recommendation{position:static!important;width:max-content;max-width:100%;margin-bottom:2px}

/* Mittlere Viewports: Navigation und Inhalt dürfen nicht horizontal wegrutschen. */
@media(max-width:1280px){
  body.future-community-theme .public-nav{gap:8px}
  body.future-community-theme .public-nav>a:not(.btn){padding-left:8px;padding-right:8px;font-size:.9rem}
  body.future-community-theme .brand-copy small{display:none}
  body.future-community-theme .ae-home .ae-ap-shell{grid-template-columns:1fr!important}
  body.future-community-theme .ae-home .ae-price-live-head,
  body.future-community-theme .ae-home .ae-price-cards-live,
  body.future-community-theme .ae-home .ae-price-sync-pending{grid-column:auto}
  body.future-community-theme .bridge-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
  body.future-community-theme .mc-hero{min-height:0!important}
  body.future-community-theme .mc-hero .btn{margin-top:18px}
  body.future-community-theme .mc-kpi{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.future-community-theme .ae-home .ae-price-cards-live{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body.future-community-theme .mc-kpi,
  body.future-community-theme .ae-home .ae-price-cards-live,
  body.future-community-theme .bridge-plan-grid{grid-template-columns:1fr!important}
  body.future-community-theme .ae-home .ae-price-live-head{align-items:flex-start;flex-direction:column}
  body.future-community-theme .ae-home .ae-price-live-head em{text-align:left}
  body.future-community-theme .ae-home .ae-ap-shell{padding:1.25rem!important}
}
@media(prefers-reduced-motion:reduce){
  body.future-community-theme .ae-home .ae-price-cards-live article{transition:none!important;transform:none!important}
}
