body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #0d1117;
    color: #e6e6e6;
}

header {
    background: #0d1117;
    color: #C4D6B0;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 3px solid #1f2933;
}

header h1 {
    margin: 0;
    font-size: 42px;
}

.subtitle {
    margin-top: 5px;
    font-size: 20px;
    opacity: 0.9;
}

.profil-wrapper {
    display: flex;
    gap: 20px;
    background: #1f2933;
    margin: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.profilbild {
    width: 160px;
    border-radius: 10px;
}

.ohne-punkte {
    list-style: none;
    padding: 0;
}

.ohne-punkte li {
    margin-bottom: 8px;
    font-size: 18px;
}

.card {
    background: #1f2933;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.card h2 {
    margin-top: 0;
    color: #C4D6B0;
}

.ref-table {
    width: 100%;
    border-collapse: collapse;
}

.ref-table th {
    text-align: left;
    padding-bottom: 10px;
    font-size: 18px;
    color: #C4D6B0;
}

.ref-table td {
    padding: 6px 0;
    color: #e6e6e6;
}

.center-button {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.main-btn {
    background: #C4D6B0;
    color: #1f2933;
    padding: 14px 32px;
    font-size: 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.main-btn:hover {
    background: #ffffff;
    color: #1f2933;
}

.skill {
    width: 100%;
    background: #161d25;
    border-radius: 8px;
    height: 14px;
    margin-bottom: 12px;
    position: relative;
}

.skill-fill {
    background: #C4D6B0;
    height: 100%;
    border-radius: 8px;
}

/* 📱 Handy-Optimierung */
@media (max-width: 768px) {

    /* Profilbereich untereinander */
    .profil-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profilbild {
        width: 140px;
    }

    /* Referenzen untereinander statt Tabelle */
    .ref-table,
    .ref-table tr,
    .ref-table th,
    .ref-table td {
        display: block;
        width: 100%;
    }

    .ref-table th {
        margin-top: 20px;
        font-size: 20px;
    }

    .ref-table td {
        padding: 4px 0;
    }

    /* Buttons & Text etwas kleiner */
    .main-btn {
        font-size: 18px;
        padding: 12px 24px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 22px;
    }
}

.refs {
    display: flex;
    gap: 20px;
}

.ref-card {
    background: #161d25;
    padding: 16px;
    border-radius: 10px;
    flex: 1;
}

.ref-card h3 {
    margin-top: 0;
    color: #C4D6B0;
}

/* 📱 Handy */
@media (max-width: 768px) {
    .refs {
        flex-direction: column;
    }
}
