
/* ==========================================
   HADEKI – KONTAKTSEITE

   Eigenständige CSS-Datei
   Zartes Minzgrün
   LEGO-Navigation
   Platzanfrage
   Petrolgrüner Footer
========================================== */


/* ==========================================
   GRUNDEINSTELLUNGEN
========================================== */

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Trebuchet MS", Arial, sans-serif;
    background: #e4f5ee;
    color: #24483f;
}

.seite {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    background: #e4f5ee;
}


/* ==========================================
   KOPFBEREICH
========================================== */

.kopfbereich {
    position: relative;
    flex: 0 0 auto;

    width: 100%;
    min-height: 140px;

    padding: 18px 24px 12px;
}


/* KINDERLOGO OBEN LINKS */

.kopf-logo {
    position: absolute;

    top: 18px;
    left: 24px;

    width: 90px;
    height: 90px;

    z-index: 2;
}

.kopf-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ==========================================
   LEGO-NAVIGATION
========================================== */

.navigation {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    align-items: center;

    gap: 15px;

    width: 100%;
    max-width: 760px;

    margin: 0 auto;
}

.navifeld {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    text-decoration: none;
    cursor: pointer;
}

.navifeld img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    transition: transform 0.2s ease;
}

.navifeld:hover img {
    transform: translateY(-5px);
}

.navifeld:focus-visible {
    outline: 3px solid #326f69;
    outline-offset: 4px;

    border-radius: 8px;
}


/* ==========================================
   HAUPTINHALT
========================================== */

.inhalt {
    flex: 1 1 auto;

    width: 100%;
    max-width: 1320px;

    margin: 0 auto;
    padding: 12px 35px 65px;
}


/* ==========================================
   EINLEITUNG
========================================== */

.einleitung {
    max-width: 850px;

    margin: 0 auto 35px;

    text-align: center;
}

.einleitung h1 {
    margin: 0 0 12px;

    color: #1f4f46;

    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.einleitung p {
    margin: 0;

    color: #42685e;

    font-size: 17px;
    line-height: 1.6;
}


/* ==========================================
   ZWEI SPALTEN
========================================== */

.kontakt-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.85fr);

    gap: 32px;

    align-items: start;
}


/* ==========================================
   WEISSE KARTEN
========================================== */

.karte {
    min-width: 0;

    padding: 28px;

    border: 1px solid
        rgba(108, 160, 143, 0.20);

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 7px 24px rgba(34, 91, 75, 0.09);
}

.karte h2 {
    margin: 0 0 17px;

    color: #1f4f46;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}


/* ==========================================
   FORMULARKARTE
========================================== */

.formular-karte {
    padding: 32px 34px 36px;
}

.formular-karte h2 {
    margin-bottom: 8px;
    font-size: 28px;
}

.formular-einleitung {
    margin: 0 0 30px;

    color: #58766d;

    font-size: 15px;
    line-height: 1.5;
}


/* ==========================================
   FORMULARABSCHNITTE
========================================== */

fieldset {
    min-width: 0;

    margin: 0 0 29px;
    padding: 0;

    border: none;
}

legend {
    display: block;

    width: 100%;

    margin: 0 0 19px;
    padding: 0 0 9px;

    border-bottom: 1px solid #dceae4;

    color: #326f69;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================
   FORMULARRASTER
========================================== */

.formular-raster {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 19px 20px;
}

.formular-feld {
    display: flex;
    flex-direction: column;

    min-width: 0;

    margin-bottom: 19px;
}

.formular-raster .formular-feld {
    margin-bottom: 0;
}


/* ==========================================
   FELDBESCHRIFTUNGEN
========================================== */

.formular-feld > label,
.feld-beschriftung {
    display: block;

    margin-bottom: 8px;

    color: #254e43;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================
   EINGABEFELDER
========================================== */

.formular-feld input[type="text"],
.formular-feld input[type="email"],
.formular-feld input[type="tel"],
.formular-feld input[type="date"],
.formular-feld textarea {

    display: block;

    width: 100%;
    min-width: 0;

    padding: 12px 14px;

    border: 1px solid #c5dcd2;
    border-radius: 10px;

    background: #f7fbf9;
    color: #234b40;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
}

.formular-feld input {
    min-height: 46px;
}

.formular-feld textarea {
    min-height: 98px;
    resize: vertical;
}

.formular-feld input::placeholder,
.formular-feld textarea::placeholder {
    color: #81958d;
    opacity: 1;
}

.formular-feld input:focus,
.formular-feld textarea:focus {
    outline: none;

    border-color: #326f69;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(50, 111, 105, 0.14);
}


/* ==========================================
   BETREUUNGSTAGE
========================================== */

.wochentage {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.wochentag {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    cursor: pointer;
}

.wochentag input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.wochentag span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 8px 13px;

    border: 1px solid #c8dfd5;
    border-radius: 9px;

    background: #f1f8f4;
    color: #315b50;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.wochentag:hover span {
    background: #e2f0e9;
}

.wochentag input:checked + span {
    background: #326f69;
    border-color: #326f69;

    color: #ffffff;
}

.wochentag input:focus-visible + span {
    outline: 3px solid #8ac3ae;
    outline-offset: 3px;
}


/* ==========================================
   EINTRITTSDATUM
========================================== */

.eintritt-feld {
    max-width: 320px;

    margin-top: 22px;
    margin-bottom: 0;
}


/* ==========================================
   FORMULARABSCHLUSS
========================================== */

.formular-abschluss {
    padding-top: 17px;

    border-top: 1px solid #dceae4;
}

.pflicht-hinweis {
    margin: 0 0 10px;

    color: #58766d;
    font-size: 13px;
}

.versand-hinweis {
    margin: 0 0 19px;

    color: #42685e;

    font-size: 14px;
    line-height: 1.55;
}

.formular-aktionen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px;
}


/* ==========================================
   FORMULAR-KNÖPFE
========================================== */

.knopf-zuruecksetzen,
.knopf-senden {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 47px;

    padding: 12px 20px;

    border: 0;
    border-radius: 10px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    cursor: pointer;
}

.knopf-zuruecksetzen {
    background: #e5efea;
    color: #315b50;
}

.knopf-zuruecksetzen:hover {
    background: #d6e7dd;
}

.knopf-senden {
    flex: 1 1 250px;

    background: #326f69;
    color: #ffffff;

    box-shadow:
        0 4px 12px rgba(34, 91, 75, 0.14);
}

.knopf-senden:hover {
    background: #285b55;
}

.knopf-zuruecksetzen:focus-visible,
.knopf-senden:focus-visible {
    outline: 3px solid #8ac3ae;
    outline-offset: 3px;
}


/* ==========================================
   RECHTE SPALTE
========================================== */

.kontakt-rechts {
    display: flex;
    flex-direction: column;

    gap: 24px;
}

.kontakt-rechts .karte h2 {
    font-size: 23px;
}

.kontakt-rechts .karte p {
    margin: 0 0 13px;

    color: #42685e;

    font-size: 15px;
    line-height: 1.6;
}

.kontakt-rechts .karte p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   INFORMATIONSKARTE
========================================== */

.info-karte {
    border-left: 4px solid #78bba5;
}

.kontakt-rechts .hervorgehoben {
    color: #265c4f;

    font-size: 16px;
    font-weight: 700;
}


/* ==========================================
   TELEFON UND E-MAIL
========================================== */

.kontakt-direkt {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 0;

    margin-top: 13px;
    padding: 12px 14px;

    border-radius: 10px;

    background: #eaf5ef;

    color: #265c4f;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.kontakt-direkt:hover {
    background: #d7ebe0;
    color: #1f4f46;

    transform: translateX(4px);
}

.kontakt-direkt span {
    flex: 0 0 26px;

    font-size: 22px;
    text-align: center;
}


/* ==========================================
   STANDORT UND KARTE
========================================== */

.karten-rahmen {
    width: 100%;

    margin: 17px 0 15px;

    overflow: hidden;

    border: 1px solid #d5e6dd;
    border-radius: 12px;

    background: #eaf5ef;
}

.karten-rahmen iframe {
    display: block;

    width: 100%;
    height: 265px;

    border: 0;
}

.karten-link {
    display: inline-block;

    color: #326f69;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;

    text-decoration: underline;
}

.karten-link:hover {
    color: #204f49;
}

.kontakt-rechts .parkplatz-hinweis {
    margin-top: 18px;

    padding: 12px 14px;

    border-radius: 9px;

    background: #eaf5ef;
    color: #265c4f;

    font-weight: 600;
}


/* ==========================================
   FOOTER – PETROLGRÜNER VERLAUF
========================================== */

.site-footer {
    position: relative;
    flex: 0 0 auto;

    width: 100%;
    margin: 0;
    padding: 0;

    border-top: 2px solid
        rgba(255, 255, 255, 0.85);

    background: linear-gradient(
        to bottom,
        #508b82 0%,
        #326f69 100%
    );

    box-shadow:
        0 -5px 18px rgba(30, 75, 65, 0.12);

    color: #ffffff;
}


/* ==========================================
   FOOTER – VIER SPALTEN
========================================== */

.footer-inner {
    display: grid;

    grid-template-columns:
        1fr 1.2fr 1fr 1.25fr;

    align-items: start;

    gap: 24px;

    width: 100%;
    max-width: 1080px;

    margin: 0 auto;
    padding: 19px 28px 21px;
}

.footer-block {
    min-width: 0;
    text-align: left;
}


/* ==========================================
   FOOTER – ÜBERSCHRIFTEN
========================================== */

.footer-block h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}


/* ==========================================
   FOOTER – TEXTE UND LINKS
========================================== */

.footer-block p,
.footer-block li,
.footer-block a {
    color: #ffffff;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.footer-block p {
    margin: 0 0 3px;
}

.footer-block ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-block li {
    margin: 0 0 3px;
}

.footer-block a {
    display: inline-block;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.footer-block a:hover {
    color: #e1fff2;
    text-decoration: underline;

    transform: translateX(5px);
}

.footer-block a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}


/* ==========================================
   MITTLERE BILDSCHIRME
========================================== */

@media screen and (max-width: 1100px) {

    .kontakt-layout {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(280px, 0.85fr);

        gap: 22px;
    }

    .inhalt {
        padding: 12px 25px 55px;
    }

    .formular-karte {
        padding: 27px 24px;
    }

}


/* ==========================================
   TABLETS
========================================== */

@media screen and (max-width: 900px) {

    .kopfbereich {
        min-height: 120px;
        padding: 18px 20px 12px;
    }

    .kopf-logo {
        top: 16px;
        left: 15px;

        width: 65px;
        height: 65px;
    }

    .navigation {
        max-width: 680px;
        gap: 8px;
    }

    .inhalt {
        padding: 10px 22px 45px;
    }

    .einleitung h1 {
        font-size: 31px;
    }

    .kontakt-layout {
        grid-template-columns: 1fr;

        max-width: 720px;
        margin: 0 auto;
    }

    .kontakt-rechts {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        align-items: start;
        gap: 18px;
    }

    .standort-karte {
        grid-column: 1 / -1;
    }

    .footer-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 17px 30px;

        max-width: 640px;
        padding: 20px 24px;
    }

}


/* ==========================================
   SMARTPHONES
========================================== */

@media screen and (max-width: 650px) {

    .kopfbereich {
        min-height: 0;
        padding: 95px 15px 14px;
    }

    .kopf-logo {
        top: 15px;
        left: 15px;

        width: 70px;
        height: 70px;
    }

    .navigation {
        max-width: 480px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 5px 12px;
    }

    .inhalt {
        padding: 5px 15px 35px;
    }

    .einleitung {
        margin-bottom: 25px;
    }

    .einleitung h1 {
        font-size: 27px;
    }

    .einleitung p {
        font-size: 15px;
    }

    .kontakt-layout {
        gap: 20px;
    }

    .karte {
        border-radius: 15px;
    }

    .formular-karte {
        padding: 23px 18px 25px;
    }

    .formular-karte h2 {
        font-size: 24px;
    }

    .formular-raster {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    fieldset {
        margin-bottom: 25px;
    }

    legend {
        font-size: 17px;
    }

    .wochentage {
        gap: 8px;
    }

    .wochentag span {
        padding: 8px 11px;
        font-size: 13px;
    }

    .eintritt-feld {
        max-width: none;
    }

    .formular-aktionen {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .knopf-zuruecksetzen,
    .knopf-senden {
        flex: 0 0 auto;
        width: 100%;
    }

    .kontakt-rechts {
        display: flex;
        flex-direction: column;
    }

    .kontakt-rechts .karte {
        width: 100%;
        padding: 23px 20px;
    }

    .kontakt-rechts .karte h2 {
        font-size: 21px;
    }

    .kontakt-direkt {
        font-size: 14px;
    }

    .karten-rahmen iframe {
        height: 240px;
    }

    .footer-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px 16px;
        padding: 20px 18px;
    }

    .footer-block h3 {
        font-size: 16px;
    }

    .footer-block p,
    .footer-block li,
    .footer-block a {
        font-size: 13px;
    }

}


/* ==========================================
   BEWEGUNGEN REDUZIEREN
========================================== */

@media (prefers-reduced-motion: reduce) {

    .navifeld img,
    .wochentag span,
    .kontakt-direkt,
    .footer-block a {
        transition: none;
    }

    .navifeld:hover img,
    .kontakt-direkt:hover,
    .footer-block a:hover {
        transform: none;
    }

}


