/* --------------------------------------------------------------------------
   site.css

   Enthaelt alles, was frueher als style="..." direkt in der index.html stand.
   Die Optik ist unveraendert -- die Werte sind nur an eine Stelle gewandert,
   damit der Generator sauberes Markup ausgeben kann.
   -------------------------------------------------------------------------- */

/* --- Startbild ---------------------------------------------------------- */

/* Die Selektoren sind bewusst mit .cd-hero-slider qualifiziert: hero-slider.css
   setzt fuer h2 und p eigene Groessen, die sonst gewinnen wuerden. Frueher
   erledigte das der style="..."-Eintrag direkt am Element. */

.cd-hero-slider h2.hero-title {
    text-shadow: 2px 2px #000;
    font-size: 90px;
    margin-top: -90px;
}

.cd-hero-slider p.hero-claim {
    text-shadow: 2px 2px #000;
    font-size: 30px;
}

/* --- Leistungskacheln --------------------------------------------------- */

/* Bootstrap 3 laesst die Spalten schweben. Sobald mehr Kacheln vorhanden sind
   als in eine Reihe passen, stossen die Zeilen ohne Abstand aneinander und
   verspringen bei ungleich hohen Kacheln seitlich. Flex loest beides: gleicher
   Abstand nach unten, gleiche Hoehe je Zeile, angebrochene Zeilen mittig. */

#leistungen .services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#leistungen .services-row > div {
    display: flex;
    margin-bottom: 30px;
}

#leistungen .services-row .service-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ".section-heading .line-dec" setzt margin per Kurzschreibweise auf 0 --
   deshalb muss diese Regel mindestens genauso spezifisch sein. */
.section-heading .line-dec.line-dec-spaced {
    margin-bottom: 25px;
}

.service-item .service-title {
    font-size: 30px;
    margin: 0;
}

/* --- Textabschnitte ----------------------------------------------------- */

/* Mit id qualifiziert, weil tooplate-style.css fuer "#verkauf h4" eine eigene
   Groesse setzt -- eine id schlaegt jede Klasse. */
#verkauf h4.section-title {
    font-size: 45px;
}

.section-text p {
    font-size: 34px;
    letter-spacing: 0.25px;
    line-height: 32px;
}

.section-text-shadow p {
    text-shadow: 2px 2px #000;
    font-size: 28px;
    letter-spacing: 4.25px;
    line-height: 32px;
}

.section-text a {
    text-decoration: underline;
}

.section-intro p {
    font-size: 34px;
    text-align: center;
    margin-top: 30px;
}

/* --- Team --------------------------------------------------------------- */

/* Wie bei den Leistungskacheln: Flex statt schwebender Spalten. tooplate- und
   custom.css geben den Kaesten eine feste Hoehe (575 bzw. 725 Pixel) mit
   "overflow: hidden" -- eine laengere Beschreibung waere damit unsichtbar
   abgeschnitten worden. Jetzt waechst der Kasten mit dem Text, und alle
   Kaesten einer Zeile sind gleich hoch. */

#about .inner-container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-leader-box {
    height: auto;
    overflow: visible;
    float: none;
    width: 100%;
    margin: 60px 0 0;
}

.team-leader-box-wide {
    width: 357px;
    max-width: 100%;
    margin: 60px auto 0;
}

/* Beliebige Seitenverhaeltnisse werden mittig auf ein Quadrat zugeschnitten.
   Ohne das ergibt border-radius: 50% bei einem nicht quadratischen Foto eine
   Ellipse, und die Kreise haetten je nach Bild unterschiedliche Groessen. */
.team-leader img {
    width: 293px;
    height: 293px;
    max-width: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-leader-empty {
    width: 293px;
    height: 293px;
    margin: 7px auto 25px;
    border-radius: 50%;
    background-color: #e2e2e2;
}

.team-name {
    font-size: 36px;
    font-weight: bold;
}

.team-role {
    font-size: 34px;
    line-height: 32px;
    margin: 25px 0;
}

.team-text p {
    font-size: 34px;
    letter-spacing: 0.25px;
    line-height: 32px;
}

/* --- Nachhaltigkeit ----------------------------------------------------- */

#nachhaltigkeit .section-heading h4 {
    color: #fff;
    font-size: 50px;
}

#nachhaltigkeit .section-heading .line-dec {
    background-color: #fff;
}

/* --- Impressum-Block ---------------------------------------------------- */
/* Stand frueher unter der (doppelt vergebenen) id "contact" und hat deren
   Gestaltung mitbenutzt -- hier eigenstaendig nachgebildet. */

.section-light {
    background: #fff;
}

#impressum .section-heading {
    margin-bottom: 60px;
}

#impressum .section-heading h4 {
    color: #000;
}

#impressum .section-heading .line-dec {
    background-color: #000;
}

.contact-details {
    margin-top: 150px;
    font-size: 35px;
    text-align: center;
}

.contact-details h3 {
    font-size: 38px;
}

.contact-details a {
    color: inherit;
}

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

/* --- Kontaktformular ---------------------------------------------------- */

#contact .form-control-lg {
    font-size: 35px;
    color: #000;
    background-color: #fff;
}

#contact textarea.form-control-lg {
    padding-top: 10px;
    line-height: 1.3;
}

#contact button {
    font-size: 25px;
}

/* Das Haekchen ist Pflicht, wurde in der ersten Fassung aber leicht
   uebersehen -- deshalb als eigener Kasten mit groesserem Kaestchen. */
#contact .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: 25px;
    padding: 14px 18px;
    text-align: left;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    cursor: pointer;
}

#contact .form-check input {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin: 2px 0 0;
    line-height: normal;
    accent-color: #5c9d7d;
    cursor: pointer;
}

/* Kurz hervorgehoben, wenn beim Absenden etwas fehlt. */
.feld-fehlt {
    outline: 3px solid #b3261e;
    outline-offset: 2px;
    transition: outline-color .3s;
}

.form-message {
    font-size: 30px;
    width: 100%;
    text-align: center;
    margin-top: 25px;
}

.form-message-error {
    color: #b3261e;
}

/* Honigtopf: fuer Menschen unsichtbar, fuer Bildschirmleser ausgeblendet. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Fusszeile ---------------------------------------------------------- */

/* tooplate-style.css gestaltet "footer ul li a" als runde Symbolknoepfe fuer
   soziale Netzwerke. Die Fusszeile hier enthaelt aber Textlinks, deshalb
   werden diese Vorgaben gezielt zurueckgenommen. */

footer ul.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    float: none;
    text-align: center;
}

footer ul.footer-links li {
    display: inline-block;
    margin-left: 0;
    padding: 5px 10px;
}

footer ul.footer-links li a {
    display: inline;
    width: auto;
    height: auto;
    line-height: inherit;
    border-radius: 0;
    background: none;
    color: #fff;
    font-size: 22px;
}

footer ul.footer-links li a:hover {
    background: none;
    color: #a2cf8d;
    text-decoration: underline;
}

/* --- Rechtstexte als eigene Seite --------------------------------------- */

.legal-page {
    background: #fff;
    color: #121212;
    padding: 40px 0 80px;
}

.legal-page h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
}

.legal-body {
    max-width: 46em;
    font-size: 17px;
    line-height: 1.65;
}

.legal-body h2,
.legal-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 12px;
}

.legal-body a {
    text-decoration: underline;
}

.legal-back {
    font-size: 16px;
    margin-bottom: 30px;
}

.legal-footer {
    margin-top: 60px;
    border-top: 1px solid #e2e2e2;
    padding-top: 20px;
    text-align: left;
}

.legal-footer li {
    font-size: 15px;
    padding: 5px 15px 5px 0;
}

/* --- Kleinere Bildschirme ----------------------------------------------- */

@media (max-width: 767px) {
    .cd-hero-slider h2.hero-title {
        font-size: 44px;
        margin-top: 0;
    }

    .cd-hero-slider p.hero-claim {
        font-size: 20px;
    }

    #verkauf h4.section-title {
        font-size: 30px;
    }

    .section-text p,
    .section-text-shadow p,
    .section-intro p,
    .team-role,
    .team-text p {
        font-size: 22px;
        line-height: 1.45;
        letter-spacing: normal;
    }

    .team-name {
        font-size: 28px;
    }

    .team-leader img,
    .team-leader-empty {
        width: 220px;
        height: 220px;
    }

    .contact-details {
        margin-top: 40px;
        font-size: 22px;
    }

    .contact-details h3 {
        font-size: 26px;
    }

    #contact .form-control-lg {
        font-size: 20px;
    }
}

.copyright-text {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}
