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

:root {
    --accent: #a755ff;
    --white: #ffffff;
    --black: #000000;
}

/* UNIVERSAL */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    height: 6%;
    background: #0d0018;
    color: #ffffff;

    background: rgba(0, 0, 0, 0.2); /* sehr leichtes Schwarz */
    backdrop-filter: blur(12px);     /* das verschmilzt es mit dem BG */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    box-shadow: 0 0 25px rgba(0,0,0,0.45);

    z-index: 1000;
}

/*
.background-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: saturate(0.8) contrast(1.05);
}

video::-webkit-media-controls {
    display:none !important;
}
*/

.background-image {
    position: fixed;
    inset: 0;
    background-image: url("images/background_web.png");
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at top,
        rgba(122,0,255,0.1),
        rgba(0,0,0,0.7) 70%
      );
    z-index: -1;
    pointer-events: none;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;

    background-color: #050010;
}

footer {
    margin-top: 10rem;
}

@media (max-width: 600px) {
    .background-video {
      display: none;
    }
    .background-overlay {
      background-image: url("images/background_web.png") center/cover no-repeat;
    }
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav {
    padding: 0;
    position: absolute;
    display: flex;
    align-items: center;
    left: clamp(3.5rem, 6vw, 6rem);
    gap: clamp(0.9rem, 2vw, 1.6rem);
}

.main-nav a {
    margin-left: 0.2rem;
    font-size: 0.8rem;
    color: white;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8ddff;
    text-shadow: 0 0 6px rgba(122,0,255,0.7);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-decoration: none;
}

.main-nav a:hover {
    color:#a755ff;
}

.main-nav a.active {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(122,0,255,0.9);
    font-weight: 600;
}
  
.main-nav a.active:hover {
    color: var(--accent);
}

.main-nav a.active::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 60%;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    margin-top: 4px;
    box-shadow: 0 0 6px rgba(122,0,255,0.8);
}

/* Checkbox verstecken */
.nav-toggle {
    display: none;
  }
  
  /* Burger-Icon (Desktop: hidden) */
  .burger {
    display: none;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1100;
  }
  
  .burger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #e8ddff;
    border-radius: 999px;
    box-shadow: 0 0 6px rgba(122,0,255,0.7);
    transition: 0.2s ease;
  }
  
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 9px; }
  .burger span:nth-child(3) { bottom: 0; }
  
  /* Burger wird zum X im Open-State */
  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* MOBILE */
  @media (max-width: 600px) {
    .burger { display: block; }
  
    .main-nav {
      position: fixed;
      top: 6%;     /* oder z.B. 60px wenn dein Header fix 60px hoch ist */
      left: 0;
      width: 100vw;
  
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
  
      padding: 1rem 1.2rem;
      background: rgba(0,0,0,0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232,221,255,0.08);
  
      transform: translateY(-120%);
      transition: transform 0.25s ease;
      z-index: 1050;
    }
  
    /* nav öffnet sich */
    .nav-toggle:checked + .burger + .main-nav {
      transform: translateY(0);
    }
  
    .main-nav a {
      margin-left: 0;
      font-size: 1.05rem;
      text-align: left;
    }
  }

/* Logo-Bild */
.logo-img {
    margin-left: -0.75rem;
    padding-right: 1rem;
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(122,0,255,0.7));
}

/* ABOUT */
/* ====== LAYOUT WRAPPER FÜR ABOUT ====== */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 1.5rem 3rem;  /* Platz unter dem fixed Header */
    color: var(--text-main);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    overflow-y: auto;
    max-height: 90vh;
}
main::-webkit-scrollbar {
    display: none;
}

/* ====== HERO SECTION ====== */

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.about-text h1 {
    font-size: 3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(122,0,255,0.9);
    margin-bottom: 0.5rem;
    color: #e8ddff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.about-tagline {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.9rem;
    color: #e8ddff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.about-intro {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(232,221,255,0.18);
    box-shadow: 0 0 18px rgba(122,0,255,0.35);
    display: inline-block;
    color: #e8ddff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Artwork rechts */

.about-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-art img {
    max-width: 280px;
    width: 100%;
    filter: drop-shadow(0 0 24px rgba(0,0,0,0.85))
            drop-shadow(0 0 16px rgba(122,0,255,0.75));
    border-radius: 18px;
    object-fit: cover;
}

/* ====== SECTIONS: STORY / HIGHLIGHTS / SERVICES ====== */

.about-story,
.about-highlights,
.about-services {
    margin-bottom: 3rem;
    padding: 1.6rem 1.7rem;
    border-radius: 16px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(232,221,255,0.14);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 22px rgba(0,0,0,0.65);
    color: #e8ddff;
}

.about-story h2,
.about-highlights h2,
.about-services h2 {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.95rem;
    color: var(--accent-soft);
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(122,0,255,0.85);
}

.about-story p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 0.8rem;
}

/* Highlights-Liste */

.about-highlights ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.about-highlights li {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.9;
    position: relative;
    padding-left: 1.2rem;
}

.about-highlights li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.7rem;
    color: var(--accent-soft);
}

/* ====== SERVICES / CARDS ====== */

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

.service-card {
    padding: 1.2rem 1.1rem;
    border-radius: 12px;
    background: radial-gradient(circle at top left,
                rgba(122,0,255,0.32),
                rgba(0,0,0,0.75));
    border: 1px solid rgba(232,221,255,0.18);
    box-shadow: 0 0 18px rgba(0,0,0,0.75);
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                border-color 0.18s ease;
}

.service-card h3 {
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #e8ddff;
}

.service-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232,221,255,0.35);
    box-shadow: 0 0 22px rgba(122,0,255,0.7);
}

/* ====== CTA BUTTONS ====== */

.about-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;

    border: 1px solid rgba(232,221,255,0.22);
    color: var(--text-main);
    transition: background 0.18s ease,
                color 0.18s ease,
                box-shadow 0.18s ease,
                transform 0.18s ease,
                border-color 0.18s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 0 18px rgba(122,0,255,0.8);
    border-color: rgba(232,221,255,0.45);
    color: #e8ddff;
}

.btn.primary:hover {
    background: linear-gradient(135deg, #8b1fff, #b66bff);
    transform: translateY(-2px);
}

.btn.ghost {
    background: rgba(0,0,0,0.6);
    color: #e8ddff;
}

.btn.ghost:hover {
    background: rgba(122,0,255,0.24);
    border-color: rgba(232,221,255,0.4);
    box-shadow: 0 0 16px rgba(122,0,255,0.6);
    transform: translateY(-2px);
}

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

@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-art {
        order: -1;              /* Artwork über den Text auf Tablet */
        margin-bottom: 1.5rem;
    }

    .about-text h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    main {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }

    .about-hero {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .about-text h1 {
        font-size: 2rem;
    }

    .about-intro {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

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

    .about-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}