:root {
    --primary-color: #3498db;
    --text-color: #333;
    --text-light: #555;
    --background-color: #f8f9fa;
    --card-background: white;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --divider-color: #3498db;
    --input-background: #f5f5f5;
    --input-border: #ddd;
    --button-hover: #2980b9;
}

[data-theme="dark"] {
    --primary-color: #3498db;
    --text-color: #f5f5f5;
    --text-light: #ccc;
    --background-color: #121212;
    --card-background: #1e1e1e;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --divider-color: #3498db;
    --input-background: #2c2c2c;
    --input-border: #444;
    --button-hover: #2980b9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 20px;
}

.card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 40px;
    transition: all 0.3s ease;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Behalte den Platzhalter für den Fall, dass das Bild nicht geladen werden kann */
.profile-image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.profile-image-placeholder i {
    font-size: 60px;
    color: white;
}

.name {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
}

.title {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--divider-color);
    margin: 20px auto 30px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* QR Section */
.qr-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--input-border);
    border-bottom: 1px solid var(--input-border);
}

.qr-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.qr-code {
    display: inline-block;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.qr-code img {
    display: block;
}

.qr-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Dark Mode Toggle */
.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 100;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.theme-label {
    margin-left: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--button-hover);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 20px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .profile-image-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .profile-image-placeholder i {
        font-size: 50px;
    }
} 