  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

main {
    padding-top: 4rem; /* Erhöhe diesen Wert (z.B. 5rem oder 6rem), bis es passt */
    padding-bottom: 4rem;
}
:root {
    /* Diese Variablen überschreiben die Standardwerte von Jodit */
    --jd-color-primary: #c9a84c !important;    /* Dein Gold */
    --jd-background-main: #1a1a1a !important;  /* Dunkler Hintergrund */
    --jd-background-toolbar: #2a2a2a !important;
    --jd-color-text: #ffffff !important;
    --jd-border-color: #c9a84c !important;
}
  :root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dim: rgba(201,168,76,0.15);
    --ink: #0A0A0F;
    --surface: #111118;
    --surface2: #16161F;
    --text: #E8E0D0;
    --muted: #7A7060;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--ink);
    color: var(--text);
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding-top: 100px;
  }

  .stars {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 40% 8%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 60% 85%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 35% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
      radial-gradient(2px 2px at 47% 30%, rgba(201,168,76,0.4) 0%, transparent 100%),
      radial-gradient(2px 2px at 78% 52%, rgba(201,168,76,0.3) 0%, transparent 100%);
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 3rem;
    background: linear-gradient(to bottom, rgba(10,10,15,0.97), transparent);
    backdrop-filter: blur(4px);
  }

  .nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-decoration: none;
  }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.25s, color 0.25s;
  }
  .nav-links a:hover { opacity: 1; color: var(--gold); }

  /* HERO */
  .hero {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 2rem; overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(201,168,76,0.06) 0%, transparent 70%);
  }



  .hero-eyebrow {
    font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.4em;
    color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem;
    position: relative; animation: fadeUp 1s ease both;
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300; line-height: 1.1; letter-spacing: 0.02em;
    position: relative; animation: fadeUp 1s ease 0.15s both;
  }
  .hero-title em { font-style: italic; color: var(--gold-light); }

  .hero-subtitle {
    font-size: 14px; letter-spacing: 0.15em; color: var(--muted);
    text-transform: uppercase; margin-top: 1.5rem;
    position: relative; animation: fadeUp 1s ease 0.3s both;
  }

  .hero-divider {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 2.5rem auto 0; animation: fadeUp 1s ease 0.45s both;
  }

  .hero-actions {
    display: flex; gap: 1rem; margin-top: 2rem; flex-direction: column;
    position: relative; animation: fadeUp 1s ease 0.5s both;
  }
  .btn {
    font-family: 'Cinzel', serif; font-size: 11px;
    letter-spacing: 0.25em; text-transform: uppercase;
    text-decoration: none; padding: 0.9rem 2.2rem;
    transition: all 0.3s ease; cursor: pointer; display: inline-block;
  }
  .btn-primary { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
  .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
  .btn-outline { background: transparent; color: var(--gold); border: 1px solid rgba(201,168,76,0.4); }
  .btn-outline:hover { border-color: var(--gold); background: var(--gold-dim); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ABOUT */
  .about-strip {
    background: var(--surface);
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    padding: 5rem 2rem;
    position: relative; z-index: 1;
  }
  .about-inner { max-width: 800px; margin: 0 auto; text-align: center; }

  .about-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300; font-style: italic; line-height: 1.5; color: var(--text);
  }
  .about-quote span { color: var(--gold-light); }

  .about-body {
    /* margin-top: 2rem; font-size: 15px; color: var(--muted); line-height: 1.9; */
    font-size: 20px; line-height: 1.9;
    max-width: 600px; margin-left: auto; margin-right: auto;
  }

  /* CARDS */
  .section-wrap {
    position: relative; z-index: 1;
    padding: 6rem 2rem; max-width: 1100px; margin: 0 auto;
  }

  .section-rule {
    display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem;
  }
  .section-rule::before, .section-rule::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.3));
  }
  .section-rule::after { background: linear-gradient(to left, transparent, rgba(201,168,76,0.3)); }

  .section-label {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.4em; color: var(--gold);
    text-transform: uppercase; white-space: nowrap;
  }

  .cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px; background: rgba(201,168,76,0.1);
  }

  .card {
    background: var(--surface); padding: 2.5rem;
    transition: background 0.3s; position: relative; overflow: hidden;
  }
  .card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity 0.3s;
  }
  .card:hover { background: var(--surface2); }
  .card:hover::before { opacity: 1; }

  .card-number {
    font-family: 'Cormorant Garamond', serif; font-size: 3rem;
    font-weight: 300; color: rgba(201,168,76); line-height: 1; margin-bottom: 1rem;
  }
  .card-title { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 0.75rem; }
  /* .card-text { font-size: 14px; color: var(--muted); line-height: 1.8; } */
  .card-link {
    display: inline-block; margin-top: 1.5rem; font-size: 11px;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
    text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.3);
    padding-bottom: 2px; transition: border-color 0.2s;
  }
  .card-link:hover { border-color: var(--gold); }

  /* ORACLE SECTION */
  .oracle-section {
    position: relative; z-index: 1;
    padding: 0 2rem 6rem; max-width: 1100px; margin: 0 auto;
  }

  .oracle-intro { text-align: center; margin-bottom: 3rem; }

  .oracle-intro-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300; font-style: italic; color: var(--text); margin-bottom: 0.75rem;
  }

  .oracle-intro-sub { font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }

  /* ORACLE BOX */
  .kasten {
    position: relative; width: 100%; max-width: 860px; margin: 0 auto;
    background:
      radial-gradient(ellipse at 20% 20%, rgba(201,168,76,0.07) 0%, transparent 55%),
      radial-gradient(ellipse at 80% 80%, rgba(201,168,76,0.05) 0%, transparent 55%),
      radial-gradient(ellipse at 50% 50%, #1a1a2e 0%, #0d0d1a 100%);
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 12px;
    padding: 36px 28px 40px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(201,168,76,0.08), inset 0 0 80px rgba(0,0,0,0.4);
  }

  .kasten::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(1px 1px at 10% 15%, rgba(255,255,220,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 25% 40%, rgba(255,255,220,0.3) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,220,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 55% 55%, rgba(255,255,220,0.25) 0%, transparent 100%),
      radial-gradient(1px 1px at 70% 25%, rgba(255,255,220,0.4) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,255,220,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 15% 80%, rgba(255,255,220,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 10%, rgba(255,255,220,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 60% 90%, rgba(255,255,220,0.25) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 35% 65%, rgba(255,255,220,0.4) 0%, transparent 100%);
    pointer-events: none; z-index: 0;
  }

  .kasten > * { position: relative; z-index: 1; }

  .titel-bereich { text-align: center; margin-bottom: 24px; }
  .ornament { color: #c9a84c; font-size: 1.1rem; letter-spacing: 0.5em; opacity: 0.7; }

  .oracle-h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 900; color: #e8d08a;
    text-shadow: 0 0 20px rgba(201,168,76,0.5), 0 0 60px rgba(201,168,76,0.2);
    margin: 8px 0; letter-spacing: 0.05em;
  }

  .anleitung-wrapper {
    position: relative; border: 1px solid rgba(201,168,76,0.35);
    border-radius: 8px; padding: 20px 20px 16px;
    margin-bottom: 28px; background: rgba(0,0,0,0.25);
  }

  .anleitung-label {
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%); background: #0d0d1a;
    padding: 2px 14px; color: #c9a84c;
    font-family: 'Cinzel Decorative', serif; font-size: 0.7rem;
    letter-spacing: 0.15em; white-space: nowrap;
    border: 1px solid rgba(201,168,76,0.3); border-radius: 20px;
  }

  .anleitung-text { color: #ccc0a0; font-size: 0.97rem; line-height: 1.7; text-align: center; }
  .anleitung-text ol { text-align: left; display: inline-block; margin-top: 8px; padding-left: 1.2em; }
  .anleitung-text li { margin-bottom: 4px; }
  .highlight { color: #e8d08a; font-weight: 600; }

  .grid-container {
    display: grid; grid-template-columns: repeat(11, 1fr);
    gap: 3px; margin-bottom: 28px;
  }

  .zelle {
    aspect-ratio: 1; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.12); border-radius: 5px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: default; transition: background 0.2s, border-color 0.2s, transform 0.15s;
    overflow: hidden; position: relative;
  }
  .zelle::after {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transition: left 0.4s; pointer-events: none;
  }
  .zelle:hover::after { left: 160%; }
  .zelle:hover { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.4); transform: scale(1.06); z-index: 2; }

  .zell-zahl {
    font-family: 'Cinzel Decorative', serif; font-weight: 900;
    font-size: clamp(0.52rem, 1.4vw, 0.85rem);
    color: #d8bc72; line-height: 1; text-shadow: 0 0 6px rgba(201,168,76,0.25);
  }
  .zell-symbol { font-size: clamp(0.72rem, 1.9vw, 1.15rem); line-height: 1; margin-top: 2px; }

  .button-bereich { text-align: center; margin-bottom: 4px; }
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 120px; /* Dieser Wert muss groß genug sein, um unter dem Header zu starten */
}
  .orakel-btn {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    font-weight: 700; letter-spacing: 0.1em; color: #0d0d1a;
    background: linear-gradient(135deg, #c9a84c 0%, #e8d08a 50%, #c9a84c 100%);
    background-size: 200% 100%; border: none; border-radius: 6px;
    padding: 14px 36px; cursor: pointer;
    transition: background-position 0.4s, box-shadow 0.3s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
  }
  .orakel-btn:hover { background-position: 100% 0; box-shadow: 0 6px 30px rgba(201,168,76,0.5), inset 0 1px 0 rgba(255,255,255,0.3); transform: translateY(-2px); }
  .orakel-btn:active { transform: translateY(0); }

  .overlay {
    display: none; position: absolute; inset: 0;
    background: rgba(5,5,20,0.92); border-radius: 12px; z-index: 100;
    align-items: center; justify-content: center; flex-direction: column;
    backdrop-filter: blur(4px);
  }
  .overlay.aktiv { display: flex; }
  .partikel-canvas { position: absolute; inset: 0; pointer-events: none; }

  .ringe-wrapper {
    position: relative; width: 180px; height: 180px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  }
  .ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
  .ring-1 { width: 160px; height: 160px; border-top-color: #c9a84c; border-right-color: rgba(201,168,76,0.3); animation: ring-dreh 3s linear infinite; }
  .ring-2 { width: 130px; height: 130px; border-bottom-color: #e8d08a; border-left-color: rgba(232,208,138,0.3); animation: ring-dreh 2s linear infinite reverse; }
  @keyframes ring-dreh { to { transform: rotate(360deg); } }

  .enthuellung-symbol {
    font-size: clamp(3rem, 10vw, 5rem); line-height: 1;
    animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    z-index: 1; filter: drop-shadow(0 0 20px rgba(201,168,76,0.8));
  }
  @keyframes pop-in {
    from { transform: scale(0) rotate(-20deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg);   opacity: 1; }
  }

  .enthuellung-titel {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1rem, 3vw, 1.4rem); color: #e8d08a;
    text-align: center; margin-bottom: 28px;
    text-shadow: 0 0 20px rgba(201,168,76,0.6);
    animation: fade-in-up 0.6s 0.3s both;
  }
  @keyframes fade-in-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nochmal-btn {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(0.65rem, 1.8vw, 0.8rem); letter-spacing: 0.08em;
    color: #0d0d1a;
    background: linear-gradient(135deg, #c9a84c 0%, #e8d08a 50%, #c9a84c 100%);
    background-size: 200% 100%; border: none; border-radius: 6px;
    padding: 12px 30px; cursor: pointer;
    transition: background-position 0.4s, box-shadow 0.3s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
    animation: fade-in-up 0.6s 0.5s both;
  }
  .nochmal-btn:hover { background-position: 100% 0; box-shadow: 0 6px 30px rgba(201,168,76,0.5); transform: translateY(-2px); }
  .nochmal-btn:active { transform: translateY(0); }


main, .container {
    flex: 1; /* Drückt den Footer nach unten, wenn wenig Inhalt da ist */
}
  /* FOOTER */
  footer {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(201,168,76,0.1);
    padding: 3rem 2rem; text-align: center;
  }
  .footer-logo {
    font-family: 'Cinzel', serif; font-size: 16px;
    letter-spacing: 0.3em; color: var(--gold); margin-bottom: 1.5rem;
  }
  .footer-links {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 2rem; list-style: none; margin-bottom: 2rem;
  }
  .footer-links a {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-copy { font-size: 12px; color: rgba(122,112,96,0.5); letter-spacing: 0.05em; }

  .magic-symbol { width: 48px; height: 48px; margin: 0 auto 2rem; }
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
/* Den Footer als festes Ende definieren */
.main-footer {
    flex-shrink: 0; /* Footer wird nicht gequetscht */
    background: #050505;
    border-top: 2px solid var(--gold-dim);
    padding: 3rem 0 1.5rem;
    margin-top: auto; /* Schiebt ihn ganz nach unten */
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Das Grid-Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Die Sektionen im Footer */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

/* WICHTIG: Die Navigations-Liste */
.footer-nav-list {
    display: flex;
    flex-direction: column; /* Erzwingt das Untereinanderstehen */
    gap: 12px;
}

.footer-nav-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    display: block; /* Macht den Link zum Block-Element */
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.member-card {
    background: var(--surface2);
    border: 1px solid var(--gold-dim);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: contain; /* Das Bild wird eingepasst, nichts wird abgeschnitten */
    background: #000;    /* Schwarze Balken an den Seiten bei Hochkant-Bildern */
    filter: sepia(0.3) contrast(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-role {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.btn-text {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
}

.page-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gold);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--muted);
}

.gold-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 4rem 0;
    opacity: 0.5;
}
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.booking-card {
    background: var(--surface2);
    padding: 2rem;
    border: 1px solid var(--gold-dim);
    border-radius: 8px;
}

.magic-list {
    list-style: none;
    margin-top: 1.5rem;
}

.magic-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.magic-list li::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.contact-box {
    margin-top: 4rem;
    background: linear-gradient(145deg, var(--surface2) 0%, var(--ink) 100%);
    padding: 3rem;
    border: 1px solid var(--gold);
}

.contact-details {
    margin: 2rem 0;
    line-height: 1.8;
}

.cta-area {
    margin-top: 2rem;
}
.magic-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface2);
    padding: 3rem;
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    background: var(--ink);
    border: 1px solid var(--gold-dim);
    color: var(--text);
    padding: 0.8rem;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
}

.form-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem 0;
}

/* Die vertikale Linie in Gold */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, #c9a84c, #c9a84c, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}



.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* Abwechselnd links und rechts */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-date {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--surface2);
    padding: 1.5rem;
    border: 1px solid var(--gold-dim);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.timeline-item:hover .timeline-content {
    border-color: var(--gold);
}

/* Die Punkte auf der Linie */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    font-size: 1rem;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after { right: -15px; }
.timeline-item:nth-child(even)::after { left: -15px; }

/* Mobile Anpassung: Alles untereinander */
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 22px; }
}
.chronik-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 4rem 0 4rem 0;
    padding: 0;
    background: transparent; /* Kein Kasten mehr! */
    border: none;
}

.chronik-nav a {
    color: var(--gold);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.chronik-nav a:hover {
    color: var(--gold-light);
    opacity: 1;
    border-bottom: 1px solid var(--gold);
    transform: translateY(-2px);
}

/* Optional: Ein dezenter Trenner zwischen den Links */
.chronik-nav a:not(:last-child)::after {
    content: "|";
    margin-left: 20px;
    color: var(--gold-dim);
    pointer-events: none;
}

/* Verhindert, dass die Navigation unter den fixen Header rutscht beim Springen */
.timeline-item {
    scroll-margin-top: 120px; /* Hier den Wert deines Headers eintragen */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.step-card {
    background: var(--surface2);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.step-card.highlight {
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 3rem;
    /* color: var(--gold-dim);
    opacity: 0.3; */
}

.location-hint {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gold-dim);
    font-size: 0.85rem;
    color: var(--muted);
}

.info-text-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Login & Logout */
.login-page { background: var(--ink); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-card { background: var(--surface2); padding: 3rem; border-radius: 12px; border: 1px solid var(--gold-dim); width: 100%; max-width: 400px; }
.login-logo { width: 80px; margin-bottom: 1rem; }

/* Sparten-Ansicht */
.sparten-section { margin-bottom: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(201, 168, 76, 0.1); }
.sparten-header { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.sparten-icon { width: 60px; height: 60px; filter: sepia(1) saturate(2); }

.artist-grid-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.artist-tile a { text-decoration: none; display: block; text-align: center; }
.artist-tile img, .artist-tile .no-pic { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; border: 1px solid var(--gold-dim); }
.artist-name { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--gold); }
.loader-container {
    width: 100%;
    height: 4px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 2px;
    margin: 2rem 0;
    overflow: hidden;
}

.loader-bar {
    width: 30%;
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    animation: loadingMove 2s infinite ease-in-out;
}

@keyframes loadingMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.logout-content p {
    margin-bottom: 0.5rem;
}

.form-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Button */
    gap: 1rem;
}

/* Falls der Button im Formular noch "Reset-Styles" vom Browser hat: */
.magic-form button.cta-button {
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif; /* Passend zum magischen Thema */
    min-width: 250px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.muted-text {
    font-size: 0.8rem;
    opacity: 0.5;
    font-style: italic;
}
/* Strategischer Footer-Fix */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Mindestens so hoch wie der Bildschirm */
    margin: 0;
}

main, .container, .container-intern {
    flex: 1 0 auto; /* Dieser Teil saugt allen Platz auf und drückt den Footer nach unten */
}

.main-footer {
    flex-shrink: 0; /* Der Footer darf nicht zusammengedrückt werden */
    width: 100%;
    background: #050505;
    border-top: 2px solid var(--gold-dim);
    position: relative;
    z-index: 10;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei gleich große Spalten */
    gap: 4rem;
    align-items: start;
}

.contact-info-text p {
    margin-bottom: 1rem;
}

.contact-info-text h4 {
    margin-bottom: 0.5rem;
    color: var(--gold);
}

/* Mobile Optimierung: Untereinander auf kleinen Schirmen */
@media (max-width: 850px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.legal-content {
    max-width: 800px; /* Bessere Lesbarkeit für lange Texte */
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h3 {
    margin-top: 2rem;
    border-bottom: 1px solid var(--gold-dim);
    padding-bottom: 0.5rem;
}

.legal-section h4 {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--gold-light);
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify; /* Klassischer Look für Impressum */
}

.gold-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
    margin: 3rem 0;
}

.address-display p {
    margin-bottom: 0.2rem;
    text-align: left; /* Adresse nicht im Blocksatz */
}
/* Admin Dashboard Grid */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.admin-card {
    background: var(--surface2);
    border: 1px solid var(--gold-dim);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 2.5rem;
    background: var(--gold-dim);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-info h3 {
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.card-info p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Admin-Tabellen (für admin.php, beitraege.php etc.) */
.admin-table-wrapper {
    overflow-x: auto;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--gold-dim);
    margin-top: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    background: var(--surface2);
    color: var(--gold);
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--gold-dim);
}

.admin-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table tr:hover {
    background: rgba(201, 168, 76, 0.05);
}

/* Links im Admin-Bereich lesbar machen */
.admin-table a, 
.admin-card a, 
.gold-text {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.admin-table a:hover, 
.gold-text:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Falls die Links außerhalb von Tabellen stehen */
main a {
    color: var(--gold-light);
}
/* Erzwungene Lesbarkeit für Admin-Tabellen */
.admin-table a {
    color: var(--gold-light) !important;
    text-decoration: none;
}
.admin-table a:hover {
    color: var(--gold) !important;
    text-decoration: underline;
}
.admin-table strong {
    color: var(--gold);
}
main.container {
    /* Der Wert sollte mindestens so hoch sein wie dein Header (meist 6rem - 8rem) */
    padding-top: 8rem !important; 
    flex: 1 0 auto;
    position: relative;
    z-index: 1;
}
/* Trennung der Mitglieder in der Liste */
.admin-table tr.member-row-start td {
    padding-top: 3rem; /* Großer Abstand zur vorherigen Person */
    border-top: 2px solid var(--gold-dim); /* Goldene Trennlinie */
}

.admin-table tr.member-row-start strong {
    font-size: 1.2rem;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 0.5rem;
}
/* Falls du einen zentralen Container nutzt (z.B. <main> oder .container) */
main, .container, .login-card {
    margin-top: 2rem;
}
.email-list-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gold-dim);
    color: #ccc;
    padding: 15px;
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre-wrap; /* Zeilenumbruch bei langen Listen */
    word-break: break-all;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.email-list-box:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.verteiler-section h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

/* Container für die Symbole */
.nav-icon {
    font-size: 1.6rem; /* Deutlich größer */
    display: inline-block;
    transition: all 0.2s ease-in-out;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5)); /* Leichter Schatten für Tiefe */
}

/* Hover-Effekt: Vergrößern und Leuchten */
.nav-links a:hover .nav-icon {
    transform: scale(1.4) translateY(-3px); /* Pop-Out Effekt */
    filter: drop-shadow(0 0 8px var(--gold));
}

/* Spezieller Effekt für den Admin-Blitz */
.admin-bolt {
    color: var(--gold);
}

/* Kleinere Icons für die Member-Zone (Settings/Logout) */
.nav-icon-small {
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Abstandshalter */
.nav-divider {
    width: 2px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
    display: inline-block;
    vertical-align: middle;
}

/* Damit die Navigationsleiste alles auf einer Linie hält */
.nav-links {
    display: flex;
    align-items: center;
    gap: 5px; /* Kleinerer Gap, da Icons selbst Platz brauchen */
}
/* In der style.css ergänzen */
.admin-table-wrapper {
    width: 100%;
    overflow-x: auto; /* Erlaubt seitliches Scrollen nur innerhalb der Tabelle */
    -webkit-overflow-scrolling: touch;
}

.login-card {
    width: 95%; /* Nutzt fast die volle Breite auf Handys */
    max-width: 900px; /* Bleibt aber auf Desktops kompakt */
    margin: 8rem auto 2rem;
}

.profil-card {
    width: 95%; /* Nutzt fast die volle Breite auf Handys */
    max-width: 900px; /* Bleibt aber auf Desktops kompakt */
    margin: 1rem auto 2rem;
}

/* Responsives Menü */
.nav-links {
    display: flex;
    flex-wrap: wrap; /* Erlaubt das Umbrechen der Icons */
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

@media (max-width: 600px) {
    .nav-icon {
        font-size: 1.3rem; /* Auf sehr kleinen Handys Icons etwas verkleinern */
    }
    
    .member-zone {
        width: 100%; /* Name und Logout unter die Icons schieben */
        justify-content: center;
        margin-top: 10px;
    }
    
    main.container {
        padding-top: 12rem; /* Mehr Platz oben, falls die Nav zweizeilig wird */
    }
}
/* Jodit an das Zirkel-Design anpassen */
:root {
    --jd-color-primary: #c9a84c;      /* Dein Gold für Buttons/Icons */
    --jd-background-main: #1a1a1a;    /* Hintergrund des Editor-Fensters */
    --jd-background-toolbar: #2a2a2a; /* Hintergrund der Werkzeugleiste */
    --jd-color-text: #eeeeee;         /* Textfarbe im Editor */
    --jd-border-color: #444444;       /* Rahmenfarbe */
}

/* Den aktiven Button-Zustand vergolden */
.jodit-toolbar-button_active {
    background-color: rgba(201, 168, 76, 0.2) !important;
}

/* Die Umrandung des Editors bei Fokus */
.jodit_focused {
    border-color: #c9a84c !important;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.2) !important;
}
.jodit_theme_dark.jodit-container {
    background-color: #1a1a1a !important;
    border-color: #6b6b6b !important;
}

.jodit_theme_dark .jodit-toolbar__box:not(:empty) {
    background: #1a1a1a !important;
}

.jodit_theme_dark .jodit-wysiwyg {
    background-color: #1a1a1a !important;
    color: #d1cccc !important;
}
jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) {
    background-color: #1a1a1a;
    border-color: #6b6b6b;
    color: #d1cccc;
}
/* Der primäre Anmelde-Button */
.cta-button.primary {
    background: linear-gradient(135deg, #c9a84c 0%, #a38535 100%);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%; /* Button über die volle Breite wirkt moderner */
    margin-top: 10px;
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #e0bc5a 0%, #c9a84c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.2);
}

/* Container für die Links unter dem Button */
.login-footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between; /* Trennt 'Passwort vergessen' und 'Zurück' */
    font-size: 0.85rem;
}

/* Styling für die Links */
.login-link {
    color: #bcbcbc;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.login-link:hover {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

.login-link.back-link::before {
    content: "← "; /* Automatischer Pfeil für den Zurück-Link */
}

/* Container für die Liste */
.document-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Einzelne Zeile */
.document-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.document-row:last-child {
    border-bottom: none;
}

.document-row:hover {
    background: rgba(201, 168, 76, 0.07);
}

/* Icon Styling */
.doc-icon {
    font-size: 1.5rem;
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

/* Text-Bereich */
.doc-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doc-title {
    color: #eee;
    font-weight: 500;
    font-size: 1.05rem;
}

.doc-meta {
    color: #888;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Download Link Styling */
.doc-dl-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 12px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-dl-link:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.dl-text {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .dl-text { display: none; } /* Nur Icon auf dem Handy */
    .doc-icon { margin-right: 10px; }
}

.gold-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.gold-link:hover {
    color: #fff;
    border-bottom: 1px solid var(--gold);
    text-shadow: 0 0 8px var(--gold);
}