/* ===== RESET UND GRUNDSTYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e91e63;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #e91e63, #8bc34a);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.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-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
                url('FeinMetall_RollUp_Image_803x1890px.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Geändert von center zu flex-start */
    align-items: center;
    text-align: center;
    color: white;
    padding: 200px 20px 50px; /* Top-Padding erhöht von 100px auf 200px */
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-top: 100px; /* Zusätzlicher Abstand nach oben */
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #e91e63;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== WELCOME OVERLAY SECTION ===== */
.welcome-overlay-section {
    position: relative;
    padding: 80px 20px;
    background: transparent;
    text-align: center;
    margin-top: -100px;
    z-index: 10;
}

.welcome-overlay-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

/* "Willkommen bei feinMetall" - groß und weiß */
.welcome-title {
    font-size: 3.5rem;
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
}

/* "Atelier für Schmuckgestaltung" - kleiner und pink */
.welcome-subtitle {
    font-size: 1.4rem;
    color: #e91e63;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-style: italic;
}

/* "Seit 2005..." Text - weiß */
.welcome-text {
    font-size: 1.2rem;
    color: white;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #e91e63, #8bc34a);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid #8bc34a;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: #e91e63;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* ===== PAGE CONTENT STYLES ===== */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(135deg, #e91e63, #8bc34a);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== SERVICES DETAILED STYLES ===== */
.services-detailed {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.service-detail {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #e91e63;
    overflow: visible; /* Wichtig für vollständige Textanzeige */
}

.service-detail h2 {
    color: #e91e63;
    margin-bottom: 20px;
    font-size: 1.8rem;
    word-wrap: break-word; /* Für lange Wörter */
    hyphens: auto; /* Automatische Silbentrennung */
}

.service-detail p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    word-wrap: break-word;
    hyphens: auto;
}

.service-detail ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-detail li {
    padding: 12px 0 12px 35px; /* Mehr Platz für das Icon */
    position: relative;
    color: #666;
    line-height: 1.6;
    word-wrap: break-word;
    hyphens: auto;
    min-height: 24px; /* Mindesthöhe für bessere Darstellung */
}

/* Grüne Häkchen korrekt positionieren */
.service-detail li::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 12px; /* Vertikal zentriert */
    color: #8bc34a;
    font-weight: bold;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alternative falls Unicode-Häkchen nicht funktioniert */
.service-detail li::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 18px;
    width: 6px;
    height: 12px;
    border: solid #8bc34a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none; /* Standardmäßig ausgeblendet */
}

/* Fallback: Wenn ? nicht funktioniert, zeige das CSS-Häkchen */
.service-detail li.fallback::before {
    display: none;
}

.service-detail li.fallback::after {
    display: block;
}


/* ===== KURSE PAGE STYLES ===== */
.kurse-page {
    padding-top: 80px;
}

.kurse-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('FeinMetall_RollUp_Kurse_803x1890px.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.kurse-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: #8bc34a;
}

.kurse-hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    max-width: 600px;
}

.kurse-content-main {
    max-width: 1200px;
    margin: 0 auto;
}

.kurse-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.kurse-intro h2 {
    color: #e91e63;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.kurse-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.kurse-category {
    margin-bottom: 60px;
}

.kurse-category > h2 {
    color: #8bc34a;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(139, 195, 74, 0.1));
    border-radius: 15px;
}

.kurse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.kurs-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #e91e63;
    transition: transform 0.3s ease;
}

.kurs-item:hover {
    transform: translateY(-5px);
}

.kurs-item h3 {
    color: #e91e63;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.kurs-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.kurs-item ul {
    list-style: none;
    padding: 0;
}

.kurs-item li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.kurs-item li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #8bc34a;
    font-weight: bold;
}

.kurse-info-box {
    background: linear-gradient(135deg, #e91e63, #8bc34a);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.kurse-info-box h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-grid .info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.info-grid .info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.info-grid .info-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.kurse-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 40px;
}

.kurse-cta p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.kurse-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #e91e63, #8bc34a);
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-radius: 20px;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== GALLERY STYLES ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item.placeholder {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-content h3 {
    color: #e91e63;
    margin-bottom: 10px;
}

.gallery-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.gallery-info h2 {
    color: #e91e63;
    margin-bottom: 20px;
}

.gallery-info p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* ===== CONTACT STYLES ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    gap: 40px;
}

.contact-section,
.map-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-section h2,
.map-section h3 {
    color: #e91e63;
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    color: #8bc34a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-item a {
    color: #e91e63;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Form Styles */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    color: #e91e63;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    line-height: 1.5;
}

.checkbox-group a {
    color: #e91e63;
}

/* ===== LEGAL CONTENT STYLES ===== */
.legal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.legal-content h2 {
    color: #e91e63;
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: #8bc34a;
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.legal-content a {
    color: #e91e63;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: #e91e63;
    margin-bottom: 15px;
}

.footer-section a {
    color: #8bc34a;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Hero Section */
	.hero-section {
        padding: 150px 20px 50px; /* Auch mobile angepasst */
        justify-content: flex-start;
    }
    
    .hero-content {
        margin-top: 50px;
    }    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Welcome Overlay */
    .welcome-overlay-section {
        padding: 50px 15px;
        margin-top: -50px;
    }
    
    .welcome-overlay-content {
        padding: 35px 25px;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .welcome-subtitle {
        font-size: 1.2rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
    
    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Page Headers */
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Service Details */
    .service-detail {
        padding: 25px;
    }
    
    .service-detail h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .service-detail li {
        padding: 10px 0 10px 30px;
        font-size: 0.95rem;
    }
    
    .service-detail li::before {
        top: 10px;
        font-size: 14px;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-section,
    .map-section,
    .contact-form-section {
        padding: 20px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Legal Content */
    .legal-content {
        padding: 25px;
    }
    
    /* Kurse */
    .kurse-hero {
        height: 50vh;
        min-height: 300px;
        background-size: cover;
        background-position: center;
    }
    
    .kurse-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .kurse-hero-content p {
        font-size: 1.1rem;
    }
    
    .kurse-intro {
        padding: 25px;
    }
    
    .kurse-intro h2 {
        font-size: 2rem;
    }
    
    .kurse-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kurs-item {
        padding: 20px;
    }
    
    .kurse-info-box {
        padding: 30px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kurse-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    /* Hero Section */
     .hero-section {
        padding: 120px 20px 50px;
    }
    
    .hero-content {
        margin-top: 30px;
    }
	
	.hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Welcome Overlay */
    .welcome-overlay-content {
        padding: 25px 20px;
    }
    
    .welcome-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .welcome-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Page Headers */
    .page-header {
        padding: 40px 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Service Details */
    .service-detail {
        padding: 20px;
    }
    .service-detail h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .service-detail li {
        padding: 8px 0 8px 25px;
        font-size: 0.9rem;
    }
    
    .service-detail li::before {
        top: 8px;
        font-size: 12px;
        left: 0;
    }
.service-detail h2,
.service-detail p,
.service-detail li {
    /* Deutsche Silbentrennung aktivieren */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    
    /* Bessere Textumbrüche */
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Container-Breite sicherstellen */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Page Content Anpassung */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden; /* Horizontales Scrollen verhindern */
}    
    /* Contact */
    .contact-section,
    .map-section,
    .contact-form-section {
        padding: 15px;
    }
    
    /* Legal Content */
    .legal-content {
        padding: 20px;
    }
    
    /* Kurse */
    .kurse-hero-content h1 {
        font-size: 2rem;
    }
}
/* Formular-Nachrichten */
.form-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Button Loading State */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}
