/*
 * Zentrales Stylesheet für die PHP‑Version der Seite abdeckplanen.de.
 *
 * Dieses Stylesheet versucht die Farbgebung und das Layout der
 * ursprünglichen HTML‑Seite zu treffen. Passen Sie die Farben und
 * Abstände nach Bedarf an. Damit die Header‑ und Footer‑Navigation
 * funktioniert, werden Flexbox‑Layout und grundlegende Responsive
 * Einstellungen verwendet.
 */

/* Grundlegende Stile */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

img {
    max-width: 100%;
    height: auto;
}

/* Kopfbereich */
.site-header {
    background-color: #ffffff;
    padding: 10px 15px;
    border-bottom: 4px solid #f4c20d; /* gelbe Trennlinie */
}
.site-header .branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.site-header .logo img {
    height: 80px;
    width: auto;
}
.site-header .slogan h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.site-header .contact-info {
    text-align: right;
    font-size: 14px;
}
.site-header .contact-info .phone {
    font-weight: bold;
    font-size: 18px;
}

/* Hauptnavigation */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    background-color: #f4c20d; /* kräftiges Gelb wie im Original */
}
.main-nav ul li {
    margin: 0;
}
.main-nav ul li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
    background-color: #e0a50b; /* dunkleres Gelb beim Hover */
    color: #ffffff;
}

/* Hauptinhaltsbereich */
.site-main {
    padding: 20px;
    min-height: 60vh; /* sorgt dafür, dass der Footer nicht hochrutscht */
}
.site-main .hero {
    text-align: center;
    background-color: #fdf2c4;
    border: 1px solid #f4c20d;
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 800px;
}
.site-main .hero h2 {
    margin-top: 0;
    font-size: 32px;
    font-weight: 700;
}
.site-main .hero p {
    font-size: 18px;
    margin: 10px 0;
}

/* Footer */
.site-footer {
    background-color: #f4c20d;
    padding: 15px 10px;
    color: #000000;
}
.site-footer .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.site-footer .footer-nav ul li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}
.site-footer .footer-nav ul li a:hover {
    text-decoration: underline;
}
.site-footer .copyright {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .site-header .branding {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-header .contact-info {
        text-align: left;
        margin-top: 10px;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li a {
        padding: 10px;
    }
}