/* ============================================
   OFEN UND GENUSS - Stylesheet
   Rustikaler Stil mit italienisch-bayerischem Flair
   ============================================ */

/* ============================================
   CUSTOM FONTS
   ============================================ */
@font-face {
    font-family: 'Benguiat Gothic';
    src: url('../schriften/BenguiatGothicITCbyBT-Book.woff2') format('woff2'),
         url('../schriften/BenguiatGothicITCbyBT-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benguiat Gothic';
    src: url('../schriften/BenguiatGothicITCbyBT-Bold.woff2') format('woff2'),
         url('../schriften/BenguiatGothicITCbyBT-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benguiat Gothic';
    src: url('../schriften/BenguiatGothicITCbyBT-BoldItal.woff2') format('woff2'),
         url('../schriften/BenguiatGothicITCbyBT-BoldItal.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* CSS Custom Properties (Variablen) */
:root {
    /* Warmes Terrakotta - wie der Pizzaofen */
    --primary-color: rgba(130, 0, 0, 1);
    /* Dunkles Holzbraun - rustikal */
    --secondary-color: #5D4037;
    /* Goldbraun/Honig - Akzent */
    --accent-color: #C17F24;
    /* Warmes Creme - wie Vintage-Papier */
    --cream: #ffffff;
    --warm-white: #FDF8F0;
    --text-dark: #3a3a3a;
    --text-light: #dddddd;
    --shadow: rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Benguiat Gothic', 'Georgia', sans-serif;
    background-color: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

      background-image: url(../buidl_layout/steinwand_background_02.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  
}


.logo_hero {
    width: 60%;
    margin: 1rem auto;
      -webkit-filter: drop-shadow(5px 5px 5px #5c5c5c);
  filter: drop-shadow(5px 5px 5px #5c5c5c);
}


/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Benguiat Gothic', 'Georgia', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px var(--shadow);
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: linear-gradient(135deg, #757575 0%, #474747 100%);
    color: var(--text-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-icon {
    font-size: 2.5rem;
}

/* Hauptnavigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.main-nav ul a {
    color: var(--text-light);
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    font-weight: 500;
    position: relative;
}

.main-nav ul a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--cream);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-nav ul a:hover::before,
.main-nav ul a.active::before {
    width: 80%;
}

.main-nav ul a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cream);
}

/* Social Media Links in Navigation */
.social-links {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.svg-icon-social {
    width: 1.4rem;
    height: 1.4rem;
    fill: var(--text-light);
    display: block;
}

/* CSS-only Hamburger Menu */
.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

/* Hamburger Animation bei aktivem Toggle */
.nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

.content-section {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 3px 12px var(--shadow);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(rgba(184, 92, 56, 0.9), rgba(93, 64, 55, 0.95)),
                url('../buidl_layout/hero-bg.jpg') center/cover; */
                    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    color: var(--text-light);
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.hero .tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    max-width: 550px;
    margin: 0 auto;
}

/* Feature Cards */
.features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.25rem 0;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 3px 12px var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

/* ============================================
   SVG ICONS - Einfarbig in --text-dark
   ============================================ */
.svg-icon {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    vertical-align: -0.125em;
    display: inline-block;
}

.svg-icon-lg {
    width: 2.5rem;
    height: 2.5rem;
    fill: var(--text-dark);
}

.svg-icon-header {
    width: 2rem;
    height: 2rem;
    fill: var(--text-light);
}

.feature-card .svg-icon-lg {
    fill: var(--primary-color);
}

.footer-section .svg-icon {
    fill: var(--cream);
}

h1 .svg-icon,
h4 .svg-icon {
    vertical-align: -0.1em;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   TERMINE (Events)
   ============================================ */
.termine-liste {
    list-style: none;
}

.termin-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    align-items: center;
}

.termin-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px var(--shadow);
}

.termin-datum {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.termin-datum .tag {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.termin-datum .monat {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.termin-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.termin-info .ort {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   BILDERGALERIE
   ============================================ */
.galerie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.galerie-item {
    flex: 1 1 300px;
    max-width: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    cursor: pointer;
}

.galerie-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.galerie-item:hover img {
    transform: scale(1.1);
}

.galerie-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(184, 92, 56, 0.7));
    opacity: 0;
    transition: var(--transition);
}

.galerie-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Lightbox Navigation */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: white;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition);
    user-select: none;
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

/* ============================================
   PROFIL
   ============================================ */
.profil-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.profil-image {
    flex: 1;
    min-width: 300px;
}

.profil-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px var(--shadow);
}

.profil-text {
    flex: 2;
    min-width: 300px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
}

.highlight-box p {
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #757575 0%, #474747 100%);
    color: var(--text-light);
    padding: 2rem;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: var(--cream);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: var(--text-light);
    padding: 0.25rem 0;
    display: inline-block;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--cream);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* ============================================
   HTMX LOADING STATES
   ============================================ */
.htmx-request {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--cream);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
    color: white;
}

/* ============================================
   IMPRESSUM & DATENSCHUTZ
   ============================================ */
.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 2rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    color: var(--secondary-color);
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation - CSS only */
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, #8B4513 100%);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px var(--shadow);
        flex-direction: column;
        overflow-y: auto;
    }

    /* CSS-only: Navigation oeffnen wenn Checkbox checked */
    .nav-toggle:checked ~ .main-nav {
        right: 0;
    }

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

    .main-nav ul a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-links {
        margin: 1.5rem 0 0 0;
        padding: 1rem 0 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    /* Klick-Overlay zum Schliessen */
    .nav-toggle:checked ~ .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Mobile Adjustments */
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .termin-item {
        flex-direction: column;
        text-align: center;
    }

    .profil-content {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    main {
        padding: 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .galerie-item {
        flex: 1 1 100%;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2.5rem;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 3px 12px var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

.contact-card-icon {
    background: var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon .svg-icon-lg {
    fill: white;
    width: 1.8rem;
    height: 1.8rem;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-card-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-block;
}

.contact-link:hover {
    color: var(--accent-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.svg-icon-btn {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-card-icon {
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3E2723 100%);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--cream);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.15);
    color: var(--cream);
    border: 2px solid var(--cream);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cream);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--warm-white);
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B4513 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    color: white;
    border: none;
    font-size: 1.4rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--cream);
    cursor: pointer;
}

.cookie-category-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.cookie-category-body {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    border-top: 1px solid #ddd;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1rem 1.5rem;
    background: #f5f5f5;
    border-radius: 0 0 10px 10px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-modal-footer .cookie-btn-settings {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-modal-footer .cookie-btn-settings:hover {
    background: var(--primary-color);
    color: white;
}

/* Cookie Settings Link (Footer) */
.cookie-settings-link {
    cursor: pointer;
    opacity: 0.8;
}

.cookie-settings-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-modal-content {
        margin: 0.5rem;
    }

    .cookie-modal-footer {
        justify-content: center;
    }
}
