/* Cormorant Garamond – lokal gehostet (DSGVO-konform) */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/CormorantGaramond-latin-ext.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;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/CormorantGaramond-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* GemZura Brand Colors & Typography */
:root {
    --primary-color: #111111;
    --secondary-color: #333333;
    --accent-color: #111111;
    --text-primary: #222222;
    --text-secondary: #888888;
    --border-color: #e8e8e8;
    --bg-light: #f7f7f7;
    --bg-white: #ffffff;
    --header-height: 72px;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Announcement Bar */
.announcement-bar {
    background: #111111;
    color: #ffffff;
    text-align: center;
    padding: 9px 20px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

/* Header Styling */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 32px;
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.brand-logo:hover {
    opacity: 0.65;
    color: var(--primary-color);
}

/* Navigation */
.main-nav {
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 26px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* Language toggle button */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    background: transparent;
    border: 1.5px solid var(--border-color, #ccc);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.lang-toggle:hover {
    border-color: var(--text-primary);
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-primary);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.header-icon-btn:hover {
    color: var(--primary-color);
}

.cart-badge,
.cart-count,
.wishlist-count {
    position: absolute;
    top: -3px;
    right: -5px;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

.cart-count,
.wishlist-count {
    background: #aaaaaa;
}

/* Main Content Container */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.content-wrapper {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Page Title */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 24px;
        gap: 24px;
    }
    
    .main-nav {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .site-container {
        padding: 32px 24px;
    }
    
    .main-nav {
        gap: 18px;
    }
    
    .brand-logo {
        font-size: 26px;
        letter-spacing: 3px;
    }
}

@media (max-width: 900px) {
    .announcement-bar {
        font-size: 10px;
        padding: 8px 16px;
    }

    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 20px;
    }
    
    .brand-logo {
        order: 1;
    }
    
    .header-actions {
        order: 2;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin: 12px 0 0 0;
        padding-top: 14px;
        border-top: 1px solid var(--border-color);
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .site-container {
        padding: 24px 16px;
    }
    
    .brand-logo {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .header-icon-btn {
        width: 32px;
        height: 32px;
    }
    
    .header-icon-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .main-nav {
        gap: 14px;
    }
    
    .nav-link {
        font-size: 10.5px;
    }
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #cccccc;
    margin-top: 80px;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 11.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copy {
    font-size: 11px;
    color: #777777;
    margin: 0;
}

/* Legal Pages (Impressum, Datenschutz, AGB) */
.legal-page {
    padding: 48px 20px 80px;
}

.legal-container {
    max-width: 780px;
    margin: 0 auto;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--primary-color);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    padding: 20px 40px;
}

.cookie-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 260px;
}

.cookie-banner-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner-actions {
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 11px 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept:hover {
    opacity: 0.8;
}

@media (max-width: 600px) {
    .cookie-banner {
        padding: 16px 20px;
    }

    .cookie-banner-inner {
        gap: 16px;
    }

    .cookie-btn-accept {
        width: 100%;
        padding: 12px;
    }
}
