/*
 Theme Name: conGusto GeneratePress Child
 Theme URI: https://congusto-catering.de
 Description: Child-Theme auf Basis von GeneratePress für conGusto Catering (Schulen & Kitas).
 Author: conGusto GmbH
 Author URI: https://congusto-catering.de
 Template: generatepress
 Version: 1.0
*/

/* =Grundlayout
---------------------------------------- */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    background-color: #ffffff;
}

/* Links */

a {
    color: #2e7d32; /* grün für „frisch / nachhaltig“ */
    text-decoration: none;
}

a:hover,
a:focus {
    color: #1b5e20;
    text-decoration: underline;
}

/* Überschriften */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1b1b1b;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

/* Header / Navigationsbereich
---------------------------------------- */

.main-title a,
.site-logo a {
    color: #1b1b1b;
}

.main-title a:hover {
    color: #2e7d32;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

/* Primary Navigation */

.main-navigation,
.main-navigation .inside-navigation {
    background-color: #ffffff;
}

.main-navigation a {
    color: #333333;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation ..current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: #2e7d32;
}

/* Buttons / Call-to-Action
---------------------------------------- */

button,
input[type="button"],
input[type="submit"],
a.button,
.wp-block-button__link {
    background-color: #2e7d32;
    color: #ffffff;
    border-radius: 4px;
    border: none;
    padding: 0.6em 1.4em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
.wp-block-button__link:hover {
    background-color: #1b5e20;
    color: #ffffff;
}

/* Startseiten-Hero (optional)
   – benutze eine Gruppe mit der Klasse .congusto-hero im Gutenberg-Editor
---------------------------------------- */

.congusto-hero {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 50%, #fffde7 100%);
    text-align: center;
}

.congusto-hero h1 {
    margin-bottom: 0.5em;
}

.congusto-hero p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Info-Boxen / USP-Sektionen
---------------------------------------- */

.congusto-usps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.congusto-usps__item {
    background-color: #fafafa;
    border-radius: 6px;
    padding: 1.5rem;
    border: 1px solid #eeeeee;
}

.congusto-usps__item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Kontaktbereich
---------------------------------------- */

.congusto-contact-box {
    background-color: #e8f5e9;
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.congusto-contact-box strong {
    display: block;
    margin-bottom: 0.3rem;
}

/* Footer
---------------------------------------- */

.site-footer {
    background-color: #263238;
    color: #ffffff;
}

.site-footer a {
    color: #cfd8dc;
}

.site-footer a:hover {
    color: #ffffff;
}
