/* ==========================================================================
   GRELL Website - CSS Styles
   Farbschema: Rot #D63C32, Dunkel #272323, Schwarz #121212
   ========================================================================== */

:root {
    --color-primary: #D63C32;
    --color-primary-dark: #b32e26;
    --color-primary-light: #e65046;
    --color-secondary: #272323;
    --color-accent: #121212;
    --color-white: #ffffff;
    --color-gray: #888888;
    --color-gray-dark: #333333;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --section-padding: 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-secondary);
    overflow-x: hidden;
}

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

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

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

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    z-index: 2000;
    border-radius: 0 0 10px 10px;
    font-weight: bold;
    transition: top var(--transition-normal);
}

.skip-link:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-secondary); }
::-webkit-scrollbar-thumb { background: var(--color-gray-dark); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* --------------------------------------------------------------------------
   Top Banner
   -------------------------------------------------------------------------- */
.top-banner {
    background-color: var(--color-secondary);
    border-bottom: 2px solid var(--color-primary);
    padding: 12px 20px;
    text-align: center;
}

.top-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.top-banner a:hover {
    color: var(--color-white);
}

.top-banner .arrow {
    font-size: 1.2rem;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    will-change: transform;
    transform: scale(1.05) translateZ(0);
}

.hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(39, 35, 35, 0) 0%,
        rgba(39, 35, 35, 0.2) 50%,
        rgba(39, 35, 35, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    padding-top: 3vh;
    width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 10px;
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.hero-social a svg {
    width: 28px;
    height: 28px;
}

.hero-social a:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    background-color: var(--color-secondary);
    font-family: var(--font-secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: rgba(39, 35, 35, 0.95);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 14px 12px;
    z-index: 1001;
    position: absolute;
    right: 20px;
    min-height: 46px;
    min-width: 46px;
}

/* Fixierter Hamburger nach Scroll (Mobile) */
.nav-toggle.fixed {
    position: fixed;
    top: 15px;
    right: 15px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-primary);
    position: relative;
    transition: background-color var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 3px;
    background-color: var(--color-primary);
    transition: transform var(--transition-normal), top var(--transition-normal);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--color-white);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
    background-color: var(--color-white);
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-divider {
    color: var(--color-primary);
    opacity: 0.5;
    font-weight: 300;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.nav-link svg {
    width: 20px;
    height: 20px;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link.active {
    color: var(--color-white);
    background-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 99;
    box-shadow: 0 4px 15px rgba(214, 60, 50, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

.btn-lg {
    font-size: 1.1rem;
    padding: 16px 36px;
}

.btn-presskit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-presskit svg {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    padding: var(--section-padding) 0;
    background-color: var(--color-secondary);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Musik Showcase Section
   -------------------------------------------------------------------------- */
.musik-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

.album-card {
    text-align: center;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
    transition: transform var(--transition-normal);
}

.album-card:hover .album-img {
    transform: scale(1.03);
}

.album-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 5px;
}

.bestellen-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Video Section
   -------------------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter var(--transition-normal);
}

.video-thumbnail:hover img {
    filter: brightness(0.5);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
    margin-left: 4px;
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------------------------
   Shows Section
   -------------------------------------------------------------------------- */
.shows-container {
    max-width: 900px;
    margin: 0 auto;
}

.shows-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.show-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.show-item:last-child {
    border-bottom: none;
}

.show-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.show-date {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    white-space: nowrap;
}

.show-location {
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.9;
    white-space: nowrap;
}

.show-tickets-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: var(--color-gray-dark);
    border: 1px solid var(--color-white);
    border-radius: 20px;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.show-tickets-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.custom-shows-list {
    margin-top: 0;
}

.no-shows {
    text-align: center;
    color: var(--color-gray);
    padding: 40px 20px;
}

/* --------------------------------------------------------------------------
   Musik Embed Section (Spotify)
   -------------------------------------------------------------------------- */
.musik-embed-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.musik-embed-wrapper iframe {
    max-width: 100%;
    min-height: 600px;
}

/* --------------------------------------------------------------------------
   Shop Section (Shopify Buy Button)
   -------------------------------------------------------------------------- */
.shop-collection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Shopify iframe container styling */
.shop-collection iframe {
    width: 100% !important;
}

.shop-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.shop-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-cta .btn svg {
    transition: transform var(--transition-fast);
}

.shop-cta .btn:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Band Bio Section
   -------------------------------------------------------------------------- */
.bio-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.bio-text {
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bio-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-white);
    margin-bottom: 20px;
    text-align: center;
}

.bio-cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Fotos Section
   -------------------------------------------------------------------------- */
.section-fotos {
    padding: 0;
}

.section-fotos .container {
    max-width: 100%;
    padding: 0;
}

.section-fotos .section-title {
    padding: 40px 0 20px;
}

.foto-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
}

.foto-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

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

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-text {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.newsletter-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    max-height: 850px;
    overflow: hidden;
}

/* HubSpot Form Styling */
.hs-form-frame,
.hs-form-frame form {
    width: 100%;
}

.hs-form-frame .hs-form-field {
    margin-bottom: 15px;
}

.hs-form-frame input[type="email"],
.hs-form-frame input[type="text"] {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--color-gray-dark);
    border: 2px solid var(--color-gray-dark);
    border-radius: 25px;
    color: var(--color-white);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.hs-form-frame input[type="email"]:focus,
.hs-form-frame input[type="text"]:focus {
    border-color: var(--color-primary);
}

.hs-form-frame input::placeholder {
    color: var(--color-gray);
}

.hs-form-frame label {
    display: block;
    color: var(--color-white);
    margin-bottom: 8px;
    font-weight: 500;
}

.hs-form-frame .hs-button,
.hs-form-frame input[type="submit"] {
    width: 100%;
    padding: 14px 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hs-form-frame .hs-button:hover,
.hs-form-frame input[type="submit"]:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.hs-form-frame .hs-error-msgs {
    color: var(--color-primary);
    font-size: 0.875rem;
    margin-top: 5px;
    list-style: none;
    padding: 0;
}

.hs-form-frame .submitted-message {
    text-align: center;
    color: var(--color-white);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Kontakt Section
   -------------------------------------------------------------------------- */
.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.kontakt-item {
    text-align: center;
}

.kontakt-item p {
    color: var(--color-gray);
    margin-bottom: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kontakt-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    word-break: break-all;
}

.kontakt-email:hover {
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Legal Pages (Datenschutz / Impressum)
   -------------------------------------------------------------------------- */
.legal-page-section {
    padding-top: 150px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-heading {
    color: var(--color-primary);
    margin: 2rem 0 1rem;
}

.legal-subheading {
    margin: 1.5rem 0 0.5rem;
}

.legal-text {
    color: var(--color-gray);
}

.legal-text strong {
    color: var(--color-white);
}

.legal-list {
    margin-bottom: 1rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-secondary);
    border-top: 1px solid var(--color-gray-dark);
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0 auto 20px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .top-banner a {
        font-size: 0.75rem;
        gap: 5px;
    }

    /* Hero-Bild auf Mobile weiter rauszoomen damit alle Bandmitglieder sichtbar */
    .hero-bg {
        transform: scale(1) translateZ(0);
    }
    
    .hero-bg img {
        object-position: center 25%;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero-social {
        gap: 15px;
    }

    .hero-social a svg {
        width: 24px;
        height: 24px;
    }

    /* Mobile navigation */
    .nav {
        display: block;
        padding: 10px 15px;
        min-height: 60px;
        position: relative;
    }

    .nav-container {
        position: static;
        width: 100%;
        display: block;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-toggle.fixed {
        position: fixed;
        top: 15px;
        right: 15px;
        transform: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 80px 20px;
        transform: translateX(100%);
        opacity: 0;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-divider {
        display: none;
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 15px 30px;
        width: 100%;
        justify-content: center;
    }

    body.nav-open {
        overflow: hidden;
    }

    .section-grellfest {
        padding: 40px 0;
    }

    .btn-lg {
        font-size: 0.95rem;
        padding: 12px 30px;
    }

    .album-card {
        max-width: 100%;
    }

    .album-img {
        max-width: 100%;
    }
    
    .show-item {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 0;
    }
    
    .show-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .show-date,
    .show-location {
        white-space: normal;
    }
    
    .show-tickets-btn {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .musik-embed-wrapper {
        padding: 0 10px;
    }
    
    .musik-embed-wrapper iframe {
        min-height: 500px;
    }
    
    .bio-content {
        gap: 30px;
    }
    
    .bio-text {
        padding: 0;
        text-align: center;
    }
    
    .bio-cta {
        display: flex;
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 3vh;
    }

    /* Hero-Bild auf kleinen Screens noch weiter rauszoomen */
    .hero {
        min-height: 90vh;
    }
    
    .hero-bg img {
        object-position: center 30%;
    }

    .hero-logo {
        max-width: 220px;
    }
    
    .musik-embed-wrapper {
        padding: 0 10px;
    }
    
    .musik-embed-wrapper iframe {
        min-height: 400px;
    }

    .kontakt-email {
        font-size: 1rem;
    }
}
