/* ===========================
   Variables & Base Styles
   =========================== */
:root {
    --color-bg-dark: #0a1628;
    --color-bg-medium: #1a2a3a;
    --color-bg-light: #243447;
    --color-accent: #F7931E;
    --color-accent-light: #FFB347;
    --color-accent-glow: rgba(247, 147, 30, 0.5);
    --color-text: #ffffff;
    --color-text-muted: #a0aec0;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-glass: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
    --shadow-glow: 0 0 40px var(--color-accent-glow);
}

/* Dachdecker Theme (Dach & Tat) - Terracotta/Ziegelrot */
[data-branch="dachdecker"] {
    --color-bg-dark: #1a1a1a;
    --color-bg-medium: #2d2d2d;
    --color-accent: #5A6B7A;
    --color-accent-light: #7A8B9A;
    --color-accent-glow: rgba(90, 107, 122, 0.5);
}

/* La Casa Theme (Restaurant) - HELL mit Orange Akzent */
[data-branch="lacasa"] {
    --color-bg-dark: #ffffff;
    --color-bg-medium: #f5f5f5;
    --color-bg-light: #eeeeee;
    --color-accent: #E65100;
    --color-accent-light: #FF8A50;
    --color-accent-glow: rgba(230, 81, 0, 0.3);
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-border: rgba(0, 0, 0, 0.1);
    --color-glass: rgba(0, 0, 0, 0.03);
    --color-glass-border: rgba(0, 0, 0, 0.08);
}

/* La Casa spezifische Anpassungen für helles Theme */
[data-branch="lacasa"] .hero-bg {
    background: linear-gradient(180deg, #1a0a05 0%, #2d1510 40%, #0a1628 100%);
}

/* La Casa: Logo dunkel (natürliche Farben), kein Invert */
[data-branch="lacasa"] .logo {
    filter: none;
    width: 320px;
    transition: filter 0.4s ease, transform 0.4s ease;
}

[data-branch="lacasa"] .logo-glow {
    background: radial-gradient(circle, rgba(230, 81, 0, 0.5) 0%, rgba(230, 81, 0, 0.15) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

[data-branch="lacasa"] .logo-wrapper:hover .logo {
    filter: drop-shadow(0 0 25px rgba(230, 81, 0, 0.6));
    transform: scale(1.05);
}

[data-branch="lacasa"] .logo-wrapper:hover .logo-glow {
    opacity: 1;
}

/* La Casa: Helle Texte auf dunklem Hintergrund */
[data-branch="lacasa"] .hero-title,
[data-branch="lacasa"] .hero-subtitle {
    color: #ffffff;
}

[data-branch="lacasa"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

[data-branch="lacasa"] .demo-selector-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-branch="lacasa"] .feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-branch="lacasa"] .faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-branch="lacasa"] .faq-question {
    color: #333333;
}

[data-branch="lacasa"] .faq-answer {
    color: #555555;
}

[data-branch="lacasa"] .chatbot-widget {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-branch="lacasa"] .chatbot-header {
    background: linear-gradient(135deg, #1a0a05 0%, #2d1510 80%, #E65100 100%);
    padding: 18px 20px;
}

/* La Casa: Premium Avatar im Chat-Header */
[data-branch="lacasa"] .chatbot-avatar {
    width: 48px;
    height: 48px;
    background: #1a0a05;
    border-radius: 12px;
    border: 2px solid rgba(200, 80, 30, 0.4);
    box-shadow: 0 0 12px rgba(200, 80, 30, 0.3);
    padding: 4px;
}

[data-branch="lacasa"] .chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

[data-branch="lacasa"] .chatbot-header h4 {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

[data-branch="lacasa"] .chatbot-status {
    color: #FF8A50;
    opacity: 1;
    font-weight: 500;
}

[data-branch="lacasa"] .chatbot-close {
    color: rgba(255,255,255,0.7);
}

[data-branch="lacasa"] .chatbot-close:hover {
    color: #ffffff;
}

[data-branch="lacasa"] .chatbot-messages {
    background: #f9f9f9;
}

[data-branch="lacasa"] .chatbot-message.bot {
    background: #ffffff;
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-branch="lacasa"] .chatbot-message.user {
    background: linear-gradient(135deg, #E65100 0%, #FF8A50 100%);
    color: #ffffff;
}

[data-branch="lacasa"] .chatbot-input-area {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-branch="lacasa"] #chatbot-input {
    background: #f5f5f5;
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-branch="lacasa"] .category-btn,
[data-branch="lacasa"] .suggestion-btn {
    background: #ffffff;
    color: #333333;
    border: 1px solid #E65100;
}

[data-branch="lacasa"] .category-btn:hover,
[data-branch="lacasa"] .suggestion-btn:hover {
    background: #E65100;
    color: #ffffff;
}

[data-branch="lacasa"] .contact-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-branch="lacasa"] .footer {
    background: #f5f5f5;
    color: #666666;
}

[data-branch="lacasa"] .corner-glow .ambient-glow {
    background: radial-gradient(circle, rgba(230, 81, 0, 0.15) 0%, transparent 70%);
}

/* La Casa: Command Palette Kontrast-Fix (heller Hintergrund) */
[data-branch="lacasa"] .command-palette {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.25), 0 0 0 1px rgba(200, 80, 30, 0.2);
}

[data-branch="lacasa"] .command-search {
    background: linear-gradient(180deg, rgba(230, 81, 0, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-branch="lacasa"] .command-search input {
    color: #333333;
}

[data-branch="lacasa"] .command-search input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

[data-branch="lacasa"] .command-close {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
}

[data-branch="lacasa"] .command-close:hover {
    background: rgba(230, 81, 0, 0.15);
    border-color: rgba(230, 81, 0, 0.3);
    color: #E65100;
}

[data-branch="lacasa"] .command-section-title {
    color: #999999;
}

[data-branch="lacasa"] .command-item {
    color: #333333;
}

[data-branch="lacasa"] .command-item-content h4 {
    color: #222222;
}

[data-branch="lacasa"] .command-item-content span {
    color: #888888;
}

[data-branch="lacasa"] .command-item.disabled h4 {
    color: #bbbbbb;
}

[data-branch="lacasa"] .command-item:hover:not(.disabled) {
    background: rgba(230, 81, 0, 0.08);
}

[data-branch="lacasa"] .command-item::before {
    background: linear-gradient(90deg, rgba(230, 81, 0, 0.1), transparent);
}

[data-branch="lacasa"] .command-item.active {
    background: rgba(230, 81, 0, 0.1);
    box-shadow: inset 0 0 0 1px rgba(230, 81, 0, 0.25);
}

[data-branch="lacasa"] .command-item-icon {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.2), rgba(230, 81, 0, 0.08));
    color: #E65100;
}

[data-branch="lacasa"] .command-item.disabled .command-item-icon {
    background: rgba(0, 0, 0, 0.04);
    color: #cccccc;
}

[data-branch="lacasa"] .command-item-status {
    color: #22c55e;
}

[data-branch="lacasa"] .command-item.disabled .command-item-status {
    color: #cccccc;
}

[data-branch="lacasa"] .command-hint {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: #999999;
}

[data-branch="lacasa"] .command-overlay {
    background: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(247, 147, 30, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.logo {
    width: 280px;
    
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.logo-wrapper:hover .logo {
    width: 280px;
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px var(--color-accent));
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 40px 0 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--color-accent-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: 50%;
    color: var(--color-bg-dark);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.feature-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-bg-dark);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.feature-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

.phone-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ===========================
   Audio Modal
   =========================== */
.audio-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.audio-modal.active {
    opacity: 1;
    visibility: visible;
}

.audio-modal-content {
    background: var(--color-bg-medium);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.audio-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.audio-modal-close:hover {
    color: var(--color-text);
}

.audio-modal h3 {
    margin-bottom: 24px;
}

.audio-player {
    margin-bottom: 24px;
}

.audio-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 60px;
    margin-bottom: 16px;
}

.waveform-bar {
    width: 4px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { animation-delay: 0.4s; }
.waveform-bar:nth-child(8) { animation-delay: 0.3s; }
.waveform-bar:nth-child(9) { animation-delay: 0.2s; }
.waveform-bar:nth-child(10) { animation-delay: 0.1s; }

@keyframes wave {
    0%, 100% { height: 20px; }
    50% { height: 50px; }
}

.audio-placeholder {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.audio-cta {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.audio-call-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-bg-dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.audio-call-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 48px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-accent);
}

.faq-item.active {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-accent);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 380px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.footer-text a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-text a:hover {
    color: var(--color-accent-light);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* ===========================
   Chatbot Widget
   =========================== */
.chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 500px;
    max-height: calc(100vh - 140px);
    background: var(--color-bg-medium);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chatbot-widget.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chatbot-avatar img {
    width: 30px;
    height: auto;
}

.chatbot-header h4 {
    color: var(--color-bg-dark);
    font-size: 0.9375rem;
    font-weight: 600;
}

.chatbot-status {
    font-size: 0.75rem;
    color: var(--color-bg-dark);
    opacity: 0.8;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-bg-dark);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Category Buttons */
.chatbot-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.category-btn {
    padding: 10px 16px;
    background: var(--color-glass);
    border: 1px solid var(--color-accent);
    border-radius: 20px;
    color: var(--color-accent);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

.chatbot-categories.hidden {
    display: none;
}

/* Quick Suggestions */
.quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.suggestion-btn {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.chatbot-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9375rem;
    line-height: 1.5;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-message.bot {
    align-self: flex-start;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-bottom-left-radius: 4px;
}

.chatbot-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-bg-dark);
    border-bottom-right-radius: 4px;
}

.chatbot-message.typing {
    display: flex;
    gap: 4px;
    padding: 16px 20px;
}

.chatbot-message.typing span {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.chatbot-message.typing span:nth-child(1) { animation-delay: 0s; }
.chatbot-message.typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-message.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.chatbot-input-area {
    padding: 16px;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 12px;
}

#chatbot-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 50px;
    color: var(--color-text);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
}

#chatbot-input:focus {
    border-color: var(--color-accent);
}

#chatbot-input::placeholder {
    color: var(--color-text-muted);
}

#chatbot-send {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border: none;
    border-radius: 50%;
    color: var(--color-bg-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#chatbot-send:hover {
    transform: scale(1.1);
}

/* Floating Action Button */
.chatbot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border: none;
    border-radius: 50%;
    color: var(--color-bg-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.chatbot-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--color-accent-glow);
}

.chatbot-fab.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 60px 0 40px;
    }

    .logo {
    width: 280px;
        width: 150px;
    }

    .logo-glow {
        width: 200px;
        height: 200px;
    }

    .features {
        padding: 20px 0 60px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .chatbot-widget {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chatbot-fab {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-button {
        width: 100%;
        justify-content: center;
    }

    .faq-question {
        padding: 16px;
        font-size: 0.9375rem;
    }

    .faq-answer p {
        padding: 0 16px 16px;
    }
}

/* ===========================
   Branchen-Wechsler (Corner Typing Indicator)
   =========================== */
.corner-glow {
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    height: 150px;
    pointer-events: auto;
    z-index: 100;
    cursor: pointer;
}

.ambient-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    filter: blur(35px);
    transition: all 0.4s ease;
}

.corner-glow:hover .ambient-glow,
.corner-glow.active .ambient-glow {
    transform: scale(1.4);
    opacity: 0.9;
}

.typing-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.corner-glow:hover .typing-indicator,
.corner-glow.active .typing-indicator {
    opacity: 1;
    transform: scale(1.05);
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(247, 147, 30, 0.12);
    border: 1px solid rgba(247, 147, 30, 0.25);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.corner-glow:hover .typing-dots,
.corner-glow.active .typing-dots {
    background: rgba(247, 147, 30, 0.2);
    border-color: rgba(247, 147, 30, 0.5);
    box-shadow: 0 0 25px var(--color-accent-glow);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: dotBounceSlow 2.8s ease-in-out infinite;
    transition: animation-duration 0.3s ease;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.3s; }
.typing-dot:nth-child(3) { animation-delay: 0.6s; }

/* Bei Hover: schnellere Animation */
.corner-glow:hover .typing-dot,
.corner-glow.active .typing-dot {
    animation: dotBounceFast 1.2s ease-in-out infinite;
}

.corner-glow:hover .typing-dot:nth-child(1),
.corner-glow.active .typing-dot:nth-child(1) { animation-delay: 0s; }
.corner-glow:hover .typing-dot:nth-child(2),
.corner-glow.active .typing-dot:nth-child(2) { animation-delay: 0.15s; }
.corner-glow:hover .typing-dot:nth-child(3),
.corner-glow.active .typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotBounceSlow {
    0%, 70%, 100% { transform: translateY(0); opacity: 0.4; }
    35% { transform: translateY(-5px); opacity: 0.8; }
}

@keyframes dotBounceFast {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.typing-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.corner-glow:hover .typing-label,
.corner-glow.active .typing-label {
    color: rgba(255,255,255,0.8);
}

/* Command Palette Overlay */
.command-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 200;
}

.command-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Command Palette */
.command-palette {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(-30px) scale(0.9);
    width: 90%;
    max-width: 520px;
    background: rgba(20, 35, 60, 0.95);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 201;
    box-shadow:
        0 50px 100px rgba(0,0,0,0.5),
        0 0 0 1px rgba(247, 147, 30, 0.2),
        0 0 80px rgba(247, 147, 30, 0.15);
}

.command-palette.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.command-search {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(247, 147, 30, 0.08) 0%, transparent 100%);
}

.command-search svg {
    color: var(--color-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px var(--color-accent-glow));
}

.command-search input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.15rem;
    outline: none;
    font-weight: 400;
    font-family: var(--font-family);
}

.command-search input::placeholder {
    color: rgba(255,255,255,0.35);
}

.command-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-family);
}

.command-close:hover {
    background: rgba(247, 147, 30, 0.2);
    border-color: rgba(247, 147, 30, 0.3);
    color: var(--color-accent);
}

.command-list {
    padding: 16px;
    max-height: 380px;
    overflow-y: auto;
}

.command-section {
    margin-bottom: 12px;
}

.command-section:last-child {
    margin-bottom: 0;
}

.command-section-title {
    padding: 10px 14px 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.command-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 147, 30, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.command-item:hover:not(.disabled)::before {
    opacity: 1;
}

.command-item:hover:not(.disabled) {
    background: rgba(247, 147, 30, 0.1);
}

.command-item.active {
    background: rgba(247, 147, 30, 0.15);
    box-shadow: inset 0 0 0 1px rgba(247, 147, 30, 0.3);
}

.command-item.disabled {
    cursor: not-allowed;
}

.command-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.25), rgba(247, 147, 30, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.command-item.disabled .command-item-icon {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.2);
}

.command-item-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.command-item-content h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    font-weight: 500;
}

.command-item.disabled h4 {
    color: rgba(255,255,255,0.3);
}

.command-item-content span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.command-item-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #22c55e;
}

.command-item-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.command-item.disabled .command-item-status {
    color: rgba(255,255,255,0.25);
}

.command-item.disabled .command-item-status .dot {
    box-shadow: none;
}

.command-hint {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.command-hint span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.command-hint kbd {
    padding: 3px 7px;
    background: rgba(255,255,255,0.08);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.7rem;
}

/* Mobile Branchen-Wechsler */
@media (max-width: 768px) {
    .corner-glow {
        width: 160px;
        height: 80px;
    }

    .typing-indicator {
        opacity: 1;
        top: 15px;
        right: 15px;
    }

    .typing-dots {
        padding: 12px 16px;
        background: rgba(247, 147, 30, 0.15);
        border-color: rgba(247, 147, 30, 0.35);
        animation: mobilePulse 3s ease-in-out infinite;
    }

    @keyframes mobilePulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.4); }
        50% { box-shadow: 0 0 0 8px rgba(247, 147, 30, 0); }
    }

    .typing-dot {
        width: 10px;
        height: 10px;
    }

    .corner-glow:active .typing-dots {
        transform: scale(0.95);
        background: rgba(247, 147, 30, 0.3);
    }

    .ambient-glow {
        width: 120px;
        height: 80px;
        top: -40px;
        right: -40px;
    }

    .typing-label {
        display: none;
    }

    .command-palette {
        width: 95%;
        top: 5%;
        max-height: 90vh;
    }

    .command-search {
        padding: 20px;
    }

    .command-search input {
        font-size: 1rem;
    }

    .command-hint {
        display: none;
    }

    .command-list {
        max-height: calc(90vh - 120px);
    }

    .command-item {
        padding: 14px 16px;
    }

    .command-item-icon {
        width: 40px;
        height: 40px;
    }
}

/* Shake Animation for Chat FAB */
@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    10% { transform: translateX(-5px) rotate(-5deg); }
    20% { transform: translateX(5px) rotate(5deg); }
    30% { transform: translateX(-5px) rotate(-3deg); }
    40% { transform: translateX(5px) rotate(3deg); }
    50% { transform: translateX(-3px) rotate(-2deg); }
    60% { transform: translateX(3px) rotate(2deg); }
    70% { transform: translateX(-2px) rotate(-1deg); }
    80% { transform: translateX(2px) rotate(1deg); }
    90% { transform: translateX(-1px) rotate(0); }
}

#chatbot-fab.shake {
    animation: shake 0.8s ease-in-out;
}

/* FAQ Search */
.faq-search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.faq-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-search:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb, 196, 92, 62), 0.15);
}

.faq-search::placeholder {
    color: var(--color-text-muted);
}

.faq-search-icon {
    display: block;
    max-width: 20px;
    max-height: 20px;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    pointer-events: none;
}

.faq-item.hidden {
    display: none;
}

.faq-no-results {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Scrollable FAQ Container */
.faq-list-wrapper {
    position: relative;
    max-height: 380px;
    overflow: hidden;
}

.faq-list {
    max-height: 380px;
    overflow-y: auto;
    padding-bottom: 60px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}

.faq-list::-webkit-scrollbar {
    width: 6px;
}

.faq-list::-webkit-scrollbar-track {
    background: transparent;
}

.faq-list::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

/* Blur/Fade effect at bottom - Seitenfarbe als Gradient */
.faq-list-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    pointer-events: none;
    z-index: 1;
}
}
}

/* Hide blur when scrolled to bottom */
.faq-list-wrapper.scrolled-bottom::after {
    opacity: 0;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .faq-list-wrapper {
        max-height: 400px;
    }
    .faq-list {
        max-height: 400px;
    }
}

/* Chat Popup Teaser */
.chatbot-popup {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 300px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 999;
}

.chatbot-popup.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.chatbot-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #f1f1f1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #666;
    transition: background 0.2s;
}

.chatbot-popup-close:hover {
    background: #e0e0e0;
}

.chatbot-popup-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.chatbot-popup-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 15px;
}

.chatbot-popup-cta {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .chatbot-popup {
        width: 280px;
        right: 15px;
        bottom: 90px;
    }
}


/* ===========================
   Chatbot Premium Animations
   =========================== */

/* Header shimmer effect */
@keyframes headerShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.chatbot-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: headerShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.chatbot-header {
    position: relative;
    overflow: hidden;
}

/* Avatar breathing glow */
@keyframes avatarBreath {
    0%, 100% { box-shadow: 0 0 8px rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 16px rgba(255,255,255,0.25), 0 0 4px rgba(255,255,255,0.1); }
}

.chatbot-avatar {
    animation: avatarBreath 3s ease-in-out infinite;
}

/* Online status pulse */
@keyframes statusPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.chatbot-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px #22c55e;
}

/* Message slide-in with stagger */
@keyframes msgSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.chatbot-message {
    animation: msgSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.chatbot-message.bot {
    animation-duration: 0.5s;
}

/* Bot message subtle glass effect */
.chatbot-message.bot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    border-radius: 16px 16px 0 0;
}

.chatbot-message.bot {
    position: relative;
}

/* User message send effect */
@keyframes userMsgSend {
    from {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.chatbot-message.user {
    animation: userMsgSend 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Enhanced typing indicator */
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    30% { transform: translateY(-8px) scale(1.15); opacity: 1; }
}

.chatbot-message.typing span {
    animation: typingBounce 1.4s infinite ease-in-out;
}

/* Send button pulse on hover */
@keyframes sendPulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(247, 147, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 147, 30, 0); }
}

#chatbot-send:hover {
    animation: sendPulse 1.5s infinite;
    transform: scale(1.08);
}

#chatbot-send {
    transition: transform 0.2s ease, background 0.2s ease;
}

/* Input focus glow */
#chatbot-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.15), 0 0 20px rgba(247, 147, 30, 0.08);
}

/* Category & suggestion button hover effects */
.category-btn, .suggestion-btn {
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 147, 30, 0.25);
}

.suggestion-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Chat widget open animation - enhanced */
.chatbot-widget.active {
    animation: chatOpen 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes chatOpen {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Chat FAB button hover */
.chatbot-fab {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.chatbot-fab:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(247, 147, 30, 0.4);
}

/* La Casa specific: warm avatar glow */
[data-branch="lacasa"] .chatbot-avatar {
    animation: lacasaAvatarGlow 3s ease-in-out infinite;
}

@keyframes lacasaAvatarGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(200, 80, 30, 0.2); }
    50% { box-shadow: 0 0 20px rgba(200, 80, 30, 0.45), 0 0 6px rgba(200, 80, 30, 0.2); }
}

[data-branch="lacasa"] .chatbot-status::before {
    background: #FF8A50;
    box-shadow: 0 0 6px #FF8A50;
}

/* Smooth scrollbar for chat */
.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

[data-branch="lacasa"] .chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
}

[data-branch="lacasa"] .chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.2);
}


/* ===========================
   La Casa Mobile Optimierungen
   =========================== */
@media (max-width: 768px) {
    [data-branch="lacasa"] .logo {
        width: 240px;
    }

    [data-branch="lacasa"] .chatbot-header {
        padding: 14px 16px;
    }

    [data-branch="lacasa"] .chatbot-avatar {
        width: 42px;
        height: 42px;
    }

    [data-branch="lacasa"] .chatbot-message {
        max-width: 90%;
        font-size: 0.9rem;
    }

    [data-branch="lacasa"] .chatbot-input-area {
        padding: 12px;
    }

    [data-branch="lacasa"] #chatbot-input {
        font-size: 16px; /* Verhindert iOS Zoom bei Focus */
    }

    [data-branch="lacasa"] .category-btn {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }

    [data-branch="lacasa"] .suggestion-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    /* Fullscreen chat auf Mobile - optimierter Safe Area */
    [data-branch="lacasa"] .chatbot-widget.active {
        border-radius: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

@media (max-width: 480px) {
    [data-branch="lacasa"] .logo {
        width: 200px;
    }

    [data-branch="lacasa"] .hero-title {
        font-size: 1.25rem;
    }

    [data-branch="lacasa"] .chatbot-avatar {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    [data-branch="lacasa"] .chatbot-header h4 {
        font-size: 0.875rem;
    }
}
