/* Premium Friseursalon Heppenheim - Luxuriöses Dark + Gold Design */

:root {
    --color-dark: #0d0d0d;
    --color-dark-soft: #1a1a1a;
    --color-dark-muted: #2a2a2a;
    --color-gold: #c9a962;
    --color-gold-light: #e5d4a1;
    --color-gold-dark: #9a7b3a;
    --gradient-gold: linear-gradient(135deg, #c9a962 0%, #e5d4a1 50%, #c9a962 100%);
    --color-white: #f5f5f5;
    --color-white-muted: #b8b8b8;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --space-section: clamp(5rem, 10vw, 8rem);
    --container: min(100%, 1200px);
    --sat: env(safe-area-inset-top);
    --sab: env(safe-area-inset-bottom);
    --sal: env(safe-area-inset-left);
    --sar: env(safe-area-inset-right);
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-x: none;
}
body {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y pinch-zoom;
}

main { overflow-x: hidden; overscroll-behavior-x: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
@media (max-width: 480px) {
    .container { padding-inline: 1rem; }
}

/* Eyebrow */
.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Headings */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
h2 em { font-style: italic; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 0.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(201, 169, 98, 0.45); }
.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}
.btn-outline:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); }

/* Header / Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
    overflow-x: clip;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    padding-left: max(1.5rem, var(--sal));
    padding-right: max(1.5rem, var(--sar));
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-menu a {
    font-size: 0.9rem;
    color: var(--color-white-muted);
    transition: color 0.2s;
}
.nav-menu a:hover { color: var(--color-gold); }
.nav-cta {
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-gold);
    border-radius: 0.25rem;
    color: var(--color-gold) !important;
}
.nav-cta:hover { background: rgba(201, 169, 98, 0.1); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gold);
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        background: rgba(13, 13, 13, 0.98);
        border-bottom: 1px solid rgba(201, 169, 98, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    /* Platzhalter: Ersetze durch assets/hero.jpg für eigenes Bild */
    background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1920') center/cover no-repeat,
                linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    background-color: var(--color-dark);
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.85) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(13,13,13,0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    padding-left: max(1.5rem, var(--sal));
    padding-right: max(1.5rem, var(--sar));
    max-width: 700px;
    width: 100%;
}
.hero-content .eyebrow { animation: heroFadeUp 0.8s ease-out 0.2s both; }
.hero-content h1 { animation: heroFadeUp 0.8s ease-out 0.4s both; }
.hero-content .hero-subline { animation: heroFadeUp 0.8s ease-out 0.6s both; }
.hero-content .hero-cta { animation: heroFadeUp 0.8s ease-out 0.9s both; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content .eyebrow { margin-bottom: 1rem; }
.hero-content h1 { margin-bottom: 1rem; }
.hero-content h1 em {
    font-style: italic;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subline {
    font-size: 1.1rem;
    color: var(--color-white-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 280px; text-align: center; min-height: 48px; }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(201,169,98,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Services */
.services {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
}

.services .container { text-align: center; }
.services .eyebrow { margin-bottom: 0.5rem; }
.services h2 { margin-bottom: 3rem; }

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

.service-card {
    padding: 2rem 1.5rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 0.25rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.15);
}

.service-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.service-price {
    font-size: 0.9rem;
    color: var(--color-gold);
    font-weight: 500;
}

/* Gallery */
.gallery {
    padding: var(--space-section) 0;
    background: #f0eee8;
    color: var(--color-dark);
}

.gallery .eyebrow {
    color: var(--color-gold-dark);
}
.gallery h2 { color: var(--color-dark); margin-bottom: 2rem; }
.gallery h2 em { color: inherit; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}
@media (max-width: 900px) {
    .gallery-masonry { column-count: 2; }
}
@media (max-width: 500px) {
    .gallery-masonry { column-count: 1; }
}

.gallery-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.25rem;
}
.gallery-item img {
    width: 100%;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-cat {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}
.gallery-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
}

/* About */
.about {
    padding: var(--space-section) 0;
    background: var(--color-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}

.about-image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    max-height: 600px;
}
.about-frame {
    position: absolute;
    inset: -1rem;
    border: 2px solid rgba(201, 169, 98, 0.25);
    border-radius: 0.25rem;
    z-index: 1;
    pointer-events: none;
}
@media (max-width: 600px) {
    .about-frame { inset: -0.5rem; }
}
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.about-content p {
    color: var(--color-white-muted);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}
.stat { text-align: center; }
.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--color-white-muted);
}

/* Contact */
.contact {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, var(--color-dark-soft) 0%, var(--color-dark) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2,
.contact-form-wrap h2 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon { font-size: 1.25rem; flex-shrink: 0; }
.contact-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}
.contact-item p { margin: 0; color: var(--color-white-muted); }
.contact-item a { color: var(--color-white); transition: color 0.2s; }
.contact-item a:hover { color: var(--color-gold); }

.contact-form-wrap {
    background: var(--color-dark-muted);
    padding: 2rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    background: var(--color-dark);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 0.25rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--color-white-muted); opacity: 0.7; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 500px) {
    .form-row { grid-template-columns: 1fr; }
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
}

.form-success {
    padding: 2rem;
    text-align: center;
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 0.25rem;
}
.form-success p {
    margin: 0;
    color: var(--color-gold);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 2rem 1.5rem 1rem;
    padding-bottom: max(1rem, var(--sab));
    padding-left: max(1.5rem, var(--sal));
    padding-right: max(1.5rem, var(--sar));
    border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    color: var(--color-white-muted);
    transition: color 0.2s;
}
.footer-social a:hover { color: var(--color-gold); }

.footer-copy {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-copy p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-white-muted);
}

/* ========== Scroll-Animationen ========== */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }
