.call-float {
    position: fixed;
    right: 16px;
    bottom: 76px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0ea5e9; /* sky-500 */
    color: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    text-decoration: none;
    z-index: 1200;
}
.call-float svg { display: block; }
.call-float .label { font-weight: 700; }

/* Make both floating buttons equal width and height */
.whatsapp-float, .call-float {
    width: 180px;
    height: 48px;
    justify-content: center;
    align-items: center;
}
/* Base reset and variables */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
    --sidebar-width: 280px;
    --color-bg: #353547;
    --color-surface: #353547;
    --color-elev: #353547;
    --color-accent: #4a5568; /* anthracite */
    --color-accent-2: #fbbf24; /* amber-400 */
    --color-text: #ffefca;
    --color-muted: #d4c4a8;
    --border-color: rgba(255,246,206,.2);
    --radius: 4px;
    --radius-sm: 2px;
    --shadow: 0 10px 30px rgba(0,0,0,.3);
    --section-gap: 20px;
}

html, body { height: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

/* Use the root scrolling element for snap to ensure cross-browser support */
html { scroll-snap-type: y mandatory; scroll-padding-top: 0; overscroll-behavior-y: contain; }

/* Sidebar */
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    background: var(--color-surface);
    border-right: 1px solid var(--border-color);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 1.25rem;
}
.brand .logo { font-size: 1.6rem; }
.brand-text { white-space: nowrap; }
.brand-logo { display: block; width: 140px; height: 140px; object-fit: cover; border-radius: var(--radius); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,.15);
    color: var(--color-text);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: var(--radius);
    transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: rgba(17,24,39,.08); }
.nav a.active {
    background: linear-gradient(90deg, rgba(37,99,235,.12), rgba(37,99,235,.05));
    color: #fbbf24;
}

.contact-quick {
    margin-top: auto;
    display: grid;
    gap: 6px;
}

.legal-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.legal-links a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.legal-links a:hover {
    color: var(--color-text);
}

/* mail link styles */
.link {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.link:hover {
    color: #93c5fd;
}


/* Main content */
.content {
    margin-left: var(--sidebar-width);
    padding: 40px 32px;
}
.section {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    padding-block: 64px;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
    height: calc(100svh - var(--section-gap) * 2);
    margin-block: var(--section-gap);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}
.section h2 { margin-top: 0; letter-spacing: .2px; color: #fbbf24; }

/* Remove default focus outline on non-interactive sections (keep for real controls) */
.section:focus, .section:focus-visible { outline: none; }

.hero {
    background: var(--color-elev);
    text-align: left;
}
.hero h1 {
    margin: 0 0 10px;
    font-size: 2.2rem;
    color: #fbbf24;
}
.badges { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 18px 0; list-style: none; }
.badges li {
    background: rgba(17,24,39,.06);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.open-status { margin-top: 10px; font-weight: 700; }
.open-status.open { color: #26b556; /* green-800 */ }
.open-status.closed { color: #FA4B45; /* red-600 - lighter red */ }
.hours { margin-top: 18px; }
.hours h2 { margin: 0 0 8px; font-size: 1.1rem; }
.hours-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; max-width: 420px; }
.hours-list li { display: contents; }
.hours-list li span { padding: 4px 0; border-bottom: 1px dashed var(--border-color); }
.hours-list li span:last-child { justify-self: end; color: var(--color-text); border-bottom: none; }
.button {
    display: inline-block;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--color-elev);
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--border-color);
}
.button.primary { background: var(--color-accent); color: #ffffff; border-color: transparent; }
.button.primary[href*="wa.me"] { 
    border-bottom: 6px solid #25D366; 
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.card {
    background: var(--color-elev);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-header h3 {
    margin: 0;
    order: 2;
}

.card-header .service-image {
    order: 1;
    margin-bottom: 8px;
}

.card-header .collapse-toggle {
    order: 3;
    margin-top: 8px;
}

.service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

/* Collapsible content */
.collapse-toggle {
    display: none;
    background: var(--color-elev);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    padding: 8px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    margin-bottom: 12px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.collapse-toggle:hover {
    background: var(--color-accent);
    color: #ffffff;
    border-color: transparent;
}

.collapse-icon {
    transition: transform 0.2s ease;
}

.collapse-toggle[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

.collapse-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapse-content.collapsed {
    max-height: 0;
}

.collapse-content.expanded {
    max-height: 1000px;
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts dt { color: var(--color-muted); font-weight: 600; }
.facts dd { margin: 0; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.member { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    background: var(--color-elev); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    padding: 24px; 
}
.member img { 
    width: 120px; 
    height: 120px; 
    object-fit: contain; 
    border-radius: var(--radius); 
    margin-bottom: 16px;
}
.member h3 { margin: 0 0 8px; font-size: 1.1rem; }
.member p { margin: 0; color: var(--color-muted); line-height: 1.5; }
.member p:first-of-type { color: #fbbf24 !important; font-weight: 600; margin-bottom: 12px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gallery-grid img {
    width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-color);
}

.contact-form { display: grid; gap: 12px; max-width: 720px; }
.field { display: grid; gap: 6px; }
input, textarea {
    background: var(--color-elev);
    color: var(--color-text);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px 12px;
}
.actions { margin-top: 8px; }
.address { color: var(--color-muted); margin-top: 18px; }

.map-embed {
    margin-top: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-elev);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.map-embed iframe {
    display: block;
    width: 100%;
    height: min(420px, 60vh);
    border: 0;
    filter: saturate(1.05) contrast(1.02);
}

/* Map Consent Banner */
.map-consent {
    margin-top: 18px;
    background: var(--color-elev);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.consent-content h3 {
    margin: 0 0 12px 0;
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
}

.consent-content p {
    margin: 0 0 16px 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.consent-actions .button {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px 16px;
}

.consent-note {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
    margin: 0;
}

/* Responsive consent banner */
@media (max-width: 640px) {
    .consent-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .consent-actions .button {
        width: 100%;
    }
}

/* Impressum styles */
.impressum-content {
    background: var(--color-elev);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 16px;
}

.impressum-content p {
    margin: 0 0 12px 0;
    color: var(--color-text);
    line-height: 1.6;
}

.impressum-content p:last-child {
    margin-bottom: 0;
}

.impressum-content strong {
    color: var(--color-text);
    font-weight: 600;
}

.note {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-style: italic;
    margin-top: 8px;
}

.legal-links .active {
    color: var(--color-accent-2);
    font-weight: 600;
}

/* Music control styles */
.music-control {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.music-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--color-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--color-text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.music-btn:hover {
    background: var(--color-accent-1);
    color: white;
    border-color: var(--color-accent-1);
}

.music-btn svg {
    flex-shrink: 0;
}

.music-text {
    font-weight: 500;
}

.footer { max-width: 1100px; margin: 40px auto; color: #6b7280; text-align: center; }

/* Responsive */
@media (max-width: 1200px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .team { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .facts { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 1.8rem; }
    .service-image { height: 120px; }
}

@media (max-width: 900px) {
    .content { padding: 32px 24px; }
    .section { padding: 24px; padding-block: 48px; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .button { width: 100%; text-align: center; }
    .service-image { height: 100px; }
}

@media (max-width: 820px) {
    :root { --sidebar-width: 76px; }
    .brand-text { display: none; }
    .content { padding: 28px 20px; }
    .brand-logo { width: 60px; height: 60px; }
    .legal-links { font-size: 0.75rem; }
}

@media (max-width: 640px) {
    :root { --sidebar-width: 60px; }
    .sidebar { 
        width: var(--sidebar-width);
        padding: 16px 8px;
    }
    .brand-text { display: none; }
    .brand-logo { width: 40px; height: 40px; }
    .nav-toggle { display: none; }
    .nav { display: block; }
    .nav ul { gap: 4px; padding: 4px; }
    .nav a { 
        flex-direction: column; 
        padding: 8px 4px; 
        font-size: 0.7rem; 
        text-align: center; 
        gap: 4px;
    }
    .nav a svg { width: 18px; height: 18px; }
    .nav-text { display: none; }
    .legal-links { 
        gap: 4px; 
        font-size: 0.7rem; 
        text-align: center;
    }
    .music-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .music-text {
        display: none;
    }
    .content { 
        margin-left: var(--sidebar-width); 
        padding: 16px 12px; 
    }
    .section { 
        padding: 16px; 
        padding-block: 32px; 
        height: auto; 
        min-height: calc(100svh - var(--section-gap) * 2); 
        margin-block: var(--section-gap);
    }
    .cards { grid-template-columns: 1fr; gap: 12px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .team { grid-template-columns: 1fr; gap: 16px; }
    .member { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        padding: 16px;
    }
    .member img { 
        width: 100px; 
        height: 100px; 
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }
    .hero h1 { font-size: 1.6rem; }
    .hero-cta { gap: 8px; }
    .hours-list { grid-template-columns: 1fr; gap: 4px; }
    .hours-list li span { border-bottom: none; }
    .map-embed iframe { height: 250px; }
    .whatsapp-float, .call-float { 
        width: 160px; 
        min-width: 160px;
        max-width: 160px;
        height: 44px;
        padding: 8px 12px; 
        font-size: 0.9rem; 
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .whatsapp-float { right: 16px; bottom: 20px; }
    .call-float { right: 16px; bottom: 76px; }
    
    /* Show collapse buttons on mobile */
    .collapse-toggle {
        display: flex;
    }
    
    .collapse-content {
        max-height: 0;
        overflow: hidden;
    }
    
    .collapse-content.expanded {
        max-height: 1000px;
    }
    
    /* Service cards layout on mobile */
    .cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .card-header .collapse-toggle {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }
    
    /* Hide service images on small screens */
    .service-image {
        display: none;
    }
    
    /* Reduce spacing in opening hours on mobile */
    .hours {
        margin-top: 12px;
    }
    
    .hours h2 {
        margin: 0 0 6px;
        font-size: 1rem;
    }
    
    .hours-list {
        gap: 3px 12px;
    }
    
    .hours-list li span {
        padding: 2px 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content { padding: 12px 8px; }
    .section { 
        padding: 12px; 
        padding-block: 24px; 
        height: auto; 
        min-height: calc(100svh - var(--section-gap) * 2); 
    }
    .hero h1 { font-size: 1.4rem; }
    .brand-logo { width: 50px; height: 50px; }
    .member { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        padding: 12px;
    }
    .member img { 
        width: 80px; 
        height: 80px; 
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }
    .map-embed iframe { height: 200px; }
    .whatsapp-float, .call-float { 
        width: 140px; 
        min-width: 140px;
        max-width: 140px;
        height: 40px;
        padding: 6px 10px; 
        font-size: 0.8rem; 
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .whatsapp-float { right: 16px; bottom: 16px; }
    .call-float { right: 16px; bottom: 68px; }
    
    /* Further reduce opening hours spacing on very small screens */
    .hours {
        margin-top: 8px;
    }
    
    .hours h2 {
        margin: 0 0 4px;
        font-size: 0.95rem;
    }
    
    .hours-list {
        gap: 2px 8px;
    }
    
    .hours-list li span {
        padding: 1px 0;
        font-size: 0.85rem;
    }
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #25D366;
    color: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    text-decoration: none;
    z-index: 1200;
}
.whatsapp-float svg { display: block; }
.whatsapp-float .label { font-weight: 700; }

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(400.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  /* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local(600.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  /* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local(800.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  #route-btn {
    margin-top: 10px;
  }
