body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
}

h1 {
    color: #2fa84f;
    text-align: center;
    margin-top: 60px;
    font-size: 48px;
}

p {
    text-align: center;
    font-size: 22px;
    color: #444;
}header {
    background-color: #020b16;
    padding: 12px 40px;
}

header img {
    width: 360px;
    height: auto;
    display: block;
}.search-box {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

.search-box input {
    width: 100px;
    padding: 10px;
    font-size: 10px;
}

.search-box button {
    padding: 15px 25px;
    font-size: 18px;
    background-color: #2fa84f;
    color: white;
    border: none;
    border-radius: 8px;
}
.home-sections {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 60px auto;
    max-width: 1100px;
}

.home-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    width: 30%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.home-card h2 {
    color: #2fa84f;
    font-size: 22px;
    margin-bottom: 15px;
}

.home-card p {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}
.dfile-overview {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 60px auto;
}

.dfile-card {
    width: auto;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.dfile-image {
    height: 180px;
    background-color: #020b16;
    color: white;
    border-radius: 8px;

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

    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.dfile-card h2 {
    color: #2fa84f;
    margin-bottom: 8px;
}

.dfile-card h3 {
    margin-top: 0;
}

.dfile-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;

    background-color: #2fa84f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
}

.dfile-card a:hover {
    background-color: #238b3f;
}
.dfile-title {
    text-align: center;
    color: #2fa84f;
    font-size: 30px;
    margin: 60px 0 25px;
}

.dfile-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.dfile-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.dfile-image {
    height: 180px;
    background-color: #020b16;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.dfile-card h2 {
    color: #2fa84f;
    font-size: 24px;
}

.dfile-card h3 {
    font-size: 20px;
}

.dfile-card a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.dfile-card a:hover {
    text-decoration: underline;
}

.beratungs-karten {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 50px auto;
    max-width: 1000px;
}

.beratungs-kort {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 45% ;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    
}

.beratungs-kort h2 {
    color: #2fa84f;
    font-size: 22px;
    margin-bottom: 15px;
}

.beratungs-kort p {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}

.beratungs-kort label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.beratungs-kort input {
    width: 80%;
    max-width: 450px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.next-button {
    display: block;
    width: fit-content;
    margin: 30px auto 10px;
    padding: 12px 30px;
    background-color: #2fa84f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
}

.beratung-nutzung {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.beratung-nutzung h2 {
    color: #2fa84f;
    margin-bottom: 10px;
}

.beratung-nutzung > p {
    margin-bottom: 25px;
}

.beratung-nutzung label {
    display: inline-block;
    margin: 8px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background-color: #f8f8f8;
}

.beratung-nutzung label:hover {
    background-color: #eeeeee;
}

.beratung-nutzung input[type="checkbox"] {
    margin-right: 8px;
}

/* ========================================
   UPGRADE-ANFRAGEN VERWALTUNG
   ======================================== */

#anfragen {
    max-width: 1000px;
    margin: 30px auto;
}

#anfragen > div {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#anfragen hr {
    display: none;
}

#anfragen h2 {
    margin-top: 0;
    color: #222;
}

#anfragen p {
    margin: 10px 0;
}

#anfragen textarea {
    width: 100%;
    max-width: 700px;
    min-height: 90px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

#anfragen button {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 16px;
    margin-top: 8px;
    margin-right: 8px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
}

#anfragen button:hover {
    opacity: 0.85;
}

#anfragen strong {
    color: #333;
}

.status {
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
}

.status-neu {
    background-color: #fff3cd;
    color: #856404;
}

.status-bearbeitet {
    background-color: #d4edda;
    color: #155724;
}

.statistik {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    padding: 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.stat-box strong {
    display: block;
    font-size: 32px;
    margin-bottom: 5px;
}

.stat-box span {
    font-size: 16px;
}

.stat-box.neu {
    border-top: 5px solid #f0c000;
}

.stat-box.bearbeitet {
    border-top: 5px solid #28a745;
}

/* ========================================
   MOBILE ANSICHT
   ======================================== */

@media (max-width: 700px) {

    /* Obere drei Bereiche auf der Startseite */
    .home-sections {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 40px auto;
        padding: 0 15px;
    }

    .home-card {
        width: 100%;
        max-width: 500px;
    }

    /* Aktuelle D-Files untereinander */
    .dfile-overview {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Logo an kleine Bildschirme anpassen */
    header {
        padding: 12px 15px;
    }

    header img {
        width: 100%;
        max-width: 360px;
    }

    /* Große Überschrift etwas kleiner */
    h1 {
        font-size: 38px;
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Einleitungstext */
    body > main > p {
        padding: 0 15px;
    }
}

.dfile-card {
    text-decoration: none;
    color: inherit;
}

.dfile-card span {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #2fa84f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

.feedback-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2db34a;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.2s ease;
}

.feedback-button:hover {
    background-color: #24963d;
}

.feedback-stat {
    border-top: 4px solid #2db34a;
}

.feedback-admin {
    margin: 30px auto;
    max-width: 1100px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feedback-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.feedback-admin-header h2 {
    margin: 0;
    color: #2db34a;
}

.feedback-admin-header span {
    font-weight: bold;
}

.feedback-eintrag {
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #2db34a;
    background: #f7f7f7;
    border-radius: 6px;
}

.feedback-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.feedback-meta strong {
    font-size: 18px;
}

.feedback-meta span {
    color: #555;
}

.feedback-text {
    font-size: 16px;
    line-height: 1.5;
}

.feedback-leer {
    padding: 20px;
    color: #666;
}

.back-home {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 18px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.back-home:hover {
    opacity: 0.9;
}