* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile-optimized touch targets */
*:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Prevent text selection on buttons and UI elements */
button, .nav-link, .filter-btn, .view-btn, .cta-button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

/* CSS Custom Properties for Typography Scale - Same as index.html */
:root {
    /* Desktop Typography Scale */
    --font-size-hero: 2.5rem;
    --font-size-h1: 2rem;
    --font-size-h2: 1.6rem;
    --font-size-h3: 1.3rem;
    --font-size-h4: 1.1rem;
    --font-size-body: 1rem;
    --font-size-small: 0.9rem;
    
    /* Mobile Typography Scale */
    --font-size-hero-mobile: clamp(2rem, 5vw, 2.5rem);
    --font-size-h1-mobile: clamp(1.8rem, 4.5vw, 2rem);
    --font-size-h2-mobile: clamp(1.4rem, 4vw, 1.6rem);
    --font-size-h3-mobile: clamp(1.2rem, 3.5vw, 1.3rem);
    --font-size-h4-mobile: clamp(1rem, 3vw, 1.1rem);
    --font-size-body-mobile: clamp(1rem, 2.5vw, 1.1rem);
    --font-size-small-mobile: clamp(0.95rem, 2.2vw, 1rem);
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 500;
    --font-weight-bold: 550;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
    
    /* Colors - Enhanced for OLED */
    --color-text-primary: #f0f0f0;
    --color-text-secondary: #e0e0e0;
    --color-text-tertiary: #c0c0c0;
    --color-text-muted: #909090;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-size: var(--font-size-body);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    overflow-x: hidden;
}

main {
    padding-top: 0;
    padding-bottom: 3rem;
    margin-top: 0;
}

/* Hero Section - Matching index.html style */
.hero {
    text-align: center;
    padding: 4rem 0 6rem;
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    line-height: var(--line-height-tight);
}

.hero .subtitle {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-tertiary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: var(--line-height-normal);
}

/* CTA Button - Same as index.html */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-medium);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Section Title - Same as index.html */
.section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-text-primary);
    position: relative;
    line-height: var(--line-height-tight);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.content {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    margin-bottom: 2rem;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h1 {
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--color-text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    line-height: var(--line-height-tight);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    line-height: var(--line-height-tight);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-secondary);
    line-height: var(--line-height-tight);
}

p, ul, li {
    color: var(--color-text-tertiary);
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-body);
}

ul {
    list-style: none;
    padding-left: 1rem;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
}

li:before {
    content: "–";
    position: absolute;
    left: -1rem;
    color: var(--color-text-muted);
}

a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.last-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: var(--font-size-small);
}

footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    color: #404040;
    font-size: var(--font-size-small);
    letter-spacing: 0.1em;
}

/* Legal Header Styling */
.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.legal-header h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
    line-height: var(--line-height-tight);
}

.legal-header .subtitle {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: var(--line-height-normal);
}

/* FAQ-Specific Styles */
.faq-section {
    padding: 3rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category-title {
    font-size: var(--font-size-h2);
    font-weight: 400;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: var(--line-height-tight);
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    font-size: var(--font-size-h4);
    font-weight: 400;
    color: var(--color-text-primary);
    padding: 2rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    line-height: var(--line-height-normal);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.faq-question::after {
    content: '▼';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-body);
}

.faq-answer h4 {
    font-size: var(--font-size-h4);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: var(--line-height-tight);
}

.faq-answer h5 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin: 1.5rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: var(--line-height-tight);
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.faq-answer ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: var(--line-height-relaxed);
}

.faq-answer ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-text-muted);
}

.faq-answer ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.faq-answer ol li {
    padding: 0.5rem 0;
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.code-block p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.process-step {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.contact-info p {
    margin: 0;
    line-height: var(--line-height-loose);
}

.troubleshoot-item {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.troubleshoot-item:last-child {
    border-bottom: none;
}

.alt-method {
    margin: 2rem 0;
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    color: #606060;
    font-size: 1.5rem;
    transition: color 0.3s;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #ffffff;
}

.social-icon.disabled {
    color: #404040 !important;
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Core Mobile Styles für moderne Smartphones */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Hero Mobile - optimiert für große Displays */
    .hero {
        padding: 4rem 0;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        letter-spacing: 0.08em;
        margin-bottom: 1.5rem;
        line-height: 1.15;
    }
    
    .hero .subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
        letter-spacing: 0.06em;
        margin-bottom: 3rem;
        line-height: 1.4;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button {
        padding: 1.2rem 2rem;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        min-height: 48px;
        min-width: 140px;
        border-radius: 12px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Section Title Mobile */
    .section-title {
        font-size: var(--font-size-h2-mobile);
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: var(--font-size-h1-mobile);
        letter-spacing: 0.1em;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    h2 {
        font-size: var(--font-size-h2-mobile);
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    h3 {
        font-size: var(--font-size-h3-mobile);
    }

    .nav-links {
        gap: 2rem;
    }

    .content {
        padding: 1.5rem 1rem;
        margin: 0;
        border-left: none;
        border-right: none;
    }
    
    /* FAQ Mobile Optimizations */
    .legal-header h1 {
        font-size: var(--font-size-h1-mobile);
    }
    
    .legal-header .subtitle {
        font-size: var(--font-size-body-mobile);
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-category-title {
        font-size: var(--font-size-h2-mobile);
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        font-size: var(--font-size-h4-mobile);
        padding: 1.5rem;
        line-height: var(--line-height-relaxed);
        min-height: 44px;
    }
    
    .faq-question::after {
        right: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem;
        font-size: var(--font-size-body-mobile);
    }
    
    .faq-answer h4 {
        font-size: var(--font-size-h4-mobile);
        margin: 1.5rem 0 1rem 0;
    }
    
    .faq-answer h5 {
        font-size: var(--font-size-body-mobile);
        margin: 1rem 0 0.8rem 0;
    }
    
    .code-block {
        font-size: 0.85rem;
        padding: 1rem;
    }
    
    .process-step {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    /* Social Media Mobile */
    .social-media-icons {
        gap: 1.5rem;
    }
    
    p, ul, li {
        font-size: var(--font-size-body-mobile);
    }
}

/* Kompakte Smartphones - Legal Pages */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .content {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    h1 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        letter-spacing: 0.04em;
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .hero .subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    
    .faq-question {
        padding: 1rem;
        font-size: clamp(1rem, 3vw, 1.1rem);
    }
    
    .faq-question::after {
        right: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Samsung S24 Ultra & Large Phone Enhanced Typography */
@media (max-width: 768px) and (min-height: 800px) {
    .hero h1 {
        font-size: clamp(2rem, 5.5vw, 2.3rem) !important;
        margin-bottom: 1.5rem;
    }
    
    .hero .subtitle {
        font-size: clamp(1rem, 2.8vw, 1.2rem) !important;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 4.2vw, 1.8rem) !important;
        margin-bottom: 2.5rem;
    }
    
    .faq-question {
        font-size: clamp(1.1rem, 3.2vw, 1.3rem) !important;
        padding: 1.8rem;
    }
    
    .faq-answer {
        font-size: clamp(1rem, 2.8vw, 1.1rem) !important;
        line-height: 1.7;
    }
    
    .cta-button {
        padding: 1.2rem 2rem;
        font-size: clamp(0.95rem, 2.3vw, 1rem);
    }
}