* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f6;
    color: #1f2933;
    text-align: center;
}

/* HEADER */

.header {
    background: linear-gradient(135deg, #ffffff, #eef8f0);
    padding: 14px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #dbe5df;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 80px;
}

.brand h1 {
    margin: 0;
    font-size: 22px;
    color: #008000;
}

.brand p {
    margin: 0;
    color: #4b5563;
    font-size: 12px;
}

.header-center {
    margin-top: 8px;
    font-size: 13px;
    font-weight: bold;
    color: #008000;
}

/* MAIN */

main {
    max-width: 1000px;
    margin: auto;
    padding: 28px 16px;
}

section {
    margin-bottom: 36px;
}

h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #111827;
}

/* GRID */

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* CARDS */

.card {
    width: 150px;
    background: white;
    padding: 14px 10px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    transition: 0.2s ease;
    border: 1px solid #edf2ef;
}

.card:hover {
    transform: translateY(-3px);
    background: #008000;
    color: white;
    box-shadow: 0 10px 20px rgba(0,128,0,0.22);
}

.icon {
    font-size: 23px;
    margin-bottom: 7px;
}

.card strong {
    display: block;
    font-size: 13px;
    line-height: 1.35;
}

/* INFO BOXEN */

.info-box {
    max-width: 760px;
    margin: 0 auto;
    background: white;
    padding: 22px 26px;
    border-radius: 16px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    border: 1px solid #edf2ef;
    text-align: center;
}

.info-box p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.info-box a {
    color: #008000;
    text-decoration: none;
    font-weight: bold;
}

.info-box a:hover {
    text-decoration: underline;
}

/* KONTAKT BUTTON */

.contact-open-btn {
    background: #0f8f5f;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    transition: 0.2s ease;
	
	  text-decoration: none;
    display: inline-block;
}

/*.contact-open-btn:hover {
    background: #008000;
    transform: translateY(-2px);
}*/

#demo .contact-open-btn {
    font-size: 13.3333px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: normal;
}

/* FOOTER */

footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 18px;
    font-size: 12px;
}

footer a {
    color: #b7f7c2;
    text-decoration: none;
    margin: 0 6px;
}

footer a:hover {
    text-decoration: underline;
}

/* POPUP */

.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;

    justify-content: center;

    align-items: flex-start;

    overflow-y: auto;

    padding: 20px 16px;
}

.popup-box {
    background: white;
    max-width: 380px;
    width: 100%;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
    position: relative;
    animation: popupZoom 0.2s ease;
    text-align: center;
}

.popup-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #008000;
    font-size: 19px;
}

.popup-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.close {
    position: absolute;
    right: 14px;
    top: 8px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.close:hover {
    color: #008000;
}

/* KONTAKT FORMULAR IM POPUP */

.contact-popup-box {
    max-width: 470px;
}

.contact-mini {
    max-width: 420px;
    margin: auto;
}

.contact-popup-inner {
    box-shadow: none;
    border: none;
    padding: 6px 0 0;
}

.topic-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px 0;
}

.topic-buttons button,
.send-btn {
    background: #0f8f5f;
    border: none;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
}

.topic-buttons button:hover,
.send-btn:hover {
    background: #008000;
}

.mini-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-form input,
.mini-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #cfd8d3;
    color: #111827;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.mini-form input::placeholder,
.mini-form textarea::placeholder {
    color: #6b7280;
}

.mini-form input:focus,
.mini-form textarea:focus {
    outline: none;
    border: 1px solid #008000;
    box-shadow: 0 0 0 3px rgba(0,128,0,0.12);
}

.mini-form textarea {
    min-height: 170px;
    resize: vertical;
}

/* ANIMATION */

@keyframes popupZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* MOBILE */

@media (max-width: 700px) {

    .logo img {
        height: 65px;
    }

    .card {
        width: 140px;
    }

    .brand h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    .info-box {
        padding: 18px;
    }

    .contact-popup-box {
        max-width: 94%;
    }

    .topic-buttons {
        gap: 8px;
    }

    .topic-buttons button {
        flex: 1 1 100%;
    }
}

/*CHECKBOX*/

/*.checkbox-line{
    display:flex;
    gap:10px;
    align-items:flex-start;
    text-align:left;
    font-size:13px;
    line-height:1.5;
}

.checkbox-line input{
    margin-top:3px;
    width:auto;
}

.checkbox-line a{
    color:#008000;
    font-weight:600;
}*/

/*CHECKBOX ENDE */

/*CHECKBOXneue*/

.checkbox-line{
    display:flex;
    align-items:flex-start;
    gap:10px;

    text-align:left;

    font-size:13px;
    line-height:1.5;

    flex-wrap:wrap;
}

.checkbox-line input{
    width:auto;
    margin-top:3px;
    flex-shrink:0;
}

.checkbox-line a{
    color:#008000;
    font-weight:600;

    word-break:break-word;
}
/*CHECKBOX ENDE neue */


		/*ruckmeldung anfrage gesendet*/
					.success-message{
   						 display:none;

  						  margin-top:15px;

  							  padding:12px;

 							   background:#e8f8ec;

  									  border:1px solid #8fd19e;

   									 border-radius:10px;

    							color:#006400;

    						font-size:14px;

    					font-weight:600;
						}
		/*ruckmeldung anfrage gesendet*/