/* AgraGen 6.2.0-r9 · Royal Community Design
   Rein lokale Gestaltung: keine externen Fonts, Tracking-Pixel oder Design-CDNs. */
body.royal-community-theme{
  --royal-ink:#10251d;
  --royal-muted:#536a61;
  --royal-emerald-980:#04150f;
  --royal-emerald-950:#061b14;
  --royal-emerald-900:#09291f;
  --royal-emerald-800:#0d4535;
  --royal-emerald-700:#0d6f54;
  --royal-emerald-600:#118765;
  --royal-ivory:#fffdf8;
  --royal-ivory-2:#f7f2e6;
  --royal-gold:#d3a63a;
  --royal-gold-2:#f1d783;
  --royal-gold-3:#fff0bb;
  --royal-line:rgba(86,105,96,.18);
  --royal-line-gold:rgba(211,166,58,.38);
  --royal-card:rgba(255,255,255,.94);
  --royal-shadow:0 24px 70px rgba(5,28,20,.13);
  --royal-shadow-deep:0 34px 90px rgba(4,22,16,.23);
  --royal-radius:24px;
  color:var(--royal-ink);
  background:
    radial-gradient(circle at 7% 8%,rgba(211,166,58,.12),transparent 20rem),
    radial-gradient(circle at 94% 18%,rgba(17,135,101,.12),transparent 24rem),
    linear-gradient(180deg,#f8fbf9 0%,#f3f7f4 48%,#edf3ef 100%);
}
body.royal-community-theme::after{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:.28;
  background-image:linear-gradient(rgba(9,69,53,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(9,69,53,.035) 1px,transparent 1px);
  background-size:76px 76px;
  mask-image:linear-gradient(to bottom,#000,transparent 76%);
}
body.royal-community-theme .topbar{
  background:
    linear-gradient(90deg,rgba(211,166,58,.06),transparent 16%,transparent 84%,rgba(211,166,58,.06)),
    linear-gradient(180deg,rgba(4,21,15,.97),rgba(7,32,24,.94));
  border-bottom:1px solid rgba(243,215,131,.17);
  box-shadow:0 14px 48px rgba(3,17,12,.24);
}
body.royal-community-theme .topbar::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(241,215,131,.75),transparent);
}
body.royal-community-theme .brand{gap:13px}
body.royal-community-theme .royal-brand-mark{
  width:52px;height:52px;padding:2px;border-radius:18px;background:linear-gradient(145deg,#fff5cf,#c99a2e);
  box-shadow:0 12px 34px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.16) inset;overflow:hidden
}
body.royal-community-theme .royal-brand-mark img{display:block;width:100%;height:100%;border-radius:16px}
body.royal-community-theme .brand-copy strong{font-size:1.15rem;letter-spacing:-.02em}
body.royal-community-theme .brand-copy small{color:#c4d9cf;letter-spacing:.14em}
body.royal-community-theme .public-nav>a:not(.btn){font-weight:780;color:#f5fbf8}
body.royal-community-theme .public-nav>a:not(.btn):hover{background:rgba(255,255,255,.075);color:#fff2bd}
body.royal-community-theme .btn.accent{
  color:#172017;border-color:#f7e4a6;
  background:linear-gradient(135deg,#f6df94,#d8a83e 64%,#f2d67e);
  box-shadow:0 12px 30px rgba(211,166,58,.25),inset 0 1px 0 rgba(255,255,255,.66)
}
body.royal-community-theme .btn.accent:hover{background:linear-gradient(135deg,#ffeab0,#e1b64e 64%,#f8e3a5)}
body.royal-community-theme .btn.primary{background:linear-gradient(135deg,#128564,#0a513e);border-color:#1b8b6b;box-shadow:0 12px 30px rgba(13,111,84,.23)}
body.royal-community-theme .btn.outline{background:#fffdf8;border-color:rgba(105,87,41,.24);color:#194437}
body.royal-community-theme .btn.inverse{background:rgba(255,255,255,.07);border-color:rgba(255,240,187,.34);color:#fffdf7}
body.royal-community-theme .btn:focus-visible,
body.royal-community-theme a:focus-visible,
body.royal-community-theme button:focus-visible,
body.royal-community-theme input:focus-visible,
body.royal-community-theme select:focus-visible,
body.royal-community-theme textarea:focus-visible{
  outline:3px solid #ffe58f!important;outline-offset:3px!important;box-shadow:0 0 0 6px rgba(255,229,143,.24)!important
}
body.royal-community-theme .skip-link{background:#fff8dc;color:#10251d;border:2px solid #8a6718;font-weight:850}
body.royal-community-theme .a11y-trigger{
  min-height:42px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:13px;
  border:1px solid rgba(255,238,182,.24);background:rgba(255,255,255,.07);color:#fff9e8;font-weight:780
}
body.royal-community-theme .a11y-trigger:hover{background:rgba(255,255,255,.12)}
body.royal-community-theme .a11y-panel{
  position:fixed;z-index:1400;right:20px;top:calc(var(--topbar,76px) + 12px);width:min(560px,calc(100vw - 32px));
}
body.royal-community-theme .a11y-panel[hidden]{display:none!important}
body.royal-community-theme .a11y-panel-inner{
  padding:24px;border-radius:24px;color:#173229;background:#fffdf8;border:1px solid rgba(211,166,58,.38);
  box-shadow:0 30px 90px rgba(3,17,12,.28);backdrop-filter:blur(20px)
}
body.royal-community-theme .a11y-panel h2{margin:.15rem 0 .4rem;font-size:1.35rem}
body.royal-community-theme .a11y-panel p{margin:0;color:#5b6e66}
body.royal-community-theme .a11y-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
body.royal-community-theme .a11y-options label{
  display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid rgba(11,81,62,.14);border-radius:16px;background:#f8fbf9;cursor:pointer
}
body.royal-community-theme .a11y-options input{width:20px;height:20px;min-height:20px;accent-color:#0d6f54;flex:0 0 auto;margin-top:2px}
body.royal-community-theme .a11y-options strong,body.royal-community-theme .a11y-options small{display:block}
body.royal-community-theme .a11y-options small{font-weight:500;color:#61756c;margin-top:3px;line-height:1.4}
body.royal-community-theme .a11y-panel-actions{display:flex;justify-content:flex-end;gap:10px}
body.royal-community-theme .footer-privacy{margin-top:5px;color:#adcbc0;font-size:.72rem;line-height:1.45}

/* Royal portal surfaces */
body.royal-community-theme .sidebar{
  background:
    radial-gradient(circle at 50% 0,rgba(211,166,58,.12),transparent 18rem),
    linear-gradient(180deg,#04150f,#07241b 48%,#082d22);
  border-right:1px solid rgba(242,216,133,.13)
}
body.royal-community-theme .member-card,
body.royal-community-theme .sidebar-external{
  background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  border-color:rgba(241,215,131,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)
}
body.royal-community-theme .avatar{background:linear-gradient(145deg,#f1d783,#b98a25)!important;color:#11231c!important}
body.royal-community-theme .side-nav a.active{
  background:linear-gradient(135deg,rgba(241,215,131,.16),rgba(17,135,101,.16));
  border-color:rgba(241,215,131,.18);box-shadow:inset 3px 0 0 #e1b84e
}
body.royal-community-theme .side-nav a:hover{border-color:rgba(255,255,255,.12)}
body.royal-community-theme .portal-main{background:transparent}
body.royal-community-theme .page-head,
body.royal-community-theme .panel,
body.royal-community-theme .stat-card,
body.royal-community-theme .feature-card,
body.royal-community-theme .knowledge-tool-card,
body.royal-community-theme .knowledge-resource-card,
body.royal-community-theme .knowledge-feed-card,
body.royal-community-theme .bridge-plan-card,
body.royal-community-theme .bridge-benefit-grid article,
body.royal-community-theme .mc-card,
body.royal-community-theme .pm-root .pm-section{
  border-color:rgba(211,166,58,.18)!important;
  box-shadow:var(--royal-shadow)!important
}
body.royal-community-theme .page-head,
body.royal-community-theme .panel{
  position:relative;overflow:hidden
}
body.royal-community-theme .page-head::after,
body.royal-community-theme .panel::after{
  content:"";position:absolute;top:0;right:0;width:100px;height:100px;pointer-events:none;opacity:.48;
  background:linear-gradient(135deg,transparent 49%,rgba(211,166,58,.18) 50%,transparent 52%)
}
body.royal-community-theme .eyebrow{color:#806218;font-weight:880;letter-spacing:.14em}
body.royal-community-theme .stat-icon,
body.royal-community-theme .feature-icon,
body.royal-community-theme .knowledge-icon{
  background:linear-gradient(145deg,#fff4c8,#e3bd5a)!important;color:#174b3b!important;border:1px solid rgba(165,125,28,.18)
}
body.royal-community-theme input,
body.royal-community-theme select,
body.royal-community-theme textarea{
  background:#fff!important;border-color:rgba(38,91,73,.23)!important;color:#10251d!important
}
body.royal-community-theme input:hover,
body.royal-community-theme select:hover,
body.royal-community-theme textarea:hover{border-color:rgba(13,111,84,.45)!important}
body.royal-community-theme table{background:#fffdf9;border-radius:18px;overflow:hidden}
body.royal-community-theme table th{background:#f4f0e3;color:#243b33;border-bottom-color:rgba(105,87,41,.18)}
body.royal-community-theme .site-footer{
  background:
    radial-gradient(circle at 12% 0,rgba(211,166,58,.11),transparent 17rem),
    linear-gradient(180deg,#04150f,#071f18);
  border-top:1px solid rgba(241,215,131,.14)
}

/* Home: premium community story */
body.royal-community-theme .ae-home .ae-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 15% 14%,rgba(241,215,131,.18),transparent 20rem),
    radial-gradient(circle at 84% 12%,rgba(58,185,145,.16),transparent 24rem),
    linear-gradient(135deg,#03130e 0%,#06251b 46%,#0a4736 100%)!important;
  border-bottom:1px solid rgba(241,215,131,.17)!important;
  box-shadow:var(--royal-shadow-deep)!important
}
body.royal-community-theme .ae-home .ae-hero::before{
  content:"";position:absolute;inset:-25%;pointer-events:none;opacity:.55;
  background:conic-gradient(from 180deg at 50% 50%,transparent,rgba(241,215,131,.05),transparent 24%,rgba(35,160,121,.08),transparent 55%);
}
body.royal-community-theme .ae-home .ae-hero-copy{position:relative;z-index:2}
body.royal-community-theme .ae-home .ae-hero h1{max-width:760px;text-wrap:balance}
body.royal-community-theme .ae-home .ae-hero h1 em{color:#f2d77f;text-shadow:0 8px 28px rgba(211,166,58,.15)}
body.royal-community-theme .ae-home .ae-kicker{letter-spacing:.13em}
body.royal-community-theme .ae-home .ae-trust span{
  padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09)
}
body.royal-community-theme .royal-network-stage{min-height:600px!important;isolation:isolate}
body.royal-community-theme .royal-network-illustration{
  position:absolute;inset:18px;width:calc(100% - 36px);height:calc(100% - 36px);object-fit:cover;border-radius:26px;opacity:.48;z-index:0;
  filter:saturate(.9) contrast(1.04)
}
body.royal-community-theme .royal-network-stage .ae-network-orbit,
body.royal-community-theme .royal-network-stage .ae-network-core,
body.royal-community-theme .royal-network-stage .ae-node,
body.royal-community-theme .royal-network-stage .ae-live{z-index:2}
body.royal-community-theme .royal-network-stage .ae-network-core{
  background:linear-gradient(145deg,#fff9e7,#f3d983)!important;color:#123027!important;border:1px solid #f5e4aa!important;
  box-shadow:0 24px 60px rgba(0,0,0,.25)!important
}
body.royal-community-theme .royal-network-stage .ae-node{
  background:rgba(4,25,18,.76)!important;border-color:rgba(241,215,131,.25)!important;color:#fffdf8!important;backdrop-filter:blur(12px)
}
body.royal-community-theme .royal-network-stage .ae-node small{color:#cfe5db!important}
body.royal-community-theme .royal-network-stage .ae-node i{color:#f1d783!important}
body.royal-community-theme .ae-home .ae-impact article{border-top:2px solid rgba(211,166,58,.55)!important}
body.royal-community-theme .royal-community-story{padding:78px 0 30px}
body.royal-community-theme .royal-story-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:34px;align-items:center}
body.royal-community-theme .royal-story-figure{
  margin:0;padding:14px;border-radius:30px;background:linear-gradient(145deg,#fffdf8,#f3eee0);border:1px solid rgba(211,166,58,.26);
  box-shadow:var(--royal-shadow);position:relative;overflow:hidden
}
body.royal-community-theme .royal-story-figure::after{
  content:"";position:absolute;inset:10px;border:1px solid rgba(211,166,58,.18);border-radius:23px;pointer-events:none
}
body.royal-community-theme .royal-story-figure img{display:block;width:100%;height:auto;border-radius:22px}
body.royal-community-theme .royal-story-figure figcaption{padding:13px 8px 2px;color:#586b63;font-size:.86rem;line-height:1.5}
body.royal-community-theme .royal-story-copy{padding:22px 4px}
body.royal-community-theme .royal-story-copy h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;letter-spacing:-.04em;margin:.35rem 0 1rem;color:#112b22}
body.royal-community-theme .royal-story-copy>p{font-size:1.04rem;color:#566a61;line-height:1.75}
body.royal-community-theme .royal-story-points{display:grid;gap:11px;margin-top:22px}
body.royal-community-theme .royal-story-points article{
  display:flex;gap:14px;align-items:flex-start;padding:15px 16px;border-radius:18px;background:#fffdf8;border:1px solid rgba(211,166,58,.20);box-shadow:0 10px 28px rgba(5,28,20,.07)
}
body.royal-community-theme .royal-story-points article>b{
  width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#0b513e;color:#f5dc91;font-size:.82rem
}
body.royal-community-theme .royal-story-points strong,body.royal-community-theme .royal-story-points small{display:block}
body.royal-community-theme .royal-story-points small{color:#61756d;margin-top:3px;line-height:1.45}
body.royal-community-theme .ae-home .ae-values-grid article,
body.royal-community-theme .ae-home .ae-sector-grid article,
body.royal-community-theme .ae-home .ae-feature,
body.royal-community-theme .ae-home .ae-steps article{
  background:linear-gradient(180deg,#fffefa,#f7f4e9)!important;border-color:rgba(211,166,58,.18)!important
}
body.royal-community-theme .ae-home .ae-values-grid article::after,
body.royal-community-theme .ae-home .ae-sector-grid article::after,
body.royal-community-theme .ae-home .ae-feature::after{
  content:"";position:absolute;left:22px;right:22px;top:0;height:2px;background:linear-gradient(90deg,transparent,#d9ac43,transparent);opacity:.7
}
body.royal-community-theme .ae-home .ae-audience-shell{border-color:rgba(211,166,58,.20)!important}
body.royal-community-theme .ae-home .ae-audience-tabs button.active{background:linear-gradient(135deg,#0a382b,#0e7156)!important;color:#fff!important;border-color:#1a8466!important}
body.royal-community-theme .ae-home .ae-ecosystem,
body.royal-community-theme .ae-home .ae-ackerpilot,
body.royal-community-theme .ae-home .ae-security{
  background:
    radial-gradient(circle at 87% 7%,rgba(211,166,58,.12),transparent 18rem),
    linear-gradient(135deg,#04150f,#08281f 54%,#0a4031)!important
}
body.royal-community-theme .ae-home .ae-ap-shell{border-color:rgba(241,215,131,.18)!important}
body.royal-community-theme .ae-home .ae-price-cards-live article{border-color:rgba(241,215,131,.22)!important}
body.royal-community-theme .ae-home .ae-price-cards-live article:hover{border-color:rgba(241,215,131,.55)!important}
body.royal-community-theme .ae-home .ae-final-inner{
  background:
    radial-gradient(circle at 12% 0,rgba(241,215,131,.17),transparent 18rem),
    linear-gradient(135deg,#04150f,#082d22 54%,#0b4e3b)!important;
  border:1px solid rgba(241,215,131,.20)!important
}

/* Effects: elegant, not essential; disabled when requested. */
@media (prefers-reduced-motion:no-preference){
  body.royal-community-theme:not(.a11y-reduced-effects) .ae-home .ae-hero::before{animation:royalAmbient 18s ease-in-out infinite alternate}
  body.royal-community-theme:not(.a11y-reduced-effects) .royal-network-illustration{animation:royalFloat 12s ease-in-out infinite alternate}
  body.royal-community-theme:not(.a11y-reduced-effects) .royal-brand-mark{transition:transform .25s ease,box-shadow .25s ease}
  body.royal-community-theme:not(.a11y-reduced-effects) .brand:hover .royal-brand-mark{transform:translateY(-2px) rotate(-1deg);box-shadow:0 16px 40px rgba(0,0,0,.32),0 0 0 1px rgba(255,255,255,.18) inset}
}
@keyframes royalAmbient{from{transform:translate3d(-1%,0,0) rotate(-1deg)}to{transform:translate3d(1.5%,1%,0) rotate(2deg)}}
@keyframes royalFloat{from{transform:translateY(0) scale(1)}to{transform:translateY(-6px) scale(1.01)}}

/* User controlled accessibility preferences */
body.royal-community-theme.a11y-large-text{font-size:17.25px}
body.royal-community-theme.a11y-large-text .topbar{--topbar:82px}
body.royal-community-theme.a11y-large-text .btn,
body.royal-community-theme.a11y-large-text input,
body.royal-community-theme.a11y-large-text select{min-height:50px}
body.royal-community-theme.a11y-high-contrast{
  --royal-ink:#07120e;--royal-muted:#2e443b;--royal-line:rgba(0,0,0,.35);
  background:#fff!important;color:#07120e
}
body.royal-community-theme.a11y-high-contrast .panel,
body.royal-community-theme.a11y-high-contrast .page-head,
body.royal-community-theme.a11y-high-contrast .stat-card,
body.royal-community-theme.a11y-high-contrast .mc-card,
body.royal-community-theme.a11y-high-contrast .pm-root .pm-section,
body.royal-community-theme.a11y-high-contrast .knowledge-resource-card{background:#fff!important;border:2px solid #244c3e!important;box-shadow:none!important}
body.royal-community-theme.a11y-high-contrast .topbar,
body.royal-community-theme.a11y-high-contrast .sidebar{background:#03130e!important}
body.royal-community-theme.a11y-high-contrast a:not(.btn){text-decoration-thickness:.1em;text-underline-offset:.18em}
body.royal-community-theme.a11y-reduced-effects *,
body.royal-community-theme.a11y-reduced-effects *::before,
body.royal-community-theme.a11y-reduced-effects *::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
body.royal-community-theme.a11y-reduced-effects .panel,
body.royal-community-theme.a11y-reduced-effects .page-head,
body.royal-community-theme.a11y-reduced-effects .stat-card,
body.royal-community-theme.a11y-reduced-effects .royal-story-figure{backdrop-filter:none!important}

@media (prefers-contrast:more){
  body.royal-community-theme{--royal-ink:#06110d;--royal-muted:#31493f}
  body.royal-community-theme .panel,body.royal-community-theme .page-head,body.royal-community-theme .stat-card{border-color:#46685b!important}
  body.royal-community-theme .btn.outline{border-color:#315f4f!important}
}
@media (prefers-reduced-motion:reduce){
  body.royal-community-theme *,body.royal-community-theme *::before,body.royal-community-theme *::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media (max-width:1260px){
  body.royal-community-theme .a11y-trigger span:last-child{display:none}
}
@media (max-width:1100px){
  body.royal-community-theme .royal-story-grid{grid-template-columns:1fr}
  body.royal-community-theme .royal-story-figure{max-width:820px;margin-inline:auto}
  body.royal-community-theme .royal-network-stage{min-height:520px!important}
}
@media (max-width:820px){
  body.royal-community-theme .a11y-options{grid-template-columns:1fr}
  body.royal-community-theme .a11y-panel{right:10px;width:calc(100vw - 20px)}
  body.royal-community-theme .a11y-panel-inner{padding:18px}
  body.royal-community-theme .royal-community-story{padding-top:48px}
  body.royal-community-theme .royal-network-stage{min-height:460px!important}
  body.royal-community-theme .royal-network-stage .ae-node{font-size:.78rem}
}
@media (max-width:620px){
  body.royal-community-theme .royal-network-illustration{inset:10px;width:calc(100% - 20px);height:calc(100% - 20px)}
  body.royal-community-theme .royal-story-copy{padding-inline:0}
  body.royal-community-theme .royal-story-points article{padding:13px}
  body.royal-community-theme .a11y-panel-actions{display:grid;grid-template-columns:1fr 1fr}
}

/* Lokale Emblem-Akzente in Mitglieder- und Verwaltungsbereichen */
body.royal-community-theme .dashboard-head,
body.royal-community-theme .admin-head{
  background-image:
    radial-gradient(circle at 92% 50%,rgba(217,173,78,.14),transparent 12%),
    linear-gradient(110deg,rgba(255,253,248,.98),rgba(247,251,248,.94))!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:auto!important;
  padding-right:32px!important
}
body.royal-community-theme .ops-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 84% 16%,rgba(240,202,102,.15),transparent 22%),
    linear-gradient(120deg,rgba(4,21,15,.98),rgba(9,68,51,.95))!important;
  border:1px solid rgba(241,215,131,.18)!important;box-shadow:var(--royal-shadow-deep)!important
}
body.royal-community-theme .ops-hero h1,
body.royal-community-theme .ops-hero h2,
body.royal-community-theme .ops-hero p,
body.royal-community-theme .ops-hero .eyebrow{color:#fffdf8!important}
body.royal-community-theme .ops-hero .eyebrow{color:#f1d783!important}
@media(max-width:760px){
  body.royal-community-theme .dashboard-head,
  body.royal-community-theme .admin-head{padding-right:22px!important;background-size:auto!important;background-position:center!important}
}
