/* ===================================
   WK CREATIVE STUDIO - ELEGANT DESIGN SYSTEM
   Based on elegant.html reference
   =================================== */

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Elegant Color Palette */
    --cream: #FAF7F2;
    --beige: #E8E3DA;
    --gold: #C9A962;
    --gold-dark: #A68A4F;
    --charcoal: #2A2A2A;
    --gray: #6B6B6B;
    --gray-light: #A0A0A0;
    --white: #FFFFFF;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling for iOS */
@supports (-webkit-overflow-scrolling: touch) {
    html {
        -webkit-overflow-scrolling: touch;
    }
}

/* Better touch handling */
a, button, .btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Remove iOS input styling */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::selection {
    background: var(--gold);
    color: var(--white);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-dark);
}

.subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* ===================================
   LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-sm {
    padding: 6rem 0;
}

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-link:hover {
    color: var(--gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    margin: 5px auto;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 1000;
    padding-top: 80px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 0;
}

.mobile-menu-links .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.mobile-menu-links .nav-link:hover {
    color: var(--gold);
}

.mobile-menu-links .btn {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    font-size: 1.125rem;
    padding: 1rem;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: var(--font-sans);
    text-align: center;
}

.btn-primary {
    background: var(--charcoal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.0625rem;
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    box-shadow: 0 2px 20px rgba(42, 42, 42, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(42, 42, 42, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--gold);
    opacity: 0.9;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--cream) 0%, #FDF9F3 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-ai-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.bg-white {
    background: var(--white);
}

.bg-cream {
    background: var(--cream);
}

/* ===================================
   GRIDS
   =================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ===================================
   LEGAL PAGES (impressum, datenschutz, etc)
   =================================== */
.legal-page {
    padding: 10rem 0 6rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(42, 42, 42, 0.06);
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    color: var(--gray);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--gold-dark);
}

.legal-content strong {
    color: var(--charcoal);
    font-weight: 600;
}

/* ===================================
   RESPONSIVE - MOBILE OPTIMIZATION
   =================================== */

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    body {
        font-size: 16px;
    }
    
    /* Typography - optimized for readability */
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.875rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    /* Layout */
    .container {
        padding: 0 1.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-sm {
        padding: 2rem 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    /* Grids - all stack to 1 column */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Buttons - full width, larger touch targets */
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* iOS touch target */
    }
    
    .btn-large {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    /* Cards - optimized spacing */
    .card {
        padding: 2rem 1.5rem;
        border-radius: 8px;
    }
    
    .card h3 {
        font-size: 1.25rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    /* Navigation - simplified */
    .nav {
        padding: 1rem 0;
    }
    
    .nav-logo {
        font-size: 1.25rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Footer - stacked */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        font-size: 0.8125rem;
        padding-top: 1.5rem;
    }
    
    /* Legal Pages */
    .legal-page {
        padding: 7rem 0 3rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
        border-radius: 8px;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .legal-content h3 {
        font-size: 1.25rem;
    }
    
    .legal-content p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.625rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .card {
        padding: 1.5rem 1.25rem;
    }
    
    .btn,
    .btn-large {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .nav,
    footer,
    .btn,
    .cta-group {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--gold);
    color: var(--white);
    padding: 1rem 2rem;
    z-index: 9999;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
