/* 
 * CENTRAL STYLESHEET - IT-Beratung Website
 * DSGVO-konform: Keine externen CDNs.
 */

/* --- CSS Variablen --- */
:root {
    /* Farben */
    --primary-color: #001529;
    --secondary-color: #1890ff;
    --accent-color: #8c8c8c;
    --text-color: #1f1f1f;
    --text-light: #595959;
    --bg-white: #ffffff;
    --bg-light: #f0f2f5;
    --white: #ffffff;

    /* Typografie */
    --heading-font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Abstände & Radien */
    --container-width: 1200px;
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- Wasserzeichen (Hintergrund-Logo) --- */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background-image: url('../images/logo/logo-watermark.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03; /* Dezent als Wasserzeichen */
    z-index: -1;
    pointer-events: none;
}

@supports (background-image: url('../images/logo/logo-watermark.webp')) {
    body::before {
        background-image: url('../images/logo/logo-watermark.webp');
    }
}

@media (max-width: 768px) {
    body::before {
        width: 85vw;
        height: 85vh;
    }
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-left: 4px solid var(--secondary-color); padding-left: 1rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

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

/* --- Layout --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
}

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

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

footer a {
    color: var(--bg-light);
}

footer .footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    nav { height: 70px; }
}

@media (max-width: 576px) {
    section { padding: 60px 0; }
    .nav-links { display: none; } /* Einfachheitshalber für jetzt */
}
