:root {
    --primary: #2c7a7b;
    --secondary: #f6ad55;
    --light: #f7fafc;
    --dark: #1a202c;
}

body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #1f5e5f !important;
    border-color: #1f5e5f !important;
    box-shadow: none !important;
}

/* Header */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

/* Hintergrundbild mit Zoom */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/header_bg.webp') center/cover;
    transform: scale(1.1);
    animation: heroZoom 12s ease-in-out infinite alternate;
}

/* weiches Overlay statt dunkel */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.7)
    );
    backdrop-filter: blur(2px);
}

/* Content schwebt */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeUp 1.2s ease-out;
}

/* Titel moderner */
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Animationen */
@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a202c;
    color: white;
    padding: 20px;
    z-index: 9999;
    display: none;
}

#cookie-banner button {
    margin-right: 10px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-tight {
    padding-top: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    height: 220px;
    object-fit: cover;
}

/* Preise */
.table {
    border-radius: 10px;
    overflow: hidden;
}

/* Kontakt */
form {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
}

/* Map */
#map {
    height: 300px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
}

/* 🔥 GALERIE HOVER EFFEKT */
.gallery a {
    position: relative;
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

/*
.gallery img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
*/

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Zoom */
.gallery a:hover img {
    transform: scale(1.06);
}

/* Overlay */
.gallery a::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.6)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery a:hover::after {
    opacity: 1;
}

/* Plus Icon */
.gallery a::before {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 40px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery a:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.glightbox-container {
    z-index: 999999 !important;
}

.glightbox-clean .gclose,
.gclose,
.glightbox-close {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    color: #fff !important;
    font-size: 34px !important;
    z-index: 999999 !important;
}

#zimmer {
    background: radial-gradient(
        circle at top,
        rgba(44,122,123,0.06),
        transparent 60%
    );
}

#zimmer::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(44,122,123,0.12),
        transparent 60%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.section-decor {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
}

.section-decor::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(
        circle,
        rgba(44,122,123,0.20),
        rgba(246,173,85,0.12),
        transparent 70%
    );
    top: -300px;
    right: -300px;
    z-index: 0;
    pointer-events: none;
}

.section-decor::after {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(246,173,85,0.15),
        transparent 70%
    );
    bottom: -300px;
    left: -300px;
    z-index: 0;
    pointer-events: none;
}

.section-decor .container {
    position: relative;
    z-index: 2;
}

.contact-box {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-box i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 18px;
}

.contact-box a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
}

.contact-box a:hover {
    color: var(--primary);
}

.room-title {
    margin-bottom: 15px;
}

.room-title h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.room-title p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}
.contact-box a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

table td:first-child,
table th:first-child {
    text-align: left;
}
