/* =============================================
   Fegefeuer Emden – Tattoo & Piercing Studio
   ============================================= */

:root {
    --color-bg: #050505;
    --color-surface: #111111;
    --color-primary: #B51F24;
    --color-text: #F0F0F0;
    --color-muted: #999999;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --nav-width: 85px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

#team,
#galerie,
#leistungen,
#kontakt,
#datenschutz {
    scroll-margin-top: 100px;
}

@media (min-width: 1025px) {
    main,
    #main-footer,
    .legal-page,
    .artist-page {
        padding-left: var(--nav-width);
    }
}

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--nav-width);
    background-color: rgba(5, 5, 5, 0.96);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 160px;
    transition: width 0.45s ease;
    overflow: hidden;
}

#main-nav:hover {
    width: 290px;
}

.nav-list {
    list-style: none;
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 16px 28px;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 1.08rem;
    border-radius: 8px;
    margin: 4px 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
    background-color: rgba(181, 31, 36, 0.2);
}

.nav-link i {
    width: 26px;
    font-size: 1.5rem;
}

#main-nav .nav-text {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

#main-nav:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

#mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(5, 5, 5, 0.98);
    z-index: 1100;
    align-items: center;
    padding: 0 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 6px 0;
}

body.nav-open {
    overflow: hidden;
}

#mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-bg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

body.nav-open #mobile-menu {
    display: flex;
}

#mobile-menu a {
    font-size: 2rem;
    padding: 1.2rem 2rem;
    color: var(--color-text);
    text-decoration: none;
}

@media (max-width: 1024px) {
    #mobile-header {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    #main-nav {
        display: none;
    }
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 140px 0 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(30, 30, 30, 0.9) 0%, #050505 75%);
    z-index: -1;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo {
    margin: 0 auto 1.5rem;
    line-height: 0;
}

.hero-logo img {
    width: 70vw;
    max-width: 720px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-description {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    max-width: 720px;
    margin: 0 auto 3.5rem;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-instagram,
.btn-whatsapp,
.btn-secondary,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.btn-whatsapp {
    background: #25D366;
}

.btn-secondary {
    border: 2px solid var(--color-primary);
    background: transparent;
}

.btn-instagram:hover,
.btn-whatsapp:hover,
.btn-secondary:hover {
    color: white;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.festes-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.kuenstler-card {
    background-color: var(--color-surface);
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    max-width: 280px;
    margin: 0 auto;
}

.kuenstler-card:hover {
    border-color: var(--color-primary);
}

.kuenstler-photo {
    height: 240px;
    overflow: hidden;
}

.kuenstler-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured .kuenstler-photo {
    height: 280px;
}

.kuenstler-card h3 {
    font-size: 1.5rem;
    padding: 1.2rem 1.2rem 0.5rem;
}

.kuenstler-card p {
    padding: 0 1.2rem 1.2rem;
    color: var(--color-muted);
}

.artists-heading {
    text-align: center;
    margin: 5rem 0 2.5rem;
    color: var(--color-muted);
    font-weight: 400;
}

.artists-wrapper,
.gallery-wrapper {
    position: relative;
}

.artists-carousel,
.gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 56px 20px;
}

.artists-carousel::-webkit-scrollbar,
.gallery-track::-webkit-scrollbar {
    display: none;
}

.artists-carousel .kuenstler-card,
.gallery-item {
    min-width: 240px;
    flex-shrink: 0;
}

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

.leistungen-card {
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
}

.leistung-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--color-primary);
    background: var(--color-bg);
}

.leistungen-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.galerie-intro {
    text-align: center;
    margin: 0 auto 3rem;
}

.galerie-empty {
    text-align: center;
    color: var(--color-muted);
    width: 100%;
}

.gallery-item {
    height: 320px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

.gallery-arrow:hover {
    background: var(--color-primary);
}

.gallery-arrow.prev {
    left: 6px;
}

.gallery-arrow.next {
    right: 6px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active,
.lightbox[style*="flex"] {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

.kontakt-info {
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2.5rem;
}

.kontakt-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kontakt-item i {
    font-size: 1.6rem;
    color: var(--color-primary);
    width: 30px;
}

.kontakt-label {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.kontakt-value a {
    color: var(--color-text);
    text-decoration: none;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid #222;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.artist-page {
    padding-top: 120px;
}

.back-link {
    display: inline-flex;
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 3rem;
}

.artist-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

.artist-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.artist-info h1 {
    font-size: 3.2rem;
}

.artist-info .role {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin: 0.6rem 0 1.5rem;
}

.artist-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.artist-gallery .gallery-item {
    height: 300px;
    min-width: 0;
}

.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
}

.legal-page h1,
.legal-page h2,
.legal-page p {
    text-align: center;
}

.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    margin-bottom: 1rem;
}

.legal-intro {
    color: var(--color-muted);
    margin-bottom: 3rem;
}

.legal-block {
    margin: 0 auto 2.8rem;
    max-width: 820px;
}

.legal-block h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.legal-block a {
    color: var(--color-primary);
}

#datenschutz {
    padding-top: 80px;
    margin-top: 2rem;
    border-top: 1px solid #222;
}

section {
    padding: 110px 0;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    text-align: center;
    margin-bottom: 3.5rem;
}

#main-footer {
    background-color: var(--color-surface);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid #222;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--color-primary);
    margin-bottom: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: var(--color-muted);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: var(--color-muted);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .kontakt-grid,
    .artist-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .artists-carousel,
    .gallery-track {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        min-width: 220px;
        max-width: 80%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.price-wrap {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.price-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid #222;
}