/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #333;
    --secondary-color: rgb(217, 116, 8);
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --shadow: 0px 10px 6px rgba(0, 0, 0, 0.125);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --orange: rgba(255, 130, 0, 1);
    --rot: rgba(200, 20, 20, 1);
    --grün: rgba(0, 120, 70, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Klasse für verstecktes Scrolling */
body.no-scroll {
    overflow: hidden !important;
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    color: var(--primary-color);
    font-size: 3rem;
    overflow-wrap: break-word;
    font-weight: 700;
    text-shadow:
        1px 1px 0 #ccc,
        2px 2px 0 #bbb,
        3px 3px 0 #aaa,
        4px 4px 0 #999,
        5px 5px 0 #888,
        6px 6px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    text-shadow:
        1px 1px 0 #ccc,
        2px 2px 0 #bbb,
        3px 3px 0 #aaa,
        4px 4px 4px rgba(0, 0, 0, 0.25);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Section */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
}

/* CTA Button - inherited from styles.css */

/* Impressum Specific Styles */
.impressum-section {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
}

.impressum-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5vw;
}

.impressum-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-top: 2rem;
}

.impressum-company-info,
.impressum-contact-info,
.impressum-legal-info,
.impressum-responsible-person {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.impressum-responsible-person {
    border-bottom: none;
    margin-bottom: 0;
}

.impressum-info-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    line-height: 1.8;
}

.impressum-info-item strong {
    color: var(--secondary-color);
}

/* Footer - inherited from styles.css */
.footer-stamp p {
    color: var(--light-gray);
}

.social-icons i {
    color: var(--light-gray);
}

/* Theme Toggle Switch - inherited from styles.css */

/* Responsive Design */
@media (min-width: 768px) {
    .impressum-content {
        padding: 3rem;
    }
}

@media (max-width: 767px) {
    .impressum-content {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* ===== DARK MODE STYLES ===== */
/* Dark Mode über data-theme="dark" Attributselektoren */
[data-theme="dark"] {
    --dark-background-color: rgb(22, 40, 44) ;
    --secondary-dark-color: rgb(44, 65, 68);
}

body [data-theme="dark"] {
    background-color: var(--dark-background-color);
}

[data-theme="dark"] .impressum-content {
    background-color: var(--secondary-dark-color);
}

[data-theme="dark"] .impressum-info-item {
    background-color: var(--dark-background-color);
    color: white;
}