/* ================================================
   LEDERHANDTASCHE INFORMATIONSWEBSITE - STYLE.CSS
   Luxuriöses, warmes Design mit Leder-Farbpalette
   ================================================ */

/* === CSS VARIABLES === */
:root {
    /* Primärfarben – warme Leder-Töne */
    --color-primary: #8B5E3C;
    --color-primary-dark: #6B4226;
    --color-primary-light: #B07D56;

    /* Sekundärfarben – elegantes Gold/Messing */
    --color-secondary: #C9A96E;
    --color-secondary-dark: #A8883F;
    --color-secondary-light: #DFC794;

    /* Neutraltöne */
    --color-bg: #FBF8F4;
    --color-bg-alt: #F3EDE4;
    --color-bg-card: #FFFFFF;
    --color-text: #2C2420;
    --color-text-light: #5C504A;
    --color-text-muted: #9A8E87;
    --color-border: #E5DCD3;

    /* Akzent */
    --color-accent: #A0522D;
    --color-accent-soft: rgba(160, 82, 45, 0.08);
    --color-success: #6B8F6B;
    --color-info: #7A8FA5;

    /* Typografie */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.09);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.13);
    --shadow-glow: 0 0 30px rgba(139, 94, 60, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

/* === LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* === HEADER & NAVIGATION === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text-light);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: var(--color-accent-soft);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

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

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

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

/* === HERO SECTION === */
.hero {
    position: relative;
    padding: var(--space-xxl) 0;
    background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, rgba(139, 94, 60, 0.06) 100%);
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 94, 60, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    font-weight: 600;
    font-style: italic;
}

.hero h1 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero h1 em {
    color: var(--color-primary);
    font-style: normal;
    position: relative;
}

.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    opacity: 0.4;
    border-radius: 2px;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 640px;
}

/* === CONTENT SECTIONS === */
.content-section {
    padding: var(--space-xl) 0;
}

.content-section:nth-child(even) {
    background: var(--color-bg-alt);
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-label {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--color-secondary-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    font-style: italic;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin-top: var(--space-xs);
    border-radius: 2px;
}

/* Prose content styling */
.prose {
    max-width: 780px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.prose h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.prose h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.prose p {
    margin-bottom: var(--space-md);
}

.prose ul, .prose ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    color: var(--color-text-light);
}

.prose li {
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}

.prose li::marker {
    color: var(--color-primary);
}

/* === CARD GRID === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: var(--space-sm);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: var(--space-sm);
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: 0.7rem;
}

/* === INFO BOXES === */
.info-box {
    background: var(--color-bg-card);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-sm);
}

.info-box.tip {
    border-left-color: var(--color-success);
}

.info-box.warning {
    border-left-color: var(--color-accent);
}

.info-box h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.info-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* === COMPARISON TABLE === */
.table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-card);
    font-size: 0.95rem;
}

.comparison-table thead {
    background: var(--color-primary);
    color: #fff;
}

.comparison-table th {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-weight: 600;
    font-family: var(--font-body);
}

.comparison-table td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-light);
}

.comparison-table tbody tr:hover {
    background: var(--color-accent-soft);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* === FAQ SECTION (using details/summary) === */
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    background: var(--color-bg-card);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-text);
    transition: background var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: var(--color-accent-soft);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: var(--space-sm) 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    margin: 0 0.4rem;
    color: var(--color-border);
}

/* === CTA BOX === */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box h2 {
    color: #fff;
    margin-bottom: var(--space-sm);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto var(--space-md);
}

/* === INTERNAL LINK CARDS === */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.link-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.link-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.link-card-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.link-card-text h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.15rem;
}

.link-card-text p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* === FOOTER === */
.site-footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: var(--space-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 340px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.footer-logo span {
    color: var(--color-secondary);
}

.footer-nav h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.legal-links {
    display: flex;
    gap: var(--space-md);
}

.legal-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: var(--color-secondary);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
        --space-xxl: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-xl: 2.5rem;
        --space-xxl: 3.5rem;
        --header-height: 65px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        gap: var(--space-xs);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
        transition: right var(--transition-normal);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.7rem 1rem;
        width: 100%;
    }

    /* Hero adjustments */
    .hero {
        padding: var(--space-xl) 0;
    }

    .hero-text {
        font-size: 1.05rem;
    }

    /* Card grid */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* CTA */
    .cta-box {
        padding: var(--space-lg);
    }

    /* Table */
    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-xs) var(--space-sm);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}

/* === PRINT === */
@media print {
    .site-header,
    .nav-toggle,
    .cta-box {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    .site-footer {
        background: #fff;
        color: #333;
        border-top: 1px solid #ccc;
    }
}
