/* Modernes Premium Design */

/* Grundlegendes Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Farbpalette - dunkel & edel */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #6b6b6b;
    --accent: #d4af37; /* Gold für Premium-Look */
    --accent-dark: #b89628;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f5d76e 50%, #d4af37 100%);
    --border-color: #2a2a2a;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.15);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header - modern mit großem Logo links */
.hero {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Logo - groß und links */
.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    overflow: hidden;
}

.logo-img {
    height: 120px;
    width: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 3px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding-left: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Navigation - rechts */
.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.main-nav a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Über mich Section */
#ueber-mich {
    background: var(--bg-secondary);
}

.about-text {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.qualifications h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qualifications ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qualifications li {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: default;
}

.qualifications li:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Services Section */
#leistungen {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(212, 175, 55, 0.4);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.service-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    color: var(--accent);
    margin-right: 8px;
    font-weight: bold;
}

/* Referenzen Section */
#referenzen {
    background: var(--bg-secondary);
    overflow: visible;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    cursor: default;
    min-height: auto;
}

.project-card:hover {
    background: var(--bg-secondary);
    transform: translateX(8px);
}

.project-card:hover h3,
.project-card:hover p,
.project-card:hover .project-tag {
    color: var(--text-primary);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent);
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Datenschutz Section */
#datenschutz {
    font-size: 0.95rem;
    line-height: 1.8;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
    text-align: justify;
}

.privacy-content h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin: 2.5rem 0 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-content h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.2rem;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.privacy-content h3:last-of-type {
    margin-bottom: 1.5rem;
}

.privacy-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.privacy-content ul {
    margin: 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Warum wählen Section */

/* Warum wählen Section */
.why-choose {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item strong {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 1rem;
}

/* Kontakt Section */
.contact {
    background: var(--bg-secondary);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info > p:first-of-type {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #050505;
    color: var(--text-muted);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 100px;
    }

    .main-nav {
        justify-content: center;
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .hero-content h1 {
        margin-bottom: 1rem;
    }

    .hero-content .tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 80px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .about-text p,
    .contact-info p {
        font-size: 1.05rem;
    }

    .service-card,
    .project-card,
    .benefit-item {
        padding: 2rem 1.5rem;
    }

    .service-features {
        text-align: left;
    }

    .qualifications ul {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Mobile Navigation - "Klicker" Navigation */
    .main-nav {
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        background: rgba(10, 10, 10, 0.95);
        border-radius: 20px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow);
        z-index: 10;
    }

    .main-nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        margin: 0.5rem 0;
        border-radius: 50px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: transparent;
        color: var(--text-secondary);
    }

    .main-nav a:hover {
        background: rgba(212, 175, 55, 0.15);
        color: var(--accent);
        transform: scale(1.02);
    }

    .main-nav a::after {
        content: attr(data-hover);
        opacity: 0;
        margin-left: 10px;
        color: var(--accent);
        transition: opacity 0.3s ease;
    }

    .main-nav a:hover::after {
        opacity: 1;
    }

    /* Hover-Titel für Navigation */
    .main-nav a[data-hover]::before {
        content: '[';
        color: var(--accent);
        font-size: 0.8rem;
    }

    .main-nav a[data-hover]::after {
        content: '] Hover';
        font-size: 0.8rem;
        opacity: 0;
        color: var(--text-muted);
    }

    .main-nav a:hover::after {
        opacity: 1;
        margin-left: 10px;
    }

    /* Smooth scroll für Navigation */
    html {
        scroll-behavior: smooth;
    }

    @media (max-width: 768px) {
        .main-nav {
            display: flex;
            background: transparent;
            border: none;
            box-shadow: none;
            position: static;
            transform: none;
        }

        .main-nav a {
            padding: 0.6rem 1.2rem;
            font-size: 0.9rem;
            margin: 0;
        }

        .main-nav a:hover {
            transform: none;
            background: rgba(212, 175, 55, 0.1);
        }
    }
}

/* Animationen */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.service-card {
    animation: subtleFloat 6s ease-in-out infinite;
}

/* Print Styles */
@media print {
    .logo,
    .main-nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }
}
