/* Base styles */
:root {
    --color-text: #2c2c2c;
    --color-background: #fafafa;
    --color-accent: #3d5a80;
    --color-light: #e0fbfc;
    --color-medium: #98c1d9;
    --font-heading: 'EB Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --line-height: 1.6;
    --max-width: 38rem;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover, a:focus {
    border-bottom-color: var(--color-accent);
}

/* Header */
header {
    margin-bottom: 3rem;
}

.subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(44, 44, 44, 0.7);
    margin-bottom: 1.5rem;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

.intro p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
}

.service-item {
    margin-bottom: 2rem;
}

.service-item h3 {
    margin-top: 0;
}

.service-item p {
    font-size: 0.95rem;
}

/* Footer */
footer {
    margin-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 2.5rem 1.5rem 1.5rem;
    background-color: #f7f7f7;
    border-radius: 6px;
}

.contact {
    text-align: center;
}

.contact h2 {
    font-size: 1.5rem;
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.contact p {
    margin-bottom: 0.5rem;
    display: inline-block;
    margin: 0 1rem 0.5rem;
}

/* Copyright and Imprint */
.copyright {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: rgba(44, 44, 44, 0.7);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.imprint-link {
    font-size: 0.85rem;
    margin-left: 0.5rem;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    padding-bottom: 2px;
}

.imprint-link:hover,
.imprint-link:focus {
    border-bottom-color: var(--color-accent);
    color: var(--color-accent);
    opacity: 1;
}

/* Imprint page styles */
.imprint-section h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.imprint-section p {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Media Queries */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .intro p {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    body {
        font-size: 12pt;
        max-width: 100%;
    }
    
    a {
        color: var(--color-text);
        text-decoration: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
} 