/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Child Theme for Divi Theme by Elegant Themes
 Author:         Divi.world
 Author URI:     http://divi.world
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* =========================================================
   DANIELA HÖSTEREY – GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --dh-green: #5cb241;
    --dh-green-dark: #4a9235;

    --dh-text: #292929;
    --dh-text-soft: #6b6b68;

    --dh-light: #f7f6f2;
    --dh-beige: #e8e1d7;
    --dh-white: #ffffff;

    --dh-border: rgba(30, 30, 30, 0.12);

    --dh-radius: 4px;

    --dh-content: 1120px;
}


/* =========================================================
   TYPOGRAFIE
   ========================================================= */

body,
.et_pb_module,
.et_pb_text_inner,
.et_pb_button {
    font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--dh-text);
    font-weight: 400;
}

body {
    font-size: 17px;
    line-height: 1.7;
}


/* Überschriften */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--dh-text);
    font-weight: 500;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(35px, 3.5vw, 50px);
    line-height: 1.08;
}

h2 {
    font-size: clamp(28px, 2.4vw, 40px);
    line-height: 1.15;
}

h3 {
    font-size: clamp(20px, 1.6vw, 25px);
    line-height: 1.25;
}



/* Fließtext */

p {
    font-size: 1.3em;
}

p a {
    color: #4a9235 !important;
}
/* Links */

a {
    transition: all .25s ease;
}
/* =========================================================
   CHECKLISTE
   ========================================================= */

ul.checkliste {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.checkliste li {
    list-style: none !important;
    position: relative;

    margin: 0 0 12px 0 !important;
    padding: 0 0 0 32px !important;

    font-size: 17px;
    line-height: 1.5;
    color: #292929;
}

ul.checkliste li:last-child {
    margin-bottom: 0 !important;
}

/* Standard-Aufzählung sicher entfernen */
ul.checkliste li::marker {
    content: "";
}

/* Grüner Haken */
ul.checkliste li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 2px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #5cb241;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================================
   DESKTOP NAVIGATION
   Nur ab 981px – Mobile bleibt Divi-Standard
   ========================================================= */

@media (min-width: 981px) {

    /* Navigation mittig ausrichten */
    #et-top-navigation {
        flex: 1;
        display: flex;
        justify-content: center;
        padding-top: 0 !important;
    }

    /* Menüabstände */
    #top-menu {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    #top-menu > li {
        padding-right: 0 !important;
        margin: 0 !important;
    }

    /* Menülinks */
    #top-menu > li > a {
        position: relative;
        padding: 30px 0 28px !important;

        font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.2;

        color: #4f4f4c !important;
        transition: color .2s ease;
    }

    /* Hover */
    #top-menu > li > a:hover {
        color: #5cb241 !important;
        opacity: 1 !important;
    }

    /* dezente Linie */
    #top-menu > li > a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 20px;

        width: 0;
        height: 2px;

        background: #5cb241;
        transform: translateX(-50%);
        transition: width .2s ease;
    }

    /* Hover + aktive Seite */
    #top-menu > li > a:hover::after,
    #top-menu > li.current-menu-item > a::after,
    #top-menu > li.current_page_item > a::after {
        width: 100%;
    }

    /* aktive Seite */
    #top-menu > li.current-menu-item > a,
    #top-menu > li.current_page_item > a {
        color: #292929 !important;
    }

}


.kontaktformular{
  max-width:900px;
  margin:auto;
}

.form-row{
  display:flex;
  gap:24px;
}

.form-row-2 .form-field{
  flex:1;
}

.form-field{
  margin-bottom:16px;
}

.form-field label{
  display:block;
  margin-bottom:3px;
  font-size:14px;
  font-weight:500;
}

.form-field p{
  margin:0 !important;
  padding:0 !important;
}

.kontaktformular input,
.kontaktformular select,
.kontaktformular textarea{
  width:100%;
  padding:11px 12px;
  border:1px solid #d8d8d8;
  border-radius:2px;
  background:#fff;
  font:inherit;
  outline:0;
  box-sizing:border-box;
}

.kontaktformular input:focus,
.kontaktformular select:focus,
.kontaktformular textarea:focus{
  border-color:#5cb241;
}

.kontaktformular textarea{
  min-height:120px;
}

.form-datenschutz{
  margin:6px 0 18px;
  font-size:13px;
}

.form-datenschutz input{
  width:auto;
  margin-right:6px;
}

.kontaktformular input[type="submit"]{
  width:auto;
  padding:11px 22px;
  border:1px solid #5cb241;
  background:#5cb241;
  color:#fff;
  cursor:pointer;
}

@media(max-width:767px){
  .form-row{
    display:block;
  }
}