.fgadv26 {
      --bg-dark-blue: #090e24;
      --bg-card-blue: #161e38;
      --gold-primary: #f59e0b;
      --gold-light: #fef08a;
      --gold-glow: rgba(245, 158, 11, 0.45);
      --text-light: #f8fafc;
      --text-muted: #94a3b8;
      --disabled-blue: #0d1326;
    }
.fgadv26, .fgadv26 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
.fgadv26 {
      font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
      background: radial-gradient(circle at top, #1e293b 0%, #090e24 100%);
      color: var(--text-light);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 25px 15px;
      position: relative;
      overflow-x: hidden;
    }
.fgadv26 .star-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      background-image: 
        radial-gradient(2px 2px at 30px 40px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 70px 110px, #f59e0b, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 140px 60px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 210px 180px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 290px 240px, #f59e0b, rgba(0,0,0,0));
      background-repeat: repeat;
      background-size: 350px 350px;
      opacity: 0.65;
    }
.fgadv26 header {
      text-align: center;
      margin-bottom: 30px;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
.fgadv26 .school-branding {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(245, 158, 11, 0.4);
      padding: 8px 22px;
      border-radius: 35px;
      backdrop-filter: blur(4px);
    }
.fgadv26 .school-logo-svg {
      width: 42px;
      height: 42px;
      color: var(--gold-primary);
    }
.fgadv26 .school-title {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--gold-light);
      text-transform: uppercase;
    }
.fgadv26 header h1 {
      font-size: 2.5rem;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 3px;
      text-shadow: 0 0 18px var(--gold-glow);
      margin: 6px 0;
    }
.fgadv26 header p.subtitle {
      font-size: 1.2rem;
      color: var(--gold-primary);
      letter-spacing: 2px;
      font-weight: 300;
      text-transform: uppercase;
    }
.fgadv26 .calendar-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 18px;
      max-width: 1080px;
      width: 100%;
      z-index: 1;
      margin-top: 10px;
    }
@media (max-width: 900px){
.fgadv26 .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
      }
}
@media (max-width: 600px){
.fgadv26 .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }
}
.fgadv26 .door {
      background: var(--bg-card-blue);
      border: 2px solid rgba(245, 158, 11, 0.35);
      border-radius: 16px;
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      position: relative;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
      user-select: none;
    }
.fgadv26 .door-number {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--gold-primary);
    }
.fgadv26 .door-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 4px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
.fgadv26 .door.past {
      background: linear-gradient(135deg, #2b364a 0%, #172033 100%);
      border-color: var(--gold-primary);
      box-shadow: 0 0 15px var(--gold-glow);
    }
.fgadv26 .door.past .door-number {
      color: var(--gold-light);
    }
.fgadv26 .door.today {
      background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
      border-color: #f59e0b;
      animation: pulse-border 2s infinite;
    }
.fgadv26 .door.today .door-number {
      color: #ffffff;
      text-shadow: 0 0 12px var(--gold-primary);
    }
@keyframes pulse-border{
      0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8); }
      70% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); }
      100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
    }
.fgadv26 .door.future {
      background: var(--disabled-blue);
      border-color: rgba(255, 255, 255, 0.08);
      opacity: 0.55;
    }
.fgadv26 .door.future .door-number {
      color: #475569;
    }
.fgadv26 .door.future::after {
      content: "🔒";
      font-size: 0.85rem;
      position: absolute;
      top: 10px;
      right: 10px;
      opacity: 0.4;
    }
.fgadv26 .door:not(.future):hover {
      transform: translateY(-6px) scale(1.04);
      border-color: var(--gold-light);
      box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
    }
.fgadv26 .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(4, 8, 18, 0.88);
      backdrop-filter: blur(8px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 100;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      padding: 20px;
    }
.fgadv26 .modal-backdrop.active {
      opacity: 1;
      pointer-events: auto;
    }
.fgadv26 .modal-card {
      background: radial-gradient(circle at center, #1b2545 0%, #090e24 100%);
      border: 3px solid var(--gold-primary);
      border-radius: 24px;
      padding: 40px 45px;
      max-width: 800px;
      width: 100%;
      text-align: center;
      position: relative;
      box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
      transform: scale(0.85);
      transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      display: flex;
      flex-direction: column;
      align-items: center;
    }
.fgadv26 .modal-backdrop.active .modal-card {
      transform: scale(1);
    }
.fgadv26 .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(245, 158, 11, 0.4);
      border-radius: 50%;
      width: 44px;
      height: 44px;
      color: var(--gold-light);
      font-size: 1.8rem;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: all 0.2s ease;
      z-index: 10;
    }
.fgadv26 .close-btn:hover {
      background: var(--gold-primary);
      color: #000;
    }
.fgadv26 .modal-top-bar {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(245, 158, 11, 0.25);
      padding-bottom: 15px;
      margin-bottom: 25px;
    }
.fgadv26 .modal-header-title {
      font-size: 1.1rem;
      letter-spacing: 3px;
      color: #ffffff;
      font-weight: 700;
      text-transform: uppercase;
    }
.fgadv26 .modal-day-counter {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--gold-primary);
      letter-spacing: 2px;
    }
.fgadv26 .modal-impuls-label {
      font-size: 1rem;
      letter-spacing: 2px;
      color: var(--gold-primary);
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 15px;
    }
.fgadv26 .modal-intro-quote {
      font-style: italic;
      color: var(--gold-light);
      font-size: 1.4rem;
      margin-bottom: 18px;
      font-weight: 400;
      line-height: 1.4;
    }
.fgadv26 .modal-impuls-body {
      font-size: 1.65rem;
      line-height: 1.6;
      color: #ffffff;
      margin-bottom: 25px;
      font-weight: 600;
      max-width: 680px;
    }
.fgadv26 .modal-illustration {
      margin: 10px 0 25px 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
.fgadv26 .modal-date-box {
      margin-bottom: 25px;
    }
.fgadv26 .modal-date-day {
      font-size: 3rem;
      font-weight: 900;
      color: var(--gold-primary);
      line-height: 1;
    }
.fgadv26 .modal-date-month {
      font-size: 1.2rem;
      letter-spacing: 3px;
      color: var(--gold-light);
      text-transform: uppercase;
      font-weight: 700;
      margin-top: 4px;
    }
.fgadv26 .modal-date-extra {
      font-size: 1rem;
      color: var(--text-muted);
      font-style: italic;
      margin-top: 4px;
    }
.fgadv26 .modal-footer {
      width: 100%;
      border-top: 1px solid rgba(245, 158, 11, 0.25);
      padding-top: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 14px;
    }
.fgadv26 .modal-footer-brand {
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--gold-primary);
      text-transform: uppercase;
    }
.fgadv26 footer {
      margin-top: 40px;
      text-align: center;
      font-size: 0.9rem;
      color: var(--text-muted);
      z-index: 1;
    }
/* WordPress / Popup Maker: Isolation vom Seitendesign und mobiler Scrollbereich */
.fgadv26 {
  width: 100%; min-height: 0; max-height: 78dvh; overflow-y: auto;
  position: relative; isolation: isolate; border-radius: 14px;
  padding: 22px 14px 28px; overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.fgadv26 .star-bg { position: absolute; z-index: 0; }
.fgadv26 .calendar-grid, .fgadv26 header, .fgadv26 footer {position: relative; z-index: 1;}
.fgadv26 .door {font-family: inherit; font-size: inherit; line-height: inherit; padding: 0; appearance: none; -webkit-appearance: none;}
.fgadv26 .door:focus-visible, .fgadv26 .close-btn:focus-visible {outline: 3px solid #fef08a; outline-offset: 3px;}
.fgadv26 .modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 20; padding: 12px; overflow-y: auto; }
.fgadv26 .modal-backdrop[hidden] {display:none !important;}
.fgadv26 .modal-card {max-height: 100%; overflow-y: auto; padding: 34px 36px 24px;}
.fgadv26 .modal-impuls-body {white-space: pre-line; overflow-wrap: anywhere;}
.fgadv26 .modal-intro-quote {overflow-wrap: anywhere;}
.fgadv26 .school-title {line-height:1.4;}
.fgadv26 .modal-footer-brand {overflow-wrap: anywhere;}
@media (max-width: 600px) {
  .fgadv26 {padding: 20px 10px 24px; max-height: 78dvh;}
  .fgadv26 header h1 {font-size: 1.55rem; letter-spacing: 1px;}
  .fgadv26 header p.subtitle {font-size: .8rem; letter-spacing: 1px;}
  .fgadv26 .school-branding {padding: 8px 11px; gap: 8px;}
  .fgadv26 .school-title {font-size: .68rem; letter-spacing: .6px;}
  .fgadv26 .school-logo-svg {width: 30px; height: 30px; flex-shrink:0;}
  .fgadv26 .door-number {font-size: 1.6rem;}
  .fgadv26 .door-label {font-size: .55rem; letter-spacing: 0;}
  .fgadv26 .modal-card {border-width:2px; padding: 48px 15px 18px; border-radius: 13px;}
  .fgadv26 .modal-top-bar {gap: 10px; margin-bottom: 15px;}
  .fgadv26 .modal-header-title {font-size: .75rem; letter-spacing: .7px;}
  .fgadv26 .modal-day-counter {font-size: .8rem; letter-spacing:0; white-space: nowrap;}
  .fgadv26 .modal-impuls-body {font-size: 1.14rem; line-height: 1.45; margin-bottom: 10px;}
  .fgadv26 .modal-intro-quote {font-size: .96rem; margin-bottom: 10px;}
  .fgadv26 .modal-date-day {font-size: 2rem;}
  .fgadv26 .modal-footer-brand {font-size: .65rem; letter-spacing: .3px;}
  .fgadv26 .modal-date-box, .fgadv26 .modal-illustration {margin-bottom: 12px;}
  .fgadv26 .close-btn {top: 6px; right: 6px; width:36px; height:36px;}
}
@media (prefers-reduced-motion: reduce) {
  .fgadv26 .door.today {animation:none;}
  .fgadv26 .door {transition:none;}
  .fgadv26 .modal-card, .fgadv26 .modal-backdrop {transition:none;}
}
