/* =========================
   BASIS-LAYOUT
   ========================= */
body {
    background-image: url('images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #fff;
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
}

.header-img {
    display: block;
    margin: 40px auto 10px auto;
    width: 959px;
    height: 260px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 16px #0008;
}

/* =========================
   NAVIGATION – EINHEITLICH
   ========================= */
.jtpl-mobile-navigation > ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0 auto 0 auto;
    justify-content: center;
    align-items: center;
    background: #222;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 1px 6px #0004;
}

.jtpl-mobile-navigation > ul > li {
    margin: 0 12px;
    position: relative;
}

.jtpl-mobile-navigation > ul > li > a {
    color: #fff;
    background: #222;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 4px 4px 0 0;
    transition: background 0.2s;
    font-size: 1em;
    display: block;
    font-family: 'UnifrakturMaguntia', cursive, serif;
}

/* Hover nur bei nicht-aktivem Menüpunkt */
.jtpl-mobile-navigation > ul > li:not(.j-nav-current) > a:hover {
    background: #874c34;
    color: #fff;
}

/* aktueller Menüpunkt */
.jtpl-mobile-navigation .j-nav-current > a {
    background: #874c34 !important;
    color: #fff;
}

/* Untermenü (Mia san..., Büldln) */
.jtpl-mobile-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(40, 40, 40, 0.98);
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 10px #0009;
    border-radius: 0 0 8px 8px;
    z-index: 50;
}

.jtpl-mobile-navigation ul li:hover > ul {
    display: block;
}

.jtpl-mobile-navigation ul ul li {
    margin: 0;
}

.jtpl-mobile-navigation ul ul li > a {
    display: block;
    padding: 10px 18px;
    color: #ffffff;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 0.95em;
    text-shadow: 0 0 6px #000;
}

.jtpl-mobile-navigation ul ul li > a:hover {
    background: #a9411d;
    color: #ffffff;
    text-shadow: 0 0 10px #ff3300;
}

/* =========================
   LAYOUT
   ========================= */
.main-container {
    display: flex;
    max-width: 1300px;
    margin: 40px auto;
    gap: 20px;
    align-items: flex-start;
}

.content-box {
    flex: 1 1 auto;
    min-width: 0;
    background: rgba(20,20,20,0.95);
    border-radius: 20px;
    box-shadow: 0 2px 24px #000c;
    padding: 36px;
}

.content-box p,
.content-box div {
    font-size: 14px;
    line-height: 1.6;
    hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.sidebar {
    flex: 0 0 350px;
    max-width: 350px;
    background: rgba(32,32,32,0.92);
    border-radius: 20px;
    box-shadow: 0 2px 16px #0005;
    padding: 28px;
    box-sizing: border-box;
}

.logo, .map {
    margin: 24px 0;
    border-radius: 7px;
    background: #fff;
    padding: 7px;
}

/* Buttons in der Sidebar */
.custom-btn {
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    font-family: Arial, Verdana, sans-serif;
    transition: background 0.2s;
    border: none;
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    margin-bottom: 10px;
    color: white;
}

.gemeinde-btn {
    background: #393939;
    font-size: 1.25em;
}

.gemeinde-btn:hover {
    background: #606060;
}

.facebook-btn {
    background: #1877F2;
    font-size: 1em;
}

.facebook-btn:hover {
    background: #145DBF;
}

/* =========================
   SLIDESHOW (Sidebar)
   ========================= */
.slideshow-container {
    position: relative;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px #0008;
    margin-top: 30px;
}

.slide {
    display: none;
    text-align: center;
    padding: 20px;
}

.slide.active {
    display: block;
}

.slide img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 10px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    font-weight: bold;
    font-size: 16px;
    border-radius: 3px;
    user-select: none;
    z-index: 10;
}

.next { right: 0; }
.prev { left: 0; }

.prev:hover,
.next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 10px;
    border-radius: 0 0 20px 20px;
    box-shadow: inset 0 1px 4px #0008;
    font-size: 0.9em;
    margin: 40px auto 0 auto;
    max-width: 1300px;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

footer nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer nav a:hover {
    color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
    .header-img {
        width: 100%;
        height: auto;
    }

    .jtpl-mobile-navigation > ul {
        flex-direction: column;
        align-items: stretch;
    }

    .jtpl-mobile-navigation > ul > li {
        margin: 0;
    }

    .jtpl-mobile-navigation > ul > li > a {
        border-radius: 0;
    }

    .jtpl-mobile-navigation ul ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: unset;
    }

    .main-container {
        flex-direction: column;
        gap: 0;
    }

    .sidebar {
        min-width: unset;
        margin-top: 30px;
    }

    footer {
        max-width: 100%;
        border-radius: 0;
    }

    .years-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================== */
/*                 GÄSTEBUCH – BUCH                      */
/* ===================================================== */

.guestbook-header {
    text-align: center;
    margin-bottom: 25px;
}

.guestbook-header h1 {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 2.6em;
    color: #ffcc00;
    text-shadow: 0 0 15px #ff2200;
    margin: 0;
}

.guestbook-header p {
    margin-top: 10px;
    color: #ff9966;
}

.guestbook-actions {
    text-align: center;
    margin-bottom: 20px;
}

.guestbook-btn {
    display: inline-block;
    margin: 5px 10px;
    padding: 10px 18px;
    background: #8b2e11;
    border-radius: 10px;
    color: #fff;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.2em;
    text-decoration: none;
    box-shadow: 0 0 14px #000;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    cursor: pointer;
    border: none;
}

.guestbook-btn:hover {
    background: #ff3300;
    box-shadow: 0 0 18px #ff3300;
    transform: translateY(-1px);
}

/* Wrapper mit 3D-Perspektive */
.guestbook-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0 10px 0;
    position: relative;
    perspective: 2000px;
}

/* Buch-Hintergrund: komplette Doppelseite */
.guestbook-book {
    width: 900px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    background-image: url('images/papier.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 2cm 2.2cm;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* zwei Spalten im Buch */
.guestbook-page {
    width: 50%;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    overflow-y: visible;
}

.guestbook-page.left-page {
    border-right: 1px solid rgba(120,120,120,0.4);
    padding-left: 10%;
    padding-right: 15%;
}

.guestbook-page.right-page {
    padding-left: 10%;
    padding-right: 15%;
}

/* Seitentitel */
.guestbook-page-title {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.4em;
    color: #5b1205;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    display: block;
    margin: 0 0 18px 0;
    text-shadow: 0 0 8px #ff6b1a;
}

/* Bereich für Einträge */
.guestbook-entries-column {
    padding: 0 4px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Einträge */
.guestbook-entry {
    margin-bottom: 6px;
    padding: 0 4px;
    border-bottom: none;
    background: transparent;
}

.guestbook-entry-name {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #2b1307;
}

.guestbook-entry-date {
    font-size: 0.8em;
    color: #7b5a3a;
    margin-top: 2px;
}

.guestbook-entry-text {
    margin-top: 6px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    font-family: "Reenie Beanie", cursive;
    font-size: 1.65em;
    line-height: 1.28;
    color: #1f1207;
    text-shadow:
        0 0 3px #fff9,
        0 0 6px #fff6,
        0 0 2px #0005,
        0 0 4px #0003;
    text-align: center;
    font-weight: 600;
}

/* Text wenn leer */
.guestbook-empty {
    text-align: center;
    padding: 20px;
    color: #555;
    font-weight: normal;
    background: rgba(255,255,255,0.8);
    border-radius: 6px;
    border: 1px dashed #ccc;
}

/* Seiten-Navigation */
.page-navigation {
    text-align: center;
    margin: 20px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-nav-btn {
    padding: 12px 20px;
    background: #5b1205;
    border-radius: 10px;
    border: 1px solid #ff7b2a;
    color: #fff;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 0 14px #000;
    transition: all 0.2s;
    cursor: pointer;
    min-width: 140px;
}

.page-nav-btn:hover:not(:disabled) {
    background: #a82808;
    box-shadow: 0 0 15px #ff7b2a;
    transform: translateY(-1px);
}

.page-nav-btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #444;
}

.page-indicator {
    color: #ffcc00;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 0 0 8px #ff3300;
    min-width: 120px;
}

/* Mobile: Seiten untereinander */
@media (max-width: 900px) {
    .guestbook-book {
        width: 100%;
        height: auto;
        aspect-ratio: 900 / 600;
        flex-direction: column;
        background-size: contain;
        padding: 15% 12%;
    }

    .guestbook-page {
        width: 100%;
        padding-left: 8%;
        padding-right: 8%;
        border-right: none;
        height: auto;
    }

    .page-navigation {
        flex-direction: column;
        gap: 10px;
    }
}

/* Richtiger Seitenumblätter-Effekt */
.page-turn {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    pointer-events: none;
    opacity: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    z-index: 50;
    background-image: url('images/papier.png');
    background-repeat: no-repeat;
    background-size: 200% 100%;
}

.page-turn-left {
    left: 0;
    transform-origin: right center;
    background-position: left center;
}

.page-turn-right {
    left: 50%;
    transform-origin: left center;
    background-position: right center;
}

.page-turn.active {
    opacity: 1;
}

@keyframes pageFlipNext {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(-180deg); }
}

@keyframes pageFlipPrev {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

.page-turn.turn-next {
    animation: pageFlipNext 0.6s ease-out forwards;
}

.page-turn.turn-prev {
    animation: pageFlipPrev 0.6s ease-out forwards;
}

/* Zusätzliche Gästebuch-Features */
.guestbook-entry-part {
    font-size: 0.8em;
    color: #9b6a45;
    margin-top: 2px;
    font-style: italic;
}

.guestbook-entry-rating {
    margin-top: 4px;
    font-size: 1.1em;
}

.guestbook-badge-new {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 0.7em;
    background: #ff3300;
    color: #fff;
    border-radius: 8px;
    text-shadow: none;
}

.guestbook-reply {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.75);
    border-left: 3px solid #8b2e11;
    border-radius: 6px;
}

.guestbook-reply-title {
    font-weight: bold;
    color: #5b1205;
    margin-bottom: 4px;
}

.guestbook-reply-text {
    color: #2b1307;
    font-size: 0.9em;
}

.guestbook-hint {
    display: none;
    margin: 10px auto 0 auto;
    max-width: 520px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    color: #ffcc99;
    font-size: 0.9em;
    box-shadow: 0 0 12px #000;
}

.guestbook-hint strong {
    color: #ffdd55;
}

.guestbook-hint-close {
    float: right;
    cursor: pointer;
    margin-left: 8px;
    font-weight: bold;
    color: #fff;
}

/* ===================================================== */
/*            BÜLDLN – JAHRESÜBERSICHT                  */
/* ===================================================== */

.years-header {
    text-align: center;
    margin-bottom: 24px;
}

.years-header h1 {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 2.6em;
    margin: 0 0 10px 0;
    color: #ffcc00;
    text-shadow: 2px 2px 4px #000;
}

.years-header p {
    margin: 0;
    font-size: 1em;
    color: #ddd;
}

/* GRID wie Event-Liste, aber 3 Spalten */
.years-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* Einzelne Jahr-Kachel im Event-Look */
.year-card {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 22px 20px;
    border: 2px solid #ff0000;
    box-shadow: 0 2px 16px #000a;
    transition: all 0.3s;
}

.year-card:hover {
    background: rgba(255,204,0,0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #0005;
}

.year-card .year-subtitle {
    font-size: 0.95em;
    color: #ff9966;
    margin: 8px 0 10px 0;
}

.year-card .year-desc {
    font-size: 0.95em;
    color: #eee;
    margin-bottom: 16px;
}

/* Link-Button */
.year-card a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: #874c34;
    color: #fff;
    text-decoration: none;
    font-size: 0.95em;
    box-shadow: 0 2px 8px #0008;
    transition: background 0.2s, transform 0.1s;
}

.year-card a:hover {
    background: #b35b35;
    transform: translateY(-1px);
}

/* ===================================================== */
/*                  FEUER / FUNKEN                       */
/*  (genutzt für Jahr-Zahlen & Termine)                  */
/* ===================================================== */

/* Feuer-Text (Jahr oder Datum) */
.fire-date {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    color: #ff0000;
    font-size: 2em;
    margin: 0 0 15px 0;
    text-align: center;
    animation: fireGlow 1.6s infinite alternate;
    text-shadow:
        0 0 10px #ff0000,
        0 0 20px #ff2200,
        0 0 30px #ff4400,
        0 0 40px #ff6600;
}

@keyframes fireGlow {
    from {
        text-shadow:
            0 0 10px #ff0000,
            0 0 20px #ff2200,
            0 0 30px #ff4400,
            0 0 40px #ff6600;
    }
    to {
        text-shadow:
            0 0 20px #ff4400,
            0 0 40px #ff6600,
            0 0 60px #ff8800,
            0 0 80px #ffaa00;
    }
}

/* Container für Text + Funken */
.spark-container {
    position: relative;
    display: inline-block;
}

/* Funken-Ebene */
.sparks {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* einzelne Funken */
.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffdd66;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff6600;
    animation: sparkFly 1.2s linear infinite;
    opacity: 0;
}

/* Animation: Funken fliegen nach oben */
@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
        box-shadow: 0 0 8px #ff6600, 0 0 14px #ffaa00;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-20px, -40px) scale(0.3);
        opacity: 0;
        box-shadow: 0 0 4px #ff3300;
    }
}

/* versetzte Funken */
.spark:nth-child(1) { left: -20px; animation-delay: 0s; }
.spark:nth-child(2) { left: 0px;   animation-delay: 0.3s; }
.spark:nth-child(3) { left: 20px;  animation-delay: 0.6s; }
.spark:nth-child(4) { left: -10px; animation-delay: 0.9s; }
.spark:nth-child(5) { left: 10px;  animation-delay: 1.1s; }

/* ===================================================== */
/*                TERMINKALENDER                         */
/* ===================================================== */

.legend {
    background: rgba(255,204,0,0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #ffcc00;
}
.legend h3 {
    color: #ffcc00;
    margin-bottom: 15px;
}
.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
}

.event {
    background: rgba(0,0,0,0.4);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #ff0000; /* Roter Rahmen pro Event */
    transition: all 0.3s;
}
.event:hover {
    background: rgba(255,204,0,0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #0005;
}

/* Datum-Zeile (wenn eigenes H3 genutzt wird) */
.event-weekday h3 {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    color: #ff0000;
    font-size: 2em;
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
}

.event-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}
.event-location {
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 5px;
}
.event-time {
    color: #ccc;
    margin-bottom: 10px;
}
.event-type {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff6600;
    margin-top: 10px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
}
.kr { color: #ff6600; }
.ks { color: #ff0066; }
.tu { color: #00cc66; }
.p  { color: #66ccff; }
.hl { color: #cc66ff; }
   /* ===== Mitglieder-Seite – Überschrift & Links ===== */

.unseremitglieder-fraktur {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2.2em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0.4em 0 0.2em 0;
    text-align: center;
    color: #ffcc00;
    text-shadow: 2px 2px 4px #000;
}

.mitglieder-links {
    text-align: center;
    margin: 4px 0;
}

.mitglieder-links a {
    color: #ffcc00;
    text-decoration: underline;
}

.mitglieder-links a:hover {
    color: #ffffff;
}

/* ===== Mitglieder-Tabelle ===== */

.mitglieder-tabelle {
    margin-top: 15px;
    overflow-x: auto;
}

.mitglieder-tabelle table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.mitglieder-tabelle td {
    border: 1px solid #666;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.45);
}

/* leichtes Zebra-Muster */
.mitglieder-tabelle tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.04);
}

/* Nachname rechts, fett – wie im Originalgefühl */
.mitglieder-tabelle td:first-child {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
}

/* Rolle leicht hervorgehoben */
.mitglieder-tabelle td:last-child {
    color: #ffcc99;
}
/* ===== Mitglied werden Seite ===== */

.mitgliedwerden-title {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2.4em;
    color: #ffcc00;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
}

.mitgliedwerden-sub {
    text-align: center;
    margin: 4px 0;
    color: #ffddaa;
}

.mitgliedwerden-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.55);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 18px #000a;
}

.mitgliedwerden-form input,
.mitgliedwerden-form select,
.mitgliedwerden-form textarea {
    padding: 8px;
    border-radius: 6px;
    background: rgba(20,20,20,0.9);
    border: 1px solid #555;
    color: #fff;
}

.mitgliedwerden-form textarea {
    min-height: 90px;
}

.mitgliedwerden-btn {
    background: #5b1205;
    border: 1px solid #ff7b2a;
    padding: 10px;
    font-family: 'UnifrakturMaguntia';
    font-size: 1.2em;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.mitgliedwerden-btn:hover {
    background: #a82808;
    box-shadow: 0 0 15px #ff7b2a;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
}
   /* ===== "Mitglied werden" – Formular ===== */

.year-header h1 {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    color: #ffcc00;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px #000;
    letter-spacing: 2px;
}

.year-header p {
    text-align: center;
    font-size: 1.3em;
    color: #ff9966;
    margin-bottom: 30px;
}

.mitglied-form {
    background: rgba(139,69,19,0.15);
    border: 2px solid #874c34;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(135,76,52,0.3);
}

/* Formulargruppen */
.mitglied-form .form-group {
    margin-bottom: 25px;
}

.mitglied-form label {
    display: block;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.2em;
    color: #ffcc00;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px #000;
    font-weight: bold;
}

/* Inputs nur innerhalb des Formulars stylen */
.mitglied-form input,
.mitglied-form select,
.mitglied-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.8);
    border: 2px solid #874c34;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1em;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mitglied-form textarea {
    resize: vertical;
}

/* Select-Optik */
.mitglied-form select {
    background: rgba(0,0,0,0.9);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffcc00'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 45px;
}

.mitglied-form select option {
    background: #333;
    color: #fff;
    padding: 10px;
}

/* Fokus-Effekt */
.mitglied-form select:focus,
.mitglied-form input:focus,
.mitglied-form textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255,204,0,0.4);
    background: rgba(50,50,50,0.9);
}

.mitglied-form input::placeholder,
.mitglied-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Checkboxen */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1em;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    transform: scale(1.4);
    accent-color: #ffcc00;
}

.checkbox-label {
    font-family: Arial, sans-serif;
    color: #fff;
    font-weight: normal;
    margin: 0;
    text-shadow: none;
}

/* Button */
.submit-btn {
    background: linear-gradient(45deg, #874c34, #ff9966);
    color: #fff;
    padding: 20px;
    border: none;
    width: 100%;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.4em;
    border-radius: 12px;
    cursor: pointer;
    text-shadow: 2px 2px 4px #000;
    box-shadow: 0 6px 20px rgba(135,76,52,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(135,76,52,0.6);
    background: linear-gradient(45deg, #ff9966, #ffcc00);
}

/* Zusatzbox unten */
.footer-note {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(135,76,52,0.2);
    border-radius: 10px;
    color: #ff9966;
    font-size: 0.95em;
}

/* Rolle-Auswahl-Box */
.perchten-role {
    display: none;
    margin-top: 20px;
    padding: 25px;
    background: rgba(255,204,0,0.1);
    border: 2px dashed #ffcc00;
    border-radius: 15px;
    animation: slideInMitglied 0.5s ease-out;
}

.perchten-role.visible {
    display: block;
}

@keyframes slideInMitglied {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
  /* ===========================
   SPONSOREN-SEITE (Daunkschei)
   =========================== */

/* Abschnitt-Überschrift & Erklärungstext */
.sponsor-section {
    margin-top: 10px;
}

.sponsor-section h2 {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    text-align: center;
    font-size: 2.1em;
    color: #ffcc00;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 20px;
}

.sponsor-section p {
    text-align: center;
    margin-bottom: 25px;
    color: #ddd;
}

/* Sponsor-Logos als Grid */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sponsor-item {
    background: #111;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 12px #000a;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.sponsor-item img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsives Verhalten fürs Grid */
@media (max-width: 900px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========
   FUNKEN / FEUER
   (falls noch nicht im Haupt-CSS)
   ========== */

.fire-date {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    color: #ff0000;
    font-size: 2em;
    margin: 0 0 15px 0;
    text-align: center;
    animation: fireGlow 1.6s infinite alternate;
    text-shadow:
        0 0 10px #ff0000,
        0 0 20px #ff2200,
        0 0 30px #ff4400,
        0 0 40px #ff6600;
}

@keyframes fireGlow {
    from {
        text-shadow:
            0 0 10px #ff0000,
            0 0 20px #ff2200,
            0 0 30px #ff4400,
            0 0 40px #ff6600;
    }
    to {
        text-shadow:
            0 0 20px #ff4400,
            0 0 40px #ff6600,
            0 0 60px #ff8800,
            0 0 80px #ffaa00;
    }
}

.spark-container {
    position: relative;
    display: inline-block;
}

.sparks {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffdd66;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff6600;
    animation: sparkFly 1.2s linear infinite;
    opacity: 0;
}

@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
        box-shadow: 0 0 8px #ff6600, 0 0 14px #ffaa00;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-20px, -40px) scale(0.3);
        opacity: 0;
        box-shadow: 0 0 4px #ff3300;
    }
}

.spark:nth-child(1) { left: -20px; animation-delay: 0s; }
.spark:nth-child(2) { left: 0px;   animation-delay: 0.3s; }
.spark:nth-child(3) { left: 20px;  animation-delay: 0.6s; }
.spark:nth-child(4) { left: -10px; animation-delay: 0.9s; }
.spark:nth-child(5) { left: 10px;  animation-delay: 1.1s; }

/* =========================
   JUGENDGRUPPE – FORMULAR
   (nur neue Regeln)
   ========================= */

/* Rahmen & Hintergrund für das Jugend-Formular */
.jugend-form {
    background: linear-gradient(135deg, rgba(139,69,19,0.2), rgba(255,204,0,0.1));
    border: 3px solid #ffcc00;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(255,204,0,0.3);
}

/* Boxen für Eltern/Kinder – eigener Look */
.eltern-box,
.kind-box {
    background: rgba(0,0,0,0.6);
    border: 2px solid #874c34;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.eltern-box {
    border-color: #ff9966;
}

/* Titel in den Boxen */
.box-titel {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 1.4em;
    color: #ffcc00;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
}

/* Generische Formular-Gruppe (Jugendseite & ggf. andere) */
.form-group {
    margin-bottom: 20px;
}

/* Standard-Label für Formulare (außerhalb .mitglied-form) */
label {
    display: block;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.2em;
    color: #ffcc00;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px #000;
    font-weight: bold;
}

/* Standard-Inputs/Textareas/Selects (Jugend-Form, Kontakt etc.) */
input,
textarea,
select {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.9);
    border: 2px solid #874c34;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Fokus-Effekt für diese Felder */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 20px rgba(255,204,0,0.5);
    background: rgba(50,50,50,0.9);
}
 /* =========================
   FIX – FORMULAR GENAU WIE DOKUMENT11
   ========================= */

/* Abstand + Layout korrigieren */
.content-box {
    padding: 36px !important;
    background: rgba(32,32,32,0.98) !important;
}

/* Titel */
.year-header h1 {
    font-family: 'UnifrakturMaguntia', cursive !important;
    font-size: 2.8em !important;
    color: #ffcc00 !important;
    text-align: center !important;
    text-shadow: 3px 3px 6px #000 !important;
    margin-bottom: 10px !important;
}

.year-header p {
    text-align: center !important;
    font-size: 1.3em !important;
    color: #ff9966 !important;
    margin-top: 5px !important;
    margin-bottom: 30px !important;
}

/* Formularbox */
.jugend-form {
    background: linear-gradient(135deg, rgba(139,69,19,0.2), rgba(255,204,0,0.1)) !important;
    border: 3px solid #ffcc00 !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 12px 35px rgba(255,204,0,0.3) !important;
}

/* Kind / Eltern / Medizin */
.kind-box,
.eltern-box {
    background: rgba(0,0,0,0.6) !important;
    border: 2px solid #874c34 !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
}

.eltern-box {
    border-color: #ff9966 !important;
}

/* Box-Titel */
.box-titel {
    font-family: 'UnifrakturMaguntia', cursive !important;
    font-size: 1.4em !important;
    color: #ffcc00 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    text-shadow: 2px 2px 4px #000 !important;
}

/* Label */
.jugend-form label {
    font-family: 'UnifrakturMaguntia', cursive !important;
    font-size: 1.2em !important;
    color: #ffcc00 !important;
    margin-bottom: 8px !important;
    text-shadow: 1px 1px 2px #000 !important;
    display: block !important;
}

/* Eingabefelder */
.jugend-form input,
.jugend-form textarea,
.jugend-form select {
    width: 100% !important;
    padding: 15px !important;
    background: rgba(0,0,0,0.9) !important;
    border: 2px solid #874c34 !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 1.1em !important;
}

/* Fokus */
.jugend-form input:focus,
.jugend-form textarea:focus,
.jugend-form select:focus {
    border-color: #ffcc00 !important;
    box-shadow: 0 0 20px rgba(255,204,0,0.5) !important;
    background: rgba(50,50,50,0.9) !important;
}

/* Checkbox */
.checkbox-group input[type="checkbox"] {
    transform: scale(1.4) !important;
    accent-color: #ffcc00 !important;
}

/* Button */
.submit-btn {
    background: linear-gradient(45deg, #ff8c00, #ffcc00) !important;
    color: #000 !important;
    padding: 22px !important;
    border-radius: 15px !important;
    font-size: 1.6em !important;
    font-family: 'UnifrakturMaguntia', cursive !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 30px !important;
    box-shadow: 0 8px 25px rgba(255,140,0,0.4) !important;
}

.submit-btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(255,140,0,0.6) !important;
}

.unseremitglieder-fraktur {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0.67em 0;
    text-align: center;
}

.vorstand-fraktur {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0.67em 0;
    text-align: center;
}

.datenschutz-fraktur {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0.67em 0;
    text-align: center;
}

 /* JUGEND FORMULAR STYLES */
        .jugend-form { background: linear-gradient(135deg, rgba(139,69,19,0.2), rgba(255,204,0,0.1)); border: 3px solid #ffcc00; border-radius: 20px; padding: 40px; box-shadow: 0 12px 35px rgba(255,204,0,0.3); }
        .eltern-box, .kind-box { background: rgba(0,0,0,0.6); border: 2px solid #874c34; border-radius: 15px; padding: 25px; margin-bottom: 25px; }
        .eltern-box { border-color: #ff9966; }
        .box-titel { font-family: 'UnifrakturMaguntia', cursive; font-size: 1.4em; color: #ffcc00; margin-bottom: 20px; text-align: center; text-shadow: 2px 2px 4px #000; }
        .form-group { margin-bottom: 20px; }
        label { display: block; font-family: 'UnifrakturMaguntia', cursive, serif; font-size: 1.2em; color: #ffcc00; margin-bottom: 8px; text-shadow: 1px 1px 2px #000; font-weight: bold; }
        input, textarea, select { width: 100%; padding: 15px; background: rgba(0,0,0,0.9) !important; border: 2px solid #874c34; border-radius: 10px; color: #fff !important; font-size: 1.1em; transition: all 0.3s ease; box-sizing: border-box; }
        input:focus, textarea:focus, select:focus { outline: none; border-color: #ffcc00; box-shadow: 0 0 20px rgba(255,204,0,0.5); background: rgba(50,50,50,0.9) !important; }
        .checkbox-group { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 1em; }
        .checkbox-group input[type="checkbox"] { width: auto; margin-top: 4px; transform: scale(1.4); accent-color: #ffcc00; }
        .submit-btn { background: linear-gradient(45deg, #ff8c00, #ffcc00); color: #000; padding: 22px; border: none; width: 100%; font-family: 'UnifrakturMaguntia', cursive, serif !important; font-size: 1.6em; border-radius: 15px; cursor: pointer; text-shadow: none; box-shadow: 0 8px 25px rgba(255,140,0,0.4); transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 2px; margin-top: 30px; }
        .submit-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(255,140,0,0.6); }
        .year-header h1 { font-family: 'UnifrakturMaguntia', cursive, serif; color: #ffcc00; font-size: 2.8em; text-align: center; margin-bottom: 10px; text-shadow: 3px 3px 6px #000; letter-spacing: 2px; }
        .year-header p { text-align: center; font-size: 1.3em; color: #ff9966; margin-bottom: 30px; }
/* NEU – nur JS-Footer */
.mostteufel-footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 10px;
    border-radius: 20px;
    box-shadow: inset 0 1px 4px #0008;
    font-size: 0.9em;
    margin: 40px auto 0 auto;
    max-width: 1300px;
}

.mostteufel-footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.mostteufel-footer-nav .footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

.mostteufel-footer-nav .footer-link:hover {
    color: #fff;
}
@media (max-width: 900px) { .main-container { flex-direction: column; gap: 0; } .sidebar { margin-top: 30px; max-width: 100%; } }
/* =========================
   MOSTTEUFEL – ROTER GLOW BUTTON
   ========================= */

.mostteufel-btn {
    cursor: pointer;
    background: #25D366;                 /* WhatsApp-Grün – kann überschrieben werden */
    color: white;
    border: 2px solid #ff3300;           /* Roter Rand */
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 1.1em;
    font-family: 'UnifrakturMaguntia', cursive, serif;
    text-shadow: 1px 1px 2px #000;
    box-shadow:
        0 0 10px #ff3300,
        0 0 20px #ff5500,
        inset 0 0 6px #000;               /* Glühen innen + außen */
    transition: all 0.25s ease;
}

/* Hover-Effekt – stärkeres Glühen */
.mostteufel-btn:hover {
    box-shadow:
        0 0 16px #ff3300,
        0 0 28px #ff5500,
        inset 0 0 8px #000;
    transform: translateY(-2px);
}
/* ============================================================
   MOSTTEUFEL – STYLES FÜR BÜLDLN / JAHRESÜBERSICHT 2023
   (Kachel-Rahmen, Hover-Effekte, Titel, Text)
   ============================================================ */

/* Überschrift im Jahreslayout */
.year-header h1 {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    color: #ffcc00;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px #000;
}

.year-header p {
    text-align: center;
    font-size: 1.2em;
    color: #ff9966;
}

/* Grid für die Galeriekacheln */
.year-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Kacheln */
.year-gallery-item {
    background: rgba(0,0,0,0.5);
    border-radius: 14px;
    padding: 18px 20px;
    border: 3px solid #ff3300;
    box-shadow:
        0 0 10px #ff3300,
        0 0 20px #ff5500,
        0 0 30px #ff880022;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.year-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 16px #ff3300,
        0 0 28px #ff5500,
        0 0 40px #ff880044;
    border-color: #ffcc00;
}

/* Titel */
.year-gallery-title {
    font-family: 'UnifrakturMaguntia', cursive, serif;
    font-size: 1.6em;
    margin: 0 0 6px 0;
    color: #ffcc00;
}

/* Meta-Daten (Ort + Datum) */
.year-gallery-meta {
    font-size: 0.9em;
    color: #ff9966;
    margin-bottom: 10px;
}

/* Beschreibungstexte */
.year-gallery-desc {
    font-size: 0.95em;
    color: #eee;
    margin-bottom: 14px;
}

/* Buttons zu den Galerien */
.year-gallery-link {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: #874c34;
    color: #fff;
    text-decoration: none;
    font-size: 0.95em;
    box-shadow: 0 2px 8px #0008;
    transition: background 0.2s, transform 0.1s;
}

.year-gallery-link:hover {
    background: #b35b35;
    transform: translateY(-1px);
}

/* Responsiv */
@media (max-width: 800px) {
    .year-gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================================
   SITEMAP – Layout & Darstellung (Sitemap)
   aus sitemap.html übernommen
   =========================================== */

/* Container innerhalb der Content-Box */
.mt-sitemap-inner {
    background: linear-gradient(135deg, rgba(15,10,18,0.96), rgba(8,5,10,0.98));
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 30px #0006, 0 0 40px rgba(227,27,35,0.25);
}

/* Sitemap-Header */
.mt-sitemap-header {
    text-align: center;
    margin-bottom: 24px;
}

.mt-sitemap-header h2 {
    font-family: "UnifrakturMaguntia";
    font-size: 2.4em;
    color: #e31b23;
    margin: 0 0 4px 0;
}

.mt-sitemap-header p {
    margin: 0;
    font-size: 0.95rem;
    color: #ddd;
}

/* Grid für die beiden Sitemap-Spalten */
.mt-sitemap-grid {
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 850px) {
    .mt-sitemap-grid {
        grid-template-columns: 1.2fr 1.6fr;
    }
}

/* Boxen */
.mt-sitemap-block {
    background: #1a151b;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(227,27,35,0.25);
    box-shadow: 0 0 18px #0008;
}

.mt-sitemap-block h3 {
    color: #f6d48f;
    font-family: "UnifrakturMaguntia";
    margin: 0 0 12px 0;
    font-size: 1.5rem;
}

.mt-sitemap-block h4 {
    margin: 16px 0 6px 0;
    color: #e31b23;
    font-size: 1.05rem;
    font-weight: bold;
}

/* Listenstruktur in der Sitemap */
.mt-sitemap-list,
.mt-sitemap-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mt-sitemap-list > li {
    margin-bottom: 6px;
}

.mt-sitemap-list > li > a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    gap: 8px;
    padding: 2px 0;
}

/* kleines Teufels-Symbol vor den Hauptpunkten */
.mt-sitemap-list > li > a::before {
    content: "✠";
    color: #e31b23;
    font-size: 0.85rem;
}

.mt-sitemap-list > li > a:hover {
    color: #f6d48f;
}

/* Unterpunkte */
.mt-sitemap-list ul {
    margin-left: 18px;
    border-left: 1px dashed rgba(255,255,255,0.2);
    padding-left: 12px;
    margin-top: 4px;
}

.mt-sitemap-list ul li {
    margin: 2px 0;
}

.mt-sitemap-list ul a {
    color: #ccc;
    font-size: 0.92rem;
    text-decoration: none;
}

.mt-sitemap-list ul a:hover {
    color: #f6d48f;
}

/* aktueller Link in der Sitemap */
.mt-sitemap a[aria-current="page"] {
    color: #f6d48f;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(246,212,143,0.8);
}

/* Standort-Box unten rechts */
.mt-sitemap-location {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #ddd;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 10px;
}

.mt-sitemap-location strong {
    color: #f6d48f;
}
 /* MOSTTEUFEL – automatischer Footer */
.mostteufel-footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 10px;
    border-radius: 0 0 20px 20px;
    box-shadow: inset 0 1px 4px #0008;
    font-size: 0.9em;
    margin: 40px auto 0 auto;
    max-width: 1300px;
}

.mostteufel-footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
}

.footer-legal {
    margin-bottom: 4px;
}

.footer-heart {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #a9a9a9;
}

/* Back-to-top Button */
#backTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d9a92d;
    color: #000;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85em;
    box-shadow: 0 4px 12px rgba(217,169,45,0.4);
    display: none;
    z-index: 1000;
}

#backTop:hover {
    background: #ffcc00;
}

/* Handy-Optimierung gesamt */
@media (max-width: 600px) {
    html, body {
        overflow-x: hidden;
        font-size: 14px;
    }

    .header-img {
        margin: 10px auto;
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .main-container {
        flex-direction: column;
        gap: 0;
        margin: 20px auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .content-box {
        padding: 18px;
        border-radius: 12px;
    }

    .sidebar {
        max-width: 100%;
        flex: 1 1 auto;
        margin-top: 20px;
        border-radius: 12px;
    }

    /* Navigation untereinander, gut klickbar */
    .jtpl-mobile-navigation > ul {
        flex-direction: column;
        align-items: stretch;
        border-radius: 0;
    }

    .jtpl-mobile-navigation > ul > li > a {
        padding: 10px 14px;
        text-align: center;
        border-radius: 0;
        font-size: 0.95em;
    }

    .jtpl-mobile-navigation ul ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: unset;
    }

    /* Footer über volle Breite */
    footer {
        max-width: 100%;
        border-radius: 0; /* oder 20px, wenn du es auch mobil rund willst */
        margin: 20px 0 0 0;
    }
}
/* ===== HEADER LOGO - ORANGE RAHMEN FÜR ALLE SEITEN ===== */
/* Füge DAS in deine mostteufelstyle.css ein */

.header-img {
    display: block !important;
    margin: 25px auto !important;
    max-width: 95vw !important;
    width: 950px !important;
    height: auto !important;
    border-radius: 25px !important;
    box-shadow:
        0 15px 50px rgba(0,0,0,0.9),
        0 0 0 4px rgba(255,102,0,0.9) !important;  /* ← ORANGE RAHMEN */
    border: 4px solid #ff6600 !important;           /* ← ORANGE BORDER */
    transition: all 0.4s ease !important;
}

/* HOVER-EFFEKTE */
.header-img:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow:
        0 25px 70px rgba(0,0,0,0.95),
        0 0 0 6px rgba(255,102,0,1),
        0 0 40px rgba(255,102,0,0.6) !important;    /* ← GLOW */
}

/* MOBILE */
@media (max-width: 768px) {
    .header-img {
        width: calc(100vw - 40px) !important;
        margin: 20px 20px !important;
        border-radius: 20px !important;
        border-width: 3px !important;
    }
}

@media (max-width: 480px) {
    .header-img {
        border-radius: 15px !important;
        border-width: 2px !important;
        margin: 15px 15px !important;
    }
}

/* HOCHCONTRAST MODE */
@media (prefers-contrast: high) {
    .header-img {
        border-color: #ffcc00 !important;
        box-shadow: 0 0 0 4px #ffcc00 !important;
    }
}

