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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1b0f26 0%, #050008 55%, #000 100%);
    color: #f5f5f5;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: #ff7518;
    text-decoration: none;
}
a:hover {
    color: #ffe082;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(5, 0, 8, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 117, 24, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff7518;
    text-transform: uppercase;
}
.logo span {
    color: #ffe082;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
nav li a {
    padding: 0.15rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
nav li a:hover {
    border-color: #ff7518;
}

/* Hero */
.hero {
    padding-top: 90px;
    padding-bottom: 60px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}
.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
    color: #ffe082;
    text-shadow: 0 0 8px rgba(0,0,0,0.9);
}
.hero h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.4rem;
    color: #ffb74d;
}
.hero p {
    font-size: 0.98rem;
    color: #e0e0e0;
}

/* Countdown */
.countdown-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.countdown-label {
    font-size: 0.9rem;
    color: #ffb74d;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.countdown {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}
.count-box {
    min-width: 70px;
    padding: 0.5rem 0.4rem;
    border-radius: 8px;
    background: radial-gradient(circle at top, #3b1f34, #12020a);
    border: 1px solid rgba(255, 117, 24, 0.35);
    box-shadow: 0 0 14px rgba(0,0,0,0.8);
    text-align: center;
}
.count-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff7518;
}
.count-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #f5f5f5;
}

/* Sections global */
section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 1.2rem;
}
section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ffe082;
    border-left: 4px solid #ff7518;
    padding-left: 0.6rem;
}
section p {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

/* Layouts */
.two-column {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

.highlight-box {
    padding: 0.8rem;
    border-radius: 10px;
    background: radial-gradient(circle at top, #2b1522, #0a0205);
    border: 1px solid rgba(255, 117, 24, 0.3);
    font-size: 0.9rem;
}
.highlight-box strong {
    color: #ffb74d;
}

ul {
    margin-left: 1.1rem;
    margin-top: 0.3rem;
    font-size: 0.92rem;
}
ul li {
    margin-bottom: 0.25rem;
}

/* Subheadlines & Text helpers */
.subheadline {
    color: #ffb74d;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.small-text {
    font-size: 0.9rem;
}
.hint-text {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: #ffb74d;
}

/* Galerie */
.gallery-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem;
}
.gallery-item {
    position: relative;
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 117, 24, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #9e9e9e;
    text-align: center;
}
.gallery-item span {
    padding: 0.3rem 0.5rem;
    background: rgba(0,0,0,0.6);
    border-radius: 6px;
}

/* Anfahrt */
.map-box {
    margin-top: 0.6rem;
    padding: 0.8rem;
    border-radius: 10px;
    background: #070208;
    border: 1px solid rgba(255, 117, 24, 0.25);
    font-size: 0.9rem;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 1.2rem;
    margin-top: 0.8rem;
}
.contact-card {
    padding: 0.8rem;
    border-radius: 10px;
    background: #09030c;
    border: 1px solid rgba(255, 117, 24, 0.25);
    font-size: 0.9rem;
}
.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #ffb74d;
}

/* Alerts (wie bei deinem Kontaktformular) */
.alert {
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}
.alert-success {
    background: rgba(46, 125, 50, 0.15);
    border: 1px solid #2e7d32;
    color: #a5d6a7;
}
.alert-danger {
    background: rgba(198, 40, 40, 0.15);
    border: 1px solid #c62828;
    color: #ef9a9a;
}

/* Formular-Styling angelehnt an dein Upload */
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #333;
    background: #050008;
    color: #f5f5f5;
    font-size: 0.85rem;
}
.form-control::placeholder {
    color: #777;
}
.textarea {
    resize: vertical;
}

/* reCAPTCHA Abstand */
.g-recaptcha {
    transform-origin: left top;
}

/* Button im Stil deines Formulars */
.btn-send {
    margin-top: 0.2rem;
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff7518, #ffb74d);
    color: #1a0600;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(0,0,0,0.9);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-send:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(0,0,0,1);
}

/* Footer */
footer {
    margin-top: 30px;
    padding: 15px 1.2rem 20px;
    text-align: center;
    font-size: 0.75rem;
    color: #9e9e9e;
    background: #030004;
    border-top: 1px solid rgba(255, 117, 24, 0.25);
}
.footer-spooky {
    font-size: 0.8rem;
    color: #ff7518;
    margin-bottom: 0.2rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1rem;
    }
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        justify-content: flex-start;
        gap: 0.5rem;
        font-size: 0.78rem;
    }
    .hero {
        padding-top: 110px;
    }
    .gallery-item {
        height: 110px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        justify-content: flex-start;
        gap: 0.5rem;
        font-size: 0.78rem;
    }

    /* Speziell für die Hauptnavigation auf Handy */
    .nav-list {
        flex-wrap: wrap;      /* darf umbrechen */
        gap: 0.5rem;
    }

    .nav-list li:not(:last-child)::after {
        content: "";          /* Trenner ausblenden, spart Platz */
        margin: 0;
    }

    .hero {
        padding-top: 110px;
    }

    .gallery-item {
        height: 110px;
    }
}

.g-recaptcha {
    margin-top: 0.3rem;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.9));
}

.gmap {
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,117,24,0.25);
}

/* Galerie Slider – 5–6 gleich große Thumbnails pro Ansicht */
.gallery-slider {
    position: relative;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-track {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;   /* keine Scrollbar sichtbar */
    /* kein gap hier, wichtig für saubere Berechnung */
}

.gallery-slide {
    flex: 0 0 calc(100% / 6); /* 6 Thumbs pro "Seite" */
    padding: 0.2rem;          /* Abstand hier statt gap */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.gallery-slide img,
.gallery-slide video {
    width: 100%;
    height: 100px;            /* alle gleich hoch */
    object-fit: cover;        /* sauber zugeschnitten */
    border-radius: 10px;
    border: 1px solid rgba(255,117,24,0.35);
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-slide img:hover,
.gallery-slide video:hover {
    transform: scale(1.03);
    box-shadow: 0 0 16px rgba(0,0,0,1);
}

/* Pfeile bleiben, falls vorhanden */
.gallery-nav {
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,117,24,0.6);
    color: #ffb74d;
    width: 28px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.gallery-nav:hover {
    background: rgba(255,117,24,0.2);
    transform: translateY(-1px);
}


.gallery-nav {
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,117,24,0.6);
    color: #ffb74d;
    width: 28px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}
.gallery-nav:hover {
    background: rgba(255,117,24,0.2);
    transform: translateY(-1px);
}

.gallery-empty {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-top: 0.6rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.lightbox.hidden {
    display: none;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,1);
    border: 2px solid rgba(255,117,24,0.6);
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 24px;
    font-size: 2rem;
    color: #ffb74d;
    cursor: pointer;
    text-shadow: 0 0 10px #000;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 80px;
    border-radius: 10px;
    border: 1px solid rgba(255,117,24,0.7);
    background: rgba(0,0,0,0.7);
    color: #ffb74d;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-shadow: 0 0 8px #000;
    transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,117,24,0.25);
    transform: translateY(-50%) scale(1.03);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .gallery-slider {
        gap: 0.3rem;
    }
    .gallery-slide img {
        max-height: 90px;
    }
    .gallery-slide {
        flex: 0 0 33.33%; /* 3 Thumbs pro Reihe auf Handy/Tablet */
        height: 90px;
    }
    .gallery-nav {
        width: 24px;
        height: 50px;
        font-size: 1.1rem;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 34px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* Video-Thumbnails in der Galerie */
.gallery-slide .video-thumb {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.gallery-slide video {
    max-height: 140px;
    border-radius: 10px;
    border: 1px solid rgba(255,117,24,0.35);
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #000;
}
.gallery-slide video:hover {
    transform: scale(1.03);
    box-shadow: 0 0 16px rgba(0,0,0,1);
}

.video-play-overlay {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #ffb74d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.9);
}

/* Lightbox für Bild & Video */
.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,1);
    border: 2px solid rgba(255,117,24,0.6);
    background: #000;
    display: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;           /* Abstand zwischen Links */
    flex-wrap: nowrap;   /* WICHTIG: auf größeren Screens einzeilig halten */
}

.nav-list a {
    white-space: nowrap; /* Link-Text immer in einer Zeile halten */
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list li:not(:last-child)::after {
    content: "|";
    color: #ccc;          /* Farbe des Strichs */
    font-weight: normal;
    margin-left: 12px;    /* Abstand nach links */
}

.radio-player iframe {
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Musiksteuerung */
#music-controls {
    position: fixed;
    bottom: 15px;
    left: 15px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    z-index: 9999;
    font-size: 12px;
    color: #fff;
}

#music-label {
    font-size: 11px;
    color: #ffb347; /* dezentes Halloween-Orange */
    white-space: nowrap;
}

#music-controls .music-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

#music-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

#music-controls input[type="range"] {
    width: 80px;
    cursor: pointer;
}

/* Mobile / Tablet: mittig unten */
@media (max-width: 768px) {
    #music-controls {
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        padding: 6px 10px;
        gap: 3px;
        font-size: 11px;
    }

    #music-controls input[type="range"] {
        width: 70px;
    }

    #music-controls button {
        font-size: 18px;
    }
}

/* Besucherzähler im Footer */
.vcounter {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.8rem;
    opacity: 0.9;
    white-space: nowrap;
}

.vcounter .icon {
    margin-right: 0.35rem;
}

.vcounter .sep {
    margin: 0 0.4rem;
    opacity: 0.7;
}

/* ================= Social Media Widgets ================= */

/* Desktop Sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 0; /* direkt am linken Rand */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9000;
}

/* Social Sidebar Links – dauerhaft sichtbar (voll ausgeklappt) */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    border-radius: 0 14px 14px 0;
    border: 1px solid rgba(255,117,24,0.4);
    background: rgba(10, 5, 15, 0.95);
    box-shadow: 0 0 8px rgba(0,0,0,0.8);
    cursor: pointer;
    transform: none !important;  /* nichts fährt mehr aus */
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.social-link:hover {
    background: rgba(25, 10, 35, 0.98);
    box-shadow: 0 0 14px rgba(255,117,24,0.6);
    transform: none !important;  /* auch beim Hover stabil */
}

.social-link .icon {
    width: 22px;
    height: 22px;
}

.social-link.fb {
    border-left: 3px solid #1877f2;
}
.social-link.ig {
    border-left: 3px solid #e1306c;
}

/* Mobile / Tablet Bottom Bar */
.social-mobile {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 14px;
    padding: 8px 12px;
    background: rgba(10, 5, 15, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(255,117,24,0.4);
    box-shadow: 0 0 12px rgba(0,0,0,0.9);
    z-index: 9000;
}

.social-mobile-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: 1px solid rgba(255,117,24,0.6);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.social-mobile-btn .icon {
    width: 20px;
    height: 20px;
}

.social-mobile-btn.fb {
    border-color: #1877f2;
}
.social-mobile-btn.ig {
    border-color: #e1306c;
}

.social-mobile-btn:hover {
    background: #1a0a15;
    transform: translateY(-2px);
}

/* Sichtbarkeit nach Gerät (optimiert für Mobile & Tablet) */
@media (min-width: 769px) {
    .social-sidebar {
        display: flex;
    }
    .social-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .social-sidebar {
        display: none !important;
    }
    .social-mobile {
        display: flex !important;
        position: fixed;
        bottom: 70px; /* etwas höher, damit nichts mit Musik-Controls überlappt */
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999; /* über allem sichtbar */
        opacity: 1;
        visibility: visible;
    }
}

/* Orange Namen im "Über uns"-Bereich */
#about strong {
    color: #ff7518;       /* Halloween-Orange */
    font-weight: 600;
}

/* ======================================
   Gästebuch
   ====================================== */
#guestbook {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 120px; /* Abstand unter der festen Navigation */
}

.guestbook-form {
    margin-top: 0.6rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.guestbook-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.guestbook-entry {
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    background: #070208;
    border: 1px solid rgba(255,117,24,0.22);
    box-shadow: 0 0 8px rgba(0,0,0,0.85);
    font-size: 0.86rem;
    text-align: center; /* kompletter Eintrag zentriert */
}

.guestbook-meta {
    display: flex;
    flex-direction: column; /* Name & Datum untereinander */
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 0.2rem;
}

.guestbook-name {
    font-weight: 600;
    color: #ffb74d;
}

.guestbook-date {
    font-size: 0.7rem;
    color: #9e9e9e;
}

.guestbook-message {
    color: #e0e0e0;
    text-align: center;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;          /* 🔸 angenehmer Zeilenabstand */
    white-space: normal;       /* 🔸 ENTER = normaler Zeilenumbruch */
    word-wrap: break-word;
}

.guestbook-empty {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-top: 0.6rem;
}

/* Pagination im Gästebuch */
.guestbook-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.page-link {
    color: #ffb74d;
    background: rgba(10, 5, 15, 0.85);
    border: 1px solid rgba(255,117,24,0.35);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.page-link:hover {
    background: rgba(255,117,24,0.15);
    box-shadow: 0 0 6px rgba(255,117,24,0.5);
}

.page-link.active {
    background: rgba(255,117,24,0.4);
    color: #fff;
    font-weight: 600;
}

/* ======================================
   Gästebuch – Bewertung unter dem Formular
   ====================================== */

.guestbook-ratings-row {
    display: flex;
    flex-direction: column;   /* drei Zeilen untereinander */
    align-items: center;      /* Block zentriert */
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

/* Formular-Bewertung: Label + Icons im Raster */
.gb-rating-field {
    display: grid;
    grid-template-columns: 280px auto;  /* Platz für „Würdest du wiederkommen?“ */
    align-items: center;
    justify-content: center;
    column-gap: 0.8rem;
    max-width: 560px;
    width: 100%;
}

.gb-rating-label {
    font-weight: 600;
    color: #ffb74d;
    text-align: right;
    padding-right: 0.3rem;
    white-space: nowrap;  /* kein Umbruch -> Icons starten bündig */
}

.gb-rating-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.15rem;
}

.gb-rating-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gb-rating-option input {
    display: none;
}

.gb-rating-option span {
    font-size: 1.3rem;
    opacity: 0.35;
    transition: all 0.15s ease;
    margin: 0 0.05rem;
}

.gb-rating-option:hover span {
    opacity: 0.8;
    transform: translateY(-1px) scale(1.05);
}

.gb-rating-option input:checked + span {
    opacity: 1;
    transform: translateY(-1px) scale(1.08);
}

/* Hinweistext unter den Bewertungen im Formular */
.gb-rating-hint {
    text-align: center;
    font-size: 0.78rem;
    color: #ffb74d;
    opacity: 0.85;
    margin-top: 0.4rem;
    margin-bottom: 0.6rem;
    font-style: italic;
}

/* ======================================
   Gästebuch – Bewertungen in Einträgen
   ====================================== */

/* Überschrift "Meine Bewertung" – zentriert */
.guestbook-rating-title {
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffb74d;
    margin-top: 0.6rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255,117,24,0.5);
}

/* Block mit den drei Zeilen darunter:
   - Block selbst zentriert
   - Inhalt linksbündig */
.guestbook-ratings-display {
    margin-top: 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;     /* Text im Block links */
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 560px;            /* Blockbreite */
    margin-left: auto;
    margin-right: auto;          /* Block als Ganzes zentriert */
    text-align: left;
}

/* Jede Bewertungszeile: Label + Icons im Raster, wie im Formular */
.gb-rating-display-item {
    display: grid;
    grid-template-columns: 280px auto;
    align-items: center;
    justify-content: center;
    column-gap: 0.8rem;
    width: 100%;
}

.gb-rating-display-item .label {
    font-weight: 600;
    color: #ffb74d;
    text-align: left;         /* linksbündig */
    padding-right: 0.3rem;
    white-space: nowrap;
}

.gb-rating-display-item .icons {
    font-size: 1.3rem;
    text-align: left;         /* Icons direkt hinter dem Label */
}

/* ======================================
   Responsives Verhalten
   ====================================== */
@media (max-width: 768px) {
    /* Formular: Label über Icons */
    .gb-rating-field {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .gb-rating-label {
        text-align: center;
        padding-right: 0;
        margin-bottom: 0.15rem;
        white-space: normal;
    }

    .gb-rating-icons {
        justify-content: center;
    }

    /* Eintrags-Bewertungen: mobil alles mittig untereinander */
    .guestbook-ratings-display {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .gb-rating-display-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gb-rating-display-item .label {
        text-align: center;
        padding-right: 0;
        margin-bottom: 0.1rem;
        white-space: normal;
    }

    .gb-rating-display-item .icons {
        text-align: center;
    }
}

/* reCAPTCHA mittig zentrieren */
.recaptcha-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.g-recaptcha {
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.9));
    transform-origin: center;
}

/* Auf Mobile etwas weniger Abstand oben */
@media (max-width: 768px) {
    #guestbook {
        padding-top: 90px;
    }
}

/* ======================================
   Fixierter Footer am unteren Seitenende
   ====================================== */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; /* Hauptinhalt dehnt sich, Footer bleibt unten */
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* ======================================
   Hamburger-Menü für Smartphones
   ====================================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    padding: 0;
    margin-left: auto;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10010;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffb74d;
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Nur auf kleinen Screens Hamburger & Dropdown-Menü */
@media (max-width: 900px) {

    .nav-container {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 0.9rem;
        gap: 0.4rem;
        position: relative;
        z-index: 10000;
    }

    .nav-toggle {
        display: flex;
    }

    /* WICHTIG:
       Header-Menü standardmäßig VERSTECKEN.
       Nur mit .open anzeigen.
    */
    header .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0.4rem 0.9rem 0.6rem;
        display: none !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(7, 2, 8, 0.98);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9);
        border-top: 1px solid rgba(255,117,24,0.35);
    }

    header .nav-list.open {
        display: flex !important;
    }

    header .nav-list li {
        list-style: none;
        width: 100%;
        margin: 0.12rem 0;
    }

    header .nav-list li a {
        display: block;
        width: 100%;
        padding: 0.25rem 0;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Keine Trenner im mobilen Menü */
    header .nav-list li:not(:last-child)::after {
        content: none !important;
        margin: 0;
    }

    /* Hamburger zu "X", wenn offen */
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ======================================
   Gästebuch – Absende-Button (Orange Theme)
   ====================================== */
.btn-send {
    display: block;
    background: linear-gradient(180deg, #ff8c1a 0%, #ff7518 100%); /* kräftiges Orange */
    color: #fff;
    border: 1px solid rgba(255,117,24,0.6);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 26px;                 /* 🔸 etwas größer */
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(255,117,24,0.4);
    margin: 0.6rem auto 0 auto;         /* 🔸 zentriert, aber nicht zu nah dran */
    width: 60%;                         /* 🔸 angenehm breit, aber kein Vollbreite-Button */
    max-width: 300px;
    text-align: center;
}

.btn-send:hover {
    background: linear-gradient(180deg, #ffa94d 0%, #ff8c1a 100%);
    box-shadow: 0 0 14px rgba(255,117,24,0.65);
    transform: translateY(-1px);
}

.btn-send:active {
    transform: translateY(1px);
    box-shadow: 0 0 6px rgba(255,117,24,0.3);
}

/* Mobile: etwas größer für Touch */
@media (max-width: 768px) {
    .btn-send {
        width: 80%;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* =========================
   Gästebuch Adminbereich
   ========================= */

.admin-body {
    background: #020003;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Hauptrahmen */
.admin-box {
    max-width: 1100px;
    margin: 80px auto 40px;
    padding: 16px;
    background: #050008;
    border-radius: 10px;
    border: 1px solid rgba(255, 117, 24, 0.35);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.admin-box-small {
    max-width: 420px;
    margin-top: 120px;
}

.admin-box-large {
    max-width: 1100px;
}

/* Überschrift */
.admin-title {
    margin: 0 0 8px;
    font-size: 1.6rem;
    color: #ffe082;
}

/* Labels & Inputs */
.admin-label {
    font-size: 0.85rem;
    color: #ffb74d;
    display: block;
    margin: 6px 0 2px;
}

.admin-input,
.admin-textarea {
    width: 100%;
    padding: 7px 8px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #07000b;
    color: #ffffff;
    font-size: 0.85rem;
    box-sizing: border-box;
}

.admin-textarea {
    min-height: 120px;
}

/* Buttons */
.admin-btn {
    margin-top: 10px;
    padding: 9px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #ff8c1a, #ff7518);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
}

.admin-btn:hover {
    box-shadow: 0 0 10px rgba(255, 117, 24, 0.6);
}

/* Links oben */
.admin-top-links {
    font-size: 0.78rem;
    margin-bottom: 8px;
    color: #ffb74d;
}

.admin-top-links a {
    color: #ffb74d;
    text-decoration: none;
}

.admin-top-links a:hover {
    color: #ffe082;
}

/* Alerts */
.admin-alert {
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.admin-alert-success {
    background: rgba(46, 125, 50, 0.18);
    border: 1px solid #2e7d32;
    color: #a5d6a7;
}

.admin-alert-danger {
    background: rgba(198, 40, 40, 0.18);
    border: 1px solid #c62828;
    color: #ef9a9a;
}

/* Tabelle */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin-top: 8px;
}

.admin-table th,
.admin-table td {
    padding: 6px 6px;
    border-bottom: 1px solid rgba(255, 117, 24, 0.15);
    vertical-align: top;
}

.admin-table th {
    color: #ffb74d;
    text-align: left;
    background: rgba(255, 117, 24, 0.06);
}

/* Badges */
.admin-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.admin-badge-ok {
    background: rgba(46, 125, 50, 0.25);
    color: #a5d6a7;
    border: 1px solid #2e7d32;
}

.admin-badge-off {
    background: rgba(198, 40, 40, 0.25);
    color: #ef9a9a;
    border: 1px solid #c62828;
}

/* Aktionen */
.admin-actions a {
    margin-right: 6px;
    font-size: 0.75rem;
    color: #ffb74d;
    text-decoration: none;
}

.admin-actions a:hover {
    color: #ffe082;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .admin-box {
        margin-top: 40px;
        padding: 10px;
    }

    .admin-table th:nth-child(4),
    .admin-table td:nth-child(4) {
        display: none; /* lange Nachrichtenspalte auf Handy ausblenden */
    }
}

/* Versteckter Admin-Link */
#hidden-admin-link {
    text-align: center;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.85;
}

#hidden-admin-link a {
    color: #ffb74d;
    text-decoration: none;
    font-weight: 600;
}

#hidden-admin-link a:hover {
    color: #ffe082;
    text-decoration: underline;
}
