/* Muttizettel-Seite Styles */

.muttizettel-section {
    background-color: var(--light-color);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Intro Box */
.intro-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.intro-box h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.intro-box h2::after {
    display: none;
}

.intro-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Info Box */
.info-box {
    background-color: var(--white);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-box.warning {
    border-left-color: #ffc107;
    background-color: #fffbf0;
}

.info-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-box ul {
    margin-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-box ul ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #003d7a 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.download-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.download-section h2::after {
    background-color: var(--white);
}

.download-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-download:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

.btn-download svg {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    position: relative;
    background-color: var(--light-color);
    padding: 0 1rem;
    color: #999;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Form Section */
.form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.form-section > p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.muttizettel-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-card {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-col {
    flex: 1;
}

.form-col label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-col input,
.form-col select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-col input:focus,
.form-col select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
}

/* Declaration Card */
.declaration {
    background-color: #f0f7ff;
    border-color: var(--secondary-color);
}

.declaration-text {
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 5px;
    border-left: 3px solid var(--secondary-color);
}

.signature-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.signature-field {
    flex: 1;
}

.signature-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.signature-line {
    border-bottom: 2px solid var(--dark-color);
    height: 50px;
    margin-top: 0.5rem;
}

/* Checklist Card */
.checklist {
    background-color: #fff9f0;
    border-color: #ffc107;
}

.checklist h3 {
    color: #f57c00;
    border-bottom-color: #ffc107;
}

.checklist ul {
    margin: 1rem 0 1rem 1.5rem;
}

.checklist li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.warning-text {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 5px;
    font-size: 0.95rem;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c00000 100%);
}

.btn-print:hover {
    background: linear-gradient(135deg, #c00000 0%, #a00000 100%);
}

.btn-print svg {
    width: 20px;
    height: 20px;
}

/* Print Styles */
@media print {
    /* Hide elements that shouldn't be printed */
    header,
    footer,
    .hero,
    .intro-box,
    .info-box,
    .download-section,
    .divider,
    .form-section > h2,
    .form-section > p,
    .form-buttons,
    .mobile-menu-btn,
    nav {
        display: none !important;
    }

    body {
        background: white;
        margin: 0;
        padding: 0;
    }

    .muttizettel-section {
        padding: 0;
        background: white;
    }

    .content-wrapper {
        max-width: 100%;
        padding: 20px;
    }

    .muttizettel-form {
        box-shadow: none;
        padding: 0;
        background: white;
    }

    .form-card {
        page-break-inside: avoid;
        background: white;
        border: 1px solid #333;
        margin-bottom: 15px;
        padding: 15px;
    }

    .form-card h3 {
        font-size: 14pt;
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 2px solid #333;
        color: black;
    }

    .form-row {
        margin-bottom: 10px;
    }

    .form-col label {
        font-size: 10pt;
        font-weight: bold;
        color: black;
    }

    .form-col input,
    .form-col select {
        border: none;
        border-bottom: 1px solid #333;
        padding: 5px 0;
        font-size: 11pt;
        background: transparent;
        color: black;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .declaration-text {
        background: white;
        border-left: 2px solid #333;
        padding: 10px;
        font-size: 10pt;
        line-height: 1.6;
        color: black;
    }

    .signature-section {
        page-break-inside: avoid;
    }

    .signature-line {
        border-bottom: 1px solid #333;
        height: 40px;
    }

    .checklist {
        background: white;
        border: 1px solid #333;
    }

    .checklist h3 {
        color: black;
    }

    .checklist li {
        font-size: 10pt;
        color: black;
    }

    .warning-text {
        background: white;
        border-left: 2px solid #333;
        padding: 10px;
        font-size: 9pt;
        color: black;
    }

    /* Ensure form values are visible */
    input[type="text"],
    input[type="date"],
    input[type="tel"],
    input[type="time"],
    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-col {
        width: 100%;
    }

    .signature-section {
        flex-direction: column;
        gap: 1rem;
    }

    .form-buttons {
        flex-direction: column;
    }

    .form-buttons .btn,
    .form-buttons .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
