/* Grundlayout & Typografie
   -------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    background-color: #f7f7f7;
}

/* Verhindern, dass Überschriften automatisch groß geschrieben werden */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    text-transform: none;
    font-variant: normal;
}

p {
    margin: 0 0 1rem;
}

/* Links allgemein */
a {
    color: #111;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Layout-Helfer
   -------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header / Navigation (falls vorhanden)
   -------------------------------------------------- */

/* Header / Navigation
   -------------------------------------------------- */

.site-header {
    background: #111;
    color: #f7f7f7;
    padding: 0.6rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo-Bereich */
.logo a {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 40px;      /* ggf. auf 32–48px anpassen je nach Logo */
    width: auto;
}

/* Navigation
   -------------------------------------------------- */

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #f7f7f7;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    display: inline-block;
    transition: opacity 0.15s ease-in-out;
}

/* Hover-Zustand */
.main-nav a:hover,
.main-nav a:focus {
    opacity: 0.75;
}

/* Aktive Seite (per PHP-Klasse "active") */
.main-nav li.active a {
    font-weight: 600;
    border-bottom: 2px solid #f7f7f7;
    padding-bottom: 0.2rem;
}

/* Mobile Navigation – einfache Anpassung (optional erweiterbar) */
@media (max-width: 768px) {
    .main-nav ul {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 0.9rem;
    }
}

/* Hauptbereich
   -------------------------------------------------- */

.site-main {
    min-height: 100vh;
}

/* Hero-Bereich
   -------------------------------------------------- */

.hero {
    padding: 5rem 0 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* H1 zentriert, keine Kapitälchen */
.hero h1 {
    font-size: 2.7rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Unterzeile unter dem H1 */
.hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Claim-Block: optisch hervorgehobener Kasten */
.hero-claim {
    margin: 0 auto 1.75rem;
    padding: 1.5rem 1.75rem;
    border-radius: 0.9rem;
    background: rgba(0, 0, 0, 0.04);
}

.hero-claim p {
    margin: 0;
    line-height: 1.5;
}

/* Hero-Description: so schlicht wie möglich lassen */
.hero-description {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Buttons / CTAs
   -------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #f7f7f7;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out;
}

.btn:hover,
.btn:focus {
    background: #222;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #ffffff;
    color: #111;
    border: 1px solid #ccc;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #f2f2f2;
}

/* Button-Fokus im Hero-Bereich */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Sektionen
   -------------------------------------------------- */

.section {
    padding: 3.5rem 0;
    background: #ffffff;
}

.section-alt {
    background: #f0f0f0;
}

.section .container {
    max-width: 900px;
}

/* Überschriften in den Sektionen */
.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Footer
   -------------------------------------------------- */

.site-footer {
    padding: 2rem 0;
    background: #111;
    color: #f7f7f7;
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer a {
    color: #f7f7f7;
}

/* Responsive Anpassungen
   -------------------------------------------------- */

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-claim {
        padding: 1.25rem 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}
