/*
Theme Name: PB NOVA Minimal
Theme URI: https://pbnova.de/
Author: Philipp Beitz & ChatGPT
Author URI: https://pbnova.de/
Description: Minimal One-Page-Business-Theme für PB NOVA mit Kontaktformular und rechtlichen Links.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pbnova-minimal
*/

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f3ee;
    color: #111;
}

a {
    color: #0a5caa;
    text-decoration: none;
}

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

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    padding: 24px 20px 0 20px;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img {
    max-height: 80px;
    height: auto;
    width: auto;
}

.site-branding {
    font-size: 14px;
    line-height: 1.5;
    max-width: 420px;
}

.site-main {
    flex: 1;
    padding: 20px;
}

.main-inner {
    max-width: 1080px;
    margin: 0 auto 40px auto;
    background: #ffffff;
    padding: 32px 24px 40px 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-radius: 12px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 32px;
    margin: 0 0 12px 0;
}

.hero-subtitle {
    margin: 0 0 24px 0;
    font-size: 16px;
    color: #444;
}

.content-placeholder {
    padding: 16px 18px;
    margin: 16px 0 24px 0;
    background: #f5f7fb;
    border-radius: 8px;
    border: 1px dashed #c2c7d5;
    font-size: 14px;
}

.section {
    margin-top: 28px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.section p {
    margin-top: 0;
}

.contact-form {
    margin-top: 12px;
}

.contact-form .field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form .field-inline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}

.contact-form .field-inline input[type="checkbox"] {
    margin-top: 3px;
}

.contact-form button[type="submit"] {
    border-radius: 999px;
    border: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: #111;
    color: #fff;
}

.contact-form button[type="submit"]:hover {
    opacity: 0.9;
}

.notice {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}

.notice-success {
    background: #e6f6ea;
    border: 1px solid #8fd1a5;
    color: #145b2b;
}

.notice-error {
    background: #fdecea;
    border: 1px solid #f5a097;
    color: #872419;
}

.site-footer {
    border-top: 1px solid #ddd;
    padding: 16px 20px 18px 20px;
    font-size: 13px;
    background: #faf9f6;
}

.site-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.footer-links a {
    margin-left: 12px;
}

@media (max-width: 720px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-branding {
        max-width: none;
    }
}


/* Cookie-Banner */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 640px;
    background: #111;
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    font-size: 13px;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__actions button {
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f5f3ee;
    color: #111;
}

.cookie-banner__actions button:hover {
    opacity: .9;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
    }
}
