/* Hotel Zur Heimat - Custom Styles */

/* Custom Scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.custom-scrollbar::-webkit-scrollbar { height: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #e7e5e4; border-radius: 10px; }

/* Room Image Hover Effect */
.group:hover .room-image { transform: scale(1.05); }
.room-image { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

/* FAQ Card Hover */
.faq-card { transition: all 0.3s ease; }
.faq-card:hover { border-color: #8b5e34; }

/* Gallery Image Hover */
.gallery-img { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); filter: grayscale(20%); }
.gallery-img:hover { filter: grayscale(0%); transform: scale(1.05); }

/* Calendar Styles */
.availability-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day.available {
    background: #d1fae5;
    color: #065f46;
}

.calendar-day.partial {
    background: #fef3c7;
    color: #92400e;
}

.calendar-day.unavailable {
    background: #fee2e2;
    color: #991b1b;
    cursor: not-allowed;
}

.calendar-day.unknown {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.calendar-day.today {
    border: 2px solid #292524;
}

/* Admin Panel Custom Styles */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.admin-table {
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f5f5f4;
}

.admin-table th {
    background: #fafaf9;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-table tr:hover {
    background: #fafaf9;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #1c1917;
    color: white;
}

.btn-primary:hover {
    background: #292524;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Input Date Styling */
input[type="date"] {
    color: #292524;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Checkbox Styling */
input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

/* Kontakt-FAB links unten */
.contact-fab-wrapper {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9999;
    pointer-events: none;
}

.contact-fab-wrapper * {
    pointer-events: auto;
}

.contact-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #92400e;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(146, 64, 14, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(146, 64, 14, 0.5);
}

.contact-fab[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.contact-fab svg {
    transition: transform 0.3s;
}

.contact-fab-menu {
    position: absolute;
    bottom: 64px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.contact-fab-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-fab-menu.is-open .contact-fab-item {
    opacity: 1;
    transform: scale(1);
}

.contact-fab-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: #92400e;
    border: 2px solid #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
}

.contact-fab-item:hover {
    background: #fef3c7;
    color: #92400e;
    transform: scale(1.1);
}

.contact-fab-item:nth-child(1) { transition-delay: 0.05s; }
.contact-fab-item:nth-child(2) { transition-delay: 0.1s; }
.contact-fab-item:nth-child(3) { transition-delay: 0.15s; }

/* Kontaktformular-Modal */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.contact-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.contact-modal-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: #78716c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.contact-modal-close:hover {
    color: #292524;
}

body {
    position: relative !important;
}

/* BestPrice-Badge */
.bestprice-badge {
    line-height: 1.2;
}

/* Cookie-Consent-Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: white;
    border-top: 1px solid #e7e5e4;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent-banner.cookie-consent-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

body.cookie-consent-open {
    padding-bottom: 1px;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 200px;
    font-size: 0.875rem;
    color: #57534e;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-link {
    color: #92400e;
    text-decoration: underline;
}

.cookie-consent-link:hover {
    color: #78350f;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.cookie-consent-btn-primary {
    background: #92400e;
    color: white;
}

.cookie-consent-btn-primary:hover {
    background: #78350f;
}

.cookie-consent-btn-secondary {
    background: transparent;
    color: #57534e;
    border: 1px solid #d6d3d1;
}

.cookie-consent-btn-secondary:hover {
    background: #f5f5f4;
}

/* Parallax Section – Hintergrundbild responsive über volle Breite */
.parallax-section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* Menu Dots for Restaurant Menu */
.menu-dots {
    flex: 1;
    border-bottom: 1px dotted #d6d3d1;
    margin: 0 0.5rem 0.25rem 0.5rem;
    min-width: 1rem;
}

