/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Logo Images */
.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c3e50;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c3e50;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Right Side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-nav-link:hover {
    background: rgba(44, 62, 80, 0.1);
    transform: translateY(-2px);
}

.social-nav-link .logo-img {
    margin-right: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    animation: typewriter 3s steps(50) 0.5s forwards, blink 0.75s step-end infinite;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Desktop Version anzeigen, Mobile verstecken */
.hero-title-mobile,
.hero-subtitle-mobile {
    display: none;
}

.hero-title-desktop,
.hero-subtitle-desktop {
    display: inline;
}

/* Auf Tablets und Handys: Kurze Version anzeigen */
@media (max-width: 768px) {
    .hero-title-desktop,
    .hero-subtitle-desktop {
        display: none;
    }
    
    .hero-title-mobile,
    .hero-subtitle-mobile {
        display: inline;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Hero Decoration - Tools Cross */
.hero-decoration {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.15;
}

.tools-cross {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-hammer {
    position: absolute;
    font-size: 5rem;
    color: white;
    transform: rotate(45deg);
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.tool-screwdriver {
    position: absolute;
    font-size: 5rem;
    color: white;
    transform: rotate(-45deg);
    z-index: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for tools cross */
@media (max-width: 768px) {
    .hero-decoration {
        right: 5%;
        opacity: 0.1;
    }

    .tools-cross {
        width: 100px;
        height: 100px;
    }

    .tool-hammer,
    .tool-screwdriver {
        font-size: 3rem;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2c3e50;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 60px;
    width: 80px;
    height: 4px;
    background: #2c5aa0;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature i {
    color: #28a745;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: white;
}

/* Enhanced Sequential Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sequentialFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInSequential {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section-specific animation styles */
.hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle,
.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.section-title {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* About section individual elements */
.about-text p,
.about-features .feature,
.about-image {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact section individual elements */
.contact-item,
.contact-info h3,
.contact-info>p,
.contact-form .form-group,
.btn-full {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover states for animated elements */
.service-card.animated:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.team-member.animated:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-info {
    animation: slideInFromLeft 1s ease;
}

.contact-form {
    animation: slideInFromRight 1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 15px;
    }

    .logo {
        flex: 1;
        font-size: 1.1rem;
    }

    .logo-img {
        height: 30px;
    }

    .logo span {
        font-size: 1rem;
    }

    /* Navigation Right Side - Mobile Layout */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-shrink: 0;
    }

    /* Social Icons nebeneinander */
    .social-icons {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .social-nav-link {
        padding: 0.25rem;
        display: flex;
        align-items: center;
    }

    .social-nav-link .logo-img {
        height: 24px;
        width: 24px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        width: 30px;
        height: 24px;
        justify-content: space-between;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #333;
        margin: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo-img {
        height: 80px;
    }

    .footer-logo-img {
        height: 40px;
    }
}

/* Team Section */
.team {
    padding: 100px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-grid.single-member {
    max-width: 400px;
    margin: 4rem auto 0;
    grid-template-columns: 1fr;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3);
}

.member-image i {
    font-size: 3rem;
    color: white;
}

.team-member:hover .member-image {
    transform: scale(1.1) rotate(5deg);
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.member-role {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info>p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #666;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input.has-value+label,
.form-group textarea.has-value+label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.9rem;
    color: #2c3e50;
}

.form-group select {
    color: #666;
}

.form-group select option {
    color: #333;
}

.btn-full {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: #ecf0f1;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    .contact-details {
        text-align: center;
        width: 100%;
    }

    .contact-details h4 {
        text-align: center;
    }

    .contact-details p {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h3 {
        text-align: center;
    }

    .contact-info > p {
        text-align: center;
    }

    .member-skills {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .team-member {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 60px;
    background: white;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 2.5rem 0 1rem;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.legal-content h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #555;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-content a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #1a3d6b;
    text-decoration: underline;
}

.legal-content strong {
    color: #333;
    font-weight: 600;
}

.back-link {
    text-align: center;
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.back-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 40px;
    }

    .legal-content {
        padding: 0 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.3rem;
    }

    .legal-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .legal-content h1 {
        font-size: 1.8rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
    }
}

/* Font Awesome Fallback */
.fas.fa-phone::before {
    content: "\f095";
}

.fas.fa-envelope::before {
    content: "\f0e0";
}

.fas.fa-map-marker-alt::before {
    content: "\f3c5";
}

.fas.fa-clock::before {
    content: "\f017";
}

.fas.fa-hammer::before {
    content: "\f6e3";
}

.fas.fa-check-circle::before {
    content: "\f058";
}

/* Fallback für den Fall, dass Font Awesome nicht lädt */
@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
    font-display: swap;
}

.fas {
    font-family: 'FontAwesome', 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
}

/* Footer Contact Styling */
.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #ecf0f1;
    width: 16px;
    text-align: center;
}

/* Footer Logo Text weiß machen */
.footer .logo span {
    color: white !important;
}

/* Kontakt-Links Styling */
.contact-details a,
.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.footer-contact a {
    color: #bdc3c7;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

/* Pfl
ichtfeld-Sternchen rot markieren */
.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group label:has-text("*")::after,
label[for="name"]::after,
label[for="email"]::after {
    color: #dc3545;
}

/* Alternative: Alle Sternchen rot */
label:contains("*") {
    color: #666;
}

label:contains("*")::after {
    content: "";
}

/* Sternchen in Labels rot färben */
.form-group label {
    color: #666;
}

.form-group label[for="name"],
.form-group label[for="email"] {
    color: #666;
}

/* Sternchen-Styling */
.required-asterisk {
    color: #dc3545;
    font-weight: bold;
}

* Sternchen für Pflichtfelder rot färben */ .form-group label[for="name"],
.form-group label[for="email"] {
    color: #666;
}

/* Sternchen für Pflichtfelder einheitlich rot - entfernt, da bereits im HTML */

/* Select-Feld Label Styling - wie bei anderen Feldern */
.form-group select.has-value+label,
.form-group select:focus+label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.9rem;
    color: #2c3e50;
}


/* S
elect-Feld Styling für Pflichtfeld */
select[name="service"] {
    color: #666;
}

select[name="service"] option:first-child {
    color: #666;
}

/* Zusätzliches Label über dem Select-Feld */
.form-group.select-required::before {
    content: "Gewünschte Leistung *";
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    background: white;
    padding: 0 0.5rem;
    color: #666;
    font-size: 0.9rem;
    z-index: 1;
}

.form-group.select-required::after {
    content: "*";
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    color: #dc3545;
    font-weight: bold;
    z-index: 1;
}