@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

@media screen and (min-width: 1330px) {

:root {
    --gold-color: #bfa76f;
    --bot-blue: #004080;
}

/* === GRUNDLAYOUT === */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    color: #333;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* === SIDEBAR-PLATZHALTER (zur Freihaltung des Layouts) === */
.sidebar-placeholder {
    width: 320px;
    height: 1px;
    float: left;
}

/* === MAIN CONTENT === */
.main {
    flex: 1;
    max-width: 1200px;
    margin: 40px auto 40px auto;
    background-color: rgba(46, 74, 63, 0.5);
    color: #C2B280;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    line-height: 1.6;
    box-sizing: border-box;
}


/* === SIDEBAR === */
.sidebar {
    position: fixed;
    bottom: 100px;
    left: 0;
    width: 260px;
    background-color: rgba(46, 74, 63, 0.5);
    color: #C2B280;
    padding: 1rem;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: Arial, sans-serif;
    max-height: calc(100vh - 200px);
}

.sidebar.hidden {
    transform: translateX(-280px);
}

/* === SIDEBAR-TOGGLE-BUTTON === */
.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 10px;
    background-color: #1b4d3e;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1001;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold-color);
}

/* === SIDEBAR-INHALTE === */
.sidebar-section {
    padding: 0.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.search-section {
    max-height: 75px;
    padding: 0.3rem;
    overflow: hidden;
}

#productSearchWrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#productSearch {
    padding: 0.3rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 6px;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
}

#productSearch::placeholder {
    color: #ddd;
}

.search-buttons button {
    flex: 1;
    padding: 0.5rem 0.5rem;
    margin-top: -5px;
    font-size: 0.75rem;
    background-color: #1b4d3e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* === CHATBOT === */
.chatbot-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    text-align: center;
    color: var(--gold-color);
    margin-bottom: 0.2rem;
}

.chatbot-section,
.chatbot-inner,
#chatbot {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#chatWindow {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0.6rem;
    box-sizing: border-box;
    min-height: 0;
}

.chat-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: auto;
}

.bot-line {
    margin-bottom: 0.5rem;
    background-color: rgba(0, 255, 255, 0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
}

.user-line {
    margin-bottom: 0.5rem;
    background-color: rgba(191, 167, 111, 0.15);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    text-align: right;
}

.input-area input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 6px;
    border: none;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.input-area input::placeholder {
    color: #ddd;
}

.submit-button {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 0.2rem;
}

.submit-button button {
    padding: 0.4rem 0.6rem;
    background-color: #1b4d3e;
    color: var(--gold-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* === SCROLLBAR === */
#chatWindow::-webkit-scrollbar {
    width: 8px;
}

#chatWindow::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#chatWindow::-webkit-scrollbar-thumb {
    background-color: #bfa76f;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

#chatWindow::-webkit-scrollbar-thumb:hover {
    background-color: #a28b58;
}

#chatWindow {
    scrollbar-width: thin;
    scrollbar-color: #bfa76f rgba(255, 255, 255, 0.05);
}

/* === HEADER === */
header {
    background-color: rgba(46, 74, 63, 0.5);
    color: #C2B280;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4.5em;
    letter-spacing: 1px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5em;
    margin: 0 auto;
}

.button-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.shop {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(191, 167, 111, 0.8);
    background-color: rgba(46, 74, 63, 0.8);
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.shop:hover {
    background-color: rgba(191, 167, 111, 0.8);
    color: rgba(46, 74, 63, 0.8);
    transform: translateY(-2px);
    text-decoration: none;
}

/* === NAVIGATION === */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.main-nav a {
    text-decoration: none;
    color: #A9B9A3;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #F9E79F;
}

/* === FOOTER === */
footer {
    background-color: rgba(46, 74, 63, 0.5);
    color: #C2B280;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    max-height: 50px;
    margin-top: auto;
}

/* === PRODUKTÜBERSICHT: exakt 3 Spalten === */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem;
    box-sizing: border-box;
    width: 100%;
}

.product-card {
    background: #1b4d3e;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    min-height: 150px;
}

.product-card:hover {
    transform: translateY(-3px);
}

/* === FORMULARE === */
form input, form button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    max-width: 300px;
    font-size: 1em;
}

}
