@charset "utf-8";

/* SMOOTH SECTION ANIMATION */

.section{
display:none;
opacity:0;
transform:translateY(20px);
transition:all 0.5s ease;
}

/* aktiv sichtbar */
.section.active{
display:block;
opacity:1;
transform:translateY(0);
}

.section{
filter:blur(5px);
}

.section.active{
filter:blur(0);
}
transition:all 0,50s ease;
/* ============================= */
/* GLOBAL */
/* ============================= */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

nav {
    width: 100%;
    background-color: #2c3e50;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav button {
    background-color: #34495e;
    color: #fff;
    border: none;
    padding: 15px 25px;
    margin: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

nav button:hover {
    background-color: #1abc9c;
}

/* ============================= */
/* SECTIONS */
/* ============================= */

.section{
display:none;
width:100%;
box-sizing:border-box;
padding:110px 20px 40px;
text-align:center;
}

#datenschutz {
    display: block !important;
}

/* ============================= */
/* STARTSEITE */
/* ============================= */

#home {
	background-image: url("Bilder/IMG_9128.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#home .content {
    background-color: rgba(0,0,0,0.55);
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
}

#home p {
    font-size: 1.2em;
}

/* ============================= */
/* BUTTONS */
/* ============================= */


.button-row{
display:grid;
grid-template-columns: 1fr 1fr 1fr; /* 3 Buttons */
gap:15px;
max-width:700px;
margin:25px auto;
}




 /* BASIS */
.submit-btn,
.mitglied-btn{
position:relative;
color:#fff;
border:none;
border-radius:10px;
cursor:pointer;
font-size:16px;
overflow:hidden;
transition:all 0.3s ease;
box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

/* 🔵 BLAU: Nachricht senden */
.submit-btn{
background:linear-gradient(135deg, #3498db, #2980b9);
}

/* 🟢 GRÜN: Beitritt */
.mitglied-btn{
background:linear-gradient(135deg, #2ecc71, #27ae60);
}

/* HOVER */
.submit-btn:hover,
.mitglied-btn:hover{
transform:translateY(-4px) scale(1.02);
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

/* CLICK */
.submit-btn:active,
.mitglied-btn:active{
transform:scale(0.97);
}

/* ✨ LIGHT SWEEP */
.submit-btn::before,
.mitglied-btn::before{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.4),
transparent
);
transition:0.6s;
}

.submit-btn:hover::before,
.mitglied-btn:hover::before{
left:100%;
}

.satzung-btn{
background:linear-gradient(135deg, #9b59b6, #8e44ad); /* lila */
color:#fff;
border:none;
border-radius:10px;
cursor:pointer;
transition:0.3s;
}

/* Hover gleich wie andere */
.satzung-btn:hover{
transform:translateY(-4px) scale(1.02);
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}




/* ============================= */
/* ÜBER UNS */
/* ============================= */

#about {
    background-color: #eaf2f8;
}

#about .about-box {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#about h1 {
    text-align: center;
    margin-bottom: 30px;
}

#about p {
    text-align: justify;
    hyphens: auto;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.about-logo {
    display: block;
    margin: 0 auto 25px;
    max-width: 180px;
    height: auto;
}

/* ============================= */
/* KONTAKT */
/* ============================= */

#contact {
    background-color: #d5f5e3;
}

/* ============================= */
/* FORMULAR */
/* ============================= */
.contact-form{
max-width:500px;
margin:auto;
}

.form-group{
margin-bottom:15px;
}

input, textarea{
width:100%;
padding:10px;
border-radius:5px;
border:1px solid #ccc;
}

textarea{
resize:vertical;
}

.submit-btn{
background:#0077cc;
color:white;
padding:12px 25px;
border:none;
border-radius:5px;
cursor:pointer;
}

.submit-btn:hover{
background:#005fa3;
}

.success-message{
background:#d4edda;
padding:15px;
border-radius:5px;
margin-bottom:20px;
}

.honeypot{
display:none;
}
.
/* ============================= */
/* ============================= */
/* PDF OVERLAY MIT FADE ANIMATION */
/* ============================= */

.pdf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9999;
}

.pdf-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Header */
.pdf-header {
    height: 60px;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

/* Zurück Button */
.pdf-back {
    background: transparent;
    border: none;
    color: #1abc9c;
    font-weight: bold;
    cursor: pointer;
}

.pdf-back:hover {
    color: #16a085;
}

/* Aktionen */
.pdf-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pdf-download {
    color: #1abc9c;
    text-decoration: none;
    font-weight: bold;
}

.pdf-download:hover {
    color: #16a085;
}

.close-pdf {
    font-size: 26px;
    cursor: pointer;
}

.close-pdf:hover {
    color: #e74c3c;
}

/* PDF Frame mit Slide + Fade */
.pdf-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: #2b2b2b;

    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.pdf-overlay.active .pdf-frame {
    transform: translateY(0);
    opacity: 1;
}/* PDF OVERLAY */
/* ============================= */


/* ===== Vollbild Overlay ===== */



/*================================*/
/* ===== Header Layout ===== */
/*================================*/

/* ===== Vollbild Overlay ===== */

/* ===== PDF OVERLAY ANIMATION ===== */

.pdf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9999;
}

/* Aktiv-Zustand */
.pdf-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* PDF Frame Animation */
.pdf-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: #2b2b2b;

    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.pdf-overlay.active .pdf-frame {
    transform: translateY(0);
    opacity: 1;
}

/* Erfolgsmeldung 21-03*/

.success-message{
background:#e6ffe6;
border:1px solid #4CAF50;
padding:15px;
margin-bottom:20px;
border-radius:6px;
color:#000;
}

#form-message{
margin-top:20px;
padding:15px;
border-radius:6px;
font-weight:bold;
}





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

@media (max-width: 768px) {
    #home .content {
        padding: 25px;
    }

    #about .about-box {
        padding: 25px 20px;
    }

    #about p {
        text-align: left;
    }

    input, textarea {
        font-size: 16px;
    }
}

.ds-link {
    color: #1abc9c;
    cursor: pointer;
    text-decoration: underline;
}



@media (max-width: 600px) {

    .contact-form {
        padding: 0 10px;
    }

    input, textarea {
        font-size: 16px; /* verhindert iOS-Zoom */
    }

    .submit-btn {
        width: 100%;
        font-size: 1.1em;
        padding: 14px;
    }
}

.success-message{
background:#e8f7e8;
border:1px solid #4CAF50;
color:#2e7d32;
padding:15px;
border-radius:6px;
margin-top:20px;
}

.error-message{
background:#ffe6e6;
border:1px solid #ff4d4d;
color:#b30000;
padding:15px;
border-radius:6px;
margin-top:20px;
}

/*=============================*/
/*Footer*/
/*=============================*/

.site-footer{
background:#2c3e50;
color:#fff;
padding:20px 10px;
text-align:center;
margin-top:40px;
}

.footer-content{
max-width:1000px;
margin:0 auto;
}

.footer-links{
margin-top:10px;
}

.footer-links a{
color:#1abc9c;
margin:0 10px;
text-decoration:none;
font-weight:bold;
}

.footer-links a:hover{
text-decoration:underline;
}
html, body{
height:100%;
margin:0;
}

body{
display:flex;
flex-direction:column;
}

main{
flex:1;
}

.site-footer{
background:red;
}