﻿/* =========================================================
   GLOBAL – Basislayout für ALLE Plattformen & Browser
   Plattform: Desktop + Tablet + Mobile
   Browser: Chrome, Firefox, Safari, Edge, Samsung Browser
   Zweck: Grundtypografie, Hintergrund, Standardabstände
========================================================= */
body {
  margin: 0;
  padding-top: 70px;      /* Platz für fixierten Header */
  padding-bottom: 80px;   /* Platz für fixierten Footer */
  min-height: 100vh;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #000000;
  line-height: 1.6;

  /* Hintergrundbild – fixiert, zentriert */
  background-image: url(../images/badenwappen3Wasser.gif);
  background-attachment: fixed;   /* Desktop: ok / Mobile: Safari ignoriert */
  background-repeat: no-repeat;
  background-position: center;
}

/* =========================================================
   HEADINGS – globale Typografie
   Plattform: Alle
   Browser: Alle
   Zweck: Einheitliche Überschriften
========================================================= */
h1 {
    font-size: 32px;
    font-weight: 600;
    color: #7a3f2a;
    text-align: center;
    margin: 10px 0 15px 0;
    letter-spacing: 1px;
}

h2, .h2 {
  font-size: 26px;
  font-weight: 500;
  color: #5C2A22;
  margin: 30px 0 15px 0;
}

h3 {
  font-size: 20px;
  font-weight: 300;
  color: #b44a3a;
  margin: 15px 0 8px;
}

/* =========================================================
   TEXT & LINKS – global
   Plattform: Alle
   Browser: Alle
========================================================= */
p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #000000;
}

a {
  color: #b44a3a;
  text-decoration: none;
  font-size: 14px;
}

/* =========================================================
   RAHMEN – universelle Box ohne sichtbare Ränder
   Plattform: Alle
   Browser: Alle
========================================================= */
.rahmen {
  box-sizing: border-box;
  width: 100%;
  padding: 23px 25px;
  margin: 6px 0;

  background: transparent;   /* KEINE Hintergrundfarbe */
  border: none;              /* KEINE Linie */
  box-shadow: none;          /* KEIN Schatten */

  color: inherit;            /* nutzt globale Textfarbe */
}

/* =========================================================
   HORIZONTALE LINIE – global
   Plattform: Alle
   Browser: Alle
========================================================= */
hr {
    border: none;
    border-top: 1px solid #D8C4A8;
    width: 60%;
    margin: 25px auto;
    opacity: 0.7;
}

/* =========================================================
   HERO – Startseitenbereich
   Plattform: Desktop + Mobile
   Browser: Alle
   Zweck: Intro-Bereich mit Logo & Text
========================================================= */
.hero {
  text-align: center;
  padding: 30px 20px 10px;
  margin-top: 0;
  z-index: 0;
}

/* Logo – Drop-Shadow funktioniert in allen Browsern */
.hero-logo {
  width: 360px;
  max-width: 90%;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.hero p {
  font-size: 18px;
  color: #7a3f2a;						/* warmes Braun */
  margin: 8px 0;
}

.hero-welcome {
  font-size: 16px;
  font-weight: 600;
  color: #b44a3a;
  margin: 5px 0;
}

.hero-sub {
  font-size: 14px;
  color: #000000;
  margin: 5px 0 15px;
}

/* =========================================================
   ÜBER UNS – Textbereich
   Plattform: Desktop + Mobile
   Browser: Alle
   Zweck: zentrierter Contentblock
========================================================= */
.about {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ---------------------------------------------------------
   NEWS – BEREINIGTE VERSION
--------------------------------------------------------- */

.center-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-entry {
    display: flex;
    flex-direction: column; /* untereinander */
    align-items: center;    /* zentriert */
    text-align: center;     /* Text mittig */
    gap: 6px;
    
    padding: 12px 20px;
    margin-bottom: 12px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);

    border-radius: 50px;
    border: 1px solid rgba(239, 216, 181, 0.6);
}

.news-date {
    font-weight: bold;
    color: #b44a3a;
    font-size: 16px;
}

.news-text {
    color: inherit;
}

/* ---------------------------------------------------------
   EHRENTAFEL – PREMIUM VERSION MIT DIAMANT-LINIE
--------------------------------------------------------- */

.ehrentafel {
    text-align: center;
    margin: 30px auto 45px;
    padding: 30px 25px;

    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(6px);

    border-radius: 16px;
    border: 1px solid rgba(239, 216, 181, 0.75);

    max-width: 700px;

    position: relative;
    z-index: 2;

    opacity: 0;
    transform: translateY(12px);
    animation: ehrentafelFadeIn 0.9s ease forwards;
}

/* Kopfzeile */
.ehrentafel-header {
    font-size: 20px;
    font-weight: 700;
    color: #7a3f2a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.ehrentafel-header::after {
    content: "";
    display: block;
    width: 70%;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(to right, transparent, #EFD8B5, transparent);
    border-radius: 2px;
}

/* Logo */
.ehrentafel-logo {
    width: 160px;
    height: auto;
    margin: 15px auto 10px;
    display: block;
    float: none;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

/* Name */
.ehrentafel-name {
    font-size: 28px;
    font-weight: 700;
    color: #b44a3a;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* Gründungsjahr */
.ehrentafel-jahr {
    font-size: 17px;
    font-weight: 600;
    color: #7a3f2a;
    margin-top: 4px;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* ---------------------------------------------------------
   DIAMANT-LINIE MIT GLOW & ANIMATION (gehört zu den News)
--------------------------------------------------------- */

.ehrentafel-punkte {
    position: relative;
    width: 100%;
    height: 20px;
    margin: 12px 0 16px;
}

/* horizontale Linie */
.ehrentafel-punkte::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, #EFD8B5, transparent);
    transform: translateY(-50%);
    opacity: 0.7;
}

/* Mini-Diamant */
.ehrentafel-punkte::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;

    background: #EFD8B5;
    transform: translate(-50%, -50%) rotate(45deg);

    border-radius: 2px;

    box-shadow:
        0 0 6px rgba(239, 216, 181, 0.9),
        0 0 12px rgba(239, 216, 181, 0.6);

    animation: diamantPulse 2.4s ease-in-out infinite;
}

/* Puls-Animation */
@keyframes diamantPulse {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        box-shadow:
            0 0 6px rgba(239, 216, 181, 0.9),
            0 0 12px rgba(239, 216, 181, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1.25);
        box-shadow:
            0 0 10px rgba(239, 216, 181, 1),
            0 0 18px rgba(239, 216, 181, 0.9);
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        box-shadow:
            0 0 6px rgba(239, 216, 181, 0.9),
            0 0 12px rgba(239, 216, 181, 0.6);
    }
}

/* Einblend-Animation */
@keyframes ehrentafelFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------------------------------------------------------
   MARQUEE – gehört zu den News
--------------------------------------------------------- */
.marquee-container {
    width: 95%;
    overflow: hidden;
    background-color: #EFD8B5; /* gleiche warme Farbe wie News-Rahmen */
    color: #7a3f2a;            /* ruhiger, warmer Textton */
    white-space: nowrap;
    box-sizing: border-box;
    padding: 12px 0;
    border-radius: 8px;        /* gleiche Rundung wie .news-item */
    margin: 20px auto;         /* sauberer Abstand */
    font-weight: 500;
    border: 1px solid #D8C4A8; /* dezenter Rand */
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
    font-size: 22px;
    letter-spacing: 0.3px;
}

@keyframes marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* ---------------------------------------------------------
   Liga
--------------------------------------------------------- */
/* Spielmodus */

.liga-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    overflow: hidden;
}

.liga-table th {
    background: #EFD8B5;
    color: #5C2A22;
    padding: 10px;
    font-weight: 600;
    text-align: center;
}

.liga-table td {
    padding: 10px;
    text-align: center;
    border-top: 1px solid rgba(239, 216, 181, 0.6);
}

/* ---------------------------------------------------------
   Ausschreibungen
--------------------------------------------------------- */

.ausschreibungen-wrapper {
    text-align: center;
}

.ausschreibung-block {
    margin: 25px 0;
}

.ausschreibung-block img {
    width: 550px;
    max-width: 95%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);

    box-shadow:
        0 3px 4px rgba(0,0,0,0.18),
        0 8px 18px rgba(0,0,0,0.15);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ausschreibung-block img:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.22),
        0 12px 24px rgba(0,0,0,0.18);
}

/* Grid für Turnierpläne */

.turnier-col h3 {
    text-align: center;
    margin-bottom: 12px;
    color: #7a3f2a;
}

.turnier-col a {
    display: block;
    padding: 8px 12px;
    margin-bottom: 6px;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(239,216,181,0.5);
    border-radius: 6px;
    backdrop-filter: blur(4px);

    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

.turnier-col a:hover {
    background: rgba(255,255,255,0.22);
}

/* =========================================================
   KONTAKT – Vorstandskarten
   Plattform: Desktop + Mobile
   Browser: Alle
   Zweck: Kartenlayout mit Bild + Text
========================================================= */
.vorstand-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.vorstand-card {
    display: flex;
    gap: 25px;

    /* Glas-Effekt – Safari unterstützt backdrop-filter */
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.50);
    backdrop-filter: blur(3px);

    align-items: flex-start;
    position: relative;
}

.vorstand-card img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.vorstand-content {
    flex: 1;
    margin-top: -15px; /* optischer Ausgleich */
}

/* Typografie */
.vorstand-title {
    font-size: 22px;
    font-weight: 600;
    color: #b44a3a;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.vorstand-name {
    font-size: 20px;
    font-weight: 400;
    color: #5C2A22;
    margin-bottom: 15px;
}

.vorstand-info {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 10px;
}

.vorstand-mail a {
    color: inherit;
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.25s ease;
}

.vorstand-mail a:hover {
    color: #A67C00;
    font-size: 16px;
}

/* =========================================================
   KONTAKT – Desktop-Layout
   Plattform: Desktop (min-width: 900px)
   Browser: Alle
   Zweck: 2‑Spalten‑Grid
========================================================= */
@media (min-width: 900px) {
    .vorstand-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 50px;
        padding: 0 40px 60px 40px;
    }

    .vorstand-card {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        padding: 20px;
    }
    
    .vorstand-card img {
        width: 200px;
    }
}

/* =========================================================
   DOWNLOAD-SEITE – Standard-Downloadboxen
   Plattform: Desktop + Mobile
   Browser: Alle
   Zweck: Einheitliche Download-Elemente mit Glas-Effekt
========================================================= */
.download-box {
    max-width: 700px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-box a {
    display: block;
    padding: 10px 15px;

    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(239,216,181,0.6);
    border-radius: 8px;
    backdrop-filter: blur(4px);

    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

.download-box a:hover {
    background: rgba(255,255,255,0.25);
}

/* Grid für Turnierpläne */
.turnier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.turnier-col h3 {
    text-align: center;
    margin-bottom: 12px;
    color: #7a3f2a;
}

.turnier-col a {
    display: block;
    padding: 8px 12px;
    margin-bottom: 6px;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(239,216,181,0.5);
    border-radius: 6px;
    backdrop-filter: blur(4px);

    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

.turnier-col a:hover {
    background: rgba(255,255,255,0.22);
}

/* ---------------------------------------------------------
   DOWNLOAD-SEITE – PDF ICONS
--------------------------------------------------------- */

.download-box a::before,
.turnier-col a::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;

    background-image: url('../images/pdf.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.85;
}

/* Hover: Icon leicht heller */
.download-box a:hover::before,
.turnier-col a:hover::before {
    opacity: 1;
}

/* Aktiver/hover Link – Download-Seite */
.download-box a:hover,
.turnier-col a:hover {
    background: rgba(239, 216, 181, 0.35);   /* warmes Gold */
    border-color: rgba(239, 216, 181, 0.9);
    transform: translateX(4px);              /* leichte Bewegung */
}

/* Optional: aktiver Zustand beim Klicken */
.download-box a:active,
.turnier-col a:active {
    background: rgba(239, 216, 181, 0.55);
    transform: translateX(2px);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    justify-items: center;
    margin: 20px 0 40px 0;
}

.link-grid a img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 12px;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);

    box-shadow:
        0 3px 4px rgba(0,0,0,0.18),
        0 8px 18px rgba(0,0,0,0.15);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.link-grid a img:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.22),
        0 12px 24px rgba(0,0,0,0.18);
}
/* ---------------------------------------------------------
   EWIGENLISTEN – STANDARDTABELLEN (170+, 180er, Highfinish…)
--------------------------------------------------------- */

.ewigen-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px auto 50px auto;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    overflow: hidden;
}

.ewigen-table th {
    background: #EFD8B5;
    color: #5C2A22;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(239,216,181,0.7);
}

.ewigen-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(239,216,181,0.35);
    font-size: 15px;
}

.ewigen-table tr:nth-child(even) {
    background: rgba(255,255,255,0.15);
}

.ewigen-table tr:hover {
    background: rgba(239,216,181,0.35);
    transition: 0.2s ease;
}

/* ---------------------------------------------------------
   EWIGENLISTEN – MEISTERTABELLEN (BZ / A / B / C)
--------------------------------------------------------- */

.ewigen-master-table {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 40px auto;
    border-collapse: collapse;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    overflow: hidden;
}

.ewigen-master-table th {
    background: #EFD8B5;
    color: #5C2A22;
    padding: 10px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.ewigen-master-table td {
    padding: 10px;
    font-size: 15px;
    border-bottom: 1px solid rgba(239,216,181,0.35);
}

.ewigen-master-table tr:nth-child(even) {
    background: rgba(255,255,255,0.15);
}

.ewigen-master-table tr:hover {
    background: rgba(239,216,181,0.35);
}

/* ---------------------------------------------------------
   EWIGENLISTEN – NAVIGATION (BZ / A / B / C)
--------------------------------------------------------- */

.ewigen-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto 30px auto;
}

.ewigen-nav a,
.ewigen-nav span {
    padding: 8px 16px;
    background: #FFEFD5;
    border: 1px solid #EFD8B5;
    border-radius: 10px;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    transition: 0.2s ease;
}

.ewigen-nav a:hover {
    background: #EFD8B5;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

.ewigen-nav .active {
    background: #66ffff;
    font-weight: 700;
}

/* Fix: Anker sollen NICHT unter dem fixierten Header verschwinden */
.ewigen-nav span[id],
.ewigen-nav a[id] {
    scroll-margin-top: 120px; /* 65px Header + etwas Luft */
}

/* =========================================================
   GEDENKEN – ruhige Bilddarstellung
   Plattform: Desktop + Mobile
   Browser: Alle
   Zweck: Fade-In + dezenter Hover
========================================================= */
.gedenken-wrapper {
    text-align: center;
    margin-top: 40px;
}

.gedenken-wrapper img {
    width: 550px;
    height: auto;
    border-radius: 12px;
    margin: 35px 0;

    opacity: 0;
    transform: translateY(20px);

    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;

    box-shadow:
        0 3px 4px rgba(0,0,0,0.18),
        0 8px 18px rgba(0,0,0,0.15);
}

.gedenken-wrapper img.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.22),
        0 12px 24px rgba(0,0,0,0.18);
}

/* Minimaler Hover – kaum sichtbar, aber hochwertig */
.gedenken-wrapper img:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.22),
        0 12px 24px rgba(0,0,0,0.18);
}

/* Dezente Trennlinien */
.gedenken-wrapper hr {
    width: 50%;
    border: none;
    border-top: 1px solid #D8C4A8;
    margin: 20px auto 40px auto;
    opacity: 0.6;
}

.burger {
    width: 32px;
    height: 24px;
    display: none; /* Desktop ausblenden */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 3000;
}

.burger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: 0.35s ease;
}

/* Animation */
.burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* =========================================================
   DESKTOP-BEREICH – ab 1025px
   Plattform: Desktop
   Browser: Chrome, Firefox, Safari, Edge, Samsung Browser
   Zweck: Header, Navigation, Submenüs, Quicklinks, Footer
========================================================= */
@media (min-width: 1025px) {

    /* -----------------------------------------------------
       FOOTER – fixiert unten
    ----------------------------------------------------- */
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #FFEFD5;
        border-top: 1px solid #ff0000;
        border-radius: 12px 12px 0 0;
        padding: 8px 0;
        z-index: 1500;
        text-align: center;
        font-weight: normal;
        box-shadow:
            0 -3px 4px rgba(0,0,0,0.25),
            0 -8px 18px rgba(0,0,0,0.22),
            0 -14px 28px rgba(0,0,0,0.18);
    }

    .footer-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .footer-nav a {
        display: block;
        padding: 4px 10px;            			 /* kompakter */
        border-radius: 10px;
        font-size: 16px;
        color: #000000;
        transition: 0.2s ease;
        white-space: nowrap;
    }

    .footer-nav a:hover {
        background: #EFD8B5;
        box-shadow: 0 0 10px rgba(0,0,0,0.25);
    }

    /* -----------------------------------------------------
       HEADER – fixiert oben
    ----------------------------------------------------- */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 65px;
        background: #FFEFD5;
        border: 1px solid #ff0000;
        border-radius: 0 0 12px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        z-index: 2000;

        box-shadow:
            0 3px 4px rgba(0,0,0,0.25),
            0 8px 18px rgba(0,0,0,0.22),
            0 14px 28px rgba(0,0,0,0.18);
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 24px;
        font-weight: bold;
        color: #000000;
    }

    .logo-img {
        width: 93px;
        height: 60px;
        object-fit: contain;
    }

    /* -----------------------------------------------------
       NAVIGATION – Hauptmenü
    ----------------------------------------------------- */
    .nav {
        flex: 1;
        margin-left: 70px;
    }

    .nav > ul {
        display: flex;
        gap: 25px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav > ul > li {
        position: relative;
    }

    .nav > ul > li > a {
        display: block;
        padding: 12px 10px;
        font-size: 17px;
        color: #000000;
        white-space: nowrap;
        border-radius: 6px;
        transition: 0.2s ease;
    }

    /* -----------------------------------------------------
       SUBMENÜ – 1. Ebene
    ----------------------------------------------------- */
    .header .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #FFEFD5;
        border: 1px solid #EFD8B5;
        border-radius: 8px;
        min-width: 180px;
        padding: 0;
        margin: 0;
		list-style: none;
        opacity: 0;
        transform: translateY(5px);
        transition: opacity 0.25s ease, transform 0.25s ease;

        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .header .submenu li a {						/* Kompaktere 1. Ebene */
        display: block;
        padding: 6px 10px;
        font-size: 14px;
        line-height: 1.2;
        color: #000000;
        border-radius: 6px;
        transition: 0.2s ease;
    }

    .header .nav > ul > li:hover > .submenu {	/* Hover zeigt Submenü (nur Header) */
        display: block;
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

    /* -----------------------------------------------------
       SUBMENÜ – 2. Ebene
    ----------------------------------------------------- */
    
    .header .submenu .submenu li a {
      padding: 6px 10px;
      font-size: 14px;
      line-height: 1.2;
 	}
    
    .header .submenu .has-submenu {
        position: relative;
    }

    .header .submenu .has-submenu > .submenu {
        top: 0;
        left: 100%;
        background: #FFEFD5;
        border: 1px solid #EFD8B5;
        border-radius: 8px;
        min-width: 180px;

        opacity: 0;
        transform: translateY(5px);
        transition: opacity 0.25s ease, transform 0.25s ease;

        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .header .submenu .has-submenu:hover > .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

    /* -----------------------------------------------------
       HOVER-EFFEKTE
    ----------------------------------------------------- */
    .header .nav a:hover,
    .header .submenu a:hover {
        background: #EFD8B5;
        color: #000000;
        border-radius: 6px;
        box-shadow: 0 0 10px rgba(0,0,0,0.25);
    }

    /* -----------------------------------------------------
       PFEILE – 1. & 2. Ebene
    ----------------------------------------------------- */
    .header .has-submenu > a::after,
    .header .submenu .has-submenu > a::after {
        font-size: 0.75rem;
        margin-left: 8px;
        color: #b44a3a;
        opacity: 0.85;
        transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    }

    .header .has-submenu > a::after {			/* Pfeil nach unten (1. Ebene) */
        content: "▼";
    }

    .header .submenu .has-submenu > a::after {	/* Pfeil nach rechts (2. Ebene) */
        content: "►";
    }

    .header .has-submenu:hover > a::after {		/* Animationen */
        color: #ff6a4a;
        opacity: 1;
        transform: rotate(180deg);
    }

    .header .submenu .has-submenu:hover > a::after {
        color: #ff6a4a;
        opacity: 1;
        transform: translateX(4px);
    }

    /* -----------------------------------------------------
       QUICKLINKS – Hauptbuttons
    ----------------------------------------------------- */
    .quicklinks {
        position: absolute;
	    top: 135px;
	    right: 25px;
	    display: flex;
	    flex-direction: column;
	    gap: 10px;
	    width: auto;
	    z-index: 3000;
	    font-weight: normal !important;
	}
	
	/* Quicklinks – Bullet-Punkte entfernen */
	.quicklinks,
	.quicklinks ul,
	.quicklinks li {
	    list-style: none !important;
	    margin: 0;
	    padding: 0;
	}

    .quicklinks .ql-item {
        background: #FFEFD5;
        padding: 5px 12px;
        padding-right: 34px;       /* Platz für Pfeil */
        border-radius: 10px;
        border: 1px solid #ff0000;
        cursor: pointer;
        position: relative;
        font-size: 16px;
        color: #000000;
        white-space: nowrap;       /* verhindert Zeilenumbruch */
        min-width: 150px;          /* +30px breiter, Breite anpassen */

        transition: transform 0.25s ease, box-shadow 0.25s ease;

        box-shadow:
            0 3px 4px rgba(0,0,0,0.25),
            0 8px 18px rgba(0,0,0,0.22),
            0 14px 28px rgba(0,0,0,0.18);
    }

    .quicklinks .ql-item:hover {			/* Hover hebt Button sichtbar an */
        transform: translateY(-3px);
        box-shadow:
            0 4px 6px rgba(0,0,0,0.28),
            0 12px 24px rgba(0,0,0,0.25),
            0 18px 36px rgba(0,0,0,0.22);
    }

    /* -----------------------------------------------------
       QUICKLINKS – PFEILE FÜR DIE OBERSTE EBENE
    ----------------------------------------------------- */
    .quicklinks .ql-item.has-submenu > .ql-title::after {
        content: "◀";
        font-size: 0.75rem;
        color: #b44a3a;
        opacity: 0.85;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    }

    .quicklinks .ql-item.has-submenu:hover > .ql-title::after {
        color: #ff6a4a;
        opacity: 1;
        transform: translateY(-50%) translateX(-4px);
    }

    /* -----------------------------------------------------
       QUICKLINKS – Submenü 1. Ebene
    ----------------------------------------------------- */
    .quicklinks .submenu {
        position: absolute;
        top: -20px !important;     /* Top-Fix wegen Hover-Lift Höhe anpassen */
        right: 100%;
        background: #FFEFD5;
        border: 1px solid #ff0000;
        border-radius: 10px;
        min-width: 160px;
        padding: 0;
        margin-right: -1px;        /* ← DAS ist der Abstand nach rechts */
        display: none;
        z-index: 5000;
        white-space: nowrap;

        max-height: 280px;
        overflow-y: visible;

        box-shadow:					/* ULTRA‑3D */
            0 4px 6px rgba(0,0,0,0.25),
            0 10px 22px rgba(0,0,0,0.22),
            0 16px 32px rgba(0,0,0,0.18);
    }

    .quicklinks .submenu li a {
        display: block;
        padding: 7px 10px;
        color: #000000;
        font-size: 15px;
    }

    .quicklinks .submenu li a:hover {
        background: #EFD8B5;
    }

    .quicklinks .ql-item:hover > .submenu {		/* Hover öffnet 1. Ebene */
        display: block !important;
    }

    /* -----------------------------------------------------
       QUICKLINKS – Submenü 2. Ebene
    ----------------------------------------------------- */
    .quicklinks .submenu .has-submenu {
        position: relative;
    }

    .quicklinks .submenu .has-submenu > a::after {			/* Pfeil 2. Ebene */
        content: "◀";
        font-size: 0.75rem;
        color: #b44a3a;
        opacity: 0.85;
        float: right;
        margin-left: 5px;
        position: relative;
        top: 1px;
        transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    }

    .quicklinks .submenu .has-submenu:hover > a::after {
        color: #ff6a4a;
        opacity: 1;
        transform: translateX(-4px);
    }

    .quicklinks .submenu .submenu {
        position: absolute;
        top: 0;
        right: 100%;
        background: #FFEFD5;
        border: 1px solid #ff0000;
        border-radius: 10px;
        min-width: 160px;
        padding: 0;
        margin-right: 3px;
        display: none;
        z-index: 99999;
        white-space: nowrap;

        max-height: 280px;
        overflow-y: auto;

        box-shadow:							/* ULTRA‑3D stärker */
            0 5px 7px rgba(0,0,0,0.28),
            0 14px 28px rgba(0,0,0,0.25),
            0 20px 40px rgba(0,0,0,0.22);
    }

    .quicklinks .submenu .has-submenu:hover > .submenu {	/* Hover öffnet 2. Ebene */
        display: block !important;
    }

} 	/* Ende Desktop-Bereich */

/* =========================================================
   MOBILE-BEREICH – bis 1024px
========================================================= */
@media (max-width: 1024px) {

    /* Logo ausblenden */
    .logo,
    .logo-img {
        display: none;
    }

    /* Burger sichtbar + richtig positioniert */
    .burger {
        display: flex;
        position: absolute;
        top: 18px;
        right: 20px;
        width: 36px;
        height: 28px;
        z-index: 3000;
    }

    .burger span {
        background: #b44a3a;
        height: 5px;
    }

    /* Quicklinks ausblenden */
    .quicklinks {
        display: none !important;
    }

	/* Mobile-Menü */
	.nav {
	    position: fixed;
	    top: 65px;
	    right: -300px;
	    width: 260px;
	    height: auto; 							/* passt sich automatisch an */
	    max-height: calc(100vh - 65px); 		/* falls es länger wird */
	    background: #FFEFD5;
	    border-left: 1px solid #EFD8B5;
	    padding: 20px;
	    transition: right 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
	    overflow-y: auto; 						/* scrollt nur wenn nötig */
	    z-index: 2500;
	    
	    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    	border-radius: 12px 0 0 12px; /* nur links abgerundet */
	}
	
	.nav.open {
	    right: 0;
	}
	
	/* UL vertikal */
	.nav > ul {
	    display: flex;
	    flex-direction: column;
	    gap: 10px;
	}
	
	/* Schwarze Punkte entfernen */
	.nav ul,
	.nav li {
	    list-style: none !important;
	    margin: 0;
	    padding: 0;
	}
	
	/* Links */
	.nav a {
	    display: block;
	    padding: 10px 8px 10px 18px;
	    font-size: 18px;
	    color: #7a3f2a;
	    border-radius: 8px;
	    background: rgba(255,255,255,0.4);
	    border: 1px solid rgba(239,216,181,0.6);
	}
	
	.nav a:hover {
	    background: #EFD8B5;
	}
	
	/* Submenüs standardmäßig verstecken */
	.nav li .submenu {
	    display: none;
	    flex-direction: column;
	    margin-left: 10px;
	    border-left: 2px solid #EFD8B5;
	    padding-left: 10px;
	    gap: 6px;
	    
	    opacity: 0;
	    transform: translateY(-4px);
	    transition: opacity 0.25s ease, transform 0.25s ease;

	}
	
	/* Submenü anzeigen, wenn LI .open hat */
	.nav li.open > .submenu {
	    display: flex !important;

	    opacity: 1;
	    transform: translateY(0);
	}
	
	/* Pfeile für Mobile-Menü */
	.nav li.has-submenu > a::after {
	    content: "▼";
	    font-size: 0.8rem;
	    margin-left: 8px;
	    color: #b44a3a;
	    opacity: 0.85;
	    display: inline-block;
	    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
	}
	
	/* Pfeil dreht sich */
	.nav li.has-submenu.open > a::after {
	    transform: rotate(180deg) translateY(2px);
	    color: #ff6a4a;
	    opacity: 1;
	}
	
	/* Pfeile für 2. Ebene – zeigen nach unten */
	.nav li.has-submenu .submenu li.has-submenu > a::after {
	    content: "▼";
	    margin-left: 6px;
	    font-size: 0.8rem;
	    color: #b44a3a;
	    opacity: 0.85;
	    display: inline-block;
	    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
	}
	
	/* Drehen beim Öffnen */
	.nav li.has-submenu .submenu li.has-submenu.open > a::after {
	    transform: rotate(180deg) translateY(2px);
	    color: #ff6a4a;
	    opacity: 1;
	}
	
	/* MOBILE: Footer sichtbar als Footer gestalten */
    .footer {
        position: static;                 		/* nicht fixiert */
        margin-top: 40px;                 		/* Abstand zum Inhalt */
        margin-bottom: -80px;   				/* Footer tiefer setzen */
        width: 100%;
        padding: 14px 0 18px 0;                 /* etwas mehr Luft */
        background: #FFEFD5;              		/* gleiche Farbe */
        border-top: 1px solid #ff0000;    		/* klare Trennlinie */
        border-radius: 12px 12px 0 0;    		/* wie Desktop */
        box-shadow:
            0 -3px 4px rgba(0,0,0,0.25),
            0 -8px 18px rgba(0,0,0,0.22); 		/* dezenter Schatten */
        text-align: center;
    }

	.footer-nav {
        display: flex;
        justify-content: center;
        gap: 3px;                		 /* hier Abstand vergrößern/verkleinern */
        padding: 0 10px;
    }

    .footer-nav a {
        padding: 4px 6px;
        font-size: 12px;           		/* kleiner = mehr Luft */
        white-space: nowrap;       		/* kein Umbruch */
        border-radius: 6px;
    }

    .footer-bottom {
        margin-top: 12px;
        font-size: 12px;
        opacity: 0.9;
    }

	/* MOBILE: Globales Layout korrigieren */

    body {
        padding-top: 20px;     /* statt 70px */
        padding-bottom: 20px;  /* statt 80px */
    }
    
	/* MOBILE: Gedenkseite – Bilder automatisch anpassen */

    .gedenken-wrapper img {
        width: 95%;          /* statt 550px */
        max-width: 550px;     /* Desktop-Limit bleibt erhalten */
        height: auto;
        margin: 25px auto;    /* etwas weniger Abstand mobil */
    }

    .gedenken-wrapper hr {
        width: 70%;           /* mobil etwas breiter */
        margin: 15px auto 30px auto;
    }

	/* MOBILE: Vorstandskarten optimiert */

    .vorstand-card {
        flex-direction: column;      /* Bild oben, Text unten */
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .vorstand-card img {
        width: 60%;                  /* statt 200px */
        max-width: 220px;            /* nicht größer als Desktop */
        border-radius: 12px;
    }

    .vorstand-content {
        margin-top: 0;               /* optischer Ausgleich entfällt */
    }

    .vorstand-title {
        font-size: 20px;
    }

    .vorstand-name {
        font-size: 18px;
    }

    .vorstand-info {
        font-size: 15px;
    }

    .vorstand-mail a {
        font-size: 15px;
    }

	.rahmen {
        margin-top: 5px !important;
        padding-top: 0 !important;
    }

    .ligaleitung img {
	    width: 90%;
	    border-radius: 12px;
	    margin: 20px auto;
	}

	.dartgeschichte img {
	    width: 90%;
	    max-width: 400px;
	    border-radius: 10px;
	    margin: 15px auto 25px auto;
	}

    /* Tabellen – Schrift kleiner, kompakter */
    .ewigen-table th,
    .ewigen-table td {
        font-size: 14px;
        padding: 8px;
    }

    .ewigen-master-table th {
        font-size: 16px;
        padding: 8px;
    }

    .ewigen-master-table td {
        font-size: 14px;
        padding: 8px;
    }

    /* Navigation – kompakter, bricht nicht unschön um */
    .ewigen-nav {
        flex-wrap: wrap;
        gap: 10px;
        margin: 15px auto 25px auto;
    }

    .ewigen-nav a,
    .ewigen-nav span {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* Hover auf Touchgeräten entschärfen */
    .ewigen-table tr:hover,
    .ewigen-master-table tr:hover {
        background: rgba(239,216,181,0.25);
    }

    /* Turnierpläne – 3 Spalten werden 1 Spalte */
    .turnier-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .turnier-col h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .turnier-col a {
        font-size: 14px;
        padding: 10px 14px;
    }
}

