/* ===== Grundlayout & Farbschema ===== */
:root {
    --bg-color: #000000;
    --text-color:#f0f0f5;
    --accent-red:#b7141b;
    --glass-bg:rgba(255, 255, 255, 0.03);
    --glass-border:rgba(255, 255, 255, 0.08);
}

.navbar,
.introScreen,
.services-section,
.booking-section,
footer{
    position:relative;
    z-index:2;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color:var(--text-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(183, 20, 27, 0.05), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 183, 3, 0.03), transparent 30%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== REALISTISCHER STERNENHIMMEL ===== */
.stars,
.stars2,
.stars3{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:0;
    opacity: 0;
}

/* Kleine Sterne */
.stars{
    background:
        radial-gradient(2px 2px at 10% 20%, #fff, transparent),
        radial-gradient(1px 1px at 30% 80%, #fff, transparent),
        radial-gradient(1px 1px at 70% 30%, #fff, transparent),
        radial-gradient(2px 2px at 90% 70%, #fff, transparent),
        radial-gradient(1px 1px at 50% 50%, #fff, transparent),
        radial-gradient(2px 2px at 80% 10%, #fff, transparent),
        radial-gradient(1px 1px at 20% 60%, #fff, transparent),
        radial-gradient(1px 1px at 60% 90%, #fff, transparent);
    background-size:300px 300px;
}

/* Mittlere Sterne */
.stars2{
    background:
        radial-gradient(2px 2px at 15% 25%, #fff, transparent),
        radial-gradient(2px 2px at 40% 75%, #fff, transparent),
        radial-gradient(2px 2px at 65% 35%, #fff, transparent),
        radial-gradient(2px 2px at 85% 55%, #fff, transparent);
    background-size:500px 500px;
}

/* Große Sterne / Akzente */
.stars3{
    background:
        radial-gradient(3px 3px at 20% 40%, #ffffff, transparent),
        radial-gradient(3px 3px at 60% 20%, var(--accent-red), transparent),
        radial-gradient(3px 3px at 75% 80%, #ffffff, transparent);
    background-size:700px 700px;
}
/* Twinkel-Animation */
@keyframes twinkel {
    from {opacity: 0.5;}
    to {opacity: 0.8;}
}
@keyframes twinkel2 {
    from {opacity: 0.7;}
    to {opacity: 0.4;}
}
@keyframes twinkel3 {
    from {opacity: 1.0;}
    to {opacity: 0.5;}
}

/* Fade-In Animationen für jede Ebene */
@keyframes fadeInStars {
    from {opacity:0;}
    to {opacity:0.5;}
}
@keyframes fadeInStars2 {
    from {opacity:0;}
    to {opacity:0.7;}
}
@keyframes fadeInStars3 {
    from {opacity:0;}
    to {opacity:1;}
}

/* Klassen, die die Animation triggern (Tippfehler stars-fade-i auf stars-fade-in korrigiert) */
.stars-fade-in.stars{
    animation: 
        fadeInStars 3s ease forwards,
        twinkel 2s infinite alternate 1s; 
}
.stars-fade-in.stars2{
    animation: 
        fadeInStars2 3s ease forwards,
        twinkel2 3s infinite alternate 1s; 
}
.stars-fade-in.stars3{
    animation: 
        fadeInStars3 3s ease forwards,
        twinkel3 4s infinite alternate 1s; 
}

/* ===== NAVBAR (RESPONSIVE) ===== */
.navbar{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container{
    max-width:1200px;
    margin:auto;
    padding:1rem 2rem;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1002;
}

/* LC im Logo rot hervorheben */
.logo span {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a{
    color:#ccc;
    text-decoration:none;
    margin-left:2rem;
    font-weight:600;
    transition: color 0.3s ease;
}

.nav-links a:hover{
    color: var(--accent-red);
}

/* Hamburger Menü Button */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== INTRO VIDEO & ANIMIERTES LOGO ===== */
.introScreen {
    margin-top: 80px;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

/* 🔥 Hintergrund als echtes Objekt */
.intro-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s ease, filter 0.6s ease;
    z-index: 0;
    opacity: 0.5;
}

/* Overlay Inhalt */
.intro-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 800px;
    text-align: center;
    pointer-events: none;
}

.animated-logo {
    padding: 2em;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: flyIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animated-logo svg {
    margin-top: -150px;
    
    width: 100%;
    max-width: 100%;
    height: auto;
    animation: pulseGlow 3s ease-in-out 1.5s infinite alternate;
}

@keyframes flyIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseGlow {
    from { filter: drop-shadow(0 0 5px rgba(183, 20, 27, 0.3)); }
    to { filter: drop-shadow(0 0 25px rgba(183, 20, 27, 0.9)); }
}

/* ===== CONTAINER & TITEL ===== */
.container{
    max-width:1200px;
    margin:auto;
    padding:0 2rem;
}

.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 1rem; 
    letter-spacing: 1px;
}

.section-subtitle { 
    text-align: center; 
    color: var(--accent-red); 
    margin-bottom: 5rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* ===== SERVICES SECTION (INTERLOCK) ===== */
.services-section {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    background: transparent;
}

.services-interlock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem; 
}

.interlock-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interlock-text h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--accent-red), #ff5e62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 800;
}

.interlock-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 300; 
    color: #d1d1d1;
    line-height: 1.8; 
    letter-spacing: 0.5px; 
    text-align: justify; 
    hyphens: auto;
    max-width: 90%; 
}

.interlock-image{
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.interlock-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    transform: scale(1.0);       
    transition: transform 0.4s ease;
}

.interlock-image:hover img {
    transform: scale(1.1);       
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    font-size: 14px;
    opacity: 0;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: opacity 0.5s;
}

.interlock-image:hover .caption {
    opacity: 1;
}

/* Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== IMPRESSIONEN AUTO-SCROLL (MARQUEE) ===== */
.impressionen-section {
    padding: 4rem 0 6rem 0;
    overflow: hidden; 
}

.marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%); 
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

.marquee-track img {
    height: 400px; 
    width: 280px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, filter 0.3s ease; 
}

.marquee-track img:hover {
    filter: brightness(1.2);
    transform: scale(1.2);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* ===== ANFRAGE (BOOKING) ===== */
.booking-section {
    padding: 2rem 0 8rem 0;
    position: relative; 
    overflow: hidden;
    background-color: var(--bg-color); 
}

.booking-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/fw4.webp') center/cover fixed;
    filter: blur(8px);
    transform: scale(1.1); 
    opacity: 0.4;
    z-index: 0;
}

.booking-section .container {
    position: relative;
    z-index: 1;
}
.booking-glass{
    display:grid;
    grid-template-columns: 1fr; 
    gap:3rem;
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 4rem);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.booking-info h2{
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom:1.5rem;
    color: white;
}
.booking-info div{
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
}
.features li{
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
}

.booking-info p{
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.booking-info h2 span {
    color: var(--accent-red);
}

.features{
    list-style:none;
    margin-top: 2rem;
}

.features li{
    margin-bottom:1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features li::before { content: "🔥"; }

/* ===== FORM ===== */
.glass-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.5rem;
}

.glass-form input,
.glass-form textarea{
    font-size: clamp(0.9rem, 1vw, 1rem);
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
}

.full-width{
    grid-column:1/-1;
}

.glass-form input,
.glass-form select,
.glass-form textarea{
    padding:1rem;
    border-radius:12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color:white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.glass-form input:focus,
.glass-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit{
    grid-column:1/-1;
    margin-top:1rem;
    padding:1.2rem;
    border:none;
    border-radius:12px;
    background: linear-gradient(135deg, var(--accent-red), #800e13);
    color: white;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight:800;
    cursor:pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(183, 20, 27, 0.4);
}

/* ===== FOOTER ===== */
footer{
    padding:5rem 0 3rem 0;
    text-align:center;
    background: rgba(0,0,0,0.8);
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #444;
}

.socials-container{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-content: center;
  transition: transform 0.2s ease;
}
.socials-container a{
  background-color: white;
  padding: 1em;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}
.socials-container a svg{
  height: 32px;
  transition: fill 0.3s ease;
}
.socials-container a::before{
  content: attr(data-social);
  position: absolute;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-30px) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
  font-size: 0.85rem;
  pointer-events: none;
}
.socials-container a:hover{
  background-color: var(--accent-color);
}
.socials-container a:hover svg {
  fill: white;
}
.socials-container a::after{
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
  pointer-events: none;
}
.socials-container a:hover::before{
  transform: translateY(-65px) rotate(0);
  opacity: 1;
}
.socials-container a:hover::after{
  transform: translateY(-42px) rotate(0);
  opacity: 1;
}

@keyframes socialBounce {
    0%   { transform: translateY(0) rotate(0deg); }
    30%  { transform: translateY(-12px) rotate(-5deg); }
    50%  { transform: translateY(0) rotate(3deg); }
    70%  { transform: translateY(-6px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.socials-container a.bounce {
    animation: socialBounce 0.6s ease;
}

/* ===== RECHTLICHE SEITEN (Datenschutz / Impressum) ===== */
.legal-wrapper {
    padding: 120px 0 80px 0;
    position: relative;
    z-index: 5;
}

.legal-card {
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: changeSiteFadeIn 1s forwards;
}

.legal-card h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-red), #ff5e62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    font-weight: 800;
}

.legal-card h2 {
    color: var(--accent-red);
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-card p, .legal-card li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #d1d1d1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.back-btn:hover {
    color: var(--accent-red);
}

@keyframes changeSiteFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== MEDIA QUERIES ===== */

/* Desktop Logik für das Verschachteln */
@media(min-width: 900px) {
    /* Block 1 & 2 */
    .t-1 { grid-column: 1; grid-row: 1; }
    .i-1 { grid-column: 2; grid-row: 1 / span 2; } 
    
    .i-2 { grid-column: 1; grid-row: 2 / span 2; } 
    .t-2 { grid-column: 2; grid-row: 3; }
    
    /* Block 3 & 4 */
    .t-3 { grid-column: 1; grid-row: 4; }
    .i-3 { grid-column: 2; grid-row: 4 / span 2; }
    
    .i-4 { grid-column: 1; grid-row: 5 / span 2; }
    .t-4 { grid-column: 2; grid-row: 6; }

    .booking-glass {
        grid-template-columns: 1fr 1fr; 
        padding: 4rem;
    }
}

/* Tablets & Mobile Navigation */
@media(max-width:900px){
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 10, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .glass-form{ grid-template-columns: 1fr; }
    .booking-glass { padding: 2rem; }

    .services-interlock {
        gap: 1.5rem;
    }

    .interlock-text {
        align-self: stretch;
    }

    .interlock-image img {
        min-height: 220px;
        height: auto;
    }

    .interlock-text h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .interlock-text p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 50ch;
        margin: 0 auto;
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .services-interlock {
        gap: 1rem;
    }

    .interlock-image img {
        min-height: 200px;
    }

    .interlock-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .interlock-text p {
        font-size: 0.95rem;
        max-width: 42ch;
    }

    .legal-card { padding: 1.5rem; }
    .legal-card h1 { font-size: 1.8rem; }

    .impressionen-section {
        padding: 2.5rem 0 3.5rem 0;
    }

    .marquee-container {
        padding: 1.2rem 0;
    }

    .marquee-track img {
        height: 250px;
        width: 175px;
        border-radius: 14px;
    }

    .marquee-track {
        gap: 1.3rem;
        animation-duration: 30s;
    }

    .section-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 500px) {

    .services-interlock {
        gap: 0.6rem;
    }

    .interlock-text {
        padding: 0 0.2rem;
    }

    .interlock-text h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }

    .interlock-text p {
        font-size: 0.75rem;
        line-height: 1.3;
        max-width: 30ch;
        margin: 0 auto;
    }

    .interlock-image img {
        width: 100%;
        height: 270px;
        object-fit: cover;
        border-radius: 12px;
    }

    .caption {
        font-size: 10px;
        padding: 2px 5px;
    }

    .services-section {
        padding: 2.5rem 0;
    }

    .impressionen-section {
        padding: 2.5rem 0 3.5rem 0;
    }

    .marquee-container {
        padding: 1.2rem 0;
    }

    .marquee-track img {
        height: 230px;
        width: 160px;
        border-radius: 14px;
    }

    .marquee-track {
        gap: 1.2rem;
        animation-duration: 28s;
    }

    .section-title {
        font-size: 1.8rem;
    }
}