    /* Aurora-Codex Layout */
    :root {
      --aurora-dark: #05060a; /*fast schwarz*/
      --aurora-rubin: #9b1c31; /*dunkles weinrot*/
      --aurora-violett: #5e2d79; /*mittleres violett*/
      --aurora-glow: #2e7fa8; /*blaugrün*/
      --aurora-silber: #cfcfcf; /*helles silbriges grau*/
    }

    /* Grundlayout */
    body {
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #101322 0%, #05060a 45%, #000000 100%);
      color: #e6e6e6;
    }

    main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1.5rem;
    }

    h1, h2, h3 {
      font-weight: 500;
      letter-spacing: 0.04em;
      text-align: center;
    }

    h1 {
      text-align: center;
      margin-bottom: 1rem;
    }

    .subtitle {
      font-size: 0.9rem;
      color: #b7b7b7;
      letter-spacing: 0.05em;
      text-align: center;
    }

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: black;
}

ul li {
  float: right;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 4px 8px;
  text-decoration: none;
  font-size: 12px;
}

ul li a:hover {
  background-color: #111111;
}

    /* Aurora Kapitel */
    .aurora-chapter {
      margin: 3rem auto;
      padding: 1.5rem;
      max-width: 900px;
      background: radial-gradient(circle at top, #101322 0%, #05060a 45%, #000000 100%);
      border-radius: 18px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.06);
      animation: auroraBorder 9s ease-in-out infinite;
    }
    .aurora-k1-k7 {
      margin: 1rem auto;
      padding: 1rem;
      max-width: 900px;
      background: radial-gradient(circle at top, #101322 0%, #05060a 45%, #000000 100%);
      border-radius: 18px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.06);
      animation: auroraBorder 9s ease-in-out infinite;
    }

    .aurora-chapter header {
      text-align: center;
      margin-bottom: 1rem;
    }
    .aurora-k1-k7 header {
      text-align: center;
      margin-bottom: 1rem;
    }

    @keyframes auroraBorder {
      0%   { box-shadow: 0 0 0 rgba(46, 127, 168, 0.0); border-color: rgba(155, 28, 49, 0.25); }
      50%  { box-shadow: 0 0 22px rgba(46, 127, 168, 0.55); border-color: rgba(94, 45, 121, 0.6); }
      100% { box-shadow: 0 0 0 rgba(46, 127, 168, 0.0); border-color: rgba(155, 28, 49, 0.25); }
    }

    .aurora-frame {
      position: relative;
      padding: 1rem;
    }

    .aurora-lines {
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg,
        rgba(46,127,168,0.15),
        rgba(155,28,49,0.12),
        rgba(94,45,121,0.18),
        rgba(46,127,168,0.15)
      );
      opacity: 0.4;
      animation: auroraLines 12s linear infinite;
      pointer-events: none;
    }

    @keyframes auroraLines {
      0%   { transform: translateY(0); opacity: 0.4; }
      50%  { transform: translateY(-12px); opacity: 0.8; }
      100% { transform: translateY(0); opacity: 0.4; }
    }

    .aurora-text {
      position: relative;
      z-index: 2;
      color: #dcdcdc;
      font-size: 0.95rem;
      line-height: 1.7;
    }
    /*Close->zurück*/
    a.aurora-a {
      text-decoration: none;
      font-size:14px;
      color: orange;
      margin:5px;
    }
    a.aurora-a:hover {
      background-color: #4c4c4c;
      color: orange;
    }
    ul.aurora-re {
      position:absolute;
      top:0.1rem;
      right:1.5rem;
      list-style-type: none;
      cursor: pointer;

    }
    ul.aurora-re-k {
      position:absolute;
      top:5rem;
      right:1rem;
      list-style-type: none;
      cursor: pointer;

    }
    span.hochversetzt{
      position: relative ;
      /*left: 10px;*/
      bottom: 6px;

    }
    /* Inhaltsverzeichnis */
    .aurora-toc {
      list-style: none;
      padding: 0;
      margin: 1rem 0 0;
      font-size: 0.95rem;
      line-height: 1.8;
      color: #dcdcdc;
      position: relative;
      z-index: 2;
    }

    .aurora-toc li {
      margin: 0.4rem 0;
      padding-left: 0.5rem;
      border-left: 2px solid rgba(46,127,168,0.4);
    }

    /* Triptychon */
    .aurora-triptychon {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .tafel {
      background: rgba(255, 255, 255, 0.02);
      border-radius: 16px;
      padding: 1.75rem 1.5rem 2rem;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.06);
      position: relative;
      overflow: hidden;
      animation: auroraBorder 9s ease-in-out infinite;
    }

    .tafel p.subtitle {
      font-size: 0.85rem;
      color: #b7b7b7;
      margin-bottom: 1.5rem;
    }

    .tafel p.text {
      font-size: 0.9rem;
      line-height: 1.6;
      color: #d0d0d0;
      margin-bottom: 1.5rem;
    }

    .symbol-wrapper {
      margin: 0 auto 1.5rem;
      width: 120px;
      height: 200px;
      position: relative;
    }

    .symbol-wrapper::before {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.03);
      background: radial-gradient(circle at top, rgba(46, 127, 168, 0.25), transparent 55%);
      opacity: 0.7;
      pointer-events: none;
      animation: auroraLines 10s linear infinite;
    }

    /*.ritual-text {
      margin-top: 1.5rem;
      font-size: 0.85rem;
      line-height: 1.6;
      text-align: left;
      color: #d4d4d4;
    }*/

    /*.ritual-text h3 {
      font-size: 0.9rem;
      margin: 1rem 0 0.4rem;
    }

    .ritual-text p {
      margin: 0 0 0.6rem;
    }*/

    /* Rubinpfad-Symbol */
    .rubinpfad-logo {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .rubinpfad-logo .pfad {
      position: absolute;
      left: 50%;
      top: 10px;
      width: 6px;
      height: 140px;
      background: var(--aurora-rubin);
      transform: translateX(-50%);
      border-radius: 3px;
    }

    .rubinpfad-logo .basis {
      position: absolute;
      bottom: 10px;
      left: 50%;
      width: 40px;
      height: 8px;
      background: #222;
      transform: translateX(-50%);
      border-radius: 2px;
    }

    .rubinpfad-logo .mars {
      position: absolute;
      top: 55px;
      left: 50%;
      transform: translateX(-50%);
    }

    .rubinpfad-logo .mars-circle {
      width: 26px;
      height: 26px;
      border: 3px solid #c7373f;
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(155, 28, 49, 0.6);
    }

    .rubinpfad-logo .mars-arrow {
      position: absolute;
      right: -6px;
      top: -2px;
      width: 12px;
      height: 3px;
      background: #c7373f;
      transform: rotate(25deg);
      border-radius: 2px;
    }

    .rubinpfad-logo .element {
      position: absolute;
      height: 3px;
      background: #aaa;
      border-radius: 2px;
    }

    .rubinpfad-logo .luft {
      top: 40px;
      left: 20px;
      width: 25px;
    }

    .rubinpfad-logo .feuer {
      top: 40px;
      right: 20px;
      width: 25px;
    }

    .rubinpfad-logo .erde {
      bottom: 35px;
      left: 50%;
      width: 50px;
      transform: translateX(-50%);
    }

    @keyframes rubinGlow {
      0%   { box-shadow: 0 0 4px rgba(155, 28, 49, 0.4); }
      50%  { box-shadow: 0 0 14px rgba(155, 28, 49, 0.9); }
      100% { box-shadow: 0 0 4px rgba(155, 28, 49, 0.4); }
    }

    .rubinpfad-logo .pfad,
    .rubinpfad-logo .mars-circle {
      animation: rubinGlow 3.5s ease-in-out infinite;
    }

    /* Chrysalis-Symbol */
    .chrysalis-symbol {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .chrysalis-symbol .cocoon {
      position: absolute;
      top: 10px;
      left: 50%;
      width: 70px;
      height: 160px;
      background: #0d0d0d;
      border-radius: 50% / 60%;
      transform: translateX(-50%);
      box-shadow: 0 0 18px rgba(94, 45, 121, 0.6);
    }

    .chrysalis-symbol .seed {
      position: absolute;
      top: 85px;
      left: 50%;
      width: 12px;
      height: 12px;
      background: var(--aurora-silber);
      border-radius: 50%;
      transform: translateX(-50%);
      animation: chrysalisPulse 4s ease-in-out infinite;
    }

    .chrysalis-symbol .base {
      position: absolute;
      bottom: 20px;
      left: 50%;
      width: 40px;
      height: 4px;
      background: var(--aurora-violett);
      transform: translateX(-50%);
    }

    @keyframes chrysalisPulse {
      0%   { transform: translateX(-50%) scale(1); opacity: 0.6; }
      50%  { transform: translateX(-50%) scale(1.35); opacity: 1; }
      100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    }

    /* Erster Flug-Symbol */
    .ersterflug-symbol {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .ersterflug-symbol .horizon {
      position: absolute;
      bottom: 30px;
      left: 50%;
      width: 70px;
      height: 3px;
      background: #333;
      transform: translateX(-50%);
    }

    .ersterflug-symbol .wing {
      position: absolute;
      bottom: 60px;
      left: 50%;
      width: 60px;
      height: 24px;
      border-radius: 50% 50% 10% 10%;
      background: linear-gradient(135deg, var(--aurora-glow), var(--aurora-silber));
      transform: translateX(-50%);
      box-shadow: 0 0 14px rgba(46, 127, 168, 0.7);
      animation: wingPulse 5s ease-in-out infinite;
    }

    .ersterflug-symbol .star {
      position: absolute;
      top: 40px;
      left: 50%;
      width: 8px;
      height: 8px;
      background: #ffffff;
      border-radius: 50%;
      transform: translateX(-50%);
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    @keyframes wingPulse {
      0%   { transform: translateX(-50%) translateY(0); opacity: 0.8; }
      50%  { transform: translateX(-50%) translateY(-6px); opacity: 1; }
      100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
    }

    /* Footer */
    #aurora-footer {
      margin-top: 0;
      padding: 1.5rem 1rem;
      text-align: center;
      background: linear-gradient(
        180deg,
        rgba(46,127,168,0.15),
        rgba(155,28,49,0.12),
        rgba(94,45,121,0.18),
        #05060a
      );
      border-top: 1px solid rgba(255,255,255,0.08);
      position: relative;
      overflow: hidden;
    }

    .footer-aurora {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top,
        rgba(46,127,168,0.25),
        transparent 60%
      );
      animation: auroraFooter 12s ease-in-out infinite;
      opacity: 0.5;
    }

    @keyframes auroraFooter {
      0%   { transform: translateY(0); opacity: 0.4; }
      50%  { transform: translateY(-10px); opacity: 0.8; }
      100% { transform: translateY(0); opacity: 0.4; }
    }

    .footer-text {
      position: relative;
      z-index: 2;
      color: #cfcfcf;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }


    /* PDF-Layout für Druck */
    @page {
      size: A4;
      margin: 20mm;
    }

    @media print {
      body {
        background: #ffffff;
        color: #000000;
      }
      main {
        max-width: 100%;
        padding: 0;
      }
      .aurora-chapter,
      .tafel {
        background: #ffffff;
        border-radius: 0;
        box-shadow: none;
        animation: none;
      }
      .aurora-lines,
      .symbol-wrapper::before,
      .footer-aurora {
        display: none;
      }
      #aurora-footer {
        background: #ffffff;
        border-top: 1px solid #000000;
      }
    }
    /* Ende: Aurora-Codex Layout */