/* Zentrieren und Begrenzen des Inhalts statischer Seiten */
.page .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
	color: #000000;
	background: rgba(255, 255, 255, 0.7); /* Leichtes weißes Overlay (Anpassbar) */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid #000000;
}

/* Optional: Stil für Überschriften und Text anpassen */
.page .entry-content h2,
.page .entry-content h3,

.page .entry-content p {
    max-width: 100%;
}

body.page-id-259 .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
body.page-id-261 .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
body.page-id-264 .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kuendigungs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.kuendigungs-formular {
    max-width: 800px;
    margin: 2rem auto;
    font-family: Arial, sans-serif;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kuendigungs-kopf {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    align-items: center;
    gap: 20px;
}

.logo {
    max-height: 80px;
    width: auto;
}

.anschrift {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.kuendigungs-formular h1 {
    color: #2b6cb0;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.hinweis-box {
    background-color: #fffaf0;
    border-left: 4px solid #ecc94b;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 15px;
    border-radius: 0 4px 4px 0;
}

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

.kuendigungs-formular label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.kuendigungs-formular input[type="text"],
.kuendigungs-formular input[type="email"],
.kuendigungs-formular textarea,
.kuendigungs-formular select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s;
}

.kuendigungs-formular input[type="text"]:focus,
.kuendigungs-formular input[type="email"]:focus,
.kuendigungs-formular textarea:focus,
.kuendigungs-formular select:focus {
    border-color: #4299e1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

.erklaerung {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #4299e1;
    border-radius: 0 4px 4px 0;
    font-size: 15px;
    line-height: 1.6;
}

.unterschrift-container {
    margin: 25px 0 30px;
}

.unterschrift-area {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background: #f9f9f9;
}

#signatureCanvas {
    border: 1px dashed #aaa;
    background-color: #fff;
    width: 100%;
    height: 150px;
    display: block;
    margin-bottom: 10px;
}

#clearSignature {
    margin-top: 10px;
    background-color: #f56565;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#clearSignature:hover {
    background-color: #e53e3e;
}

.kuendigungs-formular button[type="submit"] {
    background-color: #4299e1;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: background-color 0.3s;
}

.kuendigungs-formular button[type="submit"]:hover {
    background-color: #3182ce;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #666;
}

#pdfPreview {
    margin: 20px 0;
    border: 1px solid #eee;
    padding: 20px;
    background: #fff;
}

#downloadPdf, #sendPdf {
    margin: 10px 5px;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

#downloadPdf {
    background-color: #48bb78;
    color: white;
}

#downloadPdf:hover {
    background-color: #38a169;
}

#sendPdf {
    background-color: #4299e1;
    color: white;
}

#sendPdf:hover {
    background-color: #3182ce;
}

@media (max-width: 768px) {
    .kuendigungs-kopf {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px 15px;
    }
}