/* Reset und Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.slogan {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
}

/* Main Content */
main {
    margin-top: 120px;
}

@media (max-width: 768px) {
    main {
        margin-top: 160px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3d3d3d 0%, #1a1a1a 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23fff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><circle cx="10" cy="10" r="10" fill="url(%23a)"/><circle cx="50" cy="10" r="15" fill="url(%23a)"/><circle cx="90" cy="10" r="8" fill="url(%23a)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    opacity: 0.1;
}

@keyframes float {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(-20px) translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #d2b48c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, slideInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #a0522d 0%, #cd853f 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.5);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #f5f5f5;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #d2b48c, #8b4513);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #d2b48c;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(even) .service-icon {
    animation-delay: 1.5s;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    transform: rotateY(360deg);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

.about p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.about ul {
    list-style: none;
    margin-top: 2rem;
}

.about li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
}

.about li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
    font-size: 1.2rem;
}

.profile-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.5s ease;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #8b4513, #d2b48c) border-box;
}

.profile-image:hover {
    transform: scale(1.03) rotateY(-5deg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    max-width: 600px;
    width: 100%;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
    text-align: center;
}

.contact-item {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    margin-bottom: 2rem !important;
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 15px !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(210,180,140,0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.contact-item:hover::before {
    transform: scale(1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(210,180,140,0.5);
}

.contact-item strong {
    color: #d2b48c !important;
    font-size: 1.1rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.contact-item a {
    color: #d2b48c !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    position: relative !important;
    z-index: 2 !important;
}

.contact-item a:hover {
    color: #f4e4bc !important;
    text-decoration: underline !important;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left h4 {
    margin-bottom: 0.5rem;
    color: #d2b48c;
}

.footer-left p {
    font-style: italic;
    opacity: 0.8;
}

.footer-right {
    text-align: right;
}

/* Impressum Section */
.impressum-section {
    padding: 4rem 0;
    background-color: white;
    min-height: calc(100vh - 200px);
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    text-align: center;
}

.impressum-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #2c2c2c;
    border-bottom: 2px solid #8b4513;
    padding-bottom: 0.5rem;
}

.impressum-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
    color: #2c2c2c;
    font-weight: 600;
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.contact-block {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #8b4513;
}

.contact-block p {
    margin-bottom: 0;
}

.impressum-content a {
    color: #8b4513;
    text-decoration: none;
}

.impressum-content a:hover {
    color: #a0522d;
    text-decoration: underline;
}

.footer-right a {
    color: #d2b48c;
    text-decoration: none;
    margin-left: 1rem;
}

.footer-right a:hover {
    color: #f4e4bc;
    text-decoration: underline;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1.5" fill="%23000" opacity="0.01"/><circle cx="50" cy="10" r="0.8" fill="%23000" opacity="0.015"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    position: relative;
    display: inline-block;
    width: 100%;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #d2b48c);
    border-radius: 2px;
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.workshop-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.workshop-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.workshop-image:hover::before {
    transform: translateX(100%);
}

.workshop-image:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.gallery-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
}

.gallery-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.gallery-text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery-text li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
    font-size: 1.05rem;
}

.gallery-text li:before {
    content: "🔧";
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Zusätzliche Fancy Effekte */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8b4513, #d2b48c);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #a0522d, #f4e4bc);
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item {
    animation: fadeInUp 0.6s ease;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 20px;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        margin-bottom: 0.1rem;
    }
    
    .slogan {
        font-size: 0.8rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    main {
        margin-top: 160px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        justify-content: center;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        position: relative;
        z-index: 1;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .gallery-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        padding: 0.3rem 15px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .slogan {
        font-size: 0.75rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav a {
        padding: 0.2rem 0.6rem;
        font-size: 0.85rem;
    }
    
    main {
        margin-top: 140px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 4rem 0;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        padding: 1.2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}
