@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #FFD700; /* Gold (Yellow) */
    --secondary-color: #007BFF; /* Vibrant Blue */
    --background-color: #0A0A0A; /* Near black */
    --surface-color: #1A1A1A; /* Dark gray for cards/sections */
    --text-color: #F5F5F5; /* Light gray for text */
    --text-secondary-color: #A0A0A0; /* Dimmer text */

    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.5s;
    --easing: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 3rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
    color: var(--text-secondary-color);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 1));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    background-color: var(--secondary-color);
    color: var(--background-color);
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
    background-color: var(--background-color);
    position: relative;
}

.section-about {
    background-color: var(--surface-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary-color);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-height: 400px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform var(--transition-speed) var(--easing), border-color var(--transition-speed) var(--easing);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- Contact Section --- */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-button,
.email-button {
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.email-button {
    background: #1a1a1a;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
}

.email-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: scale(1.05) translateY(-3px);
}

.social-button.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-button.instagram:hover {
    transform: scale(1.05) translateY(-3px);
    filter: brightness(1.1);
}

.social-button.whatsapp {
    background: #25D366;
}

.social-button.whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05) translateY(-3px);
}

.qr-code {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-code img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}

.qr-label {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background-color: var(--surface-color);
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    color: var(--text-secondary-color);
    font-size: 0.9rem;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* --- Scroll Animations --- */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplification for this example, a burger menu would be needed */
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .qr-code img {
        width: 120px;
        height: 120px;
    }
}

/* --- Impressum Page --- */
.impressum-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.impressum-content {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.impressum-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--primary-color);
}

.impressum-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.impressum-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.impressum-content strong {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .impressum-content {
        padding: 2rem 1.5rem;
    }
}

/* Anti-scraping CSS */
.email-container {
    display: inline-block;
}

/* Don't show data attributes as content in CSS - let JS handle it */
.addr[data-street][data-num] {
    display: inline;
}

/* Hide data attributes from scrapers */
[data-user], [data-domain], [data-street], [data-num] {
    user-select: all;
}

/* Make spans look normal */
.n1, .n2, .plz, .city {
    display: inline;
}

/* Fallback for no-JS - show nothing sensitive */
.no-js .email-container::after {
    content: "Bitte JavaScript aktivieren";
    color: var(--text-secondary-color);
    font-style: italic;
}

.no-js .addr::after {
    content: "Bitte JavaScript aktivieren";
    color: var(--text-secondary-color);
    font-style: italic;
}