/*
Theme Name: 3D Print One Dark
Author: Dein Name
Description: Modernes FDM 3D-Druck Theme mit Dark Mode Toggle.
Version: 1.2
Text Domain: 3dprintone
*/

:root {
    --primary-color: #0073e6;
    --secondary-color: #2c3e50;
    --text-color: #333333;
    --bg-body: #ffffff;
    --bg-light: #f4f4f9;
    --bg-box: #ffffff;
    --border-color: #e1e1e1;
    --header-bg: #222222;
    --header-text: #ffffff;
}

html.dark-mode {
    --primary-color: #3399ff;
    --secondary-color: #e0e0e0;
    --text-color: #e0e0e0;
    --bg-body: #121212;
    --bg-light: #1e1e1e;
    --bg-box: #242424;
    --border-color: #333333;
    --header-bg: #0a0a0a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

header h1 { margin: 0; font-size: 1.5rem; letter-spacing: 1px; }
header nav { display: flex; align-items: center; }
header nav a { color: var(--header-text); text-decoration: none; margin-left: 1.5rem; font-weight: 500; }
header nav a:hover { color: var(--primary-color); }

#theme-toggle {
    background: none;
    border: none;
    color: var(--header-text);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1.5rem;
    transition: transform 0.2s;
}
#theme-toggle:hover { transform: scale(1.2); }

.hero {
    background: var(--bg-light);
    text-align: center;
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.hero h2 { font-size: 2.8rem; margin-bottom: 1rem; color: var(--secondary-color); }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem auto; color: var(--text-color); }

.btn {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s, background 0.2s;
}

.btn:hover { background: #005bb5; transform: translateY(-2px); }

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 2rem;
    background: var(--bg-box);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.service-box:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-box h3 { color: var(--primary-color); margin-top: 0; }

.contact-section {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--bg-light);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-box);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

footer {
    background: var(--header-bg);
    color: #bbbbbb;
    text-align: center;
    padding: 2rem;
}
