/* === GLOBAL === */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #0a0f1a;
    color: #fff;

    /* Hintergrundbild */
    background-image: url("../images/bg.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    /* Abstand für Sticky Header */
    padding-top: 80px;
}

/* Dark Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: -1;
}

a { text-decoration: none; color: inherit; }

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* === HEADER === */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090d14;
    padding: 0 2rem;
    height: 80px;
    border-bottom: 1px solid #222;

    /* Sticky Header */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-image {
    height: 40px;      /* kleineres Logo */
    width: auto;
}

/* Search in der Mitte */

.header-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    max-width: 420px;
    margin: 0 2rem;
}

.header-search input {
    flex: 1;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    color: #000;
    font-size: 0.95rem;
}

.header-search button {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: #24335F;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Right Side (Nav + Icons) */

.header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.main-nav a {
    font-weight: 500;
    opacity: 0.9;
    font-size: 0.95rem;
}

.main-nav a:hover {
    opacity: 1;
}

/* Icons */

.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon {
    width: 36px;
    height: 36px;
}

/* Cart Badge */

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff7b3a;
    color: #0a0f1a;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
}

/* === HERO === */

.hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    color: #d0d4ff;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    background: #ff7b3a;
    color: #0a0f1a;
    font-weight: 700;
}

/* === EVENT CARDS === */

.highlights {
    margin-top: 3rem;
}

.highlights h2 {
    margin-bottom: 1rem;
}

.highlight-grid {
    background: #050812;
    padding: 1.5rem;
    border-radius: 1.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: #131a29;
    padding: 1.2rem;
    border-radius: 0.8rem;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    background: #1c2539;
}

/* Link um die Event-Karte herum */
.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Bilder in den Event-Karten: alle gleich hoch & zugeschnitten */
.event-image {
    width: 100%;
    height: 220px;          /* gleiche Höhe */
    object-fit: cover;      /* zuschneiden */
    border-radius: 0.6rem;
    margin-bottom: 0.8rem;
    display: block;
}

/* Spezielle Crops für bestimmte Events */
.event-image-manuellsen {
    object-position: 50% 40%;
}

.event-image-50cent {
    object-position: 50% 55%;
}

/* === INFO GRID === */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-block {
    background: #111827;
    padding: 1.5rem 1.7rem;
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.info-block h2 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.info-block p {
    margin-top: 0;
    color: #c4cae8;
}

.info-block ul,
.info-block ol {
    margin-top: 0.6rem;
    padding-left: 1.2rem;
    color: #e5e7ff;
}

.info-note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #9ca3c9;
}

/* === CTA STRIP === */

.cta-strip {
    margin-top: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #111827, #0b1220);
    border-radius: 1.3rem;
    padding: 1.8rem 2rem;
}

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
}

.cta-inner h2 {
    margin: 0 0 0.4rem;
}

.cta-inner p {
    margin: 0;
    color: #c4cae8;
}

.btn-secondary {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 1px solid #ff7b3a;
    color: #ff7b3a;
    font-weight: 600;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: #ff7b3a;
    color: #0a0f1a;
}

/* === FOOTER === */

.site-footer {
    background: #070b12;
    border-top: 1px solid #222;
    margin-top: 4rem;
    padding: 2.5rem 2rem 1.5rem;
    color: #d0d4ff;
    font-size: 0.9rem;
}

.site-footer a {
    color: #f3f4ff;
}

.site-footer a:hover {
    color: #ff7b3a;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 2rem;
}

.footer-column h3 {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.6rem;
    color: #ffffff;
}

.footer-column p {
    margin: 0.2rem 0;
    color: #a6accf;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
}

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

.footer-column li a {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-column li a:hover {
    opacity: 1;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 0.4rem;
    margin-top: -10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.8rem;
    color: #8a90b0;
}

/* === EVENT DETAIL PAGE === */

.event-detail {
    max-width: 900px;
    margin: 2.5rem auto;
}

.event-detail-card {
    background: #050812;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Bild auf Detailseite – eigenes Styling */
.event-detail-image {
    width: 320px;
    max-width: 40%;
    border-radius: 0.8rem;
    height: auto;          /* kein Abschneiden */
    object-fit: contain;   /* ganzes Bild anzeigen */
    background: #000;
}

.event-detail-text h1 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.event-detail-place {
    margin: 0 0 0.6rem;
    color: #d0d4ff;
}

.event-detail-desc {
    margin: 0 0 1rem;
    color: #c4cae8;
}

.event-detail-price {
    margin: 0 0 1rem;
}

.event-detail-form {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.event-detail-form select {
    padding: 0.4rem 0.6rem;
}

/* === CART PAGE === */

.cart {
    max-width: 900px;
    margin: 2.5rem auto;
}

.cart h1 {
    margin-bottom: 1.5rem;
}

.cart-intro {
    margin-top: -0.5rem;
    margin-bottom: 1.2rem;
    color: #c4cae8;
}

.cart-item {
    background: #050812;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 140px;
    height: 140px;
    border-radius: 0.8rem;
    object-fit: cover;
    background: #000;
}

.cart-item-info h2 {
    margin: 0 0 0.3rem;
}

.cart-item-place {
    margin: 0 0 0.5rem;
    color: #d0d4ff;
}

.cart-item-desc {
    margin: 0 0 0.7rem;
    color: #c4cae8;
}

.cart-item-qty {
    margin: 0 0 0.4rem;
}

.cart-item-price {
    margin: 0 0 0.5rem;
}

.cart-item-warning {
    margin: 0 0 0.5rem;
    color: #ff7b3a;
    font-size: 0.9rem;
}

.cart-item-note {
    margin: 0 0 0.8rem;
    font-size: 0.85rem;
    color: #9ca3c9;
}

.cart-item-actions {
    margin: 0;
}

/* Buttons im Cart (Back / Proceed) – beide gleich, simple orange */
.cart-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-actions a {
    text-decoration: none;
}

.cart-actions .btn-primary,
.cart-actions .btn-cart-secondary {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    background: #ff7b3a;
    border: none;
    color: #0a0f1a;
    font-weight: 600;
    white-space: nowrap;
}

.cart-actions .btn-primary:hover,
.cart-actions .btn-cart-secondary:hover {
    opacity: 0.9; /* kleiner Hover ohne Text-Effekt */
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 900px) {
    .page-content {
        padding: 1.5rem 1rem;
    }

    .site-header {
        padding: 0 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Handy */
@media (max-width: 600px) {

    body {
        padding-top: 120px; /* Header wird höher, also mehr Platz oben */
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 0.6rem 1rem 0.9rem;
        gap: 0.6rem;
    }

    .logo-area {
        justify-content: center;
    }

    .header-search {
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .header-right {
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .main-nav {
        justify-content: center;
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    .nav-icon {
        width: 28px;
        height: 28px;
    }

    .hero {
        padding: 3rem 1rem 2.2rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }

    .highlight-grid {
        padding: 1.1rem;
    }

    .event-card {
        padding: 1rem;
    }

    .event-image {
        height: 190px;
    }

    /* Detailseite auf Handy untereinander */
    .event-detail-card {
        flex-direction: column;
    }

    .event-detail-image {
        width: 100%;
        max-width: 100%;
    }

    .event-detail-form {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Cart-Items auf Handy untereinander */
    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 2rem 1.5rem;
    }
}
