/* ======================== */
/* GLOBAL STYLING           */
/* ======================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}
h1, h2 {
    margin: 0 0 10px 0;
    color: #ff0000;
}
a {
    text-decoration: none;
    color: #ff0000;
}
a:hover {
    color: #ff6666;
}
.section-subtext {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ======================== */
/* HEADER + NAVIGATION      */
/* ======================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    border-bottom: 3px solid #ff0000;
    padding: 20px;
    position: relative;
    z-index: 2000;
}
header .logo {
    max-height: 60px;
    width: auto;
}
.desktop-nav {
    display: flex;
    gap: 20px;
}
.desktop-nav a {
    color: #fff;
    font-weight: bold;
}
.desktop-nav .dropdown {
    position: relative;
}
.desktop-nav .dropdown-content {
    display: none;
    position: absolute;
    background: #000;
    border: 2px solid #ff0000;
    top: 100%;
    left: 0;
    min-width: 150px;
    z-index: 2000;
    flex-direction: column;
}
.desktop-nav .dropdown-content a {
    padding: 10px;
}
.desktop-nav .dropdown:hover .dropdown-content {
    display: flex;
}

/* ======================== */
/* LANGUAGE DROPDOWN FIX    */
/* ======================== */
.language-dropdown span {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}
.language-dropdown .dropdown-content {
    right: 0;
    left: auto;
    min-width: 120px;
}
.language-dropdown .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: #fff;
}
.language-dropdown .dropdown-content a:hover {
    background: #111;
}
.language-mobile .dropdown-header span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}
.language-mobile .dropdown-content-mobile a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
}
.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border: 1px solid #fff;
}
.language-dropdown .dropdown-content a,
.language-mobile .dropdown-content-mobile a {
    font-size: 0.85rem;
}

/* ======================== */
/* BURGER MENU              */
/* ======================== */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
}
.burger div {
    width: 30px;
    height: 4px;
    background: #ff0000;
    border-radius: 5px;
    transition: 0.3s ease;
}
.burger.active div:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.burger.active div:nth-child(2) {
    opacity: 0;
}
.burger.active div:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ======================== */
/* MOBILE NAVIGATION        */
/* ======================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -260px;
    width: 240px;
    height: 100%;
    background: #000;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1500;
    box-shadow: -5px 0 15px rgba(255,0,0,0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}
.mobile-nav.open {
    transform: translateX(-260px);
    opacity: 1;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1400;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.overlay.show {
    display: block;
    opacity: 1;
}
.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: #fff;
    font-weight: bold;
    border-bottom: 1px solid transparent;
}
.dropdown-mobile {
    display: flex;
    flex-direction: column;
}
.dropdown-mobile .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    margin: 0;
    color: #fff;
}
.dropdown-mobile .dropdown-header .dropdown-toggle {
    color: #ff0000;
}
.dropdown-mobile .dropdown-content-mobile {
    display: none;
    flex-direction: column;
    padding-left: 10px;
}
.dropdown-mobile.active .dropdown-content-mobile {
    display: flex;
}
.dropdown-mobile.active .dropdown-header .dropdown-toggle {
    transform: rotate(180deg);
}

/* ======================== */
/* HERO SECTION             */
/* ======================== */
.hero {
    background: #000;
    border-bottom: 3px solid #ff0000;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-video, .hero-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.25;
}
.hero-content {
    position: relative;
    z-index: 5;
}

/* ======================== */
/* HERO POINTS              */
.hero-points {
    list-style: none;
    margin: 25px auto;
    max-width: 700px;
    padding-left: 0;
}
.hero-points li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}
.hero-points li::before {
    content: "";
}

/* ======================== */
/* SEO FLUEBEN              */
.seo-flueben li {
    list-style: none;
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
}
.seo-flueben li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff0000;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-size: 16px;
}

/* ======================== */
/* PYROTEKNIK-KORT          */
.pyro-section {
    margin-top: 40px;
}
.pyro-section h2 {
    margin-bottom: 25px;
}
.pyro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 0;
}
.pyro-card {
    background-color: #111;
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
}
.pyro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255,0,0,0.5);
}

/* ======================== */
/* Kontakt Knap             */
.btn-contact {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-weight: bold;
    padding: 12px 30px;
    margin-top: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn-contact:hover {
    background: #ff6666;
    transform: translateY(-2px);
}

/* ======================== */
/* FOOTER                   */
footer {
    background: #000;
    border-top: 3px solid #ff0000;
    padding: 20px;
    text-align: center;
    position: relative;
    color: #fff;
    font-size: 0.9rem;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
.footer-social img:hover {
    transform: scale(1.2);
}

/* ======================== */
/* TOP BUTTON               */
#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3000;
    box-shadow: 0 4px 10px rgba(255,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
#topBtn:hover {
    background: #ff6666;
    transform: translateY(-2px);
}

/* ======================== */
/* COOKIE BANNER             */
#cookieBanner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    border: 2px solid #ff0000;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 5000;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
}
#cookieBanner button {
    background: #ff0000;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}
#cookieBanner button:hover {
    background: #ff6666;
}
@media(max-width:768px){
    #cookieBanner {
        max-width: 90%;
        bottom: 15px;
        padding: 12px 20px;
    }
}

/* ======================== */
/* RESPONSIVE               */
@media(max-width:768px) {
    .desktop-nav { display: none; }
    .burger { display: flex; }
    #topBtn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
    .contact-wrapper {
        padding: 15px;
        margin: 20px;
    }
    .floating-label input,
    .floating-label textarea { font-size: 0.95rem; }
    .contact-wrapper button { width: 100%; }
    .pyro-card { margin-bottom: 20px; }
}
.pyro-grid + h2 { margin-top: 30px !important; }

/* ======================== */
/* Kontakt Page Styling     */
.kontakt-page {
    max-width: 700px;
    margin: 50px auto;
    padding: 0 20px 50px 20px;
}
.kontakt-page h2 { color: #ff0000; text-align: center; margin-bottom: 10px; }
.kontakt-page p { text-align: center; margin-bottom: 30px; opacity: 0.9; }
.kontakt-page .error-box,
.kontakt-page .success-box {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}
.kontakt-page .error-box { background: #ff0000; color: #fff; }
.kontakt-page .success-box { background: #00aa00; color: #fff; }
.kontakt-page .floating-label { position: relative; margin-bottom: 25px; }
.kontakt-page .floating-label input,
.kontakt-page .floating-label textarea {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-bottom: 2px solid #ff0000;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    outline: none;
    resize: vertical;
}
.kontakt-page .floating-label label {
    position: absolute;
    left: 5px;
    top: 10px;
    color: #ff0000;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}
.kontakt-page .floating-label input:focus + label,
.kontakt-page .floating-label input:not(:placeholder-shown) + label,
.kontakt-page .floating-label textarea:focus + label,
.kontakt-page .floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.85rem;
    color: #ff6666;
    background: #000;
    padding: 0 3px;
}
.kontakt-page button {
    background: linear-gradient(45deg, #ff0000, #ff6666);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 8px;
    border: 2px solid #ff0000;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,0,0,0.4);
    display: block;
    margin: 0 auto;
}
.kontakt-page button:hover {
    background: linear-gradient(45deg, #ff6666, #ff0000);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.6);
}
.kontakt-page .contact-info { margin-top: 30px; text-align: center; font-size: 1rem; }
.kontakt-page .contact-info a { color: #ff0000; }
@media(max-width:768px){
    .kontakt-page { margin: 30px 15px; padding: 0 15px 40px 15px; }
    .kontakt-page button { width: 100%; }
}