/*
 * Kontakt - Page-spezifische Styles
 *
 * Basis-Styles (Hero, Fonts, Responsive) kommen aus hybrid-pages.css.
 * Hier nur Kontakt-spezifische Formatierung.
 *
 * Strategie: #primary bleibt full-width (Astra page-builder Modus).
 * Zentrierung ueber den inneren .kontakt-content Wrapper,
 * der von Astra nicht angefasst wird.
 *
 * @package Natur-Luftballons
 * @since 1.0
 */

/* ===================================================================
   CONTENT-WRAPPER (Zentrierung)
   #primary bleibt full-width (Astra page-builder).
   .kontakt-content uebernimmt max-width + Zentrierung.
   =================================================================== */

.kontakt-content {
    font-family: "Nunito", sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}


/* ===================================================================
   SEKTIONEN
   =================================================================== */

.kontakt-section {
    margin-bottom: 2rem;
}

.kontakt-section:last-child {
    margin-bottom: 0;
}

.kontakt-section h2 {
    font-family: "Nunito", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #62BC66;
}

.kontakt-section h3 {
    font-family: "Nunito", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #333333;
    margin: 1.25rem 0 0.5rem 0;
}

.kontakt-section p,
.kontakt-section li {
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.8;
}

.kontakt-section p {
    margin: 0 0 0.75rem 0;
}

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


/* ===================================================================
   KONTAKT-KARTEN (Telefon + E-Mail)
   =================================================================== */

.kontakt-karten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1rem 0;
}

.kontakt-karte {
    background: #fafbfc;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    padding: 1.25rem;
    text-align: center;
}

.kontakt-karte-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.kontakt-karte h3 {
    font-family: "Nunito", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 0.5rem 0;
}

.kontakt-karte-wert {
    font-family: "Nunito", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2E7D32;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.kontakt-karte-wert:hover {
    color: #256B29;
    text-decoration: underline;
}


/* ===================================================================
   HINWEIS-BOX
   =================================================================== */

.kontakt-hinweis {
    background: #f0faf0;
    border-left: 3px solid #62BC66;
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.kontakt-hinweis p {
    margin: 0;
}


/* ===================================================================
   ANSCHRIFT
   =================================================================== */

.kontakt-anschrift address {
    font-family: "Nunito", sans-serif;
    font-style: normal;
    font-size: 1rem;
    color: #374151;
    line-height: 1.8;
}


/* ===================================================================
   FLUENT FORMS KONTAKTFORMULAR
   =================================================================== */

.kontakt-formular-wrapper {
    margin-top: 1rem;
}

/* Labels ins Brand-Design einpassen */
.kontakt-formular-wrapper .fluentform .ff-el-input--label label {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    color: #333333;
    font-size: 0.95rem;
}

/* Inputs + Textarea */
.kontakt-formular-wrapper .fluentform .ff-el-form-control {
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease;
}

.kontakt-formular-wrapper .fluentform .ff-el-form-control:focus {
    border-color: #62BC66;
    outline: none;
    box-shadow: 0 0 0 2px rgba(98, 188, 102, 0.2);
}

.kontakt-formular-wrapper .fluentform textarea.ff-el-form-control {
    min-height: 150px;
    resize: vertical;
}

/* Submit-Button */
.kontakt-formular-wrapper .fluentform .ff-btn-submit {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background-color: #62BC66;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.kontakt-formular-wrapper .fluentform .ff-btn-submit:hover {
    background-color: #4a9a4e;
}

/* Pflichtfeld-Stern */
.kontakt-formular-wrapper .fluentform .ff-el-is-required .asterisk-right::after {
    color: #dc3545;
}

/* Erfolgsmeldung */
.kontakt-formular-wrapper .fluentform .ff-message-success {
    font-family: "Nunito", sans-serif;
    background: #f0faf0;
    border: 1px solid #62BC66;
    border-radius: 6px;
    padding: 1.25rem;
    color: #2E7D32;
}

/* Bestaetigungs-Tabelle: Werte in Schwarz */
.kontakt-formular-wrapper .ff-message-success td {
    color: #333333;
}

.kontakt-formular-wrapper .ff-message-success td strong {
    color: #2E7D32;
}

/* Name-Felder nebeneinander (Vorname/Nachname) */
.kontakt-formular-wrapper .fluentform .ff-t-container {
    display: flex;
    gap: 1rem;
}

.kontakt-formular-wrapper .fluentform .ff-t-cell {
    flex: 1;
}


/* ===================================================================
   WEITERE INFORMATIONEN (Links)
   =================================================================== */

.kontakt-links {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.kontakt-links li {
    margin-bottom: 0.5rem;
}


/* ===================================================================
   LINKS
   =================================================================== */

.kontakt-content a {
    color: #2E7D32;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kontakt-content a:hover {
    color: #256B29;
    text-decoration: underline;
}


/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 768px) {
    .kontakt-content {
        padding: 1.5rem 1rem;
    }

    .kontakt-section h2 {
        font-size: 1.3rem;
    }

    .kontakt-karten {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kontakt-content {
        padding: 1rem 0.75rem;
    }

    .kontakt-section h2 {
        font-size: 1.2rem;
    }

    .kontakt-karte-wert {
        font-size: 0.95rem;
    }
}
