/* =================================================================
   DAMORI Website - Stylesheet
   1:1 Nachbildung des Shopify-Themes (Dawn-Style, minimal B2B)
   ================================================================= */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #121212;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* Layout Container */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

.container.narrow {
    max-width: 800px;
    text-align: center;
}

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

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
    border-bottom: 1px solid #e8e8e8;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 30px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #121212;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #121212;
    padding: 8px 0;
    position: relative;
    text-transform: none;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #121212;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn,
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #121212;
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #121212;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Bar */
.search-bar {
    display: none;
    border-top: 1px solid #e8e8e8;
    padding: 20px 0;
    background: #ffffff;
}

.search-bar.active {
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #121212;
    padding-bottom: 8px;
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    color: #121212;
}

.search-form button {
    color: #121212;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #121212;
    transition: all 0.3s ease;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    border-top: 1px solid #e8e8e8;
    padding: 20px 0;
    background: #ffffff;
}

.mobile-nav.active {
    display: block;
}

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

.mobile-nav a {
    display: block;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 990px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: #f5f5f5;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.hero-content .container {
    width: 100%;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    min-width: 200px;
}

.btn-primary {
    background: #121212;
    color: #ffffff;
    border-color: #121212;
}

.btn-primary:hover {
    background: #ffffff;
    color: #121212;
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: #121212;
    border-color: #121212;
}

.btn-secondary:hover {
    background: #121212;
    color: #ffffff;
    opacity: 1;
}

/* =================================================================
   TEXT SECTION
   ================================================================= */
.text-section {
    padding: 80px 0;
    background: #ffffff;
}

.text-section p {
    font-size: 18px;
    line-height: 1.7;
    color: #121212;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .text-section {
        padding: 60px 0;
    }
    .text-section p {
        font-size: 16px;
    }
}

/* =================================================================
   PAGE HEADER (for sub-pages)
   ================================================================= */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    color: #121212;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 30px;
    }
}

/* =================================================================
   PAGE CONTENT
   ================================================================= */
.page-content {
    padding: 60px 0 100px;
}

.page-content .container {
    max-width: 720px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #121212;
}

.page-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #121212;
}

.page-content strong {
    font-weight: 600;
}

/* =================================================================
   CONTACT FORM
   ================================================================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #121212;
}

.form-group label .required {
    color: #c0392b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    color: #121212;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #121212;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}

.form-submit {
    align-self: flex-start;
    margin-top: 10px;
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
    border-top: 1px solid #e8e8e8;
    padding: 30px 0;
    background: #ffffff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 13px;
    color: #545454;
}

.footer-copyright a {
    color: #545454;
}

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

.footer-links a {
    font-size: 13px;
    color: #545454;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* =================================================================
   UTILITIES
   ================================================================= */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 0;
    background: #121212;
    color: #ffffff;
    padding: 10px;
    z-index: 1000;
}
