:root {
    --primary: #ffd700;     /* Warmes Gelb */
    --primary-light: #ffe44d;
    --secondary: #2c3e50;   /* Dunkles Blaugrau */
    --accent: #3498db;      /* Helles Blau */
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --gray-dark: #343a40;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--gray-light);
    color: var(--secondary);
}

section {
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    border: 1px solid #eee;
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-dark) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-bottom: 5px solid var(--primary);
}

.hero-section h1 {
    margin-bottom: 0.5rem;
}

.hero-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.address-info {
    color: white;
    font-size: 1.1rem;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
    border: 1px solid #eee;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    margin: 0;
}

.skill-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.skill-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FDB900 100%);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}


/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.floating-contact .contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    width: auto;
    min-width: 180px;
    margin: 0;
}

/* WhatsApp Button spezifisch */
.floating-contact .whatsapp-button {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

/* Zusätzliche Styles für die Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.contact-info .contact-item {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--secondary);
}

.contact-info a:hover {
    color: var(--accent);
}

.badge {
    background-color: var(--accent) !important;
    color: white;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

.text-primary {
    color: var(--accent) !important;
}

.hero-tags .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Projekt Styles */
.projekte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.projekt-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.projekt-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.projekt-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.projekt-zeitraum {
    font-size: 0.9rem;
    color: var(--gray);
}

.projekt-beschreibung {
    margin: 1rem 0;
    color: var(--gray-dark);
}

.projekt-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    background: var(--gray-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Kontaktformular */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.contact-form-container .form-label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.contact-form-container .form-control {
    padding: 0.8rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form-container .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.contact-form-container textarea.form-control {
    min-height: 120px;
}

.contact-form-container button[type="submit"] {
    margin-top: 1rem;
    width: auto;
    min-width: 200px;
}

#formStatus {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

#formStatus.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#formStatus.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* WhatsApp Button Style */
.contact-methods {
    margin-bottom: 2rem;
}

.whatsapp-button {
    background: #25D366 !important;
    color: white !important;
    border-color: #25D366 !important;
}

/* Call-to-Action Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.cta-primary {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-secondary {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: rgb(59, 59, 59);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cta-section {
    background: linear-gradient(135deg, var(--gray-light) 0%, #fff 100%);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 15px;
    text-align: center;
}

/* Expertise Cards */
.expertise-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    border: 1px solid #eee;
    height: 100%;
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Contact Options */
.contact-option-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    border: 1px solid #eee;
    height: 100%;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-option-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-option-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Ausbildungs-Sektion */
.education-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.skill-overview {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #eee;
}

/* Hero Buttons */
.hero-section .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-section .cta-primary {
    background: var(--primary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.hero-section .cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

/* Personal Info Styles */
.personal-info {
    text-align: center;
    color: white;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.contact-text {
    color: white;
}

/* Button Hover-Effekte */
.contact-button:hover {
    background: var(--primary-light);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    text-decoration: none;
}

.cta-primary:hover {
    background: var(--primary-light);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-decoration: none;
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-decoration: none;
}

/* WhatsApp Button Hover */
.whatsapp-button:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Floating Contact Button Hover */
.floating-contact .contact-button:hover {
    background: var(--primary-light);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-decoration: none;
}

.floating-contact .whatsapp-button:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: white !important;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    /* Hero Tags */
    .hero-tags .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        padding: 0 1rem;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        justify-content: center;
    }

    /* Expertise Cards */
    .expertise-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .expertise-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    /* Floating Contact Buttons */
    .floating-contact {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        left: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        width: auto;
        z-index: 999;
    }

    .floating-contact .contact-button {
        width: 44px;          /* Gleiche Breite und Höhe für einen perfekten Kreis */
        height: 44px;         /* Gleiche Breite und Höhe für einen perfekten Kreis */
        border-radius: 50%;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        min-width: unset;     /* Entfernt die Mindestbreite */
    }

    .floating-contact .contact-button .button-text {
        display: none;
    }

    .floating-contact .contact-button i {
        margin: 0;
        font-size: 1.2rem;
    }

    .floating-contact .whatsapp-button {
        background: #25D366;
        color: white;
    }

    .floating-contact .contact-button:hover {
        transform: scale(1.1);
    }

    /* Kontaktformular */
    .contact-form-container {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    /* Projekte */
    .projekte-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .projekt-card {
        padding: 1.5rem;
    }

    /* Sections */
    section {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding: 1rem;
    }

    /* Contact Options */
    .contact-option-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-icon {
        font-size: 2rem;
    }

    /* Skills */
    .skill-category {
        padding: 1rem;
    }

    /* Container Padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* iPhone spezifische Anpassungen */
@media (max-width: 428px) {
    /* Zusätzliche Anpassungen für iPhone */
    .hero-section {
        padding-top: 3rem;
    }

    .floating-contact {
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .contact-button,
    .cta-primary,
    .cta-secondary {
        min-height: 44px;
    }

    body {
        font-size: 16px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
    }

    .contact-form-container {
        margin-bottom: 2rem;
    }
}

/* Landscape Mode */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        padding: 1.5rem 1rem;
    }

    .floating-contact {
        display: none;
    }
}

/* Icon für Telekommunikation Skills */
.skill-category[data-category="Telekommunikation"] .category-icon::before {
    content: "\f095";  /* FontAwesome Telefon-Icon */
    font-family: "Font Awesome 6 Free";
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Spezielle Styling für TK-Skills */
.skill-category[data-category="Telekommunikation"] .skill-progress {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* Hover-Effekt für TK-Skills */
.skill-category[data-category="Telekommunikation"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} 