/* ANBITA 03/04 – globales Redesign. Messenger bleibt bewusst im bisherigen Design. */
:root{
  --az-bg:#06111d;--az-panel:#0b1c2d;--az-panel-2:#10273d;--az-line:#1e405f;
  --az-text:#eef7ff;--az-muted:#9fb7cb;--az-blue:#1586e5;--az-blue-2:#37b5ff;
  --az-shadow:0 18px 55px rgba(0,0,0,.38);--az-radius:18px;
}
html,body{background:#04101b!important;color:var(--az-text)!important}
body{min-height:100vh;background:
  radial-gradient(circle at 20% -10%,rgba(28,130,216,.28),transparent 34%),
  radial-gradient(circle at 92% 4%,rgba(126,56,197,.18),transparent 30%),
  linear-gradient(180deg,#071521 0,#04101b 58%,#06111d 100%)!important}
.page-background{opacity:.04!important;background-image:none!important}
.site-shell{width:min(1480px,calc(100% - 28px))!important;max-width:none!important;margin:18px auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.site-header{position:relative!important;margin:0 0 14px!important;padding:10px 18px 14px!important;border:1px solid rgba(113,173,218,.18)!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(8,26,42,.96),rgba(12,31,51,.93))!important;box-shadow:var(--az-shadow)!important;overflow:hidden}
.site-header:before{content:"";position:absolute;inset:-80px auto auto -70px;width:280px;height:280px;border-radius:50%;background:rgba(24,134,227,.12);filter:blur(8px);pointer-events:none}
.utility-bar{display:flex!important;align-items:center!important;gap:8px!important;position:absolute!important;left:18px!important;top:16px!important;z-index:5!important;background:transparent!important;border:0!important;padding:0!important;width:auto!important}
.round-action{width:38px!important;height:38px!important;border:1px solid rgba(180,215,242,.22)!important;background:#102237!important;color:#fff!important;box-shadow:none!important}
.welcome-row{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:18px!important;min-height:112px!important;padding:0 10px!important;background:transparent!important;border:0!important}
.welcome-media{display:contents!important}
.welcome-logo-link{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:240px!important}
.welcome-logo{width:320px!important;max-width:32vw!important;height:90px!important;object-fit:contain!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))!important}
.welcome-ad-wrap{grid-column:3!important;justify-self:end!important;display:flex!important;align-items:center!important}
.welcome-ad-desktop{width:520px!important;height:100px!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(0,0,0,.28)!important}
.welcome-ad-mobile{display:none!important}
.weather-country-overview:not(.weather-mobile-top){grid-column:1!important;justify-self:start!important;margin-top:48px!important;background:rgba(8,24,39,.72)!important;border:1px solid rgba(139,196,237,.18)!important;border-radius:14px!important;padding:8px 10px!important;color:#fff!important}
.weather-mobile-top{display:none!important}
.anbita-app-account-nav{position:absolute!important;right:18px!important;top:16px!important;background:transparent!important}
.layout-grid{display:flex!important;flex-direction:column!important;gap:14px!important;grid-template-columns:none!important}
.side-menu{order:0!important;width:100%!important;max-width:none!important;position:relative!important;top:auto!important;align-self:stretch!important;padding:8px!important;border:1px solid rgba(119,184,232,.16)!important;border-radius:18px!important;background:linear-gradient(180deg,#0a1c2c,#081827)!important;box-shadow:0 12px 34px rgba(0,0,0,.26)!important;overflow:visible!important}
.fixed-menu,.manual-menu{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important;width:100%!important}
.fixed-menu{padding-bottom:7px!important;margin-bottom:7px!important;border-bottom:1px solid rgba(152,196,229,.12)!important}
.menu-button,.manual-menu>.menu-button,.manual-menu>.submenu-box>.menu-button{min-width:0!important;width:auto!important;min-height:42px!important;padding:9px 14px!important;margin:0!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:#eaf5ff!important;font-weight:750!important;font-size:15px!important;text-decoration:none!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.menu-button:hover,.menu-button:focus-visible{background:#102a42!important;border-color:#285b83!important;color:#fff!important}
.menu-button.is-active{background:linear-gradient(180deg,#1594ed,#0873c9)!important;border-color:#43b5ff!important;color:#fff!important;box-shadow:0 7px 18px rgba(5,126,215,.28)!important}
.manual-menu>.submenu-box{display:block!important;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;position:relative!important}
.submenu{position:absolute!important;z-index:100!important;top:calc(100% + 8px)!important;left:0!important;min-width:220px!important;padding:8px!important;border:1px solid #254a68!important;border-radius:12px!important;background:#091827!important;box-shadow:0 16px 32px rgba(0,0,0,.45)!important}
.submenu[hidden]{display:none!important}.submenu a,.submenu button{display:block!important;width:100%!important;padding:9px 10px!important;border-radius:9px!important;color:#e9f4ff!important;background:transparent!important;text-decoration:none!important;text-align:left!important}.submenu a:hover{background:#102a42!important}
.main-panel{order:1!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:20px!important;border:1px solid rgba(111,177,225,.16)!important;border-radius:22px!important;background:linear-gradient(180deg,rgba(8,24,39,.96),rgba(6,17,29,.97))!important;color:var(--az-text)!important;box-shadow:var(--az-shadow)!important;overflow:visible!important}
.main-panel a{color:#69c4ff}.main-panel h1,.main-panel h2,.main-panel h3,.main-panel strong{color:#f5fbff}
.site-footer{margin-top:14px!important;padding:22px!important;border:1px solid rgba(112,175,222,.15)!important;border-radius:18px!important;background:#071624!important;color:#cfe2f0!important}.footer-links,.newsletter-line{gap:18px!important}.site-footer a,.footer-cookie-button{color:#bfe5ff!important}

/* Startseite */
body.anbita-route-home .main-panel{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.anbita-redesign-home{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}
.anbita-redesign-main{min-width:0}.anbita-redesign-hero{position:relative;min-height:320px;border:1px solid #214866;border-radius:20px;overflow:hidden;background:
 linear-gradient(110deg,rgba(4,15,25,.18),rgba(3,13,23,.72)),
 radial-gradient(circle at 73% 20%,rgba(247,174,72,.42),transparent 22%),
 linear-gradient(135deg,#1b5479 0,#14324d 45%,#71472c 100%);box-shadow:var(--az-shadow);display:flex;align-items:flex-end;padding:34px}
.anbita-redesign-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,13,23,.84) 0,transparent 52%);pointer-events:none}
.anbita-redesign-hero-copy{position:relative;z-index:2;max-width:780px}.anbita-redesign-hero h1{margin:0 0 8px;font-size:clamp(34px,5vw,68px);line-height:.98;color:#fff!important;letter-spacing:-1.8px;text-shadow:0 4px 18px rgba(0,0,0,.35)}.anbita-redesign-hero p{margin:0 0 20px;font-size:clamp(18px,2.2vw,28px);color:#e4f4ff}.anbita-redesign-hero-badge{display:inline-flex;padding:10px 18px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(4,18,30,.7);color:#fff;font-weight:800}
.anbita-redesign-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.anbita-redesign-tile{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:180px;padding:18px 12px 14px;border:1px solid #153c59;border-radius:17px;background:linear-gradient(180deg,#0d2940,#081c2c);color:#fff!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(0,0,0,.22);transition:.18s ease}.anbita-redesign-tile:hover{transform:translateY(-2px);border-color:#329ce5;background:linear-gradient(180deg,#12334d,#0b2437)}.anbita-redesign-tile-icon{font-size:42px;line-height:1;margin-bottom:10px}.anbita-redesign-tile strong{font-size:18px}.anbita-redesign-tile span{margin:6px 0 14px;color:#a8bfd1;line-height:1.35}.anbita-redesign-tile em{margin-top:auto;padding:8px 18px;border-radius:9px;background:#0c83d8;color:white;font-style:normal;font-weight:800}
.anbita-redesign-side{display:grid;gap:12px}.anbita-side-card{padding:16px;border:1px solid #173a56;border-radius:17px;background:linear-gradient(180deg,#0b2337,#081a29);box-shadow:0 12px 28px rgba(0,0,0,.24)}.anbita-side-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.anbita-side-card h2{font-size:23px;margin:0;color:#fff!important}.anbita-side-card-head a{font-size:13px;text-decoration:none}.anbita-side-entry{display:block;color:#fff!important;text-decoration:none!important}.anbita-side-entry img{width:100%;height:135px;object-fit:cover;border-radius:11px;border:1px solid #28608a;background:#10283d}.anbita-side-entry strong{display:block;margin-top:9px;font-size:17px;line-height:1.3}.anbita-side-entry span{display:block;margin-top:5px;color:#a9bfd0;line-height:1.4;font-size:14px}
body.anbita-route-home .home-intro{margin-top:14px!important;padding:16px!important;border:1px solid rgba(94,160,208,.14)!important;border-radius:18px!important;background:#071725!important}
body.anbita-route-home .home-welcome-row,body.anbita-route-home .home-news-ticker,body.anbita-route-home .home-mobile-menu-row,body.anbita-route-home .home-latest-news-title,body.anbita-route-home .home-latest-news,body.anbita-route-home #home-latest-blog-title,body.anbita-route-home #home-latest-blog-title+.home-latest-cards{display:none!important}
body.anbita-route-home .home-latest-section{margin:12px 0 0!important;padding:14px!important;border:1px solid rgba(85,151,198,.12)!important;border-radius:15px!important;background:#091b2b!important}body.anbita-route-home .home-latest-section-title{margin:0 0 10px!important;color:#fff!important}
body.anbita-route-home .home-latest-cards{gap:10px!important}body.anbita-route-home .home-latest-card{background:#0d2437!important;border:1px solid #183d59!important;border-radius:13px!important;color:#fff!important}

/* Rechtliches / Formulare / Fachbereiche in neuer Oberfläche */
.main-panel .portal-intro,.main-panel .content-card,.main-panel .legal-page,.main-panel form,.main-panel .panel,.main-panel .card{border-radius:16px}.main-panel input,.main-panel textarea,.main-panel select{background:#0b1d2c!important;color:#f5fbff!important;border-color:#31526c!important}.main-panel input::placeholder,.main-panel textarea::placeholder{color:#7f9bb0!important}.main-panel button,.main-panel .button,.main-panel [class*="btn"]{border-radius:10px}

@media(max-width:1100px){.welcome-row{grid-template-columns:auto 1fr!important}.welcome-logo-link{grid-column:1!important}.welcome-ad-wrap{grid-column:2!important}.weather-country-overview:not(.weather-mobile-top){display:none!important}.welcome-ad-desktop{width:440px!important}.anbita-redesign-home{grid-template-columns:1fr 280px}.anbita-redesign-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.site-shell{width:calc(100% - 14px)!important;margin:7px auto!important}.site-header{padding:10px!important}.utility-bar{position:static!important;margin-bottom:8px!important}.welcome-row{display:block!important;min-height:0!important;padding:0!important}.welcome-logo-link{margin:0 auto 8px!important}.welcome-logo{width:230px!important;max-width:70vw!important;height:74px!important}.welcome-ad-wrap{justify-content:center!important}.welcome-ad-desktop{display:none!important}.welcome-ad-mobile{display:block!important}.anbita-app-account-nav{top:12px!important;right:12px!important}.fixed-menu,.manual-menu{gap:6px!important}.menu-button,.manual-menu>.menu-button,.manual-menu>.submenu-box>.menu-button{font-size:14px!important;padding:8px 10px!important}.main-panel{padding:14px!important}.anbita-redesign-home{grid-template-columns:1fr}.anbita-redesign-side{grid-template-columns:repeat(2,minmax(0,1fr))}.anbita-redesign-hero{min-height:260px;padding:24px}.anbita-redesign-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.site-shell{width:100%!important;margin:0!important}.site-header,.side-menu,.main-panel,.site-footer{border-radius:0!important}.side-menu{padding:6px!important;overflow-x:auto!important}.fixed-menu,.manual-menu{flex-wrap:nowrap!important;width:max-content!important}.menu-button,.manual-menu>.menu-button,.manual-menu>.submenu-box>.menu-button{white-space:nowrap!important}.anbita-redesign-hero{min-height:235px;padding:20px}.anbita-redesign-hero h1{font-size:38px}.anbita-redesign-hero p{font-size:18px}.anbita-redesign-tiles{grid-template-columns:1fr 1fr}.anbita-redesign-tile{min-height:160px;padding:14px 8px}.anbita-redesign-tile-icon{font-size:34px}.anbita-redesign-side{grid-template-columns:1fr}.anbita-side-entry img{height:155px}}
