/* Shared styles for SaveSources website */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #222;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-size: 2rem;
    color: #111;
    margin: 0;
}

/* Pages with standalone h1 (datenschutz, impressum) */
main > h1:first-child,
body > h1:first-child {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

h2 {
    margin-top: 30px;
    font-size: 1.25rem;
    color: #333;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

header {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.lang-switcher {
    font-size: 0.9rem;
    color: #666;
}

.lang-switcher a {
    color: #0066cc;
}

.lang-active {
    font-weight: bold;
    color: #222;
}

.legal-notice {
    background: #fff3cd;
    border: 1px solid #ffc;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #555;
}

p.tagline {
    margin-top: 5px;
    color: #555;
    font-size: 1.1rem;
}

.contact-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #eee;
    margin-top: 30px;
}

footer {
    margin-top: 60px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

footer a {
    margin: 0 10px;
    color: #666;
}
