/* Basis-Styling */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Slackey", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    background-color: black;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Aktualisierte Paragraph-Styling */
p {
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.8;
}

/* Paragraph-Anpassungen für verschiedene Bereiche */
#hero p {
    font-size: 1.8rem;
}

.artist-info p {
    font-size: 1.4rem;
}

.location-info p {
    font-size: 1.4rem;
}

.timeline-content p {
    font-size: 1.2rem;
}

/* Mobile-Anpassungen für die Typografie */
@media (max-width: 768px) {
    p {
        font-size: 1.4rem;
    }
    
    #hero p {
        font-size: 1.5rem;
    }
    
    .artist-info p {
        font-size: 1.2rem;
    }
    
    .location-info p {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
}
  
a {
    text-decoration: none;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation - Optimiert für Instagram */
header {
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.98);
}

nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo-container {
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.small-logo {
    margin-right: 10px;
}

.small-logo img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    vertical-align: middle;
}

.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Burger-Menü Styling - Instagram optimiert */
.burger-menu {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    margin-right: 20px;
    -webkit-tap-highlight-color: transparent;
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ff3e3e;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

.burger-menu span:nth-child(1) {
    top: 0px;
}

.burger-menu span:nth-child(2) {
    top: 8px;
}

.burger-menu span:nth-child(3) {
    top: 16px;
}

.burger-menu.active span:nth-child(1) {
    top: 8px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-menu.active span:nth-child(3) {
    top: 8px;
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* Navigation Styling */
.nav-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    list-style-type: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links li a {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ff3e3e;
}

/* Mobile-Anpassungen - Instagram optimiert */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
        z-index: 1100;
        position: absolute;
        top: 22px;
        right: 20px;
    }

    header {
        padding: 20px 0;
    }

    header.scrolled {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        padding-top: 80px;
        -webkit-transition: left 0.3s ease;
        transition: left 0.3s ease;
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 20px;
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('pics/HeroCrowd.JPG') no-repeat center center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('pics/HeroCrowd.JPG') no-repeat center center;
    background-size: cover;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 70px 20px 20px;
    position: relative;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FB8B24;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 700px;
}

.date-location {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #fff;
}

.btn {
    display: inline-block;
    background-color: #ff3e3e;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

/* Mobile-Anpassungen */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.2rem;
    }
    
    .date-location {
        font-size: 1.3rem;
    }
}

/* Lineup Section */
#lineup {
    padding: 100px 0;
    background-color: black;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #FB8B24;
}

/* Artist Cards - Instagram optimiert */
.artists-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 30px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 40px;
}

.artist-card {
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 calc(33.333% - 30px);
    -ms-flex: 0 1 calc(33.333% - 30px);
    flex: 0 1 calc(33.333% - 30px);
    min-width: 280px;
    background-color: #252525;
    border-radius: 10px;
    overflow: hidden;
    -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    border: 2px solid #333;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

/* Keine Rotation für Instagram Browser */
.artists-grid .artist-card:nth-child(odd),
.artists-grid .artist-card:nth-child(even) {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

.artist-card:active {
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.artist-img {
    height: 280px;
    background-color: #333;
    overflow: hidden;
    position: relative;
}

.artist-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.8s ease;
    transition: -webkit-transform 0.8s ease;
    transition: transform 0.8s ease;
    transition: transform 0.8s ease, -webkit-transform 0.8s ease;
}

.artist-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.artist-info {
    padding: 20px;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.artist-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #FB8B24;
}

.artist-info p {
    color: #b3b3b3;
    margin-bottom: 15px;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.artist-time {
    display: inline-block;
    background-color: #ff3e3e;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    -webkit-align-self: flex-start;
    -ms-flex-item-align: start;
    align-self: flex-start;
    font-weight: bold;
    letter-spacing: 0.5px;
    -webkit-box-shadow: 0 3px 6px rgba(255, 62, 62, 0.2);
    box-shadow: 0 3px 6px rgba(255, 62, 62, 0.2);
}

/* Mobile-Anpassungen */
@media (max-width: 768px) {
    .artists-grid {
        gap: 15px;
    }
    
    .artist-card {
        -webkit-flex: 0 1 100%;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .artist-img {
        height: 200px;
    }
    
    .artist-info {
        padding: 15px;
    }
    
    .artist-info h3 {
        font-size: 1.3rem;
    }
    
    .artist-info p {
        font-size: 1.1rem;
    }
}

/* Schedule Section - Instagram optimiert */
#schedule {
    padding: 100px 0;
    background-color: black;
}

.schedule-cards {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.schedule-card {
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 calc(25% - 20px);
    -ms-flex: 0 1 calc(25% - 20px);
    flex: 0 1 calc(25% - 20px);
    min-width: 250px;
    background-color: #252525;
    border-radius: 8px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid #FF3E3E;
}

.schedule-card:active {
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.card-time {
    background-color: #1a1a1a;
    color: #FB8B24;
    padding: 12px 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
}

.card-content {
    padding: 15px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

.card-duration {
    font-size: 0.9rem;
    color: #b3b3b3;
    display: inline-block;
}

.schedule-note {
    text-align: center;
    margin-bottom: 20px;
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .schedule-cards {
        gap: 15px;
    }
    
    .schedule-card {
        -webkit-flex: 0 1 calc(50% - 15px);
        -ms-flex: 0 1 calc(50% - 15px);
        flex: 0 1 calc(50% - 15px);
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .schedule-card {
        -webkit-flex: 0 1 100%;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
    }
}

/* Location Section */
#location {
    padding: 100px 0;
    background-color: black;
}

.location-details {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.location-info {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #FB8B24;
}

.location-info p {
    margin-bottom: 15px;
    color: #b3b3b3;
}

.map-container {
    width: 100%;
    max-width: 600px;
    padding: 0;
    margin-bottom: 20px;
}

.responsive-map {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.responsive-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 0;
}

/* Mobile-Anpassungen */
@media (max-width: 768px) {
    .location-details {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .location-info {
        margin-bottom: 20px;
    }
    
    .map-container {
        max-width: 100%;
    }
    
    .responsive-map {
        padding-bottom: 75%;
        max-height: 300px;
    }
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background-color: black;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #b3b3b3;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px; /* Verhindert Zoom auf iOS */
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #fff;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.social-links a:active {
    color: #ff3e3e;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* Form Message Styling */
.form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #27ae60;
    color: white;
}

.form-message.error {
    background-color: #e74c3c;
    color: white;
}

/* Instagram Browser Spezifische Fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari / Instagram spezifisch */
    * {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }
    
    input, textarea {
        -webkit-user-select: text;
    }
}

/* Zusätzliche Touch-Optimierungen */
.btn,
.burger-menu,
.nav-links a,
.artist-card,
.schedule-card {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}